/* ==========================================================================
   Abode Residential — site styles
   Palette and type follow the brand board: Poppins Light, tracking +200,
   Matte Black / Charcoal / Concrete / Warm White / Titanium.
   ========================================================================== */

:root {
  --matte: #0b0b0b;
  --charcoal: #1a1a1a;
  --concrete: #8e8e8e;
  --warm: #e7e4df;
  --titanium: #b5b7ba;

  --ink: var(--warm);
  --ink-2: rgba(231, 228, 223, 0.72);
  --ink-3: rgba(231, 228, 223, 0.48);
  --line: rgba(231, 228, 223, 0.14);
  --line-strong: rgba(231, 228, 223, 0.32);

  --font: "Poppins", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --track: 0.2em;

  --gutter: clamp(20px, 4.2vw, 72px);
  --max: 1520px;
  --section: clamp(96px, 14vw, 220px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);

  --header-h: 84px;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--matte);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--matte);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--warm); color: var(--matte); }

:focus-visible { outline: 1px solid var(--warm); outline-offset: 4px; }

.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 {
  position: fixed; left: 16px; top: 16px; z-index: 200;
  padding: 12px 18px; background: var(--warm); color: var(--matte);
  font-size: .75rem; letter-spacing: var(--track); text-transform: uppercase;
  transform: translateY(-200%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

/* Concrete grain — a quiet nod to the brand board's texture swatch */
.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none;
  opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }

/* ---------- Type ---------- */
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .7rem; font-weight: 400; line-height: 1.4;
  letter-spacing: var(--track); text-transform: uppercase; color: var(--titanium);
}
.label--rule::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .6; }
.label .num { color: var(--ink-3); }

.display {
  font-weight: 200;
  font-size: clamp(3rem, 9.2vw, 10.5rem);
  line-height: .94;
  letter-spacing: -0.045em;
  margin: 0;
}
.h2 {
  font-weight: 200;
  font-size: clamp(2.4rem, 5.6vw, 5.75rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
}
.h3 {
  font-weight: 300;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
}
.lead {
  font-weight: 300;
  font-size: clamp(1.2rem, 2.2vw, 2.1rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.body { color: var(--ink-2); max-width: 34em; margin: 0; }
.body + .body { margin-top: 1.1em; }
.caps { text-transform: uppercase; letter-spacing: var(--track); font-size: .75rem; font-weight: 400; }
em.soft { font-style: normal; color: var(--ink-3); }

/* ---------- Brand marks ---------- */
.mark { width: 100%; height: auto; overflow: visible; }
.mark line { stroke: currentColor; stroke-linecap: butt; fill: none; }

.lockup { display: inline-flex; align-items: center; gap: .9em; color: var(--warm); }
.lockup .mark { width: 1.9em; flex: none; }
.lockup__text { display: flex; flex-direction: column; align-items: center; gap: .35em; line-height: 1; }
.wordmark {
  display: inline-flex; align-items: flex-end; font-weight: 300;
  font-size: 1em; letter-spacing: .32em; margin-right: -.32em; line-height: .78;
}
.wordmark .lambda { width: .78em; height: .72em; margin-right: .32em; overflow: visible; }
.wordmark .lambda path { fill: none; stroke: currentColor; stroke-width: .9; vector-effect: non-scaling-stroke; }
.lockup__sub { font-size: .3em; letter-spacing: .62em; margin-right: -.62em; font-weight: 400; color: var(--ink-2); }

/* ---------- Buttons & links ---------- */
.btn {
  --h: 58px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  height: var(--h); padding: 0 30px; border-radius: 999px;
  font-size: .72rem; font-weight: 400; letter-spacing: var(--track); text-transform: uppercase;
  border: 1px solid var(--line-strong); overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out), transform .12s ease-out;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--warm); transform: translateY(101%); transition: transform .6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--matte); border-color: var(--warm); }
.btn:active { transform: scale(.97); transition-duration: .1s; }
.btn--solid { background: var(--warm); color: var(--matte); border-color: var(--warm); }
.btn--solid::before { background: var(--matte); }
.btn--solid:hover, .btn--solid:focus-visible { color: var(--warm); }
.btn .arrow { width: 18px; height: 10px; transition: transform .5s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.link-line {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-size: .72rem; font-weight: 400; letter-spacing: var(--track); text-transform: uppercase;
  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-out);
}
.link-line:hover::after { transform: scaleX(0); }
.link-line::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .6s .15s var(--ease-out);
}
.link-line:hover::before { transform: scaleX(1); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: transform .7s var(--ease-out), background-color .5s ease, backdrop-filter .5s ease;
}
.header::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line);
  opacity: 0; transition: opacity .5s ease;
}
.header.is-solid {
  background: rgba(11, 11, 11, .62);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}
.header.is-solid::after { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header .lockup { font-size: 1.15rem; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); }
.nav a:not(.btn) {
  position: relative; font-size: .7rem; font-weight: 400; letter-spacing: var(--track);
  text-transform: uppercase; color: var(--ink-2); transition: color .3s ease; padding: 8px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: .2em; bottom: 2px; height: 1px; background: var(--warm);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--warm); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { --h: 44px; padding: 0 22px; font-size: .66rem; }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1px; background: var(--warm);
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--matte);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-in-out); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-size: clamp(2.2rem, 11vw, 3.6rem); font-weight: 200; letter-spacing: -0.03em; line-height: 1.15;
  transform: translateY(40px); opacity: 0; transition: transform .8s var(--ease-out), opacity .8s var(--ease-out);
}
.menu-open .mobile-menu nav a { transform: none; opacity: 1; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .06s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .12s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .18s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .24s; }
.mobile-menu__foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; background: var(--matte);
  display: grid; place-items: center; pointer-events: none;
}
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 34px; font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.loader .mark { width: 2.6em; }
.loader .mark line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader .lockup__text { gap: .7em; }
.loader .wordmark > * { opacity: 0; transform: translateY(.3em); display: inline-block; }
.loader .lockup__sub { opacity: 0; }
.loader__bar { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--warm); transform: scaleX(0); transform-origin: left; opacity: .5; }

html.is-loading .loader .mark line { animation: draw 1.1s var(--ease-in-out) forwards; }
html.is-loading .loader .mark line:nth-child(2) { animation-delay: .12s; }
html.is-loading .loader .mark line:nth-child(3) { animation-delay: .24s; }
html.is-loading .loader .mark line:nth-child(4) { animation-delay: .36s; }
html.is-loading .loader .wordmark > * { animation: rise 1s var(--ease-out) forwards; }
html.is-loading .loader .wordmark > *:nth-child(1) { animation-delay: .7s; }
html.is-loading .loader .wordmark > *:nth-child(2) { animation-delay: .78s; }
html.is-loading .loader .wordmark > *:nth-child(3) { animation-delay: .86s; }
html.is-loading .loader .wordmark > *:nth-child(4) { animation-delay: .94s; }
html.is-loading .loader .wordmark > *:nth-child(5) { animation-delay: 1.02s; }
html.is-loading .loader .lockup__sub { animation: fade 1s 1.2s var(--ease-out) forwards; }
html.is-loading .loader__bar { animation: bar 2s var(--ease-in-out) forwards; }
.loader.is-done { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-in-out); }
html:not(.is-loading) .loader:not(.is-done) { display: none; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes bar { to { transform: scaleX(1); } }

/* ---------- Reveal primitives ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

.split .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * .09s + var(--d, 0s)); }
.split.is-in .line > span { transform: none; }

.mask { position: relative; overflow: hidden; clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-in-out); transition-delay: var(--d, 0s); }
.mask img { transform: scale(1.25); transition: transform 2.2s var(--ease-out); transition-delay: var(--d, 0s); }
.mask.is-in { clip-path: inset(0 0 0 0); }
.mask.is-in img { transform: scale(1); }

.rule { height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-in-out); transition-delay: var(--d, 0s); }
.rule.is-in { transform: scaleX(1); }

/* image frame used by parallax */
.frame { position: relative; overflow: hidden; background: var(--charcoal); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame[data-parallax] img { height: 118%; margin-top: -9%; will-change: transform; }
.tag-impression {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-size: .58rem; letter-spacing: var(--track); text-transform: uppercase; color: rgba(255,255,255,.7);
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--matte); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.18); transition: transform 3.2s var(--ease-out); will-change: transform; }
.is-ready .hero__media img { transform: scale(1.04); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,11,.55) 0%, rgba(11,11,11,0) 26%),
    linear-gradient(0deg, rgba(11,11,11,.92) 0%, rgba(11,11,11,.35) 38%, rgba(11,11,11,0) 64%);
}
.hero__content { position: absolute; inset: auto 0 0 0; padding-bottom: clamp(28px, 5vw, 64px); }
.hero__title { margin-bottom: clamp(28px, 4vw, 56px); }
.hero__foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__foot p { margin: 0; color: var(--ink-2); max-width: 26em; font-size: .95rem; }
.now {
  justify-self: center; display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 22px 12px 16px; border-radius: 999px;
  background: rgba(26,26,26,.45); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  font-size: .66rem; letter-spacing: var(--track); text-transform: uppercase; font-weight: 400;
  transition: border-color .4s ease, background-color .4s ease;
}
.now:hover { border-color: var(--line-strong); background: rgba(26,26,26,.7); }
.pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--warm); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.scroll-cue { justify-self: end; display: inline-flex; align-items: center; gap: 14px; font-size: .66rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-2); }
.scroll-cue i { position: relative; width: 1px; height: 46px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--warm); animation: cue 2.6s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Statement (word-by-word scroll reveal) ---------- */
.statement { padding: var(--section) 0; }
.statement .label { margin-bottom: clamp(32px, 4vw, 56px); }
.words {
  font-weight: 200; font-size: clamp(1.9rem, 4.6vw, 4.6rem); line-height: 1.12; letter-spacing: -0.03em; margin: 0;
  max-width: 17em;
}
.words .w { opacity: .14; transition: opacity .25s linear; }
.words .w.on { opacity: 1; }
.statement__foot { margin-top: clamp(48px, 6vw, 96px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.statement__foot > div { grid-column: 7 / span 5; }

/* ---------- Featured development ---------- */
.feature { padding-top: 0; }
.feature__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: clamp(40px, 6vw, 88px); }
.feature__head .h2 { grid-column: 1 / span 8; }
.feature__head .feature__meta { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.feature__hero { aspect-ratio: 16 / 8.2; border-radius: 2px; }
.feature__strip { margin-top: 24px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); align-items: start; }
.feature__strip .frame:nth-child(1) { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.feature__strip .frame:nth-child(2) { grid-column: 7 / span 6; aspect-ratio: 16 / 10; margin-top: clamp(60px, 12vw, 200px); }
.feature__caption { grid-column: 7 / span 5; margin-top: -20px; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(64px, 9vw, 140px); }
.fact { padding: 28px 24px 0 0; border-right: 1px solid var(--line); }
.fact + .fact { padding-left: 24px; }
.fact:last-child { border-right: 0; }
.fact__n { display: block; font-weight: 200; font-size: clamp(2.6rem, 5.4vw, 5.4rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.fact__n small { font-size: .38em; letter-spacing: 0; margin-left: .15em; color: var(--ink-2); }
.fact .label { margin-top: 18px; }

/* ---------- Horizontal gallery (pinned) ---------- */
.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll__top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(24px, 3vw, 44px); }
.hscroll__track { display: flex; gap: clamp(16px, 2vw, 32px); padding: 0 var(--gutter); will-change: transform; }
.hcard { flex: none; width: min(64vw, 980px); }
.hcard--narrow { width: min(34vw, 520px); }
.hcard .frame { aspect-ratio: 16 / 10; }
.hcard--narrow .frame { aspect-ratio: 4 / 5; height: auto; }
.hcard figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: .68rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-2); }
.hscroll__progress { margin-top: clamp(24px, 3vw, 44px); height: 1px; background: var(--line); position: relative; }
.hscroll__progress i { position: absolute; inset: 0; background: var(--warm); transform-origin: left; transform: scaleX(0); }

/* ---------- Approach (sticky media swap) ---------- */
.approach__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.approach__media { grid-column: 1 / span 6; position: relative; }
.approach__sticky { position: sticky; top: calc(var(--header-h) + 4vh); height: calc(100svh - var(--header-h) - 8vh); }
.approach__sticky .frame { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease-out); }
.approach__sticky .frame img { transform: scale(1.08); transition: transform 1.8s var(--ease-out); }
.approach__sticky .frame.is-active { opacity: 1; }
.approach__sticky .frame.is-active img { transform: scale(1); }
.approach__count { position: absolute; right: 18px; top: 16px; z-index: 2; font-size: .66rem; letter-spacing: var(--track); color: rgba(255,255,255,.85); }
.approach__steps { grid-column: 8 / span 5; }
.approach__intro { min-height: 40svh; padding-bottom: 8vh; }
.approach__intro .h2 { margin: 28px 0 28px; }
.step { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); padding: 48px 0; opacity: .28; transition: opacity .8s var(--ease-out); }
.step.is-active { opacity: 1; }
.step__n { font-size: .7rem; letter-spacing: var(--track); color: var(--titanium); }
.step .h3 { margin: 20px 0 18px; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 200; letter-spacing: -0.03em; }

/* ---------- Clip-expand full-bleed ---------- */
.expand { position: relative; height: 190svh; }
.expand__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.expand__media { position: absolute; inset: 0; clip-path: inset(var(--ci, 18%) var(--cx, 22%) round var(--cr, 4px)); will-change: clip-path; }
.expand__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--cs, 1.2)); }
.expand__media::after { content: ""; position: absolute; inset: 0; background: rgba(11,11,11, var(--co, 0)); }
.expand__text { position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter); opacity: var(--to, 0); transform: translateY(calc((1 - var(--to, 0)) * 30px)); }
.expand__text .h2 { max-width: 14em; margin: 24px auto 0; }

/* ---------- Values (warm white band) ---------- */
.light { background: var(--warm); color: var(--matte); --ink: var(--matte); --ink-2: rgba(11,11,11,.7); --ink-3: rgba(11,11,11,.45); --line: rgba(11,11,11,.14); --line-strong: rgba(11,11,11,.35); }
.light .label { color: #5d5e60; }
.light ::selection { background: var(--matte); color: var(--warm); }
.values__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-bottom: clamp(48px, 6vw, 96px); align-items: end; }
.values__head .h2 { grid-column: 1 / span 7; }
.values__head p { grid-column: 9 / span 4; }
.values__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.value { position: relative; display: grid; grid-template-columns: 80px 1fr minmax(0, 28em); gap: 24px; align-items: baseline; padding: clamp(22px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.value::before { content: ""; position: absolute; inset: 0; background: var(--matte); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-out); z-index: 0; }
.value > * { position: relative; z-index: 1; transition: color .5s var(--ease-out), transform .7s var(--ease-out); }
.value__n { font-size: .7rem; letter-spacing: var(--track); color: var(--ink-3); }
.value__t { font-weight: 200; font-size: clamp(1.7rem, 3.8vw, 3.6rem); letter-spacing: -0.035em; line-height: 1.05; }
.value__d { color: var(--ink-2); font-size: .95rem; }
@media (hover: hover) {
  .value:hover::before { transform: scaleY(1); }
  .value:hover > * { color: var(--warm); }
  .value:hover .value__t { transform: translateX(16px); }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(18px, 2vw, 28px) 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { flex: none; display: inline-flex; align-items: center; gap: clamp(28px, 4vw, 64px); padding-right: clamp(28px, 4vw, 64px); font-size: clamp(.8rem, 1.2vw, 1rem); letter-spacing: .32em; text-transform: uppercase; font-weight: 300; color: var(--ink-2); }
.marquee__track svg { width: 22px; color: var(--ink-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA / contact ---------- */
.cta { text-align: left; }
.cta__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 56px; }
.cta__copy { grid-column: 1 / span 6; }
.cta__copy .h2 { margin: 28px 0 32px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.form { grid-column: 8 / span 5; display: grid; gap: 8px; align-content: start; }
.field { position: relative; border-bottom: 1px solid var(--line-strong); transition: border-color .4s ease; }
.field:focus-within { border-color: var(--warm); }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; outline: 0; padding: 30px 0 14px; font-weight: 300; font-size: 1.05rem; resize: none; border-radius: 0; appearance: none;
}
.field select { cursor: pointer; }
.field select option { background: var(--charcoal); color: var(--warm); }
.field label { position: absolute; left: 0; top: 28px; font-size: .7rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-3); pointer-events: none; transition: transform .45s var(--ease-out), color .3s ease; transform-origin: left top; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-20px) scale(.86); color: var(--titanium); }
.field::after { content: ""; position: absolute; right: 0; top: 36px; width: 8px; height: 8px; border-right: 1px solid var(--ink-3); border-bottom: 1px solid var(--ink-3); transform: rotate(45deg); pointer-events: none; display: none; }
.field--select::after { display: block; }
.form .btn { margin-top: 32px; justify-self: start; }
.form__note { font-size: .78rem; color: var(--ink-3); margin: 14px 0 0; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--matte); padding-top: clamp(80px, 10vw, 160px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; padding-bottom: clamp(56px, 7vw, 110px); }
.footer__col { grid-column: span 3; display: flex; flex-direction: column; gap: 10px; }
.footer__col:first-child { grid-column: 1 / span 5; }
.footer__col h4 { margin: 0 0 10px; font-weight: 400; font-size: .68rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-3); }
.footer__col a, .footer__col p { color: var(--ink-2); margin: 0; font-size: .95rem; transition: color .3s ease; }
.footer__col a:hover { color: var(--warm); }
.footer__big { display: flex; justify-content: center; padding: 0 var(--gutter); color: var(--warm); opacity: .96; }
.footer__big .wordmark { font-size: clamp(3.4rem, 15.5vw, 17rem); letter-spacing: .2em; margin-right: -.2em; font-weight: 200; }
.footer__big .wordmark .lambda { margin-right: .2em; }
.footer__big .wordmark .lambda path { stroke-width: .55; }
.footer__band { margin-top: clamp(40px, 6vw, 90px); background: #cfc8bf; color: var(--matte); text-align: center; padding: 16px var(--gutter); font-size: .7rem; letter-spacing: .4em; text-transform: uppercase; font-weight: 400; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: .7rem; letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; width: 0; height: 0; display: none; }
.cursor__ring { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--warm); mix-blend-mode: difference; transition: transform .5s var(--ease-out), opacity .3s ease; }
.cursor__label { position: absolute; left: -44px; top: -44px; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: rgba(231,228,223,.92); color: var(--matte); font-size: .6rem; letter-spacing: var(--track); text-transform: uppercase; font-weight: 400; transform: scale(0); transition: transform .55s var(--ease-out); }
.cursor.has-label .cursor__label { transform: scale(1); }
.cursor.has-label .cursor__ring { opacity: 0; }
.cursor.is-link .cursor__ring { transform: scale(3.2); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ==========================================================================
   Development page
   ========================================================================== */
.dev-hero { position: relative; height: 100svh; min-height: 680px; overflow: hidden; }
.dev-hero .hero__media img { object-position: 50% 55%; }
.dev-hero__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(28px, 5vw, 64px); }
.chip { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(11,11,11,.35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: .64rem; letter-spacing: var(--track); text-transform: uppercase; font-weight: 400; }
.dev-hero__title { margin: 28px 0 0; }
.dev-hero__row { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: clamp(28px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); }
.dev-hero__row p { margin: 0; max-width: 30em; color: var(--ink-2); }

.keyfacts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.keyfact { padding: clamp(28px, 3.4vw, 48px) 20px clamp(28px, 3.4vw, 48px) 0; border-right: 1px solid var(--line); }
.keyfact + .keyfact { padding-left: 20px; }
.keyfact:last-child { border-right: 0; }
.keyfact b { display: block; font-weight: 200; font-size: clamp(1.8rem, 3.2vw, 3.1rem); letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 10px; }
.keyfact > span { font-size: .66rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-3); }

.split2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: center; row-gap: 48px; }
.split2__text { grid-column: 1 / span 5; }
.split2__text .h2 { margin: 26px 0 34px; }
.split2__media { grid-column: 7 / span 6; aspect-ratio: 4 / 5; }
.split2--rev .split2__text { grid-column: 8 / span 5; grid-row: 1; }
.split2--rev .split2__media { grid-column: 1 / span 6; grid-row: 1; aspect-ratio: 4 / 3; }

.location__list { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.location__list li { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.location__list li b { font-weight: 300; color: var(--warm); }

/* Collections */
.collections__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.seg { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(26,26,26,.6); }
.seg button { position: relative; z-index: 1; height: 44px; padding: 0 22px; border-radius: 999px; font-size: .66rem; letter-spacing: var(--track); text-transform: uppercase; font-weight: 400; color: var(--ink-2); transition: color .35s ease; -webkit-tap-highlight-color: transparent; }
.seg button[aria-selected="true"] { color: var(--matte); }
.seg__pill { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--warm); will-change: transform, width; }
.collection { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; align-items: stretch; }
.collection[hidden] { display: none; }
.collection__media { grid-column: 1 / span 7; aspect-ratio: 16 / 11; }
.collection__info { grid-column: 9 / span 4; display: flex; flex-direction: column; }
.collection__info .h2 { font-size: clamp(2rem, 3.8vw, 3.8rem); margin: 22px 0 20px; }
.collection__specs { list-style: none; padding: 0; margin: auto 0 0; border-top: 1px solid var(--line); }
.collection__specs li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.collection__specs li b { font-weight: 300; color: var(--warm); text-align: right; }
.collection.is-entering .collection__media { animation: colIn 1s var(--ease-out); }
.collection.is-entering .collection__info > * { animation: colUp .9s var(--ease-out) both; }
.collection.is-entering .collection__info > *:nth-child(2) { animation-delay: .05s; }
.collection.is-entering .collection__info > *:nth-child(3) { animation-delay: .1s; }
.collection.is-entering .collection__info > *:nth-child(4) { animation-delay: .15s; }
@keyframes colIn { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes colUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Site plan */
.plan { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; align-items: center; }
.plan__map { grid-column: 1 / span 7; position: relative; aspect-ratio: 1; border: 1px solid var(--line); overflow: hidden; background: #262626; }
.plan__map img { width: 100%; height: 100%; object-fit: cover; }
.plan__dot {
  position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  display: grid; place-items: center; font-size: .62rem; font-weight: 500; letter-spacing: 0;
  background: rgba(11,11,11,.82); color: var(--warm); border: 1px solid rgba(231,228,223,.55);
  transform: scale(.001); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .4s ease, background-color .3s ease, color .3s ease, border-color .3s ease;
  -webkit-tap-highlight-color: transparent;
}
.plan.is-in .plan__dot { transform: scale(1); opacity: 1; transition-delay: calc(var(--i) * 35ms + .4s), calc(var(--i) * 35ms + .4s), 0s, 0s, 0s; }
.plan__dot.is-dim { opacity: .28; }
.plan__dot.is-on, .plan__dot:hover { background: var(--warm); color: var(--matte); border-color: var(--warm); transform: scale(1.18); transition-delay: 0s; }
.plan__panel { grid-column: 9 / span 4; }
.plan__panel .h2 { margin: 24px 0 28px; }
.plan__card { margin-top: 32px; border: 1px solid var(--line); padding: 28px; min-height: 220px; position: relative; overflow: hidden; }
.plan__card .label { margin-bottom: 18px; }
.plan__unit { font-weight: 200; font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -0.04em; margin: 0 0 16px; }
.plan__card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; font-size: .9rem; }
.plan__card dt { color: var(--ink-3); font-size: .66rem; letter-spacing: var(--track); text-transform: uppercase; padding-top: 4px; }
.plan__card dd { margin: 0; color: var(--ink); }
.plan__card .swap { animation: colUp .6s var(--ease-out); }
.plan__legend { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.plan__legend button { display: inline-flex; align-items: center; gap: 10px; font-size: .64rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-2); padding: 6px 0; }
.plan__legend button i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--warm); }
.plan__legend button.is-on { color: var(--warm); }
.plan__legend button.is-on i { background: var(--warm); }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 80px) clamp(16px, 2vw, 32px); }
.feat .frame { aspect-ratio: 16 / 11; margin-bottom: 26px; }
.feat:nth-child(even) { margin-top: clamp(0px, 10vw, 160px); }
.feat .h3 { margin: 14px 0 12px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.gallery button { position: relative; display: block; overflow: hidden; background: var(--charcoal); }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .8s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .g-a { grid-column: span 8; aspect-ratio: 16 / 9; }
.gallery .g-b { grid-column: span 4; }
.gallery .g-c { grid-column: span 4; aspect-ratio: 4 / 5; }
.gallery .g-d { grid-column: span 4; aspect-ratio: 4 / 5; }
.gallery .g-e { grid-column: span 4; aspect-ratio: 4 / 5; }
.gallery .g-f { grid-column: span 5; aspect-ratio: 4 / 3; }
.gallery .g-g { grid-column: span 7; }

.lightbox { position: fixed; inset: 0; z-index: 400; display: none; background: rgba(11,11,11,0); touch-action: none; }
.lightbox.is-open { display: block; }
.lightbox__stage { position: absolute; inset: 0; overflow: hidden; }
.lightbox__track { position: absolute; inset: 0; display: flex; will-change: transform; }
.lightbox__slide { flex: none; width: 100vw; height: 100%; display: grid; place-items: center; padding: 84px var(--gutter) 96px; }
.lightbox__slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.lightbox__ui { position: absolute; inset: 0; pointer-events: none; }
.lightbox__ui > * { pointer-events: auto; }
.lightbox__close { position: absolute; right: var(--gutter); top: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .3s ease; }
.lightbox__close:hover { background: rgba(231,228,223,.1); }
.lightbox__close svg { width: 16px; }
.lightbox__count { position: absolute; left: var(--gutter); top: 34px; font-size: .68rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; font-size: .68rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-2); }
.lightbox__nav { position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .3s ease; }
.lightbox__nav:hover { background: rgba(231,228,223,.1); }
.lightbox__nav svg { width: 18px; }
.lightbox__nav--prev { left: var(--gutter); }
.lightbox__nav--next { right: var(--gutter); }

/* Timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 48px; }
.timeline__line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.timeline__line i { position: absolute; inset: 0; background: var(--warm); transform-origin: left; transform: scaleX(0); transition: transform 2.2s var(--ease-in-out) .2s; }
.timeline.is-in .timeline__line i { transform: scaleX(var(--p, .62)); }
.milestone { position: relative; }
.milestone::before { content: ""; position: absolute; top: -53px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--matte); border: 1px solid var(--line-strong); }
.milestone.is-done::before { background: var(--warm); border-color: var(--warm); }
.milestone.is-now::before { background: var(--warm); border-color: var(--warm); box-shadow: 0 0 0 6px rgba(231,228,223,.12); }
.milestone .label { margin-bottom: 14px; }
.milestone h3 { margin: 0 0 10px; font-weight: 300; font-size: 1.25rem; letter-spacing: -0.01em; }
.milestone p { margin: 0; color: var(--ink-2); font-size: .92rem; }

.register { position: relative; overflow: hidden; }
.register__bg { position: absolute; inset: 0; }
.register__bg img { width: 100%; height: 100%; object-fit: cover; }
.register__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,11,.94) 0%, rgba(11,11,11,.78) 48%, rgba(11,11,11,.45) 100%); }
.register .wrap { position: relative; }
.register__card { max-width: 640px; }
.register__card .h2 { margin: 26px 0 26px; }
.agent { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: .92rem; color: var(--ink-2); }
.agent b { display: block; font-weight: 300; color: var(--warm); margin-bottom: 4px; }
.agent a:hover { color: var(--warm); }
.disclaimer { font-size: .74rem; color: var(--ink-3); max-width: 60em; margin: 0; }

/* Page transition veil */
.veil { position: fixed; inset: 0; z-index: 280; background: var(--matte); pointer-events: none; transform: translateY(100%); }
.veil.is-out { transform: translateY(0); transition: transform .75s var(--ease-in-out); pointer-events: all; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .approach__media { grid-column: 1 / -1; display: none; }
  .approach__steps { grid-column: 1 / -1; }
  .approach__intro { min-height: 0; }
  .step { min-height: 0; opacity: 1; padding: 40px 0; }
  .step__img { display: block !important; margin-bottom: 28px; aspect-ratio: 16 / 10; }
  .keyfacts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .keyfact:nth-child(3) { border-right: 0; }
  .keyfact:nth-child(4) { padding-left: 0; }
  .keyfact:nth-child(n+4) { border-top: 1px solid var(--line); }
}
.step__img { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header .lockup { font-size: 1rem; }
  .hero__foot { grid-template-columns: 1fr; gap: 20px; }
  .now { justify-self: start; }
  .scroll-cue { display: none; }
  .statement__foot > div { grid-column: 1 / -1; }
  .feature__head .h2, .feature__head .feature__meta { grid-column: 1 / -1; }
  .feature__head .feature__meta { margin-top: 28px; }
  .feature__hero { aspect-ratio: 4 / 3; }
  .feature__strip .frame:nth-child(1) { grid-column: 1 / span 6; }
  .feature__strip .frame:nth-child(2) { grid-column: 7 / span 6; margin-top: 80px; }
  .feature__caption { grid-column: 1 / -1; margin-top: 8px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(3) { padding-left: 0; }
  .fact:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--line); }
  .hcard { width: 82vw; }
  .hcard--narrow { width: 58vw; }
  .values__head .h2, .values__head p { grid-column: 1 / -1; }
  .values__head p { margin-top: 24px; }
  .value { grid-template-columns: 48px 1fr; }
  .value__d { grid-column: 2; }
  .cta__copy, .form { grid-column: 1 / -1; }
  .footer__col, .footer__col:first-child { grid-column: span 6; }
  .footer__col:first-child { grid-column: 1 / -1; }
  .split2__text, .split2__media, .split2--rev .split2__text, .split2--rev .split2__media { grid-column: 1 / -1; grid-row: auto; }
  .split2__media { aspect-ratio: 4 / 3; }
  .collection__media, .collection__info { grid-column: 1 / -1; }
  .plan__map, .plan__panel { grid-column: 1 / -1; }
  .plan__dot { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: .55rem; }
  .features { grid-template-columns: 1fr; }
  .feat:nth-child(even) { margin-top: 0; }
  .gallery .g-a, .gallery .g-g { grid-column: span 12; }
  .gallery .g-b, .gallery .g-c, .gallery .g-d, .gallery .g-e, .gallery .g-f { grid-column: span 6; aspect-ratio: 4 / 5; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .timeline__line { display: none; }
  .milestone::before { top: -22px; }
  .dev-hero__row { flex-direction: column; align-items: flex-start; }
  .keyfacts { grid-template-columns: 1fr 1fr; }
  .keyfact, .keyfact + .keyfact { padding-left: 0; padding-right: 12px; border-right: 0; border-top: 1px solid var(--line); }
  .keyfact:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .keyfact:nth-child(-n+2) { border-top: 0; }
  .lightbox__nav { display: none; }
  .agent { grid-template-columns: 1fr; }
  .expand { height: 160svh; }
}

@media (max-width: 560px) {
  .display { font-size: clamp(2.7rem, 13.4vw, 4rem); }
  .feature__strip .frame:nth-child(1), .feature__strip .frame:nth-child(2) { grid-column: 1 / -1; margin-top: 0; }
  .footer__col, .footer__col:first-child { grid-column: 1 / -1; }
  .footer__band { letter-spacing: .24em; font-size: .62rem; }
  .facts .fact__n, .keyfact b { font-size: 2.2rem; }
  .seg button { padding: 0 14px; font-size: .6rem; }
  .timeline { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Accessibility preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal, .split .line > span, .mask, .mask img, .rule, .plan__dot { transition: opacity .4s ease !important; transform: none !important; clip-path: none !important; }
  .reveal:not(.is-in) { opacity: 0; }
  .hero__media img { transform: none !important; transition: none; }
  .marquee__track { animation: none; }
  .words .w { opacity: 1; }
  .hscroll__sticky { position: relative; height: auto; padding: var(--section) 0; }
  .hscroll__track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; }
  .hcard { scroll-snap-align: start; }
  .expand { height: auto; }
  .expand__sticky { position: relative; }
  .expand__media { clip-path: none; }
  .expand__media::after { background: rgba(11,11,11,.5); }
  .expand__text { opacity: 1; transform: none; }
  .loader { display: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .header.is-solid { background: var(--matte); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .now, .chip, .seg { background: var(--charcoal); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: rgba(231,228,223,.9); --ink-3: rgba(231,228,223,.75); --line: rgba(231,228,223,.4); }
}

/* ---------- Additions ---------- */
.head-main { grid-column: 1 / span 8; }
.head-main--7 { grid-column: 1 / span 7; }
@media (max-width: 900px) { .head-main, .head-main--7 { grid-column: 1 / -1; } }

.frame[data-parallax] img { height: 100%; margin-top: 0; }
.frame .px { position: absolute; left: 0; right: 0; top: -9%; height: 118%; will-change: transform; }
.frame .px img { width: 100%; height: 100%; object-fit: cover; }
.frame:not([data-parallax]) .px { top: 0; height: 100%; }

.wordmark .lambda path { vector-effect: none; stroke-width: 1.05; }
.footer__big .wordmark .lambda path { stroke-width: .8; }
.lockup__sub { text-transform: uppercase; }
.loader .lockup__sub { font-size: .3em; }

.lightbox[aria-hidden="true"] .lightbox__ui { visibility: hidden; }
.lightbox.is-open .lightbox__ui { visibility: visible; }
.plan__card .swap-host { min-height: 180px; }
.timeline--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .timeline--3 { grid-template-columns: 1fr; } }
/* clip the inner layer so IntersectionObserver still sees the frame */
.mask { clip-path: none; background: transparent; }
.mask > .px { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-in-out); transition-delay: var(--d, 0s); }
.mask.is-in > .px { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .mask > .px { clip-path: none !important; } }
.split2 .h2 { font-size: clamp(2.2rem, 4.6vw, 4.8rem); }
.nowrap { white-space: nowrap; }
.collection { align-items: start; }
.collection__media, .split2__media, .plan__map, .feature__strip .frame { width: 100%; }
@media (max-width: 560px) {
  .display { font-size: clamp(2.4rem, 11.4vw, 4rem); }
  .hero .label--rule::before { display: none; }
  .hero__foot p { font-size: .9rem; }
}
@media (max-width: 900px) { .value { gap: 8px 16px; } }
@media (max-width: 560px) {
  .plan__dot { width: 14px; height: 14px; margin: -7px 0 0 -7px; font-size: 0; }
  .plan__dot.is-on { transform: scale(1.5); }
}

/* ---------- Logo (generated from Brand Pack/Source/logo.py) ---------- */
.lockup .logo-h { height: 44px; width: auto; display: block; }
.header .lockup .logo-h { height: 42px; }
.footer .lockup .logo-h { height: 56px; }
.logo-big { width: min(100%, 1180px); height: auto; display: block; }
.footer__big { padding-top: 8px; }
.marquee__track .logo-mark { width: 20px; height: auto; color: var(--ink-3); }
@media (max-width: 900px) { .header .lockup .logo-h { height: 36px; } }

.logo-loader { width: clamp(200px, 24vw, 300px); height: auto; overflow: visible; }
.logo-loader .ld-line { clip-path: inset(100% 0 0 0); }
.logo-loader .ld-letter { opacity: 0; transform: translateY(6px); transform-box: fill-box; }
.logo-loader .ld-sub { opacity: 0; }
html.is-loading .logo-loader .ld-line { animation: ldGrow 1s var(--ease-in-out) forwards; }
html.is-loading .logo-loader .ld-line:nth-child(2) { animation-delay: .1s; }
html.is-loading .logo-loader .ld-line:nth-child(3) { animation-delay: .2s; }
html.is-loading .logo-loader .ld-line:nth-child(4) { animation-delay: .34s; }
html.is-loading .logo-loader .ld-letter { animation: rise .9s var(--ease-out) forwards; }
html.is-loading .logo-loader .ld-letter:nth-child(1) { animation-delay: .75s; }
html.is-loading .logo-loader .ld-letter:nth-child(2) { animation-delay: .83s; }
html.is-loading .logo-loader .ld-letter:nth-child(3) { animation-delay: .91s; }
html.is-loading .logo-loader .ld-letter:nth-child(4) { animation-delay: .99s; }
html.is-loading .logo-loader .ld-letter:nth-child(5) { animation-delay: 1.07s; }
html.is-loading .logo-loader .ld-sub { animation: fade 1s 1.25s var(--ease-out) forwards; }
@keyframes ldGrow { to { clip-path: inset(0 0 0 0); } }

/* Pinned gallery: keep the heading clear of the fixed header and fit cards to the viewport height */
.hscroll__sticky { padding-top: var(--header-h); }
.hscroll .h2 { font-size: clamp(2rem, 4.2vw, 4.4rem); }
.hcard { width: min(64vw, 980px, calc((100svh - var(--header-h) - 280px) * 1.6)); }
.hcard--narrow { width: min(34vw, 520px, calc((100svh - var(--header-h) - 280px) * 0.8)); }
@media (max-width: 900px) {
  .hcard { width: min(82vw, calc((100svh - var(--header-h) - 240px) * 1.6)); }
  .hcard--narrow { width: min(58vw, calc((100svh - var(--header-h) - 240px) * 0.8)); }
}
