/* Hilltop District — styles */
@font-face { font-family: "Caslon Display"; src: url("assets/fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Caslon Text"; src: url("assets/fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Caslon Text"; src: url("assets/fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #eee8dc;
  --paper-2: #e6dfd0;
  --paper-3: #f6f2e9;
  --ink: #1b1c19;
  --ink-2: #56574f;
  --ink-3: #8a897e;
  --rule: rgba(27, 28, 25, .16);
  --clay: #b5532b;
  --clay-2: #9c4421;
  --olive: #66714f;
  --night: #141b17;
  --night-2: #1d2621;
  --display: "Caslon Display", "Libre Caslon Display", "Big Caslon", Georgia, serif;
  --serif: "Caslon Text", Georgia, serif;
  --sans: "Hanken", "Helvetica Neue", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, Menlo, monospace;
  --gut: clamp(20px, 4.2vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
em { font-family: var(--serif); font-style: italic; }
::selection { background: var(--clay); color: #fff; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }

/* paper grain */
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .32; mix-blend-mode: multiply;
  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='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .09 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* shared type */
.eyebrow { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow span + span::before { content: ""; display: inline-block; width: 18px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 22px; opacity: .5; }
.eyebrow--light { color: rgba(238, 232, 220, .66); }
.display { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6.6vw, 112px); line-height: .98; letter-spacing: -.022em; max-width: 15ch; margin-top: clamp(18px, 2.4vw, 34px); text-wrap: balance; }
.display--sm { font-size: clamp(34px, 4.3vw, 68px); line-height: 1.02; max-width: 14ch; }
.display--light { color: var(--paper); }
.display .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.display .w > span { display: inline-block; will-change: transform; }
.tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.tag--light { color: rgba(255, 255, 255, .72); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 999px; font-size: 14.5px; font-weight: 500; letter-spacing: .005em; white-space: nowrap; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--clay); }
.btn--line { border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--clay { background: var(--clay); color: #fff; width: 100%; height: 52px; }
.btn--clay:hover { background: #c9643a; }

/* ---------- fixed 3D stage ---------- */
.stage { position: fixed; inset: 0; z-index: 0; opacity: 0; transition: opacity .9s ease; }
.stage.is-on { opacity: 1; }
.stage canvas { width: 100%; height: 100%; display: block; }
.labels { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.label3d { position: absolute; left: 0; top: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink); white-space: nowrap; opacity: 0; will-change: transform, opacity; padding: 0 0 0 14px; margin: -7px 0 0 0; }
.label3d i { position: absolute; left: -3px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }
.label3d--big { font-weight: 500; }
main { position: relative; z-index: 1; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 40; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 28px; padding: 18px var(--gut); transition: transform .5s var(--ease), background .4s ease, color .4s ease; }
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-solid { background: rgba(238, 232, 220, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--rule); }
.nav.is-dark:not(.is-solid) { color: #fff; }
.nav.is-dark:not(.is-solid) .btn--solid { background: #fff; color: var(--ink); }
.nav__mark { display: flex; align-items: center; gap: 12px; line-height: 1.1; margin-right: auto; }
.nav__logo { width: 46px; height: 46px; flex: none; border-radius: 50%; }
.nav__words { display: flex; flex-direction: column; }
.foot__brand { display: flex; align-items: center; gap: 22px; }
.foot__brand img { width: clamp(72px, 8vw, 112px); height: auto; flex: none; border-radius: 50%; }
.nav__name { font-family: var(--display); font-size: 23px; letter-spacing: -.01em; display: block; }
.nav__place { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .62; display: block; margin-top: 3px; }
.nav__links { display: flex; gap: 26px; font-size: 14.5px; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { height: 40px; padding: 0 18px; font-size: 13.5px; }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 15px; } .nav__burger span:last-child { top: 24px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 35; background: var(--paper); display: flex; flex-direction: column; justify-content: center; padding: 90px var(--gut) 40px; gap: 4px; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s .35s; }
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s ease; }
.menu a { font-family: var(--display); font-size: clamp(34px, 9vw, 54px); line-height: 1.16; border-bottom: 1px solid var(--rule); padding: 6px 0; }

/* ---------- journey (hero + chapters) ---------- */
.journey { position: relative; height: 620vh; }
.journey__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.journey__scrim { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: linear-gradient(90deg, var(--paper) 0%, rgba(238, 232, 220, .9) 20%, rgba(238, 232, 220, 0) 50%); }
.hero::before { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(180deg, rgba(238, 232, 220, 0) 0%, rgba(238, 232, 220, .88) 40%, var(--paper) 60%); pointer-events: none; }
.hero > * { position: relative; }
.hero { position: absolute; inset: 0; padding: 0 var(--gut); display: grid; grid-template-rows: 1fr auto; pointer-events: none; }
.hero > * { pointer-events: auto; }
.hero > .hero__eyebrow { position: absolute; left: var(--gut); top: clamp(96px, 15vh, 150px); }
.hero__title { align-self: end; font-family: var(--display); font-weight: 400; font-size: clamp(54px, 11.4vw, 208px); line-height: .88; letter-spacing: -.035em; margin-bottom: clamp(18px, 2.6vh, 34px); pointer-events: none; }
.hero__title em { font-family: var(--serif); letter-spacing: -.045em; color: var(--clay); }
.line { display: block; overflow: hidden; padding: .06em 0 .14em; margin: -.06em 0 -.14em; }
.line > span { display: block; will-change: transform; }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding: 22px 0 clamp(26px, 4.5vh, 46px); border-top: 1px solid var(--rule); }
.hero__lede { max-width: 44ch; font-size: clamp(15px, 1.15vw, 18px); color: var(--ink-2); }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.hero > .hero__meta { position: absolute; right: var(--gut); top: clamp(96px, 15vh, 150px); display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.hero > .hero__cue { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: none; }

.chapter { position: absolute; left: var(--gut); bottom: clamp(40px, 9vh, 96px); width: min(430px, calc(100vw - var(--gut) * 2)); opacity: 0; visibility: hidden; }
.chapter__no { font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--clay); }
.chapter__title { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4.4vw, 66px); line-height: 1; letter-spacing: -.022em; margin: 14px 0 18px; }
.chapter__body { color: var(--ink-2); max-width: 40ch; }
.chapter__fig { display: grid; grid-template-columns: auto 1fr; gap: 0 26px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rule); }
.chapter__fig dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.chapter__fig dd { font-family: var(--display); font-size: 22px; line-height: 1.2; margin-top: 4px; }
.journey__progress { position: absolute; right: var(--gut); top: 50%; width: 1px; height: 130px; margin-top: -65px; background: var(--rule); }
.journey__progress i { display: block; width: 3px; margin-left: -1px; height: 100%; background: var(--clay); transform-origin: top; transform: scaleY(0); }

/* ---------- generic section ---------- */
.sec { position: relative; background: var(--paper); padding: clamp(90px, 13vw, 190px) 0; }
.sec p { max-width: 58ch; }

/* menifee */
.menifee { border-top: 1px solid var(--rule); }
.menifee .display { max-width: 17ch; }
.menifee__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); margin: clamp(40px, 6vw, 90px) 0 0 auto; max-width: 980px; font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(56px, 8vw, 120px); border-top: 1px solid var(--ink); }
.stat { padding: 22px 18px 0 0; border-right: 1px solid var(--rule); padding-left: 18px; }
.stat:first-child { padding-left: 0; } .stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.2vw, 68px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat span { display: block; margin-top: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); max-width: 20ch; }

/* film */
.film { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: #2b2a24; color: #fff; }
.film__video { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.film__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 18, 12, .38) 0%, rgba(20, 18, 12, 0) 34%, rgba(20, 18, 12, .08) 55%, rgba(20, 18, 12, .7) 100%); }
.film__copy { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(40px, 8vh, 90px); font-family: var(--display); font-size: clamp(30px, 4.6vw, 76px); line-height: 1.04; letter-spacing: -.02em; }
.film__copy p { max-width: 26ch; }
.film__copy em { color: #f1c7a9; }
.film .tag { position: absolute; right: var(--gut); bottom: 22px; }

/* vision */
.vision__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.vision__img { position: relative; }
.vision__img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.vision__img figcaption { margin-top: 10px; }
.vision__copy { padding-top: clamp(0px, 4vw, 70px); }
.vision__copy > p:not(.eyebrow) { margin-top: 22px; color: var(--ink-2); font-size: clamp(16px, 1.2vw, 18.5px); }
.vision__copy .display { margin-bottom: 12px; }
.quote { margin-top: clamp(36px, 5vw, 70px); padding-left: 22px; border-left: 2px solid var(--clay); }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.25; letter-spacing: -.01em; color: var(--ink); max-width: 24ch; }
.quote cite { display: block; margin-top: 16px; font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.ledger { margin-top: clamp(70px, 9vw, 140px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.ledger li { padding: 22px 26px 34px 0; border-bottom: 1px solid var(--rule); transition: background .4s ease; }
.ledger li span { font-family: var(--mono); font-size: 11px; letter-spacing: .09em; color: var(--clay); }
.ledger h3 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; margin: 28px 0 8px; max-width: 16ch; }
.ledger p { color: var(--ink-2); font-size: 15px; max-width: 30ch; }

/* town square */
.square { position: relative; background: var(--paper); padding-bottom: clamp(80px, 11vw, 160px); }
.square__img { position: relative; height: min(86vh, 62vw); min-height: 320px; overflow: hidden; }
.square__img img { width: 100%; height: 112%; object-fit: cover; }
.square__img figcaption { position: absolute; right: var(--gut); bottom: 18px; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.square__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 110px); margin-top: clamp(50px, 7vw, 100px); align-items: start; }
.square__copy > p { color: var(--ink-2); font-size: clamp(16px, 1.25vw, 19px); margin-bottom: 18px; max-width: 56ch; }
.square__list { margin-top: clamp(26px, 3vw, 44px); border-top: 1px solid var(--ink); }
.square__list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.square__list b { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.15; }
.square__list span { color: var(--ink-2); font-size: 15px; }

/* places — horizontal gallery */
.places { position: relative; background: var(--paper-2); overflow: hidden; padding: clamp(60px, 8vh, 100px) 0 0; }
.places__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: clamp(22px, 4vh, 44px); }
.places__hint { font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.places__track { display: flex; align-items: flex-start; gap: clamp(18px, 2.6vw, 44px); padding: 0 var(--gut) clamp(60px, 8vh, 100px); width: max-content; will-change: transform; }
.place { flex: none; }
.place--wide { width: min(60vw, 92vh); }
.place--tall { width: min(30vw, 46vh); margin-top: clamp(20px, 6vh, 70px); }
.place__img { overflow: hidden; border-radius: 2px; background: #d8d0bf; }
.place--wide .place__img { aspect-ratio: 16 / 9.4; }
.place--tall .place__img { aspect-ratio: 4 / 5; }
.place__img img { width: 112%; max-width: none; height: 100%; object-fit: cover; margin-left: -6%; will-change: transform; }
.place figcaption { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; margin-top: 16px; align-items: baseline; }
.place figcaption span { font-family: var(--mono); font-size: 11px; letter-spacing: .09em; color: var(--clay); grid-row: span 2; }
.place h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.3vw, 36px); line-height: 1.05; }
.place figcaption p { color: var(--ink-2); font-size: 15px; max-width: 46ch; }
.places__end { flex: none; width: min(320px, 70vw); align-self: center; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; line-height: 1.7; text-transform: uppercase; color: var(--ink-2); padding-right: var(--gut); }

/* location */
.location__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 100px); margin-top: clamp(40px, 6vw, 90px); align-items: start; }
.map { position: sticky; top: 90px; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map__rings circle { stroke: var(--ink); stroke-opacity: .28; stroke-dasharray: 2 6; }
.map__ringlabels text, .map__roadlabels text, .map__far text, .map__north text { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; fill: var(--ink-2); }
.map__ringlabels text { text-anchor: start; paint-order: stroke; stroke: var(--paper); stroke-width: 8px; }
.map__road { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-opacity: .55; }
.map__road--major { stroke-width: 3; stroke-opacity: 1; }
.map__road--minor { stroke-width: 1; stroke-dasharray: 3 3; }
.map__places circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.map__places text { font-family: var(--sans); font-size: 14px; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; }
.map__site circle { fill: var(--clay); }
.map__site .map__pulse { fill: none; stroke: var(--clay); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.map__site text { font-family: var(--display); font-size: 24px; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; }
.map__north path { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.map__note { margin-top: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }
.location__copy > p { font-size: clamp(17px, 1.45vw, 22px); line-height: 1.45; }
.callouts { margin-top: clamp(30px, 4vw, 54px); border-top: 1px solid var(--ink); }
.callouts li { display: grid; grid-template-columns: minmax(130px, 1fr) 2fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.callouts h3 { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.15; }
.callouts p { color: var(--ink-2); font-size: 15.5px; }
.drive { width: 100%; border-collapse: collapse; margin-top: clamp(36px, 5vw, 64px); }
.drive caption { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.drive th, .drive td { padding: 11px 0; border-bottom: 1px solid var(--rule); font-weight: 400; text-align: left; font-size: 15.5px; }
.drive td { text-align: right; font-family: var(--mono); font-size: 13px; white-space: nowrap; color: var(--ink-2); }

/* master plan (transparent — the model shows through) */
.plan { position: relative; height: 100vh; height: 100svh; min-height: 680px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; }
.plan::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--paper) 0%, rgba(238, 232, 220, .92) 24%, rgba(238, 232, 220, 0) 48%); }
.plan__ui, .plan__tools, .plan__note { z-index: 2; }
.plan__stage { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.plan__stage.is-dragging { cursor: grabbing; }
.plan__ui { position: absolute; left: var(--gut); top: clamp(84px, 11vh, 120px); bottom: 54px; width: min(380px, 34vw); display: flex; flex-direction: column; pointer-events: none; }
.plan__ui > * { pointer-events: auto; }
.plan__head .display { margin-top: 14px; }
.zones { margin-top: auto; border-top: 1px solid var(--ink); }
.zone { display: grid; grid-template-columns: 34px 1fr; width: 100%; padding: 8px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.zone span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-3); transition: color .3s; }
.zone b { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.15; transition: color .3s; }
.zone p { grid-column: 2; font-size: 14px; line-height: 1.45; color: var(--ink-2); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s ease, margin .5s var(--ease); }
.zone b i { display: inline-block; width: 11px; height: 11px; border-radius: 2px; margin-right: 10px; vertical-align: 1px; box-shadow: inset 0 0 0 1px rgba(27, 28, 25, .18); }
.zone:hover b { color: var(--clay); }
.zone.is-active span, .zone.is-active b { color: var(--clay); }
.zone.is-active p { max-height: 120px; opacity: 1; margin-top: 6px; }
.plan__tools { position: absolute; right: var(--gut); top: clamp(84px, 11vh, 120px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.compass { position: relative; width: 46px; height: 46px; }
.compass svg { width: 100%; height: 100%; will-change: transform; }
.compass circle { fill: none; stroke: var(--ink); stroke-opacity: .35; }
.compass path { fill: var(--clay); }
.compass span { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; margin-top: 2px; }
.plan__drag { margin-top: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); writing-mode: vertical-rl; }
.plan__note { position: absolute; right: var(--gut); bottom: 20px; max-width: 54ch; text-align: right; font-family: var(--mono); font-size: 10px; letter-spacing: .05em; line-height: 1.6; text-transform: uppercase; color: var(--ink-2); }
.plan__fallback { display: none; }

/* buildings showcase */
.builds { background: var(--paper-2); }
.builds__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 70px); align-items: center; }
.btabs { margin-top: clamp(30px, 4vw, 56px); border-top: 1px solid var(--ink); }
.btab { display: grid; grid-template-columns: 24px minmax(0, 1fr); width: 100%; padding: 13px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.btab i { width: 11px; height: 11px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(27, 28, 25, .18); }
.btab b { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 1.8vw, 27px); line-height: 1.15; transition: color .3s; }
.btab b, .btab p { min-width: 0; }
.builds__copy { min-width: 0; }
.btab p { grid-column: 2; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s ease, margin .5s var(--ease); }
.btab:hover b, .btab.is-active b { color: var(--clay); }
.btab.is-active p { max-height: 120px; opacity: 1; margin-top: 6px; }
.builds__stage { position: relative; aspect-ratio: 1 / .82; min-height: 340px; }
.builds__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.builds__stage canvas.is-dragging { cursor: grabbing; }
.builds__hint { position: absolute; left: 0; top: 0; }
.builds__note { position: absolute; right: 0; bottom: 0; text-align: right; }
.no-gl .builds__stage { display: none; }
.no-gl .btab p { max-height: none; opacity: 1; margin-top: 6px; }

/* principles */
.principles { background: var(--paper-3); }
.principles__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 110px); margin-top: clamp(46px, 7vw, 100px); }
.principles__h { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.plist li { display: grid; grid-template-columns: 62px 1fr; padding: 20px 0 22px; border-bottom: 1px solid var(--rule); align-items: start; }
.plist li > span { font-family: var(--display); font-size: clamp(34px, 3.4vw, 52px); line-height: .9; color: var(--clay); }
.plist b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(21px, 1.9vw, 28px); line-height: 1.14; }
.plist p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }

/* path */
.path .display { max-width: 12ch; }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(46px, 7vw, 100px); border-top: 1px solid var(--ink); }
.phase { padding: 24px clamp(18px, 2.4vw, 40px) 40px 0; border-right: 1px solid var(--rule); }
.phase + .phase { padding-left: clamp(18px, 2.4vw, 40px); }
.phase:last-child { border-right: 0; }
.phase__when { font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--clay); }
.phase h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.05; margin: 34px 0 12px; max-width: 12ch; }
.phase p { color: var(--ink-2); font-size: 15.5px; }
.steps { margin-top: clamp(50px, 7vw, 110px); border-top: 1px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.steps li > span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; color: var(--ink-3); }
.steps h3 { font-family: var(--display); font-weight: 400; font-size: clamp(21px, 2vw, 30px); line-height: 1.12; }
.steps p { color: var(--ink-2); font-size: 15.5px; margin-top: 4px; }
.steps em { font-family: var(--mono); font-style: normal; font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--olive); border: 1px solid currentColor; border-radius: 999px; padding: 4px 10px; }
.steps .is-done > span { color: var(--olive); }

/* disclaimer */
.notice { position: relative; background: var(--paper-2); border-top: 1px solid var(--ink); padding: clamp(44px, 6vw, 84px) 0; }
.notice__grid { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 4fr); gap: clamp(18px, 4vw, 60px); align-items: start; }
.notice__tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--clay); padding-top: 8px; }
.notice__title { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 46px); line-height: 1.08; letter-spacing: -.015em; max-width: 24ch; }
.notice p:not(.notice__tag) { margin-top: 16px; color: var(--ink-2); font-size: 15.5px; max-width: 78ch; }

/* invest */
.invest { position: relative; background: var(--night); color: var(--paper); padding: clamp(90px, 13vw, 180px) 0 0; }
.invest__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.invest__lede { margin-top: 28px; max-width: 52ch; font-size: clamp(16px, 1.25vw, 19px); color: rgba(238, 232, 220, .74); }
.highlights { margin-top: clamp(30px, 4vw, 54px); border-top: 1px solid rgba(238, 232, 220, .5); }
.highlights li { padding: 14px 0 14px 30px; border-bottom: 1px solid rgba(238, 232, 220, .14); position: relative; font-size: 16px; }
.highlights li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 12px; height: 1px; background: #e0906b; }
.form { background: var(--night-2); border: 1px solid rgba(238, 232, 220, .12); border-radius: 4px; padding: clamp(24px, 3vw, 42px); }
.form h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; margin-bottom: 22px; }
.form label { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: rgba(238, 232, 220, .62); margin-top: 16px; }
.form label i { font-style: normal; opacity: .6; }
.form input[type="text"], .form input[type="email"], .form textarea { display: block; width: 100%; margin-top: 6px; background: transparent; border: 0; border-bottom: 1px solid rgba(238, 232, 220, .3); color: var(--paper); font: 400 17px/1.4 var(--sans); padding: 8px 0 10px; border-radius: 0; resize: vertical; transition: border-color .3s; }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: #e0906b; }
.form .is-bad { border-bottom-color: #e77a5a !important; }
.form .check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin: 24px 0 22px; text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 14px; line-height: 1.45; color: rgba(238, 232, 220, .8); cursor: pointer; }
.form .check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--clay); }
.form__status { min-height: 20px; margin-top: 12px; font-size: 14px; color: #f1c7a9; }
.form__alt { margin-top: 4px; font-size: 14px; color: rgba(238, 232, 220, .6); }
.form__alt a { color: var(--paper); border-bottom: 1px solid rgba(238, 232, 220, .4); }
.foot { margin-top: clamp(80px, 11vw, 160px); padding-top: 32px; padding-bottom: 96px; border-top: 1px solid rgba(238, 232, 220, .16); }
.foot__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.foot__row .nav__name { font-size: clamp(34px, 5vw, 72px); line-height: 1; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14.5px; color: rgba(238, 232, 220, .8); }
.foot nav a:hover { color: #fff; }
.foot__legal { font-size: 12.5px; line-height: 1.6; color: rgba(238, 232, 220, .5); max-width: 110ch; margin-top: 12px; }
.foot__copy { margin-top: 28px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: rgba(238, 232, 220, .5); }

.dock { display: none; }

/* reveal defaults (JS adds .js to <html>) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); }

/* no-WebGL / reduced-motion fallback */
.no-gl .stage { display: none; }
.no-gl .journey { height: auto; }
.no-gl .journey__pin { position: relative; height: auto; overflow: visible; }
.no-gl .hero { position: relative; min-height: 100svh; background: linear-gradient(180deg, rgba(238,232,220,.9), rgba(238,232,220,.55) 45%, rgba(238,232,220,.96)), url("assets/img/aerial.webp") center / cover; }
.no-gl .chapter { position: relative; left: auto; bottom: auto; opacity: 1; visibility: visible; margin: 0 var(--gut); padding: 54px 0; border-top: 1px solid var(--rule); width: auto; max-width: 560px; }
.no-gl .journey__progress, .no-gl .plan__tools, .no-gl .hero__meta span:last-child { display: none; }
.no-gl .plan { background: var(--paper); height: auto; min-height: 0; padding: 90px 0 60px; }
.no-gl .plan__stage { display: none; }
.no-gl .plan__ui { position: relative; left: auto; top: auto; bottom: auto; width: auto; margin: 0 var(--gut); max-width: 620px; }
.no-gl .zones { margin-top: 30px; }
.no-gl .zone p { max-height: none; opacity: 1; margin-top: 6px; }
.no-gl .plan__fallback { display: block; width: calc(100% - var(--gut) * 2); margin: 40px var(--gut) 0; border-radius: 2px; }
.no-gl .plan__note { position: relative; right: auto; bottom: auto; text-align: left; margin: 16px var(--gut) 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { padding-bottom: 26px; }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--rule); }
  .stat:nth-child(4) { padding-left: 0; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero__actions { justify-content: flex-start; }
  .hero > .hero__meta { display: none; }
  .hero__title { font-size: clamp(52px, 16.5vw, 120px); }
  .chapter { bottom: 28px; padding: 18px 18px 20px; left: 12px; width: calc(100vw - 24px); background: rgba(238, 232, 220, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--rule); border-radius: 4px; }
  .chapter__title { font-size: 34px; margin: 8px 0 10px; }
  .chapter__body { font-size: 15px; }
  .chapter__fig { margin-top: 14px; padding-top: 12px; }
  .chapter__fig dd { font-size: 18px; }
  .journey__progress, .journey__scrim { display: none; }
  .menifee__cols, .vision__grid, .location__grid, .principles__cols, .invest__grid, .builds__grid, .square__grid { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: 1fr 1fr; }
  .map { position: relative; top: auto; }
  .phases { grid-template-columns: 1fr; }
  .phase, .phase + .phase { padding: 22px 0 30px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .phase h3 { margin-top: 16px; max-width: none; }
  .steps li { grid-template-columns: 40px 1fr; }
  .steps em { grid-column: 2; justify-self: start; }
  /* gallery becomes a native swipe row */
  .places__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; transform: none !important; }
  .places__track::-webkit-scrollbar { display: none; }
  .place { scroll-snap-align: center; }
  .place--wide { width: 86vw; } .place--tall { width: 66vw; margin-top: 0; }
  .place--wide .place__img { aspect-ratio: 4 / 3; }
  /* plan: model on top, list as a horizontal chip row at the bottom */
  .plan { min-height: 640px; }
  .plan::before { background: linear-gradient(180deg, var(--paper) 0%, rgba(238, 232, 220, 0) 30%, rgba(238, 232, 220, 0) 62%, var(--paper) 100%); }
  .plan__ui { left: 0; right: 0; width: auto; top: 76px; bottom: 0; }
  .plan__head { padding: 0 var(--gut); }
  .plan__head .display { font-size: 32px; }
  .zones { display: flex; gap: 8px; overflow-x: auto; border: 0; padding: 0 var(--gut) 78px; scrollbar-width: none; align-items: flex-end; }
  .zones::-webkit-scrollbar { display: none; }
  .zone { flex: none; width: auto; display: block; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 4px; background: rgba(238, 232, 220, .86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); max-width: 76vw; }
  .zone span { display: none; }
  .zone b { font-size: 18px; white-space: nowrap; }
  .zone.is-active { border-color: var(--clay); }
  .zone.is-active p { max-height: 160px; white-space: normal; width: 66vw; }
  .plan__note { display: none; }
  .plan__drag { display: none; }
  .dock { display: flex; position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 50px; align-items: center; justify-content: center; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 500; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); transform: translateY(140%); transition: transform .5s var(--ease); }
  .dock.is-on { transform: none; }
  .nav__cta { display: none; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat, .stat:nth-child(4) { padding-left: 14px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(3) { border-right: 1px solid var(--rule); }
  .stat:nth-child(even) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .ledger { grid-template-columns: 1fr; }
  .ledger h3 { margin-top: 12px; }
  .callouts li, .square__list li { grid-template-columns: 1fr; gap: 4px; }
  .notice__grid { grid-template-columns: 1fr; }
  .nav__logo { width: 40px; height: 40px; }
  .hero__actions .btn { height: 44px; padding: 0 18px; font-size: 14px; }
  .plist li { grid-template-columns: 48px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .map__site .map__pulse { animation: none; }
}

/* ---------- phone refinements ---------- */
@media (max-width: 900px) {
  body { overflow-x: clip; }
  .builds__grid, .square__grid, .vision__grid, .location__grid, .invest__grid, .principles__cols, .menifee__cols { grid-template-columns: minmax(0, 1fr); }
  .builds__stage { aspect-ratio: 1 / 1; min-height: 0; width: 100%; }
  .builds__note { left: 0; text-align: left; white-space: normal; }
  .builds__hint { top: -6px; }
  .journey { height: 540vh; }
  .chapter { bottom: calc(74px + env(safe-area-inset-bottom)); }
  .hero__foot { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .hero > .hero__eyebrow { right: var(--gut); }
  .eyebrow { gap: 4px 14px; font-size: 10.5px; }
  .eyebrow span + span::before { width: 12px; margin-right: 14px; }
  .nav { padding: 12px var(--gut); gap: 12px; }
  .nav__name { font-size: 21px; }
  .nav__burger { flex: none; width: 44px; height: 44px; margin-right: -8px; }
  .menu a { padding: 10px 0; }
  .film__copy { font-size: clamp(28px, 8vw, 44px); bottom: calc(86px + env(safe-area-inset-bottom)); }
  .film .tag { bottom: calc(70px + env(safe-area-inset-bottom)); }
  .square__img { height: 62vw; min-height: 240px; }
  .places__hint span { display: none; }
  .places__hint::after { content: " / swipe"; }
  /* the schematic map: larger lettering so it stays readable when the drawing shrinks */
  .map__ringlabels text, .map__roadlabels text, .map__far text, .map__north text { font-size: 16px; letter-spacing: .04em; }
  .map__places text { font-size: 21px; }
  .map__site text { font-size: 32px; }
  .label3d { font-size: 9.5px; letter-spacing: .06em; }
  .plan__ui { top: 70px; }
  .zone { min-height: 44px; }
  .btab { padding: 15px 0; }
  .steps li { padding: 18px 0; }
  .form { padding: 22px 18px; }
  .form input[type="text"], .form input[type="email"], .form textarea { font-size: 16px; }
  .form .check input { width: 22px; height: 22px; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .foot nav { gap: 6px 20px; }
  .foot nav a { padding: 8px 0; }
  .notice__title { font-size: 26px; }
  .grain { opacity: .22; }
}
@media (max-width: 380px) {
  .hero__title { font-size: 15.5vw; }
  .nav__place { display: none; }
  .stat b { font-size: 30px; }
}
@media (hover: none) {
  .plan__drag { display: none; }
  .btn--solid:hover { background: var(--ink); }
}
