/* Light Hours Away: site styles.
   One file, no build step. Order: fonts, tokens, base, header, parts, hero, sections, pages, footer, motion. */

/* ---------- Fonts (Saira, SIL OFL 1.1, self-hosted; see /assets/fonts/OFL.txt) ---------- */
@font-face {
  font-family: "Saira Display"; /* Saira Italic pinned at width 125, weight 900: the logo's letters */
  src: url("/assets/fonts/saira-expanded-black-italic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Saira"; /* upright, variable: weight 300-800, width 100-125 */
  src: url("/assets/fonts/saira-text-var.woff2") format("woff2");
  font-weight: 300 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Saira Display Fallback"; /* Arial Black sized to the display face, for the moment before it loads */
  src: local("Arial Black");
  font-weight: 900;
  font-style: italic;
  size-adjust: 96.5%;
  ascent-override: 117.6%;
  descent-override: 45.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Saira Fallback"; /* Arial sized to Saira's width and line box, so text doesn't jump when Saira arrives */
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"), local("Roboto");
  size-adjust: 104%;
  ascent-override: 109%;
  descent-override: 42%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --sky: #00081A;
  --sky-2: #0E1A33;
  --ink: #010C20;
  --text: #EEF1F7;
  --muted: #B4BFD3;
  --amber: #F2C46B;
  --amber-2: #F2A93B;
  --glow: #FFE25A;
  --glow-2: #FFC837;
  --hair: rgba(180, 191, 211, .16);
  --slant: -12deg; /* Saira's italic angle */
  --display: "Saira Display", "Saira Display Fallback", "Arial Black", "Saira Fallback", sans-serif;
  --textface: "Saira", "Saira Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --streak: linear-gradient(90deg, rgba(242, 169, 59, 0), rgba(242, 169, 59, .5) 18%, #FFC837 38%, #FFE25A 50%, #FFC837 62%, rgba(242, 169, 59, .5) 82%, rgba(242, 169, 59, 0));
  --pad: 1.25rem;
  --head-h: 3.75rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  /* fluid root size: 16 px on phones, about 18 px at 1440, 25 px on a 4K-wide window */
  font-size: clamp(100%, 85% + .3vw, 162.5%);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--sky);
  color-scheme: dark;
  scroll-padding-top: 5rem;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--textface);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: url("/assets/img/stars.svg") 0 0 / 38rem auto; /* near stars: move with the page */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before { /* far stars: stay still, so the two layers drift apart as you scroll */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("/assets/img/stars.svg") 9rem 5rem / 59rem auto;
  opacity: .75;
  pointer-events: none;
}
/* The edge-to-edge streaks are wider than the screen. They are clipped here, not on body:
   clipping on body would pass to the viewport and let phones zoom out to the full width. */
main { flex: 1 0 auto; overflow-x: hidden; }
@supports (overflow: clip) { main { overflow-x: clip; overflow-y: visible; } }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--glow); }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--amber-2); color: var(--ink); }
strong { font-weight: 700; color: #fff; }

.wrap { width: min(100% - 2 * var(--pad), 72rem); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: .75rem; top: -4rem; z-index: 100; padding: .7rem 1rem; background: var(--glow); color: var(--ink); font-weight: 700; text-decoration: none; border-radius: 2px; }
.skip:focus { top: .75rem; color: var(--ink); }

/* ---------- Header and the light-time rail ---------- */
.head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(0, 8, 26, .95), rgba(0, 8, 26, .8));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.head__in { display: flex; align-items: center; gap: .5rem; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: .45rem; min-width: 0; margin-right: auto; min-height: 2.75rem; color: var(--text); text-decoration: none; }
.brand:hover { color: #fff; }
.brand picture { flex: none; width: 2.75rem; height: 2.75rem; }
.brand img { width: 100%; height: 100%; }
.brand__name { font: italic 900 .8rem/1.05 var(--display); letter-spacing: .02em; text-transform: uppercase; } /* wraps to LIGHT HOURS / AWAY on the narrowest phones */
.nav { flex: none; }
.nav ul { display: flex; }
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 .6rem;
  font-size: .84rem;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.nav a::after { content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .5rem; height: 1px; background: var(--streak); transform: scaleX(0); transition: transform .25s ease-out; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a[aria-current] { color: var(--amber); }
.head .head__sub { display: none; }

.rail { /* a low box around the header's bottom line: it holds the streak and clips the flare at the screen's edges */
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.75rem;
  height: 1.5rem;
  overflow: hidden;
  pointer-events: none;
  background: var(--streak) center / 100% 1px no-repeat;
}
.rail__flare { position: absolute; left: calc(var(--p, 0) * 100%); top: 50%; width: 0; height: 0; }
.rail__flare::before { content: ""; position: absolute; left: -2.5rem; top: -.45rem; width: 5rem; height: .9rem; background: radial-gradient(closest-side, #FFF3B8, rgba(255, 200, 55, .5) 35%, rgba(255, 200, 55, 0)); }
.rail__flare::after { content: ""; position: absolute; left: -.16rem; top: -.16rem; width: .32rem; height: .32rem; border-radius: 50%; background: #FFF8DC; box-shadow: 0 0 .45rem .1rem var(--glow), 0 0 1rem .25rem rgba(255, 200, 55, .55); }
.rail__read { /* the tag that hangs under the flare and follows it, kept inside the screen */
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  padding: .28rem .5rem .3rem;
  font-size: .66rem;
  font-weight: 600;
  font-stretch: 112%;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
  background: var(--sky);
  box-shadow: inset 0 0 0 1px rgba(242, 196, 107, .3);
  border-radius: 2px;
  pointer-events: none;
  transform: translateX(clamp(.6rem, calc(var(--p, 0) * 100vw - 50%), calc(100vw - 100% - .6rem)));
}
@supports (width: 1cqw) { /* measure against the header, not the window: 100vw would include the scrollbar */
  .head { container-type: inline-size; }
  .rail__read { transform: translateX(clamp(.6rem, calc(var(--p, 0) * 100cqw - 50%), calc(100cqw - 100% - .6rem))); }
}
.rail__read:empty { display: none; }

/* ---------- Shared parts ---------- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 3rem;
  padding: .55rem 1.6rem;
  font-size: .9rem;
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1.15;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.btn::before { /* the slanted plate behind the label, at the italic's angle */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 3px;
  transform: skewX(var(--slant));
  background: linear-gradient(180deg, var(--glow) 0%, var(--glow-2) 45%, var(--amber-2) 100%);
  box-shadow: 0 0 1.4rem rgba(255, 200, 55, .28), inset 0 1px 0 rgba(255, 255, 255, .55);
  transition: box-shadow .2s, filter .2s;
}
.btn:hover { color: var(--ink); }
.btn:hover::before { filter: brightness(1.08); box-shadow: 0 0 2.2rem rgba(255, 200, 55, .5), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn:focus-visible { outline: none; }
.btn:focus-visible::before { outline: 2px solid #fff; outline-offset: 3px; }
.btn svg { width: 1em; height: 1em; flex: none; fill: currentColor; }
.btn--ghost { color: var(--text); }
.btn--ghost::before { background: rgba(14, 26, 51, .55); box-shadow: inset 0 0 0 1px rgba(242, 196, 107, .7); }
.btn--ghost:hover { color: #fff; }
.btn--ghost:hover::before { filter: none; background: rgba(242, 169, 59, .16); box-shadow: inset 0 0 0 1px var(--glow), 0 0 1.6rem rgba(255, 200, 55, .22); }
.btn--sm { min-height: 2.25rem; padding: .3rem 1rem; font-size: .76rem; }
.cta { display: flex; flex-wrap: wrap; gap: .9rem 1.1rem; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7em;
  font-size: .74rem;
  font-weight: 600;
  font-stretch: 125%;
  line-height: 1.3;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before { content: ""; flex: none; width: 1.75rem; height: 1px; background: linear-gradient(90deg, rgba(242, 169, 59, 0), var(--glow)); }
.title { font: italic 900 clamp(1.7rem, 1.05rem + 3vw, 3.2rem)/1.04 var(--display); text-transform: uppercase; letter-spacing: .005em; color: #fff; }
.lead { font-size: 1.14rem; line-height: 1.55; color: var(--text); max-width: 38em; }
.muted { color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: .5em; min-height: 2.75rem; font-weight: 600; font-stretch: 112%; font-size: .86rem; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; }
.more::after { content: "\2192"; transition: transform .2s; }
.more:hover::after { transform: translateX(.3em); }

.sec { position: relative; padding-block: clamp(4rem, 2.5rem + 6vw, 7.5rem); }
.sec__head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 1.2rem + 3vw, 3.5rem); }

/* a streak with a flare: the logo's line, used between sections */
.streak { position: relative; height: 1px; background: var(--streak); }
.streak::after { content: ""; position: absolute; left: var(--at, 50%); top: 50%; width: 9rem; height: 1.3rem; transform: translate(-50%, -50%); background: radial-gradient(closest-side, #FFF3B8, rgba(255, 200, 55, .45) 28%, rgba(255, 200, 55, 0)); }
.streak--a { --at: 22%; }
.streak--b { --at: 71%; }
.streak--c { --at: 38%; }
.streak--d { --at: 84%; }

.chip { display: inline-flex; align-items: center; gap: .6em; font-size: .74rem; font-weight: 600; font-stretch: 118%; letter-spacing: .13em; text-transform: uppercase; color: var(--amber); }
.chip::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--glow); box-shadow: 0 0 .6em .12em rgba(255, 226, 90, .8); }

/* ---------- Hero: the logo, unfolded ---------- */
.hero { --sun: min(112vw, 35rem, 105vh); position: relative; overflow: hidden; overflow: clip; padding-bottom: 2.75rem; }
@supports (height: 1svh) { .hero { --sun: min(112vw, 35rem, 105svh); } }
.hero__grid { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__sun { position: relative; isolation: isolate; flex: none; width: var(--sun); height: var(--sun); margin: -2.5rem 0 -2.3rem; }
.hero__sun picture, .hero__disc { width: 100%; height: 100%; }
.hero__disc { -webkit-mask-image: radial-gradient(closest-side, #000 85%, transparent 99%); mask-image: radial-gradient(closest-side, #000 85%, transparent 99%); }
.hero__sun::before { /* the streak, from one edge of the screen to the other, through the sun's own streak */
  content: "";
  position: absolute;
  z-index: -1;
  top: 51.25%;
  left: 50%;
  width: 200vw;
  height: .7rem;
  margin: -.35rem 0 0 -100vw;
  background:
    linear-gradient(90deg, rgba(242, 169, 59, 0) 4%, rgba(242, 169, 59, .5) 24%, #FFC837 40%, #FFE25A 50%, #FFC837 60%, rgba(242, 169, 59, .5) 76%, rgba(242, 169, 59, 0) 96%) center / 100% 1.5px no-repeat,
    radial-gradient(closest-side, rgba(255, 200, 55, .34), rgba(255, 200, 55, 0)) center / 62% 100% no-repeat;
}
.hero__sun::after { /* the halo behind the letters; it breathes (opacity only, so it costs nothing) */
  content: "";
  position: absolute;
  z-index: 1;
  inset: 26% 9%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 226, 90, .5), rgba(255, 200, 55, .22) 55%, rgba(255, 200, 55, 0));
  opacity: .6;
  pointer-events: none;
}
.hero__title {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font: italic 900 calc(var(--sun) * .156)/.86 var(--display);
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 0 .05em var(--glow), 0 0 .13em var(--glow), 0 0 .36em rgba(255, 200, 55, .8);
}
.hero__title span { display: block; white-space: nowrap; }
.hero__title span:nth-child(1) { transform: translateX(.15em); } /* each line steps along the italic's slant */
.hero__title span:nth-child(3) { transform: translateX(-.15em); }
.hero__above, .hero__below { width: 100%; }
.hero__tag { font-size: clamp(1.4rem, 1.05rem + 1.7vw, 2.5rem); font-weight: 600; font-stretch: 112%; line-height: 1.16; color: #fff; }
.hero__tag span { color: var(--amber); }
.hero__status { justify-content: center; margin-bottom: .8rem; }
.hero__lede { max-width: 34em; margin: 1rem auto 1.6rem; color: var(--text); }
.hero .cta { justify-content: center; }
.hero__scale { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin-top: 2.2rem; font-size: .72rem; font-weight: 600; font-stretch: 118%; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__scale::after { content: ""; width: 1px; height: 2.4rem; background: linear-gradient(180deg, var(--glow), rgba(255, 226, 90, 0)); }

@media (min-width: 30rem) {
  :root { --pad: 1.75rem; }
  .head .head__sub { display: inline-flex; margin-left: .5rem; }
  .brand__name { font-size: .9rem; }
}
@media (min-width: 62rem) {
  :root { --pad: 2.5rem; --head-h: 4.25rem; }
  .head__in { gap: 1rem; }
  .brand__name { font-size: 1rem; }
  .hero { --sun: min(58vw, 47rem, 100vh - 6.5rem); padding-bottom: 0; }
  .hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-rows: 1fr 1fr;
    column-gap: 2rem;
    align-items: stretch;
    text-align: left;
    min-height: min(100vh - var(--head-h), 56rem);
  }
  .hero__sun { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0 calc((100% - var(--sun)) / 2); }
  /* the streak is the horizon of the left column: the promise above it, the rest below */
  .hero__above { grid-column: 1; grid-row: 1; align-self: end; padding-bottom: 1.7rem; transform: translateY(calc(var(--sun) * .0125)); }
  .hero__below { grid-column: 1; grid-row: 2; align-self: start; padding-top: 1.6rem; transform: translateY(calc(var(--sun) * .0125)); }
  .hero__status { justify-content: flex-start; margin-bottom: 1.1rem; }
  .hero__lede { margin: 0 0 1.7rem; }
  .hero .cta { justify-content: flex-start; }
  .hero__scale { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; }
}
@supports (height: 1svh) { /* the small viewport height: what is visible while a phone's toolbars show */
  @media (min-width: 62rem) {
    .hero { --sun: min(58vw, 47rem, 100svh - 6.5rem); }
    .hero__grid { min-height: min(100svh - var(--head-h), 56rem); }
  }
}

/* ---------- The method: reading, date, uncertainty ---------- */
.trace { position: relative; display: grid; gap: 2.2rem; counter-reset: step; }
.trace::before { content: ""; position: absolute; left: .55rem; top: .4rem; bottom: .4rem; width: 1px; background: linear-gradient(180deg, rgba(242, 169, 59, 0), var(--glow-2) 12%, var(--glow-2) 88%, rgba(242, 169, 59, 0)); }
.trace__step { position: relative; padding-left: 2.4rem; }
.trace__node { position: absolute; left: 0; top: .15rem; width: 1.1rem; height: 1.1rem; }
.trace__node::before { content: ""; position: absolute; inset: .3rem; border-radius: 50%; background: #FFF8DC; box-shadow: 0 0 .5rem .12rem var(--glow), 0 0 1.2rem .3rem rgba(255, 200, 55, .5); }
.trace__node--date::before { inset: .25rem; border-radius: 1px; transform: rotate(45deg); }
.trace__node--err::after { /* an error bar through the point */
  content: "";
  position: absolute;
  left: 50%;
  top: -.5rem;
  bottom: -.5rem;
  width: .6rem;
  margin-left: -.3rem;
  border-block: 1.5px solid var(--glow);
  background: linear-gradient(var(--glow), var(--glow)) center / 1.5px 100% no-repeat;
}
.trace__k { margin-bottom: .45rem; font-size: .72rem; font-weight: 600; font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.trace__step h3 { margin-bottom: .5rem; font: italic 900 1.3rem/1.1 var(--display); text-transform: uppercase; color: #fff; }
.trace__step p:last-child { color: var(--muted); max-width: 30em; }
@media (min-width: 52rem) {
  .trace { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; padding-top: 2.6rem; }
  .trace::before { left: -100vw; right: -100vw; top: .55rem; bottom: auto; width: auto; height: 1px; background: var(--streak); }
  .trace__step { padding-left: 0; }
  .trace__node { top: -2.6rem; }
  .trace__node--err::after { top: -.55rem; bottom: -.55rem; }
}

/* ---------- The first film ---------- */
.film { display: grid; gap: 2rem; align-items: start; }
.poster {
  position: relative;
  display: block;
  overflow: hidden;
  container-type: inline-size;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(60% 80% at 74% 56%, rgba(242, 169, 59, .2), rgba(242, 169, 59, 0) 70%),
    url("/assets/img/stars.svg") 30% 40% / 34rem auto,
    linear-gradient(180deg, #06122B, #00081A);
  box-shadow: inset 0 0 0 1px var(--hair), 0 1.5rem 4rem -1.5rem rgba(0, 0, 0, .9);
}
.poster:hover { color: #fff; }
.poster--still { max-width: 34rem; }
.poster__arc { position: absolute; left: 74%; top: 56%; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); border-radius: 50%; border: 1px solid rgba(242, 196, 107, .2); }
.poster__arc:nth-child(1) { --d: 34%; }
.poster__arc:nth-child(2) { --d: 62%; border-color: rgba(242, 196, 107, .14); }
.poster__arc:nth-child(3) { --d: 96%; border-color: rgba(242, 196, 107, .09); border-style: dashed; }
.poster::after { /* a dashed path leaving the light, ending in a small bright point: schematic, not to scale */
  content: "";
  position: absolute;
  left: 74%;
  top: 56%;
  width: 27%;
  height: 9px;
  margin-top: -4.5px;
  transform-origin: 0 50%;
  transform: rotate(-33deg);
  background:
    radial-gradient(circle at calc(100% - 4.5px) 50%, #FFF8DC 0 1.6px, rgba(255, 226, 90, .55) 2.4px, rgba(255, 226, 90, 0) 4.5px),
    repeating-linear-gradient(90deg, rgba(242, 196, 107, .7) 0 3px, rgba(242, 196, 107, 0) 3px 9px) 0 50% / calc(100% - 9px) 1px no-repeat;
}
.poster__streak { position: absolute; left: 0; right: 0; top: 56%; height: 1px; background: var(--streak); }
.poster__streak::after { content: ""; position: absolute; left: 74%; top: 50%; width: 38%; height: 2.2rem; transform: translate(-50%, -50%); background: radial-gradient(closest-side, #FFF6CF, rgba(255, 200, 55, .5) 22%, rgba(255, 200, 55, 0)); transition: left .6s cubic-bezier(.2, .7, .2, 1); }
.poster:hover .poster__streak::after { left: 80%; }
.poster__kicker, .poster__soon { position: absolute; font-size: clamp(.69rem, 2.4vw, .74rem); font-weight: 600; font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; }
.poster__kicker { left: 6%; top: 9%; color: var(--amber); }
.poster__title { position: absolute; left: 6%; bottom: 47%; font: italic 900 clamp(1.9rem, 10vw, 4.6rem)/.9 var(--display); text-transform: uppercase; text-shadow: 0 0 .4em rgba(0, 8, 26, .9); }
.poster__soon { left: 6%; bottom: 10%; padding: .5em 1.1em; color: var(--ink); isolation: isolate; }
.poster__soon::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--slant)); border-radius: 2px; background: linear-gradient(180deg, var(--glow), var(--amber-2)); }
@supports (font-size: 1cqw) {
  .poster__title { font-size: 12.6cqw; }
  .poster__kicker, .poster__soon { font-size: clamp(.69rem, 2.3cqw, .9rem); }
}
.film__body { display: grid; gap: 1.1rem; justify-items: start; }
.stops { position: relative; display: grid; gap: .15rem; margin: .4rem 0 .6rem; }
.stops::before { content: ""; position: absolute; left: .34rem; top: .8rem; bottom: .8rem; width: 1px; background: linear-gradient(180deg, var(--glow-2), rgba(242, 169, 59, .25)); }
.stops li { position: relative; padding: .3rem 0 .3rem 1.7rem; font-weight: 500; }
.stops li::before { content: ""; position: absolute; left: 0; top: .82rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--sky); box-shadow: inset 0 0 0 1.5px var(--glow-2), 0 0 .6rem rgba(255, 200, 55, .45); }
@media (min-width: 52rem) {
  .film { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3.5rem; }
}

/* ---------- The seven series ---------- */
.series { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.pillar {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .2rem 1rem;
  align-content: start;
  padding: 1.3rem 1.25rem 1.4rem;
  background: linear-gradient(180deg, rgba(14, 26, 51, .78), rgba(14, 26, 51, .34));
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--hair);
}
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--streak); opacity: .7; transition: opacity .25s; }
.pillar:hover::before { opacity: 1; }
.pillar:hover { background: linear-gradient(180deg, rgba(14, 26, 51, .95), rgba(14, 26, 51, .5)); }
.pillar svg { grid-row: 1 / 4; width: 3rem; height: 3rem; color: var(--amber); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pillar__n { font-size: .68rem; font-weight: 600; font-stretch: 125%; letter-spacing: .16em; color: var(--muted); }
.pillar h3 { font: italic 900 1.12rem/1.1 var(--display); text-transform: uppercase; color: #fff; }
.pillar p:last-child { margin-top: .3rem; font-size: .98rem; line-height: 1.45; color: var(--muted); }
@media (min-width: 62rem) {
  .series { grid-template-columns: repeat(4, 1fr); }
  .pillar { grid-template-columns: 1fr; gap: .25rem; padding: 1.5rem 1.4rem 1.6rem; }
  .pillar svg { grid-row: auto; margin-bottom: .9rem; }
  .pillar--wide { grid-column: span 2; grid-template-columns: auto 1fr; column-gap: 1.4rem; align-content: center; }
  .pillar--wide svg { grid-row: 1 / 4; width: 5.5rem; height: 5.5rem; margin: 0; }
  .pillar--wide h3 { font-size: 1.5rem; }
}

/* ---------- How the films are made ---------- */
.made { display: grid; gap: 2rem; }
.made__head { display: grid; gap: 1rem; align-content: start; justify-items: start; }
.labels { display: grid; gap: 0; }
.labels li { display: grid; gap: .15rem; padding: 1rem 0; border-top: 1px solid var(--hair); }
.labels li:last-child { border-bottom: 1px solid var(--hair); }
.labels b { font-size: .76rem; font-weight: 700; font-stretch: 125%; letter-spacing: .15em; text-transform: uppercase; color: var(--amber); }
.labels span { color: var(--text); }
@media (min-width: 52rem) {
  .made { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; }
  .labels li { grid-template-columns: 13.5rem 1fr; gap: 1.5rem; align-items: baseline; }
}

/* ---------- The end of the page: one light-day ---------- */
.dest { position: relative; overflow: hidden; overflow: clip; padding-block: clamp(4.5rem, 3rem + 7vw, 8rem) clamp(4rem, 2.5rem + 6vw, 7rem); text-align: center; }
.dest__mark { position: relative; isolation: isolate; display: block; font: italic 900 clamp(2.5rem, 12.5vw, 8.4rem)/.9 var(--display); text-transform: uppercase; color: #fff; text-shadow: 0 0 .5em rgba(0, 8, 26, .9); }
.dest__mark::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 54%; width: 200vw; height: 3.4rem; margin: -1.7rem 0 0 -100vw; background: var(--streak) center / 100% 2px no-repeat, radial-gradient(closest-side, #FFF3B8, rgba(255, 200, 55, .5) 14%, rgba(255, 200, 55, .12) 50%, rgba(255, 200, 55, 0)) 50% 50% / min(34rem, 44%) 100% no-repeat; }
.dest .eyebrow { justify-content: center; margin-bottom: 1.2rem; }
.dest .eyebrow::after { content: ""; flex: none; width: 1.75rem; height: 1px; background: linear-gradient(270deg, rgba(242, 169, 59, 0), var(--glow)); }
.dest__text { max-width: 36em; margin: 2.6rem auto 0; }
.dest .cta { justify-content: center; margin-top: 2.2rem; }

.scale { position: relative; max-width: 54rem; margin: 3rem auto 0; padding: 0 .5rem; text-align: left; }
.scale__bar { position: relative; height: 1.6rem; border-bottom: 1px solid var(--amber); background: repeating-linear-gradient(90deg, var(--amber) 0 1px, transparent 1px calc(100% / 24)) left bottom / 100% .55rem no-repeat, repeating-linear-gradient(90deg, var(--amber) 0 1px, transparent 1px 25%) left bottom / 100% 1.1rem no-repeat; border-right: 1px solid var(--amber); }
.scale__pulse { /* a track as wide as the bar, parked to its left: sliding it by its own width moves the dot from 0 to 24 on the compositor */
  position: absolute; right: 100%; bottom: 0; width: 100%; height: 0; }
.scale__pulse::before { content: ""; position: absolute; right: -.2rem; bottom: -.2rem; width: .4rem; height: .4rem; border-radius: 50%; background: #FFF8DC; box-shadow: 0 0 .5rem .12rem var(--glow), 0 0 1.2rem .3rem rgba(255, 200, 55, .5); }
.scale__nums { display: flex; justify-content: space-between; margin: .5rem -.5rem 0; font-size: .74rem; font-weight: 600; font-stretch: 112%; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--muted); }
.scale__nums span { width: 2.5rem; text-align: center; }
.scale__ends { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: .9rem; font-size: .8rem; line-height: 1.4; color: var(--text); }
.scale__ends b { display: block; font-size: .7rem; font-weight: 700; font-stretch: 125%; letter-spacing: .15em; text-transform: uppercase; color: var(--amber); }
.scale__ends span:last-child { text-align: right; }

/* ---------- Inner pages ---------- */
.phead { position: relative; overflow: hidden; overflow: clip; padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.phead .wrap { position: relative; display: grid; gap: 1.1rem; justify-items: start; }
.phead__title { position: relative; isolation: isolate; font: italic 900 clamp(2.3rem, 1.2rem + 6.4vw, 5.6rem)/.95 var(--display); text-transform: uppercase; color: #fff; text-shadow: 0 0 .5em rgba(0, 8, 26, .9); }
.phead__title::before { content: ""; position: absolute; z-index: -1; left: -100vw; right: -100vw; top: 56%; height: 2.4rem; margin-top: -1.2rem; background: var(--streak) center / 100% 1.5px no-repeat, radial-gradient(closest-side, rgba(255, 226, 90, .5), rgba(255, 200, 55, .12) 45%, rgba(255, 200, 55, 0)) var(--at, 30%) 50% / 22rem 100% no-repeat; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5em; font-size: .74rem; font-weight: 600; font-stretch: 118%; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; min-height: 2rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 2rem; text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: .5em; color: var(--amber-2); }

.phead--limb { padding-bottom: 0; }
.limb { position: relative; margin-top: clamp(1rem, 4vw, 3rem); }
.limb img { width: 100%; height: max(13rem, 31vw); /* always shows the limb's arc: the lower 55% of the picture */ object-fit: cover; object-position: 50% 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 70%, transparent 100%); }

.prose { display: grid; gap: clamp(3rem, 2rem + 4vw, 5rem); }
.block { display: grid; gap: 1.1rem; }
.block__body { display: grid; gap: 1.1rem; justify-items: start; min-width: 0; }
.block__body > p, .block__body > ul { max-width: 40em; }
.block__body > .labels, .block__body > .facts, .block__body > .poster { justify-self: stretch; }
@media (min-width: 62rem) {
  .block { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 3.5rem; align-items: start; }
  .block__head { position: sticky; top: 6.5rem; }
}
.block__head { display: grid; gap: .9rem; }
.block__head .title { font-size: clamp(1.5rem, 1rem + 2vw, 2.3rem); }
.ticks { display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.7rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .78em; width: 1rem; height: 1px; background: linear-gradient(90deg, var(--glow), rgba(255, 226, 90, .2)); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 0 1.5rem; }
.facts dt, .facts dd { padding: .8rem 0; border-top: 1px solid var(--hair); }
.facts dt { font-size: .74rem; font-weight: 700; font-stretch: 125%; letter-spacing: .15em; text-transform: uppercase; color: var(--amber); padding-top: 1rem; }
.note { padding: 1rem 1.2rem; border-left: 2px solid var(--amber-2); background: rgba(14, 26, 51, .6); border-radius: 0 4px 4px 0; color: var(--text); }

.filmlist { display: grid; gap: 2rem; }
.band { position: relative; text-align: center; }
.band .wrap { display: grid; gap: 1.3rem; justify-items: center; }
.band .lead { margin-inline: auto; }

/* ---------- 404 ---------- */
.lost { display: grid; place-items: center; min-height: min(78vh, 46rem); padding-block: 4rem; text-align: center; overflow: hidden; overflow: clip; }
.lost__code { position: relative; isolation: isolate; display: block; font: italic 900 clamp(5.5rem, 34vw, 17rem)/.85 var(--display); color: var(--sky); -webkit-text-stroke: 1.5px var(--amber); text-shadow: 0 0 .25em rgba(255, 200, 55, .25); }
.lost__code::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 52%; width: 200vw; height: 3rem; margin: -1.5rem 0 0 -100vw; background: var(--streak) center / 100% 2px no-repeat, radial-gradient(closest-side, #FFF3B8, rgba(255, 200, 55, .4) 20%, rgba(255, 200, 55, 0)) 50% 50% / 30rem 100% no-repeat; }
.lost h1 { margin-top: 1.6rem; }
.lost p { max-width: 30em; margin: 1rem auto 1.8rem; }
.lost .cta { justify-content: center; }

/* ---------- Footer ---------- */
.foot { position: relative; margin-top: auto; padding-block: 3rem 2.5rem; background: linear-gradient(180deg, rgba(0, 8, 26, 0), rgba(0, 8, 26, .9) 30%); font-size: .95rem; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--streak); opacity: .6; }
.foot__grid { display: grid; gap: 2rem; }
.foot .brand { margin: 0 0 .7rem; }
.foot__tag { color: var(--muted); max-width: 24em; }
.foot__nav { display: grid; gap: .1rem; align-content: start; justify-items: start; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--text); text-decoration: none; font-weight: 600; font-stretch: 112%; font-size: .84rem; letter-spacing: .09em; text-transform: uppercase; }
.foot__nav a:hover { color: var(--glow); }
.foot__small { display: grid; gap: .6rem; align-content: start; color: var(--muted); font-size: .86rem; line-height: 1.5; max-width: 34em; }
.foot__legal { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--hair); color: var(--muted); font-size: .82rem; }
@media (min-width: 52rem) {
  .foot__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 5fr); gap: 3rem; }
}

/* ---------- Motion (only for people who haven't asked for less) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @view-transition { navigation: auto; }

  /* the hero's streak shoots out from the sun; the halo breathes */
  .hero__sun::before { animation: shoot 1.5s cubic-bezier(.16, .8, .2, 1) both; }
  .hero__sun::after { animation: breathe 6s ease-in-out infinite alternate; }
  .hero__title span { animation: settle .9s cubic-bezier(.2, .8, .2, 1) both; }
  .hero__title span:nth-child(1) { --from: 1.2em; --to: .15em; }
  .hero__title span:nth-child(2) { --from: -1em; --to: 0em; animation-delay: .06s; }
  .hero__title span:nth-child(3) { --from: .8em; --to: -.15em; animation-delay: .12s; }
  .phead__title::before, .dest__mark::before, .lost__code::before { animation: shoot 1.4s cubic-bezier(.16, .8, .2, 1) both; }
  .scale__pulse { animation: cross 9s linear infinite; }
  .chip::before { animation: blink 2.6s ease-in-out infinite; }

  @supports (animation-timeline: view()) {
    /* scroll away and the sun falls behind */
    .hero__sun { animation: recede linear both; animation-timeline: scroll(root block); animation-range: 0 90vh; }
    /* a block rises over the first 9rem after its top edge comes into view, and is fully opaque after the first third
       of that, so a block that sits on the fold is never left half-faded */
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 9rem; }
  }
}
@keyframes shoot { from { transform: scaleX(0); opacity: 0; } 35% { opacity: 1; } to { transform: scaleX(1); opacity: 1; } }
@keyframes breathe { from { opacity: .25; } to { opacity: 1; } }
@keyframes settle { from { transform: translateX(var(--from)); } to { transform: translateX(var(--to)); } }
@keyframes cross { from { transform: translateX(0); opacity: 0; } 4% { opacity: 1; } 96% { opacity: 1; } to { transform: translateX(100%); opacity: 0; } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes recede { to { transform: translateY(14%) scale(.8); filter: brightness(.82); } }
@keyframes rise { from { opacity: 0; transform: translateY(1.6rem); } 33% { opacity: 1; } to { opacity: 1; transform: none; } }

@media print {
  body, html { background: #fff; color: #000; }
  body::before, .head, .rail, .hero__scale { display: none; }
}
