:root {
  --ink: #edfaff;
  --cyan: #50dcff;
  --blue: #0648ff;
  --royal: #082bbd;
  --deep: #020927;
  --acid: #a8ff3e;
  --line: rgba(86, 221, 255, .27);
  --background: #020927;
  --foreground: #edfaff;
  --card: #06154b;
  --card-foreground: #edfaff;
  --popover: #06154b;
  --popover-foreground: #edfaff;
  --primary: #a8ff3e;
  --primary-foreground: #020927;
  --secondary: #0a2a7c;
  --secondary-foreground: #edfaff;
  --muted: #071a55;
  --muted-foreground: #8fb8dd;
  --accent: #50dcff;
  --accent-foreground: #020927;
  --destructive: #ff5470;
  --border: rgba(86, 221, 255, .25);
  --input: rgba(86, 221, 255, .2);
  --ring: #50dcff;
  --radius: 0;
  --mx: 50vw;
  --my: 50vh;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--deep); }
body { margin: 0; color: var(--ink); background: var(--deep); font-family: "Courier New", ui-monospace, monospace; }
button, a { color: inherit; font: inherit; }
button { border: 0; cursor: pointer; }
a { text-decoration: none; }
::selection { color: var(--deep); background: var(--acid); }

.site-shell { min-height: 100vh; overflow: clip; background: var(--deep); }
.noise { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .11; 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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E"); mix-blend-mode: screen; }
.cursor-signal { position: fixed; z-index: 95; left: var(--mx); top: var(--my); width: 28px; height: 28px; border: 1px solid var(--cyan); border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); transition: width .2s, height .2s; mix-blend-mode: screen; }
.cursor-signal::before, .cursor-signal::after { content: ''; position: absolute; background: var(--cyan); }
.cursor-signal::before { width: 40px; height: 1px; top: 13px; left: -7px; }
.cursor-signal::after { width: 1px; height: 40px; left: 13px; top: -7px; }
.cursor-signal span { position: absolute; inset: 5px; border: 1px dotted var(--acid); border-radius: 50%; animation: spin 3s linear infinite; }
.warp { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none; opacity: 0; background: repeating-linear-gradient(0deg, #061048 0 2px, #102eac 3px 6px); transform: translateY(-102%); transition: transform .35s cubic-bezier(.8,0,.2,1), opacity .1s; }
.warp::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, transparent 0 6%, #061048 50%); }
.warp b { z-index: 1; color: var(--acid); letter-spacing: .4em; font-size: 12px; animation: flicker .13s steps(2) infinite; }
.warp.is-active { opacity: 1; transform: translateY(0); }

.topbar { position: absolute; z-index: 60; top: 0; left: 0; right: 0; height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 4vw; border-bottom: 1px solid var(--line); background: linear-gradient(#020927e8, transparent); font-size: 11px; letter-spacing: .15em; }
.brand { display: flex; align-items: center; gap: 12px; width: max-content; padding: 0; background: transparent; font-weight: 800; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--cyan); color: var(--acid); border-radius: 50%; box-shadow: 0 0 22px #50dcff77; }
.topbar nav { display: flex; gap: clamp(16px, 2.2vw, 36px); }
.topbar nav button { padding: 8px 0; background: transparent; opacity: .66; transition: color .2s, opacity .2s; }
.topbar nav button:hover { color: var(--acid); opacity: 1; }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 7px; }
.sound-button, .x-link, .menu-button { padding: 10px 13px; border: 1px solid var(--line); background: #02092755; }
.sound-button { min-width: 88px; color: var(--cyan); }
.menu-button { display: none; width: 39px; padding-inline: 0; }
.flight-menu { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; justify-content: center; padding: 9vw; background: #041044f2; backdrop-filter: blur(22px); transform: translateX(102%); transition: transform .5s cubic-bezier(.77,0,.18,1); }
.flight-menu::before { content: ''; position: absolute; inset: 0; opacity: .2; background: repeating-linear-gradient(90deg, transparent 0 9vw, var(--cyan) calc(9vw + 1px)); }
.flight-menu.is-open { transform: translateX(0); }
.flight-menu > p { position: relative; z-index: 1; color: var(--acid); letter-spacing: .25em; }
.flight-menu > button:not(.menu-close) { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 22px; padding: 5px 0; background: transparent; font-family: Arial Black, sans-serif; font-size: clamp(44px, 8vw, 120px); letter-spacing: -.07em; text-align: left; }
.flight-menu > button small { width: 30px; color: var(--cyan); font-family: "Courier New", monospace; font-size: 11px; letter-spacing: 0; }
.menu-close { position: absolute; z-index: 2; right: 5vw; top: 34px; padding: 12px; color: var(--cyan); background: transparent; letter-spacing: .15em; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 122px 7vw 76px; isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #020927 0%, #020927ed 18%, #02092755 53%, transparent 74%), linear-gradient(0deg, #020927 0%, transparent 30%), url('./flystonks-world.jpg') 57% center / cover no-repeat; transform: scale(1.02); animation: breathe 9s ease-in-out infinite alternate; }
.hero-art::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 5px, #61d9ff10 6px), radial-gradient(circle at var(--mx) var(--my), #5de6ff2a, transparent 19%); mix-blend-mode: screen; }
.ticker-strip { position: absolute; top: 76px; left: 0; right: 0; height: 34px; overflow: hidden; border-bottom: 1px dashed var(--line); color: var(--cyan); font-size: 9px; letter-spacing: .14em; }
.ticker-strip div { width: max-content; height: 100%; display: flex; align-items: center; gap: 80px; padding-left: 80px; animation: marquee 26s linear infinite; }
.hero-copy { position: relative; z-index: 2; width: min(780px, 70vw); }
.eyebrow { color: var(--acid); letter-spacing: .22em; font-size: clamp(9px, 1vw, 12px); }
.hero h1 { margin: 18px 0 25px; font-family: Arial Black, Impact, sans-serif; font-size: clamp(84px, 13.6vw, 210px); line-height: .69; letter-spacing: -.095em; text-shadow: 7px 7px 0 #062fb5, 0 0 60px #1672ff; transform: scaleX(.93); transform-origin: left; }
.hero h1 i { color: transparent; -webkit-text-stroke: 2px var(--ink); font-style: normal; text-shadow: none; }
.hero-lede { max-width: 680px; color: #c4eaff; font-size: clamp(12px, 1.15vw, 16px); line-height: 1.7; }
.hero-actions, .footer-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.buy-button, .ghost-button { display: inline-flex; align-items: center; justify-content: space-between; min-width: 230px; padding: 16px 19px; border: 1px solid var(--cyan); font-size: 11px; letter-spacing: .08em; transition: transform .2s, box-shadow .2s, background .2s; }
.buy-button { color: var(--deep); background: var(--acid); border-color: var(--acid); box-shadow: 7px 7px 0 #0474be; }
.buy-button:hover { transform: translate(4px, 4px); box-shadow: 3px 3px 0 #0474be; }
.ghost-button { background: #020927a1; }
.ghost-button:hover { background: var(--cyan); color: var(--deep); }
.hero-stamp { position: absolute; right: 4vw; bottom: 8vh; width: 112px; height: 112px; display: grid; place-content: center; border: 1px solid var(--cyan); border-radius: 50%; color: var(--cyan); text-align: center; font-size: 10px; line-height: 1.5; transform: rotate(10deg); box-shadow: inset 0 0 0 6px #02092799, inset 0 0 0 7px var(--line); animation: float 5s ease-in-out infinite; }
.side-tab { position: absolute; right: 0; top: 42%; display: flex; justify-content: space-between; gap: 20px; padding: 13px 20px; color: var(--acid); border: 1px solid var(--line); border-right: 0; background: #03114dcc; writing-mode: vertical-rl; letter-spacing: .13em; }
.scroll-cue { position: absolute; left: 4vw; bottom: 25px; display: flex; align-items: center; gap: 12px; }
.scroll-cue span { width: 46px; height: 1px; background: var(--cyan); }
.scroll-cue em { color: var(--cyan); font-size: 8px; font-style: normal; letter-spacing: .18em; }
.orbit-label { position: absolute; z-index: 2; padding: 5px 8px; color: var(--acid); border: 1px solid #a8ff3e66; background: #020927aa; font-size: 8px; letter-spacing: .12em; animation: drift 6s ease-in-out infinite; }
.label-phone { right: 28%; top: 18%; transform: rotate(-8deg); }
.label-cross { right: 9%; top: 29%; transform: rotate(7deg); animation-delay: -2s; }
.label-beanie { right: 20%; bottom: 15%; transform: rotate(-4deg); animation-delay: -4s; }

.section-code { color: var(--acid); font-size: 9px; letter-spacing: .2em; }
.origin-section { position: relative; min-height: 100vh; padding: 10vw 7vw 11vw; border-top: 1px solid var(--line); background: radial-gradient(circle at 85% 20%, #103bd2 0, transparent 28%), #041040; }
.origin-section::before { content: ''; position: absolute; inset: 0; opacity: .12; background: linear-gradient(90deg, transparent 49.8%, var(--cyan) 50%, transparent 50.2%), repeating-linear-gradient(0deg, transparent 0 120px, var(--cyan) 121px); }
.origin-heading { position: relative; display: grid; grid-template-columns: .7fr 1.7fr; gap: 7vw; align-items: start; margin-top: 46px; }
.origin-heading > p { max-width: 320px; color: #9bd7f6; font-size: 10px; line-height: 1.8; letter-spacing: .12em; }
.origin-heading h2, .scanner-copy h2, .relic-intro h2, .flightpath-top h2, .catch-copy h2 { margin: 0; font-family: Arial Black, Impact, sans-serif; font-size: clamp(54px, 8.4vw, 132px); line-height: .8; letter-spacing: -.075em; }
.origin-heading h2 i, .scanner-copy h2 i, .relic-intro h2 i, .flightpath-top h2 i, .catch-copy h2 i { color: transparent; -webkit-text-stroke: 1.5px var(--cyan); font-style: normal; }
.story-console { position: relative; margin-top: 8vw; border: 1px solid var(--line); background: #020927b3; box-shadow: 18px 18px 0 #062791; }
.story-progress { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.story-progress button { padding: 15px 18px; color: #84b4dd; border-right: 1px solid var(--line); background: transparent; text-align: left; font-size: 9px; letter-spacing: .12em; }
.story-progress button:last-child { border-right: 0; }
.story-progress i { display: block; height: 2px; margin-top: 9px; background: #0b3c92; }
.story-progress button.active { color: var(--acid); }
.story-progress button.active i { background: var(--acid); box-shadow: 0 0 15px var(--acid); }
.story-viewport { overflow: hidden; }
.story-track { display: flex; transition: transform .65s cubic-bezier(.77,0,.18,1); }
.story-card { min-width: 100%; display: grid; grid-template-columns: .43fr 1.57fr; gap: 5vw; padding: 6vw; }
.story-number { color: transparent; -webkit-text-stroke: 1px #50dcff77; font-family: Arial Black, sans-serif; font-size: clamp(90px, 17vw, 250px); line-height: .65; }
.story-card p, .phase-card small, .classified small { color: var(--acid); font-size: 9px; letter-spacing: .2em; }
.story-card h3 { max-width: 760px; margin: 12px 0 24px; font-family: Arial Black, sans-serif; font-size: clamp(30px, 5vw, 70px); line-height: .92; letter-spacing: -.05em; }
.story-card blockquote { max-width: 760px; margin: 0 0 28px; color: #bbdef2; font-family: Arial, sans-serif; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.65; }
.story-card small { color: var(--cyan); font-size: 8px; letter-spacing: .13em; }
.story-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); }
.story-controls button { padding: 19px 24px; background: transparent; font-size: 9px; letter-spacing: .15em; text-align: left; }
.story-controls button:last-child { text-align: right; }
.story-controls span { color: var(--cyan); font-size: 9px; }

.scanner-section { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 100vh; padding: 10vw 7vw; gap: 7vw; align-items: center; background: #0728a8; border-top: 1px solid var(--cyan); }
.scanner-copy h2 { margin: 32px 0; font-size: clamp(50px, 7vw, 100px); }
.scanner-copy > p { max-width: 540px; color: #c2e9ff; font-family: Arial, sans-serif; font-size: 16px; line-height: 1.7; }
.live-readout { display: flex; align-items: center; gap: 22px; min-height: 48px; margin-top: 35px; padding: 12px 14px; border: 1px solid var(--line); color: #bce7ff; font-size: 9px; letter-spacing: .08em; }
.live-readout span { color: var(--acid); animation: flicker 1.3s infinite; }
.scanner-window { --scan-x: 50%; --scan-y: 50%; position: relative; aspect-ratio: 1 / 1; max-height: 720px; overflow: hidden; border: 1px solid var(--cyan); background: var(--deep); cursor: crosshair; box-shadow: 24px 24px 0 #03113d; }
.scanner-window img { display: block; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.08) saturate(.82) brightness(.75); }
.scanner-window .scan-layer { position: absolute; inset: 0; filter: contrast(1.5) saturate(1.5) brightness(1.42) hue-rotate(-8deg); mask-image: radial-gradient(circle 120px at var(--scan-x) var(--scan-y), #000 0 40%, transparent 68%); -webkit-mask-image: radial-gradient(circle 120px at var(--scan-x) var(--scan-y), #000 0 40%, transparent 68%); }
.scan-reticle { position: absolute; left: var(--scan-x); top: var(--scan-y); width: 238px; height: 238px; border: 1px solid var(--acid); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; box-shadow: 0 0 25px #a8ff3e44, inset 0 0 25px #a8ff3e2b; }
.scan-reticle::before, .scan-reticle::after { content: ''; position: absolute; background: var(--acid); }
.scan-reticle::before { width: calc(100% + 40px); height: 1px; left: -20px; top: 50%; }
.scan-reticle::after { width: 1px; height: calc(100% + 40px); top: -20px; left: 50%; }
.scan-reticle span { position: absolute; right: 12px; bottom: 28px; padding: 4px; color: var(--deep); background: var(--acid); font-size: 8px; }
.corner { position: absolute; width: 34px; height: 34px; border-color: var(--acid); }
.corner.tl { left: 15px; top: 15px; border-left: 2px solid; border-top: 2px solid; }.corner.tr { right: 15px; top: 15px; border-right: 2px solid; border-top: 2px solid; }.corner.bl { left: 15px; bottom: 15px; border-left: 2px solid; border-bottom: 2px solid; }.corner.br { right: 15px; bottom: 15px; border-right: 2px solid; border-bottom: 2px solid; }

.relic-section { min-height: 100vh; padding: 10vw 7vw; background: #020927; border-top: 1px solid var(--line); }
.relic-intro { display: grid; grid-template-columns: .55fr 1.45fr; gap: 4vw; align-items: end; }
.relic-intro h2 { font-size: clamp(58px, 9vw, 138px); }
.relic-stage { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5vw; margin-top: 7vw; }
.relic-display { position: relative; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; padding: 5vw; border: 1px solid var(--line); background: radial-gradient(circle at 50% 34%, #0d4aff 0, transparent 18%), repeating-radial-gradient(circle at 50% 35%, #50dcff18 0 1px, transparent 2px 33px), #061349; overflow: hidden; }
.relic-display::before { content: ''; position: absolute; inset: 20px; border: 1px dashed var(--line); }
.relic-glyph { position: absolute; left: 50%; top: 40%; color: var(--ink); font-family: Arial Black, sans-serif; font-size: clamp(120px, 20vw, 280px); line-height: 1; transform: translate(-50%, -50%); text-shadow: 0 0 18px var(--cyan), 11px 12px 0 #0823a0; animation: floatGlyph 4s ease-in-out infinite; }
.relic-display p, .relic-display h3, .relic-display blockquote { position: relative; z-index: 2; }
.relic-display p { color: var(--acid); font-size: 9px; letter-spacing: .2em; }
.relic-display h3 { margin: 6px 0; font-family: Arial Black, sans-serif; font-size: clamp(25px, 4vw, 50px); letter-spacing: -.04em; }
.relic-display blockquote { margin: 0; color: #bfe8fb; font-size: 11px; }
.relic-tabs { border-top: 1px solid var(--line); }
.relic-tabs button { width: 100%; display: grid; grid-template-columns: 62px 45px 1fr; align-items: center; padding: 19px 0; color: #91b8d6; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font-size: 11px; letter-spacing: .08em; transition: padding .25s, color .25s, background .25s; }
.relic-tabs button > span { color: var(--cyan); font-size: 32px; text-align: center; }
.relic-tabs button small { font-size: 8px; }
.relic-tabs button.active { padding-left: 18px; color: var(--deep); background: var(--acid); }
.relic-tabs button.active > span { color: var(--deep); }

.flightpath-section { min-height: 100vh; padding: 10vw 7vw 8vw; background: linear-gradient(160deg, #08219e, #020927 72%); border-top: 1px solid var(--cyan); }
.flightpath-top { display: grid; grid-template-columns: .45fr 1.3fr .4fr; gap: 4vw; align-items: end; }
.flightpath-top h2 { font-size: clamp(52px, 7.6vw, 118px); }
.flightpath-top > p { color: #9fcde8; font-size: 10px; line-height: 1.7; }
.flight-map { position: relative; height: min(580px, 62vw); min-height: 420px; margin-top: 4vw; border: 1px solid var(--line); background: repeating-linear-gradient(0deg, transparent 0 79px, #50dcff13 80px), repeating-linear-gradient(90deg, transparent 0 99px, #50dcff13 100px), #030d37; overflow: hidden; }
.flight-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-shadow, .route-line { fill: none; stroke-linecap: round; }
.route-shadow { stroke: #0828be; stroke-width: 16; }
.route-line { stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 10 9; filter: drop-shadow(0 0 8px var(--cyan)); animation: dash 18s linear infinite; }
.route-node { --x: 0; --y: 0; position: absolute; left: var(--x); top: var(--y); width: 64px; height: 64px; padding: 0; border: 1px solid var(--cyan); border-radius: 50%; background: #03124e; transform: translate(-50%, -50%); box-shadow: 0 0 0 8px #04103c, 0 0 0 9px var(--line); transition: transform .25s, background .25s; }
.route-node span { display: block; color: var(--cyan); font-size: 9px; }
.route-node b { position: absolute; top: 70px; left: 50%; transform: translateX(-50%); white-space: nowrap; color: var(--ink); font-size: 10px; letter-spacing: .11em; }
.route-node.active { background: var(--acid); color: var(--deep); transform: translate(-50%, -50%) scale(1.25); }
.route-node.active span { color: var(--deep); }
.phase-card { position: absolute; right: 4%; bottom: 5%; width: min(380px, 34%); padding: 24px; border: 1px solid var(--cyan); background: #031245e8; box-shadow: 10px 10px 0 #0827a2; }
.phase-card h3 { margin: 10px 0; font-family: Arial Black, sans-serif; font-size: 38px; letter-spacing: -.05em; }
.phase-card p { color: #bddff2; font-family: Arial, sans-serif; font-size: 13px; line-height: 1.55; }
.phase-card > span { display: block; margin-top: 18px; color: var(--cyan); font-size: 8px; letter-spacing: .11em; }

.catch-section { display: grid; grid-template-columns: .65fr 1.35fr; min-height: 100vh; gap: 5vw; align-items: center; padding: 10vw 7vw; background: #050e36; border-top: 1px solid var(--line); }
.catch-copy h2 { margin: 30px 0; font-size: clamp(55px, 8vw, 120px); }
.catch-copy > p { max-width: 430px; color: #a9cee2; font-family: Arial, sans-serif; line-height: 1.6; }
.catch-arena { position: relative; height: min(680px, 65vw); min-height: 520px; overflow: hidden; border: 1px solid var(--cyan); background: radial-gradient(circle at center, #0b37c5, transparent 42%), #020927; cursor: crosshair; box-shadow: 18px 18px 0 #0824a0; }
.arena-grid { position: absolute; inset: 0; opacity: .35; background: repeating-linear-gradient(0deg, transparent 0 39px, var(--cyan) 40px), repeating-linear-gradient(90deg, transparent 0 39px, var(--cyan) 40px); perspective: 500px; transform: scale(1.4) rotateX(55deg); }
.scoreboard { position: absolute; z-index: 2; left: 18px; top: 18px; display: flex; gap: 20px; align-items: center; padding: 10px 13px; border: 1px solid var(--line); background: #020927c7; font-size: 9px; letter-spacing: .13em; }
.scoreboard b { color: var(--acid); font-size: 20px; }
.glitch-target { position: absolute; width: 66px; height: 66px; color: var(--deep); border: 1px solid var(--ink); border-radius: 50%; background: var(--acid); transform: translate(-50%, -50%); box-shadow: 0 0 0 8px #a8ff3e22, 0 0 38px var(--acid); animation: targetPulse .7s steps(2) infinite; }
.glitch-target::before, .glitch-target::after { content: ''; position: absolute; width: 42px; height: 2px; left: 11px; top: 31px; background: var(--deep); }
.glitch-target::after { transform: rotate(90deg); }
.glitch-target span { font-size: 25px; }
.arena-message { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: var(--cyan); font-size: 8px; letter-spacing: .18em; white-space: nowrap; }
.classified { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; padding: 12%; text-align: center; background: #a8ff3ee8; color: var(--deep); animation: reveal .45s steps(4); }
.classified small { color: #092750; }
.classified h3 { max-width: 650px; margin: 18px 0 5px; font-family: Arial Black, sans-serif; font-size: clamp(35px, 6vw, 80px); line-height: .9; letter-spacing: -.06em; }
.classified p { font-size: 18px; }
.classified button { justify-self: center; margin-top: 25px; padding: 12px 16px; border: 1px solid var(--deep); background: transparent; font-size: 9px; letter-spacing: .12em; }

.manifesto-section { position: relative; min-height: 105vh; display: flex; flex-direction: column; justify-content: center; padding: 12vw 7vw; overflow: hidden; background: #0648ff; }
.manifesto-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 76% 50%, transparent 0 18%, #02092766 18.2%, transparent 18.5% 25%, #02092744 25.2%, transparent 25.5%), repeating-linear-gradient(-12deg, transparent 0 70px, #50dcff30 71px); }
.manifesto-fly { position: absolute; right: -6%; top: 4%; bottom: 4%; width: 64%; background: url('./flystonks-original.jpg') center / cover; mix-blend-mode: screen; opacity: .63; filter: contrast(1.4) saturate(.7); clip-path: polygon(18% 0,100% 0,100% 100%,0 100%); }
.manifesto-section > p, .manifesto-section h2, .manifesto-section h3, .manifesto-copy { position: relative; z-index: 2; }
.manifesto-section > p { color: var(--acid); font-size: 9px; letter-spacing: .25em; }
.manifesto-section h2 { max-width: 1100px; margin: 22px 0 0; font-family: Arial Black, sans-serif; font-size: clamp(60px, 10vw, 160px); line-height: .76; letter-spacing: -.08em; }
.manifesto-section h3 { align-self: flex-end; margin: 18px 4vw 40px 0; color: var(--acid); font-family: Arial Black, sans-serif; font-size: clamp(32px, 5vw, 76px); line-height: .9; transform: rotate(-3deg); }
.manifesto-copy { max-width: 550px; color: #d5eeff; font-family: Arial, sans-serif; font-size: 17px; line-height: 1.6; }

footer { position: relative; padding: 10vw 7vw 38px; border-top: 1px solid var(--cyan); background: radial-gradient(circle at 40% 0, #0b3adc, transparent 35%), #020927; }
.footer-title { display: flex; flex-direction: column; font-family: Arial Black, sans-serif; font-size: clamp(72px, 17vw, 240px); line-height: .66; letter-spacing: -.09em; }
.footer-title strong { align-self: center; color: transparent; -webkit-text-stroke: 2px var(--cyan); }
.footer-title i { align-self: flex-end; color: var(--acid); font-style: normal; }
.footer-actions { justify-content: center; margin: 9vw 0; }
.footer-meta { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); color: #75aace; font-size: 8px; letter-spacing: .12em; }
.footer-meta button { padding: 0; color: var(--cyan); background: transparent; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flicker { 0%, 100% { opacity: 1; } 48% { opacity: .35; } 52% { opacity: .8; } }
@keyframes breathe { from { transform: scale(1.02); filter: saturate(.9); } to { transform: scale(1.065); filter: saturate(1.2); } }
@keyframes float { 50% { transform: rotate(4deg) translateY(-15px); } }
@keyframes drift { 50% { margin-top: -9px; filter: drop-shadow(0 0 9px var(--acid)); } }
@keyframes floatGlyph { 50% { transform: translate(-50%, -54%) rotate(4deg); } }
@keyframes dash { to { stroke-dashoffset: -380; } }
@keyframes targetPulse { 50% { transform: translate(-50%, -50%) scale(1.1); filter: invert(1); } }
@keyframes reveal { from { clip-path: inset(50% 0); } to { clip-path: inset(0); } }

@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar nav { display: none; }
  .menu-button { display: inline-block; }
  .hero-copy { width: 80vw; }
  .scanner-section, .catch-section { grid-template-columns: 1fr; }
  .scanner-window { width: min(720px, 100%); justify-self: center; }
  .flightpath-top { grid-template-columns: 1fr; }
  .flightpath-top .section-code { margin-bottom: 20px; }
  .flightpath-top > p { max-width: 360px; }
  .relic-stage { grid-template-columns: .9fr 1.1fr; }
  .phase-card { width: 42%; }
}

@media (max-width: 700px) {
  .cursor-signal { display: none; }
  .topbar { height: 66px; padding-inline: 18px; }
  .sound-button { display: none; }
  .brand { font-size: 10px; }
  .ticker-strip { top: 66px; }
  .hero { min-height: 94svh; padding: 116px 22px 78px; align-items: end; }
  .hero-art { background-image: linear-gradient(0deg, #020927 0%, #02092744 57%, transparent 80%), linear-gradient(90deg, #02092755, transparent), url('./flystonks-world.jpg'); background-position: 61% center; opacity: .88; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(66px, 24vw, 110px); text-shadow: 4px 4px 0 #062fb5, 0 0 35px #1672ff; }
  .hero-lede br { display: none; }
  .hero-actions { gap: 11px; }
  .buy-button, .ghost-button { width: 100%; min-width: 0; }
  .hero-stamp, .side-tab, .orbit-label { display: none; }
  .scroll-cue { left: 22px; }
  .origin-section, .scanner-section, .relic-section, .flightpath-section, .catch-section { padding: 90px 22px; }
  .origin-heading, .relic-intro { grid-template-columns: 1fr; }
  .origin-heading h2, .scanner-copy h2, .relic-intro h2, .flightpath-top h2, .catch-copy h2 { font-size: clamp(48px, 16vw, 80px); }
  .story-console { margin-top: 65px; box-shadow: 8px 8px 0 #062791; }
  .story-progress button { padding: 12px 7px; }
  .story-card { grid-template-columns: 1fr; padding: 35px 20px 45px; }
  .story-number { font-size: 96px; }
  .story-card h3 { font-size: 34px; }
  .story-controls button { padding: 16px 10px; }
  .scanner-copy > p { font-size: 14px; }
  .scanner-window { box-shadow: 9px 9px 0 #03113d; }
  .scan-reticle { width: 150px; height: 150px; }
  .relic-stage { grid-template-columns: 1fr; }
  .relic-display { min-height: 430px; }
  .relic-tabs button { grid-template-columns: 54px 36px 1fr; font-size: 9px; }
  .flight-map { height: 660px; min-height: 660px; overflow: visible; margin-top: 60px; }
  .route-node { width: 48px; height: 48px; }
  .route-node b { top: 53px; font-size: 8px; }
  .phase-card { right: 14px; bottom: 18px; width: calc(100% - 28px); padding: 18px; }
  .phase-card h3 { font-size: 30px; }
  .catch-arena { height: 570px; min-height: 570px; box-shadow: 8px 8px 0 #0824a0; }
  .manifesto-section { min-height: 90vh; padding: 100px 22px; }
  .manifesto-fly { width: 100%; right: -35%; opacity: .3; }
  .manifesto-section h2 { font-size: clamp(50px, 17vw, 86px); }
  .manifesto-section h3 { font-size: 31px; }
  footer { padding: 90px 22px 28px; }
  .footer-title { font-size: clamp(68px, 23vw, 120px); }
  .footer-meta { flex-direction: column; align-items: flex-start; }
  .flight-menu { padding-inline: 24px; }
  .flight-menu > button:not(.menu-close) { font-size: 46px; }
}

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