/* =========================================================
   75 Broadway — Conversion Landing Page
   Brand: Classic Roman Std (display) · Graphik (text)
   ========================================================= */

@font-face { font-family: "Classic Roman"; src: url("../fonts/ClassicRomanStd-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Graphik"; src: url("../fonts/Graphik-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Graphik"; src: url("../fonts/Graphik-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Graphik"; src: url("../fonts/Graphik-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }

:root {
  --olive-900: #302E15;   /* primary dark (official site) */
  --olive-800: #3B3A1E;
  --olive-700: #565535;   /* logo / fact sheet green */
  --olive-500: #7A7856;
  --taupe: #9C8E7C;
  --cream: #EAE6DD;       /* official site light */
  --stone: #E3DED7;       /* fact sheet paper */
  --paper: #F6F3EC;
  --ink: #302E15;
  --white: #FFFFF8;
  --line: rgba(48, 46, 21, .18);
  --line-light: rgba(234, 230, 221, .28);

  --f-display: "Classic Roman", "Cormorant Garamond", Georgia, serif;
  --f-text: "Graphik", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --sec: clamp(72px, 11vw, 160px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hdr-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }  /* no CSS smooth scroll: it breaks ScrollTrigger re-measuring */
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(--f-text);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1.1em; }
strong, b { font-weight: 500; }
address { font-style: normal; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--olive-900); color: var(--cream); padding: 10px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.btn:focus-visible { outline-color: var(--bd); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 940px; }
.center { text-align: center; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--f-text);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0 0 18px;
  display: block;
}
.h1, .h2, .h3, .statement, .hero__title, .logo__word, .plan__name, .stats strong, .timeline span {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: .02em;
}
.h1 { font-size: clamp(36px, 5.6vw, 76px); line-height: 1.04; margin: 0 0 24px; text-transform: uppercase; }
.h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.08; margin: 0 0 24px; text-transform: uppercase; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; margin: 0 0 14px; text-transform: uppercase; }
.body-lg { font-size: clamp(16px, 1.3vw, 18px); max-width: 720px; margin-left: auto; margin-right: auto; }
.fine { font-size: 11px; line-height: 1.6; opacity: .65; margin-top: 40px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--olive-900); --fg: var(--cream); --bd: var(--olive-900);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 30px;
  border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--f-text); font-weight: 500; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; line-height: 1.2; text-align: center;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover-bg, var(--olive-700));
  transform: translateY(101%); transition: transform .55s var(--ease);
  border-radius: inherit;
}
@media (hover: hover) { .btn:hover::before { transform: translateY(0); } .btn:hover { color: var(--hover-fg, var(--fg)); border-color: var(--hover-bd, var(--bd)); } }
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.btn--sm { min-height: 40px; padding: 10px 22px; font-size: 11px; }
.btn--block { width: 100%; }
.btn--dark { --hover-bg: var(--olive-700); }
.btn--light { --bg: var(--cream); --fg: var(--olive-900); --bd: var(--cream); --hover-bg: var(--white); }
.btn--outline { --bg: transparent; --fg: var(--olive-900); --bd: var(--olive-900); --hover-bg: var(--stone); --hover-fg: var(--olive-900); }
.btn--ghost-light { --bg: transparent; --fg: var(--cream); --bd: rgba(234,230,221,.6); --hover-bg: rgba(234,230,221,.16); --hover-fg: var(--cream); --hover-bd: var(--cream); }
/* Hover states never borrow a neighbouring button's resting look:
   filled -> lighter fill, outline -> soft tinted fill, ghost -> frosted fill. */
.btn--light { box-shadow: 0 0 0 rgba(20,19,8,0); transition: color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease); }
@media (hover: hover) { .btn--light:hover { box-shadow: 0 10px 30px -12px rgba(20,19,8,.45); } .btn--ghost-light:hover, .btn--ghost-light:focus-visible { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); } }
.btn--link { --bg: transparent; --bd: transparent; --fg: var(--olive-900); padding-left: 4px; padding-right: 4px; }
.btn--link::before {
  display: block; z-index: 0; inset: auto 4px 12px 4px; height: 1px; border-radius: 0;
  background: currentColor; transform: scaleX(1); transform-origin: right;
  transition: transform .6s var(--ease);
}
.btn--link::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 12px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease) .15s;
}
.btn--link svg { transition: transform .5s var(--ease); }
@media (hover: hover) {
  .btn--link:hover { color: var(--olive-700); }
  .btn--link:hover::before { transform: scaleX(0); }
  .btn--link:hover::after { transform: scaleX(1); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px; }
.btn-row.center { justify-content: center; }

.ticks { margin: 0 0 32px; }
.ticks li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h);
  color: var(--cream);
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease), box-shadow .5s;
}
.hdr.is-solid { background: rgba(246, 243, 236, .58); color: var(--olive-900); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); box-shadow: 0 1px 0 rgba(48,46,21,.1); }
/* Browsers without backdrop-filter get a near-solid bar so text stays legible. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .hdr.is-solid { background: rgba(246, 243, 236, .96); } }
.hdr.is-solid .btn { --bg: var(--olive-900); --fg: var(--cream); --bd: var(--olive-900); --hover-bg: var(--olive-700); }
.hdr__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter); max-width: 1600px; margin: 0 auto; }
.hdr__nav { display: none; gap: 30px; }
.hdr__nav a { text-decoration: none; font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; position: relative; padding: 6px 0; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hdr__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.logo { grid-column: 2; display: flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.logo__word { font-size: 32px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; line-height: 1; }
/* Classic Roman's capitals sit at the top of the line box (no descenders), leaving ~0.15em
   empty below. Nudge the lettering down so it is optically centred in the header. */
.hdr .logo__word { transform: translateY(.16em); }
.logo--lg .logo__word { font-size: clamp(34px, 5vw, 56px); }
.hdr__actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 22px; }
.hdr__phone { display: none; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; font-size: 12px; letter-spacing: .14em; }
.hdr__phone svg { width: 14px; height: 14px; fill: currentColor; }
.hdr .btn { --bg: var(--cream); --fg: var(--olive-900); --bd: var(--cream); --hover-bg: var(--white); }
.hdr__inner > .logo:first-child { grid-column: 2; }

@media (max-width: 767px) {
  :root { --hdr-h: 64px; }
  .hdr__inner { grid-template-columns: auto 1fr auto; }
  .logo { grid-column: 1; align-items: flex-start; }
  .logo__word { font-size: 24px; }
  .hdr__actions { grid-column: 3; }
}
@media (min-width: 1100px) {
  .hdr__nav { display: flex; }
  .hdr__phone { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  color: var(--cream); background: var(--olive-900);
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; will-change: transform; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(48,46,21,.55) 0%, rgba(48,46,21,0) 24%),
    linear-gradient(0deg, rgba(30,29,13,.88) 0%, rgba(30,29,13,.35) 45%, rgba(30,29,13,0) 70%);
}
@media (min-width: 1024px) {
  .hero__shade { background:
    linear-gradient(180deg, rgba(48,46,21,.5) 0%, rgba(48,46,21,0) 22%),
    linear-gradient(90deg, rgba(30,29,13,.78) 0%, rgba(30,29,13,.45) 38%, rgba(30,29,13,.1) 62%, rgba(30,29,13,.35) 100%),
    linear-gradient(0deg, rgba(30,29,13,.7) 0%, rgba(30,29,13,0) 50%); }
}
.hero__grid { position: relative; z-index: 2; display: grid; gap: 40px; padding-top: calc(var(--hdr-h) + 40px); padding-bottom: clamp(88px, 12vh, 120px); }
.hero__eyebrow { margin-bottom: 22px; }
.hero__title { font-size: clamp(36px, 4.5vw, 66px); line-height: 1.04; margin: 0 0 24px; text-transform: uppercase; text-shadow: 0 2px 30px rgba(20,19,8,.25); }
.hero__lede { font-size: clamp(15px, 1.35vw, 19px); line-height: 1.6; margin-bottom: 34px; letter-spacing: .01em; }
.hero__lede .line-mask > span { text-wrap: balance; }
@media (min-width: 768px) { .hero__lede .line-mask > span { white-space: nowrap; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; }
.line-mask > span { display: block; }
.hero__form { display: none; }
/* The hero form only shows for the "form" variant (?hero=form or SITE_CONFIG.heroForm). */
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--cream), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 767px) {
  .hero__media img { object-position: 50% 30%; }
  .hero__shade { background:
    linear-gradient(180deg, rgba(48,46,21,.55) 0%, rgba(48,46,21,0) 18%),
    linear-gradient(0deg, rgba(30,29,13,.95) 0%, rgba(30,29,13,.82) 38%, rgba(30,29,13,.35) 62%, rgba(30,29,13,0) 78%); }
  .hero__title { font-size: clamp(32px, 9vw, 40px); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__grid { padding-bottom: 104px; }
}
@media (min-width: 768px) { .hero__scroll { display: flex; } }
@media (min-width: 1024px) {
  .hero { align-items: center; }
  .hero__grid { align-items: end; padding-bottom: 96px; }
  .hero-form .hero__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; }
  .hero-form .hero__form { display: block; }
  .hero__scroll { display: none; }
}
/* Clean hero (no form): copy moves into the open sky on the right so the tower,
   which sits left of centre in the rendering, stays unobstructed. */
@media (min-width: 1024px) {
  html:not(.hero-form) .hero__media img { object-position: 65% 50%; }
  /* Wider grid than the page wrap so the copy can sit further right, clear of the tower. */
  html:not(.hero-form) .hero__grid { justify-items: end; max-width: 1720px; }
  html:not(.hero-form) .hero__copy { width: max-content; max-width: 100%; }
  /* Each headline sentence and subline stays on one line. */
  html:not(.hero-form) .hero__title .line-mask > span { white-space: nowrap; }
  html:not(.hero-form) .hero__title { font-size: clamp(36px, 3.7vw, 60px); }
  /* Darker on the right where the copy sits, plus a soft pool of shade directly behind it. */
  html:not(.hero-form) .hero__shade { background:
    radial-gradient(ellipse 48% 58% at 74% 56%, rgba(20,19,8,.5) 0%, rgba(20,19,8,.22) 55%, rgba(20,19,8,0) 100%),
    linear-gradient(180deg, rgba(48,46,21,.5) 0%, rgba(48,46,21,0) 22%),
    linear-gradient(270deg, rgba(30,29,13,.8) 0%, rgba(30,29,13,.58) 36%, rgba(30,29,13,.18) 60%, rgba(30,29,13,.12) 100%),
    linear-gradient(0deg, rgba(30,29,13,.6) 0%, rgba(30,29,13,0) 45%); }
  html:not(.hero-form) .hero__lede { font-weight: 400; text-shadow: 0 1px 18px rgba(20,19,8,.45); }
  html:not(.hero-form) .hero__eyebrow { text-shadow: 0 1px 14px rgba(20,19,8,.5); }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .hero__form .field-row { gap: 10px; }
  .hero__form .field { margin-bottom: 10px; }
}

/* ---------- Glass / Solid cards & forms ---------- */
.card-glass {
  background: rgba(48, 46, 21, .55);
  backdrop-filter: blur(18px) saturate(120%); -webkit-backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid var(--line-light);
  padding: 32px 30px 26px;
}
.card-glass__title { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1.15; text-transform: uppercase; margin: 0 0 22px; letter-spacing: .02em; }
.card-solid { background: var(--paper); color: var(--ink); padding: clamp(24px, 4vw, 48px); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; position: relative; }
.field > span { display: block; font-weight: 500; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 6px; opacity: .85; }
.field input, .field select {
  width: 100%; height: 46px; padding: 0 2px;
  border: 0; border-bottom: 1px solid currentColor; border-radius: 0;
  background: transparent; color: inherit;
  font: 300 16px/1 var(--f-text);  /* 16px prevents iOS zoom */
  -webkit-appearance: none; appearance: none;
  transition: border-color .3s;
}
.card-glass .field input, .card-glass .field select { border-bottom-color: rgba(234,230,221,.5); }
.field input:focus, .field select:focus { outline: none; border-bottom-width: 2px; }
.field--select::after { content: ""; position: absolute; right: 4px; bottom: 19px; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); pointer-events: none; }
.field select option { color: var(--ink); }
.field.is-invalid input, .field.is-invalid select { border-bottom-color: #B4492F !important; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 11px; line-height: 1.5; margin: 6px 0 18px; opacity: .85; cursor: pointer; }
.consent input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--olive-700); }
.consent.is-invalid { color: #B4492F; opacity: 1; }
.card-glass .consent.is-invalid { color: #F0B8A6; }
.form-error { font-size: 12px; margin: 12px 0 0; color: #B4492F; }
.card-glass .form-error { color: #F0B8A6; }
.lead-form.is-loading button[type=submit] { opacity: .6; pointer-events: none; }

/* ---------- Intro ---------- */
.intro { padding: var(--sec) 0; background: var(--paper); }
.statement { font-size: clamp(26px, 3.4vw, 46px); line-height: 1.22; margin: 0 auto 36px; max-width: 900px; }
.statement .w { display: inline-block; }

/* ---------- Rise (scroll-scrubbed frame sequence) ---------- */
.rise { position: relative; height: 364vh; background: #1d2433; color: var(--cream); }
.rise__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.rise__canvas, .rise__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.rise__fallback { display: none; }
.no-canvas .rise__fallback { display: block; }
.rise__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,24,34,0) 30%, rgba(20,24,34,.55) 100%), linear-gradient(0deg, rgba(20,24,34,.55), rgba(20,24,34,0) 40%); pointer-events: none; }
.rise__beats { position: absolute; inset: 0; display: grid; align-items: center; justify-items: end; pointer-events: none; }
.rise__beat { grid-area: 1 / 1; max-width: 520px; text-align: left; opacity: 0; }
.rise__beat .btn { pointer-events: auto; margin-top: 28px; }
.rise__big { font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 54px); line-height: 1.08; text-transform: uppercase; margin: 0; text-shadow: 0 2px 30px rgba(10,12,20,.35); }
.rise__stats { display: grid; grid-template-columns: repeat(2, auto); gap: 22px 48px; }
.rise__stats li { display: flex; flex-direction: column; gap: 6px; }
.rise__stats strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; }
.rise__stats span { font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.rise__progress { position: absolute; left: var(--gutter); bottom: 32px; width: 120px; height: 1px; background: rgba(234,230,221,.25); }
.rise__progress i { position: absolute; inset: 0; background: var(--cream); transform: scaleX(0); transform-origin: left; }
@media (max-width: 767px) {
  .rise { height: 294vh; }
  .rise__canvas, .rise__fallback { object-position: 50% 50%; }
  .rise__shade { background: linear-gradient(0deg, rgba(20,24,34,.85) 0%, rgba(20,24,34,.35) 45%, rgba(20,24,34,0) 65%); }
  .rise__beats { align-items: end; justify-items: start; padding-bottom: 96px; }
  .rise__stats { gap: 18px 32px; }
}
/* No motion: show the finished frame and all facts statically. */
.rise.is-static { height: auto; }
.rise.is-static .rise__sticky { position: relative; height: auto; min-height: 90vh; }
.rise.is-static .rise__beat { opacity: 1; }
.rise.is-static .rise__beat:not(.rise__beat--final) { display: none; }

/* ---------- Split ---------- */
.split { padding: var(--sec) 0; background: var(--paper); }
.split__grid { display: grid; gap: 44px; align-items: center; }
.split__media { overflow: hidden; aspect-ratio: 4 / 5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .split__grid { grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 120px); }
  .split__copy { max-width: 520px; }
}

/* ---------- Expanding film ---------- */
.expand { background: var(--paper); position: relative; }
.expand__sticky { height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
@media (min-width: 1024px) {
  .expand { height: 220vh; }
  .expand__sticky { position: sticky; top: 0; }
}
.expand__frame { position: relative; width: 100%; height: 100%; overflow: hidden; color: var(--cream); display: flex; align-items: flex-end; }
.expand__video, .expand__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.expand__video { display: none; }
.expand__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30,29,13,.75), rgba(30,29,13,0) 60%); }
.expand__copy { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(48px, 8vh, 96px); max-width: 900px; }
@media (min-width: 1024px) {
  .expand__video { display: block; }
  .expand__poster { display: none; }
}
@media (max-width: 767px) { .expand__sticky { height: 85svh; } }

/* ---------- Gallery ---------- */
.gallery { background: var(--olive-900); color: var(--cream); padding: var(--sec) 0; overflow: clip; }
.gallery__head { display: grid; gap: 16px; margin-bottom: 48px; }
.gallery__hint { max-width: 420px; opacity: .8; margin: 0; }
@media (min-width: 900px) { .gallery__head { grid-template-columns: 1fr auto; align-items: end; } }
.gallery__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 var(--gutter); }
.gallery__viewport::-webkit-scrollbar { display: none; }
.gallery__track { display: flex; gap: 16px; width: max-content; padding-right: var(--gutter); }
.gallery__item { scroll-snap-align: start; flex: none; width: 82vw; position: relative; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__item span { display: block; margin-top: 14px; font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.gallery__item--cta { display: flex; flex-direction: column; justify-content: center; padding: 32px; border: 1px solid var(--line-light); aspect-ratio: 4 / 3; height: auto; }
.gallery__item--cta .h3 { margin-bottom: 26px; }
.gallery__item--cta .btn { align-self: flex-start; }
/* Desktop: sticky horizontal scroll. Items are sized from viewport height so
   every photo and its caption always fit on screen, whatever the display. */
@media (min-width: 1024px) {
  .gallery { padding: 0; }
  .gallery__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--hdr-h); overflow: hidden; }
  .gallery__head { margin-bottom: clamp(24px, 4vh, 48px); }
  .gallery__viewport { overflow: visible; scroll-snap-type: none; padding: 0; }
  .gallery__track { --h: min(56vh, 620px); gap: 28px; padding: 0 var(--gutter); align-items: flex-start; will-change: transform; }
  .gallery__item { width: auto; }
  .gallery__item img { height: var(--h); width: calc(var(--h) * 1.6); aspect-ratio: auto; }
  .gallery__item--tall img { width: calc(var(--h) * .8); }
  .gallery__item--cta { width: calc(var(--h) * .8); height: var(--h); aspect-ratio: auto; padding: 40px; }
}

/* ---------- Floor plans ---------- */
.plans { padding: var(--sec) 0; background: var(--stone); }
.plans__head { margin-bottom: 40px; }
.tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 44px; padding: 0 var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: none; border: 1px solid var(--line); background: transparent; border-radius: 999px;
  padding: 12px 20px; font-weight: 500; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.tabs button[aria-selected="true"] { background: var(--olive-900); color: var(--cream); border-color: var(--olive-900); }
@media (max-width: 600px) { .tabs { justify-content: flex-start; } }
.plan { display: grid; gap: 36px; align-items: center; }
.plan__name { font-size: clamp(34px, 4vw, 56px); line-height: 1; margin: 0 0 10px; }
.plan__type { font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 28px; opacity: .8; }
.plan__specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 28px; border-top: 1px solid var(--olive-900); border-bottom: 1px solid var(--line); }
.plan__specs div { padding: 16px 0; }
.plan__specs div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.plan__specs dt { font-weight: 500; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.plan__specs dd { margin: 4px 0 0; font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); }
.plan__img { background: #F7F1EB; padding: clamp(12px, 3vw, 40px); }
.plan__img img { width: 100%; max-height: 78vh; object-fit: contain; margin: 0 auto; }
.plan__img--photo { padding: 0; background: none; }
.plan__img--photo img { aspect-ratio: 4 / 3; object-fit: cover; max-height: none; }
.plan.is-entering .plan__img, .plan.is-entering .plan__info { animation: planIn .8s var(--ease) both; }
.plan.is-entering .plan__info { animation-delay: .08s; }
@keyframes planIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (min-width: 1024px) {
  .plan { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 6vw, 96px); }
  .plan .ticks li { font-size: 14.5px; }
}

/* ---------- Feature (kitchen) ---------- */
.feature { background: var(--olive-700); color: var(--cream); }
.feature__grid { display: grid; }
.feature__copy { padding: var(--sec) var(--gutter); display: flex; align-items: center; }
.feature__inner { width: 100%; max-width: 560px; }
.feature__media { overflow: hidden; min-height: 60vw; position: relative; }
.feature__media img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
@media (min-width: 1024px) {
  .feature__grid { grid-template-columns: 1fr 1.1fr; min-height: 90vh; }
  .feature__copy { padding: 96px clamp(40px, 4vw, 72px) 96px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .feature__inner { max-width: 600px; }
  .feature__media { min-height: 0; }
}

/* ---------- Amenities ---------- */
.amen { padding: var(--sec) 0; background: var(--paper); }
.amen__head { margin-bottom: 56px; }
.amen__grid { display: grid; gap: 40px; }
.amen__visual { display: none; }
.amen__item { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.amen__item:last-child { margin-bottom: 0; }
.amen__thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 24px; }
.amen__cta { margin-top: 56px; }
@media (min-width: 1024px) {
  /* Wider image column + height capped by width keeps the renderings landscape. */
  .amen__grid { --amen-h: min(calc(100vh - var(--hdr-h) - 48px), 36vw); max-width: 1760px; grid-template-columns: 1.6fr 1fr; gap: clamp(48px, 5vw, 96px); align-items: start; }
  .amen__visual { display: block; position: sticky; top: calc(var(--hdr-h) + (100vh - var(--hdr-h) - var(--amen-h)) / 2); height: var(--amen-h); }
  .amen__stack { position: relative; width: 100%; height: 100%; overflow: hidden; }
  /* Opacity and scale are driven by scroll in main.js; later images stack on top of earlier ones. */
  .amen__stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; will-change: opacity, transform; }
  .amen__stack img:first-child { opacity: 1; }
  .amen__level { position: absolute; left: 28px; bottom: 24px; color: var(--cream); display: flex; flex-direction: column; line-height: 1; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
  .amen__level small { font-weight: 500; font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 6px; }
  .amen__level b { font-family: var(--f-display); font-weight: 400; font-size: 96px; }
  .amen__thumb { display: none; }
  .amen__list { padding: 0; }
  .amen__item { min-height: calc(100vh - var(--hdr-h) - 48px); display: flex; flex-direction: column; justify-content: center; border: 0; margin: 0; padding: 0; opacity: .32; transition: opacity .6s var(--ease); }
  .amen__item.is-active { opacity: 1; }
}

/* ---------- Deposit ---------- */
.deposit { background: var(--olive-900); color: var(--cream); padding: var(--sec) 0 calc(var(--sec) * .6); }
.deposit__grid { display: grid; gap: 48px; }
.timeline { position: relative; border-left: 1px solid var(--line-light); }
.timeline li { display: flex; gap: 22px; align-items: baseline; padding: 14px 0 14px 24px; position: relative; border-bottom: 1px solid var(--line-light); }
.timeline li::before { content: ""; position: absolute; left: -4px; top: 26px; width: 7px; height: 7px; border-radius: 50%; background: var(--cream); }
.timeline span { font-size: clamp(30px, 3vw, 42px); min-width: 2.6em; line-height: 1; }
.timeline b { display: block; font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.timeline small { font-size: 13px; opacity: .7; }
.timeline .is-close span { color: var(--taupe); }
@media (min-width: 1024px) { .deposit__grid { grid-template-columns: 1fr 1fr; gap: 120px; align-items: center; } }

/* ---------- Team ---------- */
.team { background: var(--stone); padding: clamp(56px, 8vw, 96px) 0; }
.team__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; margin-top: 32px; text-align: center; }
.team__list b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(20px, 2vw, 26px); text-transform: uppercase; letter-spacing: .03em; line-height: 1.15; }
.team__list span { font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; opacity: .65; }
@media (min-width: 640px) { .team__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) {
  .team__list { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
  .team__list li { white-space: nowrap; }
  .team__list b { font-size: clamp(18px, 1.55vw, 26px); }
}

/* ---------- Location ---------- */
.loc { background: var(--paper); padding-bottom: var(--sec); }
.loc__media { overflow: hidden; height: 62vh; min-height: 340px; }
.loc__media img { width: 100%; height: 100%; object-fit: cover; }
.loc__grid { display: grid; gap: 40px; padding-top: clamp(56px, 8vw, 104px); }
.loc__list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.loc__list li:first-child { border-top: 1px solid var(--olive-900); }
.loc__list b { font-weight: 500; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .7; white-space: nowrap; align-self: center; }
@media (min-width: 1024px) { .loc__grid { grid-template-columns: 1fr 1fr; gap: 120px; } }

/* ---------- Inquire ---------- */
.inquire { position: relative; color: var(--cream); padding: var(--sec) 0; background: var(--olive-900); overflow: hidden; }
.inquire__bg { position: absolute; inset: 0; }
.inquire__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.inquire__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(48,46,21,.92), rgba(48,46,21,.6)); }
.inquire__grid { position: relative; display: grid; gap: 48px; }
.inquire__contact { margin-top: 36px; line-height: 1.8; font-size: 15px; }
.inquire__contact a { text-decoration: none; border-bottom: 1px solid var(--line-light); }
.inquire__contact .eyebrow { margin-bottom: 10px; }
@media (min-width: 1024px) { .inquire__grid { grid-template-columns: 1fr 1.1fr; gap: 96px; align-items: center; } }
@media (max-width: 480px) { .inquire .field-row:not(.field-row--keep), .modal .field-row:not(.field-row--keep) { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.ftr { background: var(--stone); color: var(--olive-900); padding: 80px 0 0; overflow: hidden; }
.ftr__top { display: grid; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.ftr .logo { align-items: flex-start; }
.ftr__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; font-size: 14px; }
.ftr__cols a { text-decoration: none; }
.ftr__cols .eyebrow { opacity: .6; margin-bottom: 12px; }
.ftr__legal { padding-top: 40px; font-size: 10.5px; line-height: 1.7; opacity: .72; }
.ftr__bottom { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; letter-spacing: .1em; text-transform: uppercase; }
.ftr__bottom a { text-decoration: none; }
/* Oversized wordmark: font-size is set so the word spans the full content width (K = word width in em). */
.ftr__mark { --k: 6.66; display: block; padding: 0 var(--gutter); margin-top: clamp(48px, 7vw, 96px); text-decoration: none; color: #D3CCC1; line-height: 1; overflow: hidden; padding-top: .04em; transition: color .8s var(--ease); }
.ftr__mark-word { display: block; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; white-space: nowrap; font-size: calc((100vw - 2 * var(--gutter)) / var(--k)); letter-spacing: 0; text-align: center; }
.ftr__mark .ch { display: inline-block; will-change: transform; }
@media (hover: hover) { .ftr__mark:hover { color: #C7BFB2; } }
@media (max-width: 1023px) { .ftr__mark { margin-bottom: 76px; } }
@media (min-width: 1024px) { .ftr__top { padding-bottom: 48px; } }

/* ---------- Mobile sticky CTA ---------- */
.mbar {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: auto 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(48, 46, 21, .97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-light);
  transform: translateY(110%); transition: transform .5s var(--ease);
}
.mbar.is-visible { transform: none; }
.mbar a, .mbar button {
  min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px;
  font-weight: 500; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.mbar__call { padding: 0 22px; color: var(--cream); border: 1px solid rgba(234,230,221,.5); }
.mbar__call svg { width: 15px; height: 15px; fill: currentColor; }
.mbar__cta { background: var(--cream); color: var(--olive-900); border: 0; }
@media (min-width: 1024px) { .mbar { display: none; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(30, 29, 13, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal__panel { position: relative; width: 100%; max-width: 920px; max-height: calc(100svh - 32px); overflow: auto; overscroll-behavior: contain; background: var(--paper); display: grid; }
.modal__media { display: none; }
.modal__body { padding: 44px clamp(22px, 4vw, 48px) 32px; }
.modal__sub { font-size: 14.5px; margin-bottom: 24px; }
.modal__close { position: absolute; right: 10px; top: 8px; z-index: 3; width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; font-weight: 300; color: var(--ink); }
.modal__close--light { color: var(--cream); right: 16px; top: 16px; }
@media (min-width: 860px) {
  .modal__panel { grid-template-columns: .9fr 1.1fr; }
  .modal__media { display: block; position: relative; }
  .modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}
@media (max-width: 600px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal__panel { max-height: 94svh; }
}

/* ---------- Film lightbox ---------- */
.film { position: fixed; inset: 0; z-index: 110; background: rgba(20, 19, 8, .96); display: flex; align-items: center; justify-content: center; padding: 64px 16px; }
.film__stage { width: 100%; max-width: 1280px; display: flex; align-items: center; justify-content: center; }
.film video, .film iframe { width: 100%; max-height: calc(100svh - 128px); aspect-ratio: 16 / 9; background: #000; border: 0; display: block; }

body.is-locked { overflow: hidden; }

/* ---------- Animation initial states (only when JS + motion) ---------- */
.anim [data-reveal] { opacity: 0; transform: translateY(32px); }
.anim .hero .line-mask > span { transform: translateY(105%); }
.anim .hero__form, .anim .hero__ctas { opacity: 0; }
.anim [data-clip] { clip-path: inset(18% 8%); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Consent disclosure (replaces the checkbox; submitting = consent) */
.consent-note { font-size: 10.5px; line-height: 1.55; margin: 12px 0 0; opacity: .72; text-align: left; }
.consent-note a { color: inherit; text-underline-offset: 2px; }
.card-glass .consent-note { opacity: .8; }

/* A/B experiments: while PostHog picks a variant (max ~1s, desktop only), keep the
   tested hero area hidden so the visitor never sees one version switch to another. */
.exp-pending .hero__media, .exp-pending .hero__grid { opacity: 0; }
.hero__media, .hero__grid { transition: opacity .5s var(--ease); }

/* Spam trap: kept off-screen rather than display:none so naive bots still fill it in. */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
