:root {
  --night: #071942;
  --night-2: #0d2760;
  --ink: #06132f;
  --pink: #ff3fa4;
  --pink-2: #ff82c4;
  --red: #e9133f;
  --gold: #ffc83d;
  --cream: #fff2da;
  --paper: #f6dfc7;
  --white: #fffaf4;
  --black: #050a18;
  --border: 2px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  cursor: none;
}

button, a { font: inherit; }
button { cursor: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { background: var(--pink); color: var(--white); }

.grain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: .1;
  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='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.cursor-dot, .cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 1200;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 7px; height: 7px; background: var(--gold); }
.cursor-ring { width: 34px; height: 34px; border: 2px solid var(--pink); transition: width .2s, height .2s, background .2s; }
.cursor-ring.is-hovering { width: 54px; height: 54px; background: rgba(255,63,164,.16); }

.boot {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  background: var(--night);
  transition: clip-path 1s cubic-bezier(.8,0,.2,1), visibility 1s;
  clip-path: circle(150% at 50% 50%);
}
.boot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/signal-city-collage.png") center/cover;
  opacity: .2;
  filter: saturate(.5);
}
.boot.is-open { clip-path: circle(0 at 50% 50%); visibility: hidden; }
.boot__button {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px solid var(--pink);
  background: rgba(7,25,66,.84);
  color: var(--white);
  box-shadow: 0 0 80px rgba(255,63,164,.38), inset 0 0 40px rgba(255,63,164,.22);
  display: grid;
  place-items: center;
}
.boot__orbit { position: absolute; inset: 14px; border: 1px dashed var(--gold); border-radius: 50%; animation: spin 9s linear infinite; }
.boot__orbit::after { content: "✦"; position: absolute; top: -11px; left: 50%; color: var(--gold); font-size: 24px; }
.boot__mark { font-family: Impact, Haettenschweiler, sans-serif; font-size: 70px; letter-spacing: -2px; color: var(--pink); text-shadow: 4px 4px 0 var(--red); }
.boot__label { position: absolute; bottom: 53px; font-size: 10px; font-weight: 900; letter-spacing: .22em; }

.topbar {
  position: fixed;
  z-index: 900;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  background: linear-gradient(to bottom, rgba(5,10,24,.86), rgba(5,10,24,0));
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 12px; line-height: .95; letter-spacing: -.02em; }
.brand__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font: 900 19px/1 Impact, sans-serif;
  color: var(--gold);
  background: var(--red);
  border: 2px solid var(--gold);
  transform: rotate(45deg);
  border-radius: 6px;
}
.brand__mark::first-line { transform: rotate(-45deg); }
.brand__mark { text-shadow: 1px 1px 0 var(--ink); }
.brand__mark { --r: -45deg; }
.brand__mark { font-style: normal; }
.brand__mark { text-orientation: mixed; }
.brand__mark { writing-mode: horizontal-tb; }
.brand__mark { letter-spacing: 0; }
.brand__mark { position: relative; }
.brand__mark { padding-top: 1px; }
.brand__mark { line-height: 1; }
.brand__mark { transform: rotate(45deg); }
.brand__mark { overflow: hidden; }
.brand__mark { color: transparent; }
.brand__mark::after { content: "SG"; color: var(--gold); transform: rotate(-45deg); position: absolute; inset: 0; display: grid; place-items: center; }

.signal-status { display: flex; gap: 8px; align-items: center; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.signal-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); animation: pulse 1.5s ease-in-out infinite; }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.pill {
  min-height: 43px;
  padding: 0 19px;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--ink);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.pill:hover { box-shadow: 1px 1px 0 var(--ink); transform: translate(3px, 3px); }
.pill--outline { color: var(--white); border-color: rgba(255,255,255,.66); box-shadow: none; background: rgba(7,25,66,.3); }
.pill--gold { background: var(--gold); color: var(--ink); }
.pill--pink { background: var(--pink); color: var(--white); }
.icon-button { width: 43px; height: 43px; border-radius: 50%; color: var(--white); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.4); font-size: 19px; }
.icon-button.is-on { color: var(--gold); box-shadow: inset 0 0 15px rgba(255,200,61,.3); }

.chapter-dial {
  position: fixed;
  right: 17px;
  top: 50%;
  z-index: 800;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.chapter-dial__label { font-size: 8px; letter-spacing: .2em; writing-mode: vertical-rl; margin-bottom: 3px; }
.dial-dot { width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.dial-dot::after { content: attr(data-label); position: absolute; right: 15px; top: -4px; font-size: 9px; opacity: 0; transition: opacity .2s; }
.dial-dot:hover::after, .dial-dot.is-active::after { opacity: 1; }
.dial-dot.is-active { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 9px var(--pink); }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: center;
  padding: 110px 7vw 90px;
  color: var(--white);
  background: var(--night);
}
.hero__world { position: absolute; inset: -5%; background: linear-gradient(90deg, rgba(7,25,66,.8) 0%, rgba(7,25,66,.4) 44%, rgba(7,25,66,.05)), url("assets/signal-city-collage.png") center/cover; transform: scale(1.04); will-change: transform; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,25,66,.12) 55%, var(--night)); pointer-events: none; }
.hero__scan { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0 4px, rgba(255,255,255,.025) 5px 6px); animation: scan 10s linear infinite; }
.hero__copy { position: relative; z-index: 2; max-width: 770px; }
.eyebrow { font-size: 12px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow span { color: var(--gold); }
h1, h2 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-weight: 900; letter-spacing: -.045em; text-transform: uppercase; }
h1 { margin-top: 18px; font-size: clamp(4.5rem, 9vw, 9.8rem); line-height: .75; text-shadow: 5px 5px 0 rgba(5,10,24,.45); }
h1 span { display: block; }
h1 em { display: inline-block; padding: .08em .14em; margin-left: .1em; font: 900 .3em/1 Arial, sans-serif; letter-spacing: 0; color: var(--ink); background: var(--gold); transform: rotate(-5deg); text-shadow: none; vertical-align: middle; }
.pink-stroke { color: var(--pink); -webkit-text-stroke: 1px var(--white); }
.hero__dek { max-width: 570px; margin: 28px 0; font-family: Georgia, serif; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.35; }
.hero__buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.text-link { font-size: 12px; font-weight: 900; letter-spacing: .1em; border-bottom: 2px solid var(--pink); padding: 11px 0 8px; }
.text-link span { color: var(--gold); font-size: 18px; }

.hero-card { position: relative; z-index: 2; justify-self: end; width: min(34vw, 480px); margin: 20px; padding: 12px 12px 0; background: var(--paper); border: var(--border); box-shadow: 14px 14px 0 rgba(3,10,28,.8); transform: rotate(2.5deg); }
.hero-card img { aspect-ratio: 1/1; object-fit: cover; filter: saturate(1.05) contrast(1.05); border: 1px solid var(--ink); }
.hero-card figcaption { padding: 12px 5px 14px; display: flex; justify-content: space-between; gap: 14px; align-items: flex-end; color: var(--ink); }
.hero-card figcaption span { font: 900 10px/1 Arial; letter-spacing: .15em; }
.hero-card figcaption strong { text-align: right; font: 900 13px/1.05 Arial; }
.tape { position: absolute; z-index: 3; padding: 8px 22px; color: var(--ink); background: rgba(255,200,61,.85); border: 1px solid rgba(6,19,47,.3); font: 900 10px/1 Arial; letter-spacing: .12em; }
.tape--a { top: 4%; left: -10%; transform: rotate(-15deg); }
.tape--b { right: -7%; bottom: 17%; transform: rotate(8deg); background: rgba(255,63,164,.88); color: var(--white); }
.hero__scribble { position: absolute; z-index: 2; font: 900 13px/1.05 "Courier New", monospace; color: var(--gold); transform: rotate(-9deg); text-align: center; }
.scribble-a { left: 48%; top: 19%; }
.scribble-b { right: 3%; bottom: 21%; transform: rotate(8deg); }
.secret-star { position: absolute; z-index: 3; right: 47%; bottom: 18%; width: 46px; height: 46px; border: 0; background: transparent; color: var(--gold); font-size: 32px; filter: drop-shadow(0 0 8px var(--gold)); animation: twinkle 2.4s ease-in-out infinite; }

.ticker { position: absolute; z-index: 4; bottom: 0; left: 0; width: 100%; height: 44px; background: var(--pink); color: var(--ink); border-block: 2px solid var(--ink); display: flex; overflow: hidden; font: 900 15px/40px Arial; white-space: nowrap; transform: rotate(-.6deg) scale(1.02); }
.ticker div { flex: none; animation: ticker 18s linear infinite; }

.panel-section { background: var(--paper); }
.section-number { padding: 34px 5vw 0; font: 900 10px/1 Arial; letter-spacing: .2em; }
.section-number--light { color: var(--white); }
.origin { position: relative; padding-bottom: 80px; overflow: hidden; }
.origin::before { content: ""; position: absolute; width: 520px; height: 520px; border: 1px dashed rgba(6,19,47,.25); border-radius: 50%; left: -230px; top: 100px; }
.origin__grid { min-height: 680px; padding: 5vw; display: grid; grid-template-columns: .95fr 1.05fr; gap: 7vw; align-items: center; }
.origin__headline h2, .roadmap__header h2, .transmit h2 { font-size: clamp(4rem, 8vw, 8.3rem); line-height: .82; }
.origin__headline h2 span { color: var(--pink); -webkit-text-stroke: 1px var(--ink); }
.story-console { background: var(--night); color: var(--white); border: 3px solid var(--ink); box-shadow: var(--shadow); }
.story-console__top { padding: 13px 16px; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.2); font: 900 10px/1 Arial; letter-spacing: .15em; }
.story-console__top .blink { color: var(--pink); animation: pulse 1s infinite; }
.story-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid rgba(255,255,255,.25); }
.story-tab { min-height: 54px; border: 0; border-right: 1px solid rgba(255,255,255,.18); background: transparent; color: var(--white); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.story-tab.is-active { color: var(--ink); background: var(--pink); }
.story-panel { position: relative; min-height: 340px; padding: 56px 56px 65px; overflow: hidden; }
.story-panel::after { content: ""; position: absolute; width: 230px; height: 230px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; right: -110px; bottom: -90px; }
.story-panel__stamp { position: absolute; right: 30px; top: 20px; color: rgba(255,255,255,.07); font: 900 120px/1 Impact, sans-serif; }
.story-panel h3 { margin: 0 0 28px; max-width: 460px; font: 900 clamp(2rem, 4vw, 4rem)/.95 Impact, sans-serif; text-transform: uppercase; color: var(--gold); }
.story-panel p { position: relative; z-index: 1; max-width: 600px; font: 1.05rem/1.7 Georgia, serif; }
.waveform { height: 60px; padding: 0 20px; display: flex; gap: 5px; align-items: center; border-top: 1px solid rgba(255,255,255,.2); overflow: hidden; }
.waveform i { flex: 1; min-width: 3px; background: var(--pink); animation: wave 1.5s ease-in-out infinite alternate; }
.waveform i:nth-child(3n) { animation-delay: -.7s; }
.waveform i:nth-child(2n) { animation-delay: -.3s; }
.manifesto-strip { margin: 0 5vw; display: grid; grid-template-columns: repeat(4,1fr); border: var(--border); background: var(--gold); box-shadow: var(--shadow); }
.manifesto-strip p { margin: 0; min-height: 160px; padding: 25px; display: flex; align-items: flex-end; border-right: 2px solid var(--ink); font: italic 700 1.15rem/1.3 Georgia, serif; }
.manifesto-strip p:last-child { border: 0; }

.locker { position: relative; min-height: 100svh; padding-bottom: 100px; overflow: hidden; color: var(--white); background: var(--night); }
.locker__backdrop { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,25,66,.97), rgba(7,25,66,.72)), url("assets/signal-city-collage.png") center/cover fixed; opacity: .75; }
.locker__intro, .relic-grid, .decoded-message { position: relative; z-index: 1; }
.locker__intro { padding: 8vh 5vw 50px; max-width: 700px; }
.locker__intro h2 { font-size: clamp(4rem, 8vw, 8rem); line-height: .78; }
.locker__intro > p:last-of-type { font: 1.15rem/1.5 Georgia, serif; max-width: 470px; }
.signal-meter { position: relative; width: min(430px, 100%); height: 40px; margin-top: 25px; border: 2px solid var(--white); background: rgba(0,0,0,.2); overflow: hidden; }
.signal-meter span { position: absolute; inset: 0; width: 0; background: var(--pink); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.signal-meter b { position: relative; z-index: 1; height: 100%; display: grid; place-items: center; font-size: 11px; letter-spacing: .14em; }
.relic-grid { padding: 0 5vw; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.relic { position: relative; min-height: 340px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); box-shadow: 7px 7px 0 rgba(0,0,0,.45); overflow: hidden; transition: background .3s, color .3s; }
.relic:nth-child(even) { transform: translateY(35px) rotate(1deg); }
.relic::after { content: ""; position: absolute; width: 150px; height: 150px; border: 2px dashed currentColor; border-radius: 50%; right: -60px; bottom: -60px; opacity: .2; }
.relic__number { font: 900 10px/1 Arial; letter-spacing: .15em; }
.relic__icon { margin: auto 0; font: 900 110px/1 Impact, sans-serif; color: var(--pink); text-shadow: 4px 4px 0 var(--red); }
.relic strong { font: 900 22px/1 Impact, sans-serif; letter-spacing: .02em; }
.relic small { margin-top: 8px; min-height: 48px; font: italic 15px/1.35 Georgia, serif; }
.relic__action { margin-top: 17px; font: 900 9px/1 Arial; letter-spacing: .12em; border-bottom: 2px solid currentColor; }
.relic.is-collected { color: var(--white); background: var(--pink); animation: relicPop .45s ease; }
.relic.is-collected .relic__icon { color: var(--gold); }
.decoded-message { max-height: 0; opacity: 0; overflow: hidden; margin: 75px 5vw 0; padding: 0 5vw; text-align: center; color: var(--ink); background: var(--gold); border: 0 solid var(--ink); transition: max-height .8s, opacity .8s, padding .8s, border-width .8s; }
.decoded-message.is-visible { max-height: 400px; opacity: 1; padding-block: 45px; border-width: 2px; }
.decoded-message span { font: 900 10px/1 Arial; letter-spacing: .2em; }
.decoded-message p { margin: 20px 0 0; font: italic 700 clamp(1.8rem, 4vw, 4rem)/1.05 Georgia, serif; }

.roadmap { position: relative; padding-bottom: 120px; background: var(--cream); overflow: hidden; }
.roadmap::after { content: "✦"; position: absolute; right: -4vw; top: 12vh; font-size: 30vw; color: rgba(255,63,164,.08); }
.roadmap__header { position: relative; z-index: 1; padding: 6vh 5vw 20px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: end; }
.roadmap__header .eyebrow { grid-column: 1/-1; }
.roadmap__header h2 { max-width: 900px; color: var(--pink); -webkit-text-stroke: 1.5px var(--ink); }
.roadmap__header > p:last-child { max-width: 460px; font: 1.15rem/1.55 Georgia, serif; }
.orbit-shell { --orbit-rotate: 0deg; position: relative; z-index: 1; width: min(920px, 86vw); height: min(920px, 86vw); min-height: 660px; margin: 20px auto; user-select: none; touch-action: pan-y; }
.orbit-ring { position: absolute; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(var(--orbit-rotate)); transition: transform .5s ease; }
.orbit-ring--outer { width: 88%; height: 88%; border: 2px dashed var(--ink); }
.orbit-ring--outer::before, .orbit-ring--outer::after { content: "✦"; position: absolute; color: var(--pink); font-size: 30px; }
.orbit-ring--outer::before { left: 13%; top: 7%; }
.orbit-ring--outer::after { right: 6%; bottom: 20%; }
.orbit-ring--inner { width: 52%; height: 52%; border: 12px double var(--pink); opacity: .18; }
.orbit-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 200px; height: 200px; border-radius: 50%; border: 3px solid var(--ink); background: var(--night); color: var(--white); box-shadow: 12px 12px 0 var(--pink), inset 0 0 40px rgba(255,63,164,.24); z-index: 3; }
.orbit-center span { display: block; color: var(--pink); font: 900 64px/1 Impact, sans-serif; }
.orbit-center small { font-weight: 900; letter-spacing: .14em; }
.mission { position: absolute; width: 170px; min-height: 86px; padding: 13px; text-align: left; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); z-index: 4; transition: transform .3s, background .3s; }
.mission span { display: block; color: var(--pink); font: 900 26px/1 Impact, sans-serif; }
.mission b { font-size: 10px; letter-spacing: .08em; }
.mission.is-active { background: var(--gold); transform: scale(1.08) rotate(-2deg); }
.mission--1 { left: 4%; top: 18%; }
.mission--2 { right: 0; top: 24%; }
.mission--3 { left: 2%; bottom: 17%; }
.mission--4 { right: 7%; bottom: 12%; }
.mission-card { position: absolute; z-index: 4; left: 50%; bottom: 1%; transform: translateX(-50%) rotate(-1deg); width: min(500px, 56%); padding: 26px; color: var(--white); background: var(--red); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.mission-card span, .mission-card > b { font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.mission-card h3 { margin: 10px 0; font: 900 35px/1 Impact, sans-serif; text-transform: uppercase; }
.mission-card p { font: 16px/1.45 Georgia, serif; }

.transmit { position: relative; min-height: 100svh; padding: 8vw 5vw 140px; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--night); }
.transmit__art { position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0 32%, rgba(7,25,66,.32) 68%, rgba(7,25,66,.66)), url("assets/signal-city-collage.png") center/cover; transform: scaleX(-1); opacity: .75; }
.transmit__content { position: relative; z-index: 2; width: min(850px, 65%); }
.transmit h2 span { color: var(--pink); }
.transmit__content > p:not(.eyebrow) { max-width: 680px; font: 1.16rem/1.6 Georgia, serif; }
.transmit__buttons { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 35px; }
.final-switch { position: absolute; z-index: 3; right: 6vw; bottom: 10vh; width: 230px; height: 90px; padding: 16px; color: var(--ink); background: var(--gold); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--pink); display: flex; gap: 14px; align-items: center; font-weight: 900; font-size: 11px; text-align: left; }
.final-switch i { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--red); border: 2px solid var(--ink); box-shadow: inset 5px 5px 0 rgba(255,255,255,.2); }

footer { min-height: 120px; padding: 30px 5vw; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--ink); background: var(--pink); border-top: 2px solid var(--ink); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.brand--footer { color: var(--ink); }

.toast { position: fixed; z-index: 1300; left: 50%; bottom: 25px; transform: translate(-50%, 150%); padding: 14px 23px; background: var(--gold); color: var(--ink); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); font-size: 11px; font-weight: 900; letter-spacing: .1em; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.toast.is-visible { transform: translate(-50%,0); }
.spark { position: fixed; pointer-events: none; z-index: 1250; font-size: 22px; animation: spark .9s ease-out forwards; }
.reveal { opacity: 0; transform: translateY(35px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.tilt { transform-style: preserve-3d; will-change: transform; }
body.max-signal { animation: signalFlash .55s steps(2) 3; }
body.max-signal .hero__world, body.max-signal .locker__backdrop, body.max-signal .transmit__art { filter: saturate(1.4) hue-rotate(-8deg); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }
@keyframes twinkle { 50% { transform: rotate(25deg) scale(1.4); } }
@keyframes scan { from { transform: translateY(-20px); } to { transform: translateY(20px); } }
@keyframes ticker { to { transform: translateX(-100%); } }
@keyframes wave { from { height: 6px; } to { height: 48px; } }
@keyframes relicPop { 50% { transform: scale(.95) rotate(-2deg); } }
@keyframes spark { to { transform: translate(var(--x), var(--y)) rotate(180deg) scale(0); opacity: 0; } }
@keyframes signalFlash { 50% { filter: invert(.08) saturate(2); } }

@media (max-width: 1050px) {
  .signal-status { display: none; }
  .hero { grid-template-columns: 1fr .75fr; padding-inline: 5vw; }
  .hero-card { width: min(40vw, 430px); }
  .origin__grid { gap: 4vw; }
  .manifesto-strip { grid-template-columns: repeat(2,1fr); }
  .manifesto-strip p:nth-child(2) { border-right: 0; }
  .manifesto-strip p:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .relic-grid { grid-template-columns: repeat(2,1fr); }
  .relic:nth-child(even) { transform: none; }
  .transmit__content { width: 75%; }
}

@media (max-width: 760px) {
  body, button { cursor: auto; }
  .cursor-dot, .cursor-ring, .chapter-dial { display: none; }
  .topbar { height: 68px; padding: 10px 12px; }
  .brand { font-size: 9px; }
  .brand__mark { width: 40px; height: 40px; }
  .topbar .pill--outline, .icon-button { display: none; }
  .topbar .pill { min-height: 40px; padding-inline: 14px; font-size: 10px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 105px 18px 90px; text-align: left; }
  .hero__world { inset: 0; background-position: 44% center; opacity: .78; }
  .hero__copy { z-index: 4; }
  h1 { font-size: clamp(4rem, 21vw, 7rem); }
  .hero__dek { font-size: 1.03rem; }
  .hero-card { justify-self: center; width: min(88vw, 450px); margin-top: 70px; }
  .hero__scribble { display: none; }
  .secret-star { right: 10%; bottom: 39%; }
  .origin__grid { padding: 60px 18px; grid-template-columns: 1fr; }
  .origin__headline h2, .roadmap__header h2, .transmit h2 { font-size: clamp(3.4rem, 17vw, 6rem); }
  .story-tabs { grid-template-columns: repeat(2,1fr); }
  .story-tab { border-bottom: 1px solid rgba(255,255,255,.2); }
  .story-panel { min-height: 420px; padding: 45px 24px; }
  .manifesto-strip { margin-inline: 18px; grid-template-columns: 1fr; }
  .manifesto-strip p, .manifesto-strip p:nth-child(n) { min-height: 105px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .locker__intro { padding-inline: 18px; }
  .locker__intro h2 { font-size: clamp(3.5rem, 17vw, 6rem); }
  .relic-grid { padding-inline: 18px; grid-template-columns: 1fr; }
  .relic { min-height: 280px; }
  .relic__icon { font-size: 85px; }
  .decoded-message { margin-inline: 18px; }
  .roadmap__header { padding: 55px 18px 10px; grid-template-columns: 1fr; }
  .orbit-shell { width: 100%; height: 940px; min-height: 0; margin: 20px 0; }
  .orbit-ring { width: 630px; height: 630px; }
  .orbit-ring--inner { width: 360px; height: 360px; }
  .orbit-center { width: 150px; height: 150px; }
  .orbit-center span { font-size: 48px; }
  .mission { width: 145px; }
  .mission--1 { left: 2%; top: 14%; }
  .mission--2 { right: 2%; top: 23%; }
  .mission--3 { left: 3%; bottom: 31%; }
  .mission--4 { right: 2%; bottom: 24%; }
  .mission-card { width: calc(100% - 36px); bottom: 2%; }
  .transmit { padding: 90px 18px 180px; align-items: flex-start; }
  .transmit__art { opacity: .38; background-position: 62% center; }
  .transmit__content { width: 100%; }
  .transmit__content > p:not(.eyebrow) { font-size: 1rem; }
  .final-switch { left: 18px; right: auto; bottom: 55px; }
  footer { flex-direction: column; align-items: flex-start; }
}

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