:root {
    --black: #050505;
    --black-soft: #0b0b0b;
    --black-raised: #111111;
    --red: #e21b2b;
    --red-bright: #ff3042;
    --red-dark: #860712;
    --text: #f6f6f6;
    --muted: #a7a2a3;
    --line: rgba(255, 255, 255, .16);
    --red-line: rgba(226, 27, 43, .38);
    --max: 1240px;
    --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; overflow-x: hidden; background: var(--black); color: var(--text); font: 15px/1.6 Arial, Helvetica, sans-serif; }
body.lock { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 300; padding: 12px 16px; border-radius: var(--radius); background: var(--red); color: white; }
.skip-link:focus { top: 14px; }
.eyebrow { color: var(--red-bright); font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Shared buttons */
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 12px; padding: 13px 21px; border: 1px solid rgba(255,255,255,.55); border-radius: var(--radius); background: transparent; color: white; text-decoration: none; text-transform: uppercase; letter-spacing: .115em; font-size: .67rem; font-weight: 800; cursor: pointer; transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.button:hover { transform: translateY(-2px); border-color: var(--red); background: #171717; box-shadow: 0 14px 35px rgba(0,0,0,.45); }
.button-red { border-color: #f23a49; background: linear-gradient(135deg, var(--red-bright), #ae0718); box-shadow: 0 12px 30px rgba(226,27,43,.18); }
.button-red:hover { border-color: #ff5865; background: linear-gradient(135deg, #ff4050, #ce0a1e); }
.button-black { border-color: #181818; background: #050505; }
.button-black:hover { border-color: white; background: #121212; }
.button-wide { width: 100%; }
.text-link { display: inline-flex; gap: 9px; margin-top: 16px; padding-bottom: 5px; border-bottom: 1px solid var(--red); color: white; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 800; }

/* Header and navigation */
.site-header { position: fixed; inset: 0 0 auto; z-index: 80; padding: 12px 0; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(3,3,3,.9); box-shadow: 0 14px 45px rgba(0,0,0,.45); backdrop-filter: blur(16px); }
.site-nav { position: relative; z-index: 2; display: flex; height: 68px; align-items: center; gap: 24px; padding: 0 17px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; background: linear-gradient(105deg, rgba(8,8,8,.93), rgba(25,4,7,.88)); box-shadow: inset 0 1px rgba(255,255,255,.05), 0 12px 34px rgba(0,0,0,.18); }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 11px; color: white; text-decoration: none; font-size: .94rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.nav-links a { position: relative; padding: 12px 11px; border-radius: 5px; color: #d2d2d2; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: .64rem; font-weight: 800; transition: color .25s, background .25s; }
.nav-links a:hover, .nav-links a.active { color: white; background: rgba(226,27,43,.14); }
.nav-links a.active::after { content: ""; position: absolute; right: 11px; bottom: 6px; left: 11px; height: 2px; background: var(--red); }
.mobile-menu-heading { display: none; }
.nav-actions { display: flex; gap: 8px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.13); }
.nav-actions .button { padding-inline: 17px; }
.nav-actions .auth-current { border-color: var(--red-bright); box-shadow: 0 0 0 1px rgba(226,27,43,.22), 0 12px 30px rgba(226,27,43,.2); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 5px; background: #090909; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: white; transition: .25s; }
.nav-scrim { position: fixed; inset: 0; z-index: 1; visibility: hidden; border: 0; background: rgba(0,0,0,.7); opacity: 0; pointer-events: none; backdrop-filter: blur(5px); transition: opacity .25s, visibility .25s; }

/* Hero */
.hero { position: relative; display: flex; min-height: 100vh; align-items: flex-end; overflow: hidden; padding: 170px 0 76px; background: var(--black) var(--hero-image) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.46) 52%, rgba(0,0,0,.08) 78%), linear-gradient(0deg, #050505 0%, transparent 42%); }
.hero::after { content: ""; position: absolute; right: -10%; bottom: -35%; width: 55vw; height: 55vw; border-radius: 50%; background: radial-gradient(circle, rgba(226,27,43,.14), transparent 65%); }
.hero-noise { position: absolute; inset: 0; z-index: 1; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 78px 78px; mask-image: linear-gradient(90deg, black, transparent 75%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 60px; }
.hero-copy h1 { max-width: 850px; margin: 17px 0 27px; font-size: clamp(4rem, 8.8vw, 8.5rem); line-height: .8; letter-spacing: -.075em; text-transform: uppercase; }
.hero-copy h1 span { display: block; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.82); }
.hero-copy > p { max-width: 600px; margin: 0; color: #d0cacc; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 31px; }
.mission-card { width: min(100%, 360px); margin-left: auto; padding: 22px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; background: rgba(5,5,5,.68); box-shadow: 0 25px 60px rgba(0,0,0,.35); backdrop-filter: blur(12px); }
.mission-card dl { margin: 15px 0 0; }
.mission-card dl div { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-top: 1px solid var(--line); }
.mission-card dt { color: #aaa; }
.mission-card dd { margin: 0; font-weight: 700; text-align: right; }
.mission-card .live { color: var(--red-bright); text-transform: uppercase; }
.scroll-cue { position: absolute; z-index: 3; right: 22px; bottom: 45px; writing-mode: vertical-rl; color: #bbb; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; }
.hero-compact { min-height: 78vh; }
.hero-compact .hero-grid { grid-template-columns: 1fr auto; }
.hero-compact .hero-copy h1 { font-size: clamp(4rem, 8vw, 8rem); }
.page-index { align-self: end; color: transparent; -webkit-text-stroke: 1px rgba(226,27,43,.65); font-size: clamp(8rem, 18vw, 18rem); font-weight: 900; line-height: .7; }

/* Section system */
main > section { position: relative; padding: 110px 0; }
.section-black { background: linear-gradient(180deg, #050505, #100507 56%, #24070b); }
.section-grid { background-color: #060606; background-image: linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px); background-size: 74px 74px; }
.section-deep-red { background: linear-gradient(180deg, #050505, #1b0609 58%, #36080f); }
.section-black::after, .section-grid::after, .section-deep-red::after { content: "+"; position: absolute; top: 26px; right: 34px; color: var(--red); font-size: 2rem; font-weight: 200; }
.split-heading { display: grid; grid-template-columns: .55fr 1.45fr; gap: 80px; }
.split-heading h2, .section-heading h2, .contact-copy h2 { margin: 0; font-size: clamp(3rem, 5.8vw, 6.2rem); line-height: .92; letter-spacing: -.06em; text-transform: uppercase; }
.split-heading h2 em { color: var(--red); font-style: normal; }
.split-heading p, .section-heading > p { max-width: 670px; color: var(--muted); font-size: 1.08rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 50px; }
.section-heading > p { max-width: 410px; }

/* Statistics */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid var(--red-line); }
.stat { padding: 29px 24px 0 0; border-right: 1px solid var(--red-line); }
.stat strong { display: block; font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1; letter-spacing: -.06em; }
.stat span { display: block; margin-top: 10px; color: #aaa; font-size: .67rem; letter-spacing: .13em; text-transform: uppercase; }

/* Capabilities */
.capability-list { border-top: 1px solid var(--line); }
.capability { display: grid; grid-template-columns: 72px 1fr 1fr 42px; align-items: center; gap: 28px; padding: 30px 20px 30px 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: padding .3s, background .3s, border-color .3s; }
.capability:hover, .capability.active { padding-left: 18px; border-color: var(--red-line); background: linear-gradient(90deg, rgba(226,27,43,.14), transparent 78%); }
.cap-number { color: var(--red-bright); font: .75rem Consolas, monospace; }
.capability h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.5rem); letter-spacing: -.04em; }
.capability p { margin: 0; color: #9f9f9f; }
.cap-arrow { color: var(--red-bright); font-size: 1.5rem; }
.cap-detail { display: none; grid-column: 2 / 4; padding: 0 0 5px; color: #ddd; }
.capability.active .cap-detail { display: block; }

/* Projects */
.project-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.project-card { position: relative; min-height: 300px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #080808; }
.project-featured { grid-row: span 2; min-height: 616px; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .6s; }
.project-card:hover img { transform: scale(1.06); filter: saturate(.8) contrast(1.1); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.96), transparent 66%); }
.project-content { position: absolute; z-index: 2; right: 28px; bottom: 28px; left: 28px; }
.project-content h3 { margin: 6px 0; font-size: 2rem; }
.project-content p { max-width: 520px; margin: 0 0 17px; color: #c3c3c3; }
.project-card:not(.project-featured) .project-content p, .project-card:not(.project-featured) .button { display: none; }

/* Large cinematic launch sequence */
.launch-story { overflow: hidden; background: linear-gradient(180deg, #050505, #1a0509 38%, #050505); }
.launch-frame { position: relative; min-height: 600px; height: min(74vh, 760px); overflow: hidden; border: 1px solid var(--red-line); border-radius: 10px; background: black; box-shadow: 0 34px 90px black; }
.launch-image { position: absolute; inset: -5%; width: 110%; height: 110%; object-fit: cover; object-position: center 54%; transform: scale(1.03); filter: saturate(.8) contrast(1.1); transition: transform 1.3s, filter .6s; }
.launch-frame:hover .launch-image { transform: scale(1.075); filter: saturate(1) contrast(1.12); }
.launch-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,.3) 54%, transparent 77%), linear-gradient(0deg, rgba(0,0,0,.85), transparent 55%); pointer-events: none; }
.launch-scan { position: absolute; z-index: 2; inset: 0; transform: translateX(-105%); background: linear-gradient(90deg, transparent, rgba(226,27,43,.15) 44%, rgba(226,27,43,.6) 50%, rgba(226,27,43,.12) 56%, transparent); mix-blend-mode: screen; }
.launch-meta { position: absolute; z-index: 3; top: 28px; right: 30px; left: 30px; display: flex; justify-content: space-between; font-size: .64rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.launch-status { display: flex; align-items: center; gap: 8px; }
.launch-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 7px rgba(226,27,43,.15); }
.launch-copy { position: absolute; z-index: 3; bottom: clamp(76px, 10vw, 110px); left: clamp(24px, 5vw, 70px); }
.launch-copy h3 { margin: 8px 0 27px; font-size: clamp(3.2rem, 7vw, 7.5rem); line-height: .8; letter-spacing: -.07em; text-transform: uppercase; }
.play-icon { font-size: .72rem; }
.launch-readouts { position: absolute; z-index: 3; right: 28px; bottom: 28px; display: grid; grid-template-columns: repeat(3, auto); border: 1px solid rgba(255,255,255,.25); border-radius: 6px; overflow: hidden; background: rgba(5,5,5,.76); backdrop-filter: blur(10px); }
.launch-readouts span { padding: 12px 16px; border-left: 1px solid var(--line); color: #ccc; font: .62rem Consolas, monospace; text-transform: uppercase; }
.launch-readouts b { display: block; margin-top: 4px; color: var(--red-bright); font-size: .84rem; }
.launch-progress { position: absolute; z-index: 4; right: 0; bottom: 0; left: 0; height: 4px; background: #37070d; }
.launch-progress i { display: block; width: 0; height: 100%; background: var(--red); }
.launch-frame.playing .launch-image { animation: launchCinematic 6s cubic-bezier(.2,.65,.18,1) both; }
.launch-frame.playing .launch-scan { animation: launchScan 2.8s ease-in-out both; }
.launch-frame.playing .launch-progress i { animation: launchProgress 6s linear both; }
@keyframes launchCinematic { 0% { transform: scale(1.03) translate3d(0,2%,0); } 35% { transform: scale(1.09) translate3d(-1.5%,-1%,0); } 72% { transform: scale(1.17) translate3d(-3%,-5%,0); } 100% { transform: scale(1.21) translate3d(-4%,-8%,0); } }
@keyframes launchScan { from { transform: translateX(-105%); } to { transform: translateX(105%); } }
@keyframes launchProgress { to { width: 100%; } }

/* CTA and footer */
.contact-cta { text-align: center; background: linear-gradient(145deg, var(--red), #a20716 58%, #120204); }
.contact-cta h2 { margin: 10px 0 26px; font-size: clamp(3.5rem, 7vw, 7.5rem); line-height: .83; letter-spacing: -.07em; text-transform: uppercase; }
.contact-cta p { margin: 0 0 27px; color: #e3c7ca; }
.site-footer { padding: 70px 0 24px; background: #030303; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 45px; }
.footer-grid h3 { margin: 0 0 17px; color: #747474; font-size: .63rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-grid a:not(.brand), .footer-grid p { display: block; margin: 9px 0; color: #a9a9a9; text-decoration: none; font-size: .82rem; }
.footer-grid a:hover { color: var(--red-bright); }
.footer-grid .button { width: fit-content; margin-top: 18px; color: white; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 52px; padding-top: 19px; border-top: 1px solid var(--line); color: #656565; font-size: .69rem; }

/* Supporting page components */
.value-grid, .process-grid, .tech-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.value-grid article, .process-grid article, .tech-panels article { min-height: 310px; padding: 29px; border: 1px solid var(--red-line); border-radius: 8px; background: linear-gradient(145deg, #101010, #0b0506); transition: transform .3s, background .3s; }
.value-grid article:hover, .process-grid article:hover, .tech-panels article:hover { transform: translateY(-7px); background: linear-gradient(145deg, rgba(226,27,43,.35), #110506); }
.value-grid span, .process-grid b, .tech-panels span { color: var(--red-bright); font: .7rem Consolas, monospace; }
.value-grid h3, .process-grid h3, .tech-panels h3 { margin: 115px 0 10px; font-size: 1.7rem; }
.value-grid p, .process-grid p, .tech-panels p { color: #aaa; }
.process-grid { grid-template-columns: repeat(4, 1fr); }
.process-grid article { min-height: 350px; }
.tech-panels article b { display: block; margin-top: 22px; color: white; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.image-feature-grid { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 650px; align-items: stretch; }
.feature-photo { min-height: 580px; border-radius: 9px 0 0 9px; background: var(--feature-image) center/cover; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 55px; border: 1px solid var(--red-line); border-left: 0; border-radius: 0 9px 9px 0; background: linear-gradient(145deg, #180609, #070707); }
.feature-copy h2 { margin: 10px 0 19px; font-size: clamp(3rem, 5vw, 5.5rem); line-height: .9; letter-spacing: -.06em; text-transform: uppercase; }
.feature-copy p { color: #aaa; }
.feature-copy .button { align-self: flex-start; margin-top: 17px; }
.log-list { border-top: 1px solid var(--line); }
.log-list div { display: grid; grid-template-columns: 150px 1fr 90px; align-items: center; gap: 30px; padding: 25px 15px; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; }
.log-list div:hover { padding-left: 28px; background: linear-gradient(90deg, rgba(226,27,43,.16), transparent); }
.log-list time, .log-list span { color: var(--red-bright); font: .69rem Consolas, monospace; }
.log-list h3 { margin: 0; font-size: 1.4rem; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.contact-copy p { max-width: 450px; color: #aaa; }
.contact-copy dl { margin-top: 45px; }
.contact-copy dl div { padding: 18px 0; border-top: 1px solid var(--red-line); }
.contact-copy dt { color: #777; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }
.contact-copy dd { margin: 5px 0 0; }
.contact-copy a { text-decoration: none; }
.contact-form { padding: 42px; border: 1px solid var(--red-line); border-radius: 10px; background: linear-gradient(145deg, #111, #090506); box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: #c9c9c9; font-size: .65rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; padding: 15px; border: 1px solid #422329; border-radius: 6px; outline: none; background: #0b0b0b; color: white; resize: vertical; transition: border-color .25s, box-shadow .25s, background .25s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); background: #130608; box-shadow: 0 0 0 4px rgba(226,27,43,.14); }
.field small, .terms-error { display: block; min-height: 18px; margin-top: 4px; color: #ff6673; font-size: .72rem; }

/* Authentication */
.auth-page { position: relative; display: grid; min-height: 100vh; padding: 128px 20px 82px; place-items: center; overflow: hidden; background: radial-gradient(circle at 82% 18%, rgba(226,27,43,.3), transparent 34%), radial-gradient(circle at 10% 85%, rgba(112,0,12,.2), transparent 36%), #030303; }
.auth-page::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(226,27,43,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(226,27,43,.12) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent); pointer-events: none; }
.auth-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 75% 20%, rgba(226,27,43,.31), transparent 35%), rgba(0,0,0,.91); backdrop-filter: blur(16px); }
.auth-panel { display: grid; grid-template-columns: .78fr 1.22fr; width: min(940px, 100%); max-height: 94vh; overflow: auto; border: 1px solid rgba(226,27,43,.48); border-radius: 14px; background: #080808; box-shadow: 0 38px 120px black, 0 0 75px rgba(226,27,43,.12); animation: panelIn .35s ease both; }
.auth-panel-page { position: relative; z-index: 1; width: min(1080px, 100%); max-height: none; overflow: visible; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.auth-visual { position: relative; display: flex; min-height: 640px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 38px; background: linear-gradient(180deg, rgba(122,5,16,.45), rgba(0,0,0,.88)), var(--auth-image) center/cover; }
.auth-visual::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.auth-visual > * { position: relative; z-index: 1; }
.auth-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.auth-brand img { width: 34px; }
.auth-visual h2 { margin: 12px 0; font-size: 3.6rem; line-height: .86; letter-spacing: -.06em; text-transform: uppercase; }
.auth-visual h2 em { color: var(--red-bright); font-style: normal; }
.auth-visual p { max-width: 390px; margin-top: 22px; color: #bababa; line-height: 1.7; }
.auth-visual small { color: #aaa; letter-spacing: .12em; text-transform: uppercase; }
.auth-content { position: relative; padding: 48px; }
.auth-close { position: absolute; top: 17px; right: 17px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: white; font-size: 1.5rem; line-height: 1; text-decoration: none; cursor: pointer; transition: background .25s, transform .25s; }
.auth-close:hover { background: var(--red); transform: rotate(90deg); }
.auth-view h1, .auth-view h2, .auth-success h1, .auth-success h2 { margin: 13px 0 5px; font-size: 2.8rem; line-height: 1; letter-spacing: -.055em; }
.auth-view > p, .auth-success > p { color: #999; }
.auth-view form { margin-top: 26px; }
.form-options { display: flex; justify-content: space-between; gap: 20px; margin: 10px 0 21px; font-size: .8rem; }
.form-options a, .auth-switch a, .auth-switch button { color: var(--red-bright); }
.terms { display: flex; align-items: center; gap: 9px; margin: 4px 0; color: #bbb; font-size: .82rem; }
.auth-switch { text-align: center; font-size: .82rem; }
.auth-switch a { font-weight: 700; text-underline-offset: 3px; }
.auth-switch button { padding: 0; border: 0; background: none; text-decoration: underline; cursor: pointer; }
.form-alert { padding: 12px; border: 1px solid var(--red); border-radius: 5px; background: rgba(226,27,43,.12); color: #ffbec4; }
.auth-success { padding-top: 90px; text-align: center; }
.success-mark { display: grid; width: 72px; height: 72px; margin: 0 auto 26px; place-items: center; border-radius: 8px; background: var(--red); font-size: 2rem; }
.auth-success .button { margin-top: 15px; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 24px; max-width: min(520px, calc(100% - 30px)); padding: 14px 20px; border: 1px solid var(--red); border-radius: 6px; background: #0a0a0a; color: white; box-shadow: 0 18px 50px black; opacity: 0; transform: translate(-50%, 100px); transition: .3s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1050px) {
    .site-header { padding: 8px 0; }
    .site-nav { height: 62px; }
    .menu-toggle { display: block; margin-left: auto; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .nav-links { position: fixed; top: 82px; right: 24px; left: 24px; display: flex; max-height: calc(100vh - 106px); flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; padding: 17px; border: 1px solid var(--red-line); border-radius: 10px; background: linear-gradient(145deg, rgba(14,14,14,.99), rgba(25,3,7,.99)); box-shadow: 0 28px 80px black, inset 0 1px rgba(255,255,255,.06); opacity: 0; visibility: hidden; transform: translateY(-12px) scale(.985); transform-origin: top; pointer-events: none; transition: opacity .24s, visibility .24s, transform .24s; }
    .nav-links.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
    .mobile-menu-heading { display: flex; align-items: center; justify-content: space-between; padding: 3px 10px 13px; border-bottom: 1px solid var(--line); color: var(--red-bright); font-size: .65rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
    .mobile-menu-heading small { color: #777; font-size: .55rem; }
    .nav-links > a { padding: 14px 11px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; font-size: .75rem; }
    .nav-links > a:hover, .nav-links > a.active { padding-left: 17px; background: linear-gradient(90deg, rgba(226,27,43,.16), transparent); }
    .nav-links a.active::after { display: none; }
    .nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); border-left: 0; }
    .nav-actions .button { min-height: 46px; padding: 11px 14px; }
    .nav-actions .button-red { background: linear-gradient(135deg, var(--red-bright), #ae0718); }
    .site-header.menu-open .nav-scrim { visibility: visible; opacity: 1; pointer-events: auto; }
    .hero-grid, .split-heading, .contact-layout { grid-template-columns: 1fr; }
    .mission-card { margin: 35px 0 0; }
    .page-index { display: none; }
    .project-grid { grid-template-columns: 1fr 1fr; }
    .project-featured { grid-column: 1 / -1; grid-row: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .image-feature-grid { grid-template-columns: 1fr; }
    .feature-photo { border-radius: 9px 9px 0 0; }
    .feature-copy { border-top: 0; border-left: 1px solid var(--red-line); border-radius: 0 0 9px 9px; }
}

@media (max-width: 700px) {
    .container { width: min(var(--max), calc(100% - 28px)); }
    body.menu-open { overflow: hidden; }
    .site-header { padding: 9px 0; }
    .site-nav { height: 62px; padding: 0 12px 0 15px; border-radius: 8px; }
    .brand span { font-size: .78rem; }
    .brand img { width: 31px; height: 31px; }
    .nav-actions { display: grid; }
    .menu-toggle { width: 42px; height: 42px; margin-left: auto; }
    .nav-links { top: 82px; right: 14px; left: 14px; padding: 14px; border-radius: 8px; }
    .nav-links > a { min-height: 48px; display: flex; align-items: center; }
    .nav-actions { margin-top: 12px; }
    .nav-actions .button { min-height: 46px; border-radius: 6px; }
    .hero { min-height: 900px; padding: 135px 0 65px; background-position: 63% center; }
    .hero-compact { min-height: 760px; }
    .hero-copy h1, .hero-compact .hero-copy h1 { font-size: 4rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .scroll-cue { display: none; }
    main > section { padding: 76px 0; }
    .split-heading { gap: 30px; }
    .section-heading { display: block; }
    .stats { grid-template-columns: 1fr 1fr; gap: 25px 0; }
    .stat strong { font-size: 2.8rem; }
    .capability { grid-template-columns: 45px 1fr 35px; gap: 14px; }
    .capability p { display: none; }
    .cap-detail { grid-column: 2 / 4; }
    .project-grid { grid-template-columns: 1fr; }
    .project-featured { min-height: 470px; }
    .project-card { min-height: 360px; }
    .project-card:not(.project-featured) .project-content p { display: block; }
    .launch-frame { min-height: 650px; height: 76vh; }
    .launch-copy { bottom: 125px; }
    .launch-copy h3 { font-size: 3.6rem; }
    .launch-readouts { right: 17px; bottom: 20px; left: 17px; }
    .launch-readouts span { padding: 10px; font-size: .56rem; }
    .launch-meta { right: 17px; left: 17px; }
    .launch-status { font-size: 0; }
    .launch-status::after { content: "LIVE"; font-size: .62rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { display: block; }
    .value-grid, .process-grid, .tech-panels { grid-template-columns: 1fr; }
    .value-grid article, .process-grid article, .tech-panels article { min-height: 250px; }
    .value-grid h3, .process-grid h3, .tech-panels h3 { margin-top: 70px; }
    .log-list div { grid-template-columns: 80px 1fr; }
    .log-list div span { display: none; }
    .field-grid { grid-template-columns: 1fr; gap: 0; }
    .contact-form { padding: 25px 20px; }
    .auth-panel { grid-template-columns: 1fr; }
    .auth-visual { display: none; }
    .auth-content { padding: 56px 22px 28px; }
    .auth-page { padding: 102px 14px 60px; }
    .auth-view h1, .auth-view h2, .auth-success h1, .auth-success h2 { font-size: 2.35rem; }
}

@media (max-width: 370px) {
    .nav-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .launch-play { display: none; }
}
