/* FILE: public_html/assets/css/style.css */

/* ==========================================================================
   Blue Organ — Built for no reason. Sent anyway.
   Mobile-first. No framework. Way too much effort.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --bg: #03050c;
    --bg-2: #070b1a;
    --panel: #0a1128;
    --ink: #eef3ff;
    --ink-dim: #aebbdb;
    --ink-faint: #7f8db0;
    --blue: #2f7bff;
    --blue-hi: #8cbcff;
    --blue-deep: #0c2a8c;
    --orange: #ff8a1f;
    --orange-hi: #ffc15c;
    --red: #ff4d3a;
    --line: rgba(140, 188, 255, 0.18);
    --line-strong: rgba(140, 188, 255, 0.38);

    --font-display: "Bungee", "Arial Black", Impact, system-ui, sans-serif;
    --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --radius: 18px;
    --gutter: clamp(16px, 4vw, 40px);
    --max: 1180px;
    --header-h: 60px;

    color-scheme: dark;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

img,
svg,
picture {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

a {
    color: var(--blue-hi);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--ink);
}

button {
    font: inherit;
}

:focus-visible {
    outline: 3px solid var(--orange-hi);
    outline-offset: 3px;
    border-radius: 6px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--orange);
    color: #1a0b00;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.muted {
    color: var(--ink-faint);
}

.accent {
    color: var(--orange);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-hi);
}

.footnote {
    margin-top: 22px;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--ink-faint);
}

h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 7vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: 0.01em;
}

/* ---------- Starfield (fixed, behind everything) ---------- */
.sky {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(1200px 700px at 80% -10%, rgba(47, 123, 255, 0.16), transparent 60%),
        radial-gradient(900px 600px at -10% 110%, rgba(255, 138, 31, 0.07), transparent 60%),
        var(--bg);
    pointer-events: none;
}

.sky__layer {
    position: absolute;
    inset: 0 0 auto 0;
    height: 200%;
    will-change: transform;
}

.sky__layer--far {
    background-image:
        radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 140px 90px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 230px 170px, rgba(180, 210, 255, 0.6), transparent),
        radial-gradient(1px 1px at 70px 220px, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1px 1px at 280px 40px, rgba(255, 255, 255, 0.6), transparent);
    background-size: 300px 260px;
    opacity: 0.8;
    animation: drift 240s linear infinite;
}

.sky__layer--mid {
    background-image:
        radial-gradient(1.5px 1.5px at 60px 80px, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(1.5px 1.5px at 330px 250px, rgba(160, 200, 255, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 200px 390px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 420px 60px, rgba(255, 220, 180, 0.7), transparent);
    background-size: 480px 440px;
    animation: drift 150s linear infinite, twinkle 5s ease-in-out infinite alternate;
}

.sky__layer--near {
    background-image:
        radial-gradient(2px 2px at 110px 140px, rgba(255, 255, 255, 0.95), transparent),
        radial-gradient(2px 2px at 520px 460px, rgba(170, 205, 255, 0.9), transparent),
        radial-gradient(2.5px 2.5px at 380px 60px, rgba(255, 200, 140, 0.8), transparent);
    background-size: 700px 640px;
    animation: drift 90s linear infinite;
}

@keyframes drift {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(0, -50%, 0);
    }
}

@keyframes twinkle {
    from {
        opacity: 0.45;
    }
    to {
        opacity: 1;
    }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    background: rgba(3, 5, 12, 0.72);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
}

.brand__mark {
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(47, 123, 255, 0.6);
}

.brand__name {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.site-nav {
    display: none;
    gap: 26px;
    margin-left: auto;
}

.site-nav a {
    color: var(--ink-dim);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--ink);
}

.site-header .btn {
    margin-left: auto;
}

@media (min-width: 820px) {
    .site-nav {
        display: flex;
    }

    .site-header .btn {
        margin-left: 10px;
    }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.btn--primary {
    background: linear-gradient(180deg, var(--orange-hi), var(--orange) 55%, #e56a00);
    color: #1a0b00;
    box-shadow: 0 8px 28px rgba(255, 138, 31, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--primary:hover {
    color: #1a0b00;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(255, 138, 31, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--ghost {
    background: rgba(47, 123, 255, 0.08);
    border-color: var(--line-strong);
    color: var(--ink);
}

.btn--ghost:hover {
    color: var(--ink);
    background: rgba(47, 123, 255, 0.2);
    border-color: var(--blue-hi);
}

.btn--small {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn--large {
    min-height: 58px;
    padding: 16px 34px;
    font-size: 1.1rem;
}

.btn__arrow {
    font-size: 1.1em;
    transition: transform 0.18s ease;
}

.btn:hover .btn__arrow {
    transform: translate(2px, -2px);
}

.icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ---------- Status badge ---------- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 138, 31, 0.5);
    border-radius: 999px;
    background: rgba(255, 138, 31, 0.1);
    color: var(--orange-hi);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.status-badge__dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 0 rgba(255, 138, 31, 0.7);
    animation: ping 1.8s ease-out infinite;
}

@keyframes ping {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 138, 31, 0.7);
    }
    80%,
    100% {
        box-shadow: 0 0 0 10px rgba(255, 138, 31, 0);
    }
}

/* ---------- Art + missing-image fallback ---------- */
.art {
    position: relative;
}

.art-fallback {
    display: none;
    place-items: center;
    aspect-ratio: 1 / 1;
    width: 100%;
    border: 2px dashed var(--line-strong);
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, rgba(47, 123, 255, 0.35), rgba(12, 42, 140, 0.15) 60%, transparent 70%);
    color: var(--ink-dim);
    font-family: var(--font-display);
    font-size: 0.95rem;
    text-align: center;
}

.art.is-missing picture {
    display: none;
}

.art.is-missing .art-fallback {
    display: grid;
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero {
    position: relative;
    padding: 28px 0 28px;
    overflow: hidden;
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 8px;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.hero__copy {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero__title {
    margin: 18px 0 10px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(3.2rem, 17vw, 8.4rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
}

.hero__title-line {
    display: block;
    background: linear-gradient(180deg, #e7f2ff 0%, #8cbcff 40%, #2f7bff 70%, #1c55d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 3px 0 #0a2273) drop-shadow(0 5px 0 rgba(255, 138, 31, 0.85)) drop-shadow(0 14px 26px rgba(255, 138, 31, 0.28));
}

.hero__tagline {
    font-size: clamp(1.25rem, 4.6vw, 1.8rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
}

.hero__iykyk {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 10px;
    margin-top: 10px;
    font-size: clamp(0.95rem, 3.4vw, 1.05rem);
    font-style: italic;
    color: var(--orange-hi);
}

.hero__iykyk-tag {
    padding: 2px 9px;
    border: 1px solid rgba(255, 193, 92, 0.55);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.16em;
    transform: rotate(-3deg);
}

.hero__lede {
    max-width: 30ch;
    margin: 12px auto 0;
    color: var(--ink-dim);
    font-size: clamp(1rem, 3.6vw, 1.15rem);
}

.hero__ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 340px;
    margin: 24px auto 0;
}

.hero__attr {
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.hero__art {
    width: min(94vw, 460px);
    margin: 0 auto;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero__img {
    position: relative;
    z-index: 1;
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

.hero__art .art-fallback {
    width: 80%;
    margin: 20px auto;
}

.hero__exhaust {
    position: absolute;
    left: 50%;
    bottom: -16%;
    z-index: 0;
    width: 40%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 92, 0.75) 0%, rgba(255, 138, 31, 0.4) 35%, rgba(255, 77, 58, 0.12) 60%, transparent 72%);
    transform: translateX(-50%);
    filter: blur(8px);
    animation: exhaust 1.6s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes float {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(0, -12px, 0) rotate(-0.8deg);
    }
}

@keyframes exhaust {
    from {
        opacity: 0.65;
        transform: translateX(-50%) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1.06);
    }
}

/* Ringed planet, far away, minding its own business */
.hero__planet {
    position: absolute;
    top: 6%;
    right: -18px;
    z-index: 1;
    width: 78px;
    height: 78px;
    will-change: transform;
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero__planet span {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, #ffd79a 0%, var(--orange) 40%, #a53f07 78%, #4a1a02 100%);
    box-shadow: 0 0 40px rgba(255, 138, 31, 0.35);
    animation: bob 14s ease-in-out infinite;
}

.hero__planet span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 170%;
    height: 34%;
    border: 3px solid rgba(255, 193, 92, 0.6);
    border-top-color: transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-18deg);
}

@keyframes bob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(14px);
    }
}

/* Tiny particles drifting up */
.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero__particles i {
    position: absolute;
    bottom: -10px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--orange-hi);
    opacity: 0;
    animation: rise 9s linear infinite;
}

.hero__particles i:nth-child(odd) {
    background: var(--blue-hi);
}

.hero__particles i:nth-child(1) { left: 8%; animation-delay: 0s; }
.hero__particles i:nth-child(2) { left: 17%; animation-delay: 3.1s; animation-duration: 11s; }
.hero__particles i:nth-child(3) { left: 26%; animation-delay: 6.4s; }
.hero__particles i:nth-child(4) { left: 35%; animation-delay: 1.7s; animation-duration: 12s; }
.hero__particles i:nth-child(5) { left: 44%; animation-delay: 4.8s; }
.hero__particles i:nth-child(6) { left: 53%; animation-delay: 7.9s; animation-duration: 10s; }
.hero__particles i:nth-child(7) { left: 61%; animation-delay: 2.4s; }
.hero__particles i:nth-child(8) { left: 69%; animation-delay: 5.6s; animation-duration: 13s; }
.hero__particles i:nth-child(9) { left: 77%; animation-delay: 0.9s; }
.hero__particles i:nth-child(10) { left: 84%; animation-delay: 6.9s; animation-duration: 11s; }
.hero__particles i:nth-child(11) { left: 91%; animation-delay: 3.9s; }
.hero__particles i:nth-child(12) { left: 97%; animation-delay: 8.4s; animation-duration: 12s; }

@keyframes rise {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate3d(12px, -90vh, 0);
        opacity: 0;
    }
}

@media (min-width: 560px) {
    .hero__ctas {
        flex-direction: row;
        justify-content: center;
        max-width: none;
    }

    .hero__planet {
        right: 4%;
        width: 96px;
        height: 96px;
    }
}

@media (min-width: 960px) {
    .hero {
        display: flex;
        align-items: center;
        min-height: min(calc(100svh - var(--header-h)), 900px);
        padding: 40px 0 56px;
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        align-items: center;
        gap: 24px;
        width: 100%;
    }

    .hero__copy {
        text-align: left;
    }

    .hero__lede {
        margin-left: 0;
    }

    .hero__ctas {
        justify-content: flex-start;
        margin-left: 0;
    }

    .hero__art {
        width: 100%;
        max-width: 640px;
    }

    .hero__planet {
        top: 10%;
        right: auto;
        left: 44%;
        width: 70px;
        height: 70px;
    }
}

/* ---------- Ticker ---------- */
.ticker {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 14px 0;
    border-block: 1px solid var(--line);
    background: rgba(12, 42, 140, 0.18);
}

.ticker__track {
    display: flex;
    gap: 22px;
    width: max-content;
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--blue-hi);
    animation: marquee 38s linear infinite;
}

.ticker__track span:nth-child(even) {
    color: var(--orange);
}

@keyframes marquee {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ---------- Sections (shared) ---------- */
.section {
    position: relative;
    padding-block: clamp(64px, 9vw, 112px);
}

/* ==========================================================================
   2. WHY
   ========================================================================== */
.why__grid {
    display: grid;
    gap: 40px;
}

.why__title {
    font-size: clamp(3rem, 14vw, 7rem);
    line-height: 0.92;
}

.why__visual {
    position: relative;
    width: 190px;
    margin: 56px auto 24px;
}

.why__visual picture {
    position: relative;
    z-index: 1;
    animation: float 7s ease-in-out infinite;
}

.why__visual img {
    width: 100%;
    filter: drop-shadow(0 0 30px rgba(47, 123, 255, 0.45));
}

.orbit {
    position: absolute;
    inset: -22%;
    border: 1px dashed var(--line-strong);
    border-radius: 50%;
    animation: spin 26s linear infinite;
}

.orbit__moon {
    position: absolute;
    top: 50%;
    left: -9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff, #b9c6e6 55%, #56627f);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.why__body {
    display: grid;
    gap: 20px;
    align-content: start;
}

.why__line {
    font-size: clamp(1.2rem, 4.4vw, 1.5rem);
    color: var(--ink-dim);
    max-width: 34ch;
}

.why__line--big {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 6.4vw, 2.6rem);
    line-height: 1.08;
    color: var(--ink);
}

.nope-list {
    display: grid;
    gap: 10px;
    margin-top: 8px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(10, 17, 40, 0.6);
}

.nope-list li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 500;
}

.nope-list__x {
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255, 77, 58, 0.16);
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 700;
}

.why__closer {
    margin-top: 10px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 7vw, 3rem);
    line-height: 1.05;
}

.why__fiction {
    max-width: 52ch;
    padding-left: 14px;
    border-left: 2px solid var(--line-strong);
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--ink-faint);
}

.why__closer em {
    font-style: normal;
    color: var(--orange);
}

@media (min-width: 960px) {
    .why__grid {
        grid-template-columns: 5fr 6fr;
        gap: 64px;
        align-items: start;
    }

    .why__head {
        position: sticky;
        top: calc(var(--header-h) + 32px);
    }

    .why__visual {
        width: 260px;
        margin: 60px 0 0 40px;
    }
}

/* ==========================================================================
   3. MISSION CONSOLE
   ========================================================================== */
.console {
    max-width: 980px;
    margin-inline: auto;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 26px;
    background: linear-gradient(180deg, #121b3d, #070b1d);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.console.is-shaking {
    animation: shake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes shake {
    10%,
    90% { transform: translateX(-2px); }
    20%,
    80% { transform: translateX(4px); }
    30%,
    50%,
    70% { transform: translateX(-6px); }
    40%,
    60% { transform: translateX(6px); }
}

.console__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 10px 12px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.console__leds {
    display: inline-flex;
    gap: 6px;
}

.console__leds i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1c2a55;
}

.console__leds i:nth-child(1) { background: var(--red); box-shadow: 0 0 8px var(--red); }
.console__leds i:nth-child(2) { background: var(--orange); box-shadow: 0 0 8px var(--orange); animation: blink 2.4s steps(1) infinite; }
.console__leds i:nth-child(3) { background: #44e08a; box-shadow: 0 0 8px #44e08a; }

.console__rec {
    margin-left: auto;
    color: var(--orange-hi);
}

.console__screen {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 6vw, 56px);
    border-radius: 18px;
    background:
        repeating-linear-gradient(0deg, rgba(140, 188, 255, 0.04) 0 1px, transparent 1px 4px),
        radial-gradient(120% 90% at 50% 0%, #0d2466, #050a1f 70%);
    box-shadow: inset 0 0 60px rgba(47, 123, 255, 0.25);
}

.console__heading {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue-hi);
}

.console__objective {
    display: flex;
    align-items: baseline;
    margin: 12px 0 4px;
    font-family: var(--font-display);
    font-size: clamp(4rem, 22vw, 11rem);
    line-height: 0.95;
    color: #f4f8ff;
    text-shadow: 0 0 18px rgba(140, 188, 255, 0.55), 0 0 60px rgba(47, 123, 255, 0.45);
}

.console__prompt {
    margin-right: 0.12em;
    font-size: 0.45em;
    color: var(--orange);
    text-shadow: 0 0 18px rgba(255, 138, 31, 0.6);
}

.console__caret {
    display: inline-block;
    width: 0.09em;
    height: 0.7em;
    margin-left: 0.08em;
    background: var(--orange);
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.console__sub {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    color: var(--ink-dim);
}

.readouts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 32px;
}

.readouts > div {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(3, 5, 12, 0.5);
}

.readouts dt {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.readouts dd {
    margin-top: 2px;
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: #a6d4ff;
}

.readouts dd.warn {
    color: var(--orange-hi);
}

.console__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
    margin-top: 32px;
}

.console__log {
    flex: 1 1 220px;
    min-height: 1.6em;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--orange-hi);
}

.big-red {
    position: relative;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    padding: 0;
    border: 6px solid #2a3561;
    border-radius: 50%;
    background: #111a3a;
    cursor: pointer;
    box-shadow: 0 8px 0 #0a1027, 0 14px 30px rgba(0, 0, 0, 0.5);
}

.big-red__cap {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ff9a86, var(--red) 45%, #9a1709 100%);
    box-shadow: 0 6px 0 #7a1206, inset 0 -4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.big-red__label {
    position: relative;
    z-index: 1;
    max-width: 70px;
    font-family: var(--font-display);
    font-size: 0.72rem;
    line-height: 1.1;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
    transition: transform 0.08s ease;
}

.big-red:active .big-red__cap,
.big-red.is-pressed .big-red__cap {
    transform: translateY(5px);
    box-shadow: 0 1px 0 #7a1206, inset 0 -2px 6px rgba(0, 0, 0, 0.3);
}

.big-red:active .big-red__label,
.big-red.is-pressed .big-red__label {
    transform: translateY(5px);
}

@media (min-width: 720px) {
    .readouts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ==========================================================================
   4. DETAILS / MANIFEST
   ========================================================================== */
.details__grid {
    display: grid;
    gap: 36px;
}

.details__intro p:not(.eyebrow) {
    max-width: 38ch;
    margin-top: 16px;
    color: var(--ink-dim);
}

.manifest {
    position: relative;
    padding: 22px clamp(18px, 4vw, 34px) 26px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(47, 123, 255, 0.08), transparent 40%),
        var(--panel);
}

/* ticket notches */
.manifest::before,
.manifest::after {
    content: "";
    position: absolute;
    top: 64px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--line-strong);
}

.manifest::before {
    left: -12px;
    clip-path: inset(0 0 0 50%);
}

.manifest::after {
    right: -12px;
    clip-path: inset(0 50% 0 0);
}

.manifest__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 2px dashed var(--line-strong);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.manifest__stamp {
    padding: 4px 12px;
    border: 2px solid var(--orange);
    border-radius: 6px;
    color: var(--orange);
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    transform: rotate(-5deg);
}

.manifest__stamp--live {
    border-color: #44e08a;
    color: #44e08a;
}

.manifest__rows {
    display: grid;
}

.manifest__row {
    display: grid;
    gap: 4px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.manifest__row dt {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.manifest__row dd {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
}

.manifest__row a {
    color: var(--blue-hi);
}

.tbd {
    color: var(--orange-hi);
}

.contract {
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(3, 5, 12, 0.7);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    word-break: break-all;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(255, 138, 31, 0.12);
    color: var(--orange-hi);
    font-size: 1rem;
}

.pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    animation: blink 1.6s steps(1) infinite;
}

.manifest__warn {
    margin-top: 20px;
    padding: 14px 16px;
    border-left: 3px solid var(--orange);
    border-radius: 0 10px 10px 0;
    background: rgba(255, 138, 31, 0.07);
    font-size: 0.95rem;
    color: var(--ink-dim);
}

.manifest__warn strong {
    color: var(--ink);
}

@media (min-width: 600px) {
    .manifest__row {
        grid-template-columns: 150px 1fr;
        align-items: center;
    }
}

@media (min-width: 960px) {
    .details__grid {
        grid-template-columns: 4fr 6fr;
        gap: 64px;
        align-items: center;
    }
}

/* ==========================================================================
   5. SPACE / SPCXX
   ========================================================================== */
.space {
    background: linear-gradient(180deg, transparent, rgba(12, 42, 140, 0.14) 50%, transparent);
}

.space__grid {
    display: grid;
    gap: 36px;
    justify-items: center;
}

.patch {
    width: min(64vw, 260px);
}

.patch svg {
    width: 100%;
    animation: spin 60s linear infinite;
}

.patch__ring {
    fill: #0a1540;
    stroke: var(--blue);
    stroke-width: 4;
}

.patch__core {
    fill: #050a1f;
    stroke: var(--orange);
    stroke-width: 2;
    stroke-dasharray: 4 6;
}

.patch__text {
    fill: var(--blue-hi);
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 1px;
}

.patch__text--small {
    fill: var(--orange-hi);
    font-size: 10px;
}

.patch__ticker {
    fill: #fff;
    font-family: var(--font-display);
    font-size: 23px;
}

.space__copy {
    max-width: 620px;
}

.space__copy p:not(.eyebrow) {
    margin-top: 16px;
    color: var(--ink-dim);
    font-size: 1.1rem;
}

.space__copy strong {
    color: var(--ink);
}

.space__copy p.space__fine {
    font-size: 0.95rem;
    color: var(--ink-faint);
}

.space__copy p.space__disclaimer {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--ink-faint);
}

@media (min-width: 900px) {
    .space__grid {
        grid-template-columns: 320px 1fr;
        gap: 72px;
        align-items: center;
        justify-items: start;
    }

    .patch {
        width: 300px;
    }
}

/* ==========================================================================
   6. ROADMAP
   ========================================================================== */
.roadmap__head {
    margin-bottom: 44px;
}

.roadmap__head h2 {
    font-size: clamp(2.2rem, 9vw, 5rem);
}

.trajectory {
    position: relative;
    display: grid;
    gap: 16px;
    max-width: 920px;
    padding-left: 22px;
}

.trajectory::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 4px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue) 45%, var(--orange) 70%, rgba(255, 138, 31, 0.1) 100%);
}

.step {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "num body"
        "num stamp";
    gap: 6px 16px;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(10, 17, 40, 0.7);
}

.step::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -25px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--bg);
    border-radius: 50%;
    background: var(--blue);
    transform: translateY(-50%);
}

.step--soon::before,
.step--shrug::before {
    background: var(--orange);
}

.step__num {
    grid-area: num;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 10vw, 3.6rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--blue-hi);
}

.step__body {
    grid-area: body;
}

.step__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.3rem, 5.4vw, 2rem);
    line-height: 1.1;
}

.step__note {
    margin-top: 4px;
    font-size: 0.95rem;
    color: var(--ink-faint);
}

.stamp {
    grid-area: stamp;
    justify-self: start;
    padding: 4px 14px;
    border: 2px solid currentColor;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    transform: rotate(-4deg);
}

.stamp--done {
    color: #5fe8a0;
}

.stamp--soon {
    color: var(--orange);
    animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
    50% {
        opacity: 0.45;
    }
}

.step--shrug {
    border-color: rgba(255, 138, 31, 0.4);
    background: linear-gradient(135deg, rgba(255, 138, 31, 0.1), rgba(10, 17, 40, 0.7) 60%);
}

.shrug {
    grid-area: stamp;
    justify-self: start;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(2rem, 10vw, 4.4rem);
    line-height: 1;
    white-space: nowrap;
    color: var(--orange-hi);
    transform-origin: 50% 90%;
    cursor: default;
}

.step--shrug:hover .shrug {
    animation: wiggle 0.6s ease-in-out;
}

@keyframes wiggle {
    25% { transform: rotate(-6deg) translateY(-4px); }
    50% { transform: rotate(5deg) translateY(-8px); }
    75% { transform: rotate(-3deg) translateY(-2px); }
}

.roadmap__foot {
    max-width: 920px;
    margin-top: 28px;
}

@media (min-width: 760px) {
    .trajectory {
        padding-left: 34px;
    }

    .trajectory::before {
        left: 8px;
    }

    .step {
        grid-template-columns: 110px 1fr auto;
        grid-template-areas: "num body stamp";
        gap: 24px;
        padding: 26px 30px;
    }

    .step::before {
        left: -33px;
    }

    .stamp,
    .shrug {
        justify-self: end;
    }
}

/* ==========================================================================
   7. FINALE
   ========================================================================== */
.finale {
    overflow: hidden;
    text-align: center;
}

.finale__glow {
    position: absolute;
    left: 50%;
    bottom: -40%;
    width: 140vw;
    max-width: 1400px;
    aspect-ratio: 2 / 1;
    border-radius: 50%;
    background:
        radial-gradient(closest-side, rgba(255, 138, 31, 0.35), rgba(255, 138, 31, 0.08) 45%, transparent 70%),
        radial-gradient(closest-side, rgba(47, 123, 255, 0.4), transparent 80%);
    transform: translateX(-50%);
    animation: exhaust-wide 3.2s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes exhaust-wide {
    from {
        opacity: 0.7;
    }
    to {
        opacity: 1;
    }
}

.finale__inner {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 20px;
}

.finale__title {
    max-width: 14ch;
    font-size: clamp(2.4rem, 10vw, 6rem);
    line-height: 0.98;
}

.finale__sub {
    font-size: clamp(1.15rem, 4vw, 1.5rem);
    color: var(--ink-dim);
}

.finale__inner .btn {
    margin-top: 10px;
}

.finale__status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange-hi);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    position: relative;
    border-top: 1px solid var(--line);
    background: rgba(3, 5, 12, 0.85);
    font-size: 0.85rem;
    color: var(--ink-faint);
}

.site-footer__inner {
    max-width: var(--max);
    margin-inline: auto;
    padding: 36px var(--gutter) 44px;
}

.site-footer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--ink);
}

.site-footer__brand img {
    border-radius: 50%;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.site-footer__links a {
    color: var(--ink-dim);
}

.site-footer__links a:hover {
    color: var(--ink);
}

.site-footer__legal {
    display: grid;
    gap: 8px;
    max-width: 780px;
    padding-top: 20px;
}

.site-footer__copy {
    margin-top: 6px;
}

/* ==========================================================================
   Back to top (rocket)
   ========================================================================== */
.to-top {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 60;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(10, 17, 40, 0.85);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(47, 123, 255, 0.35);
    text-decoration: none;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease;
}

.to-top:hover {
    border-color: var(--orange);
}

.to-top.is-hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.to-top__rocket {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
    transform: rotate(-45deg); /* 🚀 points up-right by default; make it point straight up */
    transition: transform 0.2s ease;
}

.to-top:hover .to-top__rocket {
    transform: rotate(-45deg) translate(3px, -3px);
}

.to-top.is-launching .to-top__rocket {
    animation: liftoff 0.7s ease-in forwards;
}

@keyframes liftoff {
    0% {
        transform: rotate(-45deg) translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: rotate(-45deg) translate(60px, -60px);
        opacity: 0;
    }
}

/* ==========================================================================
   Scroll reveals (pure CSS, only where supported; otherwise content is static)
   ========================================================================== */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            animation: reveal linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 45%;
        }
    }
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translate3d(0, 34px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* ==========================================================================
   Reduced motion: everything holds still. The organ waits patiently.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .hero__particles,
    .console__caret {
        display: none;
    }

    .sky__layer,
    .hero__img,
    .hero__art,
    .hero__planet,
    .hero__planet span,
    .ticker__track,
    .orbit,
    .patch svg,
    .why__visual picture {
        animation: none !important;
        transform: none !important;
    }

    .ticker__track {
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        padding-inline: var(--gutter);
        white-space: normal;
    }

    .ticker__track span:nth-child(n + 11) {
        display: none;
    }
}

/* Print: nobody will print this. But if you do. */
@media print {
    .sky,
    .site-header,
    .hero__particles,
    .ticker,
    .big-red,
    .to-top {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}