/* ==========================================================================
   RTC Renovations - design system
   Palette and motion language derived from RTC's own photography:
   plaster walls, white oak, brass, charcoal-blue millwork.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-opsz-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-opsz-italic.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Hanken";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/hanken-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Hanken";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/hanken-italic.woff2") format("woff2-variations");
}

/* ---------- Tokens ---------- */
:root {
  --plaster: #f6f4f0;
  --linen: #ece8e1;
  --linen-deep: #e1dbd1;
  --oak: #c79c6e;
  --oak-soft: #e3cdb3;
  --brass: #8f7046;
  --slate: #2f353c;
  --slate-deep: #262b31;
  --graphite: #1c1f23;
  --ink: #1c1f23;
  --ink-2: #5a5f66;
  --ink-3: #8a8f96;
  --line: rgba(28, 31, 35, 0.14);
  --line-strong: rgba(28, 31, 35, 0.3);
  --on-dark: #f3efe8;
  --on-dark-2: rgba(243, 239, 232, 0.66);
  --on-dark-line: rgba(243, 239, 232, 0.16);
  --error: #a3442f;
  --success: #3c6b4d;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken", "Helvetica Neue", Arial, system-ui, sans-serif;

  --fs-hero: clamp(2.9rem, 7vw, 7.2rem);
  --fs-d2: clamp(2.25rem, 4.7vw, 4.9rem);
  --fs-d3: clamp(1.75rem, 2.9vw, 2.9rem);
  --fs-d4: clamp(1.375rem, 1.9vw, 1.75rem);
  --fs-lead: clamp(1.125rem, 1.35vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section: clamp(5rem, 11vw, 10.5rem);
  --section-sm: clamp(3.5rem, 7vw, 6.5rem);
  --max: 1680px;
  --radius: 4px;
  --radius-lg: 10px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.9s;

  --nav-h: 84px;
  color-scheme: light;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--plaster);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--plaster);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: clip;
}
body.menu-open,
body.lightbox-open { overflow: hidden; }
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
address { font-style: normal; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--oak-soft); color: var(--graphite); }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--slate);
  color: var(--on-dark);
  border-radius: var(--radius);
  transform: translateY(-200%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

/* ---------- Typography ---------- */
.serif, h1, h2, h3, .display { font-family: var(--serif); font-optical-sizing: auto; }
h1, h2, h3 { font-weight: 360; letter-spacing: -0.015em; line-height: 1.02; text-wrap: balance; }
.display-1 { font-size: var(--fs-hero); font-weight: 320; letter-spacing: -0.028em; line-height: 0.96; }
.display-2 { font-size: var(--fs-d2); font-weight: 340; letter-spacing: -0.022em; line-height: 1; }
.display-3 { font-size: var(--fs-d3); font-weight: 380; letter-spacing: -0.012em; line-height: 1.1; }
.display-4 { font-size: var(--fs-d4); font-weight: 420; letter-spacing: -0.005em; line-height: 1.2; }
.display-1 em, .display-2 em, .display-3 em, .quote em { font-style: italic; font-weight: 300; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); font-weight: 380; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.measure { max-width: 62ch; }
.measure-sm { max-width: 46ch; }
.measure-xs { max-width: 34ch; }
.note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--ink-2);
  letter-spacing: 0;
}
.num { font-family: var(--serif); font-variant-numeric: lining-nums tabular-nums; }
p + p { margin-top: 1em; }
.rich p { max-width: 66ch; }
.rich p + p { margin-top: 1.1em; }
.rich h3 { margin: 2.2em 0 0.7em; font-size: var(--fs-d4); }
.rich ul { margin: 1.2em 0; max-width: 66ch; }
.rich li { padding: 0.45em 0 0.45em 1.4em; position: relative; border-top: 1px solid var(--line); }
.rich li:last-child { border-bottom: 1px solid var(--line); }
.rich li::before {
  content: "";
  position: absolute; left: 0; top: 1.05em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--oak);
}
.rich a, .link-inline { text-decoration: underline; text-decoration-color: var(--oak); text-underline-offset: 0.18em; text-decoration-thickness: 1px; transition: text-decoration-color 0.25s; }
.rich a:hover, .link-inline:hover { text-decoration-color: var(--graphite); }
.rich a.btn { text-decoration: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 1180px; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); row-gap: 2.5rem; }
.section { padding-block: var(--section); position: relative; }
.section-sm { padding-block: var(--section-sm); }
.section-flush-top { padding-top: 0; }
.band-linen { background: var(--linen); }
.band-slate { background: var(--slate); color: var(--on-dark); }
.band-slate .muted, .band-slate .note { color: var(--on-dark-2); }
.band-slate .rich li, .band-slate .rich li:last-child { border-color: var(--on-dark-line); }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.band-slate .hr { background: var(--on-dark-line); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 1.5rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head > h2 { grid-column: 1 / span 8; }
.section-head > .section-aside { grid-column: 9 / span 4; }
.section-head > .section-aside p { max-width: 36ch; }
@media (max-width: 900px) {
  .section-head > h2, .section-head > .section-aside { grid-column: 1 / -1; }
}

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--slate);
  --btn-fg: var(--on-dark);
  --btn-hover: var(--graphite);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 1.6rem;
  font-size: var(--fs-sm);
  font-weight: 540;
  letter-spacing: 0.005em;
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--btn-hover);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:active { transform: scale(0.985); }
.btn .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--oak);
  transition: transform 0.4s var(--ease-out);
}
.btn:hover .dot { transform: scale(1.5); }
.btn-oak { --btn-bg: var(--oak); --btn-fg: var(--graphite); --btn-hover: #d4ad82; }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-hover: var(--slate);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--on-dark); }
.band-slate .btn-ghost { --btn-fg: var(--on-dark); --btn-hover: var(--on-dark); box-shadow: inset 0 0 0 1px var(--on-dark-line); }
.band-slate .btn-ghost:hover { color: var(--graphite); }
.btn-light { --btn-bg: var(--on-dark); --btn-fg: var(--graphite); --btn-hover: #fff; }
.btn-lg { padding: 1.25rem 2rem; font-size: 1rem; }
.btn[disabled], .btn.is-busy { opacity: 0.6; pointer-events: none; }

.link {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  font-weight: 520;
  font-size: var(--fs-sm);
}
.link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.link:hover::after { transform: scaleX(0); transform-origin: right; animation: linkDraw 0.7s var(--ease-out) forwards; }
@keyframes linkDraw {
  0% { transform: scaleX(0); transform-origin: right; }
  50% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1rem; align-items: center; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: transform 0.55s var(--ease-out), background 0.4s, box-shadow 0.4s;
}
.header::before {
  content: "";
  position: absolute; inset: 0;
  background: color-mix(in srgb, var(--plaster) 86%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.header.is-solid::before { opacity: 1; }
.header.is-solid { box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
body.menu-open .header { transform: none; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; max-width: none; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; height: 56px; }
.brand img { height: 50px; width: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-word { font-family: var(--serif); font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1; }
.brand-word small { display: block; font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; }
.band-slate .brand-word small { color: var(--on-dark-2); }
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
.nav a { font-size: var(--fs-sm); font-weight: 500; position: relative; padding: 0.4rem 0; }
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: flex; align-items: center; gap: 1.25rem; }
.header-phone { font-size: var(--fs-sm); font-weight: 520; font-variant-numeric: tabular-nums; }
.menu-btn {
  display: none;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  font-weight: 540;
  padding: 0.5rem 0;
}
.menu-btn .bars { width: 26px; height: 12px; position: relative; }
.menu-btn .bars i {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out), opacity 0.3s;
}
.menu-btn .bars i:nth-child(1) { top: 0; }
.menu-btn .bars i:nth-child(2) { top: 10px; }
body.menu-open .menu-btn .bars i:nth-child(1) { top: 5px; transform: rotate(45deg); }
body.menu-open .menu-btn .bars i:nth-child(2) { top: 5px; transform: rotate(-45deg); }
@media (max-width: 1100px) {
  .nav, .header-phone { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  .header-cta .btn { display: none; }
  .brand img { height: 38px; }
}

/* Full-screen menu */
.menu {
  position: fixed; inset: 0;
  z-index: 190;
  background: var(--slate);
  color: var(--on-dark);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-in-out);
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-inner { padding: calc(var(--nav-h) + 3vh) var(--gutter) 4vh; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu-primary li { overflow: hidden; }
.menu-primary a {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  font-weight: 320;
  letter-spacing: -0.02em;
  line-height: 1.12;
  padding: 0.05em 0;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out), color 0.3s;
}
.menu.is-open .menu-primary a { transform: none; }
.menu-primary a:hover { color: var(--oak); }
.menu-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; opacity: 0; transition: opacity 0.6s 0.5s; }
.menu.is-open .menu-secondary { opacity: 1; }
.menu-secondary h4 { font-family: var(--sans); font-size: var(--fs-xs); font-weight: 500; color: var(--on-dark-2); margin-bottom: 0.75rem; }
.menu-secondary li { padding: 0.28rem 0; font-size: var(--fs-sm); }
.menu-secondary a:hover { color: var(--oak); }
.menu-media { position: relative; overflow: hidden; }
.menu-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.4s var(--ease-out); }
.menu.is-open .menu-media img { transform: none; }
.menu-media figcaption { position: absolute; left: 1.5rem; bottom: 1.5rem; font-size: var(--fs-xs); color: var(--on-dark-2); }
.menu-contact { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; font-size: var(--fs-sm); color: var(--on-dark-2); opacity: 0; transition: opacity 0.6s 0.6s; }
.menu.is-open .menu-contact { opacity: 1; }
.menu-contact a { color: var(--on-dark); }
@media (max-width: 900px) {
  .menu { grid-template-columns: 1fr; }
  .menu-media { display: none; }
  .menu-primary a { font-size: clamp(2rem, 9vw, 3.2rem); }
}

/* ---------- Transition curtain & preloader ---------- */
.curtain {
  position: fixed; inset: 0;
  z-index: 900;
  background: var(--plaster);
  transform-origin: top;
  pointer-events: none;
  display: none;
}
html.js .curtain { display: block; }
html.js.motion-ready .curtain { transition: transform 0.9s var(--ease-in-out); }
html.js.motion-ready .curtain.is-up { transform: scaleY(0); }
html.js.motion-ready .curtain.is-leaving { transform-origin: bottom; transform: scaleY(1); }
.loader {
  position: fixed; inset: 0;
  z-index: 910;
  display: none;
  place-items: center;
  background: var(--slate);
  color: var(--on-dark);
  pointer-events: none;
  overflow: hidden;
}
html.js .loader.is-active { display: grid; }
.loader.is-done { transition: clip-path 1s var(--ease-in-out); clip-path: inset(0 0 100% 0); }
/* drafting sheet: fine grid with a heavier line every fifth square */
.loader-grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgba(243, 239, 232, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 239, 232, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(243, 239, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 239, 232, 0.035) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: center center;
  opacity: 0;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
}
.loader .crop { position: absolute; width: 22px; height: 22px; border-color: var(--oak); border-style: solid; border-width: 0; opacity: 0; }
.loader .crop-tl { top: 28px; left: 28px; border-top-width: 1px; border-left-width: 1px; }
.loader .crop-tr { top: 28px; right: 28px; border-top-width: 1px; border-right-width: 1px; }
.loader .crop-bl { bottom: 28px; left: 28px; border-bottom-width: 1px; border-left-width: 1px; }
.loader .crop-br { bottom: 28px; right: 28px; border-bottom-width: 1px; border-right-width: 1px; }
.loader-inner { position: relative; width: min(78vw, 540px); }
.loader-logo { display: block; width: 100%; height: auto; overflow: visible; }
.ldr-mark-fill path, .ldr-robert, .ldr-contracting { fill: var(--on-dark); }
.ldr-thompson, .ldr-rule { fill: #9ba0a7; }
.ldr-circle { fill: none; stroke: var(--oak); stroke-width: 2.6; stroke-dasharray: 1 1; stroke-dashoffset: 1; transform-box: fill-box; transform-origin: center; transform: rotate(-90deg); }
.ldr-cross { stroke: rgba(199, 156, 110, 0.5); stroke-width: 1.4; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.ldr-wipe, .ldr-mark-fill, .ldr-rule { transform-box: fill-box; }
.ldr-wipe { transform-origin: left center; }
.ldr-mark-fill { transform-origin: center; }
.ldr-rule { transform-origin: left center; }
.loader-tape { position: relative; margin-top: clamp(1.75rem, 4vw, 2.75rem); height: 26px; border-top: 1px solid rgba(243, 239, 232, 0.28); }
.tape-ticks {
  position: absolute; inset: 0; display: flex; justify-content: space-between;
  background-image:
    repeating-linear-gradient(90deg, rgba(243, 239, 232, 0.32) 0 1px, transparent 1px 100%),
    repeating-linear-gradient(90deg, rgba(243, 239, 232, 0.2) 0 1px, transparent 1px 100%);
  background-size: 12.5% 12px, 3.125% 6px;
  background-repeat: repeat-x;
}
.tape-ticks span { position: relative; width: 0; }
.tape-ticks b { position: absolute; top: 12px; left: 0; transform: translateX(-50%); font-family: var(--serif); font-weight: 400; font-size: 10px; color: rgba(243, 239, 232, 0.45); font-variant-numeric: tabular-nums; }
.tape-ticks span:first-child b { transform: none; }
.tape-ticks span:last-child b { transform: translateX(-100%); }
.tape-fill { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--oak); transform: scaleX(0); transform-origin: left; }
.loader-meta { display: flex; justify-content: space-between; margin-top: 0.9rem; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(243, 239, 232, 0.55); opacity: 0; }

/* choreography (about 2 seconds); JS lifts the sheet when the tape is full */
html.js .loader.is-active .loader-grid { animation: ldrFade 0.9s var(--ease-out) forwards; }
html.js .loader.is-active .crop { animation: ldrCrop 0.7s var(--ease-out) 0.15s forwards; }
html.js .loader.is-active .ldr-cross { animation: ldrDraw 0.6s cubic-bezier(.6,0,.3,1) 0.05s forwards; }
html.js .loader.is-active .ldr-circle { animation: ldrDraw 0.9s cubic-bezier(.6,0,.3,1) 0.15s forwards; }
html.js .loader.is-active .ldr-construct { animation: ldrFadeOut 0.5s ease 1.25s forwards; }
html.js .loader.is-active .ldr-mark-fill { animation: ldrInk 0.75s cubic-bezier(.3,0,.2,1) 0.9s both; }
html.js .loader.is-active .ldr-wipe { animation: ldrWipe 0.7s cubic-bezier(.7,0,.2,1) 1.1s both; }
html.js .loader.is-active .ldr-rule { animation: ldrSnap 0.6s cubic-bezier(.25,1.55,.45,1) 1.4s both; }
html.js .loader.is-active .ldr-contracting { animation: ldrUp 0.6s var(--ease-out) 1.55s both; }
html.js .loader.is-active .tape-fill { animation: ldrTape 2.2s cubic-bezier(.5,0,.3,1) 0.1s forwards; }
html.js .loader.is-active .loader-meta { animation: ldrFade 0.6s var(--ease-out) 1.6s forwards; }
html.js .loader.is-done .loader-inner { transition: transform 0.9s var(--ease-in-out), opacity 0.6s; transform: translateY(-4vh); opacity: 0; }
@keyframes ldrFade { to { opacity: 1; } }
@keyframes ldrFadeOut { to { opacity: 0; } }
@keyframes ldrCrop { from { opacity: 0; transform: scale(1.6); } to { opacity: 0.8; transform: none; } }
@keyframes ldrDraw { to { stroke-dashoffset: 0; } }
@keyframes ldrInk { from { opacity: 0; transform: scale(0.9); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes ldrWipe { from { transform: scaleX(0); } to { transform: none; } }
@keyframes ldrSnap { from { transform: scaleX(0); } to { transform: none; } }
@keyframes ldrUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ldrTape { to { transform: none; } }

/* ---------- Reveal primitives ---------- */
html.js .reveal-img > img, html.js .reveal-img > picture img { clip-path: inset(0 0 100% 0); transform: scale(1.14); }
html.js .reveal-img.is-in > img, html.js .reveal-img.is-in > picture img { clip-path: inset(0 0 0 0); transform: none; transition: clip-path 1.1s var(--ease-reveal), transform 1.5s var(--ease-reveal); }
html.js .reveal-img.from-left > img { clip-path: inset(0 100% 0 0); }
html.js .reveal-img.from-left.is-in > img { clip-path: inset(0 0 0 0); }
html.js .fade { opacity: 0; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
html.js .fade.is-in { opacity: 1; transform: none; }
html.js .fade-up { transform: translateY(14px); }
html.js [data-split] .line { display: block; overflow: hidden; padding: 0.1em 0 0.1em; margin: -0.1em 0 -0.1em; }
html.js [data-split] .line-inner { display: block; transform: translateY(112%); transition: transform 1.1s var(--ease-reveal); }
html.js [data-split].is-in .line-inner { transform: none; }
html.js [data-split].is-in .line:nth-child(2) .line-inner { transition-delay: 0.08s; }
html.js [data-split].is-in .line:nth-child(3) .line-inner { transition-delay: 0.16s; }
html.js [data-split].is-in .line:nth-child(4) .line-inner { transition-delay: 0.24s; }
html.js [data-split].is-in .line:nth-child(5) .line-inner { transition-delay: 0.32s; }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Media frames ---------- */
.frame { position: relative; overflow: hidden; background: var(--linen); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.r-4x3 { aspect-ratio: 4 / 3; }
.frame.r-3x4 { aspect-ratio: 3 / 4; }
.frame.r-16x9 { aspect-ratio: 16 / 9; }
.frame.r-1x1 { aspect-ratio: 1 / 1; }
.frame.r-5x4 { aspect-ratio: 5 / 4; }
.frame.r-4x5 { aspect-ratio: 4 / 5; }
.frame.r-21x9 { aspect-ratio: 21 / 9; }
.frame.r-3x2 { aspect-ratio: 3 / 2; }
.frame .parallax { height: 118%; width: 100%; object-fit: cover; will-change: transform; }
figcaption.cap { margin-top: 0.75rem; font-size: var(--fs-xs); color: var(--ink-2); display: flex; justify-content: space-between; gap: 1rem; }
.band-slate figcaption.cap { color: var(--on-dark-2); }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding-top: var(--nav-h);
}
.hero-media {
  grid-column: 6 / -1;
  grid-row: 1;
  position: relative;
  min-height: 70svh;
  overflow: hidden;
}
.hero-media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 30% 50%; }
.hero-copy {
  grid-column: 1 / span 8;
  grid-row: 1;
  align-self: end;
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 6vw, 5rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
  pointer-events: none;
}
.hero-copy > * { pointer-events: auto; }
.hero h1 { max-width: 11.5ch; }
.hero h1 .h1-tail {
  display: block;
  font-style: italic;
  font-weight: 300;
  font-size: 0.3em;
  letter-spacing: -0.005em;
  margin-top: 0.7em;
  color: var(--ink-2);
  max-width: 34ch;
  line-height: 1.25;
}
.hero-sub { margin-top: 1.6rem; max-width: 44ch; font-size: var(--fs-lead); color: var(--ink); }
.hero .actions { margin-top: 2rem; }
.hero-meta {
  position: absolute;
  left: var(--gutter);
  bottom: 1.4rem;
  display: flex;
  gap: 2rem;
  font-size: var(--fs-xs);
  color: var(--ink-2);
  z-index: 2;
}
.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 1.4rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-xs);
  color: var(--on-dark);
  mix-blend-mode: difference;
}
.hero-scroll i { width: 48px; height: 1px; background: currentColor; position: relative; overflow: hidden; display: block; }
.hero-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--oak); transform: translateX(-100%); animation: scrollHint 2.4s var(--ease-in-out) infinite; }
@keyframes scrollHint { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }
/* hero load choreography */
html.js .hero-media { clip-path: inset(0 0 100% 0); }
html.js .hero-media img { transform: scale(1.12); }
html.js.hero-in .hero-media { clip-path: inset(0 0 0 0); transition: clip-path 1.5s var(--ease-reveal) 0.1s; }
html.js.hero-in .hero-media img { transform: none; transition: transform 2.2s var(--ease-reveal) 0.1s; }
html.js .hero-sub, html.js .hero .actions, html.js .hero-meta, html.js .hero-scroll { opacity: 0; transition: opacity 1s var(--ease-out); }
html.js.hero-in .hero-sub { opacity: 1; transition-delay: 0.7s; }
html.js.hero-in .hero .actions { opacity: 1; transition-delay: 0.85s; }
html.js.hero-in .hero-meta, html.js.hero-in .hero-scroll { opacity: 1; transition-delay: 1.2s; }
@media (max-width: 1100px) {
  .hero h1 { max-width: 12ch; }
  .hero-media { grid-column: 5 / -1; }
}
@media (max-width: 820px) {
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { order: 1; padding: clamp(2rem, 7vw, 3rem) var(--gutter) 2rem; }
  .hero-media { order: 2; min-height: 0; aspect-ratio: 4 / 5; margin-right: 0; margin-inline: var(--gutter); max-height: 68svh; }
  .hero-media img { object-position: 40% 50%; }
  .hero-meta { position: static; order: 3; padding: 1rem var(--gutter) 0; }
  .hero-scroll { display: none; }
  .hero h1 .h1-tail { font-size: 0.42em; }
}

/* ---------- Statement / intro ---------- */
.statement { padding-block: var(--section); }
.statement .grid { align-items: start; }
.statement-text { grid-column: 1 / span 7; }
.statement-media { grid-column: 9 / span 4; margin-top: clamp(0px, 8vw, 7rem); }
.statement-facts { grid-column: 1 / span 7; margin-top: 2rem; display: grid; grid-template-columns: repeat(3, auto); gap: 2rem 3rem; justify-content: start; }
.fact { border-top: 1px solid var(--line); padding-top: 1rem; min-width: 7rem; }
.fact b { display: block; font-family: var(--serif); font-weight: 340; font-size: clamp(2rem, 3.3vw, 3.2rem); letter-spacing: -0.02em; line-height: 1; }
.fact span { display: block; margin-top: 0.4rem; font-size: var(--fs-sm); color: var(--ink-2); max-width: 14ch; line-height: 1.35; }
@media (max-width: 900px) {
  .statement-text, .statement-media, .statement-facts { grid-column: 1 / -1; }
  .statement-media { max-width: 420px; margin-top: 0; }
  .statement-facts { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
}

/* ---------- Services index ---------- */
.svc-index { padding-block: var(--section); }
.svc-index .grid { align-items: start; }
.svc-head { grid-column: 1 / -1; margin-bottom: 1rem; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 1rem; align-items: end; }
.svc-head h2 { grid-column: 1 / span 7; }
.svc-head p { grid-column: 8 / span 5; max-width: 40ch; color: var(--ink-2); }
.svc-list { grid-column: 1 / span 7; border-top: 1px solid var(--line); }
.svc-item { border-bottom: 1px solid var(--line); }
.svc-item a {
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  align-items: baseline;
  gap: 1.5rem;
  padding: clamp(1.1rem, 2vw, 1.7rem) 0;
  transition: padding 0.5s var(--ease-out);
}
.svc-item a:hover, .svc-item.is-active a { padding-left: 0.5rem; }
.svc-item .idx { font-family: var(--serif); font-size: var(--fs-sm); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.svc-item .ttl { font-family: var(--serif); font-size: var(--fs-d3); font-weight: 360; letter-spacing: -0.012em; line-height: 1.05; transition: color 0.3s; }
.svc-item.is-active .ttl, .svc-item a:hover .ttl { color: var(--brass); }
.svc-item .sub { display: block; margin-top: 0.4rem; font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-2); max-width: 44ch; }
.svc-item .go { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; align-self: center; transition: background 0.35s, border-color 0.35s; }
.svc-item .go svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; transition: transform 0.4s var(--ease-out); }
.svc-item a:hover .go, .svc-item.is-active .go { background: var(--slate); border-color: var(--slate); color: var(--on-dark); }
.svc-item a:hover .go svg { transform: translate(2px, -2px); }
.svc-media {
  grid-column: 8 / span 5;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--linen);
  border-radius: var(--radius);
}
.svc-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  clip-path: inset(100% 0 0 0);
  transform: scale(1.08);
  transition: clip-path 0.9s var(--ease-reveal), transform 1.3s var(--ease-reveal);
}
.svc-media img.is-active { clip-path: inset(0 0 0 0); transform: none; z-index: 1; }
.svc-media img.was-active { clip-path: inset(0 0 0 0); transform: scale(1.02); transition: none; }
.svc-media figcaption { position: absolute; left: 1.2rem; bottom: 1.1rem; z-index: 2; font-size: var(--fs-xs); color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
.svc-item .svc-mobile { display: none; }
@media (max-width: 900px) {
  .svc-head h2, .svc-head p { grid-column: 1 / -1; }
  .svc-list { grid-column: 1 / -1; }
  .svc-media { display: none; }
  .svc-item a { grid-template-columns: 1fr auto; }
  .svc-item .idx { display: none; }
  .svc-item .svc-mobile { display: block; margin-top: 1rem; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); grid-column: 1 / -1; }
  .svc-item .svc-mobile img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- Projects rail ---------- */
.rail { padding-block: var(--section) 0; overflow: hidden; }
.rail-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.rail-stage { position: relative; }
.rail-track {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  padding-inline: var(--gutter);
  will-change: transform;
}
.rail-item { flex: 0 0 auto; width: min(68vw, 760px); }
.rail-item.tall { width: min(42vw, 480px); }
.rail-item .frame { aspect-ratio: 3 / 2; border-radius: var(--radius); }
.rail-item.tall .frame { aspect-ratio: 4 / 5; }
.rail-item .frame img { transition: transform 1.2s var(--ease-out); }
.rail-item:hover .frame img { transform: scale(1.04); }
.rail-caption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.9rem; font-size: var(--fs-sm); }
.rail-caption b { font-weight: 540; }
.rail-caption span { color: var(--ink-2); }
.rail-end { flex: 0 0 auto; width: min(40vw, 420px); display: grid; place-items: center; }
.rail-end a { text-align: center; }
.rail-end .big { display: block; font-family: var(--serif); font-size: var(--fs-d3); font-weight: 340; letter-spacing: -0.01em; margin-bottom: 1rem; }
.rail-progress { height: 1px; background: var(--line); margin: 2.5rem var(--gutter) 0; position: relative; }
.rail-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--graphite); transform-origin: left; }
@media (max-width: 1023px) {
  .rail-stage { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .rail-stage::-webkit-scrollbar { display: none; }
  .rail-item, .rail-end { scroll-snap-align: start; }
  .rail-item { width: 78vw; }
  .rail-item.tall { width: 64vw; }
  .rail-progress { display: none; }
}

/* ---------- Process (home teaser) ---------- */
.process-teaser { padding-block: var(--section); }
.process-strip { margin-top: clamp(2.5rem, 5vw, 4rem); position: relative; }
.process-strip .track { position: relative; height: 1px; background: var(--line); }
.process-strip .track i { position: absolute; inset: 0; background: var(--oak); transform: scaleX(0); transform-origin: left; }
.process-ticks { display: grid; grid-template-columns: repeat(9, 1fr); margin-top: -5px; }
.process-ticks li { position: relative; padding-top: 1.4rem; font-size: var(--fs-xs); color: var(--ink-2); }
.process-ticks li::before { content: ""; position: absolute; top: 0; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--plaster); border: 1px solid var(--line-strong); transition: background 0.4s, border-color 0.4s; }
.process-ticks li.is-on::before { background: var(--oak); border-color: var(--oak); }
.process-ticks li b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.05rem; color: var(--ink); margin-bottom: 0.15rem; }
.process-ticks li .cost { color: var(--brass); }
@media (max-width: 760px) {
  .process-ticks { grid-template-columns: repeat(3, 1fr); row-gap: 1.5rem; margin-top: 1rem; }
  .process-ticks li::before { display: none; }
  .process-ticks li { padding-top: 0; border-top: 1px solid var(--line); padding-top: 0.8rem; }
}

/* ---------- Testimonials ---------- */
.testi { padding-block: var(--section); }
.testi .grid { align-items: start; }
.testi-media { grid-column: 1 / span 4; }
.testi-body { grid-column: 6 / span 7; }
.quote { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.35rem); font-weight: 340; letter-spacing: -0.012em; line-height: 1.26; text-wrap: pretty; }
.quote::before { content: "\201C"; color: var(--oak); margin-left: -0.45em; }
.quote::after { content: "\201D"; color: var(--oak); }
.testi-slider { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform 0.9s var(--ease-in-out); }
.testi-slide { flex: 0 0 100%; padding-right: 2rem; transition: visibility 0s 0.9s; }
.testi-slide[aria-hidden="true"] { visibility: hidden; }
.testi-slide[aria-hidden="false"] { visibility: visible; transition-delay: 0s; }
.testi-who { margin-top: 1.75rem; display: flex; align-items: center; gap: 1rem; font-size: var(--fs-sm); }
.testi-who b { font-weight: 560; display: block; }
.testi-who span { color: var(--ink-2); }
.testi-nav { display: flex; align-items: center; gap: 1.25rem; margin-top: 2.5rem; }
.testi-nav .count { font-family: var(--serif); font-size: 1rem; color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 4ch; }
.circ-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background 0.35s, color 0.35s, border-color 0.35s; }
.circ-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.circ-btn:hover { background: var(--slate); border-color: var(--slate); color: var(--on-dark); }
.band-slate .circ-btn { border-color: var(--on-dark-line); }
.band-slate .circ-btn:hover { background: var(--on-dark); color: var(--graphite); }
@media (max-width: 900px) {
  .testi-media, .testi-body { grid-column: 1 / -1; }
  .testi-media { max-width: 360px; }
}

/* ---------- Service areas map ---------- */
.areas { padding-block: var(--section); }
.areas .grid { align-items: center; }
.areas-copy { grid-column: 1 / span 5; }
.areas-map { grid-column: 7 / span 6; }
.map-svg { width: 100%; height: auto; }
.map-svg .road { stroke: var(--on-dark-line); stroke-width: 1; fill: none; }
.map-svg .ring { fill: none; stroke: var(--oak); stroke-width: 1; opacity: 0.55; }
.map-svg .ring.pulse { transform-origin: center; transform-box: fill-box; animation: ringPulse 3.2s ease-out infinite; }
@keyframes ringPulse { 0% { transform: scale(0.6); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }
.map-svg .dot { fill: var(--oak); }
.map-svg .shop { fill: var(--on-dark); }
.map-svg text { font-family: var(--serif); font-size: 15px; fill: var(--on-dark); }
.map-svg text.sm { font-family: var(--sans); font-size: 11px; fill: var(--on-dark-2); }
.map-svg .city { cursor: pointer; }
.map-svg .city:hover text { fill: var(--oak); }
.area-links { margin-top: 2rem; border-top: 1px solid var(--on-dark-line); }
.area-links li { border-bottom: 1px solid var(--on-dark-line); }
.area-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.1rem 0; transition: padding-left 0.4s var(--ease-out); }
.area-links a:hover { padding-left: 0.5rem; color: var(--oak); }
.area-links .ttl { font-family: var(--serif); font-size: var(--fs-d4); font-weight: 380; }
.area-links .dist { font-size: var(--fs-xs); color: var(--on-dark-2); }
@media (max-width: 900px) {
  .areas-copy, .areas-map { grid-column: 1 / -1; }
}

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section); }
.faq .grid { align-items: start; }
.faq-head { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + 2rem); }
.faq-list { grid-column: 6 / span 7; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
  padding: 1.35rem 0;
  font-family: var(--serif);
  font-size: var(--fs-d4);
  font-weight: 380;
  letter-spacing: -0.005em;
  line-height: 1.25;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--brass); }
.faq-q .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform 0.5s var(--ease-out), background 0.35s, border-color 0.35s; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.4s var(--ease-out); }
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-q .plus { background: var(--slate); border-color: var(--slate); color: var(--on-dark); }
.faq-item.is-open .faq-q .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease-out); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { max-width: 60ch; color: var(--ink-2); padding-bottom: 1.5rem; }
.faq-a p + p { margin-top: -0.5rem; }
@media (max-width: 900px) {
  .faq-head { position: static; }
  .faq-head, .faq-list { grid-column: 1 / -1; }
}

/* ---------- CTA + quick form ---------- */
.cta { padding-block: var(--section); position: relative; overflow: hidden; }
.cta .grid { align-items: start; }
.cta-copy { grid-column: 1 / span 5; }
.cta-copy .lead { margin-top: 1.5rem; color: var(--on-dark-2); }
.cta-contact { margin-top: 2.5rem; display: grid; gap: 1.1rem; font-size: var(--fs-sm); color: var(--on-dark-2); }
.cta-contact a { color: var(--on-dark); font-size: 1.05rem; }
.cta-contact a:hover { color: var(--oak); }
.cta-contact b { display: block; font-weight: 480; margin-bottom: 0.15rem; font-size: var(--fs-xs); }
.cta-form { grid-column: 7 / span 6; }
.cta-media { grid-column: 1 / span 5; margin-top: 3rem; max-width: 420px; }
@media (max-width: 900px) {
  .cta-copy, .cta-form, .cta-media { grid-column: 1 / -1; }
  .cta-media { display: none; }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { position: relative; display: grid; gap: 0.5rem; }
.field label { font-size: var(--fs-xs); font-weight: 520; color: var(--on-dark-2); }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--on-dark-line);
  padding: 0.65rem 0;
  color: var(--on-dark);
  border-radius: 0;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23c79c6e' stroke-width='1.5'/></svg>"); background-repeat: no-repeat; background-position: right 0 center; padding-right: 1.5rem; }
.field select option { color: var(--graphite); }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--oak); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: rgba(243,239,232,0.35); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #d98a73; }
.field .err { display: none; font-size: var(--fs-xs); color: #e9a08a; }
.field.is-invalid .err { display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form-foot .fine { font-size: var(--fs-xs); color: var(--on-dark-2); max-width: 36ch; }
.form-msg { display: none; padding: 1rem 1.2rem; border-radius: var(--radius); font-size: var(--fs-sm); }
.form-msg.is-error { display: block; background: rgba(217, 138, 115, 0.14); color: #f0c9bc; }
.form-msg.is-success { display: block; background: rgba(199, 156, 110, 0.16); color: var(--on-dark); }
/* light form variant */
.form-light .field label { color: var(--ink-2); }
.form-light .field input, .form-light .field select, .form-light .field textarea { border-bottom-color: var(--line-strong); color: var(--ink); }
.form-light .field input::placeholder, .form-light .field textarea::placeholder { color: var(--ink-3); }
.form-light .form-foot .fine { color: var(--ink-2); }
.form-light .field .err { color: var(--error); }
.form-light .field.is-invalid input, .form-light .field.is-invalid select, .form-light .field.is-invalid textarea { border-color: var(--error); }
.form-light .form-msg.is-error { background: rgba(163, 68, 47, 0.08); color: var(--error); }
.form-light .form-msg.is-success { background: rgba(60, 107, 77, 0.1); color: var(--success); }
.honey { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* choice chips (contact wizard) */
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.75rem; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
  min-height: 3.6rem;
}
.choice span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; transition: background 0.3s, border-color 0.3s; }
.choice input:hover + span { border-color: var(--graphite); }
.choice input:checked + span { background: var(--slate); border-color: var(--slate); color: var(--on-dark); }
.choice input:checked + span::after { background: var(--oak); border-color: var(--oak); }
.choice input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }

/* ---------- Footer ---------- */
.footer { background: var(--graphite); color: var(--on-dark); padding: var(--section-sm) 0 2rem; }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--on-dark-line); }
.footer-brand { grid-column: 1 / span 3; }
.footer-brand .brand img { height: 56px; }
.footer-brand p { color: var(--on-dark-2); max-width: 30ch; margin-top: 1.2rem; font-size: var(--fs-sm); }
.footer-col { grid-column: span 2; }
.footer-col h4 { font-family: var(--sans); font-weight: 520; font-size: var(--fs-xs); color: var(--on-dark-2); margin-bottom: 1rem; }
.footer-col li { padding: 0.3rem 0; font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--oak); }
.footer-contact { grid-column: span 3; font-size: var(--fs-sm); }
.footer-contact a { display: inline-block; }
.footer-contact a:hover { color: var(--oak); }
.footer-contact p + p { margin-top: 0.75rem; }
.footer-contact .label { display: block; color: var(--on-dark-2); font-size: var(--fs-xs); margin-bottom: 0.1rem; }
.footer-big { font-family: var(--serif); font-weight: 300; letter-spacing: -0.03em; line-height: 0.9; font-size: clamp(3rem, 12.5vw, 13rem); color: var(--on-dark); opacity: 0.92; margin: 3rem 0 2rem; overflow: hidden; }
.footer-big span { display: inline-block; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--fs-xs); color: var(--on-dark-2); padding-top: 1.5rem; }
.footer-bottom a:hover { color: var(--oak); }
@media (max-width: 900px) {
  .footer-brand { grid-column: 1 / -1; }
  .footer-col { grid-column: span 6; }
  .footer-contact { grid-column: 1 / -1; }
}

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 150;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-cta a { display: grid; place-items: center; padding: 1rem; font-size: var(--fs-sm); font-weight: 560; background: var(--plaster); }
.sticky-cta a.primary { background: var(--slate); color: var(--on-dark); }
.sticky-cta.is-visible { transform: none; }
@media (max-width: 760px) { .sticky-cta { display: grid; } body { padding-bottom: 0; } }

/* ---------- Project drawer ---------- */
.drawer-overlay {
  position: fixed; inset: 0;
  z-index: 300;
  background: rgba(28, 31, 35, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  z-index: 310;
  width: min(640px, 100%);
  background: var(--plaster);
  color: var(--ink);
  transform: translateX(104%);
  transition: transform 0.75s var(--ease-in-out), visibility 0s 0.75s;
  visibility: hidden;
  display: flex; flex-direction: column;
  box-shadow: -24px 0 80px rgba(28, 31, 35, 0.18);
  overscroll-behavior: contain;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform 0.75s var(--ease-in-out); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem clamp(1.25rem, 4vw, 2.75rem); border-bottom: 1px solid var(--line); flex: none; }
.drawer-kicker { font-family: var(--serif); font-size: 1.1rem; }
.drawer-body { padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.75rem) 3rem; overflow-y: auto; flex: 1; }
.drawer .form { gap: 1.4rem; }
.drawer-success { display: none; }
.drawer.is-done .drawer-form { display: none; }
.drawer.is-done .drawer-success { display: block; }
.drawer-steps { margin: 2rem 0 1.5rem; border-top: 1px solid var(--line); }
.drawer-steps li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.1rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); counter-increment: dstep; }
.drawer-steps li::before { content: counter(dstep); font-family: var(--serif); color: var(--brass); grid-row: span 2; padding-top: 0.1rem; }
.drawer-steps li b { font-weight: 560; }
.drawer-steps li span { color: var(--ink-2); font-size: var(--fs-sm); }
.drawer-steps { counter-reset: dstep; }
body.drawer-open { overflow: hidden; }
html.js .drawer .form-msg.is-success { display: block; }
@media (max-width: 640px) {
  .drawer { width: 100%; }
}

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0;
  z-index: 950;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--oak);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), margin 0.4s var(--ease-out), opacity 0.3s, background 0.3s;
  display: grid; place-items: center;
  mix-blend-mode: normal;
}
.cursor span { font-size: 12px; font-weight: 560; color: var(--graphite); opacity: 0; transition: opacity 0.3s; white-space: nowrap; }
.cursor.is-visible { opacity: 1; }
.cursor.is-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--oak-soft); }
.cursor.is-label span { opacity: 1; }
.cursor.is-down { transform-origin: center; }
@media (hover: none), (pointer: coarse) { .cursor { display: none !important; } }
[data-cursor] { cursor: none; }
@media (hover: none) { [data-cursor] { cursor: auto; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; font-size: var(--fs-xs); color: var(--ink-2); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.crumbs a:hover { color: var(--brass); }
.crumbs li + li::before { content: "/"; margin-right: 0.75rem; color: var(--ink-3); }
.page-hero .grid { align-items: end; }
.page-hero h1 { grid-column: 1 / span 9; max-width: 15ch; font-size: clamp(2.6rem, 5.6vw, 6rem); }
.page-hero .page-intro { grid-column: 1 / span 6; }
.page-hero .page-intro p { max-width: 50ch; }
.page-hero .page-side { grid-column: 8 / span 5; }
.page-hero .actions { margin-top: 1.75rem; }
.page-hero-media { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.page-hero-media .frame { aspect-ratio: 21 / 10; border-radius: var(--radius); }
.page-hero-media.r-wide .frame { aspect-ratio: 2.4 / 1; }
.page-hero-media.r-split { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
.page-hero-media.r-split .frame { aspect-ratio: auto; height: 100%; min-height: 360px; }
.page-hero-media.r-split .frame:first-child { aspect-ratio: 3 / 2; }
@media (max-width: 900px) {
  .page-hero h1, .page-hero .page-intro, .page-hero .page-side { grid-column: 1 / -1; }
  .page-hero-media .frame, .page-hero-media.r-wide .frame { aspect-ratio: 4 / 3; }
  .page-hero-media.r-split { grid-template-columns: 1fr; }
  .page-hero-media.r-split .frame, .page-hero-media.r-split .frame:first-child { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .page-hero-media.r-split .frame:last-child { display: none; }
}

/* ---------- Two-column content blocks ---------- */
.two { padding-block: var(--section); }
.two .grid { align-items: start; }
.two-aside { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + 2rem); }
.two-aside h2 { max-width: 12ch; }
.two-aside p { margin-top: 1.25rem; color: var(--ink-2); max-width: 32ch; }
.two-main { grid-column: 6 / span 7; }
.two-main.wide { grid-column: 5 / span 8; }
@media (max-width: 900px) {
  .two-aside { position: static; }
  .two-aside, .two-main, .two-main.wide { grid-column: 1 / -1; }
}

/* scope list (service pages) */
.scope { border-top: 1px solid var(--line); }
.scope li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 1rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.scope h3 { font-size: var(--fs-d4); font-weight: 400; }
.scope p { color: var(--ink-2); font-size: var(--fs-sm); max-width: 48ch; }
@media (max-width: 640px) { .scope li { grid-template-columns: 1fr; gap: 0.4rem; } }

/* material strip */
.materials { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.materials figure .frame { aspect-ratio: 1 / 1; border-radius: var(--radius); }
.materials figcaption { margin-top: 0.6rem; font-size: var(--fs-xs); color: var(--ink-2); }
.materials figcaption b { display: block; color: var(--ink); font-weight: 540; font-size: var(--fs-sm); }

/* gallery mosaic */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.75rem, 1.5vw, 1.5rem); }
.mosaic figure { position: relative; }
.mosaic figure .frame { border-radius: var(--radius); }
.mosaic figure .frame img { transition: transform 1.2s var(--ease-out); }
.mosaic figure:hover .frame img { transform: scale(1.035); }
.mosaic .m-8 { grid-column: span 8; }
.mosaic .m-7 { grid-column: span 7; }
.mosaic .m-6 { grid-column: span 6; }
.mosaic .m-5 { grid-column: span 5; }
.mosaic .m-4 { grid-column: span 4; }
.mosaic .m-3 { grid-column: span 3; }
.mosaic .m-12 { grid-column: span 12; }
@media (max-width: 760px) {
  .mosaic .m-8, .mosaic .m-7, .mosaic .m-6, .mosaic .m-5, .mosaic .m-4, .mosaic .m-3 { grid-column: span 6; }
  .mosaic .m-12 { grid-column: span 12; }
}
@media (max-width: 480px) {
  .mosaic .m-7, .mosaic .m-8 { grid-column: span 12; }
}
.gallery-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.gallery-filter button { padding: 0.6rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--fs-xs); font-weight: 520; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.gallery-filter button:hover { border-color: var(--graphite); }
.gallery-filter button.is-active { background: var(--slate); border-color: var(--slate); color: var(--on-dark); }
.mosaic figure.is-hidden { display: none; }

/* local blocks (location pages) */
.local-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.local-list > div { background: var(--plaster); padding: 1.5rem 1.6rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0.5rem 2rem; }
.local-list h3 { font-size: var(--fs-d4); font-weight: 400; }
.local-list p { color: var(--ink-2); font-size: var(--fs-sm); max-width: 54ch; }
.local-list .nbhd { font-size: var(--fs-xs); color: var(--brass); margin-top: 0.5rem; }
@media (max-width: 640px) { .local-list > div { grid-template-columns: 1fr; } }

/* related services strip */
.svc-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.svc-strip a { display: block; }
.svc-strip .frame { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.svc-strip .frame img { transition: transform 1.1s var(--ease-out); }
.svc-strip a:hover .frame img { transform: scale(1.04); }
.svc-strip h3 { font-size: var(--fs-d4); font-weight: 400; margin-top: 0.9rem; }
.svc-strip p { color: var(--ink-2); font-size: var(--fs-sm); margin-top: 0.3rem; max-width: 34ch; }

/* ---------- Process page ---------- */
.steps { position: relative; }
.steps-line { position: absolute; left: calc(2.4rem + 11px); top: 0; bottom: 0; width: 1px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: var(--oak); transform: scaleY(0); transform-origin: top; }
.step { display: grid; grid-template-columns: 2.4rem 24px minmax(0, 1fr); gap: 0 clamp(1rem, 2vw, 2rem); padding: clamp(2rem, 4vw, 3.5rem) 0; position: relative; }
.step + .step { border-top: 1px solid var(--line); }
.step .n { font-family: var(--serif); font-size: var(--fs-sm); color: var(--ink-3); padding-top: 0.5rem; font-variant-numeric: tabular-nums; }
.step .dot { width: 23px; height: 23px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--plaster); position: relative; margin-top: 0.35rem; transition: border-color 0.4s; z-index: 1; }
.step .dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--oak); transform: scale(0); transition: transform 0.5s var(--ease-out); }
.step.is-on .dot { border-color: var(--oak); }
.step.is-on .dot::after { transform: scale(1); }
.step-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: start; }
.step h3 { font-size: var(--fs-d3); font-weight: 360; }
.step .cost { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem; font-size: var(--fs-xs); color: var(--brass); }
.step .cost::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--oak); }
.step .cost.paid { color: var(--ink-2); }
.step .cost.paid::before { background: var(--slate); }
.step p { color: var(--ink-2); max-width: 50ch; }
.step .frame { border-radius: var(--radius); aspect-ratio: 4 / 3; max-width: 320px; }
@media (max-width: 760px) {
  .step { grid-template-columns: 24px minmax(0, 1fr); }
  .step .n { display: none; }
  .steps-line { left: 11px; }
  .step-body { grid-template-columns: 1fr; }
  .step .frame { display: none; }
}
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid var(--line); margin-top: 1rem; }
.phases > div { padding-top: 1.25rem; }
.phases h3 { font-size: var(--fs-d4); font-weight: 400; }
.phases p { color: var(--ink-2); font-size: var(--fs-sm); margin-top: 0.5rem; }
.phases .range { font-family: var(--serif); color: var(--brass); font-size: var(--fs-sm); display: block; margin-bottom: 0.4rem; }
@media (max-width: 760px) { .phases { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.values > div { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.values h3 { font-size: var(--fs-d4); font-weight: 400; }
.values p { margin-top: 0.6rem; color: var(--ink-2); font-size: var(--fs-sm); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.founder { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: center; }
.founder .frame { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.founder .bio { font-family: var(--serif); font-size: var(--fs-d3); font-weight: 340; line-height: 1.22; letter-spacing: -0.01em; }
.founder .who { display: block; margin-bottom: 1.25rem; font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-2); }
.founder .who b { display: block; color: var(--ink); font-weight: 560; font-size: 1.05rem; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder .frame { max-width: 320px; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stats > div { border-top: 1px solid var(--on-dark-line); padding-top: 1.25rem; }
.stats b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 5vw, 4.8rem); letter-spacing: -0.03em; line-height: 1; }
.stats span { display: block; margin-top: 0.6rem; color: var(--on-dark-2); font-size: var(--fs-sm); max-width: 16ch; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.video-block { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--slate); }
.video-block video { width: 100%; height: 100%; object-fit: cover; }
.video-block .play { position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-dark); }
.video-block .play span { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.6); background: rgba(28,31,35,0.35); backdrop-filter: blur(6px); transition: transform 0.4s var(--ease-out), background 0.3s; }
.video-block .play:hover span { transform: scale(1.06); background: var(--oak); color: var(--graphite); }
.video-block .play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.video-block.is-playing .play { display: none; }
.video-block .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-block.is-playing .poster { display: none; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem 2rem; align-items: start; }
.contact-side { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + 2rem); }
.contact-main { grid-column: 6 / span 7; }
.contact-side .cta-contact { color: var(--ink-2); }
.contact-side .cta-contact a { color: var(--ink); }
.contact-side .cta-contact a:hover { color: var(--brass); }
@media (max-width: 900px) {
  .contact-side { position: static; }
  .contact-side, .contact-main { grid-column: 1 / -1; }
  .contact-main { order: -1; }
  .contact-side .frame { display: none; }
}
.wizard { position: relative; }
.wiz-progress { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; font-size: var(--fs-xs); color: var(--ink-2); }
.wiz-progress .bar { flex: 1; height: 1px; background: var(--line); position: relative; }
.wiz-progress .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--oak); width: 25%; transition: width 0.6s var(--ease-out); }
.wiz-progress .count { font-family: var(--serif); font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.wiz-step { display: none; }
.wiz-step.is-current { display: block; animation: wizIn 0.6s var(--ease-out); }
@keyframes wizIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wiz-step h2 { font-size: var(--fs-d3); margin-bottom: 0.6rem; }
.wiz-step .hint { color: var(--ink-2); margin-bottom: 1.75rem; max-width: 52ch; }
.wiz-step fieldset { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.wiz-step legend { font-size: var(--fs-sm); font-weight: 540; margin-bottom: 0.9rem; padding: 0; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.wiz-nav .fine { font-size: var(--fs-xs); color: var(--ink-2); }
.wiz-summary { display: grid; gap: 0.5rem; padding: 1.25rem 1.4rem; background: var(--linen); border-radius: var(--radius); font-size: var(--fs-sm); margin-bottom: 2rem; }
.wiz-summary div { display: flex; justify-content: space-between; gap: 1rem; }
.wiz-summary span { color: var(--ink-2); }
.wiz-summary b { font-weight: 540; text-align: right; }
.map-embed { margin-top: 3rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--linen); filter: grayscale(1) contrast(0.95); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Thank you / 404 ---------- */
.simple-page { min-height: 80svh; display: grid; align-items: center; padding-top: var(--nav-h); }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.next-steps > div { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.next-steps h3 { font-size: var(--fs-d4); font-weight: 400; }
.next-steps p { color: var(--ink-2); font-size: var(--fs-sm); margin-top: 0.5rem; }
@media (max-width: 760px) { .next-steps { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 800; background: rgba(28, 31, 35, 0.96); color: var(--on-dark); display: none; }
.lightbox.is-open { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem var(--gutter); font-size: var(--fs-sm); }
.lightbox-stage { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lightbox-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.lightbox-foot { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem var(--gutter); font-size: var(--fs-sm); color: var(--on-dark-2); }
.lightbox .circ-btn { border-color: var(--on-dark-line); color: var(--on-dark); }
.lightbox .circ-btn:hover { background: var(--on-dark); color: var(--graphite); }
.lightbox-nav { display: flex; gap: 0.75rem; }

/* ---------- Pull quote band ---------- */
.pull { padding-block: var(--section); }
.pull blockquote { font-family: var(--serif); font-size: clamp(1.75rem, 3.6vw, 3.5rem); font-weight: 320; letter-spacing: -0.02em; line-height: 1.12; max-width: 22ch; }
.pull cite { display: block; margin-top: 1.5rem; font-style: normal; font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-2); }
.band-slate .pull cite { color: var(--on-dark-2); }

/* ---------- Misc ---------- */
.eyebrow-num { font-family: var(--serif); color: var(--brass); font-size: 1rem; margin-bottom: 0.6rem; display: block; }
.tag { display: inline-block; padding: 0.35rem 0.7rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--fs-xs); font-weight: 520; }
.inline-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding: 1rem 0; }
.marquee-track { display: inline-flex; gap: 3rem; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: var(--fs-d4); font-weight: 340; color: var(--ink-2); }
.marquee-track span i { font-style: normal; color: var(--oak); margin-left: 3rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Data tables (permits, costs, comparisons) ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--plaster); margin: 1.75rem 0 0; }
.band-linen .table-wrap { background: var(--plaster); }
table.data { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 600px; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); }
table.data tbody tr:last-child th, table.data tbody tr:last-child td { border-bottom: 0; }
table.data thead th { font-family: var(--sans); font-size: var(--fs-xs); font-weight: 560; color: var(--ink-2); background: var(--linen); white-space: nowrap; }
table.data tbody th { font-weight: 520; color: var(--ink); }
table.data.permits tbody th { width: 34%; }
table.data.costs tbody th { width: 22%; }
table.data td { color: var(--ink-2); }
table.data .num-cell { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.rich table.data li::before, .rich .table-wrap li::before { display: none; }
.pm { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 560; color: var(--ink); white-space: nowrap; }
.pm::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pm-p::before { background: var(--brass); }
.pm-n::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.pm-l::before { width: 9px; height: 1.5px; border-radius: 1px; background: var(--ink-3); }
.pm-l { color: var(--ink-2); font-weight: 500; }
.pm-e::before { background: var(--slate); border-radius: 2px; }
.pm-note { display: block; margin-top: 0.3rem; font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.4; max-width: 28ch; }
.pm-legend { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; font-size: var(--fs-xs); color: var(--ink-2); max-width: none !important; }
.pm-legend .lg { display: inline-flex; align-items: center; gap: 0.4rem; }
.pm-legend .pm { font-size: var(--fs-xs); }
@media (max-width: 640px) {
  table.data.permits { min-width: 0; }
  table.data.permits thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.data.permits, table.data.permits tbody, table.data.permits tr, table.data.permits th, table.data.permits td { display: block; width: auto; }
  table.data.permits tr { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
  table.data.permits tbody tr:last-child { border-bottom: 0; }
  table.data.permits tbody th { padding: 0 0 0.6rem; border: 0; width: auto; }
  table.data.permits td { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0 0.75rem; padding: 0.35rem 0; border: 0; }
  table.data.permits td::before { content: attr(data-city); font-size: var(--fs-xs); color: var(--ink-3); padding-top: 0.15rem; }
  table.data.permits .pm-note { grid-column: 2; max-width: none; }
}
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Guides ---------- */
.page-hero.is-article h1 { max-width: 20ch; font-size: clamp(2.3rem, 4.6vw, 4.6rem); line-height: 1.02; }
.page-hero.is-article .page-intro { grid-column: 1 / span 7; }
.page-hero.is-article .page-side { grid-column: 9 / span 4; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; font-size: var(--fs-xs); color: var(--ink-2); }
.article-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--oak); margin-right: 1.25rem; vertical-align: middle; }
.article { padding-block: clamp(2rem, 5vw, 4rem) var(--section); }
.article.article-end { padding-top: 0; }
.article .grid { align-items: start; }
.toc { grid-column: 1 / span 3; position: sticky; top: calc(var(--nav-h) + 2rem); font-size: var(--fs-sm); }
.toc-h { font-size: var(--fs-xs); color: var(--ink-2); margin-bottom: 0.75rem; }
.toc ol { border-top: 1px solid var(--line); counter-reset: toc; }
.toc li { border-bottom: 1px solid var(--line); counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 1.75rem 1fr; padding: 0.65rem 0; color: var(--ink-2); transition: color 0.25s; line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--serif); font-size: var(--fs-xs); color: var(--ink-3); padding-top: 0.12rem; }
.toc a:hover, .toc a.is-active { color: var(--ink); }
.toc a.is-active::before { color: var(--brass); }
.article-body { grid-column: 5 / span 8; min-width: 0; }
.article-end .article-body { grid-column: 5 / span 8; }
.article-sec { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.article-sec + .article-sec { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.article-body h2 { font-size: var(--fs-d3); font-weight: 380; letter-spacing: -0.012em; line-height: 1.1; margin-bottom: 1.25rem; max-width: 24ch; }
.article-body h3 { margin: 2em 0 0.6em; font-size: var(--fs-d4); font-weight: 420; }
.article-body p, .article-body ul, .article-body ol { max-width: 68ch; }
.article-body ul li b { color: var(--ink); font-weight: 560; }
.article-body .small { font-size: var(--fs-sm); }
.article-body .table-wrap + p { margin-top: 1.25rem; }
.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; max-width: 68ch; }
.callout { background: var(--linen); border-radius: var(--radius); padding: 1.35rem 1.5rem; margin: 1.75rem 0; max-width: 68ch; }
.callouts .callout { margin: 0; }
.callout b { display: block; font-family: var(--serif); font-size: var(--fs-d4); font-weight: 420; margin-bottom: 0.4rem; line-height: 1.2; }
.callout p { color: var(--ink-2); font-size: var(--fs-sm); }
.article-fig { margin: 2rem 0; }
.article-fig .frame { border-radius: var(--radius); aspect-ratio: 3 / 2; }
.sources ol { counter-reset: src; margin-top: 1.25rem; font-size: var(--fs-sm); border-top: 1px solid var(--line); max-width: none; }
.sources li { counter-increment: src; display: grid; grid-template-columns: 2rem 1fr; padding: 0.6rem 0; border-top: 0; border-bottom: 1px solid var(--line); }
.sources li::before { content: counter(src); font-family: var(--serif); color: var(--ink-3); font-size: var(--fs-xs); padding-top: 0.15rem; position: static; width: auto; height: auto; background: none; }
.sources a { text-decoration-color: var(--line-strong); }
@media (max-width: 900px) {
  .page-hero.is-article .page-intro, .page-hero.is-article .page-side { grid-column: 1 / -1; }
  .toc { display: none; }
  .article-body, .article-end .article-body { grid-column: 1 / -1; }
  .callouts { grid-template-columns: 1fr; }
}
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.75rem); }
.guide-card { display: block; }
.guide-card .frame { aspect-ratio: 3 / 2; border-radius: var(--radius); }
.guide-card .frame img { transition: transform 1.1s var(--ease-out); }
.guide-card:hover .frame img { transform: scale(1.04); }
.guide-kicker { display: block; margin-top: 1rem; font-size: var(--fs-xs); color: var(--brass); }
.guide-card h3 { font-size: var(--fs-d4); font-weight: 400; margin-top: 0.35rem; max-width: 26ch; line-height: 1.2; transition: color 0.3s; }
.guide-card:hover h3 { color: var(--brass); }
.guide-card p { color: var(--ink-2); font-size: var(--fs-sm); margin-top: 0.45rem; max-width: 40ch; }

/* city facts block (location pages) */
.city-facts h3:first-child { margin-top: 0; }
.city-facts ul { max-width: 60ch; }

/* case study facts */
.project-facts { display: grid; gap: 0; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.project-facts div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.project-facts dt { color: var(--ink-2); }
.project-facts dd { margin: 0; color: var(--ink); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  html.js .hero-media { clip-path: none !important; }
  html.js .reveal-img > img, html.js .hero-media img { clip-path: none !important; transform: none !important; }
  html.js .fade, html.js .hero-sub, html.js .hero .actions, html.js .hero-meta, html.js .hero-scroll { opacity: 1 !important; transform: none !important; }
  html.js [data-split] .line-inner { transform: none !important; }
  .cursor, .curtain, .loader { display: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .header, .menu, .sticky-cta, .cursor, .curtain, .loader, .hero-scroll { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Trust line, project videos ---------- */
.cta-trust { margin-top: 1.5rem; font-size: var(--fs-xs); color: var(--on-dark-2); letter-spacing: 0.01em; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.video-card .yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--slate); padding: 0; border: 0; cursor: pointer; }
.video-card .yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.video-card .yt:hover img { transform: scale(1.035); }
.video-card .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; display: grid; place-items: center; }
.yt-play svg { width: 64px; height: 64px; padding: 20px 18px 20px 22px; border-radius: 50%; fill: var(--on-dark); background: rgba(28, 31, 35, 0.45); border: 1px solid rgba(255, 255, 255, 0.55); backdrop-filter: blur(6px); transition: background 0.3s, transform 0.4s var(--ease-out); box-sizing: content-box; }
.video-card .yt:hover .yt-play svg { background: var(--oak); fill: var(--graphite); transform: scale(1.06); }
.video-card figcaption { margin-top: 0.8rem; font-size: var(--fs-sm); color: var(--ink-2); }
.video-card figcaption b { display: block; font-family: var(--serif); font-weight: 420; font-size: var(--fs-d4); color: var(--ink); margin-bottom: 0.25rem; line-height: 1.2; }
