:root {
  --black: #080706;
  --paper: #e9e4da;
  --mars: #e54b24;
  --ember: #ff6a36;
  --cyan: #a9e9df;
  --line: rgba(233, 228, 218, .18);
  --mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; overflow-x: hidden; background: var(--black); color: var(--paper); font-family: "Space Grotesk", "Noto Sans SC", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--mars); color: white; }
.mono { font-family: var(--mono); }

.grain { position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .065; 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='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.boot-screen { position: fixed; inset: 0; z-index: 100; background: var(--black); display: flex; align-items: center; justify-content: center; flex-direction: column; transition: opacity .7s .15s, visibility .7s .15s; }
.boot-screen.done { opacity: 0; visibility: hidden; }
.boot-mark { font: 300 52px "Space Grotesk"; letter-spacing: -.08em; }.boot-mark span { color: var(--mars); }
.boot-screen p { font: 9px var(--mono); letter-spacing: .2em; opacity: .5; margin: 20px 0; }
.boot-track { width: 180px; height: 1px; background: #2b2825; }.boot-track i { display: block; width: 0; height: 100%; background: var(--mars); animation: boot 1.5s cubic-bezier(.2,.75,.2,1) forwards; }
.cursor { position: fixed; top: 0; left: 0; width: 32px; height: 32px; margin: -16px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; z-index: 90; pointer-events: none; transition: width .2s, height .2s, margin .2s, border-color .2s; will-change: transform; }
.cursor i:first-child { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--mars); top: 13px; left: 13px; }.cursor i:last-child { display: none; }
.cursor.hover { width: 54px; height: 54px; margin: -27px; border-color: var(--mars); }

.nav { position: absolute; z-index: 60; top: 0; left: 0; width: 100%; padding: 24px 38px; display: flex; align-items: center; justify-content: space-between; font: 10px var(--mono); letter-spacing: .1em; }
.wordmark { display: flex; align-items: center; gap: 10px; font-weight: 500; }.wordmark-icon { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid currentColor; border-radius: 50%; font: italic 16px serif; }.wordmark i { font-style: normal; opacity: .38; font-weight: 300; }
.nav-signal { display: flex; align-items: center; gap: 10px; opacity: .66; }.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2s infinite; }.nav-separator { opacity: .3; }
.menu-trigger { display: grid; grid-template-columns: auto 22px; gap: 3px 12px; align-items: center; padding: 8px; border: 0; background: none; cursor: pointer; font: 10px var(--mono); letter-spacing: .1em; }.menu-trigger span { grid-row: 1 / 3; }.menu-trigger i { width: 22px; height: 1px; display: block; background: currentColor; transition: transform .35s, width .35s; }.menu-trigger i:last-child { width: 13px; justify-self: end; }

.hero { min-height: 100svh; height: max(760px, 100svh); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 120px 5vw 38px; background: #060504; }
.hero-image { position: absolute; inset: -4%; background: url("assets/mars-horizon.png") center / cover no-repeat; transform: scale(1.045); animation: heroDrift 18s ease-out both; will-change: transform; }
#starfield { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .65; }
.hero-vignette { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.54), transparent 48%), linear-gradient(0deg, rgba(8,7,6,.7), transparent 25%), radial-gradient(circle at center, transparent 35%, rgba(0,0,0,.28)); }
.hud-grid { position: absolute; inset: 80px 5vw 30px; opacity: .16; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-size: 25% 25%; mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent); }
.hero-status { z-index: 3; display: flex; gap: 35px; font-size: 9px; letter-spacing: .13em; }.hero-status b { color: var(--cyan); font-weight: 400; }
.hero-copy { position: relative; z-index: 2; margin-top: auto; margin-bottom: auto; padding-top: 3vh; }.kicker { font-size: 13px; font-weight: 300; letter-spacing: .35em; margin: 0 0 22px 6px; }
.hero h1 { margin: 0; max-width: 970px; font-size: clamp(78px, 11.7vw, 188px); font-weight: 400; line-height: .72; letter-spacing: -.075em; }
.hero-line { display: block; overflow: hidden; padding: .07em 0; }.hero-line > span { display: block; transform: translateY(110%); animation: lineIn 1.15s cubic-bezier(.2,.75,.2,1) forwards 1.3s; }.hero-line:nth-child(2) > span { animation-delay: 1.42s; }.hero-line:nth-child(3) > span { animation-delay: 1.54s; }
.hero-line.outline { padding-left: 8vw; color: transparent; -webkit-text-stroke: 1px rgba(233,228,218,.68); }.hero-line.last { padding-left: 2vw; }.hero-line i { color: var(--mars); font-style: normal; -webkit-text-stroke: 0; }
.planet-id { position: absolute; z-index: 2; top: 21%; right: 4%; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 8px; letter-spacing: .16em; opacity: .6; }.planet-id i { width: 1px; height: 70px; background: linear-gradient(var(--paper), transparent); }
.target { position: absolute; z-index: 3; right: 25.3%; bottom: 18.4%; width: 90px; height: 90px; }.target-ring { position: absolute; inset: 0; border: 1px solid rgba(169,233,223,.5); border-radius: 50%; animation: target 2.4s ease-out infinite; }.target > i { position: absolute; top: 42px; left: 42px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 13px var(--cyan); }.target p { position: absolute; width: 120px; left: 105px; top: 27px; margin: 0; font: 7px/1.8 var(--mono); letter-spacing: .12em; white-space: nowrap; opacity: .65; }.target p b { color: var(--cyan); }
.telemetry { position: absolute; z-index: 3; right: 4%; top: 34%; width: 220px; padding: 16px; border: 1px solid rgba(233,228,218,.18); background: rgba(8,7,6,.32); backdrop-filter: blur(7px); }.telemetry-head { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: .14em; padding-bottom: 12px; border-bottom: 1px solid var(--line); }.telemetry-head i { width: 5px; height: 5px; border-radius: 50%; background: var(--mars); box-shadow: 0 0 8px var(--mars); }.telemetry dl { margin: 10px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }.telemetry dl div { display: flex; flex-direction: column; gap: 3px; }.telemetry dt { font: 7px var(--mono); letter-spacing: .14em; opacity: .42; }.telemetry dd { margin: 0; font: 11px var(--mono); }
.signal-wave { display: flex; align-items: end; gap: 3px; height: 20px; opacity: .7; }.signal-wave i { flex: 1; height: 30%; background: var(--cyan); animation: wave 1.2s ease-in-out infinite alternate; }.signal-wave i:nth-child(3n) { animation-delay: -.4s; }.signal-wave i:nth-child(2n) { animation-delay: -.8s; }
.hero-footer { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; }.hero-footer > p { margin: 0; font-size: 11px; line-height: 1.8; font-weight: 300; opacity: .7; }.hero-footer p b { font-weight: 400; color: var(--paper); }
.mission-button { display: flex; align-items: center; justify-content: space-between; gap: 30px; width: 205px; height: 54px; padding: 0 20px; border: 1px solid rgba(233,228,218,.35); background: rgba(8,7,6,.2); backdrop-filter: blur(5px); font: 8px var(--mono); letter-spacing: .13em; transition: background .3s, border-color .3s; }.mission-button:hover { background: var(--mars); border-color: var(--mars); }.mission-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.scroll-cue { justify-self: end; display: flex; align-items: center; gap: 12px; font-size: 7px; letter-spacing: .13em; opacity: .5; }.scroll-cue i { width: 40px; height: 1px; background: var(--paper); position: relative; overflow: hidden; }.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--mars); animation: scan 2.2s ease-in-out infinite; }

.transmission { overflow: hidden; padding: 15px 0; border-block: 1px solid rgba(229,75,36,.5); color: var(--mars); }.transmission-track { display: flex; width: max-content; align-items: center; gap: 32px; font-size: 8px; letter-spacing: .15em; animation: ticker 25s linear infinite; }.transmission-track i { font-size: 6px; }
.section { padding: 140px 5vw; }.section-label { display: grid; grid-template-columns: 32px minmax(50px,120px) auto; align-items: center; gap: 14px; font-size: 8px; letter-spacing: .15em; opacity: .55; }.section-label i { display: block; height: 1px; background: currentColor; }
.briefing { min-height: 100vh; display: grid; grid-template-columns: 1fr 4fr; align-content: center; gap: 85px 30px; }.briefing-copy { grid-column: 2; }.briefing-copy p { margin: 0; font-size: clamp(42px, 6.2vw, 99px); font-weight: 300; line-height: 1.05; letter-spacing: -.06em; }.briefing-copy .dim { color: #514842; }.briefing-copy .ember { color: var(--mars); }
.briefing-meta { grid-column: 2; display: flex; justify-content: space-between; align-items: center; padding-top: 42px; border-top: 1px solid var(--line); }.briefing-meta > p { max-width: 500px; margin: 0; font-size: 12px; font-weight: 300; line-height: 2; opacity: .55; }.mission-stamp { width: 112px; height: 112px; border: 1px solid rgba(229,75,36,.5); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; color: var(--mars); transform: rotate(-8deg); }.mission-stamp span { font-size: 6px; letter-spacing: .15em; }.mission-stamp b { font: 28px "Space Grotesk"; }
.data-section { background: #d8d1c5; color: #15110e; }.data-section .section-label { margin-bottom: 50px; }.data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }.data-card { min-height: 590px; position: relative; overflow: hidden; padding: 24px; background: #e9e4da; display: flex; flex-direction: column; }.data-card.red { background: #d94a27; color: #fff2e9; }.data-card.image-card { background: #18120f; color: var(--paper); }
.card-index { font-size: 8px; letter-spacing: .15em; opacity: .55; }.data-card strong { margin-top: auto; position: relative; z-index: 2; font-size: clamp(60px, 7vw, 112px); font-weight: 300; letter-spacing: -.08em; line-height: .8; }.data-card strong sup { font: 12px var(--mono); letter-spacing: 0; margin-left: 6px; }.data-card p { position: relative; z-index: 2; margin: 30px 0 0; padding-top: 20px; border-top: 1px solid currentColor; font-size: 11px; line-height: 1.8; opacity: .65; }
.gravity-visual { position: absolute; inset: 8% 0 30%; display: grid; place-items: center; }.gravity-visual i { position: absolute; border: 1px solid rgba(21,17,14,.18); border-radius: 50%; }.gravity-visual i:first-child { width: 58%; aspect-ratio: 1; }.gravity-visual i:nth-child(2) { width: 36%; aspect-ratio: 1; }.gravity-visual i:last-child { width: 14%; aspect-ratio: 1; background: var(--mars); border: 0; box-shadow: 0 18px 30px rgba(0,0,0,.2); animation: float 4s ease-in-out infinite; }
.orbit-visual { position: absolute; inset: 4% -20% 26%; display: grid; place-items: center; }.orbit-visual i { width: 72%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }.orbit-visual b { position: absolute; width: 40%; aspect-ratio: 1; background: #1a120f; border-radius: 50%; }.orbit-visual span { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); top: 17%; left: 31%; box-shadow: 0 0 20px var(--cyan); }
.mountain-lines { position: absolute; inset: 10% -15% 26%; display: flex; flex-direction: column; justify-content: center; gap: 16px; transform: rotate(-10deg); }.mountain-lines i { height: 45px; border-top: 1px solid rgba(229,75,36,.45); border-radius: 50%; transform: skewX(-25deg); }.mountain-lines i:nth-child(2) { margin-inline: 8%; }.mountain-lines i:nth-child(3) { margin-inline: 16%; }.mountain-lines i:nth-child(4) { margin-inline: 24%; }.mountain-lines i:nth-child(5) { margin-inline: 32%; }

.surface { height: 110vh; min-height: 800px; position: relative; overflow: hidden; padding: 65px 5vw; }.surface-image { position: absolute; inset: -12%; background: url("assets/mars-horizon.png") 70% 75% / 145% auto no-repeat; filter: saturate(.7) contrast(1.12) brightness(.72); will-change: transform; }.surface-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,7,6,.94) 0%, rgba(8,7,6,.55) 40%, transparent 70%), linear-gradient(0deg, var(--black), transparent 30%, transparent 75%, var(--black)); }.surface-top { position: relative; z-index: 2; }.surface-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }.surface-copy > p { margin: 0 0 22px; font-size: 8px; letter-spacing: .16em; color: var(--mars); }.surface-copy h2 { margin: 0; font-size: clamp(72px, 11vw, 176px); font-weight: 300; line-height: .82; letter-spacing: -.075em; }.surface-copy h2 span { color: transparent; -webkit-text-stroke: 1px rgba(233,228,218,.55); }.surface-note { margin-top: 65px; padding-left: 25%; display: flex; gap: 55px; align-items: flex-start; }.surface-note .coordinate { color: var(--cyan); font-size: 8px; letter-spacing: .15em; }.surface-note p { margin: 0; font-size: 11px; line-height: 1.9; opacity: .55; }.scan-line { position: absolute; z-index: 4; top: 0; bottom: 0; left: 70%; width: 1px; background: linear-gradient(transparent, var(--mars), transparent); box-shadow: 0 0 20px var(--mars); opacity: .5; animation: surfaceScan 8s ease-in-out infinite; }
.timeline { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }.timeline-title { margin: 80px 0 110px; font-size: clamp(74px, 12vw, 190px); font-weight: 300; letter-spacing: -.075em; line-height: .78; }.timeline-title span { color: var(--mars); }.timeline-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }.timeline-step { position: relative; padding: 40px 28px 0 0; }.timeline-step > i { position: absolute; width: 9px; height: 9px; top: -5px; left: 0; border-radius: 50%; background: var(--black); border: 1px solid var(--mars); box-shadow: 0 0 0 5px var(--black); }.timeline-step > span { font-size: 8px; letter-spacing: .13em; color: var(--mars); }.timeline-step h3 { margin: 35px 0 15px; font-size: 27px; font-weight: 400; }.timeline-step p { max-width: 180px; margin: 0; font-size: 11px; line-height: 1.8; opacity: .45; }
.final-call { min-height: 95vh; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-top: 1px solid var(--line); }.final-call > p { font-size: 8px; letter-spacing: .2em; opacity: .55; }.final-call h2 { margin: 30px 0 55px; font-size: clamp(68px, 10vw, 160px); line-height: .84; letter-spacing: -.075em; font-weight: 300; }.final-call h2 span { color: var(--mars); }.launch-link { width: 210px; height: 58px; border: 1px solid var(--mars); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; color: var(--mars); font: 8px var(--mono); letter-spacing: .13em; transition: background .3s, color .3s; }.launch-link:hover { background: var(--mars); color: white; }.launch-link i { font-style: normal; font-size: 18px; }.mars-disc { position: absolute; z-index: -1; width: min(72vw, 900px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #d24a29, #4d1710 55%, #120805 72%); box-shadow: 0 0 100px rgba(229,75,36,.2); opacity: .36; }.mars-disc::after { content: ""; position: absolute; inset: 10%; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }.mars-disc i { position: absolute; width: 12%; aspect-ratio: 1; border-radius: 50%; background: rgba(0,0,0,.35); top: 22%; right: 25%; box-shadow: -60px 100px 0 20px rgba(0,0,0,.18); }
.footer { min-height: 150px; display: grid; grid-template-columns: .8fr .8fr 1.4fr; align-items: end; gap: 30px; padding: 38px; border-top: 1px solid var(--line); font-size: 8px; letter-spacing: .1em; }.footer-location { display: flex; gap: 16px; opacity: .5; }.footer-legal { text-align: right; justify-self: end; opacity: .48; }.footer-legal p { margin: 7px 0; }.footer-legal p:last-child { display: flex; justify-content: flex-end; gap: 18px; }.footer-legal a:hover { color: var(--mars); }

.menu-overlay { position: fixed; inset: 0; z-index: 50; background: var(--mars); color: #140a06; padding: 110px 8vw 40px; display: flex; flex-direction: column; justify-content: center; clip-path: inset(0 0 100% 0); transition: clip-path .7s cubic-bezier(.76,0,.24,1); }.menu-overlay.open { clip-path: inset(0); }.menu-overlay > p { position: absolute; top: 90px; font-size: 8px; letter-spacing: .15em; }.menu-overlay nav { display: flex; flex-direction: column; }.menu-overlay nav a { display: flex; align-items: baseline; gap: 20px; border-bottom: 1px solid rgba(20,10,6,.24); font-size: clamp(52px, 9vw, 130px); letter-spacing: -.065em; line-height: 1.05; transition: padding-left .25s; }.menu-overlay nav a:hover { padding-left: 25px; }.menu-overlay nav span { font: 8px var(--mono); letter-spacing: .1em; }.menu-meta { position: absolute; bottom: 35px; left: 8vw; right: 8vw; display: flex; justify-content: space-between; font-size: 8px; letter-spacing: .15em; }.menu-open .menu-trigger { color: #140a06; }.menu-open .menu-trigger i:first-of-type { transform: translateY(2px) rotate(45deg); }.menu-open .menu-trigger i:last-child { width: 22px; transform: translateY(-2px) rotate(-45deg); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .85s, transform .85s; }.reveal.visible { opacity: 1; transform: none; }.reveal-text { clip-path: inset(0 0 100% 0); transform: translateY(25px); transition: clip-path 1.05s cubic-bezier(.2,.75,.2,1), transform 1.05s cubic-bezier(.2,.75,.2,1); }.reveal-text.visible { clip-path: inset(0); transform: none; }
.preview-mode .boot-screen { display: none; }.preview-mode .hero-line > span { animation: none; transform: none; }.preview-mode .reveal { opacity: 1; transform: none; }.preview-mode .reveal-text { clip-path: none; transform: none; }

@keyframes boot { to { width: 100%; } } @keyframes lineIn { to { transform: none; } } @keyframes heroDrift { from { transform: scale(1.12); } to { transform: scale(1.045); } } @keyframes pulse { 50% { opacity: .25; } } @keyframes target { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.25); opacity: 0; } } @keyframes wave { to { height: 100%; } } @keyframes ticker { to { transform: translateX(-50%); } } @keyframes scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } @keyframes float { 50% { transform: translateY(-15px); } } @keyframes surfaceScan { 0%,100% { transform: translateX(-25vw); opacity: 0; } 50% { transform: translateX(25vw); opacity: .55; } }

@media (max-width: 900px) {
  .cursor { display: none; }.nav { padding: 20px; width: 100vw; }.wordmark i, .nav-signal { display: none; }.menu-trigger { position: fixed; z-index: 70; right: 12px; top: 13px; color: var(--paper); }
  .hero { min-height: 820px; height: 100svh; padding: 105px 20px 28px; }.hero-image { inset: 0; background-position: 61% center; }.hero-vignette { background: linear-gradient(90deg, rgba(0,0,0,.5), transparent), linear-gradient(0deg, rgba(8,7,6,.8), transparent 40%); }.hud-grid { inset: 80px 20px 25px; }
  .hero-status { justify-content: space-between; font-size: 7px; }.hero-copy { margin-top: 20vh; margin-bottom: auto; }.kicker { font-size: 10px; letter-spacing: .25em; }.hero h1 { font-size: clamp(70px, 23vw, 125px); line-height: .78; }.hero-line.outline, .hero-line.last { padding-left: 0; }.telemetry, .planet-id { display: none; }.target { right: 8%; bottom: 28%; transform: scale(.7); }.target p { display: none; }
  .hero-footer { grid-template-columns: 1fr auto; }.hero-footer > p { font-size: 9px; }.mission-button { width: 54px; padding: 0; justify-content: center; border-radius: 50%; }.mission-button span { display: none; }.scroll-cue { display: none; }
  .section { padding: 100px 20px; }.briefing { display: block; min-height: auto; }.briefing-copy { margin: 85px 0; }.briefing-copy p { font-size: 11vw; }.briefing-meta { display: block; }.mission-stamp { margin: 45px 0 0 auto; }
  .data-grid { grid-template-columns: 1fr; }.data-card { min-height: 540px; }.surface { height: 900px; padding: 50px 20px; }.surface-image { inset: 0; background-size: cover; background-position: 66% center; }.surface-copy h2 { font-size: 18vw; }.surface-note { padding-left: 0; gap: 25px; flex-direction: column; }
  .timeline-title { margin: 70px 0 80px; font-size: 18vw; }.timeline-track { grid-template-columns: 1fr; border: 0; border-left: 1px solid var(--line); margin-left: 5px; }.timeline-step { padding: 0 0 70px 35px; }.timeline-step > i { top: 5px; left: -5px; }
  .final-call { min-height: 800px; }.final-call h2 { font-size: 18vw; }.mars-disc { width: 130vw; }
  .footer { grid-template-columns: 1fr 1fr; padding: 30px 20px; }.footer-location { justify-self: end; }.footer-legal { grid-column: 1 / -1; justify-self: start; text-align: left; margin-top: 30px; }.footer-legal p:last-child { justify-content: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }.reveal,.reveal-text { opacity: 1; transform: none; clip-path: none; } }
