:root {
  --ink: #090a0d;
  --ink-soft: #111318;
  --paper: #eae7df;
  --paper-dim: #aaa69e;
  --line: rgba(234, 231, 223, 0.18);
  --line-bright: rgba(234, 231, 223, 0.38);
  --orange: #e89162;
  --orange-soft: #c98059;
  --blue: #92bbcf;
  --display: "Space Grotesk", "Helvetica Neue", sans-serif;
  --body: "DM Sans", "Helvetica Neue", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 73% 42%, rgba(163, 111, 75, 0.08), transparent 26%),
    radial-gradient(circle at 15% 17%, rgba(121, 164, 184, 0.05), transparent 27%),
    linear-gradient(110deg, #090a0d 0%, #0b0c10 53%, #090a0d 100%);
}

a { color: inherit; text-decoration: none; }

.page-noise {
  position: fixed;
  inset: -50%;
  z-index: 20;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  transform: rotate(7deg);
}

.cursor-glow {
  position: fixed;
  width: 22rem;
  height: 22rem;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.16;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(224, 151, 107, 0.13), transparent 67%);
  transition: opacity 0.4s ease;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 1.5rem 2.4rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
  mix-blend-mode: normal;
  background: linear-gradient(to bottom, rgba(9,10,13,0.78), rgba(9,10,13,0));
}

.wordmark { color: var(--paper); font-family: var(--display); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.21em; }
.wordmark-dot { color: var(--orange); margin-left: 0.16em; }
.topbar-center { justify-self: center; }
.topbar-link { justify-self: end; display: flex; gap: 1.1rem; align-items: center; color: var(--paper); }
.arrow { color: var(--orange); font-size: 1rem; line-height: 0; }

.moon-stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.moon-stage.is-visible { opacity: 1; }
.moon-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.moon-halo { position: absolute; top: 50%; left: 69%; width: min(45vw, 50rem); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(194, 133, 94, 0.11) 0%, rgba(194, 133, 94, 0.045) 38%, transparent 68%); filter: blur(8px); }
.moon-halo::before { content: ""; position: absolute; inset: 7%; border: 1px solid rgba(232,145,98,0.14); border-radius: 50%; box-shadow: 0 0 0 1px rgba(146,187,207,0.035), 0 0 5rem rgba(232,145,98,0.08); }
.moon-halo::after { content: ""; position: absolute; inset: 18%; border: 1px dashed rgba(234,231,223,0.08); border-radius: 50%; }
.moon-instrument { position: absolute; top: 50%; left: 69%; width: min(45vw, 50rem); aspect-ratio: 1; border: 1px solid rgba(234,231,223,0.08); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.moon-instrument::before, .moon-instrument::after { content: ""; position: absolute; background: rgba(234,231,223,0.09); }
.moon-instrument::before { top: 50%; right: -3.2rem; left: -3.2rem; height: 1px; }
.moon-instrument::after { top: -3.2rem; bottom: -3.2rem; left: 50%; width: 1px; }
.instrument-crosshair { position: absolute; z-index: 1; display: block; width: 0.65rem; height: 0.65rem; border: 1px solid rgba(232,145,98,0.42); }
.instrument-crosshair-a { top: -0.33rem; left: 50%; transform: translateX(-50%) rotate(45deg); }
.instrument-crosshair-b { right: -0.33rem; top: 50%; transform: translateY(-50%) rotate(45deg); }
.instrument-tick { position: absolute; color: rgba(234,231,223,0.42); font-family: var(--mono); font-size: 0.45rem; letter-spacing: 0.12em; }
.instrument-tick-a { top: -1.4rem; left: 50%; transform: translateX(-50%); }
.instrument-tick-b { bottom: -1.4rem; left: 50%; transform: translateX(-50%); }

.stage-readout {
  position: absolute;
  right: 2.4rem;
  bottom: 4.6rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--paper-dim);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}
.stage-readout span:first-child { color: var(--orange); font-size: 0.7rem; }
.stage-readout .readout-scroll { color: var(--paper-dim); font-size: 0.48rem; }
.stage-readout .readout-stop-number { color: var(--orange); font-size: 0.7rem; }
.readout-divider { width: 2rem; height: 1px; background: var(--line-bright); }
.stage-marker-label { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; gap: 0.6rem; opacity: 0; transform: translateY(-50%); transition: opacity 0.35s ease; }
.stage-marker-label.is-on { opacity: 1; }
.stage-marker-line { width: 2.5rem; height: 1px; background: var(--orange); box-shadow: 0 0 10px rgba(232,145,98,0.9); }
.stage-marker-copy { display: grid; gap: 0.25rem; min-width: 10rem; padding: 0.5rem 0.7rem; border: 1px solid rgba(232,145,98,0.34); background: rgba(9,10,13,0.55); backdrop-filter: blur(7px); }
.stage-marker-copy b { font-family: var(--display); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.02em; }
.stage-marker-copy small { color: var(--orange); font-family: var(--mono); font-size: 0.48rem; letter-spacing: 0.1em; }
.orbital-index { position: fixed; top: 50%; right: 2.4rem; z-index: 5; display: flex; align-items: center; gap: 0.7rem; transform: translateY(-50%); pointer-events: auto; }
.orbital-index-label { color: rgba(170,166,158,0.55); font-family: var(--mono); font-size: 0.46rem; letter-spacing: 0.14em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.orbital-index-list { position: relative; display: grid; gap: 0.28rem; padding-left: 0.6rem; }
.orbital-index-list::before { content: ""; position: absolute; top: 0.18rem; bottom: 0.18rem; left: 0; width: 1px; background: linear-gradient(to bottom, transparent, rgba(234,231,223,0.26), transparent); }
.orbital-index a { display: flex; align-items: center; justify-content: flex-end; gap: 0.55rem; color: rgba(234,231,223,0.52); font-family: var(--mono); font-size: 0.44rem; letter-spacing: 0.08em; transition: color 0.25s ease, transform 0.25s ease; }
.orbital-index a i { display: block; width: 0.72rem; height: 1px; background: rgba(234,231,223,0.28); transition: width 0.25s ease, background 0.25s ease; }
.orbital-index a:hover, .orbital-index a.is-active { color: var(--paper); transform: translateX(-0.15rem); }
.orbital-index a:hover i, .orbital-index a.is-active i { width: 1.55rem; background: var(--orange); }

main { position: relative; z-index: 2; }

.hero, .manifesto, .outro { position: relative; min-height: 100vh; padding: 9rem 2.4rem 2.4rem; }
.hero { display: flex; align-items: center; min-height: 100svh; overflow: hidden; }
.hero-content { width: min(46vw, 38rem); position: relative; z-index: 3; margin-top: -3rem; }
.eyebrow { margin: 0 0 1.8rem; color: var(--paper-dim); font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.14em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-mark { display: inline-block; margin-right: 0.7rem; color: var(--orange); }
.hero h1 { margin: 0 0 1.4rem -0.09em; font-family: var(--display); font-size: clamp(6rem, 15vw, 15.5rem); font-weight: 500; letter-spacing: -0.12em; line-height: 0.72; color: var(--paper); }
.hero h1 span { color: var(--orange); letter-spacing: -0.2em; }
.hero-dek { width: min(28rem, 90%); margin: 0; color: var(--paper-dim); font-size: clamp(0.94rem, 1.3vw, 1.15rem); line-height: 1.65; }
.scroll-cue { display: inline-flex; align-items: center; gap: 0.8rem; margin-top: 3.5rem; color: var(--paper); font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; }
.scroll-cue-ring { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border: 1px solid var(--line-bright); border-radius: 50%; color: var(--orange); font-size: 1rem; transition: transform 0.3s ease, background 0.3s ease; }
.scroll-cue:hover .scroll-cue-ring { transform: translateY(0.25rem); background: rgba(232,145,98,0.08); }
.hero-side-note { position: absolute; right: 2.4rem; top: 50%; display: grid; gap: 0.45rem; width: 9rem; color: var(--paper-dim); font-family: var(--mono); font-size: 0.53rem; letter-spacing: 0.11em; line-height: 1.5; text-transform: uppercase; transform: rotate(90deg) translateX(50%); transform-origin: right top; }
.hero-side-note::before { content: ""; display: block; width: 2.4rem; height: 1px; margin-bottom: 0.35rem; background: var(--orange); }
.hero-bottomline { position: absolute; left: 2.4rem; right: 2.4rem; bottom: 2.1rem; display: grid; grid-template-columns: 1fr 1fr 1fr; color: var(--paper-dim); font-family: var(--mono); font-size: 0.57rem; letter-spacing: 0.12em; }
.hero-bottomline span:first-child { color: var(--orange); }
.hero-bottomline span:nth-child(2) { justify-self: center; }
.hero-bottomline-right { justify-self: end; }
.hero-gridline { position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, rgba(234,231,223,0.08) 18%, rgba(234,231,223,0.08) 82%, transparent); }
.hero-gridline-a { left: 50%; }
.hero-gridline-b { left: 76%; opacity: 0.5; }

.manifesto { display: flex; flex-direction: column; justify-content: center; padding-left: 10vw; padding-right: 46vw; }
.manifesto-rule { width: 4.2rem; height: 1px; margin-bottom: 4.5rem; background: var(--orange); }
.manifesto h2, .journey-intro h2, .outro h2 { margin: 0; font-family: var(--display); font-size: clamp(3.2rem, 6.8vw, 7.3rem); font-weight: 400; letter-spacing: -0.09em; line-height: 0.9; }
.manifesto h2 em, .journey-intro h2 em, .outro h2 em, .stop-copy em { color: var(--orange); font-family: Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.1em; }
.manifesto-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; width: min(38rem, 100%); margin-top: 4rem; }
.manifesto-foot p, .outro-bottom p { max-width: 19rem; margin: 0; color: var(--paper-dim); font-size: 0.9rem; line-height: 1.7; }
.manifesto-coordinate { color: var(--orange); font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.1em; line-height: 1.5; text-align: right; }

.journey { position: relative; padding-bottom: 5vh; }
.journey-intro { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding: 10rem 48vw 7rem 10vw; }
.journey-intro-copy { max-width: 20rem; margin: 3.2rem 0 0; color: var(--paper-dim); font-size: 0.9rem; line-height: 1.7; }
.stop { position: relative; display: flex; align-items: center; min-height: 100vh; padding: 7rem 4vw; }
.stop-a, .stop-c, .stop-e, .stop-g, .stop-i { justify-content: flex-start; }
.stop-b, .stop-d, .stop-f, .stop-h, .stop-j { justify-content: flex-start; }
.stop-card { --stop-focus: 0; position: relative; width: min(40rem, 36vw); padding: 1.55rem 1.55rem 1.2rem; border: 1px solid rgba(234,231,223,0.15); background: linear-gradient(140deg, rgba(23,25,31,0.9), rgba(12,14,18,0.78)); box-shadow: 0 2rem 7rem rgba(0,0,0,0.28); backdrop-filter: blur(14px); opacity: calc(0.25 + var(--stop-focus) * 0.75); transform: translateY(calc((1 - var(--stop-focus)) * 2.25rem)); transition: none; }
.stop.is-active .stop-card { border-color: rgba(232,145,98,0.42); background: linear-gradient(140deg, rgba(28,29,34,0.94), rgba(12,14,18,0.83)); }
.stop-a .stop-card, .stop-c .stop-card, .stop-e .stop-card, .stop-g .stop-card, .stop-i .stop-card { margin-left: 3vw; }
.stop-b .stop-card, .stop-d .stop-card, .stop-f .stop-card, .stop-h .stop-card, .stop-j .stop-card { margin-left: 7vw; margin-right: 0; }
.stop-card::before { content: ""; position: absolute; top: -1px; left: 2.5rem; width: 3.5rem; height: 1px; background: var(--orange); }
.stop-card-top, .stop-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--paper-dim); font-family: var(--mono); font-size: 0.52rem; letter-spacing: 0.12em; line-height: 1.4; }
.stop-card-top span:first-child { color: var(--orange); }
.stop-copy { padding: 2.3rem 1.2rem 2.2rem; }
.stop-kicker { margin: 0 0 1.15rem; color: var(--orange); font-family: var(--mono); font-size: 0.57rem; letter-spacing: 0.13em; text-transform: uppercase; }
.stop-copy h3 { margin: 0 0 1.45rem; font-family: var(--display); font-size: clamp(2.5rem, 4vw, 4.55rem); font-weight: 400; letter-spacing: -0.09em; line-height: 0.89; }
.stop-copy p:not(.stop-kicker) { max-width: 31rem; margin: 0 0 0.95rem; color: var(--paper-dim); font-size: 0.82rem; line-height: 1.72; }
.stop-media { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(234,231,223,0.14); background: #24262b; }
.stop-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(255,197,143,0.08), transparent 35%, rgba(7,8,10,0.16)); mix-blend-mode: screen; }
.stop-media img { display: block; width: 100%; height: min(22vw, 18rem); object-fit: cover; filter: saturate(0.74) contrast(1.04) sepia(0.12); transform: scale(1.01); transition: transform 0.8s cubic-bezier(.2,.7,.2,1), filter 0.8s ease; }
.stop-card:hover .stop-media img { transform: scale(1.05); filter: saturate(0.96) contrast(1.04) sepia(0.07); }
.stop-media figcaption { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 0.75rem; color: var(--paper-dim); font-family: var(--mono); font-size: 0.48rem; letter-spacing: 0.09em; }
.stop-media figcaption a { color: var(--orange); transition: color 0.25s ease; }
.stop-media figcaption a:hover { color: var(--paper); }
.stop-card-bottom { padding-top: 1rem; border-top: 1px solid var(--line); }
.stop-card-bottom span:last-child { color: var(--blue); }

.outro { display: flex; flex-direction: column; justify-content: center; padding-left: 10vw; padding-right: 48vw; overflow: hidden; }
.outro-gridline { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(to bottom, transparent, rgba(234,231,223,0.08) 18%, rgba(234,231,223,0.08) 82%, transparent); }
.outro h2 { max-width: 42rem; }
.outro-bottom { display: flex; align-items: flex-end; gap: 3rem; margin-top: 4rem; }
.back-to-top { display: flex; align-items: center; gap: 0.6rem; color: var(--paper); font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.11em; text-transform: uppercase; white-space: nowrap; }
.back-to-top span { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line-bright); border-radius: 50%; color: var(--orange); font-size: 1rem; }
.outro-signoff { position: absolute; right: 2.4rem; bottom: 2.1rem; left: 2.4rem; display: flex; justify-content: space-between; color: var(--paper-dim); font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.13em; }

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

@media (max-width: 900px) {
  .topbar { padding: 1.25rem 1.2rem; }
  .topbar-center { display: none; }
  .topbar { grid-template-columns: 1fr 1fr; }
  .moon-halo { left: 70%; width: 64vw; }
  .moon-instrument { left: 70%; width: 64vw; }
  .stage-marker-label { display: none; }
  .stage-readout { right: 1.2rem; bottom: 1.3rem; }
  .orbital-index { right: 1.2rem; }
  .hero, .manifesto, .outro { padding-left: 1.2rem; padding-right: 1.2rem; }
  .hero-content { width: 61vw; }
  .hero-dek { width: min(22rem, 46vw); }
  .hero h1 { font-size: clamp(6rem, 18vw, 10rem); }
  .hero-side-note { right: 1.2rem; }
  .hero-bottomline { left: 1.2rem; right: 1.2rem; }
  .hero-bottomline-right { display: none; }
  .hero-bottomline { grid-template-columns: 1fr 1fr; }
  .hero-bottomline span:nth-child(2) { justify-self: end; }
  .manifesto { padding-right: 30vw; padding-left: 6vw; }
  .journey-intro { padding-right: 35vw; padding-left: 6vw; }
  .stop { padding-left: 2vw; padding-right: 2vw; }
  .stop-card { width: min(38rem, 55vw); }
  .stop-a .stop-card, .stop-c .stop-card, .stop-e .stop-card, .stop-g .stop-card, .stop-i .stop-card { margin-left: 1vw; }
  .stop-b .stop-card, .stop-d .stop-card, .stop-f .stop-card, .stop-h .stop-card, .stop-j .stop-card { margin-right: 2vw; }
  .stop-media img { height: min(24vw, 16rem); }
  .outro { padding-left: 6vw; padding-right: 35vw; }
  .outro-signoff { left: 1.2rem; right: 1.2rem; }
}

@media (max-width: 600px) {
  .moon-stage { opacity: 0.38; }
  .moon-halo { top: 29%; left: 62%; width: 72vw; }
  .moon-instrument { top: 29%; left: 62%; width: 72vw; }
  .stage-marker-label { display: none; }
  .orbital-index { display: none; }
  .stage-readout { bottom: 5.8rem; }
  .hero { min-height: 88svh; align-items: flex-start; padding-top: 9rem; }
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(6rem, 28vw, 9.5rem); margin-top: 2rem; }
  .hero-dek { width: 65%; }
  .hero-side-note { display: none; }
  .hero-bottomline { bottom: 1.2rem; font-size: 0.48rem; }
  .hero-gridline-a { left: 82%; }
  .hero-gridline-b { display: none; }
  .manifesto { min-height: 85svh; padding: 7rem 1.2rem 5rem; }
  .manifesto-rule { margin-bottom: 3.2rem; }
  .manifesto h2, .journey-intro h2, .outro h2 { font-size: clamp(3.1rem, 16vw, 5.4rem); }
  .manifesto { padding-right: 1.2rem; }
  .manifesto-foot { align-items: flex-start; flex-direction: column; margin-top: 2.4rem; }
  .manifesto-coordinate { text-align: left; }
  .journey-intro { min-height: 74svh; padding: 7rem 1.2rem 5rem; }
  .journey-intro-copy { margin-top: 2rem; }
  .stop { min-height: 100svh; align-items: flex-start; padding: 16rem 1.2rem 6rem; }
  .stop-a, .stop-b, .stop-c, .stop-d, .stop-e, .stop-f, .stop-g, .stop-h, .stop-i, .stop-j { justify-content: center; }
  .stop-card, .stop-a .stop-card, .stop-b .stop-card, .stop-c .stop-card, .stop-d .stop-card, .stop-e .stop-card, .stop-f .stop-card, .stop-g .stop-card, .stop-h .stop-card, .stop-i .stop-card, .stop-j .stop-card { width: 100%; margin: 0; padding: 1.1rem 1.1rem 0.95rem; }
  .stop-card-top, .stop-card-bottom { font-size: 0.46rem; }
  .stop-copy { padding: 1.8rem 0.45rem 1.5rem; }
  .stop-copy h3 { font-size: clamp(2.6rem, 13vw, 4.1rem); }
  .stop-copy p:not(.stop-kicker) { font-size: 0.74rem; line-height: 1.64; }
  .stop-media img { height: 37vw; min-height: 8.5rem; }
  .stop-media figcaption { font-size: 0.43rem; }
  .outro { min-height: 88svh; padding: 7rem 1.2rem 5rem; }
  .outro { padding-right: 1.2rem; }
  .outro-bottom { align-items: flex-start; flex-direction: column; gap: 1.7rem; margin-top: 2.8rem; }
  .outro-signoff { left: 1.2rem; right: 1.2rem; font-size: 0.44rem; }
  .outro-signoff span:last-child { display: none; }
}
