:root {
  --ink: #f4f2ea;
  --muted: #a9a79f;
  --dim: #706f69;
  --ground: #171714;
  --ground-raised: #1d1d19;
  --line: rgba(244, 242, 234, 0.2);
  --line-strong: rgba(244, 242, 234, 0.48);
  --paper: #f1f0e9;
  --paper-ink: #171714;
  --mint: #b9e5d6;
  --sky: #badcf6;
  --lilac: #d2c9f5;
  --coral: #f2c4b7;
  --sand: #ead58e;
  --shell: min(1320px, calc(100vw - 80px));
  --sans: "OpenAI Sans", "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ground);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image:
    repeating-radial-gradient(circle at 18% 22%, rgba(255,255,255,0.06) 0 0.45px, transparent 0.65px 3px),
    repeating-radial-gradient(circle at 74% 68%, rgba(0,0,0,0.1) 0 0.5px, transparent 0.8px 4px);
  background-size: 8px 8px, 11px 11px;
  mix-blend-mode: soft-light;
}

::selection {
  color: var(--ground);
  background: var(--mint);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ground);
  background: var(--paper);
  font: 500 0.75rem/1 var(--mono);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding-inline: max(40px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid transparent;
  transition: background-color 240ms ease, border-color 240ms ease, min-height 240ms ease;
}

.site-header.is-scrolled {
  min-height: 54px;
  border-color: var(--line);
  background: rgba(23, 23, 20, 0.88);
  backdrop-filter: blur(18px) saturate(120%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font: 500 0.74rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform 360ms var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(45deg);
}

.brand-mark i {
  position: absolute;
  width: 8px;
  height: 1px;
  background: currentColor;
}

.brand-mark i:last-child {
  transform: rotate(90deg);
}

.edition {
  margin: 0;
  color: var(--muted);
  font: 400 0.65rem/1 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero {
  --hero-copy-y: 0px;
  --hero-copy-opacity: 1;
  --hero-art-x: 0px;
  --hero-art-y: 0px;
  --hero-art-rx: 0deg;
  --hero-art-ry: 0deg;
  position: relative;
  min-height: clamp(660px, 82svh, 820px);
  padding-top: 64px;
  overflow: clip;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 77% 48%, rgba(185, 229, 214, 0.055), transparent 22%),
    radial-gradient(circle at 88% 22%, rgba(186, 220, 246, 0.04), transparent 18%),
    linear-gradient(112deg, transparent 56%, rgba(244, 242, 234, 0.018));
}

.hero::after {
  position: absolute;
  right: -8vw;
  bottom: -22vw;
  width: 48vw;
  height: 48vw;
  border: 1px solid rgba(244, 242, 234, 0.07);
  border-radius: 50%;
  content: "";
}

.hero-ambient {
  position: absolute;
  inset: 64px 0 0;
  z-index: -1;
  pointer-events: none;
}

.hero-ambient__arc {
  position: absolute;
  top: 12%;
  right: -9vw;
  width: min(58vw, 940px);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 242, 234, 0.045);
  border-radius: 50%;
  transform: translate3d(var(--hero-art-x), calc(var(--hero-art-y) * 0.5), 0);
}

.hero-ambient__signal {
  position: absolute;
  top: clamp(42px, 8vh, 86px);
  right: max(40px, calc((100vw - 1320px) / 2));
  width: clamp(180px, 22vw, 360px);
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(244, 242, 234, 0.18));
}

.hero-ambient__signal::after {
  position: absolute;
  top: -1px;
  left: -18%;
  width: 18%;
  height: 3px;
  background: var(--mint);
  box-shadow: 0 0 14px rgba(185, 229, 214, 0.48);
  content: "";
  animation: hero-signal-scan 8s linear infinite;
}

.hero-ambient__stars {
  position: absolute;
  inset: 7% 0 0 54%;
  opacity: 0.23;
  background-image:
    radial-gradient(circle, rgba(244, 242, 234, 0.52) 0 0.65px, transparent 0.85px),
    radial-gradient(circle, rgba(185, 229, 214, 0.44) 0 0.55px, transparent 0.75px);
  background-position: 0 0, 19px 27px;
  background-size: 48px 48px, 73px 73px;
  mask-image: radial-gradient(circle at 64% 42%, #000 0 18%, transparent 66%);
  animation: hero-stars-drift 70s linear infinite;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(380px, 0.82fr);
  grid-template-rows: 1fr auto;
  min-height: calc(clamp(660px, 82svh, 820px) - 64px);
  column-gap: clamp(40px, 4.5vw, 74px);
  padding-top: clamp(40px, 5.5vh, 66px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 820px;
  padding-bottom: 28px;
  opacity: var(--hero-copy-opacity);
  transform: translate3d(0, var(--hero-copy-y), 0);
  will-change: transform, opacity;
}

.kicker {
  margin: 0 0 24px;
  color: var(--muted);
  font: 500 0.68rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(4.15rem, 5.35vw, 5.95rem);
  font-weight: 500;
  line-height: 0.875;
  letter-spacing: -0.065em;
}

.hero-title-line {
  display: block;
  overflow: clip;
  padding: 0.06em 0.08em 0.08em 0;
  margin: -0.06em 0 -0.08em;
}

.hero-title-line > span {
  display: block;
  white-space: nowrap;
  transform-origin: 0 100%;
}

.hero h1 em {
  position: relative;
  color: var(--mint);
  font-weight: 500;
  font-style: italic;
}

.hero h1 em::after {
  position: absolute;
  right: 0.02em;
  bottom: 0.02em;
  left: 0.02em;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms 760ms var(--ease);
}

.hero-intro {
  max-width: 590px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.5;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.is-hero-enhanced .hero .kicker,
.is-hero-enhanced .hero .hero-intro,
.is-hero-enhanced .hero .hero-ledger {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

.is-hero-enhanced .hero .hero-title-line > span {
  opacity: 0;
  filter: blur(7px);
  transform: translate3d(0, 112%, 0) rotate(1.2deg);
}

.is-hero-enhanced .hero .hero-art {
  opacity: 0;
  transform: translate3d(18px, 10px, 0) scale(0.94);
}

.is-hero-enhanced .hero .kicker,
.is-hero-enhanced .hero .hero-intro,
.is-hero-enhanced .hero .hero-ledger,
.is-hero-enhanced .hero .hero-title-line > span,
.is-hero-enhanced .hero .hero-art {
  transition-property: opacity, transform, filter;
  transition-duration: 620ms, 820ms, 620ms;
  transition-timing-function: var(--ease);
}

.is-hero-enhanced .hero.is-ready .kicker,
.is-hero-enhanced .hero.is-ready .hero-intro,
.is-hero-enhanced .hero.is-ready .hero-ledger,
.is-hero-enhanced .hero.is-ready .hero-title-line > span,
.is-hero-enhanced .hero.is-ready .hero-art {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1) rotate(0);
}

.is-hero-enhanced .hero.is-ready .hero-title-line:nth-child(1) > span { transition-delay: 80ms; }
.is-hero-enhanced .hero.is-ready .hero-title-line:nth-child(2) > span { transition-delay: 145ms; }
.is-hero-enhanced .hero.is-ready .hero-title-line:nth-child(3) > span { transition-delay: 210ms; }
.is-hero-enhanced .hero.is-ready .hero-intro { transition-delay: 330ms; }
.is-hero-enhanced .hero.is-ready .hero-art { transition-delay: 170ms; }
.is-hero-enhanced .hero.is-ready .hero-ledger { transition-delay: 480ms; }
.is-hero-enhanced .hero.is-ready h1 em::after { transform: scaleX(1); }

.hero-art {
  position: relative;
  align-self: center;
  justify-self: end;
  width: min(42vw, 540px);
  margin: 0 0 30px;
  perspective: 1100px;
  transform-origin: 54% 48%;
  will-change: transform, opacity;
}

.hero-orbit-stage {
  position: relative;
  transform: translate3d(var(--hero-art-x), var(--hero-art-y), 0)
    rotateX(var(--hero-art-rx)) rotateY(var(--hero-art-ry));
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-orbit-stage::before {
  position: absolute;
  inset: 18%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 229, 214, 0.08), rgba(186, 220, 246, 0.025) 43%, transparent 70%);
  box-shadow: 0 0 110px rgba(185, 229, 214, 0.035);
  content: "";
  animation: hero-field-breathe 8s var(--ease) infinite alternate;
}

.hero-art svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.hero-art__telemetry {
  position: absolute;
  top: 8.5%;
  right: 10%;
  left: 10%;
  display: flex;
  justify-content: space-between;
  color: rgba(244, 242, 234, 0.34);
  font: 400 0.53rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-art__telemetry span:first-child::before {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 7px 1px 0;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(185, 229, 214, 0.7);
  content: "";
  animation: hero-beacon 2.8s var(--ease) infinite;
}

.hero-art__scan {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 39%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(185, 229, 214, 0.48), transparent 82%);
  opacity: 0.22;
  transform-origin: 0 50%;
  animation: hero-radar-scan 24s linear infinite;
}

.hero-art__field {
  fill: rgba(244, 242, 234, 0.008);
  stroke: rgba(244, 242, 234, 0.13);
  stroke-width: 1;
}

.hero-art__rings ellipse {
  fill: none;
  stroke: rgba(244, 242, 234, 0.16);
  stroke-dasharray: 1 10;
  stroke-linecap: round;
  stroke-width: 1;
}

.hero-art__rings ellipse:nth-child(2) {
  stroke: rgba(185, 229, 214, 0.22);
  stroke-dasharray: 2 13;
}

.hero-art__rings ellipse:nth-child(3) {
  stroke: rgba(186, 220, 246, 0.2);
  stroke-dasharray: 1 8;
}

.hero-art__rings ellipse:nth-child(4) {
  stroke: rgba(242, 196, 183, 0.17);
  stroke-dasharray: 2 11;
}

.hero-art__orbit {
  fill: none;
  stroke: var(--ink);
  stroke-dasharray: 2 8;
  stroke-linecap: round;
  stroke-width: 1.5;
  opacity: 0.62;
  animation: orbit-dash 24s linear infinite;
}

.hero-art__planets .planet {
  transform-box: fill-box;
  transform-origin: center;
  animation: planet-float 7s var(--ease) infinite alternate;
}

[data-hero-planet] {
  will-change: transform;
}

.hero-art__planets > g:nth-child(2) .planet { animation-delay: -2.8s; animation-duration: 8.4s; }
.hero-art__planets > g:nth-child(3) .planet { animation-delay: -4.6s; animation-duration: 9.2s; }
.hero-art__planets > g:nth-child(4) .planet { animation-delay: -1.4s; animation-duration: 6.8s; }
.hero-art__planets > g:nth-child(5) .planet { animation-delay: -3.5s; animation-duration: 7.8s; }

.planet circle {
  stroke: rgba(244, 242, 234, 0.28);
  stroke-width: 0.8;
}

.planet-band,
.jupiter-band,
.neptune-band,
.earth-cloud,
.mars-ridge {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1;
}

.saturn-ring--back {
  fill: none;
  stroke: url(#saturn-ring);
  stroke-width: 9;
}

.saturn-ring--front {
  fill: none;
  stroke: rgba(255, 231, 181, 0.82);
  stroke-width: 5;
}

.earth-land {
  fill: #9fc9a9;
  stroke: rgba(29, 82, 68, 0.58);
  stroke-width: 0.6;
}

.earth-cloud {
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 2.2;
}

.planet-atmosphere {
  fill: none;
  stroke: rgba(202, 235, 255, 0.62) !important;
  stroke-width: 2 !important;
}

.neptune-band {
  stroke: rgba(230, 230, 255, 0.3);
  stroke-width: 3;
}

.neptune-storm {
  fill: rgba(29, 31, 77, 0.58);
  stroke: rgba(225, 225, 255, 0.32);
}

.mars-crater {
  fill: rgba(80, 37, 35, 0.3);
  stroke: rgba(255, 205, 177, 0.2) !important;
}

.mars-ridge {
  stroke: rgba(83, 41, 36, 0.5);
  stroke-width: 1.5;
}

.jupiter-band {
  stroke: rgba(91, 57, 44, 0.42);
  stroke-width: 4;
}

.jupiter-storm {
  fill: #a85f50;
  stroke: rgba(255, 232, 200, 0.48);
  stroke-width: 0.8;
}

.hero-art__ticks path {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
}

.hero-art figcaption {
  display: flex;
  width: 305px;
  align-items: center;
  gap: 10px;
  margin: -15px 0 0 auto;
  color: var(--dim);
  font: 400 0.61rem/1.55 var(--mono);
  letter-spacing: 0.03em;
  text-align: right;
  text-transform: uppercase;
}

.hero-art figcaption::before {
  width: 42px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--line);
  content: "";
}

.is-hero-enhanced .hero [data-hero-planet],
.is-hero-enhanced .hero .hero-art__core {
  opacity: 0;
  transition: opacity 700ms var(--ease);
}

.is-hero-enhanced .hero.is-ready [data-hero-planet],
.is-hero-enhanced .hero.is-ready .hero-art__core {
  opacity: 1;
}

.is-hero-enhanced .hero.is-ready [data-hero-planet]:nth-child(1) { transition-delay: 330ms; }
.is-hero-enhanced .hero.is-ready [data-hero-planet]:nth-child(2) { transition-delay: 410ms; }
.is-hero-enhanced .hero.is-ready [data-hero-planet]:nth-child(3) { transition-delay: 490ms; }
.is-hero-enhanced .hero.is-ready [data-hero-planet]:nth-child(4) { transition-delay: 570ms; }
.is-hero-enhanced .hero.is-ready .hero-art__core { transition-delay: 260ms; }

.hero-ledger {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 36px;
  align-items: center;
  min-height: 72px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 400 0.65rem/1.2 var(--mono);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.hero-ledger::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 11%;
  height: 1px;
  background: var(--mint);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s 650ms var(--ease);
}

.is-hero-enhanced .hero.is-ready .hero-ledger::before {
  transform: scaleX(1);
}

.hero-ledger strong {
  color: var(--ink);
  font-weight: 500;
}

.hero-ledger a {
  justify-self: end;
  color: var(--ink);
  text-decoration: none;
  transition: color 180ms ease;
}

.hero-ledger a span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 220ms var(--ease);
}

.hero-ledger a:hover {
  color: var(--mint);
}

.hero-ledger a:hover span {
  transform: translateY(4px);
}

.timeline-section {
  position: relative;
  isolation: isolate;
  padding: 24px 0 90px;
  background: #080b11;
}

.journey-scene {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  margin-bottom: -100vh;
  margin-bottom: -100svh;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 69% 10%, rgba(83, 77, 142, 0.13), transparent 26%),
    radial-gradient(circle at 22% 64%, rgba(30, 103, 140, 0.11), transparent 34%),
    linear-gradient(180deg, #030509 0%, #070b13 52%, #08131b 100%);
}

.journey-stars {
  position: absolute;
  inset: -12%;
  background-repeat: repeat;
}

.journey-stars--far {
  opacity: 0.58;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.92) 0 0.6px, transparent 0.8px),
    radial-gradient(circle, rgba(185,217,255,0.72) 0 0.7px, transparent 0.95px),
    radial-gradient(circle, rgba(255,242,210,0.6) 0 0.5px, transparent 0.75px);
  background-position: 13px 31px, 87px 119px, 149px 47px;
  background-size: 167px 173px, 223px 211px, 281px 257px;
  animation: starfield-far-drift 130s linear infinite;
}

.journey-stars--near {
  opacity: 0.82;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.35px),
    radial-gradient(circle, rgba(156,210,255,0.9) 0 0.9px, transparent 1.25px),
    radial-gradient(circle, rgba(255,255,255,0.78) 0 0.7px, transparent 1.05px);
  background-position: 17px 41px, 127px 197px, 253px 83px;
  background-size: 293px 271px, 367px 349px, 431px 389px;
  animation: starfield-near-drift 86s linear infinite;
  will-change: transform, opacity;
}

.journey-nebula {
  position: absolute;
  inset: -18%;
  opacity: 0.82;
  background:
    radial-gradient(ellipse at 74% 20%, rgba(117,87,185,0.2) 0%, rgba(60,78,153,0.11) 22%, transparent 50%),
    radial-gradient(ellipse at 29% 65%, rgba(35,132,165,0.18) 0%, rgba(20,69,111,0.1) 28%, transparent 57%),
    conic-gradient(from 205deg at 61% 38%, transparent 0 22%, rgba(109,69,163,0.1) 29%, transparent 38% 65%, rgba(44,125,160,0.09) 72%, transparent 82%);
  filter: blur(28px) saturate(1.18);
  mix-blend-mode: screen;
  transform: scale(1.08) rotate(-4deg);
  will-change: transform, opacity;
}

.journey-nebula::after {
  position: absolute;
  inset: 8%;
  content: "";
  opacity: 0.48;
  background:
    radial-gradient(ellipse at 68% 31%, rgba(155,126,210,0.2), transparent 32%),
    radial-gradient(ellipse at 36% 67%, rgba(61,162,188,0.18), transparent 35%);
  filter: blur(34px);
  mix-blend-mode: screen;
  transform: translate3d(-2%, 1%, 0) scale(0.98);
  animation: nebula-current 31s var(--ease) infinite alternate;
}

.journey-galaxy {
  position: absolute;
  top: -32vmin;
  right: -10vmin;
  width: clamp(720px, 88vw, 1380px);
  aspect-ratio: 1;
  opacity: 0.96;
  border-radius: 50%;
  transform: rotate(-18deg);
  will-change: transform, opacity;
}

.galaxy-media {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  perspective: 900px;
  will-change: transform;
}

.journey-galaxy::before,
.journey-galaxy::after {
  position: absolute;
  content: "";
  inset: 8%;
  border-radius: 50%;
}

.journey-galaxy::before {
  background:
    radial-gradient(circle at 31% 33%, rgba(255,255,255,0.72) 0 0.7px, transparent 1px),
    radial-gradient(circle at 67% 62%, rgba(181,211,255,0.65) 0 0.8px, transparent 1.15px),
    radial-gradient(circle at 48% 74%, rgba(255,226,190,0.58) 0 0.65px, transparent 1px);
  background-size: 19px 23px, 31px 29px, 43px 37px;
  filter: blur(0.2px);
  -webkit-mask-image: radial-gradient(ellipse, #000 0 26%, rgba(0,0,0,0.86) 48%, transparent 75%);
  mask-image: radial-gradient(ellipse, #000 0 26%, rgba(0,0,0,0.86) 48%, transparent 75%);
  transform: scaleX(1.38) rotate(9deg);
}

.journey-galaxy::after {
  inset: 18%;
  background: radial-gradient(ellipse, rgba(255,247,221,0.68) 0 4%, rgba(193,215,255,0.36) 10%, rgba(107,140,204,0.14) 28%, transparent 66%);
  filter: blur(16px);
  opacity: 0.42;
  transform: scaleX(1.72) rotate(-3deg);
  box-shadow: 0 0 180px rgba(83,123,190,0.14);
}

.galaxy-photograph {
  position: absolute;
  inset: 7%;
  display: block;
  opacity: 0.6;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 34%, rgba(4,8,15,0.14) 58%, rgba(3,6,11,0.72) 82%),
    url("assets/ngc-628-webb.jpg") center / cover no-repeat;
  filter: hue-rotate(148deg) saturate(0.66) brightness(0.54) contrast(1.32);
  mix-blend-mode: screen;
  transform: scaleX(1.22) rotate(6deg);
  animation: galaxy-breathe 34s var(--ease) infinite alternate;
  -webkit-mask-image: radial-gradient(ellipse, #000 0 54%, rgba(0,0,0,0.72) 67%, transparent 83%);
  mask-image: radial-gradient(ellipse, #000 0 54%, rgba(0,0,0,0.72) 67%, transparent 83%);
}

.galaxy-arm {
  position: absolute;
  inset: 13%;
  display: block;
  border-radius: 50%;
  mix-blend-mode: screen;
}

.galaxy-arm--one {
  background: conic-gradient(from 6deg,
    transparent 0 3%, rgba(171,199,244,0.04) 8%, rgba(194,214,248,0.24) 14%, transparent 23% 48%,
    rgba(134,169,224,0.05) 55%, rgba(195,211,245,0.2) 62%, transparent 72% 100%);
  filter: blur(8px);
  transform: scaleX(1.52) rotate(16deg);
  animation: galaxy-arm-one 92s linear infinite;
}

.galaxy-arm--two {
  inset: 21%;
  background: conic-gradient(from 94deg,
    transparent 0 10%, rgba(238,223,224,0.19) 18%, transparent 29% 53%, rgba(148,187,233,0.21) 61%, transparent 73%);
  filter: blur(4px);
  transform: scaleX(1.75) rotate(-8deg);
  animation: galaxy-arm-two 121s linear infinite reverse;
}

.galaxy-dust {
  position: absolute;
  inset: 18%;
  display: block;
  border-radius: 50%;
  background: conic-gradient(from 42deg,
    transparent 0 8%, rgba(1,3,8,0.66) 12%, transparent 19% 43%, rgba(2,4,9,0.62) 50%, transparent 58% 82%, rgba(1,3,7,0.5) 87%, transparent 94%);
  filter: blur(5px);
  transform: scaleX(1.68) rotate(5deg);
  animation: galaxy-dust-precession 108s linear infinite;
}

.galaxy-lens {
  position: absolute;
  inset: 23%;
  display: block;
  opacity: 0.34;
  border-radius: 50%;
  background: conic-gradient(from 24deg,
    transparent 0 8%, rgba(186,223,248,0.64) 8.5% 9.1%, transparent 9.6% 43%,
    rgba(234,220,200,0.42) 43.5% 44%, transparent 44.5% 77%, rgba(174,214,242,0.5) 77.5% 78.2%, transparent 79%);
  filter: blur(0.35px) drop-shadow(0 0 8px rgba(131,201,243,0.2));
  transform: scaleX(1.76) rotate(-11deg);
  -webkit-mask-image: radial-gradient(circle, transparent 0 59%, #000 60.5% 61.4%, transparent 62.5%);
  mask-image: radial-gradient(circle, transparent 0 59%, #000 60.5% 61.4%, transparent 62.5%);
  animation: galaxy-lens-precession 29s var(--ease) infinite alternate;
}

.galaxy-core {
  position: absolute;
  inset: 46.2%;
  display: block;
  opacity: 0.24;
  border-radius: 50%;
  background: #fff8dc;
  box-shadow:
    0 0 12px rgba(255,249,226,0.94),
    0 0 38px rgba(255,222,177,0.62),
    0 0 96px rgba(160,196,255,0.5),
    0 0 210px rgba(88,126,196,0.3);
  transform: scaleX(3.6);
  animation: galaxy-core-breathe 8.5s var(--ease) infinite alternate;
}

.galaxy-core::before,
.galaxy-core::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  opacity: 0.52;
  background: linear-gradient(90deg, transparent, rgba(225,241,255,0.74), transparent);
  transform: translate3d(-50%, -50%, 0);
  animation: core-diffraction 7s var(--ease) infinite alternate;
}

.galaxy-core::before {
  width: 560%;
  height: 1px;
}

.galaxy-core::after {
  width: 1px;
  height: 420%;
  background: linear-gradient(180deg, transparent, rgba(225,241,255,0.58), transparent);
}

.journey-probe {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 8px;
  height: 8px;
  opacity: 0;
  will-change: transform, opacity;
}

.probe-light {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 50%;
  background: #fff8d8;
  box-shadow: 0 0 8px #fff, 0 0 26px #8bd5ff, 0 0 52px rgba(94,180,255,0.62);
}

.probe-trail {
  position: absolute;
  top: 3px;
  right: 4px;
  width: 140px;
  height: 1px;
  display: block;
  opacity: 0.58;
  background: linear-gradient(90deg, transparent, rgba(151,214,255,0.72));
  filter: blur(0.5px);
  transform: rotate(-12deg);
  transform-origin: 100% 50%;
}

.entry-streaks {
  position: absolute;
  inset: -20%;
  opacity: 0;
  transform: rotate(-19deg);
  will-change: transform, opacity;
}

.entry-streaks span {
  position: absolute;
  width: clamp(110px, 18vw, 280px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(168,222,255,0.18), rgba(255,236,203,0.9));
  box-shadow: 0 0 12px rgba(105,192,255,0.46);
  filter: blur(0.2px);
}

.entry-streaks span:nth-child(1) { top: 18%; left: 8%; transform: scaleX(1.3); }
.entry-streaks span:nth-child(2) { top: 31%; left: 48%; transform: scaleX(0.72); }
.entry-streaks span:nth-child(3) { top: 47%; left: 22%; transform: scaleX(1.05); }
.entry-streaks span:nth-child(4) { top: 61%; left: 64%; transform: scaleX(1.42); }
.entry-streaks span:nth-child(5) { top: 73%; left: 5%; transform: scaleX(0.64); }
.entry-streaks span:nth-child(6) { top: 84%; left: 41%; transform: scaleX(1.12); }

.journey-atmosphere {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(180deg, transparent 0 24%, rgba(29,89,135,0.06) 49%, rgba(55,144,192,0.3) 100%),
    radial-gradient(ellipse at 50% 112%, rgba(117,207,247,0.46), rgba(47,135,185,0.12) 47%, transparent 70%);
  mix-blend-mode: screen;
  will-change: opacity;
}

.journey-sun {
  position: absolute;
  top: -10vw;
  left: -10vw;
  width: 32vw;
  min-width: 380px;
  aspect-ratio: 1;
  opacity: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,248,220,0.9) 0 1%, rgba(255,205,132,0.16) 8%, rgba(116,184,232,0.07) 28%, transparent 68%);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.earth-horizon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(760px, 125vmax, 1700px);
  aspect-ratio: 1;
  opacity: 0;
  transform: translate3d(-50%, -46%, 0) scale(0.18);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.earth-orbit-ring {
  position: absolute;
  inset: -9%;
  border: 1px solid rgba(151,212,247,0.24);
  border-radius: 50%;
  transform: scaleY(0.34) rotate(-12deg);
  box-shadow: 0 0 18px rgba(107,187,235,0.08);
}

.earth-globe {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(155,220,255,0.48);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 25%, rgba(140,218,247,0.52), transparent 18%),
    url("assets/blue-marble-earth.jpg") center / cover no-repeat;
  background-blend-mode: screen, normal;
  box-shadow:
    0 0 0 2px rgba(126,214,255,0.08),
    0 -10px 38px rgba(111,214,255,0.72),
    0 -42px 130px rgba(51,155,218,0.38),
    0 -100px 240px rgba(33,109,167,0.18),
    inset -180px -110px 230px rgba(0,0,0,0.78);
}

.earth-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  filter: url(#terrain-texture) drop-shadow(0 5px 14px rgba(0,0,0,0.38));
}

.earth-land {
  fill: #426f52;
}

.earth-land--back {
  fill: #315d4a;
  opacity: 0.8;
}

.earth-land--front {
  fill: #527858;
}

.earth-cities {
  position: absolute;
  inset: 12%;
  opacity: 0.35;
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 47%, #ffd990 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 68% 37%, #ffe8a9 0 0.8px, transparent 1.5px),
    radial-gradient(circle at 57% 71%, #ffc977 0 0.6px, transparent 1.2px),
    radial-gradient(circle at 77% 58%, #ffe5a0 0 0.55px, transparent 1.1px);
  background-size: 23px 29px, 31px 37px, 19px 27px, 41px 33px;
  filter: drop-shadow(0 0 4px rgba(255,196,93,0.9));
  mix-blend-mode: screen;
}

.earth-clouds {
  position: absolute;
  inset: -9%;
  opacity: 0.46;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 27% 38%, transparent 0 8%, rgba(229,244,247,0.72) 8.5% 10%, transparent 10.5% 17%),
    radial-gradient(ellipse at 72% 61%, transparent 0 10%, rgba(235,248,249,0.5) 10.5% 12%, transparent 12.5% 21%),
    repeating-radial-gradient(ellipse at 48% 54%, transparent 0 12%, rgba(220,241,245,0.22) 12.5% 13.5%, transparent 14% 22%);
  transform: rotate(-11deg) scaleX(1.15);
  filter: blur(4px);
  animation: cloud-drift 38s linear infinite;
}

.earth-aurora {
  position: absolute;
  inset: 1.2%;
  opacity: 0.4;
  border-top: 2px solid rgba(111,255,208,0.34);
  border-radius: 50%;
  box-shadow: inset 0 14px 28px rgba(84,225,211,0.1);
  transform: rotate(-21deg);
  filter: blur(2px);
}

.earth-night {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,0.05), transparent 18%),
    radial-gradient(circle at 31% 27%, transparent 0 23%, rgba(1,5,10,0.12) 47%, rgba(0,2,5,0.88) 88%);
}

.journey-coordinates {
  position: absolute;
  top: 88px;
  right: max(24px, calc((100vw - var(--shell)) / 2));
  z-index: 4;
  display: grid;
  gap: 4px;
  justify-items: end;
  color: rgba(244,242,234,0.62);
  font: 400 0.56rem/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.journey-coordinates::before {
  width: 42px;
  height: 1px;
  margin-bottom: 6px;
  content: "";
  background: rgba(184,225,255,0.56);
}

.journey-altitude {
  color: rgba(168,205,229,0.48);
}

.journey-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,10,16,0.68), rgba(7,10,16,0.18) 42%, rgba(7,10,16,0.32)),
    linear-gradient(180deg, rgba(7,10,16,0.22), transparent 28%, rgba(7,10,16,0.5) 100%);
}

.journey-scene:not(.is-active) .journey-stars,
.journey-scene:not(.is-active) .journey-nebula::after,
.journey-scene:not(.is-active) .galaxy-photograph,
.journey-scene:not(.is-active) .galaxy-arm,
.journey-scene:not(.is-active) .galaxy-dust,
.journey-scene:not(.is-active) .galaxy-lens,
.journey-scene:not(.is-active) .galaxy-core,
.journey-scene:not(.is-active) .galaxy-core::before,
.journey-scene:not(.is-active) .galaxy-core::after,
.journey-scene:not(.is-active) .earth-clouds {
  animation-play-state: paused;
}

.timeline-shell {
  position: relative;
  z-index: 2;
}

.timeline-rule {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--line-strong) 0 3px, transparent 3px 9px);
  transform: translateX(-0.5px);
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.year-marker {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 84px 1fr;
  align-items: center;
  min-height: 116px;
}

.year-capsule {
  z-index: 2;
  grid-column: 1 / -1;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 5px 10px 5px 12px;
  color: var(--ground);
  background: var(--ink);
  border: 5px solid var(--ground);
  white-space: nowrap;
}

.year-capsule strong {
  font: 500 0.68rem/1 var(--mono);
  letter-spacing: 0.06em;
}

.year-capsule small {
  padding-left: 10px;
  border-left: 1px solid rgba(23,23,20,0.28);
  font: 500 0.48rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story {
  --accent: var(--mint);
  --accent-ink: #10241f;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
  align-items: center;
  min-height: 268px;
  padding-block: 20px;
}

.story[data-tone="sky"] { --accent: var(--sky); --accent-ink: #10202b; }
.story[data-tone="lilac"] { --accent: var(--lilac); --accent-ink: #201b31; }
.story[data-tone="coral"] { --accent: var(--coral); --accent-ink: #2b1914; }
.story[data-tone="sand"] { --accent: var(--sand); --accent-ink: #29220f; }

.story[data-importance="major"] {
  min-height: 326px;
}

.story[data-importance="quiet"] {
  min-height: 208px;
}

.story::before {
  position: absolute;
  top: 0;
  right: 2.25%;
  left: 2.25%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  content: "";
}

.story-node {
  position: relative;
  z-index: 3;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 5px solid var(--ground);
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  transform: rotate(45deg);
}

.story[data-importance="major"] .story-node {
  width: 24px;
  height: 24px;
  background: var(--ground);
  box-shadow: 0 0 0 1px var(--accent), inset 0 0 0 5px var(--accent);
}

.story-branch {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 1px;
  background: var(--line-strong);
}

.story[data-side="left"] .story-branch {
  right: 50%;
}

.story[data-side="right"] .story-branch {
  left: 50%;
}

.story-copy {
  grid-row: 1;
  width: min(100%, 520px);
  align-self: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.72), 0 5px 20px rgba(0,0,0,0.7);
}

.story[data-side="left"] .story-copy {
  grid-column: 1;
  justify-self: end;
  padding-right: 34px;
}

.story[data-side="right"] .story-copy {
  grid-column: 3;
  justify-self: start;
  padding-left: 34px;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--muted);
  font: 400 0.64rem/1.2 var(--mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.story-number {
  color: var(--accent);
}

.story-category::before {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.story h2 {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(1.65rem, 2vw, 2.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.story[data-importance="major"] h2 {
  max-width: 18ch;
  font-size: clamp(2.1rem, 2.7vw, 3rem);
}

.story[data-importance="quiet"] h2 {
  font-size: clamp(1.5rem, 1.8vw, 2rem);
}

.story-summary {
  max-width: 58ch;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.56;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.story-evidence {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 20px;
}

.metric {
  flex: 0 0 auto;
  min-width: 92px;
  margin: 0;
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.metric dt {
  max-width: 17ch;
  color: var(--dim);
  font: 400 0.56rem/1.35 var(--mono);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.metric dd {
  margin: 0 0 5px;
  color: var(--accent);
  font: 500 clamp(1.55rem, 2vw, 2.35rem)/1 var(--mono);
  letter-spacing: -0.055em;
}

.facts {
  display: grid;
  gap: 5px;
  margin: 1px 0 0;
  padding: 0;
  color: var(--muted);
  font: 400 0.64rem/1.45 var(--mono);
  list-style: none;
}

.facts li::before {
  margin-right: 7px;
  color: var(--accent);
  content: "+";
}

.story-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.story-sources a {
  position: relative;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding-bottom: 3px;
  color: var(--ink);
  font: 500 0.62rem/1.2 var(--mono);
  letter-spacing: 0.025em;
  text-decoration: none;
}

.story-sources a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.story-sources a:hover::after {
  transform: scaleX(1);
}

.story-sources a span {
  color: var(--accent);
}

.story-art {
  position: relative;
  grid-row: 1;
  width: min(88%, 390px);
  margin: 0;
  color: var(--accent-ink);
  transform: rotate(var(--tilt, -1.5deg));
}

.story[data-side="left"] .story-art {
  --tilt: 1.6deg;
  grid-column: 3;
  justify-self: start;
  margin-left: 38px;
}

.story[data-side="right"] .story-art {
  grid-column: 1;
  justify-self: end;
  margin-right: 38px;
}

.story[data-importance="quiet"] .story-art {
  width: min(64%, 250px);
}

.art-board {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  min-height: 180px;
  place-items: center;
  overflow: hidden;
  border-radius: 28px 8px 28px 8px;
  background: var(--accent);
  box-shadow: 18px 20px 0 rgba(0, 0, 0, 0.14);
}

.story[data-side="left"] .art-board {
  border-radius: 8px 28px 8px 28px;
}

.story[data-importance="quiet"] .art-board {
  min-height: 130px;
  border-radius: 50%;
  box-shadow: 12px 13px 0 rgba(0, 0, 0, 0.13);
}

.art-board::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(23, 23, 20, 0.18);
  border-radius: inherit;
  content: "";
}

.art-board::after {
  position: absolute;
  right: 18px;
  bottom: 17px;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  box-shadow: -12px 0 currentColor, -24px 0 0 -1px transparent;
}

.art-board svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 82%;
  height: 82%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.art-board svg .fill {
  fill: currentColor;
  stroke: none;
}

.art-board svg .paper {
  fill: rgba(244, 242, 234, 0.7);
}

.art-board svg .thin {
  stroke-width: 1;
}

.art-board svg text {
  fill: currentColor;
  stroke: none;
  font: 500 10px var(--mono);
  letter-spacing: 0.06em;
}

.art-label {
  position: absolute;
  top: -9px;
  left: 20px;
  z-index: 3;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--ground);
  border: 1px solid var(--line-strong);
  font: 400 0.55rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.story[data-side="left"] .art-label {
  right: 20px;
  left: auto;
  transform: rotate(2deg);
}

.is-enhanced .story-copy,
.is-enhanced .story-art,
.is-enhanced .year-capsule {
  opacity: 0;
  transition: opacity 620ms var(--ease), transform 720ms var(--ease);
}

.is-enhanced .story-copy {
  transform: translateY(24px);
}

.is-enhanced .story-art {
  transform: translateY(30px) rotate(var(--tilt, -1.5deg));
}

.is-enhanced .year-capsule {
  transform: scale(0.72);
}

.is-enhanced .story.is-visible .story-copy,
.is-enhanced .story.is-visible .story-art,
.is-enhanced .year-marker.is-visible .year-capsule {
  opacity: 1;
}

.is-enhanced .story.is-visible .story-copy {
  transform: translateY(0);
}

.is-enhanced .story.is-visible .story-art {
  transform: translateY(0) rotate(var(--tilt, -1.5deg));
}

.is-enhanced .year-marker.is-visible .year-capsule {
  transform: scale(1);
}

.site-footer {
  position: relative;
  padding: 66px 0 34px;
  border-top: 1px solid var(--line);
  background: #131310;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 44px;
  align-items: start;
}

.footer-grid p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.55;
}

.footer-links {
  display: grid;
  gap: 9px;
  justify-items: end;
}

.footer-links a {
  color: var(--muted);
  font: 400 0.65rem/1.3 var(--mono);
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-grid .footer-meta {
  grid-column: 1 / -1;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font: 400 0.59rem/1.4 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-grid .footer-credit {
  grid-column: 1 / -1;
  margin-top: -22px;
  color: var(--dim);
  font: 400 0.59rem/1.4 var(--mono);
  letter-spacing: 0.025em;
}

.footer-credit a {
  color: var(--muted);
  text-decoration-color: rgba(185, 229, 214, 0.46);
  text-underline-offset: 3px;
}

.footer-credit a:hover {
  color: var(--mint);
}

@keyframes hero-signal-scan {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  12% { opacity: 0.85; }
  76% { opacity: 0.45; }
  100% { transform: translate3d(660%, 0, 0); opacity: 0; }
}

@keyframes hero-stars-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-44px, 28px, 0); }
}

@keyframes hero-field-breathe {
  from { opacity: 0.42; transform: scale(0.96); }
  to { opacity: 0.82; transform: scale(1.04); }
}

@keyframes hero-beacon {
  0%, 100% { opacity: 0.42; transform: scale(0.82); }
  42% { opacity: 1; transform: scale(1.2); }
}

@keyframes hero-radar-scan {
  to { transform: rotate(360deg); }
}

@keyframes starfield-far-drift {
  from { background-position: 13px 31px, 87px 119px, 149px 47px; }
  to { background-position: 180px 204px, -136px 330px, 430px -210px; }
}

@keyframes starfield-near-drift {
  from { background-position: 17px 41px, 127px 197px, 253px 83px; }
  to { background-position: -276px 312px, 494px -152px, -178px 472px; }
}

@keyframes nebula-current {
  0% { opacity: 0.38; transform: translate3d(-3%, 2%, 0) scale(0.96) rotate(-2deg); }
  52% { opacity: 0.56; transform: translate3d(2%, -1%, 0) scale(1.04) rotate(2deg); }
  100% { opacity: 0.43; transform: translate3d(-1%, -3%, 0) scale(1.01) rotate(-1deg); }
}

@keyframes galaxy-breathe {
  0% { transform: translate3d(-1.2%, 0.8%, 0) scaleX(1.2) scale(0.985) rotate(3deg); }
  48% { transform: translate3d(0.7%, -0.4%, 0) scaleX(1.24) scale(1.018) rotate(7deg); }
  100% { transform: translate3d(1.5%, -0.9%, 0) scaleX(1.22) scale(1.035) rotate(9deg); }
}

@keyframes galaxy-arm-one {
  from { transform: scaleX(1.52) rotate(16deg); }
  to { transform: scaleX(1.52) rotate(376deg); }
}

@keyframes galaxy-arm-two {
  from { transform: scaleX(1.75) rotate(-8deg); }
  to { transform: scaleX(1.75) rotate(352deg); }
}

@keyframes galaxy-dust-precession {
  from { transform: scaleX(1.68) rotate(5deg); }
  to { transform: scaleX(1.68) rotate(365deg); }
}

@keyframes galaxy-lens-precession {
  0% { opacity: 0.22; transform: scaleX(1.7) rotate(-14deg); }
  55% { opacity: 0.42; transform: scaleX(1.82) rotate(-4deg); }
  100% { opacity: 0.3; transform: scaleX(1.74) rotate(8deg); }
}

@keyframes galaxy-core-breathe {
  from { opacity: 0.18; transform: scaleX(3.35) scale(0.94); }
  to { opacity: 0.29; transform: scaleX(3.8) scale(1.06); }
}

@keyframes core-diffraction {
  from { opacity: 0.32; transform: translate3d(-50%, -50%, 0) scale(0.86); }
  to { opacity: 0.64; transform: translate3d(-50%, -50%, 0) scale(1.14); }
}

@keyframes cloud-drift {
  from { transform: rotate(-11deg) scaleX(1.15); }
  to { transform: rotate(349deg) scaleX(1.15); }
}

@keyframes draw-line {
  to { transform: scaleX(1); }
}

@keyframes orbit-dash {
  to { stroke-dashoffset: -200; }
}

@keyframes planet-float {
  from { transform: translateY(-2px) rotate(-1deg); }
  to { transform: translateY(5px) rotate(2deg); }
}

.is-hero-enhanced .hero:not(.is-motion-active) .hero-ambient__signal::after,
.is-hero-enhanced .hero:not(.is-motion-active) .hero-ambient__stars,
.is-hero-enhanced .hero:not(.is-motion-active) .hero-orbit-stage::before,
.is-hero-enhanced .hero:not(.is-motion-active) .hero-art__scan,
.is-hero-enhanced .hero:not(.is-motion-active) .hero-art__telemetry span:first-child::before,
.is-hero-enhanced .hero:not(.is-motion-active) .hero-art__orbit,
.is-hero-enhanced .hero:not(.is-motion-active) .planet {
  animation-play-state: paused;
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 48px, 900px);
  }

  .site-header {
    padding-inline: 24px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: 34px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 7.9vw, 6rem);
  }

  .hero-art {
    width: 350px;
  }

  .story {
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  }

  .year-marker {
    grid-template-columns: 1fr 64px 1fr;
  }

  .story[data-side="left"] .story-copy { padding-right: 22px; }
  .story[data-side="right"] .story-copy { padding-left: 22px; }
  .story[data-side="left"] .story-art { margin-left: 24px; }
  .story[data-side="right"] .story-art { margin-right: 24px; }

  .story-evidence {
    display: grid;
    gap: 12px;
  }

  .metric {
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100% - 34px);
  }

  .site-header {
    min-height: 56px;
    padding-inline: 17px;
  }

  .site-header.is-scrolled {
    min-height: 50px;
  }

  .edition {
    max-width: 128px;
    font-size: 0.53rem;
    line-height: 1.35;
    text-align: right;
  }

  .hero {
    min-height: 742px;
    padding-top: 56px;
  }

  .hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 686px;
    padding-top: 78px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .kicker {
    margin-bottom: 18px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.95rem, 12.8vw, 4.25rem);
    line-height: 0.92;
  }

  .hero-intro {
    max-width: 36ch;
    margin-top: 22px;
    font-size: 0.95rem;
  }

  .hero-art {
    position: absolute;
    right: -52px;
    bottom: 66px;
    width: 300px;
    margin: 0;
    opacity: 0.7;
  }

  .is-hero-enhanced .hero.is-ready .hero-art {
    opacity: 0.7;
  }

  .hero-art__telemetry {
    display: none;
  }

  .hero-ambient__signal {
    top: 38px;
    right: 17px;
    width: 34vw;
  }

  .hero-ambient__stars {
    inset: 5% -10% 0 36%;
    opacity: 0.17;
  }

  .hero-art figcaption {
    display: none;
  }

  .hero-ledger {
    grid-template-columns: 1fr 1fr;
    gap: 9px 18px;
    align-self: end;
    min-height: 96px;
    padding-block: 16px;
    font-size: 0.55rem;
  }

  .hero-ledger span {
    max-width: 18ch;
  }

  .hero-ledger a {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .timeline-section {
    padding-top: 8px;
  }

  .journey-coordinates {
    top: 70px;
    right: 17px;
    max-width: 47vw;
    font-size: 0.49rem;
    text-align: right;
  }

  .journey-galaxy {
    top: -7vh;
    right: -57vw;
    width: 155vw;
  }

  .earth-horizon {
    right: auto;
    bottom: auto;
    width: 132vmax;
  }

  .journey-vignette {
    background:
      linear-gradient(90deg, rgba(7,10,16,0.76), rgba(7,10,16,0.26) 72%, rgba(7,10,16,0.43)),
      linear-gradient(180deg, rgba(7,10,16,0.24), transparent 27%, rgba(7,10,16,0.62) 100%);
  }

  .timeline-rule {
    left: 14px;
  }

  .year-marker {
    grid-template-columns: 28px 1fr;
    min-height: 92px;
  }

  .year-capsule {
    grid-column: 1 / 3;
    justify-self: start;
    gap: 8px;
    min-height: 30px;
    padding-inline: 10px;
    margin-left: -15px;
  }

  .year-capsule small {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .story,
  .story[data-importance="major"],
  .story[data-importance="quiet"] {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    min-height: 0;
    padding: 28px 0 52px;
  }

  .story::before {
    right: 0;
    left: 28px;
  }

  .story-node {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    margin-top: 6px;
  }

  .story-branch {
    top: 42px;
    right: auto !important;
    left: 14px !important;
    width: 26px;
  }

  .story-copy,
  .story[data-side="left"] .story-copy,
  .story[data-side="right"] .story-copy {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    padding: 0 0 0 20px;
  }

  .story h2,
  .story[data-importance="major"] h2,
  .story[data-importance="quiet"] h2 {
    max-width: 15ch;
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .story-summary {
    max-width: 41ch;
    font-size: 0.89rem;
  }

  .story-evidence {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .metric {
    padding: 0 15px 0 0;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .story-art,
  .story[data-side="left"] .story-art,
  .story[data-side="right"] .story-art {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    width: min(88%, 340px);
    margin: 24px 0 0 20px;
  }

  .story[data-importance="quiet"] .story-art {
    width: min(58%, 220px);
  }

  .art-board {
    min-height: 160px;
    box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.14);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-links {
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .is-enhanced .story-copy,
  .is-enhanced .story-art,
  .is-enhanced .year-capsule {
    opacity: 1;
    transform: none;
  }

  .journey-stars--near,
  .journey-galaxy,
  .galaxy-media,
  .earth-horizon {
    transform: none !important;
  }

  .journey-stars,
  .hero-ambient__signal::after,
  .hero-ambient__stars,
  .hero-orbit-stage::before,
  .hero-art__scan,
  .hero-art__telemetry span:first-child::before,
  .hero-art__orbit,
  .hero-art__planets .planet,
  .journey-nebula::after,
  .galaxy-photograph,
  .galaxy-arm,
  .galaxy-dust,
  .galaxy-lens,
  .galaxy-core,
  .galaxy-core::before,
  .galaxy-core::after,
  .earth-clouds {
    animation: none !important;
  }

  .hero-copy,
  .hero-orbit-stage,
  .hero-art,
  .hero-title-line > span {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .journey-galaxy {
    opacity: 0.22 !important;
  }

  .journey-atmosphere {
    opacity: 0.36 !important;
  }

  .earth-horizon {
    opacity: 0.42 !important;
    transform: translate3d(-50%, 43%, 0) scale(1) !important;
  }
}
