/* Acropol — "Built from the ground up"
   Layout concept: dark night-garden ground, stone-coloured bands for reading,
   one brass accent used like landscape lighting. Mobile first. */
:root {
  --night: #f6f4ee;      /* page ground: warm light limestone */
  --slab: #ebe7dd;       /* raised surfaces */
  --ink: #1a1f1b;        /* main text */
  --muted: #5b635b;      /* secondary text */
  --brass-deep: #8a6424; /* brass for text on light */
  --stone: #e9e5da;      /* reading band, a shade deeper than the ground */
  --stone-ink: #1a1f1b;  /* text on stone */
  --stone-muted: #5b635b;
  --moss: #7d9a68;       /* planting */
  --brass: #d1a65c;      /* lamp light, the one accent */
  --brass-ink: #1a140a;
  --line: rgba(26, 31, 27, .14);
  --line-stone: rgba(26, 31, 27, .16);

  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --s-1: clamp(2.6rem, 8.5vw, 6.4rem);
  --s-2: clamp(2rem, 5.2vw, 3.6rem);
  --s-3: clamp(1.4rem, 2.6vw, 1.9rem);
  --s-body: 1.0625rem;
  --s-small: .875rem;

  --radius: 6px;
  --max: 1240px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --dock-h: 0px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 var(--s-body)/1.6 var(--f-body);
  overflow-x: clip;
  padding-bottom: var(--dock-h);
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--night);
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; margin: 0; text-wrap: balance; font-variation-settings: "wdth" 82; }
h1 { font-size: var(--s-1); }
h2 { font-size: var(--s-2); }
h3 { font-size: var(--s-3); letter-spacing: -.01em; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--f-mono); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
@media (min-width: 720px) { :root { --gutter-l: max(32px, env(safe-area-inset-left, 0px)); --gutter-r: max(32px, env(safe-area-inset-right, 0px)); } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brass); color: var(--brass-ink); padding: 10px 14px; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 58ch; }

/* Buttons */
.btn {
  --b: var(--ink); --c: var(--night);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.5em; border-radius: 999px; border: 1px solid transparent;
  background: var(--b); color: var(--c); text-decoration: none; font-weight: 600; font-size: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer; font-family: var(--f-body);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-brass { --b: var(--brass); --c: var(--brass-ink); box-shadow: 0 0 0 0 rgba(209,166,92,.0); }
.btn-brass:hover { box-shadow: 0 10px 40px -10px rgba(209,166,92,.65); }
.btn-ghost { --b: transparent; --c: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 1.1em; font-size: .9rem; }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(18, 22, 19, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; color: var(--brass); }
.brand-text { display: grid; line-height: 1; }
.brand-text b { font-family: var(--f-display); font-size: 1.25rem; letter-spacing: .14em; font-weight: 700; font-variation-settings: "wdth" 100; }
.brand-text small { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: none; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: .95rem; position: relative; padding-block: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brass); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-phone { display: none; text-decoration: none; font-family: var(--f-mono); font-size: .85rem; color: var(--ink); }
.header-actions .btn { display: none; }
.menu-btn { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; display: grid; place-content: center; gap: 6px; cursor: pointer; color: var(--ink); }
.menu-btn span:not(.sr) { width: 18px; height: 1.5px; background: currentColor; transition: transform .25s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
.menu-sheet { border-top: 1px solid var(--line); background: var(--night); }
.menu-sheet nav { display: grid; padding-block: 12px 28px; }
.menu-sheet a { text-decoration: none; font-family: var(--f-display); font-size: 2rem; font-weight: 600; padding: 8px 0; border-bottom: 1px solid var(--line); font-variation-settings: "wdth" 80; }
.menu-contact { margin-top: 20px; color: var(--muted); font-size: .85rem; line-height: 1.8; }
@media (min-width: 960px) {
  .nav { display: flex; }
  .header-actions { margin-left: 8px; }
  .header-phone, .header-actions .btn { display: inline-flex; }
  .menu-btn, .menu-sheet { display: none !important; }
}

/* Mobile dock */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  background: rgba(18, 22, 19, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.dock-call { padding: 0 20px; border: 1px solid var(--line); color: var(--ink); }
.dock-call svg { width: 18px; height: 18px; }
.dock-cta { background: var(--brass); color: var(--brass-ink); }
body { --dock-h: calc(72px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 960px) { .dock { display: none; } body { --dock-h: 0px; } }
.page-free-estimate .dock { display: none; }
.page-free-estimate { --dock-h: 0px; }

/* Sections */
.section { padding-block: clamp(72px, 11vw, 140px); }
.band-stone { background: var(--stone); color: var(--stone-ink); }
.band-stone .eyebrow, .band-stone .lede { color: var(--stone-muted); }
.band-stone .btn-ghost { --c: var(--stone-ink); border-color: var(--line-stone); }
.band-slab { background: var(--slab); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 6vw, 64px); max-width: 860px; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(56px, 10vw, 120px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; gap: 22px; position: relative; }
.page-hero::after { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(209,166,92,.16), transparent 70%); pointer-events: none; }

/* ---------- HOME: layered 3D hero ---------- */
.ground { position: relative; height: 340vh; }
.ground-stage { position: sticky; top: calc(64px + env(safe-area-inset-top, 0px)); height: calc(100svh - 64px - env(safe-area-inset-top, 0px)); min-height: 560px; overflow: hidden; }
.ground-sky { position: absolute; inset: 0; background:
  radial-gradient(120% 70% at 70% 30%, rgba(125,154,104,.14), transparent 60%),
  radial-gradient(80% 60% at 70% 75%, rgba(209,166,92,calc(.05 + var(--dusk, 0) * .25)), transparent 70%),
  var(--night); transition: background .4s; }
.ground-canvas { position: absolute; inset: 0; }
.ground-canvas canvas { width: 100% !important; height: 100% !important; }
.ground-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-start; pointer-events: none; padding-top: clamp(24px, 6vh, 72px); }
.ground-copy .wrap { display: grid; gap: 18px; }
.ground-copy h1 { max-width: 11ch; }
.ground-copy h1 em { font-style: normal; color: var(--brass); }
.ground-copy .lede { max-width: 40ch; color: var(--ink); opacity: .82; }
.ground-copy .actions { display: flex; flex-wrap: wrap; gap: 12px; pointer-events: auto; margin-top: 6px; }
.ground-intro { transition: opacity .35s ease, transform .35s ease; }
.ground.is-moving .ground-intro { opacity: 0; transform: translateY(-16px); pointer-events: none; }
.ground.is-moving .ground-intro .actions { pointer-events: none; }
.ground-scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; transition: opacity .3s; }
.ground-scroll::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--muted), transparent); animation: drip 1.8s ease-in-out infinite; }
.ground.is-moving .ground-scroll { opacity: 0; }
@media (max-width: 959px) { .ground-scroll { display: none; } }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.layer-panel { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; padding-bottom: 20px; opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease; }
.ground.is-moving .layer-panel { opacity: 1; transform: none; }
.layer-panel .wrap { display: grid; gap: 14px; }
.layer-card { background: rgba(27,33,29,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; max-width: 440px; min-height: 132px; }
.layer-card .eyebrow { color: var(--brass); }
.layer-card h3 { margin-top: 6px; font-size: 1.6rem; }
.layer-card p { margin-top: 6px; color: var(--muted); font-size: .95rem; }
.layer-ticks { display: flex; gap: 6px; }
.layer-ticks i { flex: 1; max-width: 64px; height: 3px; border-radius: 2px; background: var(--line); transition: background .3s; }
.layer-ticks i.on { background: var(--brass); }
.dusk-toggle { pointer-events: auto; justify-self: start; display: inline-flex; align-items: center; gap: 10px; background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 8px 14px 8px 8px; font: 500 .85rem var(--f-body); cursor: pointer; }
.dusk-toggle .knob { width: 36px; height: 22px; border-radius: 999px; background: var(--slab); position: relative; border: 1px solid var(--line); }
.dusk-toggle .knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .25s, background .25s; }
.dusk-toggle[aria-pressed="true"] .knob::after { transform: translateX(14px); background: var(--brass); box-shadow: 0 0 12px var(--brass); }

@media (min-width: 960px) {
  .ground-copy { justify-content: center; padding-top: 0; }
  .ground-copy .wrap { max-width: var(--max); }
  .ground-intro { max-width: 560px; }
  .layer-panel { top: 0; display: flex; align-items: center; padding-bottom: 0; }
  .layer-panel .wrap { justify-items: start; }
}

/* CSS fallback stack (also the poster before WebGL loads) */
.css-stack { position: absolute; left: 50%; top: 80%; width: min(78vw, 520px); aspect-ratio: 3 / 2; transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-38deg); transform-style: preserve-3d; perspective: 1400px; }
@media (min-width: 960px) { .css-stack { left: 68%; top: 54%; width: min(44vw, 620px); } }
.css-stack .sl { position: absolute; inset: 0; border-radius: 3px; transform: translateZ(calc(var(--i) * (10px + var(--e, 0) * 46px))); box-shadow: 0 0 0 1px rgba(0,0,0,.25); transition: transform .12s linear; }
.css-stack .sl:nth-child(1) { background: #4b3a2a; }
.css-stack .sl:nth-child(2) { background: #c9c8bd; opacity: .85; }
.css-stack .sl:nth-child(3) { background: radial-gradient(circle at 30% 40%, #8c8b84 1.5px, transparent 2px) 0 0/9px 9px, radial-gradient(circle at 70% 60%, #6c6b65 1.5px, transparent 2px) 0 0/7px 7px, #7a7972; }
.css-stack .sl:nth-child(4) { background: #c4ae84; }
.css-stack .sl:nth-child(5) { background:
  repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), #3c3a36 calc(10% - 2px) 10%),
  repeating-linear-gradient(0deg, transparent 0 calc(12.5% - 2px), #3c3a36 calc(12.5% - 2px) 12.5%), #8e8a82; }
.has-webgl .css-stack { opacity: 0; transition: opacity .6s; }

/* Services grid */
.svc-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
@media (min-width: 680px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc { background: var(--night); padding: 28px 24px 26px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; text-decoration: none; position: relative; transition: background .25s; min-width: 0; }
.svc:hover { background: var(--slab); }
.svc .tag { font-family: var(--f-mono); font-size: .72rem; color: var(--brass); letter-spacing: .12em; text-transform: uppercase; }
.svc h3 { font-size: 1.75rem; }
.svc p { color: var(--muted); font-size: .97rem; }
.svc .more { font-weight: 600; font-size: .92rem; display: inline-flex; gap: 8px; align-items: center; }
.svc:hover .more span { transform: translateX(4px); }
.svc .more span { transition: transform .2s; }
.svc-icon { width: 42px; height: 42px; color: var(--ink); opacity: .9; }

/* Split feature */
.split { display: grid; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split > * { min-width: 0; }
.split .stack { display: grid; gap: 20px; }

/* Photo slots: honest placeholders until Acropol's own photos arrive */
.slot { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background:
  repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 10px, transparent 10px 20px), var(--slab);
  border: 1px dashed var(--line); display: flex; align-items: flex-end; }
.band-stone .slot { background: repeating-linear-gradient(135deg, rgba(0,0,0,.04) 0 10px, transparent 10px 20px), #d2d3ca; border-color: var(--line-stone); }
.slot .slot-label { margin: 14px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: rgba(18,22,19,.6); padding: 6px 10px; border-radius: 4px; }
.band-stone .slot .slot-label { color: var(--stone-muted); background: rgba(223,224,216,.8); }
.slot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.slot-pair .slot { aspect-ratio: 3 / 4; }

/* Process */
.steps { display: grid; gap: 1px; background: var(--line-stone); border-block: 1px solid var(--line-stone); counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-stone); border-radius: 10px; overflow: hidden; } }
.step { background: var(--stone); padding: 28px 24px 32px; display: grid; gap: 10px; align-content: start; }
.step-n { font-family: var(--f-display); font-size: 4rem; line-height: .9; font-weight: 800; color: transparent; -webkit-text-stroke: 1.2px var(--stone-ink); font-variation-settings: "wdth" 75; }
.step p { color: var(--stone-muted); }

/* Materials */
.brands { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.brands span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; font-variation-settings: "wdth" 90; }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line-stone); }
.faq details { border-bottom: 1px solid var(--line-stone); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-family: var(--f-display); font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 600; font-variation-settings: "wdth" 88; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-weight: 400; font-size: 1.4rem; transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 64ch; color: var(--stone-muted); }

/* Marquee of service areas */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: slide 60s linear infinite; }
.marquee-track span { font-family: var(--f-display); font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 600; white-space: nowrap; color: var(--muted); font-variation-settings: "wdth" 80; }
.marquee-track span:nth-child(3n+1) { color: var(--ink); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Big CTA */
.cta-band { padding-block: clamp(80px, 12vw, 160px); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 50%; top: 100%; width: 140vw; height: 90vw; max-height: 900px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(209,166,92,.22), transparent 70%); pointer-events: none; }
.cta-band .wrap { display: grid; gap: 24px; justify-items: start; position: relative; }
.cta-band h2 { font-size: var(--s-1); max-width: 12ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 64px 28px; background: var(--night); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-big { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.05; margin: 10px 0 22px; font-variation-settings: "wdth" 82; }
.plain { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; color: var(--muted); }
.plain a { text-decoration: none; color: var(--ink); }
.plain a:hover { color: var(--brass); }
.footer-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .82rem; color: var(--muted); font-family: var(--f-mono); }

/* ---------- SERVICES ---------- */
.svc-index { display: flex; gap: 8px; overflow-x: auto; padding-block: 18px; scrollbar-width: none; }
.svc-index::-webkit-scrollbar { display: none; }
.svc-index a { flex: none; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .9rem; color: var(--muted); }
.svc-index a:hover { color: var(--ink); border-color: var(--ink); }
.svc-nav { position: sticky; top: calc(64px + env(safe-area-inset-top, 0px)); z-index: 20; background: rgba(18,22,19,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.svc-block { padding-block: clamp(56px, 9vw, 110px); border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.svc-block .split { align-items: start; }
.svc-block h2 { margin-top: 12px; }
.svc-block .lede { margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips li { list-style: none; border: 1px solid var(--line); border-radius: 6px; padding: 7px 12px; font-size: .92rem; }
.chips { padding: 0; }
.svc-block .btn { margin-top: 28px; }

/* ---------- PROJECTS ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 9px 16px; font: 500 .92rem var(--f-body); cursor: pointer; min-height: 40px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--night); border-color: var(--ink); }
.proj-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .proj-grid { grid-template-columns: repeat(3, 1fr); } }
.proj-grid figure { margin: 0; display: grid; gap: 10px; }
.proj-grid figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; color: var(--muted); }
.proj-grid figcaption b { color: var(--ink); font-weight: 600; }

.compare { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; user-select: none; touch-action: pan-y; background: var(--slab); }
.compare canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--ink); transform: translateX(-1px); pointer-events: none; }
.compare .handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--night); display: grid; place-items: center; font-size: 1.1rem; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .tagl, .compare .tagr { position: absolute; top: 14px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; background: rgba(18,22,19,.7); padding: 6px 10px; border-radius: 4px; pointer-events: none; }
.compare .tagl { left: 14px; } .compare .tagr { right: 14px; }
.note { font-size: .85rem; color: var(--muted); margin-top: 12px; font-family: var(--f-mono); }

/* ---------- ABOUT ---------- */
.values { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
@media (min-width: 720px) { .values { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values div { background: var(--night); padding: 26px 24px; display: grid; gap: 8px; align-content: start; }
.values h3 { font-size: 1.5rem; }
.values p { color: var(--muted); }
.prose { display: grid; gap: 18px; max-width: 64ch; }
.prose p { color: var(--muted); }
.band-stone .prose p { color: var(--stone-muted); }

/* ---------- SERVICE AREAS ---------- */
.areas { display: grid; gap: 32px; }
@media (min-width: 960px) { .areas { grid-template-columns: 1.15fr .85fr; align-items: start; } }
.areas > * { min-width: 0; }
.map { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--slab); }
.map svg { width: 100%; height: auto; }
.map .lake { fill: rgba(125,154,104,.0); }
.map .water { fill: #18241f; }
.map .shore { fill: none; stroke: rgba(236,238,231,.25); stroke-width: 1.2; }
.map .dot { cursor: pointer; }
.map .dot circle.c { fill: var(--muted); transition: r .2s, fill .2s; }
.map .dot circle.h { fill: transparent; }
.map .dot text { font-family: var(--f-mono); font-size: 13px; fill: var(--muted); opacity: 0; transition: opacity .2s; pointer-events: none; }
.map .dot.on circle.c, .map .dot:hover circle.c, .map .dot:focus circle.c { fill: var(--brass); r: 8; }
.map .dot.on text, .map .dot:hover text, .map .dot:focus text { opacity: 1; fill: var(--ink); }
.map .dot:focus { outline: none; }
.map .base-label { font-family: var(--f-mono); font-size: 12px; fill: rgba(236,238,231,.35); letter-spacing: .2em; }
.city-list { columns: 2; column-gap: 20px; padding: 0; margin: 0; list-style: none; }
.city-list button { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--muted); padding: 10px 0; font: 500 1rem var(--f-body); cursor: pointer; break-inside: avoid; display: flex; justify-content: space-between; }
.city-list button:hover, .city-list button[aria-pressed="true"] { color: var(--ink); }
.city-list button[aria-pressed="true"]::after { content: "●"; color: var(--brass); font-size: .7rem; }
.city-panel { margin-top: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--slab); display: grid; gap: 12px; }
.city-panel h3 { font-size: 2rem; }
.city-panel p { color: var(--muted); }

/* ---------- ESTIMATE ---------- */
.est { display: grid; gap: 40px; padding-block: clamp(40px, 7vw, 88px); }
@media (min-width: 980px) { .est { grid-template-columns: .8fr 1.2fr; align-items: start; } .est-aside { position: sticky; top: 100px; } }
.est > * { min-width: 0; }
.est-aside { display: grid; gap: 18px; }
.est-aside ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.est-aside li { display: flex; gap: 10px; }
.est-aside li::before { content: "—"; color: var(--brass); }
.form-card { background: var(--stone); color: var(--stone-ink); border-radius: 14px; padding: clamp(20px, 4vw, 40px); }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 26px; }
.progress i { height: 4px; border-radius: 2px; background: var(--line-stone); transition: background .3s; }
.progress i.on { background: var(--stone-ink); }
.form-step { display: grid; gap: 18px; border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step legend { font-family: var(--f-display); font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; line-height: 1.05; padding: 0; margin-bottom: 4px; font-variation-settings: "wdth" 82; }
.step-meta { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-muted); }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 560px) { .opt-grid.three { grid-template-columns: repeat(3, 1fr); } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: flex; flex-direction: column; gap: 4px; min-height: 72px; justify-content: center; padding: 14px; border: 1.5px solid var(--line-stone); border-radius: 10px; font-weight: 600; transition: border-color .2s, background .2s; background: rgba(255,255,255,.35); }
.opt span small { font-weight: 400; color: var(--stone-muted); font-size: .82rem; }
.opt input:checked + span { border-color: var(--stone-ink); background: #fff; box-shadow: inset 0 0 0 1px var(--stone-ink); }
.opt input:focus-visible + span { outline: 2px solid #8a6a2c; outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field label .req { color: #8a5a12; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; border: 1.5px solid var(--line-stone); border-radius: 10px; background: #fff; color: var(--stone-ink);
  padding: 12px 14px; font: 400 1rem var(--f-body); color-scheme: light;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--stone-ink); box-shadow: 0 0 0 3px rgba(26,31,27,.12); }
.field .err { color: #9a2a12; font-size: .85rem; min-height: 0; }
.field [aria-invalid="true"] { border-color: #9a2a12; }
.two { display: grid; gap: 14px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--stone-muted); }
.check input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--stone-ink); }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.form-nav .btn-back { background: transparent; border: 1.5px solid var(--line-stone); color: var(--stone-ink); }
.form-nav .btn-next { --b: var(--stone-ink); --c: var(--stone); margin-left: auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #9a2a12; font-weight: 600; margin-top: 8px; }
.done { display: grid; gap: 14px; text-align: left; }
.done h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.done p { color: var(--stone-muted); }

/* Privacy */
.legal { display: grid; gap: 30px; max-width: 72ch; padding-block: clamp(48px, 8vw, 96px); }
.legal h2 { font-size: 1.6rem; }
.legal section { display: grid; gap: 10px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

/* Reveal: content is visible at rest, motion only adds polish */
@media (prefers-reduced-motion: no-preference) {
  .rv { transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .8s; }
  .rv.pre { transform: translateY(24px); opacity: .001; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ground { height: auto; }
  .ground-stage { position: relative; top: 0; }
}

/* =========================================================
   HOME — "Walk the yard" (tour.js)
   ========================================================= */
.page-index .site-header { background: rgba(10, 15, 13, .55); }
.tour { position: relative; height: 760vh; background: #0a0f0d; }
.tour-stage { position: sticky; top: calc(64px + env(safe-area-inset-top, 0px)); height: calc(100svh - 64px - env(safe-area-inset-top, 0px)); overflow: hidden; }
.tour-gl, .tour-gl canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.tour-vignette { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(5,8,7,.55) 100%),
  repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px); mix-blend-mode: normal; }
.kicker { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }

/* boot screen */
.boot { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; background: #0a0f0d; transition: opacity .8s ease, visibility .8s; }
.boot.done { opacity: 0; visibility: hidden; }
.boot-inner { display: grid; gap: 14px; justify-items: center; color: var(--brass); font-size: .75rem; letter-spacing: .24em; }
.boot-sub { color: var(--muted); letter-spacing: .12em; }
.boot-bar { width: 180px; height: 1px; background: linear-gradient(90deg, transparent, var(--brass), transparent); background-size: 200% 100%; animation: boot 1.2s linear infinite; }
@keyframes boot { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* HUD */
.hud { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hud-tl { position: absolute; top: 18px; left: var(--gutter-l); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .66rem; letter-spacing: .16em; color: rgba(236,238,231,.75); max-width: 60vw; }
.hud-tl span { display: inline-flex; gap: 8px; padding: 5px 9px; background: rgba(10,15,13,.55); border: 1px solid rgba(224,180,100,.25); border-radius: 3px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hud-tl b { font-weight: 500; color: var(--brass); }
.hud-tl em { font-style: normal; font-variant-numeric: tabular-nums; }
.hud-corner { position: absolute; width: 22px; height: 22px; border: 1px solid rgba(224,180,100,.55); }
.hud-corner.c1 { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.hud-corner.c2 { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.hud-corner.c3 { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.hud-corner.c4 { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
@media (max-width: 759px) { .hud-tl span:nth-child(n+3) { display: none; } .hud-corner { display: none; } }

/* rail */
.rail { position: absolute; z-index: 3; right: var(--gutter-r); top: 50%; transform: translateY(-50%); display: none; flex-direction: column; gap: 4px; }
.rail button { all: unset; cursor: pointer; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 6px 4px 6px 12px; border-radius: 999px; background: rgba(10,15,13,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font: 500 .82rem var(--f-body); color: rgba(236,238,231,.55); text-shadow: 0 1px 8px rgba(0,0,0,.6); transition: color .25s; }
.rail button span { font-size: .66rem; color: rgba(224,180,100,.6); }
.rail button::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .3s, background .3s; }
.rail button:hover, .rail button.on { color: var(--ink); background: rgba(10,15,13,.75); }
.rail button.on::after { width: 40px; background: var(--brass); }
.rail button:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
@media (min-width: 960px) { .rail { display: flex; } }

/* chapters */
.ch { position: absolute; z-index: 4; left: var(--gutter-l); right: var(--gutter-r); bottom: 20px; display: grid; gap: 14px; opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.ch.on { opacity: 1; transform: none; pointer-events: auto; }
.ch-text { display: grid; gap: 10px; padding: 18px 18px 20px; background: rgba(10,15,13,.78); border: 1px solid rgba(224,180,100,.22); border-radius: 10px; backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); position: relative; }
.ch-text::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 2px; background: var(--brass); box-shadow: 0 0 14px var(--brass); }
.ch-text h2 { font-size: clamp(1.7rem, 4.2vw, 2.8rem); }
.ch-text p:not(.kicker) { color: rgba(236,238,231,.78); font-size: .98rem; max-width: 46ch; }
.ch-link { justify-self: start; color: var(--brass); text-decoration: none; font-weight: 600; font-size: .95rem; }
.ch-link:hover { text-decoration: underline; }
.ch-photo { margin: 0; display: none; position: relative; border-radius: 8px; overflow: hidden; border: 1px solid rgba(224,180,100,.3); background: #111; }
.ch-photo img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.ch-photo figcaption { position: absolute; left: 10px; bottom: 10px; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; background: rgba(10,15,13,.7); padding: 5px 8px; border-radius: 3px; color: var(--ink); }
.ch.on .ch-photo { animation: photoIn .9s cubic-bezier(.2,.7,.2,1) both .15s; }
@keyframes photoIn { from { clip-path: inset(0 0 100% 0); filter: saturate(0) brightness(1.6); } to { clip-path: inset(0 0 0 0); filter: none; } }
.ch.on .ch-photo::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--brass); box-shadow: 0 0 16px var(--brass); animation: scanDown .9s cubic-bezier(.2,.7,.2,1) both .15s; }
@keyframes scanDown { from { top: 0; opacity: 1; } 90% { opacity: 1; } to { top: 100%; opacity: 0; } }

.ch-hero { top: 0; bottom: 0; align-content: center; padding-bottom: 40px; }
.ch-hero h1 { font-size: clamp(2.7rem, 9vw, 7.2rem); line-height: .94; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.ch-hero h1 em { font-style: normal; color: var(--brass); text-shadow: 0 0 28px rgba(224,180,100,.45), 0 2px 30px rgba(0,0,0,.6); }
.ch-hero::before { content: ""; position: absolute; z-index: -1; inset: -20% -40% -20% -30%; background: radial-gradient(60% 55% at 30% 50%, rgba(10,15,13,.82), rgba(10,15,13,.5) 50%, transparent 75%); pointer-events: none; }
.ch-sub { color: rgba(236,238,231,.82); max-width: 38ch; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.ch-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }
.scroll-cue { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue::before { content: ""; width: 1px; height: 26px; background: linear-gradient(var(--brass), transparent); animation: drip 1.8s ease-in-out infinite; }
.ch-final .ch-text h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); }

@media (min-width: 760px) {
  .ch { left: var(--gutter-l); right: auto; bottom: 40px; width: min(560px, 46vw); }
  .ch-hero { width: auto; right: var(--gutter-r); }
  .ch-photo { display: block; position: absolute; left: calc(100% + 24px); bottom: 0; width: min(340px, 26vw); }
}
@media (min-width: 960px) { .ch-photo { width: min(380px, 26vw); } }

/* after the tour */
.after { padding-block: clamp(72px, 10vw, 130px); border-top: 1px solid var(--line); background: radial-gradient(80% 60% at 20% 0%, rgba(224,180,100,.08), transparent 60%), var(--night); }
.after-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .after-grid { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.after-grid > * { min-width: 0; }
.after-head { display: grid; gap: 16px; }
.faq.dark { border-top-color: var(--line); }
.faq.dark details { border-bottom-color: var(--line); }
.faq.dark details p { color: var(--muted); }

/* without WebGL / reduced motion: readable stacked chapters */
.no-gl .tour { height: auto; }
.no-gl .tour-stage { position: relative; top: 0; height: auto; overflow: visible; display: grid; gap: 20px; padding-block: 40px; }
.no-gl .boot, .no-gl .hud, .no-gl .rail, .no-gl .tour-gl, .no-gl .tour-vignette { display: none; }
.no-gl .ch { position: relative; inset: auto; width: auto; opacity: 1; transform: none; pointer-events: auto; padding-inline: 0; }
.no-gl .ch-photo { display: block; position: relative; left: auto; width: 100%; max-width: 560px; }
.no-gl .ch-hero { padding-block: 40px; }

/* =========================================================
   HOME v3 — photo-led, restrained motion
   ========================================================= */
.btn-glass { --b: rgba(18,22,19,.35); --c: var(--ink); border-color: rgba(236,238,231,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { border-color: var(--ink); }

.hero-photo { position: relative; min-height: min(92svh, 920px); display: flex; align-items: flex-end; overflow: hidden; background: #1a1f1b; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s cubic-bezier(.2,.7,.2,1); }
.hero-photo.ready .hero-img { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,13,11,.35) 0%, rgba(10,13,11,0) 30%, rgba(10,13,11,.25) 55%, rgba(10,13,11,.88) 100%), linear-gradient(90deg, rgba(10,13,11,.55), rgba(10,13,11,0) 60%); pointer-events: none; }
.hero-content { position: relative; display: grid; gap: 18px; padding-block: 120px clamp(48px, 8vw, 96px); }
.hero-content h1 { font-size: clamp(3rem, 9vw, 7.4rem); line-height: .92; max-width: 10ch; text-shadow: 0 2px 40px rgba(0,0,0,.35); }
.hero-sub { max-width: 46ch; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: rgba(236,238,231,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-caption { position: absolute; right: var(--gutter-r); bottom: 18px; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(236,238,231,.7); }
@media (max-width: 759px) { .hero-caption { display: none; } }
.hero-content > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-content > *:nth-child(2) { animation-delay: .08s; } .hero-content > *:nth-child(3) { animation-delay: .16s; } .hero-content > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.plan-built { padding-block: clamp(72px, 10vw, 140px); }
.pb-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .pb-grid { grid-template-columns: .8fr 1.2fr; } }
.pb-grid > * { min-width: 0; }
.pb-text { display: grid; gap: 18px; }
.pb-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pb-fig { margin: 0; position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--slab); }
.pb-fig img { width: 100%; height: 100%; object-fit: cover; }
.pb-fig figcaption, .reel figcaption { position: absolute; left: 10px; bottom: 10px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; background: rgba(10,13,11,.7); padding: 5px 9px; border-radius: 4px; }

.svc-rows { border-top: 1px solid var(--line); }
.svc-rows-head { display: grid; gap: 14px; padding-block: clamp(64px, 9vw, 110px) 32px; }
.svc-row { display: grid; text-decoration: none; border-top: 1px solid var(--line); }
.svc-row-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--slab); }
.svc-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.svc-row:hover .svc-row-img img { transform: scale(1.04); }
.svc-row-text { display: grid; gap: 10px; align-content: center; padding: 28px max(16px, env(safe-area-inset-right, 0px)) 36px max(16px, env(safe-area-inset-left, 0px)); }
.svc-row-text .mono { color: var(--brass); font-size: .78rem; letter-spacing: .14em; }
.svc-row-text h3 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
.svc-row-text p { color: var(--muted); max-width: 44ch; }
.svc-row-text .more { font-weight: 600; color: var(--ink); }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: 1.25fr 1fr; min-height: 440px; }
  .svc-row:nth-of-type(even) { grid-template-columns: 1fr 1.25fr; }
  .svc-row:nth-of-type(even) .svc-row-img { order: 2; }
  .svc-row-img { aspect-ratio: auto; height: 100%; }
  .svc-row-text { padding: 48px clamp(32px, 5vw, 80px); }
}

.reel { padding-block: clamp(72px, 10vw, 130px); border-top: 1px solid var(--line); }
.reel-head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: end; margin-bottom: 28px; }
.reel-head > div { display: grid; gap: 14px; }
.reel-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-left: max(16px, env(safe-area-inset-left, 0px), calc((100vw - var(--max)) / 2 + 32px)); padding-right: 16px; padding-bottom: 8px; scrollbar-width: thin; }
.reel-track figure { margin: 0; position: relative; flex: none; width: min(78vw, 460px); aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; scroll-snap-align: start; background: var(--slab); }
.reel-track img { width: 100%; height: 100%; object-fit: cover; }

.cta-photo { position: relative; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; }
.cta-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-photo-inner { position: relative; display: grid; gap: 18px; justify-items: start; padding-block: 120px 72px; }
.cta-photo-inner h2 { font-size: var(--s-1); max-width: 12ch; }
.page-index .site-header { background: rgba(18,22,19,.82); }
.photo { margin: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--slab); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-content .kicker { text-shadow: 0 1px 10px rgba(0,0,0,.8); color: #f0c97e; }
.brand-logo { height: 34px; width: auto; display: block; }
@media (min-width: 960px) { .brand-logo { height: 38px; } }
.footer-logo { height: 46px; width: auto; margin-bottom: 18px; }

/* =========================================================
   HOME v4 — explore a real project (explore.js)
   ========================================================= */
.explore { position: relative; height: 620vh; background: #0b0f0d; }
.ex-stage { position: sticky; top: calc(64px + env(safe-area-inset-top, 0px)); height: calc(100svh - 64px - env(safe-area-inset-top, 0px)); overflow: hidden; }
.ex-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.ex-img { width: 100%; height: 100%; display: block; max-width: none; opacity: 0; transition: opacity 1s ease; }
.explore.ready .ex-img { opacity: 1; }
.ex-shade { position: absolute; inset: 0; pointer-events: none; transition: background .6s ease;
  background: linear-gradient(90deg, rgba(8,11,9,.78) 0%, rgba(8,11,9,.35) 45%, rgba(8,11,9,0) 70%), linear-gradient(0deg, rgba(8,11,9,.6), rgba(8,11,9,0) 40%); }
.explore.zoomed .ex-shade { background: linear-gradient(90deg, rgba(8,11,9,.7) 0%, rgba(8,11,9,.2) 38%, rgba(8,11,9,0) 55%), radial-gradient(70% 70% at 64% 50%, transparent 40%, rgba(8,11,9,.55) 100%); }
@media (max-width: 899px) {
  .ex-shade, .explore.zoomed .ex-shade { background: linear-gradient(0deg, rgba(8,11,9,.92) 0%, rgba(8,11,9,.55) 38%, rgba(8,11,9,0) 62%); }
}

/* area outlines drawn on the photo */
.ex-marks { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ex-marks rect { fill: rgba(224,180,100,.08); stroke: #f0c97e; stroke-width: calc(.18px / var(--z, 1)); vector-effect: non-scaling-stroke; stroke-width: 1.5; stroke-dasharray: 6 4; opacity: 0; transition: opacity .5s ease; }
.ex-marks rect.on { opacity: 1; animation: march 1.2s linear infinite; }
@keyframes march { to { stroke-dashoffset: -20; } }

/* hotspots */
.ex-dot { position: absolute; width: 0; height: 0; border: 0; padding: 0; background: none; cursor: pointer; transform: scale(calc(1 / var(--z, 1))); }
.ex-dot::before { content: ""; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: #f0c97e; box-shadow: 0 0 0 4px rgba(240,201,126,.3), 0 0 18px rgba(240,201,126,.8); }
.ex-dot::after { content: ""; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #f0c97e; animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.ex-dot span { position: absolute; left: 16px; top: -13px; white-space: nowrap; font: 600 .78rem var(--f-body); color: #fff; background: rgba(10,13,11,.75); padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; pointer-events: none; }
.ex-dot:hover span, .ex-dot:focus-visible span, .explore:not(.zoomed) .ex-dot span { opacity: 1; }
.explore.zoomed .ex-dot:not(.on) { opacity: .45; }
.ex-dot:focus-visible { outline: none; }
.ex-dot:focus-visible::before { box-shadow: 0 0 0 3px #fff; }

/* HUD + progress */
.ex-hud { position: absolute; top: 16px; left: var(--gutter-l); right: var(--gutter-r); display: flex; align-items: center; gap: 10px; font-size: .66rem; letter-spacing: .18em; color: rgba(255,255,255,.75); pointer-events: none; }
.ex-rec { width: 7px; height: 7px; border-radius: 50%; background: #e2564a; box-shadow: 0 0 10px #e2564a; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.ex-count { margin-left: auto; }
.ex-count b { color: #f0c97e; font-weight: 500; }
.ex-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.1); }
.ex-progress i { display: block; height: 100%; background: #f0c97e; transform-origin: 0 50%; transform: scaleX(0); }

/* text panels */
.ex-panel { position: absolute; left: var(--gutter-l); right: var(--gutter-r); bottom: 28px; display: grid; gap: 12px; max-width: 540px; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.ex-panel.on { opacity: 1; transform: none; pointer-events: auto; }
.ex-panel h1 { font-size: clamp(2.9rem, 8.6vw, 7rem); line-height: .92; }
.ex-panel h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); }
.ex-panel p:not(.kicker) { color: rgba(255,255,255,.85); max-width: 44ch; }
.ex-panel .kicker { color: #f0c97e; text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.ex-sub { font-size: clamp(1rem, 1.5vw, 1.18rem); }
.ex-panel .ch-link { color: #f0c97e; }
@media (min-width: 900px) {
  .ex-panel { top: 0; bottom: 0; align-content: center; right: auto; width: min(540px, 40vw); }
  .ex-panel[data-stop="0"], .ex-panel.ex-final { width: min(720px, 56vw); }
}
@media (prefers-reduced-motion: reduce) { .ex-dot::after, .ex-rec, .ex-marks rect.on { animation: none; } }

/* ---------- v5 shared: photo heroes, pinned services, gallery, lightbox, story ---------- */
.page-hero.has-photo { min-height: min(62svh, 620px); display: flex; align-items: flex-end; border-bottom: 0; }
.page-hero.has-photo::after { display: none; }
.page-hero.has-photo .wrap { position: relative; z-index: 1; }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.page-hero.has-photo .lede { color: rgba(255,255,255,.86); }
.page-hero.has-photo .kicker { color: #f0c97e; }

.hs { position: relative; border-top: 1px solid var(--line); }
.hs-stage { padding-block: clamp(56px, 8vw, 96px) 40px; overflow: hidden; }
.hs-head { display: grid; gap: 14px; margin-bottom: 28px; }
.hs-track { display: flex; gap: 16px; padding-inline: max(16px, env(safe-area-inset-left, 0px)) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hs-track::-webkit-scrollbar { display: none; }
.hs-card { position: relative; flex: none; width: 82vw; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; text-decoration: none; scroll-snap-align: start; background: var(--slab); }
.hs-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hs-card:hover img { transform: scale(1.05); }
.hs-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,11,9,.9) 0%, rgba(8,11,9,.2) 50%, rgba(8,11,9,0) 70%); }
.hs-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 24px; display: grid; gap: 8px; }
.hs-text .mono { color: #f0c97e; font-size: .78rem; letter-spacing: .14em; }
.hs-text h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.hs-text p { color: rgba(255,255,255,.82); max-width: 40ch; }
.hs-text .more { font-weight: 600; }
.hs-bar { height: 2px; background: var(--line); margin: 28px max(16px, env(safe-area-inset-left, 0px)) 0; display: none; }
.hs-bar i { display: block; height: 100%; background: var(--brass); transform-origin: 0 50%; transform: scaleX(0); }
@media (min-width: 760px) and (prefers-reduced-motion: no-preference) {
  .hs-stage { position: sticky; top: calc(64px + env(safe-area-inset-top, 0px)); height: calc(100svh - 64px); display: flex; flex-direction: column; justify-content: center; padding-block: 24px; }
  .hs-track { overflow: visible; padding-inline: max(32px, calc((100vw - var(--max)) / 2 + 32px)) 32px; will-change: transform; }
  .hs-card { width: min(46vw, 620px); aspect-ratio: auto; height: min(62svh, 620px); }
  .hs-bar { display: block; margin-inline: max(32px, calc((100vw - var(--max)) / 2 + 32px)); }
}

.gal-sec { padding-block: clamp(72px, 10vw, 130px); border-top: 1px solid var(--line); }
.gal { columns: 2 220px; column-gap: 12px; }
@media (min-width: 1040px) { .gal { columns: 3; } }
.gal-item { all: unset; box-sizing: border-box; display: block; width: 100%; margin-bottom: 12px; position: relative; border-radius: 8px; overflow: hidden; cursor: zoom-in; break-inside: avoid; background: var(--slab); }
.gal-item img { width: 100%; height: auto; display: block; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.gal-item:hover img { transform: scale(1.04); }
.gal-item span { position: absolute; left: 10px; bottom: 10px; font: 600 .8rem var(--f-body); background: rgba(10,13,11,.75); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gal-item:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.gal-item[hidden] { display: none; }

.lb { position: fixed; inset: 0; z-index: 100; background: rgba(6,8,7,.94); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: calc(16px + env(safe-area-inset-top, 0px)) max(8px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); }
.lb figure { margin: 0; display: grid; gap: 12px; justify-items: center; min-width: 0; }
.lb img { max-width: 100%; max-height: 80svh; border-radius: 6px; object-fit: contain; }
.lb figcaption { font-size: .75rem; letter-spacing: .12em; color: rgba(255,255,255,.75); text-transform: uppercase; white-space: pre; }
.lb button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font-size: 1.6rem; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.14); }
.lb-x { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); }

.story { display: grid; gap: 0; }
.story-photos { display: none; }
.story-block { padding-block: clamp(48px, 8vw, 96px); border-bottom: 1px solid var(--line); display: grid; gap: 16px; align-content: start; scroll-margin-top: 130px; }
.story-block .chips { margin-top: 4px; }
.story-block .btn { justify-self: start; margin-top: 8px; }
.story-m { margin-bottom: 8px; }
.layers { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 0; counter-reset: l; border-left: 1px solid var(--line); }
.layers li { counter-increment: l; padding: 7px 0 7px 18px; position: relative; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.layers li::before { content: counter(l, decimal-leading-zero); color: var(--brass); margin-right: 12px; }
.layers li::after { content: ""; position: absolute; left: -4px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); transform: translateY(-50%); }
@media (min-width: 960px) {
  .story { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .story-photos { display: block; position: sticky; top: 140px; height: calc(100svh - 180px); border-radius: 12px; overflow: hidden; margin-block: 48px; background: var(--slab); }
  .story-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .7s ease, transform 1.4s cubic-bezier(.2,.7,.2,1); }
  .story-photos img.on { opacity: 1; transform: none; }
  .story-tag { position: absolute; left: 16px; bottom: 16px; font-size: .72rem; letter-spacing: .16em; background: rgba(10,13,11,.7); padding: 6px 10px; border-radius: 4px; color: #f0c97e; }
  .story-m { display: none; }
  .story-block { min-height: 80svh; align-content: center; }
}

.est-photo { margin: 0 0 6px; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--slab); }
.est-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Light theme (v6): light ground, dark text; photo areas keep light-on-dark ===== */
.site-header, .page-index .site-header { background: rgba(246,244,238,.88); }
.svc-nav { background: rgba(246,244,238,.92); }
.dock { background: rgba(246,244,238,.94); }
.kicker, .eyebrow.brass, .svc .tag, .svc-row-text .mono, .layer-card .eyebrow, .layers li::before,
.est-aside li::before, .city-list button[aria-pressed="true"]::after, .plain a:hover, .ch-link { color: var(--brass-deep); }
.map .water { fill: #dfe6e0; }
.map .shore { stroke: rgba(26,31,27,.3); }
.map .base-label { fill: rgba(26,31,27,.45); }
.form-card { background: #fff; box-shadow: 0 20px 60px -30px rgba(26,31,27,.35); border: 1px solid var(--line); }
.opt input:checked + span { background: var(--night); }
.after { background: var(--night); }
/* Dark scopes: anything sitting on a photo or the footer */
.explore, .hero-photo, .page-hero.has-photo, .cta-photo, .hs-card, .gal-item span, .pb-fig figcaption,
.story-tag, .lb, .site-footer, .ch-photo figcaption {
  --ink: #f3f1ea; --muted: rgba(243,241,234,.72); --line: rgba(243,241,234,.18); --slab: #1b211d; --night: #121613;
  color: var(--ink);
}
.page-hero.has-photo { background: #1a1f1b; }
.site-footer { background: #121613; }
.cta-photo .kicker, .page-hero.has-photo .kicker, .hero-content .kicker, .ex-panel .kicker, .ex-panel .ch-link { color: #f0c97e; }
.cta-photo .btn-glass, .hero-photo .btn-glass { --c: #f3f1ea; }
/* Mobile: keep the pinned photo tour above the bottom Call / Estimate dock */
.ex-stage { height: calc(100svh - 64px - env(safe-area-inset-top, 0px) - var(--dock-h)); }
@media (max-width: 759px) { .ex-panel { bottom: 18px; gap: 10px; } .ex-panel p:not(.kicker) { font-size: .95rem; line-height: 1.5; } }
@media (max-width: 759px) and (max-height: 700px) { .ex-panel[data-stop="0"] .kicker { display: none; } .ex-hud { white-space: nowrap; overflow: hidden; } }
/* Mobile estimate page: get to the form quickly */
@media (max-width: 979px) { .est { gap: 24px; padding-top: 28px; } .est-photo, .est-aside ul { display: none; } }

/* Trust: intro, stats, certified brands */
.trust { padding-block: clamp(64px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; gap: 36px; }
.trust-copy { display: grid; gap: 16px; }
.trust-copy h2 { max-width: 16ch; }
.stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 20px 10px 18px 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.stats div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.stats dt { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.stats dd { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 11vw, 5rem); line-height: .9; letter-spacing: -.03em; font-variation-settings: "wdth" 78; display: flex; align-items: flex-start; }
.stats dd i { font-style: normal; color: var(--brass); font-size: .55em; margin-left: 2px; margin-top: .08em; }
@media (min-width: 900px) {
  .trust-grid { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 64px; }
  .stats div { padding: 28px 16px 24px 0; } .stats div + div { padding-left: 24px; }
}
.certified { margin-top: clamp(48px, 7vw, 80px); display: grid; gap: 18px; }
.brand-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.brand-row li { background: var(--night); min-height: 76px; display: grid; place-items: center; padding: 12px; text-align: center; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; font-variation-settings: "wdth" 85; color: var(--ink); }
.brand-row li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 640px) { .brand-row { grid-template-columns: repeat(4, 1fr); } .brand-row li:last-child:nth-child(odd) { grid-column: span 2; } }
@media (min-width: 1000px) { .brand-row { grid-template-columns: repeat(7, 1fr); } .brand-row li:last-child:nth-child(odd) { grid-column: auto; } .brand-row li { min-height: 96px; font-size: 1.2rem; } }
