:root {
  color-scheme: light;
  --ink: #252a27;
  --muted: #66706a;
  --paper: #fbfaf6;
  --white: #ffffff;
  --limestone: #eee7d9;
  --sage: #dfe7df;
  --moss: #53675b;
  --teal: #376e73;
  --gold: #bd9141;
  --clay: #8d4f2b;
  --line: rgba(37, 42, 39, 0.14);
  --shadow: 0 18px 45px rgba(30, 35, 32, 0.14);
  --header-height: 82px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f4efe4;
  --muted: #aeb7ac;
  --paper: #10140f;
  --white: #171a16;
  --limestone: #27251e;
  --sage: #1e2921;
  --moss: #9eac9d;
  --teal: #8dbfc0;
  --line: rgba(244, 239, 228, 0.15);
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(251, 250, 246, 0.94), rgba(239, 235, 225, 0.94)),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

html[data-theme="dark"] body {
  background:
    linear-gradient(180deg, rgba(14, 18, 15, 0.97), rgba(27, 35, 29, 0.97)),
    var(--paper);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(189, 145, 65, 0.08) 18% 18.3%, transparent 18.3% 46%, rgba(83, 103, 91, 0.07) 46% 46.25%, transparent 46.25%),
    linear-gradient(32deg, transparent 0 34%, rgba(141, 79, 43, 0.055) 34% 34.25%, transparent 34.25% 72%, rgba(55, 110, 115, 0.045) 72% 72.25%, transparent 72.25%),
    repeating-linear-gradient(90deg, rgba(37, 42, 39, 0.025) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(37, 42, 39, 0.018) 0 1px, transparent 1px 124px);
  opacity: 0.72;
}

html[data-theme="dark"] body::before {
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(189, 145, 65, 0.11) 18% 18.3%, transparent 18.3% 46%, rgba(141, 170, 142, 0.08) 46% 46.25%, transparent 46.25%),
    linear-gradient(32deg, transparent 0 34%, rgba(141, 79, 43, 0.07) 34% 34.25%, transparent 34.25% 72%, rgba(141, 191, 192, 0.055) 72% 72.25%, transparent 72.25%),
    repeating-linear-gradient(90deg, rgba(244, 239, 228, 0.025) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(244, 239, 228, 0.018) 0 1px, transparent 1px 124px);
  opacity: 0.7;
}

body.admin-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

html[data-theme="dark"] .site-header {
  background: rgba(24, 24, 21, 0.94);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand img {
  width: 126px;
  height: 48px;
  object-fit: contain;
  background: var(--white);
  border-radius: 6px;
}

html[data-theme="dark"] .brand img,
html[data-theme="dark"] .footer-brand img {
  background: #ffffff;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 0.98rem;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--moss);
  font-size: 0.78rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--header-height);
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.94rem;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.nav-item.is-submenu-open > .nav-top-link {
  background: var(--limestone);
  color: var(--ink);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  z-index: 25;
  display: grid;
  gap: 4px;
  min-width: 210px;
  max-width: min(270px, calc(100vw - 24px));
  max-height: min(420px, calc(100svh - var(--header-height) - 32px));
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 248, 241, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

.nav-item.is-submenu-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.nav-item:nth-last-child(-n + 2) .nav-dropdown {
  left: auto;
  right: 0;
  transform: translateY(8px);
}

.nav-item:nth-last-child(-n + 2).is-submenu-open .nav-dropdown {
  transform: translateY(0);
}

.nav-dropdown a {
  justify-content: flex-start;
  min-height: 34px;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.3;
  white-space: normal;
}

.site-preferences {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
}

.preference-button {
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 6px 9px;
  font-size: 0.82rem;
  font-weight: 800;
}

.preference-button:hover,
.preference-button:focus-visible,
.preference-button.is-active {
  border-color: var(--line);
  background: var(--limestone);
  color: var(--ink);
}

.theme-switch {
  min-width: 62px;
  border-color: var(--line);
  background: var(--white);
}

html[data-theme="dark"] .language-switch {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .nav-dropdown {
  background: rgba(24, 24, 21, 0.98);
}

.admin-trigger,
.primary-link,
.secondary-link,
.filter-button,
.compact-button,
.icon-button,
.admin-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  min-height: 42px;
  padding: 10px 14px;
  font-weight: 700;
}

.admin-trigger {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #171713;
  border-color: var(--gold);
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  place-items: center;
  padding: 8px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
}

.section {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 22%, rgba(189, 145, 65, 0.065) 22% 22.35%, transparent 22.35% 54%, rgba(83, 103, 91, 0.055) 54% 54.3%, transparent 54.3%),
    repeating-linear-gradient(90deg, rgba(37, 42, 39, 0.022) 0 1px, transparent 1px 108px),
    repeating-linear-gradient(0deg, rgba(37, 42, 39, 0.014) 0 1px, transparent 1px 136px);
  opacity: 0.58;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section.tight {
  padding: 62px 0;
}

.section.white {
  background: var(--white);
}

.section.white::before {
  background:
    linear-gradient(124deg, transparent 0 16%, rgba(189, 145, 65, 0.05) 16% 16.35%, transparent 16.35% 48%, rgba(141, 79, 43, 0.04) 48% 48.25%, transparent 48.25%),
    repeating-linear-gradient(90deg, rgba(37, 42, 39, 0.018) 0 1px, transparent 1px 112px);
  opacity: 0.52;
}

.section.sage {
  background: linear-gradient(180deg, var(--sage), #f4f2eb);
}

.section.sage::before {
  background:
    linear-gradient(116deg, transparent 0 18%, rgba(255, 255, 255, 0.34) 18% 18.4%, transparent 18.4% 42%, rgba(189, 145, 65, 0.09) 42% 42.35%, transparent 42.35%),
    linear-gradient(28deg, transparent 0 58%, rgba(83, 103, 91, 0.085) 58% 58.35%, transparent 58.35%),
    repeating-linear-gradient(90deg, rgba(37, 42, 39, 0.028) 0 1px, transparent 1px 104px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 128px);
  opacity: 0.7;
}

.section.dark {
  background: var(--ink);
  color: var(--white);
}

html[data-theme="dark"] .section.dark,
html[data-theme="dark"] .project-detail-hero,
html[data-theme="dark"] .about-style-dark {
  background: #0e100d;
  color: #fffaf0;
}

html[data-theme="dark"] .hero {
  color: #fffaf0;
}

.section.dark::before {
  background:
    linear-gradient(118deg, transparent 0 18%, rgba(189, 145, 65, 0.12) 18% 18.28%, transparent 18.28% 52%, rgba(255, 255, 255, 0.05) 52% 52.25%, transparent 52.25%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 116px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 142px);
  opacity: 0.55;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  --hero-image: url("./assets/hero-stone-workshop.jpg");
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 132px);
  display: grid;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(24, 28, 25, 0.84), rgba(24, 28, 25, 0.46), rgba(24, 28, 25, 0.08)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  color: var(--white);
  padding: 96px 0 52px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 24%, rgba(189, 145, 65, 0.12) 24% 24.35%, transparent 24.35% 52%, rgba(255, 255, 255, 0.055) 52% 52.25%, transparent 52.25%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 118px);
  opacity: 0.62;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero .lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

.hero-actions,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(720px, 100%);
  margin-top: 44px;
}

.hero-strip div {
  border-left: 3px solid var(--gold);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-strip strong,
.stat-list strong {
  display: block;
  line-height: 1.15;
}

.hero-strip span,
.stat-list span {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  margin-top: 3px;
}

.section-kicker {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-kicker h2 {
  margin: 0;
  font-size: 2.3rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-kicker p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
}

.section.dark .section-kicker p {
  color: rgba(255, 255, 255, 0.72);
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 0.74fr;
  gap: 44px;
  align-items: center;
}

.welcome-copy h2 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.05;
}

.welcome-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.feature-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
}

.feature-item strong {
  display: block;
}

.feature-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.welcome-image {
  position: relative;
  min-height: 420px;
}

.welcome-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-mark {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 290px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(37, 42, 39, 0.92);
  color: var(--white);
  font-weight: 700;
}

.tools-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.search-field {
  display: grid;
  gap: 6px;
}

.search-field label,
.quote-form label,
.admin-field label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.search-field input,
.quote-form input,
.quote-form textarea,
.admin-field input,
.admin-field textarea,
.admin-field select,
.json-editor {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 11px 12px;
}

.search-field input:focus,
.quote-form input:focus,
.quote-form textarea:focus,
.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus,
.json-editor:focus {
  outline: 3px solid rgba(189, 145, 65, 0.25);
  border-color: var(--gold);
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-button {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--muted);
}

.filter-button.is-active {
  background: var(--moss);
  color: var(--white);
  border-color: var(--moss);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.category-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 10px;
  text-align: left;
  box-shadow: none;
}

.category-card:hover,
.category-card:focus-visible,
.category-card.is-active {
  border-color: var(--moss);
  box-shadow: 0 12px 28px rgba(37, 42, 39, 0.12);
  outline: none;
}

.category-card.is-active {
  background: #f6f3ea;
}

.category-thumb {
  width: 92px;
  height: 100%;
  min-height: 108px;
  border-radius: 7px;
  overflow: hidden;
  background: var(--limestone);
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-thumb-all {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.category-card-body {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.category-card-body strong,
.category-card-body small,
.category-card-body span {
  display: block;
}

.category-card-body strong {
  font-size: 1rem;
  line-height: 1.2;
}

.category-card-body small {
  color: var(--moss);
  font-weight: 900;
}

.category-card-body span {
  color: var(--muted);
  font-size: 0.88rem;
}

.category-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 18px;
}

.category-panel h3 {
  margin: 0;
  font-size: 1.45rem;
}

.category-panel p:not(.eyebrow) {
  margin: 6px 0 0;
  color: var(--muted);
}

.category-count {
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--moss);
  color: var(--white);
  padding: 10px 12px;
}

.catalog-tools {
  grid-template-columns: 1fr;
}

.catalog-grid,
.services-grid,
.finish-grid,
.projects-grid,
.contact-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.service-card,
.project-card,
.contact-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.product-card img,
.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card-body,
.service-card,
.project-card-body,
.contact-card,
.faq-item {
  padding: 18px;
}

.service-card {
  display: grid;
  gap: 14px;
}

.surface-section {
  margin-top: 46px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.surface-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 20px;
}

.surface-heading h3 {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.05;
}

.surface-heading p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.finish-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.finish-card {
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f6ef;
}

.finish-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--limestone);
  border-bottom: 1px solid var(--line);
}

.finish-card-content {
  padding: 16px;
}

.finish-card-header {
  display: flex;
  align-items: start;
  gap: 10px;
}

.finish-card h4 {
  margin: 0;
  font-size: 1rem;
}

.finish-card-header span:not(.finish-mark) {
  display: block;
  margin-top: 3px;
  color: var(--moss);
  font-size: 0.86rem;
  font-weight: 800;
}

.finish-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.product-surface-finishes {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.product-surface-heading {
  margin-bottom: 18px;
}

.product-finish-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.product-finish-card {
  min-height: 100%;
}

.finish-best-for {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.finish-best-for strong {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
}

.related-products-section {
  border-top: 1px solid var(--line);
  padding-top: 54px;
}

.related-products-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.related-product-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.related-product-card:hover,
.related-product-card:focus-visible {
  border-color: rgba(83, 103, 91, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.finish-mark {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold), var(--clay));
}

.service-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--sage);
  color: var(--moss);
  font-weight: 900;
}

.product-card h3,
.service-card h3,
.project-card h3,
.contact-card h3,
.faq-item h3 {
  margin: 0;
  font-size: 1.14rem;
}

.product-card p,
.service-card p,
.project-card p,
.contact-card p,
.faq-item p {
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.product-card[data-product-url],
.project-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.product-card[data-product-url] {
  cursor: pointer;
}

.product-card[data-product-url]:hover,
.product-card[data-product-url]:focus-visible,
.project-card:hover,
.project-card:focus-visible {
  border-color: rgba(83, 103, 91, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.product-card-action,
.project-card-action {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 900;
}

.product-card-action::after,
.project-card-action::after {
  content: ">";
  margin-left: 8px;
}

.project-detail-hero {
  background:
    linear-gradient(135deg, rgba(37, 42, 39, 0.92), rgba(83, 103, 91, 0.88)),
    var(--moss);
  color: var(--white);
  padding: 72px 0 48px;
}

.project-detail-hero-inner {
  display: grid;
  gap: 18px;
  max-width: 920px;
}

.project-detail-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.project-detail-hero .lead {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.12rem;
}

.back-link {
  justify-self: start;
  color: inherit;
  font-weight: 900;
  text-decoration: none;
}

.back-link::before {
  content: "<-";
  margin-right: 8px;
}

.project-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-detail-section {
  padding-top: 42px;
}

.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 28px;
  align-items: start;
}

.project-gallery {
  display: grid;
  gap: 14px;
}

.project-main-photo,
.project-thumb-grid img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--limestone);
}

.project-main-photo {
  aspect-ratio: 16 / 10;
}

.project-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.project-thumb-grid img {
  aspect-ratio: 4 / 3;
}

.project-info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f6ef;
  padding: 22px;
}

.project-info-panel h2 {
  margin: 0 0 18px;
  font-size: 1.55rem;
}

.product-vr-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  background: var(--moss);
  color: var(--white);
  padding: 10px 14px;
  font-weight: 900;
  text-decoration: none;
  margin: 2px 0 16px;
}

.product-vr-link::after {
  content: ">";
  margin-left: 8px;
}

.product-vr-link:hover,
.product-vr-link:focus-visible {
  background: var(--teal);
}

.product-qr-block {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.product-qr-block strong {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-qr-code {
  width: 132px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 8px;
}

.project-spec-list {
  display: grid;
  gap: 13px;
  margin: 0;
}

.project-spec-list div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.project-spec-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-spec-list dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.project-detail-copy {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  gap: 28px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.project-detail-copy h2 {
  margin: 0;
  font-size: 2rem;
}

.project-detail-copy p {
  margin: 0 0 14px;
  color: var(--muted);
}

.about-detail-hero {
  background:
    linear-gradient(135deg, rgba(23, 27, 24, 0.95), rgba(83, 103, 91, 0.9)),
    var(--ink);
}

.section.about-detail-section {
  background: var(--paper);
}

.about-detail-copy {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}

.about-more-link {
  justify-self: start;
  margin-top: 16px;
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 8px 22px rgba(37, 42, 39, 0.08);
}

.about-more-link:hover,
.about-more-link:focus-visible {
  border-color: var(--gold);
  background: var(--limestone);
}

.related-about-block {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.related-about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.related-about-card {
  display: grid;
  gap: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px;
}

.related-about-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: var(--limestone);
}

.related-about-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.related-about-card strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.related-about-card:hover,
.related-about-card:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(37, 42, 39, 0.12);
}

.about-eco-theme {
  background:
    linear-gradient(135deg, rgba(13, 46, 34, 0.94), rgba(47, 104, 70, 0.9)),
    var(--moss);
}

.section.about-eco-section {
  background:
    linear-gradient(180deg, #edf6e9, #f8fbf5 42%, #eef6ed),
    var(--paper);
}

.eco-initiative-block {
  margin-top: 42px;
}

.eco-initiative-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 18px;
}

.eco-initiative-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.eco-initiative-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.eco-initiative-grid {
  display: grid;
  gap: 18px;
}

.eco-initiative-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 0.52fr);
  overflow: hidden;
  border: 1px solid rgba(56, 126, 83, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(44, 93, 62, 0.12);
}

.eco-initiative-media {
  display: grid;
  align-content: stretch;
  background: #dfeee1;
}

.eco-initiative-media > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.eco-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
}

.eco-thumb-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px;
}

.eco-initiative-content {
  position: relative;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 34px;
}

.eco-initiative-content h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  line-height: 1.1;
}

.eco-initiative-content p {
  margin: 0;
  color: var(--muted);
}

.eco-index {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(56, 126, 83, 0.18);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.eco-impact-box {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  border-left: 4px solid #4f9a5f;
  border-radius: 8px;
  background: #edf7eb;
  padding: 16px;
}

.eco-impact-box strong {
  color: #22533a;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eco-impact-box p {
  color: #486451;
}

.project-empty {
  min-height: 360px;
  display: grid;
  align-content: center;
  gap: 14px;
}

.project-empty h1 {
  margin: 0;
  font-size: 2.6rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 6px;
  background: var(--limestone);
  color: var(--ink);
  padding: 5px 9px;
  font-size: 0.82rem;
  font-weight: 800;
}

.testing-panel {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.testing-panel strong {
  display: block;
  font-size: 0.88rem;
}

.testing-panel ul {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.86rem;
}

.testing-panel li {
  overflow-wrap: anywhere;
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.source-row a {
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 44px;
  align-items: start;
}

.stat-list {
  display: grid;
  gap: 12px;
}

.stat-list div {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 18px;
}

.stat-list strong {
  color: var(--gold);
  font-size: 2rem;
}

.about-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.04rem;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.value-item {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 16px;
}

.value-item strong {
  display: block;
}

.value-item span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 5px;
}

.about-content-section {
  position: relative;
  overflow: hidden;
  padding: 54px 0;
}

.about-content-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 20%, rgba(189, 145, 65, 0.06) 20% 20.35%, transparent 20.35% 55%, rgba(83, 103, 91, 0.06) 55% 55.3%, transparent 55.3%),
    repeating-linear-gradient(90deg, rgba(37, 42, 39, 0.02) 0 1px, transparent 1px 116px);
  opacity: 0.6;
}

.about-content-section > .container {
  position: relative;
  z-index: 1;
}

.about-style-light {
  background: var(--paper);
}

.about-style-sage {
  background: linear-gradient(180deg, #e6ece5, #f7f4ec);
}

.about-style-dark {
  background: #171b18;
  color: var(--white);
}

.about-style-eco {
  background:
    linear-gradient(180deg, rgba(204, 232, 210, 0.72), rgba(241, 248, 238, 0.96)),
    var(--sage);
}

.about-style-dark::before {
  background:
    linear-gradient(120deg, transparent 0 22%, rgba(189, 145, 65, 0.12) 22% 22.3%, transparent 22.3% 58%, rgba(255, 255, 255, 0.05) 58% 58.25%, transparent 58.25%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 124px);
  opacity: 0.52;
}

.about-style-eco::before {
  background:
    linear-gradient(118deg, transparent 0 18%, rgba(67, 142, 87, 0.1) 18% 18.35%, transparent 18.35% 44%, rgba(189, 145, 65, 0.06) 44% 44.25%, transparent 44.25%),
    repeating-linear-gradient(90deg, rgba(41, 91, 62, 0.035) 0 1px, transparent 1px 112px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 136px);
  opacity: 0.72;
}

.about-content-card {
  display: grid;
  gap: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 30px;
}

.about-style-sage .about-content-card {
  background: rgba(255, 255, 255, 0.72);
}

.about-style-dark .about-content-card {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.about-style-eco .about-content-card {
  border-color: rgba(56, 126, 83, 0.24);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(42, 91, 62, 0.13);
}

.about-layout-image-right.about-image-small {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.5fr);
}

.about-layout-image-right.about-image-medium {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.76fr);
}

.about-layout-image-right.about-image-large {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
}

.about-layout-image-left.about-image-small {
  grid-template-columns: minmax(180px, 0.5fr) minmax(0, 1fr);
}

.about-layout-image-left.about-image-medium {
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1fr);
}

.about-layout-image-left.about-image-large {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.9fr);
}

.about-layout-image-top,
.about-layout-text-only,
.about-image-full {
  grid-template-columns: 1fr;
}

.about-layout-image-right .about-content-copy,
.about-layout-image-left .about-content-media,
.about-layout-image-top .about-content-media {
  order: 1;
}

.about-layout-image-right .about-content-media,
.about-layout-image-left .about-content-copy,
.about-layout-image-top .about-content-copy {
  order: 2;
}

.about-content-copy h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2.35rem);
}

.about-content-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.02rem;
}

.about-style-dark .about-content-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.about-content-media {
  min-width: 0;
}

.about-section-main-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--limestone);
}

.about-image-small .about-section-main-image {
  aspect-ratio: 1 / 1;
}

.about-image-large .about-section-main-image,
.about-image-full .about-section-main-image {
  aspect-ratio: 16 / 9;
}

.about-section-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.about-section-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: var(--limestone);
}

.image-position-top img {
  object-position: center top;
}

.image-position-bottom img {
  object-position: center bottom;
}

.image-position-left img {
  object-position: left center;
}

.image-position-right img {
  object-position: right center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.contact-card a {
  color: var(--teal);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.map-panel {
  min-height: 100%;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(55, 110, 115, 0.92), rgba(83, 103, 91, 0.9)),
    linear-gradient(45deg, transparent 25%, rgba(255, 255, 255, 0.12) 25%, rgba(255, 255, 255, 0.12) 27%, transparent 27%),
    var(--moss);
  color: var(--white);
  padding: 26px;
  display: grid;
  align-content: space-between;
  gap: 34px;
}

.map-panel h3 {
  margin: 0;
  font-size: 1.8rem;
}

.map-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.quote-form {
  display: grid;
  gap: 12px;
}

.quote-form textarea,
.admin-field textarea,
.json-editor {
  min-height: 112px;
  resize: vertical;
}

.site-footer {
  padding: 34px 0;
  background: #1b1f1d;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 92px;
  height: 36px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--white);
}

.inline-editable {
  position: relative;
}

body.inline-admin-active .inline-editable {
  outline: 1px dashed rgba(189, 145, 65, 0.48);
  outline-offset: 4px;
}

.inline-add-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  border: 1px dashed rgba(189, 145, 65, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  padding: 12px;
  box-shadow: 0 10px 26px rgba(37, 42, 39, 0.08);
}

.hero .inline-add-bar,
.section.dark .inline-add-bar,
.project-detail-hero .inline-add-bar,
.about-style-dark .inline-add-bar {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(189, 145, 65, 0.68);
}

.inline-add-actions,
.inline-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-edit-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 35;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(24, 28, 25, 0.9);
  padding: 5px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.inline-edit-controls .compact-button,
.inline-add-bar .compact-button,
.inline-admin-toolbar .compact-button {
  min-height: 31px;
  border-color: rgba(255, 255, 255, 0.2);
  background: #fbfaf6;
  color: var(--ink);
  padding: 6px 9px;
  font-size: 0.8rem;
}

.inline-edit-controls .compact-button.danger,
.inline-add-bar .compact-button.danger,
.inline-admin-toolbar .compact-button.danger {
  color: #9b3329;
}

.inline-edit-controls .compact-button.success,
.inline-add-bar .compact-button.success,
.inline-admin-toolbar .compact-button.success {
  background: var(--moss);
  color: var(--white);
}

.inline-admin-toolbar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 1400;
  width: min(1120px, calc(100% - 24px));
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(280px, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(189, 145, 65, 0.4);
  border-radius: 8px;
  background: rgba(24, 28, 25, 0.94);
  color: var(--white);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  padding: 12px;
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.inline-admin-toolbar strong,
.inline-admin-toolbar span {
  display: block;
}

.inline-admin-toolbar span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.83rem;
}

.inline-admin-toolbar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.inline-admin-toolbar a {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  padding: 6px 8px;
  font-size: 0.82rem;
}

.inline-admin-toolbar a:hover,
.inline-admin-toolbar a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

body.inline-admin-active {
  padding-bottom: 94px;
}

.inline-editor-note {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  border: 1px solid rgba(83, 103, 91, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  padding: 12px;
}

.inline-editor-note span {
  color: var(--muted);
  font-size: 0.9rem;
}
.admin-panel {
  position: fixed;
  inset: 0;
  z-index: 1500;
  pointer-events: none;
  visibility: hidden;
}

.admin-panel.is-open {
  pointer-events: auto;
  visibility: visible;
}

.admin-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 180ms ease;
}

.admin-panel.is-open .admin-backdrop {
  opacity: 1;
}

.admin-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(720px, 100%);
  height: 100%;
  background: var(--paper);
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.24);
  transform: translateX(100%);
  transition: transform 220ms ease;
  display: grid;
  grid-template-rows: auto 1fr;
}

.admin-panel.is-open .admin-drawer {
  transform: translateX(0);
}

.admin-panel.is-inline-modal .admin-drawer {
  top: 50%;
  right: auto;
  left: 50%;
  width: min(920px, calc(100% - 32px));
  height: min(88vh, 860px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transform: translate(-50%, -46%);
}

.admin-panel.is-inline-modal.is-open .admin-drawer {
  transform: translate(-50%, -50%);
}

.admin-panel.is-lock-panel .admin-drawer {
  width: min(520px, calc(100% - 32px));
  height: auto;
  max-height: min(86vh, 620px);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.admin-header h2 {
  margin: 0;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
}

.admin-body {
  min-height: 0;
  overflow: auto;
  padding: 20px;
  scroll-padding-top: 92px;
}

.admin-lock {
  display: grid;
  gap: 16px;
  max-width: 420px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.admin-tabs button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  padding: 9px 11px;
  font-weight: 800;
}

.admin-tabs button.is-active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.admin-toolbar {
  position: sticky;
  bottom: -20px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 0 0;
  margin-top: 18px;
  background: linear-gradient(180deg, rgba(251, 250, 246, 0), var(--paper) 22%);
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-quick-actions {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(83, 103, 91, 0.2);
  border-radius: 8px;
  background: rgba(248, 246, 239, 0.96);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  padding: 12px;
  backdrop-filter: blur(8px);
}

.admin-quick-actions strong,
.admin-quick-actions span {
  display: block;
}

.admin-quick-actions span {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 3px;
}


.admin-field {
  display: grid;
  gap: 7px;
}

.admin-checkbox-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
  padding: 10px;
}

.admin-checkbox-list.is-empty {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid rgba(37, 42, 39, 0.08);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-checkbox-item input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-collection {
  display: grid;
  gap: 12px;
}

.admin-section {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.admin-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
}

.admin-item.is-new {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 149, 47, 0.22);
  animation: adminNewItemPulse 1800ms ease-out 1;
}

@keyframes adminNewItemPulse {
  0% { box-shadow: 0 0 0 5px rgba(200, 149, 47, 0.36); }
  100% { box-shadow: 0 0 0 3px rgba(200, 149, 47, 0.08); }
}

.admin-item-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.admin-item-header strong {
  overflow-wrap: anywhere;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-field.full {
  grid-column: 1 / -1;
}

.compact-button {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--muted);
}

.danger {
  color: #8a2d24;
  border-color: rgba(138, 45, 36, 0.26);
}

.success {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--white);
}

.json-editor {
  min-height: 320px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
}

body.qr-contact-page-active {
  background:
    radial-gradient(circle at 50% 12%, rgba(189, 145, 65, 0.18), transparent 30%),
    linear-gradient(180deg, #11120f, #080907);
  color: #fffaf0;
}

body.qr-contact-page-active::before {
  opacity: 0.22;
  background:
    linear-gradient(118deg, transparent 0 34%, rgba(189, 145, 65, 0.16) 34% 34.2%, transparent 34.2% 66%, rgba(255, 255, 255, 0.045) 66% 66.18%, transparent 66.18%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 112px);
}

body.qr-contact-page-active .site-header {
  display: none;
}

body.qr-contact-page-active main {
  min-height: 100svh;
}

.qr-contact-page {
  min-height: 100svh;
  display: grid;
  place-items: start center;
  padding: 28px 18px 42px;
  background:
    radial-gradient(circle at 50% 8%, rgba(189, 145, 65, 0.18), transparent 28%),
    radial-gradient(circle at 50% 62%, rgba(255, 255, 255, 0.055), transparent 36%);
}

.qr-contact-shell {
  width: min(380px, 100%);
  min-height: calc(100svh - 70px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 0 0 22px;
  color: #fffaf0;
}

.qr-contact-eyebrow {
  margin: 0 0 10px;
  color: #d1a14f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.qr-contact-logo-ring {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 2px solid #d1a14f;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 54px rgba(189, 145, 65, 0.24);
}

.qr-contact-logo-ring img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 7px;
}

.qr-contact-shell h1 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 7vw, 2.45rem);
  line-height: 1.05;
  color: #fffaf0;
}

.qr-contact-rule {
  width: 42px;
  height: 2px;
  background: #d1a14f;
}

.qr-contact-subtitle {
  margin: 0 0 10px;
  color: rgba(255, 250, 240, 0.84);
  font-size: 0.96rem;
}

.qr-card-actions {
  width: 100%;
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.qr-card-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(209, 161, 79, 0.78);
  border-radius: 8px;
  color: #d8ae63;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.qr-card-action.primary {
  border-color: transparent;
  background: linear-gradient(180deg, #d5ad67, #b7883d);
  color: #12120f;
  box-shadow: 0 12px 34px rgba(189, 145, 65, 0.26);
}

.qr-card-action.secondary {
  background: rgba(255, 255, 255, 0.02);
}

.qr-card-action:hover,
.qr-card-action:focus-visible {
  transform: translateY(-1px);
  border-color: #f0c879;
}

.qr-card-action.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.qr-card-socials {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 14px;
  padding-top: 20px;
  margin-top: 14px;
  border-top: 1px solid rgba(209, 161, 79, 0.22);
}

.qr-card-socials a {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(209, 161, 79, 0.8);
  border-radius: 50%;
  color: #d8ae63;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.qr-contact-footer-text {
  margin: auto 0 0;
  color: rgba(209, 161, 79, 0.72);
  font-size: 0.75rem;
}

.qr-contact-error {
  justify-content: center;
}

.qr-admin-card {
  display: grid;
  gap: 14px;
}

.admin-help-text {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.qr-admin-preview {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 14px;
  align-items: center;
}

.qr-admin-preview img {
  width: 148px;
  height: 148px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px;
}

.qr-admin-copy {
  display: grid;
  gap: 9px;
}

.qr-admin-copy label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.qr-admin-copy input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 11px 12px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 2500;
  max-width: min(520px, calc(100% - 32px));
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 24px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
}

html[data-theme="dark"] .skip-link:focus {
  background: #f4efe4;
  color: #10140f;
}

html[data-theme="dark"] .section.white,
html[data-theme="dark"] .section.about-detail-section {
  background: #141812;
}

html[data-theme="dark"] .section.sage,
html[data-theme="dark"] .about-style-sage {
  background: linear-gradient(180deg, #1e2921, #121710);
}

html[data-theme="dark"] .about-style-light {
  background: #10140f;
}

html[data-theme="dark"] .about-style-eco {
  background:
    linear-gradient(180deg, rgba(28, 58, 38, 0.78), rgba(15, 22, 16, 0.96)),
    #132016;
}

html[data-theme="dark"] .category-card.is-active,
html[data-theme="dark"] .category-panel,
html[data-theme="dark"] .project-info-panel,
html[data-theme="dark"] .finish-card,
html[data-theme="dark"] .admin-checkbox-list,
html[data-theme="dark"] .admin-checkbox-item,
html[data-theme="dark"] .about-detail-copy,
html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .inline-editor-note {
  background: rgba(23, 26, 22, 0.88);
}

html[data-theme="dark"] .about-style-sage .about-content-card,
html[data-theme="dark"] .about-style-eco .about-content-card,
html[data-theme="dark"] .eco-initiative-card,
html[data-theme="dark"] .eco-impact-box {
  background: rgba(22, 31, 23, 0.9);
}

html[data-theme="dark"] .eco-initiative-media {
  background: #203425;
}

html[data-theme="dark"] .eco-impact-box strong {
  color: #9fd29e;
}

html[data-theme="dark"] .eco-impact-box p {
  color: #c4d4c3;
}

html[data-theme="dark"] .category-thumb-all,
html[data-theme="dark"] .category-count,
html[data-theme="dark"] .product-vr-link,
html[data-theme="dark"] .secondary-link,
html[data-theme="dark"] .toast {
  color: #fffaf0;
}

html[data-theme="dark"] .category-thumb-all {
  background: #30372f;
}

html[data-theme="dark"] .secondary-link {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .product-qr-code {
  background: #ffffff;
}

html[data-theme="dark"] .admin-trigger {
  background: #f4efe4;
  border-color: #f4efe4;
  color: #10140f;
}

html[data-theme="dark"] .admin-drawer,
html[data-theme="dark"] .site-nav {
  background: #171a16;
}

html[data-theme="dark"] .nav-toggle {
  background: #171a16;
}

html[data-theme="dark"] .nav-toggle span:not(.sr-only) {
  background: #f4efe4;
}

html[data-theme="dark"] .search-field input::placeholder,
html[data-theme="dark"] .quote-form input::placeholder,
html[data-theme="dark"] .quote-form textarea::placeholder,
html[data-theme="dark"] .admin-field input::placeholder,
html[data-theme="dark"] .admin-field textarea::placeholder {
  color: rgba(244, 239, 228, 0.46);
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .site-preferences,
html[dir="rtl"] .language-switch {
  direction: ltr;
}

html[dir="rtl"] .site-nav,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .source-row,
html[dir="rtl"] .tag-row,
html[dir="rtl"] .project-meta,
html[dir="rtl"] .project-detail-tags,
html[dir="rtl"] .filter-list,
html[dir="rtl"] .inline-add-actions,
html[dir="rtl"] .inline-toolbar-actions {
  direction: rtl;
}

html[dir="rtl"] .category-card,
html[dir="rtl"] .nav-dropdown a,
html[dir="rtl"] .product-card,
html[dir="rtl"] .service-card,
html[dir="rtl"] .project-card,
html[dir="rtl"] .contact-card,
html[dir="rtl"] .faq-item {
  text-align: right;
}

html[dir="rtl"] .back-link::before {
  content: "->";
  margin-right: 0;
  margin-left: 8px;
}

html[dir="rtl"] .product-card-action::after,
html[dir="rtl"] .project-card-action::after,
html[dir="rtl"] .product-vr-link::after {
  content: "<";
  margin-left: 0;
  margin-right: 8px;
}

html[dir="rtl"] .eco-index {
  right: auto;
  left: 22px;
}

html[dir="rtl"] .eco-impact-box {
  border-left: 0;
  border-right: 4px solid #4f9a5f;
}

@media (max-width: 980px) {
  .site-preferences {
    gap: 6px;
  }

  .preference-button {
    padding: 6px 8px;
  }

  html[data-theme="dark"] .nav-dropdown {
    background: rgba(255, 255, 255, 0.05);
  }
}

@media (max-width: 720px) {
  .qr-contact-page {
    padding: 22px 16px 34px;
  }

  .qr-contact-shell {
    min-height: calc(100svh - 56px);
  }

  .qr-admin-preview {
    grid-template-columns: 1fr;
  }

  .qr-admin-preview img {
    width: 176px;
    height: 176px;
  }
}
@media (max-width: 720px) {
  .header-inner {
    gap: 10px;
  }

  .site-preferences {
    gap: 5px;
  }

  .language-switch {
    gap: 2px;
    padding: 3px;
  }

  .preference-button {
    min-height: 32px;
    padding: 5px 7px;
    font-size: 0.75rem;
  }

  .theme-switch {
    min-width: 54px;
  }
}
@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto 1fr auto auto;
  }

  .nav-toggle {
    display: inline-grid;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-height) - 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .nav-item {
    display: grid;
    min-height: 0;
  }

  .nav-dropdown {
    position: static;
    display: none;
    min-width: 0;
    max-width: none;
    max-height: none;
    overflow: visible;
    width: 100%;
    margin: 0 0 8px;
    border-color: rgba(37, 42, 39, 0.09);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .nav-item.is-submenu-open .nav-dropdown {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .nav-dropdown a {
    min-height: 34px;
    justify-content: center;
    font-size: 0.86rem;
  }

  .welcome-grid,
  .about-grid,
  .project-detail-layout,
  .project-detail-copy,
  .eco-initiative-heading,
  .eco-initiative-card,
  .contact-layout,
  .about-content-card,
  .about-layout-image-right.about-image-small,
  .about-layout-image-right.about-image-medium,
  .about-layout-image-right.about-image-large,
  .about-layout-image-left.about-image-small,
  .about-layout-image-left.about-image-medium,
  .about-layout-image-left.about-image-large {
    grid-template-columns: 1fr;
  }

  .about-content-media,
  .about-content-copy {
    order: initial;
  }

  .eco-initiative-media > img {
    min-height: 280px;
  }

  .category-grid,
  .catalog-grid,
  .services-grid,
  .finish-grid,
  .projects-grid,
  .contact-grid,
  .faq-grid,
  .related-about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tools-row {
    grid-template-columns: 1fr;
  }

  .filter-list {
    justify-content: flex-start;
  }

  .category-card {
    grid-template-columns: 82px 1fr;
  }

  .category-thumb {
    width: 82px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 74px;
  }

  .header-inner,
  .container {
    width: min(1180px, calc(100% - 24px));
  }

  .brand img {
    width: 102px;
    height: 40px;
  }

  .brand-copy {
    display: none;
  }

  .admin-trigger {
    min-height: 40px;
    padding: 8px 10px;
  }

  .hero {
    min-height: calc(100svh - 118px);
    padding: 74px 0 42px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero .lead {
    font-size: 1.02rem;
  }

  .hero-strip,
  .category-grid,
  .feature-list,
  .value-list,
  .catalog-grid,
  .services-grid,
  .finish-grid,
  .projects-grid,
  .contact-grid,
  .faq-grid,
  .related-about-grid,
  .admin-grid,
  .admin-checkbox-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .section-kicker {
    display: block;
  }

  .category-panel,
  .surface-heading {
    display: grid;
    align-items: start;
  }

  .section-kicker h2,
  .welcome-copy h2 {
    font-size: 2rem;
  }

  .project-detail-hero h1 {
    font-size: 2.5rem;
  }

  .project-thumb-grid {
    grid-template-columns: 1fr;
  }

  .welcome-image,
  .welcome-image img {
    min-height: 320px;
    height: 320px;
  }

  .quote-mark {
    position: static;
    margin-top: 12px;
  }

  .footer-inner {
    display: grid;
  }

  .admin-body,
  .admin-header {
    padding: 16px;
  }

  .admin-quick-actions {
    align-items: stretch;
    display: grid;
  }

  .inline-admin-toolbar {
    bottom: 8px;
    grid-template-columns: 1fr;
    max-height: 54vh;
    overflow: auto;
  }

  .inline-admin-toolbar nav,
  .inline-toolbar-actions,
  .inline-add-actions {
    justify-content: flex-start;
  }

  .inline-edit-controls {
    position: static;
    width: max-content;
    max-width: 100%;
    margin: 0 0 8px;
  }

  body.inline-admin-active {
    padding-bottom: 210px;
  }

  .admin-panel.is-inline-modal .admin-drawer {
    width: calc(100% - 18px);
    height: min(92vh, 860px);
  }
}














