/* =========================================================
   AMGV · Landing
   "Flight deck": charcoal canvas, floating rounded cards,
   big readable figures, pill controls and one orange accent.
   ========================================================= */
:root {
    --bg: #0b0c0e;
    --bg-raised: #111215;
    --card: #16181b;
    --card-2: #1c1e22;
    --tile: #212328;
    --tile-hover: #272a30;
    --line: rgba(255, 255, 255, 0.07);
    --line-strong: rgba(255, 255, 255, 0.13);
    --white: #fff;
    --text: #eceef1;
    --muted: #8d929b;
    --faint: #5d626b;
    --accent: #ff6a1a;
    --accent-soft: rgba(255, 106, 26, 0.14);
    --accent-glow: 0 10px 40px -8px rgba(255, 106, 26, 0.55);
    --ok: #3fb37a;
    --warn: #e8c547;
    --alert: #e5484d;
    --friendly: #4c90f0;
    --r-xl: 32px;
    --r-lg: 22px;
    --r-md: 16px;
    --r-sm: 11px;
    --font: 'Inter Tight', system-ui, sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, monospace;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --gutter: clamp(16px, 3.5vw, 48px);
    --frame: clamp(8px, 1vw, 14px);
    --nav-h: 72px;
    --shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 24px 60px -24px rgba(0, 0, 0, 0.7);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    background: var(--bg);
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img,
svg,
video {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}
h1,
h2,
h3,
h4,
p,
ol,
ul,
dl,
dd,
figure {
    margin: 0;
}
ol,
ul {
    padding: 0;
    list-style: none;
}
::selection {
    background: var(--accent);
    color: #000;
}
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}
.sprite {
    position: absolute;
}
.mono {
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}
.wrap {
    width: 100%;
    max-width: 1560px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ---------- type primitives ---------- */
.label {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.footnote {
    margin-top: 24px;
    font-size: 0.75rem;
    color: var(--faint);
}
.dim {
    color: var(--muted);
}
.is-ok {
    color: var(--ok);
}
.is-alert {
    color: var(--alert);
}

/* round status markers */
.sq,
.dot {
    display: inline-block;
    flex: none;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    vertical-align: 0.1em;
    background: currentColor;
}
.sq--ok,
.dot--ok {
    background: var(--ok);
    box-shadow: 0 0 10px rgba(63, 179, 122, 0.7);
}
.sq--warn {
    background: var(--warn);
}
.sq--alert {
    background: var(--alert);
    box-shadow: 0 0 10px rgba(229, 72, 77, 0.7);
}
.sq--friendly {
    background: var(--friendly);
}
.sq--accent,
.dot--live {
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}
.dot--live {
    animation: pulse 1.8s ease-in-out infinite;
}

/* pills and chips */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(16, 17, 20, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text);
}
.pill,
.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.pill .dot {
    width: 6px;
    height: 6px;
    margin-right: 6px;
}
.pill--ok,
.tag--ok {
    background: rgba(63, 179, 122, 0.14);
    color: #6fd3a0;
}
.tag--warn {
    background: rgba(232, 197, 71, 0.14);
    color: var(--warn);
}
.tag--accent {
    background: var(--accent-soft);
    color: #ff9a5e;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition:
        transform 0.2s var(--ease),
        background 0.2s var(--ease),
        box-shadow 0.2s var(--ease),
        border-color 0.2s var(--ease);
}
.btn:hover {
    transform: translateY(-1px);
}
.btn span[aria-hidden] {
    transition: transform 0.2s var(--ease);
}
.btn:hover span[aria-hidden] {
    transform: translateX(3px);
}
.btn--primary {
    background: var(--accent);
    color: #140700;
    box-shadow: var(--accent-glow);
}
.btn--primary:hover {
    background: #ff7d36;
    box-shadow: 0 14px 48px -8px rgba(255, 106, 26, 0.75);
}
.btn--glass {
    border-color: var(--line-strong);
    background: rgba(18, 19, 22, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--text);
}
.btn--glass:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(30, 32, 37, 0.7);
}
.btn__play {
    position: relative;
    width: 26px;
    height: 26px;
    margin-left: -12px;
    border-radius: 50%;
    background: var(--white);
}
.btn__play::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 8px;
    border-left: 8px solid #000;
    border-block: 5px solid transparent;
}
.btn:hover .btn__play {
    transform: none;
}

/* text link with arrow, now a soft pill */
.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--tile);
    font-size: 0.9375rem;
    font-weight: 600;
    transition:
        background 0.2s var(--ease),
        border-color 0.2s var(--ease);
}
.arrow-link span {
    transition: transform 0.2s var(--ease);
}
.arrow-link:hover {
    background: var(--tile-hover);
    border-color: rgba(255, 255, 255, 0.24);
}
.arrow-link:hover span {
    transform: translateX(3px);
}
.block-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #140700;
    font-size: 0.9375rem;
    font-weight: 600;
    box-shadow: var(--accent-glow);
    cursor: pointer;
    transition:
        transform 0.2s var(--ease),
        background 0.2s var(--ease);
}
.block-btn:hover {
    transform: translateY(-1px);
    background: #ff7d36;
}

/* ---------- progress bar ---------- */
.progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    height: 2px;
    pointer-events: none;
}
.progress span {
    display: block;
    height: 100%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    transform: scaleX(var(--p, 0));
    transform-origin: left;
}

/* ---------- brand ---------- */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.brand__mark {
    flex: none;
    width: 34px;
    height: 34px;
    padding: 7px;
    border-radius: 11px;
    background: var(--accent);
    fill: #140700;
    box-shadow: var(--accent-glow);
}
.brand__name {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

/* ---------- nav: floating glass bar ---------- */
.nav {
    position: fixed;
    top: calc(var(--frame) + 10px);
    left: 50%;
    z-index: 50;
    width: min(1180px, calc(100% - 2 * var(--frame) - 20px));
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 10px 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(14, 15, 18, 0.5);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    color: var(--white);
    transform: translateX(-50%);
    transition:
        background 0.25s var(--ease),
        border-color 0.25s var(--ease);
}
.nav .brand__mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.nav.is-scrolled,
.nav.is-open {
    background: rgba(14, 15, 18, 0.86);
}
.nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}
.nav__menu a {
    padding: 9px 16px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.72);
    transition:
        color 0.2s var(--ease),
        background 0.2s var(--ease);
}
.nav__menu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}
.nav__menu a.is-active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}
.nav__menu .nav__app {
    margin-left: 10px;
    padding: 10px 20px;
    background: var(--accent);
    color: #140700;
    font-weight: 600;
    box-shadow: var(--accent-glow);
}
.nav__menu .nav__app:hover {
    background: #ff7d36;
    color: #140700;
}
.nav__burger {
    display: none;
    padding: 10px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}
.nav__burger-close {
    display: none;
}
.nav.is-open .nav__burger-open {
    display: none;
}
.nav.is-open .nav__burger-close {
    display: inline;
}

/* ---------- sections ---------- */
.section {
    position: relative;
    padding-block: clamp(88px, 10vw, 160px);
    color: var(--text);
}
/* Raised sections float as one big rounded sheet over the canvas. */
.section--light {
    margin-inline: var(--frame);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background:
        radial-gradient(
            120% 60% at 50% 0%,
            rgba(255, 255, 255, 0.035),
            transparent 60%
        ),
        var(--bg-raised);
}
.shead {
    display: grid;
    gap: 0 var(--gutter);
    margin-bottom: clamp(48px, 6vw, 88px);
}
.shead__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
}
.shead__meta .mono {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #ff9a5e;
    font-size: 0.75rem;
    font-weight: 600;
}
.shead__title {
    max-width: 18ch;
    margin-top: 24px;
    font-size: clamp(2.25rem, 5.2vw, 5rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.035em;
}
.shead__lead {
    max-width: 46ch;
    margin-top: 24px;
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    line-height: 1.5;
    color: var(--muted);
}
.shead__aside {
    display: grid;
    justify-items: start;
    gap: 24px;
}

/* ---------- reveal (JS adds .is-in) ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.7s var(--ease),
        transform 0.7s var(--ease);
}
.js .reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ---------- hero: a live drone feed in a rounded screen ---------- */
.hero {
    padding: var(--frame);
    min-height: 100svh;
    display: flex;
}
.hero__screen {
    position: relative;
    flex: 1;
    display: flex;
    align-items: flex-end;
    min-height: calc(100svh - 2 * var(--frame));
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-xl);
    background: #0e0f0f;
    isolation: isolate;
}
.hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
    animation: drift-in 2.4s var(--ease) both;
}
.hero__media .tac {
    width: 100%;
    height: 100%;
}
.hero__media .tac image {
    filter: brightness(0.86) contrast(1.06) saturate(1.05);
}
/* Grade: dark from the left (headline) and the bottom, warm haze from the fire side. */
.hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            60% 55% at 64% 22%,
            rgba(255, 106, 26, 0.16),
            transparent 70%
        ),
        linear-gradient(
            90deg,
            rgba(9, 10, 12, 0.9) 0%,
            rgba(9, 10, 12, 0.55) 32%,
            rgba(9, 10, 12, 0) 58%,
            rgba(9, 10, 12, 0.25) 100%
        ),
        linear-gradient(0deg, rgba(9, 10, 12, 0.85) 0%, transparent 38%),
        linear-gradient(180deg, rgba(9, 10, 12, 0.6) 0%, transparent 22%);
}
/* Camera reticle in the middle of the feed. */
.hero__reticle {
    position: absolute;
    left: 58%;
    top: 46%;
    z-index: 0;
    width: clamp(160px, 18vw, 280px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.hero__reticle::before,
.hero__reticle::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
}
.hero__reticle::before {
    width: 180%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.45) 25%,
        transparent 42%,
        transparent 58%,
        rgba(255, 255, 255, 0.45) 75%,
        transparent
    );
}
.hero__reticle::after {
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--white);
    border-radius: 50%;
    background: none;
}
.hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1060px;
    padding: calc(var(--nav-h) + 48px) clamp(20px, 4vw, 64px)
        clamp(28px, 5vw, 72px);
}
.hero__eyebrow {
    margin-bottom: clamp(20px, 3vw, 32px);
}
.hero__title {
    font-size: clamp(2.75rem, min(6.4vw, 9.6vh), 7.25rem);
    font-weight: 500;
    line-height: 0.96;
    letter-spacing: -0.045em;
    color: var(--white);
    text-wrap: balance;
}
.hero__accent {
    background: linear-gradient(
        92deg,
        #ffb27e 0%,
        var(--accent) 45%,
        #ff8a3d 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__sub {
    max-width: 46ch;
    margin-top: clamp(20px, 2.4vw, 32px);
    font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
    line-height: 1.5;
    color: rgba(236, 238, 241, 0.78);
}
.hero__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: clamp(24px, 3vw, 40px);
}

/* glass panels floating on the feed */
.hud-tile,
.hero__card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(17, 18, 21, 0.58);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
}
.hero__tiles {
    position: absolute;
    z-index: 2;
    right: clamp(330px, 26vw, 400px);
    bottom: clamp(28px, 5vw, 72px);
    display: grid;
    gap: 10px;
    animation: rise 1s 0.5s var(--ease) both;
}
.hud-tile {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
    min-width: 136px;
    padding: 12px 16px;
    border-radius: var(--r-md);
}
.hud-tile span {
    flex-basis: 100%;
    font-size: 0.75rem;
    color: var(--muted);
}
.hud-tile b {
    font-family: var(--font);
    font-variant-numeric: tabular-nums;
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.1;
    color: var(--white);
}
.hud-tile small {
    font-size: 0.75rem;
    color: var(--muted);
}
.hero__card {
    position: absolute;
    z-index: 2;
    top: calc(var(--nav-h) + 40px);
    right: clamp(16px, 2.4vw, 36px);
    width: clamp(280px, 22vw, 330px);
    padding: 18px;
    border-radius: var(--r-lg);
    animation: rise 1s 0.3s var(--ease) both;
}
.hero__card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.hero__card-head b {
    display: block;
    margin-top: 2px;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.hero__card-kicker {
    font-size: 0.75rem;
    color: var(--muted);
}
.hero__compass {
    display: grid;
    justify-items: center;
    margin: 14px auto 6px;
    width: 66%;
}
.hero__compass svg {
    width: 100%;
    height: auto;
    overflow: visible;
}
.cmp__ring {
    fill: rgba(255, 255, 255, 0.03);
    stroke: rgba(255, 255, 255, 0.14);
}
.cmp__ticks path {
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 1;
}
.cmp__n,
.cmp__l {
    font-family: var(--font);
    font-size: 9px;
    font-weight: 600;
    text-anchor: middle;
    fill: var(--muted);
}
.cmp__n {
    fill: var(--accent);
}
.cmp__needle {
    transform-origin: 60px 60px;
    transform: rotate(var(--heading, 15deg));
    transition: transform 0.3s linear;
}
.cmp__north {
    fill: var(--accent);
    filter: drop-shadow(0 0 6px rgba(255, 106, 26, 0.8));
}
.cmp__south {
    fill: rgba(255, 255, 255, 0.4);
}
.cmp__hub {
    fill: var(--white);
}
.hero__heading {
    margin-top: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.75rem;
    color: var(--white);
}
.hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}
.hero__stats div {
    padding: 10px 12px;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.05);
}
.hero__stats dt {
    font-size: 0.6875rem;
    color: var(--muted);
}
.hero__stats dd {
    margin-top: 2px;
    font-size: 0.875rem;
    font-weight: 600;
}
.hero__stats dd b {
    font-family: var(--font);
    font-variant-numeric: tabular-nums;
    font-size: 1.125rem;
    font-weight: 500;
}
.hero__credit {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 12px;
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- tactical map (hero + console) ---------- */
.terrain {
    position: absolute;
    inset: 0;
    background: url('../img/terrain.webp') center / cover no-repeat #0a0a0a;
}
.tac {
    display: block;
    overflow: hidden;
}
.tac text {
    font-family: var(--font);
}
.tac rect {
    rx: 6px;
}
.tz__ring {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    opacity: 0.85;
    filter: drop-shadow(0 0 6px currentColor);
    transition:
        stroke-width 0.4s,
        opacity 0.4s;
}
.tz__dash {
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
    stroke-dasharray: 3 7;
    opacity: 0.5;
}
.tz__tri {
    fill: currentColor;
}
.tz__spin {
    transform-box: fill-box;
    transform-origin: center;
    animation: spin var(--spin, 46s) linear infinite;
}
.tz__band {
    fill: none;
    stroke: currentColor;
    stroke-width: 19;
    stroke-opacity: 0.2;
    stroke-linecap: round;
    transition: stroke-opacity 0.4s;
}
.tz__label {
    fill: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    dominant-baseline: central;
}
.tz__pin {
    fill: rgba(10, 11, 13, 0.75);
    stroke: currentColor;
    stroke-width: 1.25;
}
.tz__loop {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}
.tz__wp rect {
    fill: rgba(10, 11, 13, 0.85);
    stroke: currentColor;
    stroke-opacity: 0.5;
}
.tz__wp g rect + rect {
    stroke: none;
    fill: currentColor;
}
.tz__wp text {
    fill: #fff;
    font-size: 10px;
    font-weight: 600;
}
.tz.is-focus .tz__ring {
    stroke-width: 2.5;
    opacity: 1;
}
.tz.is-focus .tz__band {
    stroke-opacity: 0.42;
}
.tl {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-dasharray: 6 6;
    opacity: 0.85;
    animation: dashflow 1.6s linear infinite;
}
.trange {
    fill: none;
    stroke: rgba(255, 255, 255, 0.16);
    stroke-dasharray: 2 6;
}
.trange__t {
    fill: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    letter-spacing: 0.1em;
}
.tsector {
    stroke: rgba(255, 255, 255, 0.05);
    stroke-dasharray: 4 8;
}
.tsector__t {
    fill: rgba(255, 255, 255, 0.22);
    font-size: 11px;
}
.td__halo {
    fill: currentColor;
    opacity: 0.2;
    filter: blur(3px);
}
.td__bg {
    fill: rgba(10, 11, 13, 0.8);
    stroke: currentColor;
    stroke-width: 1.5;
}
.td__tag rect {
    fill: rgba(10, 11, 13, 0.82);
    stroke: rgba(255, 255, 255, 0.18);
}
.td__tag text {
    fill: #fff;
    font-size: 10px;
    font-weight: 600;
}
.tfire__glow {
    transform-box: fill-box;
    transform-origin: center;
    animation: fireglow 2.4s ease-in-out infinite;
}
.tfire__perim {
    fill: rgba(229, 72, 77, 0.14);
    stroke: var(--alert);
    stroke-width: 1.5;
    stroke-dasharray: 5 5;
    animation: dashflow 1.2s linear infinite;
}
.tfire__hot {
    fill: #ffd27a;
    animation: flicker var(--d, 1s) ease-in-out infinite alternate;
    animation-delay: var(--o, 0s);
}
.tpers__dot {
    fill: var(--ok);
}
.tpers__ping,
.s-ping {
    fill: none;
    stroke: var(--ok);
    transform-box: fill-box;
    transform-origin: center;
    animation: ping 1.8s ease-out infinite;
}
.tpers rect {
    fill: rgba(10, 11, 13, 0.85);
    stroke: rgba(63, 179, 122, 0.6);
}
.tpers text {
    fill: var(--ok);
    font-size: 10px;
    font-weight: 600;
}
.tbadge rect {
    rx: 13px;
    fill: rgba(10, 11, 13, 0.85);
    stroke: rgba(229, 72, 77, 0.6);
}
.tbadge--green rect {
    stroke: rgba(63, 179, 122, 0.6);
}
.tbadge text {
    fill: #fff;
    font-family: var(--font);
    font-size: 11px;
}

/* ---------- manifesto ---------- */
.manifesto__text {
    max-width: 30ch;
    font-size: clamp(1.75rem, 3.8vw, 3.5rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--faint);
}
.manifesto__em {
    color: var(--text);
}
.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: clamp(56px, 7vw, 112px);
}
.stat {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    padding: 22px 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, var(--card-2), var(--card));
    box-shadow: var(--shadow);
}
.stat dt {
    color: var(--muted);
}
.stat__num {
    font-size: clamp(2.75rem, 5.4vw, 5rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
}
.stat:first-child .stat__num {
    color: var(--accent);
}

/* ---------- film ---------- */
.film .shead {
    margin-bottom: clamp(32px, 4vw, 56px);
}
.film__frame {
    margin-inline: var(--gutter);
    max-width: 1560px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-xl);
    background: #000;
    box-shadow: 0 40px 120px -40px rgba(255, 106, 26, 0.25);
}
@media (min-width: 1656px) {
    .film__frame {
        margin-inline: auto;
    }
}
.film__frame video {
    width: 100%;
    max-height: 92svh;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
}

/* ---------- platform: product ---------- */
.product {
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background:
        radial-gradient(
            50% 50% at 50% 55%,
            rgba(255, 106, 26, 0.08),
            transparent 70%
        ),
        linear-gradient(180deg, var(--card-2), var(--card));
    box-shadow: var(--shadow);
}
.product__head {
    display: grid;
    gap: 14px;
}
.product__name {
    font-size: clamp(3.5rem, 11vw, 10rem);
    font-weight: 600;
    line-height: 0.88;
    letter-spacing: -0.055em;
}
.product__line {
    max-width: 40ch;
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    line-height: 1.45;
    color: var(--muted);
}
.product__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--muted);
}
.product__meta span {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.spec__stage {
    position: relative;
    margin-block: clamp(24px, 4vw, 48px);
}
.spec__svg {
    width: 100%;
    aspect-ratio: 1200 / 640;
    overflow: visible;
}
.spec__svg [fill='#0a0a0a'],
.spec__svg [fill='#000'] {
    fill: var(--card-2);
}
.spec__svg [stroke='#0a0a0a'] {
    stroke: var(--card-2);
}
.spec__svg rect[x='530'] {
    rx: 18px;
}
.spec__wire path {
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 1;
    stroke-dasharray: 4 5;
    transition: stroke 0.3s;
}
.spec__wire rect {
    rx: 50%;
    fill: var(--card);
    stroke: rgba(255, 255, 255, 0.5);
    transition: fill 0.3s;
}
.spec__wire.is-hot path {
    stroke: var(--accent);
    animation: dashflow 1s linear infinite;
}
.spec__wire.is-hot rect {
    fill: var(--accent);
    stroke: var(--accent);
}
.spec__part .hl {
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 1.25;
    transition:
        stroke 0.3s,
        stroke-width 0.3s;
}
.spec__part rect.hl {
    rx: 10px;
}
.spec__part[data-part='link'] .hl {
    stroke-width: 5;
}
.spec__part.is-hot .hl {
    stroke: var(--accent);
    stroke-width: 2;
    filter: drop-shadow(0 0 8px rgba(255, 106, 26, 0.7));
}
.spec__part[data-part='link'].is-hot .hl {
    stroke-width: 5;
}
.spec__waves {
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 2;
}
.spec__prop {
    transform-box: fill-box;
    transform-origin: center;
    animation: spin 1.4s linear infinite;
}
.spec__prop--ccw {
    animation-direction: reverse;
}
.spec__nums rect {
    rx: 50%;
    fill: var(--tile);
    stroke: rgba(255, 255, 255, 0.4);
}
.spec__nums text {
    fill: var(--white);
    font-family: var(--font);
    font-size: 11px;
    font-weight: 600;
    text-anchor: middle;
}
.spec__call {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.03);
    transition:
        border-color 0.3s,
        background 0.3s;
}
.spec__call.is-hot {
    border-color: rgba(255, 106, 26, 0.6);
    background: var(--accent-soft);
}
.spec__call header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.spec__call header .mono {
    font-size: 0.6875rem;
    color: var(--muted);
}
.spec__call h4 {
    flex: 1;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.spec__call p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--muted);
}
.spec__call .spec__val {
    margin: 8px 0 4px;
    font-size: 0.8125rem;
    color: var(--text);
}

.readouts {
    display: grid;
    gap: 12px;
}
.readout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: var(--r-lg);
    background: var(--tile);
}
.readout .label {
    color: var(--muted);
}
.readout__big {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
}
.readout__big small {
    margin-left: 6px;
    font-size: 0.875rem;
    color: var(--muted);
    letter-spacing: 0;
}
.readout__spark {
    width: 100%;
    height: 56px;
}
.readout__spark path {
    stroke: var(--accent);
    stroke-width: 2;
    filter: drop-shadow(0 4px 8px rgba(255, 106, 26, 0.5));
}
.readout__dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}
.readout__dl div {
    padding: 8px 10px;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.04);
}
.readout__dl dt {
    font-size: 0.6875rem;
    color: var(--muted);
}
.readout__dl dd {
    margin-top: 2px;
    font-size: 0.875rem;
}

/* ---------- platform: modules ---------- */
.modules {
    display: grid;
    gap: 14px;
    margin-top: clamp(64px, 8vw, 120px);
}
.module {
    display: flex;
    flex-direction: column;
    padding: 14px 14px 26px;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: linear-gradient(180deg, var(--card-2), var(--card));
    box-shadow: var(--shadow);
    transition:
        transform 0.3s var(--ease),
        border-color 0.3s var(--ease);
}
.module:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
}
.module > :not(.module__visual) {
    margin-inline: 10px;
}
.module__visual {
    position: relative;
    aspect-ratio: 16 / 10;
    margin-bottom: 22px;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: #0d0e10;
}
.module__visual > svg {
    width: 100%;
    height: 100%;
}
.module__code {
    color: var(--accent);
}
.module__name {
    margin-top: 10px;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
}
.module__text {
    max-width: 44ch;
    margin-top: 10px;
    color: var(--muted);
}

/* SIGHT: thermal frame */
.thermal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/ortho-culebra.webp') 62% 40% / 260% no-repeat;
    filter: grayscale(1) contrast(1.2) brightness(0.8);
    opacity: 0.8;
}
.thermal__box {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 26%;
    height: 34%;
    border: 1.5px solid var(--ok);
    border-radius: 10px;
    box-shadow: 0 0 18px rgba(63, 179, 122, 0.4);
}
.thermal__box--fire {
    width: 30%;
    height: 32%;
    border-color: var(--alert);
    box-shadow: 0 0 18px rgba(229, 72, 77, 0.45);
}
.thermal__box b {
    position: absolute;
    left: -1px;
    bottom: calc(100% + 6px);
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--ok);
    color: #04140b;
    font-size: 0.625rem;
    font-weight: 700;
    white-space: nowrap;
}
.thermal__box--fire b {
    background: var(--alert);
    color: var(--white);
}
.thermal__scan {
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.7),
        transparent
    );
    animation: scan 3.2s linear infinite;
}

/* LINK: supported stacks */
.module__visual--list {
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    font-size: 0.875rem;
}
.stack li {
    padding: 8px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--tile);
}
.stack li:last-child {
    border-color: transparent;
    background: var(--accent-soft);
    color: #ff9a5e;
}

/* NAV: radar */
.radar__ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 70%;
    aspect-ratio: 1;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.radar__ring--2 {
    width: 36%;
}
.radar__sweep {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 35%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 106, 26, 0.9), transparent);
    transform-origin: left center;
    animation: spin 4s linear infinite;
}
.radar__blip {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 0 10px var(--white);
    animation: blip 4s ease-in-out infinite;
}
.radar__blip:nth-of-type(2n) {
    animation-delay: 1.3s;
}

/* ---------- missions ---------- */
.mlist {
    display: grid;
    gap: 14px;
}
.mission {
    display: grid;
    gap: 24px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: linear-gradient(180deg, var(--card-2), var(--card));
    box-shadow: var(--shadow);
}
.mission__media {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: #000;
}
.mission__media svg {
    width: 100%;
    height: 100%;
    min-height: 100%;
    aspect-ratio: 16 / 9;
}
.mission__status {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(14, 15, 18, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--white);
    font-size: 0.6875rem;
}
.mission__status span {
    display: inline-flex;
    align-items: center;
}
.mission__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(8px, 2vw, 28px);
}
.mission__tag {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
}
.mission__tag .mono {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 26px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #ff9a5e;
    font-weight: 600;
}
.mission__title {
    max-width: 18ch;
    margin-top: 20px;
    font-size: clamp(1.75rem, 3.2vw, 3rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.035em;
}
.mission__text {
    max-width: 52ch;
    margin-top: 18px;
    color: var(--muted);
}
.mission__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 60ch;
    margin-top: 22px;
    font-size: 0.875rem;
}
.mission__list li {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--tile);
}
.mission__kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 52ch;
    margin: 24px 0 28px;
}
.mission__kpis div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-radius: var(--r-md);
    background: var(--tile);
}
.mission__kpis dt {
    order: 2;
    font-size: 0.8125rem;
    color: var(--muted);
}
.mission__kpis dd {
    order: 1;
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
}

/* ---------- how ---------- */
.steps {
    position: relative;
}
.steps__track {
    display: none;
}
.steps__list {
    display: grid;
    gap: 12px;
}
.step {
    position: relative;
    padding: 22px 22px 28px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--card);
    transition:
        border-color 0.4s var(--ease),
        background 0.4s var(--ease);
}
.step__t {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.8125rem;
    color: var(--muted);
    transition:
        background 0.4s,
        color 0.4s;
}
.step h3 {
    margin-top: 36px;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.025em;
}
.step p {
    max-width: 36ch;
    margin-top: 10px;
    color: var(--muted);
}
.step.is-on {
    border-color: rgba(255, 106, 26, 0.35);
    background:
        radial-gradient(
            90% 70% at 0% 0%,
            rgba(255, 106, 26, 0.12),
            transparent 70%
        ),
        var(--card);
}
.step.is-on .step__t {
    background: var(--accent);
    color: #140700;
    font-weight: 600;
}

/* ---------- console mock ---------- */
.console .shead {
    margin-bottom: clamp(40px, 5vw, 64px);
}
.dash {
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-xl);
    background: #0d0e10;
    color: var(--text);
    font-size: 0.8125rem;
    box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9);
}
.dash .label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--muted);
}
.dash__strip {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 10px 14px;
    border-radius: var(--r-md);
    background: var(--card);
    overflow: hidden;
    white-space: nowrap;
}
.dash__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.dash__brand .brand__mark {
    width: 26px;
    height: 26px;
    padding: 5px;
    border-radius: 8px;
    box-shadow: none;
}
.dash__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dash__item b {
    font-weight: 600;
}
.dash__item--wide {
    display: none;
}
.dash__grid {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}
.dash__map {
    position: relative;
    order: -1;
    min-height: 320px;
    overflow: hidden;
    border-radius: var(--r-lg);
}
.dash__map .tac {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.dash__legend {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    gap: 16px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(14, 15, 18, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.6875rem;
}
.dash__legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.lg {
    display: inline-block;
    width: 8px;
    height: 8px;
}
.lg--drone {
    width: 11px;
    height: 11px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none' stroke='%234c90f0'%3E%3Cpath d='M9.5 9.5l11 11M20.5 9.5l-11 11' stroke-width='2.5'/%3E%3Ccircle cx='8' cy='8' r='4.5' stroke-width='2.2'/%3E%3Ccircle cx='22' cy='8' r='4.5' stroke-width='2.2'/%3E%3Ccircle cx='8' cy='22' r='4.5' stroke-width='2.2'/%3E%3Ccircle cx='22' cy='22' r='4.5' stroke-width='2.2'/%3E%3Crect x='12' y='11.5' width='6' height='7.5' fill='%234c90f0' stroke='none'/%3E%3C/svg%3E")
        center / contain no-repeat;
}
.lg--path {
    height: 1px;
    width: 12px;
    border-top: 1px dashed var(--white);
}
.lg--ring {
    border: 1.5px solid var(--ok);
    border-radius: 50%;
}
.dash__col {
    display: grid;
    gap: 10px;
    align-content: start;
}
.tile {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--r-lg);
    background: var(--card);
}
.tile__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.tile__row b {
    font-weight: 600;
}
.ov {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.ov__cell {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    background: var(--tile);
}
.ov__cell > span:first-child {
    font-size: 0.6875rem;
    color: var(--muted);
}
.ov__cell b {
    font-size: 1.0625rem;
    font-weight: 600;
}
.ov__cell small {
    color: var(--muted);
}
.ov__bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 24px;
}
.ov__bars i {
    flex: 1;
    border-radius: 2px;
    background: var(--accent);
}
.ov__line {
    width: 100%;
    height: 24px;
}
.fleet li {
    display: grid;
    grid-template-columns: 24px 1fr auto auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--r-sm);
    font-size: 0.75rem;
}
.fleet li:nth-child(odd) {
    background: rgba(255, 255, 255, 0.03);
}
.fleet svg {
    width: 24px;
    height: 14px;
    color: var(--muted);
}
.fleet b {
    font-weight: 600;
    white-space: nowrap;
}
.fleet span {
    color: var(--muted);
}
.st {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-style: normal;
    font-size: 0.6875rem;
}
.st::before {
    content: '';
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
}
.st--fly {
    color: var(--ok);
}
.st--ret {
    color: var(--warn);
}
.st--dock {
    color: var(--muted);
}
.st--off {
    color: var(--alert);
}
.xl {
    font-size: 1.875rem;
    font-weight: 500;
    line-height: 1;
}
.xl small {
    margin-left: 4px;
    font-size: 0.75rem;
    color: var(--muted);
}
.meter {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    font-size: 0.75rem;
    color: var(--muted);
}
.meter b {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 2;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--tile);
}
.meter b::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--v);
    border-radius: inherit;
    background: var(--white);
}
.meter--alert b::after {
    background: linear-gradient(90deg, var(--accent), var(--alert));
}
.meter em {
    font-style: normal;
    color: var(--text);
}
.log li {
    display: grid;
    grid-template-columns: 56px 64px 1fr;
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    font-size: 0.75rem;
}
.log em {
    font-style: normal;
    color: var(--muted);
}
.log span:last-child {
    color: var(--muted);
}

/* ---------- vision ---------- */
.phases {
    display: grid;
    gap: 12px;
}
.phase {
    padding: 22px 22px 32px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--card);
}
.phase.is-now {
    border-color: rgba(255, 106, 26, 0.4);
    background:
        radial-gradient(
            100% 80% at 100% 0%,
            rgba(255, 106, 26, 0.16),
            transparent 65%
        ),
        var(--card-2);
}
.phase__tag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
}
.phase__now {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #ff9a5e;
}
.phase h3 {
    margin-top: clamp(40px, 5vw, 80px);
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.phase p:last-child {
    max-width: 40ch;
    margin-top: 14px;
    color: var(--muted);
}
.phase:not(.is-now) h3 {
    color: var(--muted);
}

/* ---------- contact ---------- */
.contact__grid {
    display: grid;
    gap: clamp(40px, 5vw, 80px);
}
.contact__title {
    max-width: 14ch;
    margin-top: 24px;
    font-size: clamp(2.25rem, 5.2vw, 5rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.035em;
}
.contact__intro .arrow-link {
    margin-top: 32px;
}
.form {
    display: grid;
    gap: 16px;
    align-content: start;
    padding: clamp(20px, 2.4vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: var(--card);
    box-shadow: var(--shadow);
}
.form__ok {
    display: flex;
    align-items: center;
    grid-column: 1 / -1;
    padding: 14px 16px;
    border-radius: var(--r-md);
    background: rgba(63, 179, 122, 0.12);
    font-size: 0.9375rem;
}
.field {
    display: grid;
    gap: 8px;
}
.field label {
    padding-left: 4px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--muted);
}
.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: var(--r-md);
    background: var(--tile);
    color: var(--text);
    font-size: 1rem;
    appearance: none;
    transition:
        border-color 0.2s var(--ease),
        background 0.2s var(--ease),
        box-shadow 0.2s var(--ease);
}
.field select {
    padding-right: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238d929b' stroke-width='1.5'/%3E%3C/svg%3E")
        right 16px center / 12px 8px no-repeat var(--tile);
}
.field select option {
    background: var(--card);
}
.field textarea {
    resize: vertical;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
    background-color: var(--tile-hover);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(255, 106, 26, 0.7);
    box-shadow: 0 0 0 4px rgba(255, 106, 26, 0.15);
}
.field__err {
    padding-left: 4px;
    font-size: 0.8125rem;
    color: #ff8a8d;
}
.form__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 8px;
}
.form__note {
    font-size: 0.8125rem;
    color: var(--muted);
}

/* ---------- footer ---------- */
.footer {
    padding-top: clamp(64px, 8vw, 120px);
    color: var(--text);
    overflow: hidden;
}
.footer__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 24px;
}
.footer__about {
    grid-column: 1 / -1;
    display: grid;
    gap: 16px;
    align-content: start;
    max-width: 40ch;
}
.footer__about p {
    color: var(--muted);
    font-size: 0.9375rem;
}
.footer__origin {
    font-size: 0.8125rem !important;
    color: var(--faint) !important;
}
.footer__col {
    display: grid;
    gap: 10px;
    align-content: start;
    font-size: 0.9375rem;
}
.footer__col h2 {
    margin-bottom: 6px;
    color: var(--muted);
}
.footer__col a {
    transition: color 0.2s var(--ease);
}
.footer__col a:hover {
    color: var(--accent);
}
.footer__col small {
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.6875rem;
    color: var(--faint);
}
.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: clamp(48px, 6vw, 96px);
    padding-block: 18px;
    border-top: 1px solid var(--line);
    font-size: 0.8125rem;
    color: var(--faint);
}
.footer__mark {
    margin-bottom: -0.18em;
    padding-inline: var(--gutter);
    font-size: clamp(6rem, 30vw, 34rem);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.07em;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
    user-select: none;
}

/* ---------- keyframes ---------- */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes dashflow {
    to {
        stroke-dashoffset: -24;
    }
}
@keyframes fireglow {
    50% {
        transform: scale(1.1);
        opacity: 0.75;
    }
}
@keyframes flicker {
    from {
        opacity: 0.35;
    }
    to {
        opacity: 1;
    }
}
@keyframes ping {
    from {
        transform: scale(0.6);
        opacity: 0.95;
    }
    to {
        transform: scale(3.2);
        opacity: 0;
    }
}
@keyframes pulse {
    50% {
        opacity: 0.45;
    }
}
@keyframes blink {
    50% {
        opacity: 0;
    }
}
@keyframes scan {
    to {
        top: 100%;
    }
}
@keyframes blip {
    0%,
    100% {
        opacity: 0.15;
    }
    50% {
        opacity: 1;
    }
}
@keyframes drift-in {
    from {
        opacity: 0;
        transform: scale(1.08);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* mission scene artwork (scenes.js) */
.s-flame {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: flame var(--d, 0.7s) ease-in-out infinite alternate;
    animation-delay: var(--o, 0s);
}
@keyframes flame {
    from {
        transform: scale(1.05, 0.75);
        opacity: 0.8;
    }
    to {
        transform: scale(0.92, 1.15);
        opacity: 1;
    }
}
.s-ember {
    animation: ember var(--d, 3s) linear infinite;
    animation-delay: var(--o, 0s);
}
@keyframes ember {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--x, 0), -150px);
        opacity: 0;
    }
}
.s-drift {
    animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
    to {
        transform: translateX(-24px);
    }
}
.s-blink {
    animation: blink 1.2s steps(2, jump-none) infinite;
}
.s-scan {
    animation: sscan 3.2s linear infinite;
}
@keyframes sscan {
    from {
        transform: translateY(-60px);
    }
    to {
        transform: translateY(225px);
    }
}
.s-relay {
    transform-box: fill-box;
    transform-origin: center;
    animation: relay 2.4s ease-out infinite;
}
.s-relay--2 {
    animation-delay: 1.2s;
}
@keyframes relay {
    from {
        transform: scale(0.6);
        opacity: 1;
    }
    to {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .hero__tiles {
        display: none;
    }
}

@media (max-width: 899px) {
    .nav {
        height: 56px;
    }
    .nav__burger {
        display: block;
    }
    .nav__menu {
        position: fixed;
        top: 66px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 10px;
        border: 1px solid var(--line-strong);
        border-radius: var(--r-lg);
        background: rgba(14, 15, 18, 0.96);
        font-size: 1.25rem;
    }
    .nav.is-open .nav__menu {
        display: flex;
    }
    .nav__menu a {
        padding: 14px 16px;
        border-radius: var(--r-md);
        color: var(--white);
    }
    .nav__menu .nav__app {
        margin: 6px 0 0;
        text-align: center;
    }
    .hero__card {
        display: none;
    }
    .hero__reticle {
        left: 70%;
        top: 34%;
    }
    .hero__media::after {
        background:
            radial-gradient(
                70% 45% at 70% 25%,
                rgba(255, 106, 26, 0.16),
                transparent 70%
            ),
            linear-gradient(
                0deg,
                rgba(9, 10, 12, 0.96) 0%,
                rgba(9, 10, 12, 0.7) 45%,
                rgba(9, 10, 12, 0.15) 75%
            ),
            linear-gradient(180deg, rgba(9, 10, 12, 0.6) 0%, transparent 22%);
    }
    .hero__inner {
        padding-bottom: 64px;
    }
    .hero__credit {
        left: 20px;
        right: 20px;
        bottom: 14px;
    }
}

@media (min-width: 700px) {
    .stats {
        grid-template-columns: repeat(4, 1fr);
    }
    .modules {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .module--wide {
        grid-column: 1 / -1;
    }
    .readouts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .steps__list,
    .phases {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .form {
        grid-template-columns: 1fr 1fr;
    }
    .field--full,
    .form__foot {
        grid-column: 1 / -1;
    }
    .dash__item--wide {
        display: flex;
    }
    .footer__grid {
        grid-template-columns: 2fr repeat(3, minmax(0, 1fr));
    }
    .footer__about {
        grid-column: auto;
    }
}

@media (min-width: 900px) {
    .shead--split {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        align-items: end;
    }
    .shead--split .shead__meta {
        grid-column: 1 / -1;
    }
    .mission {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        gap: clamp(16px, 2vw, 32px);
        align-items: stretch;
    }
    .mission:nth-child(even) .mission__media {
        order: 2;
    }
    .mission__body {
        justify-content: center;
    }
    .contact__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        align-items: start;
    }
}

@media (min-width: 1100px) {
    .modules {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .module--wide {
        grid-column: span 2;
    }
    .module--wide .module__visual {
        aspect-ratio: auto;
        flex: 1;
        min-height: 260px;
    }

    /* call-outs flank the schematic */
    .spec__call {
        position: absolute;
        top: var(--y);
        width: 22%;
        transform: translateY(-50%);
    }
    .spec__call--l {
        left: 0;
    }
    .spec__call--r {
        right: 0;
    }
    .spec__call p:last-child {
        font-size: 0.8125rem;
    }

    .steps__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding-top: 28px;
    }
    .steps__track {
        display: block;
        position: absolute;
        inset: 0 0 auto;
        height: 4px;
        overflow: hidden;
        border-radius: 999px;
        background: var(--tile);
    }
    .steps__track span {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, #ffb27e, var(--accent));
        box-shadow: 0 0 12px var(--accent);
        transform: scaleX(var(--p, 0));
        transform-origin: left;
    }
    .phases {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dash__grid {
        grid-template-columns: 290px minmax(0, 1fr) 290px;
    }
    .dash__map {
        order: 0;
        min-height: 580px;
    }
}

@media (max-width: 1099px) {
    .spec__stage {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
        gap: 12px;
    }
    .spec__svg {
        grid-column: 1 / -1;
        margin-bottom: 12px;
    }
}

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