/*
  MUM Story Film - homepage scroll film
  Three movements: HELD / CALLED / MOUNTED. Dark to dawn, one direction.
  Tokens per DESIGN.md: Ink #0B0B0C, Bone #F4F1EC, Pewter #2A2A2D, Steel #9A9A9D,
  Resilient Teal #2D9B9E, Resilient Crimson #C8332A, Bronze #B8702C.
  Engine: GSAP + ScrollTrigger + Lenis (loaded by index.html). Logic in film.js.
*/

.film { position: relative; background: #0B0B0C; }

.film-beat {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0B0B0C;
}
.film-beat[data-vh="100"] { height: 100vh; }
.film-beat[data-vh="120"] { height: 120vh; }
.film-beat[data-vh="130"] { height: 130vh; }
.film-beat[data-vh="140"] { height: 140vh; }
.film-beat[data-vh="170"] { height: 170vh; }
.film-beat[data-vh="180"] { height: 180vh; }
.film-beat[data-vh="200"] { height: 200vh; }
.film-beat[data-vh="220"] { height: 220vh; }
.film-beat[data-vh="240"] { height: 240vh; }
.film-beat[data-vh="160"] { height: 160vh; }
.film-beat[data-vh="280"] { height: 280vh; }
.film-beat[data-vh="300"] { height: 300vh; }

.film-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Movement temperature: one-direction arc, restrained tints over the footage */
.film-beat[data-movement="I"] .film-tint { background: linear-gradient(180deg, rgba(11,11,12,0.42), rgba(45,155,158,0.10)); }
.film-beat[data-movement="II"] .film-tint { background: linear-gradient(180deg, rgba(11,11,12,0.38), rgba(154,154,157,0.08)); }
.film-beat[data-movement="III"] .film-tint { background: linear-gradient(180deg, rgba(11,11,12,0.30), rgba(184,112,44,0.12)); }
.film-tint {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Pinned 100vh stage inside each tall video beat (the beat is the scroll track) */
.film-pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #0B0B0C;
  perspective: 1200px;
}

/* The space layer: everything inside a pin lives here; the camera moves it */
.film-space {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

/* Letterbox bars: present through I + II, retreat in III (film.js drives --lbox) */
.film { --lbox: 0px; }
.film-pin::before,
.film-pin::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: var(--lbox);
  background: #0B0B0C;
  z-index: 6;
  pointer-events: none;
  transition: height 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.film-pin::before { top: 0; }
.film-pin::after { bottom: 0; }

/* Overlay copy */
.film-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(24px, 6vw, 96px);
  color: #F4F1EC;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  will-change: opacity, transform;
}
.film-overlay > * { pointer-events: auto; }

.film-eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.66);
  margin: 0 0 28px;
}

.film-headline {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 7vw, 118px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 0.45em;
  max-width: 16ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.film-headline em { font-style: italic; }

.film-hero-headline {
  font-size: clamp(38px, 5.6vw, 92px);
  max-width: 20ch;
}

.film-body {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
  font-weight: 400;
  margin: 0;
  max-width: 44ch;
  color: rgba(244, 241, 236, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.film-attrib {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.72);
  margin: 0 0 20px;
}

.film-rehook {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 2vw, 30px);
  color: rgba(244, 241, 236, 0.85);
  margin: 40px 0 0;
  max-width: 34ch;
}

/* Hero actions */
.film-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.film-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: #F4F1EC;
  border: 1px solid rgba(244, 241, 236, 0.3);
  border-radius: 0;
  transition: background 360ms cubic-bezier(0.22, 1, 0.36, 1), border-color 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.film-btn--red { background: #C8332A; border-color: #C8332A; }
.film-btn--red:hover { background: #A62A22; border-color: #A62A22; }
.film-btn--ghost:hover { background: rgba(244, 241, 236, 0.08); border-color: #F4F1EC; }

/* First beat: overlay visible at load (LCP + no-scroll users), engine skips its tween */
.film-beat[data-first] .film-overlay { opacity: 1; visibility: visible; transform: none; }

/* Scroll-to-enter cue (locked house move) */
.film-cue {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.55);
  margin: 48px 0 0;
  animation: film-cue-pulse 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes film-cue-pulse {
  0%, 100% { opacity: 0.45; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) { .film-cue { animation: none; } }

/* Scrub captions: staged lower-third lines driven by scroll progress */
.film-caps {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.film-cap {
  position: absolute;
  left: clamp(24px, 6vw, 96px);
  bottom: clamp(72px, 14vh, 160px);
  max-width: 46ch;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.5;
  color: #F4F1EC;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  will-change: opacity, transform;
}
.film-cap .film-cap-mark {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.6);
  margin-bottom: 10px;
}

/* Story chapters: pinned photo essays on ink */
.film-story {
  background: #0B0B0C;
}
.film-story .film-story-pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  perspective: 1200px;
}
.film-story .film-space {
  display: grid;
  grid-template-columns: minmax(320px, 5fr) 7fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(24px, 6vw, 96px);
}
.film-story-copy { color: #F4F1EC; max-width: 44ch; position: relative; z-index: 3; }
.film-story-copy .film-headline { font-size: clamp(36px, 4.6vw, 76px); }

.film-story-grain {
  position: absolute;
  inset: -16px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(244, 241, 236, 0.045) 1px, transparent 1px);
  background-size: 3px 3px;
}
/* Living grain: discrete jumps like real film stock, composited transform only */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) and (pointer: fine) {
  .film-story-grain { animation: film-grain-shift 1.2s steps(4) infinite; }
}
@keyframes film-grain-shift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-6px, 4px); }
  50% { transform: translate(4px, -6px); }
  75% { transform: translate(-4px, -4px); }
}

.film-photos {
  position: relative;
  z-index: 2;
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}
.film-photo {
  position: relative;
  flex: 1 1 0;
  max-width: 340px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(48px);
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.film-photo:nth-child(2) { margin-top: clamp(24px, 6vh, 72px); }
.film-photo:nth-child(3) { margin-top: clamp(-72px, -6vh, -24px); }
.film-photo img {
  display: block;
  width: 100%;
  height: 46vh;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(18%) contrast(1.04);
  border: 1px solid rgba(244, 241, 236, 0.14);
}
.film-photo figcaption {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9A9A9D;
  margin-top: 12px;
}

/* Truett chapter: reverent, monochrome, two frames only */
.film-story--truett .film-photo img { filter: grayscale(100%) contrast(1.02); height: 54vh; object-position: center 20%; }
.film-story--truett .film-photo { max-width: 420px; }

/* Final beat stages */
.film-final-stack { position: absolute; inset: 0; z-index: 4; }
.film-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(24px, 6vw, 96px);
  color: #F4F1EC;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  will-change: opacity, transform;
  pointer-events: none;
}
.film-stage > * { pointer-events: auto; }
.film-signoff {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(56px, 9vw, 144px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0 0 16px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.film-fineprint {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.55);
  margin: 0;
}

/* Movement rail: fixed act indicator, roman numerals (house move) */
.film-rail {
  position: fixed;
  right: clamp(16px, 2.4vw, 36px);
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(calc(-50% + 8px));
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.film-rail.is-active { opacity: 1; transform: translateY(-50%); }
.film-rail span {
  color: rgba(244, 241, 236, 0.34);
  transition: color 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.film-rail span.is-current { color: #F4F1EC; }
.film-rail span.is-current i { color: #2D9B9E; font-style: normal; }
.film-rail span i { font-style: normal; margin-right: 8px; }

/* The traveler: bronze progress thread on the left edge, a dot rides the story */
.film-spine {
  position: fixed;
  left: clamp(16px, 2.4vw, 36px);
  top: 50%;
  transform: translateY(-50%);
  height: 46vh;
  width: 1px;
  background: rgba(244, 241, 236, 0.14);
  z-index: 40;
  opacity: 0;
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.film-spine.is-active { opacity: 1; }
.film-spine-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #B8702C, rgba(184, 112, 44, 0.35));
  transform: scaleY(0);
  transform-origin: top center;
}
.film-spine-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #B8702C;
  box-shadow: 0 0 12px rgba(184, 112, 44, 0.8);
}

/* Atmosphere plates (Higgsfield environment art, desktop only): the beat's own
   background shows in the tail zones between pinned stages and behind the story
   chapters, so chapter cuts dip into weather instead of flat ink. */
@media (min-width: 901px) {
  .film-beat[data-movement="I"] {
    background: linear-gradient(rgba(11, 11, 12, 0.6), rgba(11, 11, 12, 0.8)),
      url("plates/plate-i-stadium.jpg") center / cover no-repeat #0B0B0C;
  }
  .film-beat[data-movement="II"] {
    background: linear-gradient(rgba(11, 11, 12, 0.72), rgba(11, 11, 12, 0.86)),
      url("plates/plate-ii-witness.jpg") center / cover no-repeat #0B0B0C;
  }
  .film-beat[data-movement="III"] {
    background: linear-gradient(rgba(11, 11, 12, 0.62), rgba(11, 11, 12, 0.82)),
      url("plates/plate-iii-dawn.jpg") center / cover no-repeat #0B0B0C;
  }
}

/* Mobile + reduced motion: static story, posters + copy stacked, no pin, no scrub */
@media (max-width: 900px), (prefers-reduced-motion: reduce), (pointer: coarse) {
  .film-beat { height: auto !important; min-height: 0; }
  .film-pin { height: auto; overflow: visible; }
  .film-video { position: relative; height: auto; aspect-ratio: 16 / 9; }
  .film-overlay {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: linear-gradient(180deg, rgba(11, 11, 12, 0) 0%, rgba(11, 11, 12, 0.9) 40%, #0B0B0C 100%);
    padding: 28px 20px 40px;
  }
  .film-caps { position: relative; inset: auto; padding: 8px 20px 32px; }
  .film-cap {
    position: relative;
    left: auto;
    bottom: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 20px;
  }
  .film-story .film-story-pin { height: auto; }
  .film-space {
    position: relative;
    inset: auto;
    height: auto;
    clip-path: none !important;
    transform: none !important;
  }
  .film-story .film-space {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }
  .film-photos { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .film-photo { opacity: 1; visibility: visible; transform: none; max-width: 100%; margin-top: 0 !important; }
  .film-photo img { height: auto; max-height: none; }
  .film-stage { position: relative; opacity: 1; visibility: visible; transform: none; padding: 32px 20px; }
  .film-stage + .film-stage { margin-top: 24px; }
  .film-rail { display: none; }
  .film-spine { display: none; }
  .film-beat::before, .film-beat::after { display: none; }
}

/* ============ The Fork cards (living inside the gate now) ============ */
.film-fork-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px);
  margin-top: 40px;
  max-width: 980px;
}
.film-choice {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  padding: 30px 28px 34px;
  background: rgba(11, 11, 12, 0.55);
  border: 1px solid rgba(244, 241, 236, 0.18);
  border-radius: 0;
  color: #F4F1EC;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 360ms cubic-bezier(0.22, 1, 0.36, 1), transform 360ms cubic-bezier(0.22, 1, 0.36, 1), background 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.film-choice:hover, .film-choice:focus-visible { border-color: #2D9B9E; transform: translateY(-4px); background: rgba(11, 11, 12, 0.78); }
.film-choice-tag {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #2D9B9E;
}
.film-choice-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.film-choice-sub {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(244, 241, 236, 0.75);
}
html[data-path="creative"] .film-choice[data-choose="creative"],
html[data-path="business"] .film-choice[data-choose="business"] { border-color: #2D9B9E; background: rgba(11, 11, 12, 0.8); }
html[data-path="creative"] .film-choice[data-choose="business"],
html[data-path="business"] .film-choice[data-choose="creative"] { opacity: 0.45; }
.film-choice[aria-pressed="true"] .film-choice-tag::after { content: " / riding"; color: rgba(244, 241, 236, 0.6); }

/* Path visibility: neutral until a road is chosen */
.for-creative, .for-business { display: none; }
html[data-path="creative"] .for-creative { display: inline; }
html[data-path="business"] .for-business { display: inline; }
html[data-path] .for-neutral { display: none; }
html:not([data-path="creative"]):not([data-path="business"]) .film-pathline { display: none; }

/* Path chip: shows the chosen road, click to switch */
.film-path-chip {
  position: fixed;
  left: clamp(16px, 2.4vw, 36px);
  bottom: clamp(20px, 4vh, 44px);
  z-index: 41;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F4F1EC;
  background: rgba(11, 11, 12, 0.72);
  border: 1px solid rgba(244, 241, 236, 0.25);
  padding: 10px 14px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.film-path-chip:hover { border-color: #2D9B9E; }
.film-path-chip [data-path-chip-label] { color: #2D9B9E; }

/* Services grid: chosen road leads, other road steps back */
html[data-path="creative"] .home-services__grid a[data-road="business"],
html[data-path="business"] .home-services__grid a[data-road="creative"] { opacity: 0.5; }
html[data-path="creative"] .home-services__grid a[data-road="creative"],
html[data-path="business"] .home-services__grid a[data-road="business"] { order: -1; }
html[data-path="creative"] .home-services__grid a[data-road="creative"] > span::after,
html[data-path="business"] .home-services__grid a[data-road="business"] > span::after { content: " / your road"; color: #2D9B9E; }

@media (max-width: 900px), (prefers-reduced-motion: reduce), (pointer: coarse) {
  .film-fork-choices { grid-template-columns: 1fr; }
}

/* ============ The Roads: each journey's own world ============ */
/* Gated by the chosen path: the other road's scenes never render */
.film-beat[data-road-scene] { display: none; }
html[data-path="creative"] .film-beat[data-road-scene="creative"] { display: block; }
html[data-path="business"] .film-beat[data-road-scene="business"] { display: block; }

/* ============ The Worlds: pick a road, live its story ============ */
/* Three doors: neutral rides the shared film untouched; a chosen road swaps in
   that world's own story and the shared beats yield the stage entirely */
.film-beat[data-world-scene] { display: none; }
html[data-path="creative"] .film-beat[data-world-scene="creative"] { display: block; }
html[data-path="business"] .film-beat[data-world-scene="business"] { display: block; }
html[data-path="creative"] .film-beat:not([data-road-scene]):not([data-world-scene]),
html[data-path="business"] .film-beat:not([data-road-scene]):not([data-world-scene]) { display: none; }

/* The I/II/III movement rail narrates the shared film only */
html[data-path] .film-rail { display: none; }

/* THE FIRE: Creator DNA. Raw, tungsten heat against night, embers in the dark */
.film-world--fire .film-story-pin { background: #0A0908; }
.film-fireglow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 62% 48% at 24% 62%, rgba(184, 112, 44, 0.22), transparent 68%),
    radial-gradient(ellipse 40% 34% at 78% 24%, rgba(45, 155, 158, 0.08), transparent 70%);
}
.film-world--fire .film-rehook { color: rgba(214, 158, 96, 0.92); }

/* FIRST LIGHT: Client DNA. Natural, diffused dawn, clean air, trust */
.film-world--dawn .film-story-pin { background: #101216; }
.film-dawnhaze {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(233, 221, 199, 0.10), transparent 55%),
    radial-gradient(ellipse 70% 44% at 50% 8%, rgba(214, 178, 122, 0.14), transparent 72%);
}
.film-world--dawn .film-rehook { color: rgba(214, 178, 122, 0.92); }

/* World heroes and finals hold their scene's temperature */
.film-world[data-world-scene="creative"] .film-tint {
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.42), rgba(184, 112, 44, 0.10));
}
.film-world[data-world-scene="business"] .film-tint {
  background: linear-gradient(180deg, rgba(16, 18, 22, 0.30), rgba(214, 178, 122, 0.08));
}

.film-road .film-pin { background: #0B0B0C; }
.film-road .film-space { display: flex; align-items: center; }

/* Road temperature overrides the movement tint: creative rides teal, business rides bronze */
.film-road[data-road-scene="creative"] .film-tint {
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.55), rgba(45, 155, 158, 0.14));
}
.film-road[data-road-scene="business"] .film-tint {
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.42), rgba(184, 112, 44, 0.10));
}
/* Wedding scene: elegant memory, warm and soft, no steel */
.film-road--wedding .film-tint {
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.35), rgba(244, 241, 236, 0.06)) !important;
}
.film-road--wedding .film-ambient { filter: brightness(0.62) saturate(1.02); }

.film-road-inner {
  position: relative;
  z-index: 3;
  max-width: 640px;
  padding: clamp(24px, 6vw, 96px);
  color: #F4F1EC;
}
/* Creator DNA structure accent: a steel hairline under the scene tag */
.film-road[data-road-scene="creative"] .film-road-inner .film-eyebrow::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, #9A9A9D, rgba(154, 154, 157, 0));
}
/* Client DNA premium accent: one quiet linen panel */
.film-road[data-road-scene="business"] .film-road-inner {
  background: rgba(244, 241, 236, 0.045);
  border: 1px solid rgba(244, 241, 236, 0.12);
  margin-left: clamp(24px, 6vw, 96px);
  padding: clamp(28px, 3.4vw, 52px);
}

.film-road-frames {
  position: absolute;
  right: clamp(24px, 5vw, 88px);
  top: 50%;
  transform: translateY(-50%);
  width: min(33vw, 480px);
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 2;
  transform-style: preserve-3d;
  pointer-events: none;
}
.film-roadframe { max-width: none; }
.film-roadframe:first-child { width: 94%; align-self: flex-end; }
.film-roadframe:nth-child(2) { width: 86%; align-self: flex-start; }
.film-roadframe img {
  display: block;
  width: 100%;
  height: 30vh;
  object-fit: cover;
  border: 1px solid rgba(244, 241, 236, 0.16);
  filter: contrast(1.03);
}
.film-roadframe figcaption {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9A9A9D;
  margin-top: 10px;
}
.film-roadframe:nth-child(2) { margin-top: 18px; }
.film-roadframe--tall img { height: 52vh; }

.film-road-proofline {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.62);
  margin: 26px 0 0;
}

@media (max-width: 900px), (prefers-reduced-motion: reduce), (pointer: coarse) {
  .film-road .film-space { display: block; }
  .film-road-inner { max-width: none; padding: 32px 20px; }
  .film-road[data-road-scene="business"] .film-road-inner { margin-left: 0; }
  .film-road-frames {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    padding: 0 20px 32px;
    gap: 20px;
  }
  .film-roadframe:nth-child(2) { margin-left: 0; margin-top: 0; }
  .film-roadframe img, .film-roadframe--tall img { height: auto; }
}

/* Deck: proof-rail anchor line (conversion research fold, claims already on-site) */
.film-rail-caption {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9A9A9D;
  text-align: center;
  margin: 0 0 18px;
}

/* Ambient loops (Higgsfield DoP): living weather behind the fork + story chapters */
.film-ambient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.5) saturate(0.9);
}
.film-story--truett .film-ambient { filter: brightness(0.45) grayscale(1); }
@media (max-width: 900px), (prefers-reduced-motion: reduce), (pointer: coarse) {
  .film-ambient { display: none; }
}

/* Price as a decision point (conversion research: state it plainly at the close) */
.film-price-line {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.62);
  margin: 22px 0 0;
  max-width: 56ch;
}
.home-cta .film-price-line { margin: 14px auto 0; text-align: center; }

/* ============ THE GATE: the front door. Choice first, then the ride ============ */
html.mum-gate-lock, html.mum-gate-lock body { overflow: hidden; }
/* While the gate is modal, the page-level skip link would float above it (z 10000) */
html.mum-gate-lock .skip-link { visibility: hidden; }

.mum-gate {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: #0B0B0C;
  color: #F4F1EC;
  opacity: 1;
  transition: opacity 850ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mum-gate.is-leaving { opacity: 0; pointer-events: none; }
.mum-gate__amb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.95);
}
.mum-gate__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(11, 11, 12, 0.22), rgba(11, 11, 12, 0.8));
}
.mum-gate .film-story-grain { z-index: 2; }
.mum-gate__choices {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(20px, 4vw, 64px);
  overflow-y: auto;
}
.mum-gate__mark {
  width: clamp(120px, 13vw, 190px);
  height: auto;
  margin: 0 0 clamp(8px, 1.6vh, 22px);
}
.mum-gate__headline { font-size: clamp(38px, 5vw, 84px); margin: 10px 0 0; }
.mum-gate__choices .film-fork-choices {
  margin-top: clamp(22px, 4vh, 44px);
  text-align: left;
  width: min(980px, 100%);
}
.mum-gate__foot {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 20px);
  color: rgba(244, 241, 236, 0.6);
  margin: clamp(18px, 3vh, 32px) 0 0;
}
.mum-gate__skip {
  margin-top: 12px;
  background: none;
  border: 0;
  padding: 6px 4px;
  color: rgba(244, 241, 236, 0.45);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.mum-gate__skip:hover, .mum-gate__skip:focus-visible { color: #2D9B9E; }

/* Gate entrance: content settles in without the engine */
@media (prefers-reduced-motion: no-preference) {
  .mum-gate__choices > * { animation: mum-gate-in 950ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  .mum-gate__choices > *:nth-child(2) { animation-delay: 110ms; }
  .mum-gate__choices > *:nth-child(3) { animation-delay: 200ms; }
  .mum-gate__choices > *:nth-child(4) { animation-delay: 320ms; }
  .mum-gate__choices > *:nth-child(5) { animation-delay: 470ms; }
  .mum-gate__choices > *:nth-child(6) { animation-delay: 560ms; }
}
@keyframes mum-gate-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* The intro: horse, gate, light, then straight through into the world */
.mum-gate__intro { position: absolute; inset: 0; z-index: 4; background: #050505; }
.mum-gate__film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mum-gate__skip--intro {
  position: absolute;
  right: clamp(18px, 3vw, 40px);
  bottom: clamp(18px, 4vh, 40px);
  z-index: 6;
  margin: 0;
  color: rgba(244, 241, 236, 0.6);
}

@media (max-width: 700px) {
  .mum-gate__choices { justify-content: flex-start; padding-top: clamp(36px, 7vh, 72px); }
  .mum-gate__mark { width: 104px; }
  .mum-gate__headline { font-size: clamp(34px, 9vw, 48px); }
  .mum-gate__amb { display: none; }
}

/* ============ IMMERSIVE ZOOM-PARALLAX: tall container with layered depth ============ */
.film-zoom-parallax {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0B0B0C;
}
.film-zoom-parallax .film-space {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.film-parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.film-parallax-layer:nth-child(1) { z-index: 1; }
.film-parallax-layer:nth-child(2) { z-index: 2; }
.film-parallax-layer:nth-child(3) { z-index: 3; }
.film-zoom-parallax .film-story-copy {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
  max-width: 60ch;
  padding: clamp(28px, 6vw, 96px);
  padding-bottom: clamp(56px, 12vh, 140px);
}
/* Hero still: full-cover room, lit from the first pixel, dollies in (no autoAlpha:0 entry) */
.film-parallax-layer.is-hero { z-index: 1; }
/* Depth accent: a framed second still floating deeper in the room, drifts on scroll (real parallax) */
.film-depth-accent {
  position: absolute;
  z-index: 2;
  width: min(34vw, 460px);
  aspect-ratio: 3 / 2;
  right: clamp(24px, 6vw, 96px);
  top: clamp(64px, 16vh, 180px);
  background-size: cover;
  background-position: center;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  outline: 1px solid rgba(244, 241, 236, 0.14);
  transform: translateZ(40px);
  will-change: transform;
}
/* Atmosphere plate: screen-blend embers/haze in front of the scene, slow drift reads as depth */
.film-atmosphere {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  z-index: 3;
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0.5;
  pointer-events: none;
  will-change: transform;
}
html[data-path="business"] .film-atmosphere { mix-blend-mode: soft-light; opacity: 0.34; }
/* Progressive world grade: fixed soft-light veil, opacity driven across the world descent (film.js) */
.film-grade {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0;
}

/* ============ IMMERSIVE CARD-FAN: fanned carousel with hover reactive centering ============ */
.film-card-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #0B0B0C;
  perspective: 1200px;
}
.film-card-carousel .film-space {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}
.film-card-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
}
.film-card {
  position: absolute;
  width: min(24vw, 380px);
  height: 60vh;
  background: rgba(244, 241, 236, 0.05);
  border: 1px solid rgba(244, 241, 236, 0.12);
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  transition: filter 0.45s ease;
  will-change: transform, opacity;
  transform-style: preserve-3d;
}
.film-card:hover { filter: brightness(1.08); }
.film-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(12px, 2vh, 20px);
  background: linear-gradient(180deg, transparent, rgba(11, 11, 12, 0.9));
  color: #F4F1EC;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 900px), (prefers-reduced-motion: reduce), (pointer: coarse) {
  .film-zoom-parallax { height: auto; }
  .film-zoom-parallax .film-space { position: relative; height: auto; }
  .film-parallax-layer { position: relative; height: auto; aspect-ratio: 16 / 9; }
  .film-zoom-parallax .film-story-copy { position: relative; z-index: 5; max-width: none; padding: 28px 20px; }
  .film-depth-accent { position: relative; width: 100%; aspect-ratio: 16 / 9; right: auto; top: auto; margin-top: 16px; transform: none; box-shadow: none; }
  .film-atmosphere { display: none; }
  .film-grade { display: none; }

  .film-card-carousel { height: auto; min-height: 100vh; }
  .film-card-carousel .film-space { position: relative; height: auto; padding: clamp(20px, 4vw, 40px); }
  .film-card-track { position: relative; width: 100%; height: auto; flex-direction: column; gap: 20px; }
  .film-card { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 9; }
}

/* ============ Era photos as texture: behind the message, not the message ============ */
.film-photos--backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: block;
  opacity: 0.4;
}
.film-photos--backdrop .film-photo {
  position: absolute;
  max-width: none;
  width: clamp(200px, 21vw, 330px);
  margin: 0;
}
.film-photos--backdrop .film-photo:nth-child(1) { right: 38%; top: 12%; margin: 0; }
.film-photos--backdrop .film-photo:nth-child(2) { right: 6%; top: 7%; margin: 0; }
.film-photos--backdrop .film-photo:nth-child(3) { right: 19%; bottom: 9%; margin: 0; }
.film-photos--backdrop .film-photo img {
  height: 32vh;
  filter: grayscale(55%) contrast(0.98) brightness(0.8);
}
.film-photos--backdrop .film-photo figcaption { opacity: 0.75; }

@media (max-width: 900px), (prefers-reduced-motion: reduce), (pointer: coarse) {
  /* Static path: era photos rejoin the flow like every other set */
  .film-photos--backdrop { position: relative; inset: auto; opacity: 0.85; pointer-events: auto; display: flex; flex-direction: column; }
  .film-photos--backdrop .film-photo { position: relative; width: auto; max-width: 100%; }
  .film-photos--backdrop .film-photo img { height: auto; }
}
