/* ──────────────────────────────────────────────────────────────
   USA Dream® — "The Blue Horizon" design system
   Blues and red sampled from the official USA Dream logo:
   royal wordmark blue ≈ #1C4A9C · star cyan ≈ #0A84CF · crimson ≈ #C21F32
   ────────────────────────────────────────────────────────────── */
:root {
  --sky: #f7fbfe;        /* main page background */
  --mist: #eff6fb;       /* subtle panel */
  --coast: #e6f1f9;      /* light coastal blue */
  --powder: #d6e8f5;     /* alternate section */
  --line: #c7dcea;       /* pale blue-gray borders */
  --line-strong: #9fc0d8;
  --azure: #2f7fc1;      /* star-gradient blue: rules, markers */
  --royal: #1c4a9c;      /* logo wordmark blue: buttons, links */
  --royal-deep: #163c80;
  --ink: #12325a;        /* headings */
  --text: #2b4359;       /* body copy */
  --muted: #546d82;      /* captions */
  --red: #c21f32;        /* logo crimson: restrained accents only */
  --white: #ffffff;

  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 76px;
  --gutter: clamp(20px, 4.2vw, 64px);
}
@media (max-width: 1023px) { :root { --header-h: 64px; } }

/* ── Reset / base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { background: var(--sky); -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  background: var(--sky); color: var(--text);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; padding: 0; }
::selection { background: var(--powder); color: var(--ink); }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 200; background: var(--royal); color: #fff; padding: 10px 16px; border-radius: 8px; transform: translateY(-160%); transition: transform .3s; }
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.section { padding-block: clamp(88px, 11vw, 176px); }

/* ── Typography ───────────────────────────────────────────── */
.display, .h1, .h2, .h3 { font-family: var(--font-serif); font-weight: 400; color: var(--ink); letter-spacing: -0.012em; text-wrap: balance; }
.display { font-size: clamp(2.75rem, 6.4vw, 6.4rem); line-height: 0.98; }
.h1 { font-size: clamp(2.45rem, 5vw, 4.8rem); line-height: 1.02; }
.h2 { font-size: clamp(2rem, 3.4vw, 3.3rem); line-height: 1.06; }
.h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.15; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; color: var(--royal); }
.lede { font-size: clamp(1.04rem, 1.2vw, 1.18rem); line-height: 1.7; max-width: 38em; }
.body-copy p + p { margin-top: 1.1em; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--royal); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); flex: none; }
.label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.caption { font-size: 0.8rem; line-height: 1.55; color: var(--muted); }
.caption strong { color: var(--ink); font-weight: 600; }
.status-tag {
  display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; vertical-align: 1px;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--royal); border: 1px solid var(--line-strong); padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.75);
}
.status-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.marker { width: 7px; height: 7px; background: var(--red); display: inline-block; flex: none; transform: rotate(45deg); }

/* ── Buttons & links ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn .arrow, .link-line .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow, .link-line:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--royal); color: var(--white); }
.btn--primary:hover { background: var(--royal-deep); }
.btn--ghost { color: var(--ink); border: 1px solid var(--line-strong); background: rgba(255,255,255,.6); }
.btn--ghost:hover { border-color: var(--royal); color: var(--royal); background: var(--white); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 0.8rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-line { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.86rem; color: var(--royal); padding-bottom: 6px; }
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease); }
.link-line:hover::after { transform: scaleX(0); }

.frame { position: relative; overflow: hidden; background: var(--powder); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ── Reveal system (hidden only when JS is present) ───────── */
html.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
html.js:not(.intro-playing) [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal="media"] { opacity: 1; transform: none; clip-path: inset(10% 0 0 0); transition: clip-path 1.5s var(--ease); }
html.js [data-reveal="media"] img:not([data-parallax]):not([data-zoom]) { transform: scale(1.08); transition: transform 1.8s var(--ease); }
html.js:not(.intro-playing) [data-reveal="media"].is-in { clip-path: inset(0 0 0 0); }
html.js:not(.intro-playing) [data-reveal="media"].is-in img:not([data-parallax]):not([data-zoom]) { transform: none; }
/* masked word-by-word headline reveal (words split by main.js) */
.tr-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.tr-w > span { display: inline-block; }
html.js .tr[data-reveal] { opacity: 1; transform: none; }
html.js .tr[data-reveal] .tr-w > span { transform: translate3d(0, 110%, 0); transition: transform 1.15s var(--ease); transition-delay: calc((var(--d, 0) + var(--i) * 55) * 1ms); }
html.js:not(.intro-playing) .tr[data-reveal].is-in .tr-w > span { transform: none; }
html.reveal-all [data-reveal], html.reveal-all [data-reveal] img, html.reveal-all .tr-w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }

/* ── Preloader — The Blue Horizon Reveal ──────────────────── */
.preloader { position: fixed; inset: 0; z-index: 100; animation: preloaderFailsafe .6s 7s forwards; }
html:not(.js) .preloader, html.no-intro .preloader { display: none; }
.preloader__panel { position: absolute; left: 0; right: 0; height: 50.5%; will-change: transform; }
.preloader__panel--top { top: 0; background: linear-gradient(180deg, #f4f9fd 0%, var(--coast) 100%); }
.preloader__panel--bottom { bottom: 0; background: linear-gradient(0deg, #d9e9f5 0%, var(--coast) 100%); }
.preloader__line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--azure) 20%, var(--royal) 50%, var(--azure) 80%, transparent); transform: scaleX(0); }
.preloader__brand { position: absolute; left: 50%; top: 50%; width: min(64vw, 380px); transform: translate(-50%, calc(-100% - 26px)); }
.preloader__logo { width: 100%; height: auto; clip-path: inset(100% 0 0 0); }
.preloader__tagline { position: absolute; left: 50%; top: calc(50% + 22px); transform: translateX(-50%); white-space: nowrap; overflow: hidden; color: var(--royal); }
.preloader__tagline span { display: inline-block; transform: translateY(110%); }
@keyframes preloaderFailsafe { to { opacity: 0; visibility: hidden; } }

/* hero image settles as the horizon opens */
.hero-media img { transform: scale(1.06); transition: transform 2.6s var(--ease); }
html.hero-ready .hero-media img, html:not(.js) .hero-media img { transform: none; }

/* ── Header ───────────────────────────────────────────────── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); transition: background-color .5s var(--ease), box-shadow .5s var(--ease), transform .6s var(--ease); }
.site-header.is-scrolled { background: rgba(247, 251, 254, 0.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.site-header__logo img { height: 30px; width: auto; }
.site-nav { margin-left: auto; display: flex; gap: clamp(22px, 2.6vw, 40px); }
.nav-link { position: relative; font-size: 0.84rem; font-weight: 600; color: var(--ink); padding: 8px 0; transition: color .3s; }
.nav-link::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 5px; height: 5px; background: var(--red); transform: translateX(-50%) rotate(45deg) scale(0); transition: transform .45s var(--ease); }
.nav-link:hover { color: var(--royal); }
.nav-link[aria-current="page"]::after, .nav-link:hover::after { transform: translateX(-50%) rotate(45deg) scale(1); }
.site-header__cta { margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,.7); align-items: center; justify-content: center; }
.menu-toggle__bars { display: grid; gap: 6px; }
.menu-toggle__bars i { display: block; width: 18px; height: 1.6px; background: var(--ink); }
.menu-toggle__bars i:last-child { width: 12px; justify-self: end; }
@media (max-width: 1023px) {
  .site-nav, .site-header__cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__logo img { height: 26px; }
}

/* ── Mobile menu ──────────────────────────────────────────── */
.mobile-menu { position: fixed; inset: 0; z-index: 70; background: var(--sky); display: flex; flex-direction: column; overflow-y: auto; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-in-out), visibility 0s .7s; }
.mobile-menu.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease-in-out); }
.mobile-menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; flex: none; }
.mobile-menu__logo { height: 26px; width: auto; }
.mobile-menu__close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.mobile-menu__nav { padding-top: 20px; }
.mobile-menu__link { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-family: var(--font-serif); font-size: clamp(2rem, 8.6vw, 3rem); line-height: 1.05; color: var(--ink); opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: none; transition-delay: calc(200ms + var(--i) * 60ms); }
.mobile-menu__link[aria-current="page"] { color: var(--royal); font-style: italic; }
.mobile-menu__foot { margin-top: auto; padding-block: 32px max(28px, env(safe-area-inset-bottom)); display: grid; gap: 16px; }
.mobile-menu__foot .btn { width: 100%; }

/* ── 01 Hero — full-bleed aerial of the actual site ───────── */
/* Headline sits over the open water at the top of the photo; the parcel (centre, arrow) stays clear. */
.xhero {
  --deep: 8, 26, 54;
  position: relative; margin-top: var(--header-h); height: calc(100svh - var(--header-h)); min-height: 600px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--white); overflow: hidden; isolation: isolate; background: #0d2a4f;
}
.xhero__bg { position: absolute; inset: 0; z-index: -1; transform-origin: 50% 40%; will-change: transform; }
.xhero__img, .xhero__img picture, .xhero__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.xhero__img img { object-fit: cover; object-position: 48% 50%; }
.xhero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--deep), .58) 0%, rgba(var(--deep), .22) 26%, rgba(var(--deep), 0) 40%),
    radial-gradient(80% 70% at 0% 100%, rgba(var(--deep), .88) 0%, rgba(var(--deep), .55) 40%, rgba(var(--deep), 0) 74%);
}
.xhero__top { padding-top: clamp(28px, 6vh, 64px); }
.xhero__eyebrow { color: #d9ebfa; }
.xhero .xhero__title {
  color: var(--white); margin-top: 18px;
  font-size: clamp(2.7rem, 5.7vw, 6.4rem); line-height: 0.95; letter-spacing: -0.05em; font-weight: 600;
  text-shadow: 0 2px 40px rgba(var(--deep), .35);
}
.xhero__line { display: block; }
.xhero .xhero__title em { color: #b4dbfa; font-weight: 300; }
.xhero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: clamp(24px, 4.5vh, 52px); }
.xhero__intro { max-width: min(30rem, 36vw); }
.xhero__lede { font-size: clamp(1rem, 1.12vw, 1.12rem); line-height: 1.6; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 18px rgba(var(--deep), .5); }
.xhero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 24px; }
.xhero__btn { min-height: 56px; padding: 0 28px; }
.xhero__link { color: var(--white); }
.xhero__card {
  flex: none; width: 300px; padding: 20px 22px 16px; border-radius: 18px;
  background: rgba(255, 255, 255, .94); color: var(--text);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -28px rgba(var(--deep), .7);
}
.xhero__card-kicker { display: flex; align-items: center; gap: 8px; color: var(--royal); font-size: .6rem; }
.xhero__card-title { margin-top: 10px; font-variation-settings: "opsz" 32; font-weight: 600; font-size: 1.55rem; line-height: 1.1; letter-spacing: -.035em; color: var(--ink); }
.xhero__card-sub { font-size: .85rem; color: var(--muted); }
.xhero__card-list { margin: 14px 0 14px; border-top: 1px solid var(--line); }
.xhero__card-list li { display: grid; grid-template-columns: 62px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .8rem; line-height: 1.4; font-weight: 500; color: var(--ink); }
.xhero__card-list span { padding-top: 2px; font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-cue { position: absolute; bottom: 22px; display: flex; align-items: center; gap: 12px; }
.xhero__cue { left: 50%; transform: translateX(-50%); }
.xhero__cue .label { color: rgba(255, 255, 255, .85); }
.scroll-cue__line { position: relative; width: 1px; height: 40px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; inset: 0; background: var(--white); animation: cue 2.4s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 1199px) { .xhero__card { display: none; } }
@media (max-width: 1023px) { .xhero__cue { display: none; } }

/* mobile: portrait crop, headline over the water, intro on a deep-blue band the photo fades into */
@media (max-width: 767px) {
  .xhero { height: auto; min-height: 0; display: block; }
  .xhero__bg { position: relative; z-index: 0; height: min(78svh, 162vw); }
  .xhero__img img { object-position: 50% 50%; }
  .xhero__shade {
    background:
      linear-gradient(180deg, rgba(var(--deep), .62) 0%, rgba(var(--deep), .2) 30%, rgba(var(--deep), 0) 42%),
      linear-gradient(0deg, #0d2a4f 0%, rgba(13, 42, 79, 0) 13%);
  }
  .xhero__top { position: absolute; top: 0; left: 0; right: 0; z-index: 1; padding-top: 22px; }
  .xhero .xhero__title { font-size: clamp(2.3rem, 10.4vw, 3rem); margin-top: 12px; }
  .xhero__bottom { display: block; padding-block: 6px 40px; }
  .xhero__intro { max-width: none; }
  .xhero__actions .btn { flex: 1 1 100%; }
  .xhero__actions .link-line { margin-inline: auto; }
}

/* ── 02 Vision ────────────────────────────────────────────── */
.vision__head { grid-column: 1 / 6; }
.vision__head .h1 { margin-top: 24px; }
.vision__body { grid-column: 7 / 13; padding-top: 52px; }
.principles { margin-top: 48px; border-bottom: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); }
.principles__n { grid-row: span 2; font-size: 0.74rem; font-weight: 700; letter-spacing: .14em; color: var(--azure); padding-top: 8px; }
.principles__t { font-family: var(--font-serif); font-size: clamp(1.35rem, 1.8vw, 1.65rem); line-height: 1.2; color: var(--ink); }
.principles__d { font-size: 0.92rem; color: var(--muted); margin-top: 4px; }
.band { margin-top: clamp(72px, 9vw, 140px); }
.band__media { height: clamp(320px, 64vh, 720px); }
.band__media img { height: 118%; object-position: 50% 58%; will-change: transform; }
.band__caption { display: flex; align-items: center; gap: 10px; padding-top: 14px; }
@media (max-width: 1023px) {
  .vision__head, .vision__body { grid-column: 1 / -1; }
  .vision__body { padding-top: 28px; }
  .principles { margin-top: 32px; }
  .band__media { height: clamp(280px, 52vw, 520px); }
}

/* ── 03 Showcase ──────────────────────────────────────────── */
.showcase { background: var(--mist); border-block: 1px solid var(--line); }
.showcase__figure { grid-column: 1 / 8; }
.showcase__media { aspect-ratio: 4 / 3.3; }
.showcase__caption { margin-top: 14px; }
.showcase__copy { grid-column: 9 / 13; align-self: center; display: grid; justify-items: start; gap: 26px; }
.showcase__logo { width: min(260px, 70%); height: auto; }
.facts { width: 100%; border-bottom: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); align-items: baseline; }
.facts dd { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.renderings { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.renderings figure .frame { aspect-ratio: 4 / 3; }
.renderings figcaption { margin-top: 8px; }
@media (max-width: 1023px) {
  .showcase__figure, .showcase__copy { grid-column: 1 / -1; }
  .showcase__copy { order: -1; margin-bottom: 40px; }
  .showcase__media { aspect-ratio: 4 / 3; }
}

/* ── 04 Scroll story ──────────────────────────────────────── */
.story__intro { row-gap: 22px; margin-bottom: clamp(40px, 6vw, 80px); }
.story__eyebrow { grid-column: 1 / -1; }
.story__title { grid-column: 1 / 10; }
.story__chapters { grid-column: 1 / 6; position: relative; padding-left: 44px; }
.story__rail { position: absolute; left: 3px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.story__rail-fill { position: absolute; inset: 0; background: linear-gradient(var(--azure), var(--royal)); transform-origin: top; transform: scaleY(0); }
.story-chapter { min-height: 82vh; display: flex; flex-direction: column; justify-content: center; padding-block: 8vh; transition: opacity .6s var(--ease); }
.story-chapter__n { display: flex; align-items: center; gap: 10px; }
.story-chapter .h2 { margin: 18px 0 20px; font-size: clamp(2rem, 3vw, 2.9rem); }
.story-chapter > p:not(.label):not(.caption) { max-width: 31em; }
.story-chapter__media, .story-chapter__cap { display: none; }
.story__stage { grid-column: 7 / 13; }
.story-stage { position: sticky; top: calc(var(--header-h) + 32px); height: calc(100svh - var(--header-h) - 64px); }
.story-stage__item { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; background: var(--sky); opacity: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.1s var(--ease-in-out), opacity 0s 1.1s; }
.story-stage__item img, .story-stage__item svg { width: 100%; height: auto; max-height: calc(100% - 64px); object-fit: cover; }
.story-stage__item.is-active { opacity: 1; clip-path: inset(0 0 0 0); z-index: 2; transition: clip-path 1.1s var(--ease-in-out), opacity 0s; }
.story-stage__item.was-active { opacity: 1; clip-path: inset(0 0 0 0); z-index: 1; }
.story-stage__cap { font-size: 0.8rem; color: var(--muted); }
.story-stage__count { position: absolute; top: 0; right: 0; z-index: 3; }
.story-stage__current { color: var(--royal); }
@media (min-width: 1024px) {
  .story-chapter:not(.is-active) { opacity: 0.3; }
}
@media (max-width: 1023px) {
  .story__title { grid-column: 1 / -1; }
  .story__chapters { grid-column: 1 / -1; padding-left: 28px; }
  .story__stage { display: none; }
  .story-chapter { min-height: 0; padding-block: 36px; }
  .story-chapter__media { display: block; margin-top: 28px; }
  .story-chapter__cap { display: block; margin-top: 12px; }
  .story-chapter__media.frame { background: transparent; }
  .story-chapter__media img { height: auto; }
}
/* method diagram animation */
.method-module { transition: transform 1.3s var(--ease); }
.method-diagram:not(.is-live) .method-module { transform: translateX(-170px); }
.method-diagram.is-live .method-module--b { transition-delay: .15s; }
.method-diagram.is-live .method-module--c { transition-delay: .3s; }
.method-roof { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.4s .7s var(--ease); }
.method-diagram.is-live .method-roof { stroke-dashoffset: 0; }
html:not(.js) .method-module { transform: none !important; }
html:not(.js) .method-roof { stroke-dashoffset: 0; }

/* ── 05 Bigger vision ─────────────────────────────────────── */
.future { background: linear-gradient(180deg, var(--sky) 0%, var(--coast) 100%); }
.future__head { row-gap: 22px; margin-bottom: clamp(48px, 6vw, 88px); align-items: end; }
.future__head .eyebrow { grid-column: 1 / -1; }
.future__head .h1 { grid-column: 1 / 8; }
.future__lede { grid-column: 8 / 13; }
.future__grid { row-gap: 48px; }
.future__main { grid-column: 1 / 8; grid-row: 1; }
.future__main-media { aspect-ratio: 1914 / 822; }
.future__main .caption, .future__plan .caption { margin-top: 12px; }
.future__list { grid-column: 9 / 13; grid-row: 1 / 3; border-bottom: 1px solid var(--line); align-self: start; }
.future__list li { display: grid; grid-template-columns: 44px 1fr; padding: 26px 0; border-top: 1px solid var(--line); }
.future__list p { margin-top: 10px; font-size: 0.95rem; }
.future__n { font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; color: var(--azure); line-height: 1.2; }
.future__plan { grid-column: 3 / 8; grid-row: 2; }
.future__plan .frame { aspect-ratio: 1630 / 965; }
@media (max-width: 1023px) {
  .future__head .h1, .future__lede, .future__main, .future__list, .future__plan { grid-column: 1 / -1; grid-row: auto; }
}

/* ── 06 Founder ───────────────────────────────────────────── */
.founder__figure { grid-column: 1 / 6; }
.founder__frame { aspect-ratio: 4 / 5; }
.founder__frame img { object-position: 50% 30%; }
.founder__figure .caption { margin-top: 14px; }
.founder__copy { grid-column: 7 / 13; align-self: center; }
.founder__copy .h1 { margin-top: 22px; }
.founder__stat { display: flex; align-items: center; gap: 18px; margin: 40px 0 32px; padding: 22px 0; border-block: 1px solid var(--line); }
.founder__num { font-family: var(--font-serif); font-size: clamp(4.5rem, 8vw, 7.5rem); line-height: .85; color: var(--royal); }
.founder__unit { font-size: 0.72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); line-height: 1.6; }
.founder .body-copy { max-width: 34em; }
@media (max-width: 1023px) {
  .founder__figure, .founder__copy { grid-column: 1 / -1; }
  .founder__figure { max-width: 460px; margin-bottom: 44px; }
}

/* ── 07 Investor conversation ─────────────────────────────── */
.cta { position: relative; overflow: hidden; padding-block: clamp(88px, 10vw, 160px); background: linear-gradient(160deg, #1f53ab 0%, var(--royal) 45%, #173f86 100%); color: #e3eefa; }
.cta__horizon { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(160, 205, 240, .55) 30%, rgba(255,255,255,.7) 50%, rgba(160, 205, 240, .55) 70%, transparent); pointer-events: none; }
.cta__horizon span { position: absolute; left: 50%; top: -60px; width: 60%; height: 120px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(120, 186, 236, .22), transparent 70%); }
.cta .grid-12 { position: relative; align-items: center; row-gap: 48px; }
.cta__copy { grid-column: 1 / 6; }
.cta__eyebrow { color: #cfe3f5; }
.cta__title { color: var(--white); margin: 22px 0 24px; }
.cta .cta__title em { color: #a9d3f5; }
.cta .lede { color: #dbe8f6; }
.inquiry { grid-column: 7 / 13; background: var(--white); color: var(--text); border-radius: 22px; padding: clamp(24px, 3vw, 44px); box-shadow: 0 30px 80px -40px rgba(8, 24, 60, .55); }
.inquiry__title { font-family: var(--font-serif); font-size: 1.9rem; color: var(--ink); line-height: 1.1; margin-bottom: 26px; }
.inquiry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.field-opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; background: var(--mist); border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .3s, box-shadow .3s, background-color .3s; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%231c4a9c' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--royal); box-shadow: 0 0 0 3px rgba(28, 74, 156, 0.14); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { font-size: 0.8rem; color: #a3192a; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.inquiry__status { font-size: 0.88rem; font-weight: 600; flex: 1 1 220px; }
.inquiry__status.is-error { color: #a3192a; }
.inquiry__status.is-success { color: var(--royal); }
@media (max-width: 1023px) {
  .cta__copy, .inquiry { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .inquiry__grid { grid-template-columns: 1fr; }
  .inquiry__foot .btn { width: 100%; }
}

/* ── 08 Footer ────────────────────────────────────────────── */
.site-footer { background: var(--coast); border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 112px); }
.site-footer__top { row-gap: 40px; }
.site-footer__brand { grid-column: 1 / 6; }
.site-footer__brand img { width: 230px; height: auto; }
.site-footer__brand p { margin-top: 22px; max-width: 30em; font-size: 0.95rem; }
.site-footer__nav { grid-column: 8 / 10; display: flex; flex-direction: column; gap: 10px; }
.site-footer__nav a { font-weight: 600; color: var(--ink); width: fit-content; transition: color .3s; }
.site-footer__nav a:hover { color: var(--royal); }
.site-footer__project { grid-column: 10 / 13; }
.site-footer__addr { margin-top: 10px; color: var(--ink); font-weight: 600; line-height: 1.7; }
.site-footer .label { margin-bottom: 6px; }
.site-footer__wordmark { font-family: var(--font-serif); font-size: clamp(2.4rem, 7.6vw, 7.4rem); line-height: 1; letter-spacing: -0.02em; color: var(--royal); padding: clamp(56px, 8vw, 120px) 0 clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--line-strong); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding: 22px 0 max(28px, env(safe-area-inset-bottom)); font-size: 0.78rem; color: var(--muted); }
@media (max-width: 1023px) {
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__nav { grid-column: 1 / 7; }
  .site-footer__project { grid-column: 7 / -1; }
}

/* ═════════ Inner pages ═════════ */

/* page transitions (multi-page): content fades in on load, out on leave */
html.no-intro:not(.reveal-all) main { animation: pageIn .9s var(--ease) backwards; }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } }
body.is-leaving main, body.is-leaving .site-footer { opacity: 0; transform: translateY(-8px); transition: opacity .38s var(--ease), transform .38s var(--ease); }
body.is-leaving::after {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90;
  background: linear-gradient(90deg, var(--azure), var(--royal) 70%, var(--red));
  transform-origin: left; animation: leaveLine .38s var(--ease) forwards;
}
@keyframes leaveLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* shared section heads */
.sec-head { row-gap: 22px; margin-bottom: clamp(44px, 6vw, 84px); align-items: end; }
.sec-head > .eyebrow { grid-column: 1 / -1; }
.sec-head > .h1, .sec-head > .h2 { grid-column: 1 / 8; }
.sec-head > .lede { grid-column: 8 / 13; }
@media (max-width: 1023px) { .sec-head > .h1, .sec-head > .h2, .sec-head > .lede { grid-column: 1 / -1; } }
.section--mist { background: var(--mist); border-block: 1px solid var(--line); }
.section--coast { background: linear-gradient(180deg, var(--sky) 0%, var(--coast) 100%); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 34px; }

/* project hero: full-width aerial first, title beneath */
/* desktop: compact title row, then a tall aerial that keeps both the water and the whole lot in frame */
.p-hero { display: flex; flex-direction: column; padding: var(--header-h) 0 clamp(40px, 5vw, 72px); background: linear-gradient(180deg, var(--sky) 0%, var(--coast) 100%); }
.p-hero__row { align-items: end; row-gap: 16px; padding-block: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.p-hero__title { grid-column: 1 / 9; }
.p-hero__title .display { margin-top: 14px; font-size: clamp(2.6rem, 5.4vw, 5.2rem); }
.p-hero__aside { grid-column: 9 / 13; display: grid; gap: 10px; justify-items: end; text-align: right; padding-bottom: 8px; }
.p-hero__addr { font-family: var(--font-serif); font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.2; color: var(--ink); }
.p-hero__media { height: max(380px, min(calc(100svh - var(--header-h) - 230px), 64vw)); }
.p-hero__media picture { height: 100%; }
.p-hero__media img { object-position: 48% 56%; }
.p-hero__caption { display: flex; align-items: center; gap: 10px; padding-top: 12px; }
@media (max-width: 1023px) {
  .p-hero__title, .p-hero__aside { grid-column: 1 / -1; }
  .p-hero__aside { justify-items: start; text-align: left; }
  .p-hero__caption { padding-inline: var(--gutter); }
}
/* mobile: the aerial comes first (art-directed portrait crop), title beneath */
@media (max-width: 767px) {
  .p-hero__figure { order: -1; }
  .p-hero__row { padding-block: 26px 8px; }
  .p-hero__media { height: min(56svh, 116vw); }
  .p-hero__media img { object-position: 50% 64%; }
  .p-hero__caption { font-size: 0.74rem; }
}
.page-hero + .section { padding-top: clamp(64px, 7vw, 112px); }

/* typographic page hero (about / contact) */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 9vw, 132px)) 0 clamp(56px, 7vw, 104px); background: linear-gradient(180deg, var(--sky) 0%, var(--coast) 100%); overflow: hidden; }
.page-hero .grid-12 { row-gap: 26px; align-items: end; }
.page-hero__title { grid-column: 1 / 9; }
.page-hero__title .display { margin-top: 22px; }
.page-hero__aside { grid-column: 9 / 13; }
.page-hero__horizon { position: relative; margin-top: clamp(48px, 6vw, 88px); height: 1px; background: var(--line-strong); }
.page-hero__horizon::before { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 38%; background: linear-gradient(90deg, var(--royal), var(--azure)); }
.page-hero__horizon .marker { position: absolute; left: 38%; top: -3px; }
@media (max-width: 1023px) { .page-hero__title, .page-hero__aside { grid-column: 1 / -1; } }

/* split editorial block */
.split { align-items: center; row-gap: 44px; }
.split__media { grid-column: 1 / 7; }
.split__copy { grid-column: 8 / 13; }
.split--flip .split__media { grid-column: 7 / 13; order: 2; }
.split--flip .split__copy { grid-column: 1 / 6; order: 1; }
.split__media .frame { aspect-ratio: 4 / 3; }
.split__media .caption { margin-top: 12px; }
.split__copy .h2 { margin: 20px 0 22px; }
@media (max-width: 1023px) {
  .split__media, .split__copy, .split--flip .split__media, .split--flip .split__copy { grid-column: 1 / -1; order: 0; }
}

/* fact list (key/value rows) */
.facts--wide > div { grid-template-columns: 170px 1fr; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.gallery figure { grid-column: span 6; }
.gallery figure:nth-child(4n + 1) { grid-column: 1 / 9; }
.gallery figure:nth-child(4n + 2) { grid-column: 9 / 13; }
.gallery figure:nth-child(4n + 3) { grid-column: 1 / 6; }
.gallery figure:nth-child(4n + 4) { grid-column: 6 / 13; }
.gallery .frame { aspect-ratio: 4 / 3; }
.gallery figure:nth-child(4n + 2) .frame { aspect-ratio: 2 / 3; height: auto; }
.gallery figure:nth-child(4n + 3) .frame { aspect-ratio: 4 / 3.6; }
.gallery figure:nth-child(4n + 4) .frame { aspect-ratio: 7 / 4.5; }
.gallery figcaption { margin-top: 12px; }
.gallery__btn { display: block; width: 100%; cursor: zoom-in; text-align: left; }
.gallery__btn .frame img { transition: transform 1.2s var(--ease); }
.gallery__btn:hover .frame img { transform: scale(1.035); }
.gallery__btn .frame::after { content: ""; position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none'%3E%3Cpath d='M1 5V1h4M13 9v4H9M1 1l4.5 4.5M13 13 8.5 8.5' stroke='%231c4a9c' stroke-width='1.4'/%3E%3C/svg%3E") center no-repeat; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.gallery__btn:hover .frame::after, .gallery__btn:focus-visible .frame::after { opacity: 1; transform: none; }
.renderings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-bottom: clamp(48px, 6vw, 80px); }
.renderings-grid .rendering:first-child { grid-column: 1 / -1; }
.renderings-grid .frame { aspect-ratio: 16 / 10; }
.renderings-grid figcaption { margin-top: 10px; }
@media (max-width: 767px) {
  .gallery figure, .gallery figure:nth-child(n) { grid-column: 1 / -1; }
  .gallery figure:nth-child(n) .frame { aspect-ratio: 4 / 3; }
  .renderings-grid { grid-template-columns: 1fr; }
}

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: var(--mist); display: grid; grid-template-rows: auto 1fr auto; animation: fadeIn .4s var(--ease); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.lightbox__close, .lightbox__nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: border-color .3s, color .3s; flex: none; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--royal); color: var(--royal); }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 28px); padding-inline: var(--gutter); min-height: 0; }
.lightbox__img { max-width: min(100%, 1500px); max-height: 100%; width: auto; height: auto; object-fit: contain; min-width: 0; animation: lbImg .7s var(--ease); }
.lightbox__cap { padding-block: 14px max(20px, env(safe-area-inset-bottom)); max-width: 900px; text-align: center; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes lbImg { from { opacity: 0; transform: scale(.985); } }
@media (max-width: 767px) {
  .lightbox__stage { padding-inline: 0; }
  .lightbox__nav { position: absolute; bottom: -60px; }
  .lightbox__nav--prev { left: var(--gutter); }
  .lightbox__nav--next { right: var(--gutter); }
  .lightbox__cap { padding-top: 76px; }
}

/* proposed specifications */
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.specs > div { padding: 28px 24px 30px 0; border-bottom: 1px solid var(--line); }
.specs > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.specs__num { display: block; font-family: var(--font-serif); font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 1; color: var(--royal); }
.specs__num small { font-size: .42em; margin-left: 4px; color: var(--ink); }
.specs__lbl { display: block; margin-top: 12px; }
.spec-note { margin-top: 18px; }
.design-note { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line); background: var(--white); border-radius: 14px; max-width: 46em; margin-bottom: clamp(40px, 5vw, 64px); }
.design-note .marker { margin-top: 8px; }
@media (max-width: 767px) {
  .specs { grid-template-columns: 1fr 1fr; }
  .specs > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .specs > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}

/* numbered steps */
.steps { border-bottom: 1px solid var(--line); margin-top: 34px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; padding: 20px 0; border-top: 1px solid var(--line); }
.steps__n { font-size: .74rem; font-weight: 700; letter-spacing: .14em; color: var(--azure); padding-top: 5px; }
.steps__t { font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.2; color: var(--ink); }
.steps p { font-size: .94rem; margin-top: 4px; }

/* method diagram as a figure */
.diagram-figure { background: var(--coast); border: 1px solid var(--line); }
.diagram-figure svg { width: 100%; height: auto; }

/* call-to-action band variant with a single action */
.cta__action { grid-column: 8 / 13; justify-self: end; display: grid; gap: 18px; justify-items: start; }
.cta__action .btn--light { min-height: 58px; padding: 0 32px; }
.cta__list { display: flex; flex-wrap: wrap; gap: 8px 22px; color: #cfe3f5; }
.cta__list span { display: inline-flex; align-items: center; gap: 8px; }
.cta__list span::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: #8fc3ee; }
.btn--light { background: var(--white); color: var(--royal); }
.btn--light:hover { background: var(--coast); }
@media (min-width: 1024px) { .cta__copy--wide { grid-column: 1 / 8; } }
@media (max-width: 1023px) { .cta__action { grid-column: 1 / -1; justify-self: start; } }

/* contact page */
.contact { padding: calc(var(--header-h) + clamp(48px, 7vw, 104px)) 0 clamp(88px, 10vw, 150px); background: linear-gradient(180deg, var(--sky) 0%, var(--coast) 100%); }
.contact .grid-12 { row-gap: 48px; align-items: start; }
.contact__intro { grid-column: 1 / 6; position: sticky; top: calc(var(--header-h) + 32px); }
.contact__intro .display { margin: 22px 0 26px; font-size: clamp(2.6rem, 5vw, 5rem); }
.contact__notes { margin-top: 40px; border-bottom: 1px solid var(--line); }
.contact__notes li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; font-size: .95rem; }
.contact__notes .marker { margin-top: 9px; }
.contact .inquiry { grid-column: 7 / 13; border: 1px solid var(--line); box-shadow: 0 30px 80px -50px rgba(18, 50, 90, .35); }
@media (max-width: 1023px) {
  .contact__intro, .contact .inquiry { grid-column: 1 / -1; position: static; }
}

/* ═════════ Typeface — Inter Display for headlines, Inter for text ═════════
   Inter's optical-size axis: at 32 it is the Display cut (tighter spacing, finer details). */
:root {
  --font-serif: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body { font-optical-sizing: auto; font-feature-settings: "cv11", "ss03"; letter-spacing: -0.006em; }
.display, .h1, .h2, .h3, .principles__t, .steps__t, .inquiry__title, .p-hero__addr, .specs__num,
.founder__num, .site-footer__wordmark, .mobile-menu__link, .future__n, .scrub-text, .marquee__track {
  font-family: "Inter", system-ui, sans-serif;
  font-variation-settings: "opsz" 32;
  font-weight: 500;
}
.display { font-size: clamp(2.5rem, 5.4vw, 5.4rem); line-height: 0.98; letter-spacing: -0.045em; }
.h1 { font-size: clamp(2.15rem, 4.1vw, 4rem); line-height: 1.02; letter-spacing: -0.04em; }
.h2 { font-size: clamp(1.85rem, 2.9vw, 2.8rem); line-height: 1.06; letter-spacing: -0.035em; }
.h3 { font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.2; letter-spacing: -0.025em; }
.display em, .h1 em, .h2 em, .h3 em { font-style: normal; font-weight: 300; color: var(--royal); }
.hero__title { font-size: clamp(2.5rem, 4.3vw, 4.9rem); }
.story-chapter .h2 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
.principles__t, .steps__t { font-size: clamp(1.12rem, 1.4vw, 1.3rem); letter-spacing: -0.02em; }
.inquiry__title { font-size: 1.6rem; letter-spacing: -0.03em; }
.p-hero__addr { font-size: clamp(1.1rem, 1.5vw, 1.4rem); letter-spacing: -0.02em; }
.specs__num, .founder__num { letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.specs__num small { letter-spacing: -0.01em; }
.site-footer__wordmark { font-size: clamp(2.2rem, 6.6vw, 6.6rem); letter-spacing: -0.05em; }
.mobile-menu__link { font-size: clamp(1.9rem, 8vw, 2.7rem); letter-spacing: -0.04em; }
.mobile-menu__link[aria-current="page"], .future__n { font-style: normal; }
.future__n { font-size: 1rem; font-weight: 600; letter-spacing: 0; padding-top: 6px; }
@media (max-width: 767px) { .hero__title { font-size: clamp(2.2rem, 9.4vw, 2.9rem); } }

/* ═════════ Scroll-driven type ═════════ */
/* words fill from pale to ink as the passage scrolls through the viewport */
.scrub-text { color: var(--ink); font-size: clamp(1.6rem, 3.2vw, 3.1rem); line-height: 1.16; letter-spacing: -0.035em; text-wrap: pretty; }
.scrub-w { display: inline; }
html.has-scrub .scrub-w { opacity: 0.16; }
.statement { padding-block: clamp(96px, 12vw, 190px) 0; }
.statement .grid-12 { row-gap: 24px; }
.statement__eyebrow { grid-column: 1 / 3; padding-top: 0.8em; }
.statement__text { grid-column: 3 / 12; }
.vision__body .scrub-text { font-size: clamp(1.45rem, 2.3vw, 2.2rem); margin-bottom: 1.1em; }
@media (max-width: 1023px) { .statement__eyebrow, .statement__text { grid-column: 1 / -1; } }

/* oversized type that slides horizontally with scroll (two rows, opposite directions) */
.marquee { overflow: hidden; padding-block: clamp(36px, 5vw, 80px); border-block: 1px solid var(--line); background: var(--sky); user-select: none; }
.marquee__track { display: flex; width: max-content; white-space: nowrap; font-size: clamp(2.8rem, 8.6vw, 8.8rem); line-height: 1.04; letter-spacing: -0.05em; will-change: transform; }
.marquee__track span { display: inline-flex; align-items: center; gap: 0.32em; padding-right: 0.32em; }
.marquee__track span::after { content: ""; width: 0.14em; height: 0.14em; background: var(--red); transform: rotate(45deg); flex: none; }
.marquee__track--outline { color: transparent; -webkit-text-stroke: 1.2px var(--royal); font-weight: 400; }
.marquee__track--fill { color: var(--ink); }
.marquee__track[data-reverse] { transform: translateX(-30%); }

/* ═════════ Before / after slider ═════════ */
.ba { position: relative; aspect-ratio: 2200 / 1647; max-height: 82svh; width: 100%; overflow: hidden; background: var(--powder); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 0 1px rgba(18, 50, 90, .12); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--white); color: var(--royal); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px -10px rgba(18, 50, 90, .45); transition: transform .4s var(--ease); }
.ba.is-dragging .ba__knob { transform: translate(-50%, -50%) scale(0.92); }
.ba:has(.ba__range:focus-visible) .ba__knob { outline: 2px solid var(--royal); outline-offset: 3px; }
.ba__range { position: absolute; inset: auto 0 0 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.ba__label { position: absolute; top: 18px; z-index: 2; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; pointer-events: none; }
.ba__label--before { left: 18px; }
.ba__label--after { right: 18px; }
.ba__caption { margin-top: 14px; }
@media (max-width: 767px) { .ba { aspect-ratio: 4 / 4.4; } .ba__knob { width: 50px; height: 50px; } }

/* ═════════ Tighter rhythm — less empty space between and inside sections ═════════ */
.wrap { max-width: 1600px; }
.section { padding-block: clamp(64px, 7vw, 112px); }
.sec-head, .future__head { margin-bottom: clamp(32px, 3.6vw, 56px); }
.story__intro { margin-bottom: clamp(16px, 2.4vw, 32px); }
.story-chapter { min-height: 62vh; padding-block: 4vh; }
.statement { padding-block: clamp(64px, 7vw, 112px) 0; }
.vision__body { padding-top: 14px; }
.vision__head .h1 { margin-top: 18px; }
.principles { margin-top: 30px; }
.principles li { padding: 16px 0; }
.band { margin-top: clamp(44px, 5vw, 80px); }
.band__media { height: clamp(300px, 56vh, 620px); }
.showcase__copy { gap: 20px; }
.future__grid { row-gap: 32px; }
.future__list li { padding: 20px 0; }
.founder__stat { margin: 26px 0 22px; padding: 16px 0; }
.founder__figure { margin-bottom: 0; }
.steps { margin-top: 24px; }
.steps li { padding: 15px 0; }
.split { row-gap: 32px; }
.split__copy .h2 { margin: 16px 0 18px; }
.page-hero { padding: calc(var(--header-h) + clamp(40px, 5.5vw, 88px)) 0 clamp(36px, 4vw, 64px); }
.page-hero__horizon { margin-top: clamp(28px, 3.4vw, 52px); }
.page-hero + .section { padding-top: clamp(48px, 5vw, 80px); }
.p-hero { padding-bottom: clamp(28px, 3vw, 48px); }
.contact { padding: calc(var(--header-h) + clamp(36px, 4.5vw, 72px)) 0 clamp(64px, 7vw, 104px); }
.contact__notes { margin-top: 28px; }
.cta { padding-block: clamp(64px, 7vw, 112px); }
.marquee { padding-block: clamp(22px, 3vw, 48px); }
.site-footer { padding-top: clamp(52px, 5.5vw, 84px); }
.site-footer__wordmark { padding: clamp(36px, 5vw, 80px) 0 clamp(20px, 2.2vw, 32px); }
.design-note { margin-bottom: clamp(28px, 3.4vw, 44px); }
.spec-note { margin-top: 14px; }
@media (max-width: 1023px) {
  .story-chapter { min-height: 0; padding-block: 28px; }
  .founder__figure { margin-bottom: 32px; }
  .showcase__copy { margin-bottom: 28px; }
}

/* gallery with three items: the last one spans the full width */
.gallery figure:nth-child(3):last-child { grid-column: 1 / -1; }
.gallery figure:nth-child(3):last-child .frame { aspect-ratio: 21 / 9; }

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal], html.js [data-reveal] img, html.js .tr[data-reveal] .tr-w > span, .hero-media img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .method-module { transform: none !important; }
  .method-roof { stroke-dashoffset: 0 !important; }
}
