/* ============================================================
   THE DELHI UNION — modern layer
   Same world (binding blue, gold tooling, paper, Caslon),
   re-rendered at poster scale: full-bleed duotone photography,
   kinetic type, a horizontal rail through the record, portrait
   marquees. GSAP orchestrates; everything reads without it.
   ============================================================ */

/* ---------- the mark ---------- */
.logo-mark { display: inline-flex; align-items: center; }
.logo-mark img {
  width: 46px; height: 46px; display: block;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.logo-mark:hover img { opacity: 0.85; transform: scale(1.04); }
.logo-mark.lg img { width: 64px; height: 64px; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 300; background: var(--blue-abyss);
  display: flex; align-items: center; justify-content: center;
  clip-path: inset(0 0 0 0);
}
body:not([data-preload]) .preloader { display: none; }
.pl-center { position: relative; width: 160px; height: 160px; }
.pl-box { position: absolute; inset: 0; width: 100%; height: 100%; }
.pl-rect { stroke-dasharray: 624; stroke-dashoffset: 624; }
.pl-logo {
  position: absolute; inset: 20px; width: 120px; height: 120px;
  clip-path: inset(100% 0 0 0);
}
.pl-word {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, 120px);
  color: var(--gold); white-space: nowrap; opacity: 0;
}
.pl-count {
  position: absolute; right: 5vw; bottom: 4vh; overflow: hidden;
  font-family: var(--display); font-size: clamp(80px, 14vh, 150px); line-height: 1;
  color: var(--gold); opacity: 0.9;
}
.pl-n { display: inline-block; }
.pl-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transform-origin: left center; transform: scaleX(0);
}
/* no-JS / stalled-JS safety: the overlay removes itself */
.preloader { animation: pl-safety 0.6s ease 4s forwards; }
@keyframes pl-safety { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .preloader { display: none !important; } }

/* ---------- film grain ---------- */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 250; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.035; animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

/* ---------- nav roll hover ---------- */
.rl { display: inline-block; position: relative; overflow: hidden; vertical-align: bottom; }
.rl-a, .rl-b { display: block; transition: transform 0.45s var(--ease); }
.rl-b { position: absolute; left: 0; top: 100%; }
a:hover > .rl .rl-a, a:focus-visible > .rl .rl-a { transform: translateY(-100%); }
a:hover > .rl .rl-b, a:focus-visible > .rl .rl-b { transform: translateY(-100%); }

/* ---------- hero structure lines ---------- */
.heroX .gridlines { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.heroX .gridlines i {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: rgba(197, 164, 92, 0.07);
}
.heroX .gridlines i:nth-child(1) { left: 25%; }
.heroX .gridlines i:nth-child(2) { left: 50%; }
.heroX .gridlines i:nth-child(3) { left: 75%; }

.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;
}

/* ---------- duotone photography ---------- */
.duo-frame {
  display: block; border: 1px solid rgba(197, 164, 92, 0.55); padding: 5px;
  background: rgba(8, 18, 38, 0.5); overflow: hidden;
}
.duo-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.2s var(--ease);
}
.duo figcaption { margin-top: 12px; color: var(--gold); }
.on-paper .duo figcaption { color: var(--gold-ink); }

/* ---------- masthead (Oxford register) ---------- */
.masthead {
  background: var(--blue-binding); text-align: center;
  padding: 40px 32px 0; position: relative; z-index: 5;
}
.masthead-brand { display: inline-flex; align-items: center; gap: 24px; }
.masthead-brand img { width: 74px; height: 74px; display: block; transition: transform 0.4s var(--ease); }
.masthead-brand:hover img { transform: scale(1.04); }
.masthead-word {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 3.8vw, 54px); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white-soft); white-space: nowrap;
}
.masthead-word em {
  font-style: italic; text-transform: none; letter-spacing: 0.02em;
  font-size: 0.6em; color: var(--white-dim); margin-right: 0.22em; vertical-align: 0.08em;
}
.masthead-nav {
  margin-top: 30px; padding: 20px 0 22px;
  display: flex; justify-content: center; align-items: center; gap: 38px; flex-wrap: wrap;
  border-top: 1px solid rgba(197, 164, 92, 0.25);
}
.masthead-nav a {
  color: var(--white-dim); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.masthead-nav a:hover { color: var(--gold-bright); }
.masthead-nav .btn.sm { padding: 10px 22px 8px; color: var(--gold); }
.masthead-nav .btn.sm:hover { color: var(--gold-bright); }

/* the slim nav waits behind the masthead and slides in on scroll */
html.gsap .nav.nav-wait { transform: translateY(-102%); transition: transform 0.55s var(--ease); }
html.gsap .nav.nav-wait.nav-in { transform: none; }

/* ---------- HERO O — the banner under the masthead ---------- */
.heroO {
  position: relative; overflow: hidden; background: var(--blue-abyss);
  aspect-ratio: 2 / 1; max-height: 78vh; min-height: 440px;
}
.heroO-media { position: absolute; inset: -4% 0; }
.heroO-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.heroO-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(8, 18, 38, 0.78) 0%, rgba(8, 18, 38, 0.35) 52%, rgba(8, 18, 38, 0.3) 100%),
    linear-gradient(to top, rgba(8, 18, 38, 0.62) 0%, transparent 45%);
}
.heroO-quote { position: absolute; left: 6vw; right: 6vw; bottom: 11%; max-width: 780px; }
.heroO-line {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(32px, 4.5vw, 70px); line-height: 1.22; color: #fff;
  text-shadow: 0 2px 26px rgba(8, 18, 38, 0.55);
  text-wrap: balance;
}
.heroO-attr { margin-top: 28px; }
.heroO-name { font-size: 20px; letter-spacing: 0.02em; color: var(--white-soft); margin-bottom: 8px; }

@media (max-width: 760px) {
  .masthead { display: none; }
  html.gsap .nav.nav-wait { transform: none; }
  .heroO { aspect-ratio: auto; min-height: 72svh; margin-top: 68px; }
  .heroO-quote { bottom: 9%; }
}

/* ---------- speaker's record ---------- */
.speaker-hero { position: relative; padding: 170px 0 110px; overflow: hidden; }
.speaker-hero-grid {
  display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: center;
  position: relative; z-index: 2;
}
.plate-frame.lg { padding: 8px; border-color: rgba(197, 164, 92, 0.75); }
.plate-frame.lg img { aspect-ratio: 3 / 3.6; object-fit: cover; object-position: center 20%; width: 100%; }
.speaker-plate { position: relative; }
.speaker-plate::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 1px solid rgba(197, 164, 92, 0.3);
}
.speaker-name {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(40px, 5.2vw, 78px); line-height: 1.08; color: var(--white-soft);
  margin-top: 22px; text-wrap: balance;
}
.speaker-role {
  font-family: var(--display); font-style: italic;
  font-size: clamp(18px, 1.7vw, 24px); color: var(--gold-bright); margin-top: 14px;
}
.speaker-facts { font-style: italic; color: var(--white-dim); font-size: 16.5px; max-width: 46ch; }
.speaker-bio { padding: 110px 0 30px; }
.speaker-bio .section-head { margin-bottom: 46px; }
.speaker-sittings { padding: 90px 0 130px; }
.convo-grid.narrow { grid-template-columns: repeat(auto-fit, minmax(0, 480px)); justify-content: center; }
.convo .section-head + .convo-grid .convo-title { color: var(--white-soft); }

@media (max-width: 980px) {
  .speaker-hero { padding: 140px 0 90px; }
  .speaker-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .speaker-plate { max-width: 320px; }
  .convo-grid.narrow { grid-template-columns: 1fr; }
}

/* faces stay in frame on hero backdrops */
.hero-backdrop img { object-position: center 24%; }

/* ---------- board of advisors ---------- */
.advisors { position: relative; padding: 170px 0 160px; overflow: hidden; }
.advisors > .container { position: relative; z-index: 2; }
.adv-head { text-align: center; max-width: 820px; margin: 0 auto 90px; }
.adv-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(48px, 7vw, 104px); line-height: 1.02; color: var(--white-soft);
  margin: 26px 0 30px; letter-spacing: -0.01em;
}
.adv-lede {
  font-family: var(--display); font-style: italic;
  font-size: clamp(18px, 1.9vw, 25px); line-height: 1.55; color: var(--white-dim);
  max-width: 30ch; margin: 0 auto;
}

/* the First Chairman leads, at scale */
.adv-first {
  display: grid; grid-template-columns: 400px 1fr; gap: 76px; align-items: center;
  max-width: 1180px; margin: 0 auto 120px;
  border-top: 1px solid rgba(197, 164, 92, 0.4);
  border-bottom: 1px solid rgba(197, 164, 92, 0.4);
  padding: 64px 0;
}
.adv-first-plate { position: relative; }
.adv-first-plate .plate-frame { padding: 7px; border-color: rgba(197, 164, 92, 0.7); }
.adv-first-plate::after {
  content: ""; position: absolute; inset: 16px -16px -16px 16px; z-index: -1;
  border: 1px solid rgba(197, 164, 92, 0.28);
}
.adv-first-plate img { aspect-ratio: 3 / 3.5; object-fit: cover; object-position: center 16%; width: 100%; }
.adv-name {
  font-family: var(--display); font-size: clamp(38px, 4.2vw, 62px); line-height: 1.06;
  color: var(--white-soft); margin: 18px 0 22px;
}
.adv-name a { transition: color 0.3s var(--ease); }
.adv-name a:hover { color: var(--gold-bright); }
.adv-bio { color: var(--white-dim); font-size: 18px; line-height: 1.75; max-width: 52ch; }

/* the board, in three — flex so an orphan final row centres itself */
.adv-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 80px 56px; max-width: 1180px; margin: 0 auto;
}
.adv-card { text-align: center; flex: 0 1 320px; }
.adv-card .plate-frame { max-width: 300px; margin: 0 auto; padding: 6px; }
.adv-card .plate-frame img { aspect-ratio: 3 / 3.5; object-fit: cover; object-position: center 16%; width: 100%; }
.adv-name.sm { font-size: clamp(24px, 2vw, 30px); margin: 22px 0 10px; }
.adv-role {
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.adv-bio.sm { font-size: 16px; line-height: 1.7; max-width: 34ch; margin: 0 auto; }
.plate-frame.monogram {
  aspect-ratio: 3 / 3.5; display: flex; align-items: center; justify-content: center;
  background: var(--blue-board);
}
.plate-frame.monogram span {
  font-family: var(--display); font-size: 68px; color: var(--gold);
  letter-spacing: 0.06em;
}
@media (max-width: 1080px) {
  .adv-grid { gap: 64px 44px; }
}
@media (max-width: 860px) {
  .advisors { padding: 110px 0 100px; }
  .adv-head { margin-bottom: 60px; }
  .adv-first {
    grid-template-columns: 1fr; gap: 36px; padding: 44px 0; margin-bottom: 80px;
    justify-items: center; text-align: center;
  }
  .adv-first-plate { max-width: 280px; }
  .adv-bio { margin: 0 auto; }
}
@media (max-width: 600px) {
  .adv-grid { gap: 56px; }
  .adv-card { flex-basis: 100%; }
}

/* ---------- HERO X ---------- */
.heroX {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 140px 6vw 150px;
}
.heroX-media { position: absolute; inset: -6% 0; z-index: 0; }
.heroX-media img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Liquid gold light — generated film washing across the duotone house. */
.gold-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.heroX-gold { mix-blend-mode: screen; opacity: 0.58; filter: saturate(1.15); }
.mani-gold { z-index: 0; mix-blend-mode: screen; opacity: 0.42; filter: sepia(0.5) saturate(1.6) hue-rotate(-8deg); }
.manifesto .tooling { z-index: 1; }
@media (prefers-reduced-motion: reduce), (max-width: 760px) {
  .gold-video { display: none; }
}
.heroX::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, var(--blue-binding) 4%, rgba(13, 31, 74, 0.55) 40%, rgba(13, 31, 74, 0.35) 100%),
    radial-gradient(ellipse 120% 80% at 20% 100%, rgba(8, 18, 38, 0.75), transparent 60%);
}
.heroX .tooling { z-index: 2; }
.heroX-stack { position: relative; z-index: 3; max-width: 1360px; }
.heroX-kicker { margin-bottom: 26px; }
.heroX-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(58px, 11.5vw, 176px); line-height: 0.98; letter-spacing: 0.03em;
  color: var(--gold); margin-left: -0.04em;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .heroX-title {
    background: linear-gradient(100deg, #96793a 0%, #c5a45c 30%, #ecd394 52%, #c5a45c 70%, #96793a 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: leaf-sheen 12s var(--ease) infinite;
  }
}
/* When motion.js splits the title into chars, the gradient moves onto each
   char (parent background-clip:text mispaints over transformed children in
   Chromium); JS sets per-char background-size/position for continuity. */
.heroX-title.char-leaf {
  background: none; animation: none;
  -webkit-text-fill-color: currentColor; color: var(--gold);
}
.heroX-title.char-leaf .hx-ch {
  background-image: linear-gradient(100deg, #96793a 0%, #c5a45c 30%, #ecd394 52%, #c5a45c 70%, #96793a 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hx-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hx-inner { display: inline-block; }
.heroX-tag {
  font-family: var(--display); font-style: italic;
  font-size: clamp(20px, 2.5vw, 34px); color: var(--white-soft);
  margin-top: 30px; max-width: 30ch;
}
.heroX-ctas { margin-top: 44px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.heroX .cover-scroll { z-index: 3; }

/* word-stagger plumbing: visible by default; GSAP hides then reveals */
[data-words] .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
[data-words] .wi { display: inline-block; will-change: transform; }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap; background: var(--blue-abyss);
  border-top: 1px solid rgba(197, 164, 92, 0.4);
  border-bottom: 1px solid rgba(197, 164, 92, 0.4);
  padding: 16px 0;
}
.mq-track { display: inline-flex; align-items: center; gap: 44px; padding-right: 44px; animation: mq 30s linear infinite; will-change: transform; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-item {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  font-family: var(--serif);
}
.mq-item.dev { font-family: var(--devanagari); text-transform: none; letter-spacing: 0.08em; font-size: 15px; }
.mq-dot { color: rgba(197, 164, 92, 0.6); display: inline-flex; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }

/* ---------- kinetic motion section ---------- */
.motionX { position: relative; padding: 150px 0 130px; }
.motionX .eyebrow { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-bottom: 44px; }
.motionX-display { font-size: clamp(32px, 5.2vw, 76px); max-width: 22ch; }

/* ---------- horizontal rail ---------- */
.rail { position: relative; padding: 120px 0 0; }
.rail-head { margin-bottom: 20px; }
.rail-pin { padding: 40px 0 120px; }
.rail-track {
  display: flex; gap: 36px; padding: 0 6vw; width: max-content; align-items: stretch;
}
html:not(.rail-active) .rail-pin { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--gold-deep) transparent; }
html:not(.rail-active) .rail-card { scroll-snap-align: center; }
html.rail-active .rail-pin { overflow: hidden; }
.rail-card {
  position: relative; flex: 0 0 auto; width: min(540px, 80vw);
  border: 1px solid rgba(143, 116, 52, 0.45); background: var(--paper);
  padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 22px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.rail-card:hover { transform: translateY(-8px); border-color: var(--gold-deep); }
.rail-no {
  position: absolute; top: -4px; right: 14px; z-index: 0;
  font-family: var(--display); font-size: 150px; line-height: 1;
  color: rgba(143, 116, 52, 0.14); pointer-events: none;
}
.rail-media { position: relative; z-index: 1; aspect-ratio: 16 / 9; }
.rail-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.rail-motion {
  font-family: var(--display); font-style: italic;
  font-size: clamp(21px, 2vw, 27px); line-height: 1.35; color: var(--ink);
  text-wrap: balance; transition: color 0.3s var(--ease);
}
.rail-card:hover .rail-motion { color: var(--blue-royal); }
.rail-more { color: var(--gold-ink); margin-top: 4px; }
.rail-end {
  justify-content: center; background: var(--blue-binding); border-color: rgba(197, 164, 92, 0.5);
  width: min(420px, 70vw); text-align: center;
}
.rail-end .rail-motion { color: var(--white-soft); }
.rail-end .rail-more { color: var(--gold); }

/* ---------- the floor — photo essay ---------- */
.floor { position: relative; padding: 140px 0 40px; overflow: hidden; }
.floor-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px;
  padding-top: 30px; padding-bottom: 140px; align-items: start;
}
.floor-grid .duo { position: relative; }
.floor-grid .f-a { grid-column: 1 / 7; margin-top: 20px; }
.floor-grid .f-a .duo-frame { aspect-ratio: 4 / 3; }
.floor-grid .f-b { grid-column: 8 / 13; margin-top: 140px; }
.floor-grid .f-b .duo-frame { aspect-ratio: 4 / 3.4; }
.floor-quote {
  grid-column: 3 / 11; margin: 120px 0 90px; text-align: center;
  font-family: var(--display); font-style: italic;
  font-size: clamp(26px, 3.6vw, 52px); line-height: 1.35; color: var(--white-soft);
  text-wrap: balance;
}
.floor-grid .f-c { grid-column: 1 / 5; }
.floor-grid .f-c .duo-frame { aspect-ratio: 3 / 4; }
.floor-grid .f-d { grid-column: 5 / 9; margin-top: 110px; }
.floor-grid .f-d .duo-frame { aspect-ratio: 3 / 3.6; }
.floor-grid .f-e { grid-column: 9 / 13; margin-top: 40px; }
.floor-grid .f-e .duo-frame { aspect-ratio: 4 / 3.2; }

/* ---------- house marquee wall ---------- */
.housewall { padding: 130px 0 120px; overflow: hidden; }
.hm-row { overflow: hidden; margin-top: 34px; }
.hm-row:first-of-type { margin-top: 50px; }
.hm-track { display: flex; gap: 24px; width: max-content; animation: hm 70s linear infinite; will-change: transform; }
.hm-row.rtl .hm-track { animation-direction: reverse; }
.hm-row:hover .hm-track { animation-play-state: paused; }
@keyframes hm { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hm-track { animation: none; } }
.hm-cell { flex: 0 0 auto; width: 160px; text-align: center; }
.hm-cell img {
  width: 100%; aspect-ratio: 3 / 3.7; object-fit: cover;
  border: 1px solid rgba(197, 164, 92, 0.5); padding: 4px; background: rgba(8, 18, 38, 0.5);
  transition: border-color 0.5s var(--ease);
}
.hm-cell:hover img { border-color: var(--gold-bright); }
.hm-name {
  display: block; margin-top: 10px; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--white-dim);
}
.housewall .house-foot { margin-top: 70px; }

/* ---------- manifesto ---------- */
.manifesto { position: relative; padding: 170px 32px; text-align: center; overflow: hidden; }
.manifesto .inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.mani-line {
  font-family: var(--display); font-style: italic;
  font-size: clamp(30px, 5vw, 66px); line-height: 1.25; color: var(--white-soft);
  margin-top: 0.4em; text-wrap: balance;
}
.mani-line.em { color: var(--gold-bright); }
.mani-actions { margin-top: 64px; }
.mani-note { margin-top: 22px; font-size: 14.5px; font-style: italic; color: var(--white-dim); }

/* ---------- interior heroes with media ---------- */
.page-hero.with-media, .proc-hero.with-media { overflow: hidden; }
.hero-backdrop { position: absolute; inset: -5% 0; z-index: 0; }
.hero-backdrop img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.5) contrast(1.02);
  transform: scale(1.05);
}
.page-hero.with-media::before, .proc-hero.with-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, var(--blue-binding) 2%, rgba(13, 31, 74, 0.5) 45%, rgba(13, 31, 74, 0.4) 100%);
}
.page-hero.with-media > *:not(.hero-backdrop):not(.tooling),
.proc-hero.with-media > *:not(.hero-backdrop):not(.tooling) { position: relative; z-index: 2; }
.page-hero.with-media .tooling, .proc-hero.with-media .tooling { position: absolute; z-index: 2; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .floor-grid { grid-template-columns: repeat(6, 1fr); }
  .floor-grid .f-a { grid-column: 1 / 5; }
  .floor-grid .f-b { grid-column: 3 / 7; margin-top: 40px; }
  .floor-quote { grid-column: 1 / 7; margin: 80px 0 60px; }
  .floor-grid .f-c { grid-column: 1 / 4; }
  .floor-grid .f-d { grid-column: 4 / 7; margin-top: 60px; }
  .floor-grid .f-e { grid-column: 2 / 6; margin-top: 40px; }
}
@media (max-width: 760px) {
  .heroX { padding: 130px 22px 150px; align-items: flex-end; }
  .heroX-title { font-size: clamp(52px, 16.5vw, 90px); }
  .heroX-ctas { gap: 20px; }
  .rail-track { gap: 20px; padding: 0 22px; }
  .rail-card { width: 84vw; padding: 18px 18px 22px; }
  .rail-no { font-size: 96px; }
  .floor-grid { grid-template-columns: 1fr; gap: 44px; }
  .floor-grid > * { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .floor-quote { margin: 40px 0 20px; }
  .hm-cell { width: 124px; }
  .manifesto { padding: 120px 22px; }
  .motionX { padding: 110px 0 96px; }
}
