/* ============================================================
   THE ODYSSEY — A FAN CHRONICLE
   Design language drawn from the film's official campaign:
   fog-blue monochrome, charcoal smoke, bone & vertebra gold,
   one signal red. Gotham on the posters → Montserrat here;
   EB Garamond carries the long-form chronicle.
   ============================================================ */

:root {
  --ink:       #07090c;
  --char:      #0b0f14;
  --slate-bg:  #0e141b;
  --fog:       #41586e;
  --steel:     #8ea6bb;
  --steel-hi:  #b9c9d8;
  --steel-dim: #5f7690;
  --bone:      #d9d3c5;
  --body-txt:  #c0bbb0;
  --mute-txt:  #a09d93;
  --gold:      #c9a96a;
  --red:       #c4202e;
  --ember:     #e5762e;
  --hairline:  rgba(142, 166, 187, 0.14);
  --hairline-soft: rgba(142, 166, 187, 0.08);
  --disp: "Montserrat", "Avenir Next", "Helvetica Neue", sans-serif;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.intro { overflow: hidden; }
body {
  background: var(--ink);
  color: var(--body-txt);
  font-family: var(--serif);
  font-size: 100%;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }

/* ---------- ambient: embers + grain ---------- */
#embers {
  position: fixed; inset: 0; z-index: 50;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: .55;
}
.grain {
  position: fixed; inset: -120px; z-index: 80;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}
html.js .grain { animation: grainShift .9s steps(4) infinite; }
@keyframes grainShift {
  0%   { transform: translate3d(0,0,0); }
  25%  { transform: translate3d(-38px, 22px, 0); }
  50%  { transform: translate3d(24px, -30px, 0); }
  75%  { transform: translate3d(-16px, -14px, 0); }
  100% { transform: translate3d(30px, 34px, 0); }
}

/* ============================================================
   TOP BAR
   ============================================================ */
#topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding: 1.05rem clamp(1.2rem, 3vw, 2.4rem) 1rem;
  background: rgba(7, 9, 12, .58);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline-soft);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform .6s cubic-bezier(.22,.9,.3,1), opacity .6s ease;
}
#topbar.shown { transform: translateY(0); opacity: 1; }
#topbar .brand {
  font: 600 .68rem var(--disp);
  letter-spacing: .42em;
  color: var(--steel-hi);
  text-decoration: none;
  white-space: nowrap;
}
#topbar .topbar-note {
  font: 400 .56rem var(--disp);
  letter-spacing: .44em;
  color: var(--steel-dim);
}
#topbar .topbar-tag {
  font: 700 .62rem var(--disp);
  letter-spacing: .34em;
  color: var(--red);
  white-space: nowrap;
}

/* ============================================================
   VOYAGE RAIL (chapter nav)
   ============================================================ */
#rail {
  position: fixed; right: clamp(.9rem, 2.4vw, 2.2rem); top: 50%; z-index: 40;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  padding: .8rem 0;
  opacity: 1;
  transition: opacity .8s ease;
}
html.intro #rail { opacity: 0; }
#rail .thread {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: var(--hairline);
}
#rail a {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  text-decoration: none;
  background: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 50%;
}
#rail a span {
  font: 500 .5rem var(--disp);
  letter-spacing: .08em;
  color: var(--steel-dim);
  transition: color .3s ease;
}
#rail a::after {
  content: attr(data-label);
  position: absolute; right: 150%; top: 50%;
  transform: translateY(-50%) translateX(6px);
  font: 500 .55rem var(--disp);
  letter-spacing: .3em;
  white-space: nowrap;
  color: var(--steel);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
#rail a:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
#rail a:hover span { color: var(--bone); }
#rail a.active { border-color: rgba(196, 32, 46, .55); }
#rail a.active span { color: var(--red); }

.mobile-progress {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; height: 2px; z-index: 60;
  background: rgba(142, 166, 187, .12);
}
.mobile-progress span {
  display: block; height: 100%;
  width: calc(var(--p, 0) * 100%);
  background: var(--red);
}

/* ============================================================
   HERO / OVERTURE
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 4rem 1.4rem 5.5rem;
}
.hero-art { position: absolute; inset: 0; z-index: 0; }
.hero-art img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  transform: scale(1.06);
}
html.js .hero-art img { animation: heroDrift 26s ease-in-out infinite alternate; }
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(-.6%, 0, 0); }
  to   { transform: scale(1.12) translate3d(.6%, -1%, 0); }
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 42%, rgba(7,9,12,0) 30%, rgba(7,9,12,.5) 72%, rgba(7,9,12,.92) 100%),
    linear-gradient(to bottom, rgba(7,9,12,.55) 0%, rgba(7,9,12,.08) 30%, rgba(7,9,12,.1) 62%, var(--ink) 100%);
}
.hero-art { opacity: 1; transition: opacity 2s ease .15s; }
html.intro .hero-art { opacity: 0; transition: none; }

.lockup {
  position: relative; z-index: 2;
  transform: none;
  transition: transform 1.5s cubic-bezier(.22,.9,.26,1);
}
html.intro .lockup { transform: scale(1.05) translateY(2.5vh); transition: none; }

.overline {
  font: 500 clamp(.6rem, 1.4vw, .78rem) var(--disp);
  letter-spacing: .52em;
  color: var(--steel);
  text-indent: .52em; /* optically center tracked text */
  margin-bottom: clamp(1.2rem, 3vh, 2.2rem);
}
.overline .ov-n { font-weight: 700; color: var(--steel-hi); }
html.js .overline { animation: soft-rise 1.4s ease .25s both; }

.title {
  --tr: .22em;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .28em .85em;
  /* lockup is ~9.8x the font-size wide: 9.4vw ≈ 92vw at rest,
     ≈ 96vw at the intro's 1.05 scale — grand, never clipped */
  font: 500 clamp(2.2rem, 9.4vw, 16rem) var(--disp);
  letter-spacing: var(--tr);
  line-height: 1.08;
  color: var(--steel);
  text-shadow: 0 0 90px rgba(65, 88, 110, .55);
}
.title .w { display: inline-flex; white-space: nowrap; }
/* drop the phantom trailing letter-space so the lockup centers optically */
.title .w:last-child .l:last-child { margin-right: calc(var(--tr) * -1); }
.title .l { display: inline-block; }
/* letters stay dark until the display font has loaded, so the
   intro never plays in wide fallback metrics (which would clip) */
html.js .title .l { opacity: 0; }
html.js.fonts-in .title .l {
  animation: letterIn 1.15s cubic-bezier(.18,.7,.26,1) both;
  animation-delay: calc(.15s + var(--i) * .085s);
}
@keyframes letterIn {
  0%   { opacity: 0; filter: blur(16px); transform: translateY(.32em) scale(1.06); }
  60%  { opacity: 1; }
  100% { opacity: 1; filter: blur(0); transform: none; }
}

.tagline {
  margin-top: clamp(1.1rem, 2.6vh, 1.9rem);
  font: 700 clamp(.85rem, 2.2vw, 1.3rem) var(--disp);
  letter-spacing: .5em;
  text-indent: .5em;
  color: var(--red);
}
html.js .tagline { animation: soft-rise 1.2s ease 1.75s both; }

.imaxline {
  margin-top: clamp(.7rem, 1.6vh, 1.1rem);
  font: 400 clamp(.55rem, 1.3vw, .72rem) var(--disp);
  letter-spacing: .46em;
  text-indent: .46em;
  color: var(--steel-dim);
}
.imaxline strong { font-weight: 700; color: var(--steel); }
html.js .imaxline { animation: soft-rise 1.2s ease 2.05s both; }

.chronicle-mark {
  margin-top: clamp(2rem, 5.5vh, 3.6rem);
  display: flex; align-items: center; justify-content: center;
  gap: 1.4rem;
}
.chronicle-mark .rule { width: clamp(2rem, 6vw, 4.5rem); height: 1px; background: var(--hairline); }
.chronicle-mark p {
  font: italic 500 clamp(.95rem, 2vw, 1.15rem)/1.65 var(--serif);
  color: var(--bone);
  max-width: 34rem;
}
html.js .chronicle-mark { animation: soft-rise 1.4s ease 2.4s both; }

@keyframes soft-rise {
  from { opacity: 0; transform: translateY(1.1rem); }
  to   { opacity: 1; transform: none; }
}

.scroll-cue {
  position: absolute; bottom: 2.2rem; left: 50%; z-index: 2;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  text-decoration: none;
}
.scroll-cue .cue-text {
  font: 500 .55rem var(--disp);
  letter-spacing: .5em;
  text-indent: .5em;
  color: var(--steel-dim);
  transition: color .4s ease;
}
.scroll-cue:hover .cue-text { color: var(--bone); }
.scroll-cue .cue-line {
  width: 1px; height: 3.4rem;
  background: linear-gradient(to bottom, var(--red), transparent);
}
/* own keyframes: soft-rise ends at transform:none, which would wipe
   out the translateX(-50%) centering once the animation fills */
html.js .scroll-cue { animation: cueRise 1.4s ease 2.9s both; }
@keyframes cueRise {
  from { opacity: 0; transform: translate(-50%, 1.1rem); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
html.js .scroll-cue .cue-line { animation: cuePulse 2.6s ease-in-out 3.4s infinite; transform-origin: top; }
@keyframes cuePulse {
  0%, 100% { transform: scaleY(.55); opacity: .6; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* ============================================================
   CHAPTERS — slates
   ============================================================ */
.chapter { position: relative; }

.slate {
  position: relative;
  height: 92vh; height: 92svh;
  min-height: 540px;
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.slate-art { position: absolute; inset: -12% 0; z-index: 0; }
.slate-art img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  filter: saturate(.8) brightness(.68) contrast(1.04);
  transform: scale(1.08);
  will-change: transform;
}
/* per-poster crops — keep each artwork's subject in frame,
   its baked-in billing/title text out of it */
#proem .slate-art img      { object-position: 50% 76%; }
#production .slate-art img { object-position: 50% 42%; }
#craft .slate-art img      { object-position: 50% 58%; }
.slate::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
    var(--ink) 0%, var(--ink) 3%, rgba(7,9,12,.3) 24%,
    rgba(7,9,12,.08) 45%,
    rgba(7,9,12,.62) 74%, var(--ink) 100%);
}
.slate-numeral {
  position: absolute; right: 2vw; top: 50%; z-index: 2;
  transform: translateY(-58%);
  font: 200 clamp(9rem, 30vh, 22rem) var(--disp);
  letter-spacing: .04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(142, 166, 187, .42);
  opacity: .55;
  pointer-events: none;
  will-change: transform;
}
.slate-head {
  position: relative; z-index: 3;
  padding: 0 clamp(1.4rem, 6vw, 6rem) clamp(3.5rem, 9vh, 6.5rem);
  max-width: 52rem;
}

.kicker {
  display: flex; align-items: center; gap: .9rem;
  font: 600 .62rem var(--disp);
  letter-spacing: .5em;
  color: var(--red);
  margin-bottom: 1.3rem;
}
.kicker .tick { width: 2rem; height: 1px; background: var(--red); flex: 0 0 auto; }

.slate-title {
  font: 600 clamp(1.9rem, 5vw, 4rem) var(--disp);
  letter-spacing: .2em;
  line-height: 1.18;
  text-transform: uppercase;
  color: var(--steel-hi);
}
.slate-title .sw { display: inline-flex; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.slate-title .sl { display: inline-block; }
html.js .slate-title.split:not(.done) .sl { transform: translateY(118%); }
.slate-title .sl { transition: transform .95s cubic-bezier(.16,.84,.28,1); transition-delay: var(--d, 0s); }

.slate-sub {
  margin-top: 1.4rem;
  font: italic 500 clamp(1rem, 2.1vw, 1.25rem)/1.6 var(--serif);
  color: rgba(217, 211, 197, .78);
  max-width: 36rem;
}

/* inline heads (chapters without a slate image) */
.inline-head {
  max-width: 52rem;
  margin: 0 auto clamp(3rem, 7vh, 5rem);
  text-align: center;
}
.inline-head .kicker { justify-content: center; }
.inline-head .slate-sub { margin-inline: auto; }

/* ============================================================
   CONTENT & PROSE
   ============================================================ */
.content {
  position: relative;
  padding: clamp(4.5rem, 11vh, 8rem) clamp(1.4rem, 6vw, 6rem);
  max-width: 100rem;
  margin: 0 auto;
}
.content-first { padding-top: clamp(7rem, 16vh, 11rem); }

.prose {
  max-width: 66ch;
  margin: 0 auto;
  font-size: clamp(1.12rem, 1.55vw, 1.28rem);
  line-height: 1.92;
}
.prose p + p { margin-top: 1.6em; }
.prose .lede::first-letter {
  float: left;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 4.6em;
  line-height: .8;
  padding: .06em .14em 0 0;
  color: var(--steel);
}
.prose em { color: var(--bone); }

/* footnote references */
sup.fn { line-height: 0; }
sup.fn a {
  font: 600 .62em var(--disp);
  letter-spacing: .04em;
  color: var(--red);
  text-decoration: none;
  padding: 0 .18em;
}
sup.fn a:hover { text-decoration: underline; text-underline-offset: .25em; }

/* grand quotes (proem) */
.grand-quotes { margin: clamp(4rem, 10vh, 7rem) auto; max-width: 58rem; }
.grand { margin: clamp(3.5rem, 9vh, 6rem) 0; padding-left: 8%; }
.grand.alt { padding-left: 0; padding-right: 8%; text-align: right; }
.grand::before {
  content: ""; display: block;
  width: 3.2rem; height: 1px;
  background: var(--red);
  margin-bottom: 1.8rem;
}
.grand.alt::before { margin-left: auto; }
.grand p {
  font: italic 500 clamp(1.7rem, 4vw, 2.9rem)/1.34 var(--serif);
  color: var(--bone);
}
.grand cite, .pull cite, .margin-quote cite {
  display: block;
  margin-top: 1.4rem;
  font: 500 .62rem var(--disp);
  letter-spacing: .34em;
  color: var(--steel-dim);
  font-style: normal;
}

/* pull quotes */
.pull, .margin-quote {
  max-width: 46rem;
  margin: clamp(4rem, 9vh, 6.5rem) auto;
  padding: 2.6rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  text-align: center;
}
.pull p, .margin-quote p {
  font: italic 500 clamp(1.35rem, 2.6vw, 1.85rem)/1.5 var(--serif);
  color: var(--bone);
}

/* inset figure (writing chapter) */
.with-inset { position: relative; }
.inset {
  float: right;
  width: min(17rem, 38%);
  margin: .5em 0 1.8em 2.6em;
}
.inset img {
  border: 1px solid var(--hairline);
  filter: saturate(.85);
}
.inset figcaption {
  margin-top: .8em;
  font: 400 .58rem var(--disp);
  letter-spacing: .22em;
  line-height: 1.8;
  color: var(--steel-dim);
  text-transform: uppercase;
}

/* ============================================================
   CAST GRID
   ============================================================ */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
  margin: clamp(3.5rem, 8vh, 5.5rem) auto 0;
  max-width: 88rem;
}
.cast-card {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding: 2.6rem 2.2rem 2.4rem;
  transition: background .5s ease;
}
.cast-card:hover { background: #0c1117; }
.cast-card .greek {
  position: absolute; top: -1.6rem; right: .4rem;
  font: 500 8.5rem/1 var(--serif);
  color: rgba(142, 166, 187, .07);
  pointer-events: none;
  transition: color .5s ease;
}
.cast-card:hover .greek { color: rgba(142, 166, 187, .13); }
.cast-card h3 {
  font: 600 1rem var(--disp);
  letter-spacing: .24em;
  color: var(--steel-hi);
}
.cast-card .role {
  margin: .55rem 0 1.1rem;
  font: italic 500 1.06rem var(--serif);
  color: var(--gold);
}
.cast-card .cast-note {
  font: 400 1.02rem/1.72 var(--serif);
  color: var(--mute-txt);
}
.cast-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  padding: 0;
  min-height: 24rem;
}
.cast-card.featured .cast-art {
  /* zoomed past `cover` so the poster's baked logo (top) and
     title block (bottom) stay outside the visible band */
  background:
    linear-gradient(160deg, rgba(16,26,38,.24), rgba(7,9,12,.6)),
    url("../assets/img/poster-70mm.jpg") 50% 40% / 175% auto no-repeat;
  filter: saturate(.85);
  min-height: 15rem;
}
.cast-card.featured .cast-body {
  position: relative;
  padding: 2.6rem 2.2rem 2.4rem;
}
.cast-card.roster { grid-column: 1 / -1; }
.cast-card.roster .greek { font-style: italic; }

/* ============================================================
   MANIFESTO (craft chapter)
   ============================================================ */
.manifesto {
  list-style: none;
  max-width: 56rem;
  margin: clamp(3.5rem, 8vh, 5.5rem) auto;
}
.manifesto li {
  position: relative;
  padding: 1.9rem .5rem 1.9rem 4.6rem;
  border-top: 1px solid var(--hairline);
  font: 500 clamp(.92rem, 2vw, 1.28rem) var(--disp);
  letter-spacing: .2em;
  line-height: 1.7;
  color: var(--steel-hi);
}
.manifesto li:last-child { border-bottom: 1px solid var(--hairline); }
.manifesto .m-num {
  position: absolute; left: .5rem; top: 1.9rem;
  font: italic 500 1.3rem var(--serif);
  letter-spacing: 0;
  color: var(--red);
}

/* ============================================================
   VOYAGE FRIEZE (production)
   ============================================================ */
.voyage-scroller { height: 340vh; }
.voyage-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; align-items: center;
  background:
    radial-gradient(90% 70% at 70% 30%, rgba(65, 88, 110, .16), transparent 70%);
}
.voyage-watermark {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font: italic 500 clamp(10rem, 30vw, 26rem)/1 var(--serif);
  color: transparent;
  -webkit-text-stroke: 1px rgba(142, 166, 187, .12);
  white-space: nowrap;
  pointer-events: none;
  will-change: transform;
}
.frieze {
  display: flex; align-items: stretch;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding: 0 10vw;
  will-change: transform;
}
.port {
  flex: 0 0 auto;
  width: min(23rem, 74vw);
  border-left: 1px solid var(--hairline);
  padding: 1.6rem 0 1.6rem clamp(1.4rem, 2.4vw, 2.2rem);
  align-self: center;
}
.port.intro-card { border-left: none; width: min(19rem, 70vw); }
.port.intro-card h3 {
  font: italic 500 clamp(2.4rem, 5vw, 3.4rem)/1.15 var(--serif);
  letter-spacing: 0;
  text-transform: none;
  color: var(--bone);
  margin-bottom: 1.2rem;
}
.port-kicker {
  font: 600 .6rem var(--disp);
  letter-spacing: .5em;
  color: var(--red);
  margin-bottom: 1.6rem;
}
.port-num {
  display: block;
  font: italic 500 1.25rem var(--serif);
  color: var(--red);
  margin-bottom: 1.6rem;
}
.port h3 {
  font: 600 clamp(1.5rem, 3vw, 2rem) var(--disp);
  letter-spacing: .22em;
  color: var(--steel-hi);
  text-transform: uppercase;
}
.port .coords {
  margin: .7rem 0 1.3rem;
  font: 500 .6rem var(--disp);
  letter-spacing: .32em;
  color: var(--steel-dim);
}
.port-note { font: 400 1.02rem/1.72 var(--serif); color: var(--mute-txt); }

/* ============================================================
   IMAX — the great frame
   ============================================================ */
.chapter.dark {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(65, 88, 110, .1), transparent 55%),
    #05070a;
}
.imax-scroller { height: 280vh; }
.imax-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2.4rem;
  overflow: hidden;
}
.imax-stage { display: flex; align-items: stretch; gap: 1.1rem; }
.imax-frame {
  position: relative; overflow: hidden;
  background: #000;
  width: min(86vw, 1240px);        /* fallback until JS sizes it */
  aspect-ratio: 2.39 / 1;
  box-shadow:
    0 0 0 1px rgba(142, 166, 187, .28),
    0 40px 120px rgba(0, 0, 0, .7);
}
.imax-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 26%;
}
.sprocket {
  width: 15px;
  opacity: var(--sp, 0);
  background-image: repeating-linear-gradient(to bottom,
    rgba(142, 166, 187, 0) 0 7px,
    rgba(142, 166, 187, .4) 7px 17px,
    rgba(142, 166, 187, 0) 17px 26px);
  transition: opacity .3s linear;
}
.ratio-caption { text-align: center; }
.ratio-value {
  display: block;
  font: 600 1.05rem var(--disp);
  letter-spacing: .34em;
  text-indent: .34em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.ratio-label {
  display: block; margin-top: .7rem;
  font: 400 .58rem var(--disp);
  letter-spacing: .44em;
  text-indent: .44em;
  color: var(--steel-dim);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
  max-width: 62rem;
  margin: 0 auto clamp(4rem, 9vh, 6rem);
}
.spec {
  background: #05070a;
  padding: 2.4rem 1rem;
  text-align: center;
}
.spec-big {
  display: block;
  font: 200 clamp(2.2rem, 4.6vw, 3.6rem)/1 var(--disp);
  color: var(--steel-hi);
}
.spec-big small { font-size: .45em; font-weight: 300; letter-spacing: .08em; }
.spec-label {
  display: block; margin-top: .9rem;
  font: 500 .56rem var(--disp);
  letter-spacing: .3em;
  color: var(--steel-dim);
}

/* ============================================================
   SOURCES — the catalogue
   ============================================================ */
.credits { max-width: 47rem; margin: 0 auto; }
.src-group {
  font: 600 .62rem var(--disp);
  letter-spacing: .52em;
  text-indent: .52em;
  color: var(--red);
  text-align: center;
  margin: 3.8rem 0 1rem;
}
.src-list {
  list-style: decimal;
  padding-left: 1.6rem;
}
.src-list li {
  padding: .95rem .2rem .95rem .5rem;
  border-top: 1px solid var(--hairline-soft);
  font: 400 1rem/1.75 var(--serif);
  color: var(--mute-txt);
  scroll-margin-top: 9rem;
}
.src-list li::marker {
  font: 600 .72rem var(--disp);
  color: var(--red);
}
.src-type {
  display: inline-block;
  font: 600 .5rem var(--disp);
  letter-spacing: .26em;
  color: var(--steel-dim);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  padding: .12em .55em .1em;
  margin-right: .7em;
  transform: translateY(-.15em);
}
.backref {
  color: var(--red);
  text-decoration: none;
  margin-left: .45em;
  font-size: .95em;
}
.backref:hover { text-decoration: underline; }
.src-list li:target { animation: srcFlash 2.4s ease both; }
@keyframes srcFlash {
  0%   { background: rgba(196, 32, 46, .22); }
  100% { background: transparent; }
}

/* footnote tooltip */
#fn-tip {
  position: absolute; z-index: 70;
  max-width: 20rem;
  padding: .9rem 1.1rem;
  background: rgba(11, 15, 20, .96);
  border: 1px solid var(--hairline);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
  font: 400 .85rem/1.6 var(--serif);
  color: var(--body-txt);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
#fn-tip.on { opacity: 1; transform: translateY(0); }
#fn-tip .tip-num {
  font: 600 .6rem var(--disp);
  letter-spacing: .2em;
  color: var(--red);
  display: block;
  margin-bottom: .35rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
#colophon {
  padding: clamp(5rem, 12vh, 8rem) 1.6rem clamp(4rem, 9vh, 6rem);
  text-align: center;
  border-top: 1px solid var(--hairline-soft);
}
.colo-title {
  font: 600 .72rem var(--disp);
  letter-spacing: .5em;
  text-indent: .5em;
  color: var(--steel-hi);
  margin-bottom: 1.4rem;
}
.colo-note {
  font: 400 .92rem/1.9 var(--serif);
  color: var(--steel-dim);
  max-width: 42rem;
  margin: 0 auto 1.8rem;
}
.colo-date {
  font: 700 .62rem var(--disp);
  letter-spacing: .44em;
  text-indent: .44em;
  color: var(--red);
}

/* ============================================================
   REVEALS
   ============================================================ */
html.js .reveal {
  opacity: 0;
  transform: translateY(2.4rem);
  transition:
    opacity 1.05s ease var(--d, 0s),
    transform 1.15s cubic-bezier(.19,.7,.24,1) var(--d, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 959px) {
  #rail { display: none; }
  .mobile-progress { display: block; }
  .slate-numeral { right: 1vw; font-size: clamp(6rem, 18vh, 11rem); opacity: .4; }
  .cast-card.featured { grid-column: auto; grid-template-columns: 1fr; }
  .cast-card.featured .cast-art { min-height: 15rem; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .inset { float: none; width: min(19rem, 100%); margin: 0 auto 2.4em; }
  #topbar .topbar-note { display: none; }
  .br-wide { display: none; }
}

@media (max-width: 540px) {
  .title { --tr: .18em; }
  .grand { padding-left: 0; }
  .grand.alt { padding-right: 0; }
  .voyage-scroller { height: 300vh; }
}

/* ============================================================
   REDUCED MOTION / NO-JS
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .title .l,
  html.js .overline, html.js .tagline, html.js .imaxline,
  html.js .chronicle-mark, html.js .scroll-cue,
  html.js .hero-art img, html.js .grain,
  html.js .scroll-cue .cue-line { animation: none !important; }
  html.js .title .l { opacity: 1; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html.js .slate-title.split:not(.done) .sl { transform: none; }
  .voyage-scroller, .imax-scroller { height: auto; }
  .voyage-sticky { position: static; overflow-x: auto; }
  .imax-sticky { position: static; padding: 3rem 0; }
  #embers { display: none; }
}
