/* ==========================================================================
   Plumb — architectural minimalism, editorial luxury
   Tokens → base → components → sections → dialogs → motion
   ========================================================================== */

/* Display cut of Roboto Flex: optical size 144, widths 50–80, weights 300–700,
   Latin + Cyrillic. Instanced and subset with fontTools (see README). */
@font-face { font-family: "Plumb Display"; src: url("../assets/fonts/plumb-display.woff2") format("woff2"); font-weight: 300 700; font-stretch: 50% 80%; font-style: normal; font-display: swap; }

:root {
  --limestone: #E9E6DF;
  --paper: #F3F1EC;
  --basalt: #1C1D1B;
  --graphite: #3A3B38;
  --concrete: #8E8C85;
  --bronze: #8C6A43;
  --bronze-lt: #B8966B;
  --rule: rgba(28, 29, 27, .14);
  --rule-dk: rgba(233, 230, 223, .16);

  --gutter: clamp(16px, 4vw, 64px);
  --col-gap: clamp(12px, 2vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

  --f: "Roboto Flex", "Helvetica Neue", Arial, sans-serif;
  --fd: "Plumb Display", "Roboto Flex", "Arial Narrow", sans-serif;
  --t-xs: .75rem;
  --t-sm: .875rem;
  --t-md: 1.0625rem;
  --t-lg: clamp(1.15rem, 1.4vw, 1.375rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); interpolate-size: allow-keywords; }
body {
  margin: 0;
  background: var(--limestone);
  color: var(--basalt);
  font-family: var(--f);
  font-size: var(--t-md);
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; background-size: cover; background-position: center; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, dl, dd, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-weight: inherit; overflow-wrap: break-word; }
::selection { background: var(--bronze); color: var(--paper); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--basalt); color: var(--paper); padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1680px; margin-inline: auto; padding-inline: var(--gutter); }

/* Type roles ---------------------------------------------------------------- */
.display {
  font-family: var(--fd); font-variation-settings: "wdth" var(--dw, 62);
  font-weight: 560;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.005em;
  font-size: clamp(3.4rem, 9.6vw, 10.5rem);
}
.lbl { display: block; font-size: var(--t-xs); font-variation-settings: "wdth" 112; letter-spacing: .01em; color: var(--concrete); font-variant-numeric: tabular-nums; }

/* Split-line reveal (headings) */
.split-line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.split-line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }

/* Buttons --------------------------------------------------------------------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  display: inline-flex; align-items: stretch; gap: 0;
  min-height: 52px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd);
  font-size: var(--t-sm); font-weight: 500; font-variation-settings: "wdth" 108; letter-spacing: .005em;
  white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn > span { display: inline-flex; align-items: center; padding: 0 1.25em; }
.btn__arrow { border-left: 1px solid color-mix(in srgb, var(--fg) 25%, transparent); min-width: 52px; justify-content: center; padding: 0 !important; font-size: 1.05em; position: relative; overflow: hidden; transition: background-color .35s var(--ease), color .35s var(--ease); }
.btn:hover .btn__arrow { background: var(--bronze); color: var(--paper); }
.btn--solid { --bg: var(--basalt); --fg: var(--paper); --bd: var(--basalt); }
.btn--solid:hover { --bg: var(--graphite); --bd: var(--graphite); }
.btn--light { --bg: var(--paper); --fg: var(--basalt); --bd: var(--paper); }
.btn--light:hover { --bg: #fff; --bd: #fff; }
.btn--ghost-light { --fg: var(--paper); --bd: rgba(243, 241, 236, .45); }
.btn--ghost-light:hover { --bd: var(--paper); --bg: rgba(243, 241, 236, .08); }
.btn--line { --fg: var(--basalt); --bd: var(--rule); }
.btn--line:hover { --bd: var(--basalt); }
.btn--sm { min-height: 42px; font-size: .8125rem; }
.btn--sm .btn__arrow { min-width: 42px; }
.btn--lg { min-height: 64px; font-size: 1rem; }
.btn--lg .btn__arrow { min-width: 64px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

.link { justify-self: start; display: inline-flex; gap: .4em; margin-top: 24px; font-size: var(--t-sm); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .3s, border-color .3s; }
.link:hover { color: var(--bronze); }

/* Loader ------------------------------------------------------------------------- */
.loader { display: none; }
.js:not(.no-intro) .loader { display: block; position: fixed; inset: 0; z-index: 200; background: var(--paper); pointer-events: none; }
.loader__pend { position: absolute; left: 50%; top: 0; width: 0; height: 44vh; transform-origin: 0 0; animation: plumb-swing 2.4s ease-in-out .95s infinite; }
.loader__pend i { position: absolute; left: -.5px; top: 0; width: 1px; height: 100%; background: var(--bronze); transform-origin: top; transform: scaleY(0); animation: plumb-drop .95s var(--ease-io) forwards; }
.loader__pend b { position: absolute; left: -7px; top: 100%; width: 14px; height: 19px; background: var(--bronze); clip-path: polygon(0 0, 100% 0, 50% 100%); transform: translateY(-44vh); animation: plumb-bob .95s var(--ease-io) forwards; }
@keyframes plumb-drop { to { transform: scaleY(1); } }
@keyframes plumb-bob { to { transform: translateY(0); } }
@keyframes plumb-swing { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(2.6deg); } 75% { transform: rotate(-2.6deg); } }
.loader__meta { position: absolute; left: 50%; top: calc(44vh + 64px); width: min(260px, 70vw); transform: translateX(-50%); display: grid; grid-template-columns: 1fr auto; row-gap: 4px; padding-top: 12px; border-top: 1px solid var(--rule); opacity: 0; animation: loader-in .8s var(--ease) .6s forwards; }
.loader__word { font-size: 1rem; font-weight: 640; font-variation-settings: "wdth" 125; letter-spacing: -.01em; }
.loader__note { grid-column: 1; font-size: 11px; color: var(--concrete); font-variation-settings: "wdth" 112; }
.loader__pct { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--fd); font-variation-settings: "wdth" 70; font-size: 2.2rem; font-weight: 420; line-height: 1; font-variant-numeric: tabular-nums; color: var(--basalt); }
@keyframes loader-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translateX(-50%); } }

/* Header ------------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gutter);
  color: var(--paper);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.header.is-solid { background: color-mix(in srgb, var(--limestone) 86%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); color: var(--basalt); border-color: var(--rule); }
.header.is-solid.on-dark { background: color-mix(in srgb, var(--basalt) 82%, transparent); color: var(--paper); border-color: var(--rule-dk); }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.brand__mark { width: 11px; height: 22px; }
.brand__word { font-size: 1.125rem; font-weight: 640; font-variation-settings: "wdth" 125; letter-spacing: -.01em; }
.nav { display: flex; gap: clamp(20px, 2.6vw, 44px); font-size: var(--t-sm); }
.nav a { position: relative; padding: 6px 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 .45s var(--ease); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.header__end { justify-self: end; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); }
.lang { font-size: var(--t-xs); font-variation-settings: "wdth" 112; letter-spacing: .04em; padding: 8px 2px; opacity: .8; transition: opacity .3s; }
.lang:hover { opacity: 1; }
.header:not(.is-solid) .header__cta { --bg: var(--paper); --fg: var(--basalt); --bd: var(--paper); }
.header.on-dark .header__cta { --bg: var(--paper); --fg: var(--basalt); --bd: var(--paper); }
.menu-toggle { display: none; }

/* Mobile menu */
.menu { position: fixed; inset: 0; z-index: 55; background: var(--basalt); color: var(--paper); padding: calc(var(--header-h) + 32px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-size: clamp(2.6rem, 12vw, 4.5rem); font-family: var(--fd); font-variation-settings: "wdth" var(--dw, 62); font-weight: 560; text-transform: uppercase; line-height: 1; padding: 10px 0; border-bottom: 1px solid var(--rule-dk); }
.menu__foot { display: grid; gap: 24px; font-size: var(--t-sm); color: var(--concrete); }
.menu__foot .btn { justify-content: space-between; }
.menu__lang { justify-self: start; color: var(--paper); border-bottom: 1px solid currentColor; padding-bottom: 2px; }

@media (max-width: 899px) {
  /* Display cut of Roboto Flex: optical size 144, widths 50–80, weights 300–700,
   Latin + Cyrillic. Instanced and subset with fontTools (see README). */
@font-face { font-family: "Plumb Display"; src: url("../assets/fonts/plumb-display.woff2") format("woff2"); font-weight: 300 700; font-stretch: 50% 80%; font-style: normal; font-display: swap; }

:root { --header-h: 64px; }
  .header { grid-template-columns: 1fr auto auto; gap: 10px; }
  .header__end { gap: 14px; }
  .nav { display: none; }
  .header__cta .btn__arrow { display: none; }
  .header__cta > span:first-child { padding: 0 1em; }
  .menu-toggle { display: grid; place-content: center; gap: 6px; width: 42px; height: 42px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); }
  .menu-toggle i { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
  .menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
  .menu-open .header { color: var(--paper); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Rail (wayfinding) */
.rail { position: fixed; right: 22px; top: 50%; height: 38vh; transform: translateY(-50%); z-index: 50; width: 1px; color: var(--concrete); pointer-events: none; opacity: 0; transition: opacity .6s; }
.rail.is-visible { opacity: 1; }
.rail__line { position: absolute; inset: 0; background: color-mix(in srgb, var(--concrete) 45%, transparent); }
.rail__fill { position: absolute; inset: 0; background: var(--bronze); transform-origin: top; transform: scaleY(var(--rail, 0)); }
.rail__bob { position: absolute; left: -4px; top: calc(var(--rail, 0) * 100%); width: 9px; height: 12px; background: var(--bronze); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.rail__label { position: absolute; right: 18px; top: -3px; font-size: 11px; font-variation-settings: "wdth" 112; white-space: nowrap; color: var(--concrete); }
@media (max-width: 1099px) { .rail { display: none; } }

/* ============================================================================
   HERO
   ============================================================================ */
.hero { position: relative; height: 100svh; min-height: 680px; color: var(--paper); background: var(--paper); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: -6% 0 0 0; z-index: -2; will-change: transform; }
.hero__stack { position: absolute; inset: 0; transform: scale(1.06); transition: transform 2.6s var(--ease); }
.hero__stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; -webkit-user-drag: none; user-select: none; }
.hero__plan { clip-path: circle(0 at 50% 50%); }
.hero__plot, .hero__level { position: absolute; pointer-events: none; opacity: 0; }
.hero__plot { top: 0; bottom: 0; left: 0; width: 1px; background: var(--bronze); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bronze) 18%, transparent); }
.hero__level { left: 0; right: 0; top: 0; height: 1px; background: var(--bronze); }
.hero__level em { position: absolute; right: var(--gutter); bottom: 8px; font-style: normal; font-size: 11px; font-variation-settings: "wdth" 112; color: var(--bronze); background: var(--paper); padding: 2px 6px; }
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(to bottom, rgba(20, 21, 19, .5) 0, rgba(20, 21, 19, 0) 20%),
  linear-gradient(to top, rgba(20, 21, 19, .88) 0, rgba(20, 21, 19, .5) 34%, rgba(20, 21, 19, 0) 62%),
  linear-gradient(to right, rgba(20, 21, 19, .45) 0, rgba(20, 21, 19, 0) 55%);
  transition: opacity 1s var(--ease); }

/* X-ray lens: the drawing under the house follows the cursor */
.hero__lens { position: absolute; left: 0; top: 0; z-index: 0; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; border: 1px solid rgba(243, 241, 236, .9); box-shadow: 0 0 0 1px rgba(28, 29, 27, .18), 0 30px 60px -20px rgba(0, 0, 0, .45); pointer-events: none; opacity: 0; transform: translate3d(var(--lx, -400px), var(--ly, -400px), 0) scale(var(--ls, 0)); will-change: transform; }
.hero__lens::before, .hero__lens::after { content: ""; position: absolute; background: var(--bronze); }
.hero__lens::before { left: 50%; top: 50%; width: 14px; height: 1px; margin: 0 0 0 -7px; }
.hero__lens::after { left: 50%; top: 50%; width: 1px; height: 14px; margin: -7px 0 0 0; }
.hero__lens span { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-variation-settings: "wdth" 112; color: var(--basalt); background: var(--paper); padding: 4px 8px; }
.lens-on .hero__lens { opacity: 1; transition: opacity .4s; }

.hero__inner { position: absolute; left: 0; right: 0; bottom: clamp(120px, 15vh, 160px); padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: 22px; align-items: end; z-index: 1; pointer-events: none; }
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero__who { grid-column: 1 / -1; font-size: var(--t-md); color: rgba(243, 241, 236, .82); display: flex; align-items: center; gap: 12px; }
.hero__who::before { content: ""; width: 28px; height: 1px; background: var(--bronze-lt); }
.hero__title { grid-column: 1 / 9; font-size: clamp(3.6rem, 9.4vw, 11.5rem); font-family: var(--fd); font-variation-settings: "wdth" var(--dw, 62); font-weight: 560; line-height: .84; text-transform: uppercase; letter-spacing: -.01em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .03em; }
.hero__title .line > span { display: block; }
.hero__side { grid-column: 9 / 13; display: grid; gap: 26px; padding-bottom: .5vw; }
.hero__lede { font-size: var(--t-lg); line-height: 1.42; max-width: 32ch; color: rgba(243, 241, 236, .9); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__proof { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 1.3fr; column-gap: var(--col-gap); padding: 18px 0 22px; border-top: 1px solid var(--rule-dk); }
.hero__proof li { display: flex; align-items: baseline; gap: 12px; font-size: var(--t-xs); color: rgba(243, 241, 236, .72); line-height: 1.35; }
.hero__proof strong { font-family: var(--fd); font-variation-settings: "wdth" 70; font-size: 2.1rem; font-weight: 480; line-height: .9; color: var(--paper); font-variant-numeric: tabular-nums; }
.hero__proof small { font-size: .45em; margin-left: .3em; font-family: var(--f); font-weight: 500; }
.hero__proof span { max-width: 22ch; }
.hero__hint { justify-content: flex-end; text-align: right; }
.hero__hint span { max-width: none; }
.hero__hint [data-hint-touch] { display: none; }
@media (hover: none) { .hero__hint [data-hint-desktop] { display: none; } .hero__hint [data-hint-touch] { display: inline; } }

/* ---- intro choreography (JS adds .hero-plotting, then .hero-building, then .is-open) */
.js:not(.no-intro) .hero__photo { opacity: 0; }
.js:not(.no-intro) .hero__plan { clip-path: inset(0 100% 0 0); }
.js:not(.no-intro) .hero__shade { opacity: 0; }
.js .hero__title .line > span { transform: translateY(102%); transition: transform 1.2s var(--ease); }
.js .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.js .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.js .hero__who, .js .hero__side, .js .hero__proof { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .35s, transform .9s var(--ease) .35s; }
.js .hero__proof { transition-delay: .55s; }
.js:not(.no-intro):not(.is-open) .header { opacity: 0; }
.header { transition: opacity .8s var(--ease), background-color .5s var(--ease), color .5s var(--ease), border-color .5s; }
.js:not(.no-intro).hero-building .hero__photo, .js:not(.no-intro).is-open .hero__photo { opacity: 1; }
.js:not(.no-intro).is-open .hero__shade { opacity: 1; }
.is-open .hero__stack { transform: scale(1.0); }
.is-open .hero__title .line > span, .no-intro .hero__title .line > span { transform: none; }
.is-open .hero__who, .is-open .hero__side, .is-open .hero__proof, .no-intro .hero__who, .no-intro .hero__side, .no-intro .hero__proof { opacity: 1; transform: none; }
.no-intro .hero__stack { transform: none; transition: none; }

@media (max-width: 1099px) { .hero__proof { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hero__hint { display: none !important; } }
@media (max-width: 899px) {
  .hero__inner { grid-template-columns: 1fr; row-gap: 18px; bottom: 124px; }
  .hero__title { grid-column: 1; font-size: clamp(3rem, 14.2vw, 6.4rem); }
  .hero__side { grid-column: 1; gap: 22px; }
  .hero__lede { font-size: 1.02rem; }
  .hero__proof { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 14px 0 18px; }
  .hero__proof li { flex-direction: column; gap: 6px; font-size: 11px; }
  .hero__proof strong { font-size: 1.7rem; }
  .hero { background: var(--basalt); }
  .hero__media { inset: 0 0 auto 0; height: 54svh; }
  .hero__stack img { object-position: 50% 58%; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--basalt) 0, rgba(28, 29, 27, 0) 34%); pointer-events: none; }
  .hero__lens { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
  .hero__shade { background: linear-gradient(to bottom, rgba(20, 21, 19, .55) 0, rgba(20, 21, 19, 0) 14%); }
}

/* ============================================================================
   STATEMENT
   ============================================================================ */
.statement { padding-block: clamp(110px, 17vw, 260px) clamp(90px, 12vw, 180px); }
.statement__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: 48px; align-items: end; }
.statement__text { grid-column: 1 / 10; font-size: clamp(1.85rem, 4.3vw, 4.9rem); font-weight: 380; font-variation-settings: "wdth" 88; line-height: 1.06; letter-spacing: -.022em; max-width: 24ch; text-wrap: pretty; }
.statement__text .w { color: color-mix(in srgb, var(--basalt) calc(18% + var(--on, 0) * 82%), transparent); transition: color .25s linear; }
.statement__fig { grid-column: 10 / 13; display: grid; gap: 14px; padding-bottom: .6vw; }
.statement__img { aspect-ratio: 4 / 5; overflow: hidden; }
.statement__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) sepia(.08); }
.statement__fig figcaption { font-size: var(--t-xs); color: var(--concrete); max-width: 30ch; line-height: 1.5; }
@media (max-width: 899px) { .statement__text { grid-column: 1 / -1; } .statement__fig { grid-column: 4 / -1; } }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--col-gap); margin-top: clamp(80px, 11vw, 160px); border-top: 1px solid var(--rule); }
.fact { padding-top: 28px; display: grid; gap: 14px; align-content: start; }
.fact__num { --dw: 80; font-size: clamp(4.5rem, 10vw, 10rem); font-family: var(--fd); font-variation-settings: "wdth" var(--dw, 62); font-weight: 400; line-height: .8; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.fact__num small { font-family: var(--f); font-size: .28em; font-variation-settings: "wdth" 100; font-weight: 500; letter-spacing: 0; margin-left: .2em; vertical-align: top; }
.fact p { font-size: var(--t-sm); color: var(--graphite); max-width: 28ch; }
@media (max-width: 699px) { .facts { grid-template-columns: 1fr; } .fact { padding-block: 24px; border-bottom: 1px solid var(--rule); grid-template-columns: 1fr 1fr; align-items: end; } }

/* ============================================================================
   PROJECTS
   ============================================================================ */
.projects { padding-bottom: clamp(120px, 16vw, 240px); }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: end; margin-bottom: clamp(48px, 7vw, 110px); }
.sec-head .display { grid-column: 1 / 9; }
.sec-head__note { grid-column: 9 / 13; font-size: var(--t-md); color: var(--graphite); max-width: 34ch; padding-bottom: .4em; }
.sec-head--dark .sec-head__note { color: rgba(233, 230, 223, .66); }
@media (max-width: 899px) { .sec-head { grid-template-columns: 1fr; row-gap: 24px; } .sec-head .display, .sec-head__note { grid-column: 1; } }

.proj { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: 28px; }
.proj + .proj { margin-top: clamp(100px, 14vw, 220px); }
.proj__media { display: block; width: 100%; position: relative; overflow: hidden; background: #d6d2ca; text-align: left; }
.proj__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
/* one grade for all editorial photography: calmer blues, a touch warmer */
.proj__media img, .mat__img img, .voice__img img, .ba__img, .pdlg__gallery img, .layer--color img, .final__media img { filter: saturate(.8) sepia(.06) contrast(1.02); }
.proj__media:hover img { transform: scale(1.035); }
.proj__name { --dw: 66; font-size: clamp(2.3rem, 4.6vw, 4.8rem); font-family: var(--fd); font-variation-settings: "wdth" var(--dw, 62); font-weight: 560; text-transform: uppercase; line-height: .9; }
.proj__idx { font-family: var(--f); display: block; font-size: var(--t-xs); font-variation-settings: "wdth" 112; font-weight: 400; text-transform: none; color: var(--concrete); margin-bottom: 14px; letter-spacing: .01em; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px var(--col-gap); align-content: start; }
.specs dt { font-size: var(--t-xs); font-variation-settings: "wdth" 112; color: var(--concrete); }
.specs dd { font-size: var(--t-md); font-variant-numeric: tabular-nums; }
.proj__concept { font-size: var(--t-md); color: var(--graphite); max-width: 40ch; }

.proj--wide .proj__media { grid-column: 1 / -1; aspect-ratio: 16 / 8.2; }
.proj--wide .proj__body { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: 24px; padding-top: 8px; }
.proj--wide .proj__name { grid-column: 1 / 6; }
.proj--wide .specs { grid-column: 6 / 9; }
.proj--wide .proj__concept { grid-column: 9 / 13; }
.proj--wide .link { grid-column: 9 / 13; justify-self: start; margin-top: 0; }

.proj--pair .proj__media--a { grid-column: 1 / 8; grid-row: 1 / 3; aspect-ratio: 5 / 4.4; }
.proj--pair .proj__media--b { grid-column: 9 / 13; grid-row: 1; aspect-ratio: 4 / 5; margin-top: 22%; }
.proj--pair .proj__media--b img { height: 116%; margin-top: -8%; }
.proj--pair .proj__body { grid-column: 9 / 13; grid-row: 2; align-self: end; display: grid; gap: 24px; }

.proj--tall .proj__body { grid-column: 1 / 5; align-self: start; display: grid; gap: 24px; }
.proj__body--sticky { position: sticky; top: calc(var(--header-h) + 48px); }
.proj--tall .proj__media { grid-column: 6 / 13; aspect-ratio: 4 / 5; }

.proj--inset .proj__media { grid-column: 2 / 8; aspect-ratio: 3 / 4; }
.proj--inset .proj__body { grid-column: 9 / 13; align-self: end; display: grid; gap: 24px; }

@media (max-width: 899px) {
  .proj > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .proj--wide .proj__media { aspect-ratio: 4 / 5; }
  .proj--wide .proj__body { grid-template-columns: 1fr; }
  .proj--wide .proj__body > * { grid-column: 1 !important; }
  .proj--pair .proj__media--a { aspect-ratio: 4 / 5; }
  .proj--pair .proj__media--b { width: 58%; margin: -22% 0 0 auto; z-index: 1; border: 6px solid var(--limestone); }
  .proj__body--sticky { position: static; }
  .proj--tall .proj__media { order: -1; }
  .proj--inset .proj__media { aspect-ratio: 4 / 5; }
}

/* Masked reveal for imagery */
/* the mask lives on the image so the container stays observable */
.js .reveal { background: transparent; }
.js .reveal img { clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1.05s var(--ease), transform 1.5s var(--ease); }
.js .reveal.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js .reveal.is-in:hover img { transform: scale(1.035); transition-duration: 1.4s, 1.2s; }
.js .reveal.is-in { background: #d6d2ca; transition: background-color 0s 1.05s; }

/* ============================================================================
   WHY — the six questions
   ============================================================================ */
.why { background: var(--basalt); color: var(--limestone); padding-block: clamp(110px, 14vw, 220px); }
.qa { border-bottom: 1px solid var(--rule-dk); }
.qa__row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: 14px; padding-block: clamp(32px, 4vw, 56px); border-top: 1px solid var(--rule-dk); transition: opacity .6s var(--ease); }
.js .qa__row { opacity: .3; }
.js .qa__row.is-focus { opacity: 1; }
.qa__q { grid-column: 1 / 5; font-size: var(--t-lg); color: var(--bronze-lt); max-width: 26ch; padding-top: .35em; }
.qa__a { grid-column: 6 / 13; display: grid; gap: 18px; }
.qa__a h3 { --dw: 66; font-size: clamp(2.2rem, 5vw, 5.4rem); font-family: var(--fd); font-variation-settings: "wdth" var(--dw, 62); font-weight: 560; text-transform: uppercase; line-height: .88; }
.qa__a p { color: rgba(233, 230, 223, .7); max-width: 52ch; }
.why__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.why__cta p { font-size: var(--t-lg); }
@media (max-width: 899px) { .qa__q, .qa__a { grid-column: 1 / -1; } .js .qa__row { opacity: 1; } }

/* ============================================================================
   PROCESS — signature
   ============================================================================ */
.process { position: relative; height: 640vh; background: var(--limestone); }
.process__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: var(--header-h); }
.process__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: center; }
.process__copy { grid-column: 1 / 5; display: grid; gap: clamp(24px, 3vw, 40px); align-content: center; }
.process__title { --dw: 66; font-size: clamp(2rem, 3.2vw, 3.4rem); font-family: var(--fd); font-variation-settings: "wdth" var(--dw, 62); font-weight: 560; text-transform: uppercase; line-height: .9; }
.stages { display: grid; border-top: 1px solid var(--rule); }
.stage { display: grid; grid-template-columns: 44px 1fr; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--concrete); transition: color .5s var(--ease); }
.stage__n { font-size: var(--t-xs); font-variation-settings: "wdth" 112; padding-top: .45em; font-variant-numeric: tabular-nums; }
.stage h3 { font-size: 1.2rem; font-weight: 520; font-variation-settings: "wdth" 100; line-height: 1.3; }
.stage p, .stage__t { display: block; overflow: hidden; height: 0; opacity: 0; transition: height .6s var(--ease), opacity .5s var(--ease), margin .6s var(--ease); }
.stage p { font-size: var(--t-sm); color: var(--graphite); max-width: 40ch; }
.stage__t { font-size: var(--t-xs); font-variation-settings: "wdth" 112; color: var(--bronze); }
.stage.is-active { color: var(--basalt); }
.stage.is-active .stage__n { color: var(--bronze); }
.stage.is-active p { height: auto; opacity: 1; margin-top: 6px; }
.stage.is-active .stage__t { height: auto; opacity: 1; margin-top: 8px; }

.sheet { grid-column: 5 / 13; display: grid; gap: 0; }
.sheet__frame {
  --siteDraw: 0; --siteLate: 0; --siteOut: 1; --lines: 0; --linesDim: 1; --dims: 0; --struct: 0; --beams: 0;
  --rise: 0; --color: 0; --inset: 0; --stamp: 0;
  position: relative; aspect-ratio: 3 / 2; overflow: hidden;
  background-color: var(--paper);
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 100% 6.667%, 4.444% 100%;
  background-position: 0 -1px, -1px 0;
  border: 1px solid var(--rule);
  color: var(--basalt);
}
.sheet__frame::after { content: ""; position: absolute; inset: 0; background: var(--paper); opacity: .72; pointer-events: none; z-index: 0; }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
img.layer, .layer img { object-fit: cover; width: 100%; height: 100%; }

.layer--site { color: var(--graphite); opacity: var(--siteOut); }
.layer--site .draw path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--siteDraw)); }
.layer--site .draw--late path { stroke-dashoffset: calc(1 - var(--siteLate)); }
.site__labels { opacity: var(--siteLate); }

.layer--lines { mix-blend-mode: multiply; clip-path: inset(0 calc((1 - var(--lines)) * 100%) 0 0); opacity: var(--linesDim); -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 94%); mask-image: linear-gradient(to bottom, #000 72%, transparent 94%); }
.layer--dims { color: var(--graphite); opacity: var(--dims); }
.layer--struct { opacity: var(--struct); }
.layer--struct .beam { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--beams)); }

.layer--raw { clip-path: inset(calc((1 - var(--rise)) * 100%) 0 0 0); }
.layer--raw img { filter: grayscale(1) contrast(1.08) brightness(1.06); }
.layer--level { pointer-events: none; opacity: calc(min(var(--rise) * 8, 1) * (1 - var(--color))); transform: translateY(calc((1 - var(--rise)) * 100%)); }
.layer--level span { position: absolute; left: 0; right: 0; top: 0; border-top: 1px solid var(--bronze); padding: 6px 12px; font-size: 11px; font-variation-settings: "wdth" 112; color: var(--bronze); background: linear-gradient(to bottom, rgba(243, 241, 236, .9), rgba(243, 241, 236, 0)); }
.layer--color { opacity: var(--color); }

.layer--inset { inset: auto 4% 6% auto; width: 27%; height: auto; opacity: var(--inset); transform: translateY(calc((1 - var(--inset)) * 24px)); background: var(--paper); padding: 6px 6px 8px; box-shadow: 0 30px 60px -30px rgba(28, 29, 27, .5); }
.layer--inset img { aspect-ratio: 4 / 5; height: auto; }
.layer--inset span { display: block; font-size: 10px; font-variation-settings: "wdth" 112; color: var(--graphite); padding-top: 6px; }
.layer--stamp { inset: 6% auto auto 4%; width: auto; height: auto; display: grid; gap: 2px; padding: 14px 18px; background: var(--basalt); color: var(--paper); opacity: var(--stamp); transform: translateY(calc((1 - var(--stamp)) * -16px)); font-size: 11px; font-variation-settings: "wdth" 112; }
.layer--stamp strong { font-size: clamp(1.4rem, 2.2vw, 2.2rem); font-family: var(--fd); font-variation-settings: "wdth" var(--dw, 62); font-weight: 560; line-height: 1; font-variant-numeric: tabular-nums; }
.layer--stamp span:last-child { color: var(--bronze-lt); }

.titleblock { display: grid; grid-template-columns: 1.4fr 1fr .7fr; border: 1px solid var(--rule); border-top: 0; background: var(--paper); font-size: var(--t-xs); position: relative; }
.titleblock > div { padding: 10px 14px; display: grid; gap: 2px; }
.titleblock > div + div { border-left: 1px solid var(--rule); }
.titleblock span { color: var(--concrete); font-variation-settings: "wdth" 112; }
.titleblock strong { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.titleblock > div { min-width: 0; }
.titleblock .titleblock__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; padding: 0; border: 0 !important; }
.titleblock__bar span { display: block; height: 100%; background: var(--bronze); transform-origin: left; transform: scaleX(var(--prog, 0)); }

@media (max-width: 899px) {
  .process { height: 560vh; }
  .process__sticky { padding-top: var(--header-h); }
  .process__grid { grid-template-columns: 1fr; row-gap: 18px; }
  .process__copy, .sheet { grid-column: 1; }
  .process__copy { order: 2; gap: 14px; }
  .process__title { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .stages { border-top: 0; }
  .stage { display: none; border: 0; padding: 0; }
  .stage.is-active { display: grid; }
  .titleblock { grid-template-columns: 1.3fr 1fr .8fr; }
  .titleblock > div { padding: 8px 10px; }
  .layer--inset { width: 34%; }
}

/* ============================================================================
   COMPARE — drawing vs built
   ============================================================================ */
.compare { padding-block: clamp(110px, 14vw, 220px); }
.ba { --x: 50%; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.ba img { -webkit-user-drag: none; pointer-events: none; }
.ba__img { width: 100%; height: 100%; object-fit: cover; }
.ba__drawing { position: absolute; inset: 0; background: var(--paper); clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba__drawing img { width: 100%; height: 100%; object-fit: cover; }
/* while easing to a clicked point; dragging stays 1:1 */
.ba.is-easing .ba__drawing { transition: clip-path .7s var(--ease); }
.ba.is-easing .ba__handle { transition: left .7s var(--ease); }
.ba__tag { position: absolute; top: 18px; z-index: 2; padding: 7px 12px; font-size: var(--t-xs); font-variation-settings: "wdth" 112; pointer-events: none; transition: opacity .3s; }
.ba__tag--l { left: 18px; background: var(--paper); color: var(--basalt); border: 1px solid var(--rule); opacity: var(--tl, 1); }
.ba__tag--r { right: 18px; background: var(--basalt); color: var(--paper); opacity: var(--tr, 1); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 0; z-index: 3; pointer-events: none; }
.ba__line { position: absolute; top: 0; bottom: 0; left: -.5px; width: 1px; background: var(--paper); box-shadow: 0 0 0 .5px rgba(28, 29, 27, .25); transition: width .3s var(--ease), left .3s var(--ease); }
.ba__knob { position: absolute; top: 50%; left: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-content: center; border-radius: 50%; background: var(--paper); color: var(--basalt); box-shadow: 0 10px 30px -8px rgba(28, 29, 27, .45); transition: transform .4s var(--ease), background-color .3s, color .3s; }
.ba__knob svg { width: 24px; height: 24px; }
.ba:hover .ba__knob { transform: scale(1.06); }
.ba.is-dragging .ba__knob { transform: scale(.88); background: var(--bronze); color: var(--paper); }
.ba.is-dragging .ba__line { width: 2px; left: -1px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.ba:has(.ba__range:focus-visible) .ba__knob { outline: 2px solid var(--bronze); outline-offset: 4px; }
.ba__facts { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--col-gap); row-gap: 20px; padding-top: 22px; margin-top: 18px; border-top: 1px solid var(--rule); }
.ba__facts dt { font-size: var(--t-xs); font-variation-settings: "wdth" 112; color: var(--concrete); }
@media (max-width: 899px) { .ba { aspect-ratio: 4 / 5; } .ba__knob { width: 52px; height: 52px; margin: -26px 0 0 -26px; } .ba__tag { top: 12px; } .ba__tag--l { left: 12px; } .ba__tag--r { right: 12px; } .ba__facts { grid-template-columns: 1fr 1fr; } }

/* ============================================================================
   MATERIALS — horizontal on desktop, swipe on mobile
   ============================================================================ */
.materials { background: var(--paper); position: relative; }
.materials__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.materials__track { display: flex; align-items: flex-end; gap: clamp(20px, 2.4vw, 40px); padding-inline: var(--gutter); will-change: transform; }
.materials__head.materials__head--sm { display: none; }
.materials__head { flex: 0 0 min(34vw, 560px); display: grid; gap: 28px; align-self: center; padding-right: 4vw; }
.materials__head p { color: var(--graphite); max-width: 36ch; }
.mat { flex: 0 0 clamp(260px, 25vw, 420px); display: grid; gap: 18px; }
.mat:nth-of-type(even) { transform: translateY(-9vh); }
.mat__img { aspect-ratio: 4 / 5; overflow: hidden; background: #d6d2ca; }
.mat__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.mat:hover .mat__img img { transform: scale(1); }
.mat h3 { --dw: 66; font-size: clamp(1.7rem, 2.4vw, 2.4rem); font-family: var(--fd); font-variation-settings: "wdth" var(--dw, 62); font-weight: 560; text-transform: uppercase; line-height: .9; margin-bottom: 8px; }
.mat p { font-size: var(--t-sm); color: var(--graphite); max-width: 34ch; }
@media (max-width: 899px) {
  .materials { height: auto !important; padding-block: 100px 80px; }
  .materials__sticky { position: static; height: auto; overflow: visible; display: block; }
  .materials__track { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 12px; transform: none !important; scrollbar-width: none; align-items: flex-start; }
  .materials__track::-webkit-scrollbar { display: none; }
  .materials__head { flex-basis: 84vw; padding-right: 0; scroll-snap-align: start; }
  .mat { flex-basis: 72vw; scroll-snap-align: start; }
  .mat:nth-of-type(even) { transform: none; }
}

/* ============================================================================
   CONTROL — project room
   ============================================================================ */
.control { padding-block: clamp(110px, 14vw, 220px); }
.control__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: 56px; align-items: start; }
.control__copy { grid-column: 1 / 6; display: grid; gap: 32px; position: sticky; top: calc(var(--header-h) + 48px); }
.control__copy .display { font-size: clamp(3rem, 6.6vw, 7.2rem); }
.control__lede { font-size: var(--t-lg); line-height: 1.45; max-width: 36ch; }
.control__list { display: grid; border-top: 1px solid var(--rule); }
.control__list li { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: var(--t-sm); color: var(--graphite); }
.control__list strong { color: var(--basalt); font-weight: 560; }

.portal { grid-column: 7 / 13; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 60px 120px -60px rgba(28, 29, 27, .35); font-size: var(--t-sm); }
.portal__top { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 22px 24px; background: var(--basalt); color: var(--paper); }
.portal__top strong { font-size: 1.15rem; font-weight: 520; }
.portal__week { text-align: right; }
.portal__week strong { --dw: 66; font-size: 2.2rem; font-family: var(--fd); font-variation-settings: "wdth" var(--dw, 62); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.portal__week em { font-family: var(--f); font-style: normal; font-size: .9rem; font-variation-settings: "wdth" 100; color: var(--concrete); }
.portal__block { padding: 22px 24px; border-top: 1px solid var(--rule); }
.portal__block:first-of-type { border-top: 0; }
.portal__row { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; color: var(--graphite); }
.portal__row .lbl { margin: 0; }
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; font-size: 11px; font-variation-settings: "wdth" 108; color: var(--concrete); }
.timeline li { position: relative; padding-top: 18px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 9px; height: 9px; border: 1px solid var(--concrete); border-radius: 50%; background: var(--paper); }
.timeline li.done { color: var(--basalt); }
.timeline li.done::before { background: var(--basalt); border-color: var(--basalt); }
.timeline li.now { color: var(--bronze); font-weight: 560; }
.timeline li.now::before { background: var(--bronze); border-color: var(--bronze); box-shadow: 0 0 0 5px color-mix(in srgb, var(--bronze) 22%, transparent); }
.track { position: relative; height: 1px; margin-top: 14px; background: var(--rule); }
.track span { position: absolute; inset: 0; background: var(--bronze); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease) .2s; }
.track--thick { height: 6px; margin-top: 16px; }
.track--thick span { background: var(--basalt); }
.is-in .track span { transform: scaleX(var(--to)); }
.budget { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.budget strong { --dw: 66; font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-family: var(--fd); font-variation-settings: "wdth" var(--dw, 62); font-weight: 500; line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.portal__report { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; }
.portal__report img { aspect-ratio: 1; object-fit: cover; width: 96px; }
.portal__report p { margin: 6px 0 8px; }
.who { font-size: var(--t-xs); color: var(--concrete); }
.portal__approve { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: color-mix(in srgb, var(--bronze) 7%, var(--paper)); }
.approve__text p { margin-top: 4px; }
.approve__actions { display: flex; gap: 8px; }
.approve__done { flex-basis: 100%; font-size: var(--t-sm); color: var(--bronze); display: none; }
.portal__approve.is-done .approve__actions { display: none; }
.portal__approve.is-done .approve__done { display: block; }
@media (max-width: 899px) {
  .control__copy, .portal { grid-column: 1 / -1; }
  .control__copy { position: static; }
  .portal__top, .portal__block { padding: 18px; }
  .timeline span { writing-mode: initial; font-size: 10px; display: block; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 520px) { .timeline li:not(.now) span { visibility: hidden; } }

/* ============================================================================
   VOICE — testimonial
   ============================================================================ */
.voice { padding-block: 0 clamp(110px, 14vw, 220px); }
.voice__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: 40px; align-items: center; }
.voice__img { grid-column: 1 / 6; aspect-ratio: 4 / 5; overflow: hidden; }
.voice__img img { width: 100%; height: 116%; object-fit: cover; margin-top: -8%; }
.voice__quote { grid-column: 7 / 13; display: grid; gap: 40px; }
.voice__quote blockquote p { font-size: clamp(1.7rem, 3.2vw, 3.3rem); font-weight: 360; font-variation-settings: "wdth" 90; line-height: 1.12; letter-spacing: -.018em; text-indent: -.4em; text-wrap: pretty; }
.voice__quote figcaption { display: grid; gap: 4px; padding-top: 20px; border-top: 1px solid var(--rule); max-width: 40ch; }
.voice__quote figcaption strong { font-weight: 560; }
.voice__quote figcaption span { font-size: var(--t-sm); color: var(--concrete); }
@media (max-width: 899px) { .voice__img, .voice__quote { grid-column: 1 / -1; } }

/* ============================================================================
   FAQ
   ============================================================================ */
.faq { padding-block: clamp(100px, 12vw, 200px); border-top: 1px solid var(--rule); }
.faq__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: 48px; }
.faq__head { grid-column: 1 / 5; display: grid; gap: 24px; align-content: start; position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
.faq__head p { color: var(--graphite); max-width: 28ch; }
.faq__list { grid-column: 6 / 13; border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: clamp(1.15rem, 1.7vw, 1.55rem); font-weight: 440; letter-spacing: -.01em; transition: color .3s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: 0 0 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; transition: transform .5s var(--ease); }
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__item summary:hover { color: var(--bronze); }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .6s var(--ease), content-visibility .6s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
.faq__a p { padding: 0 0 30px; color: var(--graphite); max-width: 60ch; }
@media (max-width: 899px) { .faq__head, .faq__list { grid-column: 1 / -1; } .faq__head { position: static; } }

/* ============================================================================
   FINAL CTA + FOOTER
   ============================================================================ */
.final { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--paper); background: var(--basalt); overflow: hidden; isolation: isolate; }
.final__media { position: absolute; inset: -10% 0; z-index: -2; }
.final__media img { width: 100%; height: 100%; object-fit: cover; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(20, 21, 19, .88), rgba(20, 21, 19, .45) 60%, rgba(20, 21, 19, .55)); }
.final__inner { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); row-gap: 36px; align-items: end; padding-block: 120px clamp(56px, 7vw, 96px); }
.final__title { grid-column: 1 / 9; font-size: clamp(4.2rem, 12.5vw, 14rem); font-family: var(--fd); font-variation-settings: "wdth" var(--dw, 62); font-weight: 560; text-transform: uppercase; line-height: .84; }
.final__side { grid-column: 9 / 13; display: grid; gap: 28px; }
.final__side p { font-size: var(--t-lg); color: rgba(243, 241, 236, .86); max-width: 32ch; }
@media (max-width: 899px) { .final__title, .final__side { grid-column: 1 / -1; } .final__title { font-size: clamp(3.8rem, 18vw, 7rem); } }

.footer { background: var(--basalt); color: var(--limestone); padding-top: 72px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--col-gap); row-gap: 32px; font-size: var(--t-sm); }
.footer__grid .lbl { margin-bottom: 8px; }
.footer__grid a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.footer__grid a:hover { border-color: currentColor; }
.footer__word { font-size: 25.5vw; font-variation-settings: "wdth" 125; font-weight: 700; letter-spacing: -.05em; line-height: .78; color: var(--graphite); text-align: center; margin: 48px 0 -0.04em; user-select: none; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 28px; border-top: 1px solid var(--rule-dk); font-size: var(--t-xs); color: var(--concrete); position: relative; }
@media (max-width: 699px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================================
   DIALOGS
   ============================================================================ */
dialog { padding: 0; border: 0; max-width: none; max-height: none; width: 100%; height: 100%; color: var(--basalt); }
dialog::backdrop { background: rgba(20, 21, 19, .5); }
dialog[open] { animation: dlg-in .7s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(24px); } }
.is-locked { overflow: hidden; }

/* Project */
.pdlg { background: var(--limestone); overflow-y: auto; overscroll-behavior: contain; }
.pdlg__inner { max-width: 1400px; margin: 0 auto; padding: 32px var(--gutter) 96px; display: grid; gap: 48px; }
.pdlg__close, .inq__close { justify-self: end; display: inline-flex; gap: 10px; align-items: center; font-size: var(--t-sm); padding: 10px 0; }
.pdlg__close span, .inq__close span { font-size: 1.5rem; line-height: 1; }
.pdlg__close { position: sticky; top: 16px; z-index: 2; min-height: 48px; padding: 0 18px 0 20px; gap: 14px; background: var(--basalt); color: var(--paper); font-size: .9375rem; font-weight: 500; box-shadow: 0 12px 30px -12px rgba(28, 29, 27, .45); transition: background-color .3s var(--ease); }
.pdlg__close:hover { background: var(--bronze); }
.pdlg__close span { font-size: 1.6rem; }
.pdlg__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 899px) {
  .pdlg__close { top: 12px; }
  .pdlg__cta { padding: 22px; }
  .pdlg__actions { display: grid; width: 100%; }
  .pdlg__actions .btn { width: 100%; justify-content: space-between; }
  .pdlg__actions .btn > span:not([aria-hidden]) { flex: 1; }
}
.pdlg__head { display: grid; gap: 20px; max-width: 900px; }
.pdlg__head h2 { font-size: clamp(3.4rem, 9vw, 9rem); font-family: var(--fd); font-variation-settings: "wdth" var(--dw, 62); font-weight: 560; text-transform: uppercase; line-height: .86; }
.pdlg__head p { font-size: var(--t-lg); color: var(--graphite); max-width: 52ch; }
.specs--wide { grid-template-columns: repeat(4, 1fr); padding-top: 22px; border-top: 1px solid var(--rule); }
.pdlg__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); }
.pdlg__gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #d6d2ca; }
.pdlg__gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.pdlg__plan { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); padding-top: 28px; border-top: 1px solid var(--rule); }
.pdlg__plan h3 { grid-column: 1 / 5; font-size: 2rem; font-family: var(--fd); font-variation-settings: "wdth" var(--dw, 62); font-weight: 560; text-transform: uppercase; line-height: .95; }
.pdlg__plan dl { grid-column: 6 / 13; display: grid; }
.pdlg__plan dl div { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.pdlg__plan dt { color: var(--graphite); }
.pdlg__plan dd:last-child { color: var(--bronze); }
.pdlg__plan .pl-head { font-size: var(--t-xs); color: var(--concrete); font-variation-settings: "wdth" 112; padding-top: 0; }
.pdlg__plan .pl-head dd:last-child { color: var(--concrete); }
.pdlg__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; background: var(--basalt); color: var(--paper); }
.pdlg__cta p { font-size: var(--t-lg); }
.pdlg__cta .btn--solid { --bg: var(--paper); --fg: var(--basalt); --bd: var(--paper); }
@media (max-width: 899px) { .specs--wide { grid-template-columns: 1fr 1fr; } .pdlg__gallery { grid-template-columns: 1fr; } .pdlg__plan h3, .pdlg__plan dl { grid-column: 1 / -1; } .pdlg__plan h3 { margin-bottom: 16px; } }

/* Inquiry */
.inq { background: var(--limestone); }
.inq__form { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; }
.inq__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 14px var(--gutter); }
.brand--inline .brand__word { font-size: 1rem; font-variation-settings: "wdth" 112; font-weight: 560; }
.inq__count { font-size: var(--t-xs); font-variation-settings: "wdth" 112; color: var(--concrete); font-variant-numeric: tabular-nums; }
.inq__progress { height: 1px; background: var(--rule); position: relative; }
.inq__progress span { position: absolute; inset: 0; background: var(--bronze); transform-origin: left; transform: scaleX(var(--p, .14)); transition: transform .8s var(--ease); }
.inq__progress span::after { content: ""; position: absolute; right: -5px; top: 0; width: 10px; height: 13px; background: var(--bronze); clip-path: polygon(0 0, 100% 0, 50% 100%); transform: scaleX(calc(1 / var(--p, .14))); transform-origin: right; }
.inq__steps { overflow-y: auto; position: relative; display: grid; }
.inq__step { padding: clamp(28px, 6vh, 72px) var(--gutter); min-width: 0; max-width: 1440px; margin-inline: auto; width: 100%; display: none; }
/* question on the left, answers on the right, centred in the available height */
.inq__step.is-current { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-content: center; align-items: start; animation: step-in .7s var(--ease); }
.inq__step > * { grid-column: 7 / 13; }
.inq__step > .inq__q { grid-column: 1 / 6; grid-row: 1 / span 6; }
.inq__step.is-back { animation-name: step-in-back; }
@keyframes step-in { from { opacity: 0; transform: translateY(28px); } }
@keyframes step-in-back { from { opacity: 0; transform: translateY(-28px); } }
.inq__q { display: block; padding: 0; margin-top: 0; font-size: clamp(2.4rem, 5vw, 5.4rem); font-family: var(--fd); font-variation-settings: "wdth" var(--dw, 62); font-weight: 560; text-transform: uppercase; line-height: .9; margin-bottom: 0; padding-top: .05em; }
.inq__hint { margin-top: 20px; font-size: var(--t-sm); color: var(--concrete); }
.opts { display: grid; border-top: 1px solid var(--rule); }
.opt { position: relative; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); cursor: pointer; transition: background-color .3s, color .3s, padding .4s var(--ease); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__k { display: grid; place-content: center; width: 30px; height: 30px; border: 1px solid var(--rule); font-size: var(--t-xs); font-variant-numeric: tabular-nums; color: var(--concrete); transition: inherit; }
.opt__t { font-size: clamp(1.1rem, 1.45vw, 1.4rem); font-weight: 440; letter-spacing: -.01em; line-height: 1.2; }
.opt__t small { display: block; font-size: var(--t-sm); font-weight: 400; letter-spacing: 0; color: var(--concrete); margin-top: 2px; }
.opt:hover { padding-left: 12px; }
.opt:has(input:checked) { background: var(--basalt); color: var(--paper); padding-left: 16px; }
.opt:has(input:checked) .opt__k { border-color: var(--bronze); background: var(--bronze); color: var(--paper); }
.opt:has(input:checked) small { color: rgba(243, 241, 236, .6); }
.opt:has(input:focus-visible) { outline: 2px solid var(--bronze); outline-offset: -2px; }
.field { display: block; }
.field__l { display: block; font-size: var(--t-xs); font-variation-settings: "wdth" 112; color: var(--concrete); margin-bottom: 4px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: clamp(1.3rem, 2vw, 1.9rem); font-weight: 400; letter-spacing: -.01em; color: var(--basalt); background: transparent; border: 0; border-bottom: 1px solid var(--basalt); padding: 10px 0 12px; border-radius: 0; outline: 0; transition: border-color .3s; }
.field textarea { font-size: clamp(1.15rem, 1.8vw, 1.6rem); line-height: 1.4; resize: vertical; min-height: 160px; }
.field input:focus, .field textarea:focus { border-color: var(--bronze); }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--concrete) 70%, transparent); }
.field.is-invalid input { border-color: #9b3b2a; }
.fields { display: grid; grid-template-columns: 1fr; gap: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule); font-size: var(--t-sm); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: var(--basalt); }
.chip.is-on, .chip:has(input:checked) { background: var(--basalt); color: var(--paper); border-color: var(--basalt); }
.chip:has(input:focus-visible) { outline: 2px solid var(--bronze); outline-offset: 2px; }
.inq__error { margin-top: 18px; font-size: var(--t-sm); color: #9b3b2a; min-height: 1.5em; }
.inq__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); background: var(--limestone); }
.inq__keys { font-size: var(--t-xs); color: var(--concrete); }
.inq__keys kbd { font: inherit; padding: 2px 6px; border: 1px solid var(--rule); }
.inq__nav.is-first [data-inq-back] { visibility: hidden; }
.inq__nav.is-hidden { display: none; }
.inq__done-lede { font-size: var(--t-lg); max-width: 46ch; line-height: 1.45; }
.inq__done > .btn { justify-self: start; }
.inq__summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--col-gap); margin: 32px 0; border-top: 1px solid var(--rule); }
.inq__summary div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.inq__summary dt { font-size: var(--t-xs); color: var(--concrete); font-variation-settings: "wdth" 112; }
@media (max-width: 899px) {
  .inq__step.is-current { grid-template-columns: 1fr; row-gap: 0; align-content: start; }
  .inq__step > *, .inq__step > .inq__q { grid-column: 1; grid-row: auto; }
  .inq__step > .inq__q { margin-bottom: 28px; max-width: 16ch; font-size: clamp(2rem, 9vw, 3rem); }
}
@media (max-width: 699px) { .inq__keys { display: none; } .opt { padding: 14px 12px 14px 0; } .opt__t { font-size: 1.1rem; } }

/* ============================================================================
   CURSOR, GRAIN
   ============================================================================ */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: grid; place-content: center; position: fixed; left: 0; top: 0; z-index: 120; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: var(--bronze); color: var(--paper); font-size: 12px; font-variation-settings: "wdth" 112; pointer-events: none; transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0) scale(var(--cs, 0)); transition: transform .45s var(--ease); will-change: transform; }
  .has-cursor [data-cursor] { cursor: none; }
}
.grain { position: fixed; inset: -100px; z-index: 110; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.2 -0.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-40px, 20px); } 50% { transform: translate(30px, -30px); } 75% { transform: translate(-20px, -40px); } 100% { transform: translate(0, 0); } }

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .grain { animation: none; }
  .js .reveal img { clip-path: none; }
  .js .reveal img, .hero__stack { transform: none !important; }
  .split-line > span, .js .hero__title .line > span { transform: none !important; }
  .js .hero__side, .js .hero__who, .js .hero__proof { opacity: 1; transform: none; }
  .mat:nth-of-type(even) { transform: none; }
}

/* ============================================================================
   MOBILE PASS — patterns people expect on a phone
   ============================================================================ */
@media (max-width: 899px) {
  /* header: logo, one action, menu. Language lives in the menu */
  .header .lang { display: none; }

  /* hero: a larger photo, full-width actions */
  .hero__media { height: 60svh; }
  .hero__lens span { display: none; }
  .hero__stack img { object-position: 50% 56%; }
  .hero__who { font-size: .875rem; }
  .hero__ctas { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .hero__ctas .btn { width: 100%; justify-content: space-between; }
  .hero__ctas .btn > span:first-child { flex: 1; }
  .hero__ctas .btn--ghost-light { min-height: 46px; }
  .hero__inner { bottom: 112px; }

  /* statement: full-width image, numbers beside their captions */
  .statement__fig { grid-column: 1 / -1; }
  .statement__img { aspect-ratio: 3 / 2; }
  .fact { grid-template-columns: 38% 1fr; align-items: center; gap: 16px; }
  .fact__num { font-size: 4.2rem; }

  /* projects: one image per house on a phone */
  .proj--pair .proj__media--b { display: none; }

  /* process: pinned to the top, text area reserved so nothing re-centres */
  .process__sticky { align-items: flex-start; padding-top: calc(var(--header-h) + 14px); }
  .process__copy { align-content: start; }
  .stages { min-height: 10.5em; }

  /* materials: heading above the strip, cards only in the strip */
  .materials { padding-block: 96px 72px; }
  .materials__head.materials__head--sm { display: grid; gap: 20px; margin-bottom: 32px; }
  .materials__head--sm .display { font-size: clamp(2.8rem, 13vw, 4rem); }
  .materials__head--sm p { color: var(--graphite); }
  .materials__head.materials__head--lg { display: none; }

  /* testimonial: the opening quote stays inside the text edge */
  .voice__quote blockquote p { text-indent: 0; }

  /* closing call to action: full-width buttons */
  .final__side .hero__ctas { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .final__side .btn { width: 100%; justify-content: space-between; }
  .final__side .btn > span:first-child { flex: 1; }
  .final__side .btn--lg { min-height: 56px; }
}
