*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #050505;
    --bg-2: #111111;
    --text: #f5f5f5;
    --muted: rgba(245,245,245,0.68);
    --muted-2: rgba(245,245,245,0.42);
    --accent: #ffffff;
    --accent-2: #bdbdbd;
    --border: rgba(255,255,255,0.14);
    --border-2: rgba(255,255,255,0.08);
    --glow-cyan: rgba(255,255,255,0.18);
    --glow-orange: rgba(255,255,255,0.12);
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Sora', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

#starfield {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

a { color: inherit; text-decoration: none; }

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 5vw;
    position: relative;
    z-index: 1;
}

/* ── NAV ───────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(5,5,5,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding-left: calc(max(0px, (100vw - 1220px) / 2) + 5vw);
    padding-right: calc(max(0px, (100vw - 1220px) / 2) + 5vw);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: clamp(44px, calc(2.1vw + 36px), 66px);
    width: auto;
    max-width: clamp(170px, calc(7.5vw + 142px), 250px);
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-kicker {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--muted-2);
}

.brand-name {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 16px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

.nav-team {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    transition: color 0.2s;
    margin-right: 24px;
}

.nav-team:hover { color: var(--accent); }

.nav-cta {
    border: 1px solid var(--accent);
    padding: clamp(7px, calc(0.3vw + 5.9px), 10px) clamp(13px, calc(0.85vw + 9.8px), 22px);
    border-radius: 999px;
    color: var(--accent);
    font-size: clamp(10px, calc(0.2vw + 9.3px), 12px);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    background: none;
    font-family: 'Sora', sans-serif;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.nav-cta:hover {
    background: var(--accent);
    color: #050505;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
}

/* ── HERO ──────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    position: relative;
    overflow: hidden;
    background: #050505;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5,5,5,0.02) 0%,
        rgba(5,5,5,0.08) 35%,
        rgba(5,5,5,0.28) 72%,
        rgba(5,5,5,0.45) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(5,5,5,0.55), transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-inner {
    padding: 40px 0;
    width: 100%;
}

.hero-content { position: relative; z-index: 2; padding-left: 5vw; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 24px;
}

.eyebrow::before {
    content: '';
    width: 28px; height: 1px;
    background: var(--accent);
    opacity: 0.6;
}

.hero-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(22px, 4.6vw, 72px);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: clamp(12px, 1.4vw, 24px);
}


.hero-tagline {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(11px, 1.6vw, 24px);
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.72);
    text-transform: uppercase;
    margin-top: clamp(12px, 1.4vw, 22px);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: clamp(8px, 0.8vw, 14px);
}

.hero-tagline::before {
    content: '';
    width: clamp(18px, 2vw, 32px);
    height: clamp(2px, 0.2vw, 3px);
    background: #ffffff;
    flex-shrink: 0;
}


.hero-for {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    text-transform: lowercase;
    letter-spacing: 0.02em;
    font-weight: 400;
}

.hero-sub {
    max-width: 520px;
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: clamp(11px, calc(0.28vw + 9.95px), 14px) clamp(20px, calc(0.75vw + 17.2px), 28px);
    border-radius: 999px;
    font-size: clamp(11px, calc(0.1vw + 10.6px), 12px);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    cursor: pointer;
    font-family: 'Sora', sans-serif;
    background: none;
    -webkit-appearance: none;
    appearance: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #050505;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow-cyan);
}

.btn-ghost {
    border-color: var(--border-2, rgba(232,244,255,0.12));
    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.metric { display: grid; gap: 6px; text-align: center; }

.metric-value {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(16px, calc(1.8vw + 8px), 26px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.metric-label {
    font-size: clamp(8px, calc(0.15vw + 7.5px), 10px);
    color: var(--muted-2);
    text-transform: uppercase;
    letter-spacing: clamp(0.12em, 0.2em, 0.2em);
}

/* ── TELEMETRY PANEL ───────────────────────────── */
.telem-panel {
    position: relative;
    z-index: 1;
    background: rgba(17,17,17,0.78);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 60px rgba(255,255,255,0.06), inset 0 1px 0 rgba(255,255,255,0.1);
}

.telem-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.telem-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.telem-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.telem-stage-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
}

.telem-stage-badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 9px;
}

.telem-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.telem-metric {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.telem-metric:nth-child(odd) {
    border-right: 1px solid var(--border);
}

.telem-metric-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted-2);
    margin-bottom: 6px;
}

.telem-metric-value {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 24px;
    letter-spacing: 0.06em;
    color: var(--text);
    line-height: 1;
}

.telem-metric-unit {
    font-size: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-top: 4px;
}

.telem-chart {
    padding: 16px 20px 20px;
    border-bottom: 1px solid var(--border);
}

.telem-chart-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted-2);
    margin-bottom: 10px;
}

.telem-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 48px;
}

.telem-bar {
    flex: 1;
    background: rgba(255,255,255,0.15);
    border-radius: 3px 3px 0 0;
    min-height: 4px;
    transition: height 0.5s ease;
}

.telem-bar.active {
    background: var(--accent);
    box-shadow: 0 0 8px var(--glow-cyan);
}

.telem-status-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.telem-status-item {
    padding: 14px 20px;
    border-right: 1px solid var(--border);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.telem-status-item:last-child { border-right: none; }

.telem-status-label { color: var(--muted-2); margin-bottom: 4px; }

.telem-status-val {
    color: #22c55e;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 11px;
}

.telem-status-val.warn { color: var(--accent-2); }

/* ── MANIFESTO ─────────────────────────────────── */
#manifesto {
    background: url('../images/r2.png') center center / cover no-repeat;
    position: relative;
}

#manifesto::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5,5,5,0.78) 0%,
        rgba(5,5,5,0.60) 40%,
        rgba(5,5,5,0.78) 100%
    );
    z-index: 0;
    pointer-events: none;
}

#manifesto > .container {
    position: relative;
    z-index: 1;
    text-align: right;
}

#manifesto .section-kicker { justify-content: flex-end; }

#manifesto .lead { margin-left: auto; }

/* ── SECTION COMMON ────────────────────────────── */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section > .container { width: 100%; }

.cap-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    z-index: 0;
    pointer-events: none;
}

.roadmap-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
}

.section-kicker {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--accent);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-kicker::before {
    content: '';
    width: 20px; height: 1px;
    background: var(--accent);
    opacity: 0.5;
}

.section-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(28px, 4.2vw, 56px);
    line-height: 1.0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 56px;
    align-items: flex-end;
}

.lead {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.75;
}

/* ── SPLIT SECTION ─────────────────────────────── */
.split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
    align-items: center;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.pill {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    transition: all 0.2s;
}

.pill:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ── STATS ROW ─────────────────────────────────── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    margin-top: 56px;
    border-top: 1px solid var(--border);
}

.stat-block {
    padding: 28px 32px;
    position: relative;
    text-align: center;
    transition: opacity 0.3s;
}

.stat-block:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 28px;
    bottom: 28px;
    width: 1px;
    background: var(--border);
}

.stats-row:hover .stat-block { opacity: 0.45; }
.stats-row:hover .stat-block:hover { opacity: 1; }

.stat-num {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(17px, 1.9vw, 24px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    line-height: 1;
}

.stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-top: 10px;
}

#platform {
    min-height: unset;
    align-items: flex-start;
    padding: 60px 0;
}

#platform .section-head { margin-bottom: 20px; }
#platform .platform-layout { margin-top: 16px; }

/* ── PLATFORM LAYOUT ───────────────────────────── */
.platform-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 32px;
}

.platform-left { display: flex; flex-direction: column; }

.vehicle-name {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(52px, 6.5vw, 88px);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    line-height: 1;
}

.vehicle-sub { color: var(--muted); margin-top: 10px; font-size: 15px; }

.vehicle-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 28px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.platform-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.platform-right img {
    width: 100%;
    max-height: clamp(260px, 55vw, 900px);
    object-fit: contain;
    filter: drop-shadow(0 0 80px rgba(255,255,255,0.06));
}

.spec-value {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 19px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.spec-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted-2);
    margin-top: 3px;
}

/* ── CAPABILITIES ──────────────────────────────── */
.cap-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 48px;
}

.cap-bar-item {
    padding: 40px 36px;
    background: rgba(12,12,12,0.85);
    transition: background 0.3s;
}

.cap-bar-item:hover { background: rgba(255,255,255,0.04); }

.cap-num {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--accent);
    opacity: 0.45;
    margin-bottom: 16px;
}

.cap-bar-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(17px, 1.9vw, 22px);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.1;
    margin-bottom: 14px;
}

.cap-desc { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ── ROADMAP ───────────────────────────────────── */
.timeline {
    display: grid;
    gap: 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--accent), transparent);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding: 28px 28px 28px 72px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(17,17,17,0.5);
    margin-bottom: 16px;
    transition: border-color 0.3s;
}

.timeline-item:hover { border-color: rgba(255,255,255,0.3); }

.timeline-item::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 34px;
    width: 12px; height: 12px;
    background: var(--bg);
    border: 2px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 16px var(--glow-cyan);
}

.timeline-phase {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    margin-bottom: 6px;
}

.timeline-title {
    font-family: 'Chakra Petch', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 16px;
    margin-bottom: 8px;
}

.timeline-desc { color: var(--muted); font-size: 14px; }

/* ── CTA ───────────────────────────────────────── */
.cta {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 0 44px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 500px at 50% 50%, rgba(255,255,255,0.06), transparent 70%),
        linear-gradient(180deg, transparent, rgba(255,255,255,0.03), transparent);
    pointer-events: none;
}

.cta-inner { text-align: center; position: relative; z-index: 1; width: 100%; }

.cta-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(28px, 4.7vw, 60px);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1;
}

.cta-title span { color: var(--accent); }

.cta-sub {
    color: var(--muted);
    max-width: 500px;
    margin: 0 auto 36px;
    font-size: 16px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── CONTACT ───────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: start;
}

.contact-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px 28px;
    background: rgba(7,13,26,0.6);
}

.contact-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child { border-bottom: none; }

.contact-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted-2);
    margin-bottom: 6px;
}

.contact-value { font-size: 15px; }
.contact-value a:hover { color: var(--accent); }

.form { display: grid; gap: 16px; }

.form-status {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    border: 1px solid var(--border);
    background: rgba(7,13,26,0.6);
}

.form-status.success { border-color: rgba(34,197,94,0.4); color: #22c55e; }
.form-status.error { border-color: rgba(255,100,100,0.4); color: #ffb3b3; }

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}

.field { display: grid; gap: 6px; }

.field label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted-2);
}

.field input,
.field textarea,
.field select {
    background: rgba(7,13,26,0.8);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--text);
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    transition: border-color 0.2s;
    outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: rgba(255,255,255,0.4);
}

.field textarea { resize: vertical; min-height: 120px; }

/* ── MODAL ─────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.modal-box {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 48px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.25s ease;
}
.modal-overlay.open .modal-box {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--muted-2);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.modal-close:hover { color: var(--accent); }
.modal-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(17px, 2.3vw, 24px);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0;
}
@media (max-width: 600px) {
    .modal-box { padding: 32px 20px; }
    .modal-overlay { padding: 12px; }
}
@media (max-width: 400px) {
    .modal-box { padding: 28px 16px; }
}

/* ── FOOTER ────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    padding: clamp(28px, calc(1.5vw + 26px), 48px) 0 clamp(24px, calc(1.2vw + 22px), 40px);
    position: relative;
    z-index: 1;
}

.footer-home {
    padding-top: clamp(20px, 2.5vw, 32px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: clamp(24px, 3vw, 48px);
    margin-bottom: clamp(20px, 2vw, 36px);
}

.footer-title {
    font-size: clamp(10px, calc(0.1vw + 9.5px), 11px);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted-2);
    margin-bottom: clamp(12px, 1.2vw, 18px);
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 11px;
    font-size: clamp(12px, calc(0.2vw + 11px), 14px);
    color: var(--muted);
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: clamp(12px, 1.5vw, 20px);
    font-size: clamp(12px, calc(0.3vw + 11px), 15px);
    color: var(--muted-2);
    padding-top: clamp(16px, 1.8vw, 22px);
}

.footer-contact {
    text-align: right;
    display: grid;
    gap: 6px;
}

.footer-brand {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
}

.footer-linkedin {
    width: clamp(28px, calc(1.5vw + 20px), 34px);
    height: clamp(28px, calc(1.5vw + 20px), 34px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted-2);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-linkedin-text {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(11px, calc(0.15vw + 10px), 13px);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    line-height: 1;
}

.footer-linkedin svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-linkedin:hover {
    color: #ffffff;
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
}

.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: #ffffff; }

/* ── REVEAL ────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in { opacity: 1; transform: translateY(0); }

/* ── DIVIDER ───────────────────────────────────── */
.divider {
    width: 100%;
    line-height: 0;
    position: relative;
    z-index: 1;
}

.divider svg { display: block; width: 100%; }

/* ── RESPONSIVE ────────────────────────────────── */

/* ≤1060px */
@media (max-width: 1060px) {
    .telem-panel { display: none; }
}

/* ≤960px: tablet landscape */
@media (max-width: 960px) {
    .section { padding: 64px 0; }
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        border-bottom: 1px solid var(--border);
    }
    .stat-block { border-bottom: 1px solid var(--border); padding: 22px 16px; text-align: center; }
    /* hide ::after on right-col items (even) and remove bottom border on last row */
    .stat-block:nth-child(even)::after { display: none; }
    .stat-block:nth-last-child(-n+2) { border-bottom: none; }
    .cta { min-height: auto; padding: 64px 0 36px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    #manifesto > .container { text-align: left; }
    #manifesto .section-kicker { justify-content: flex-start; }
    #manifesto .lead { margin-left: 0; }
    .platform-right { justify-content: center; }
    .platform-layout { gap: 36px; }
    .section-head { gap: 24px; }
}

/* ≤860px: tablet portrait */
@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .nav-links {
        position: absolute;
        top: 72px; left: 5vw; right: 5vw;
        background: rgba(4,8,18,0.97);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: all 0.25s ease;
    }
    .nav-links.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    /* Keep 3-col metrics so no orphaned 3rd item */
    .hero-metrics { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .cap-bar { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; }
}

/* ≤768px: small tablet — platform stays side-by-side, scaled */
@media (max-width: 768px) {
    .platform-layout { gap: 20px; }
    .vehicle-specs { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 16px; }
    .vehicle-name { font-size: clamp(36px, 8vw, 64px); }
    .spec-value { font-size: 15px; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .hero-content { padding-left: 0; }
}

/* ≤640px: mobile */
@media (max-width: 640px) {
    .section { min-height: auto; padding: 56px 0; }
    .cta { min-height: auto; padding: 56px 0 40px; }
    /* dvh accounts for iOS browser toolbar; vh is the fallback */
    .hero { min-height: 100vh; min-height: 100dvh; }
    .section-head { margin-bottom: 28px; }

    /* Hero */
    .hero-inner { padding: 24px 0; }
    /* tighter letter-spacing saves space in compact 3-col layout */
    .metric-value { letter-spacing: 0.04em; }
    .metric-label { letter-spacing: 0.1em; }

    /* Stats 2×2 */
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stat-block { padding: 18px 10px; }
    .stat-block:nth-child(even)::after { display: none; }
    .stat-block:nth-last-child(-n+2) { border-bottom: none; }
    .stat-num { font-size: clamp(13px, 3.8vw, 18px); }
    .stat-label { font-size: 9px; margin-top: 6px; }

    /* Capabilities */
    .cap-bar { grid-template-columns: 1fr; }
    .cap-bar-item { padding: 28px 22px; }

    /* Timeline */
    .timeline::before { left: 14px; }
    .timeline-item { padding: 18px 16px 18px 46px; margin-bottom: 12px; border-radius: 12px; }
    .timeline-item::before { left: 8px; top: 24px; width: 10px; height: 10px; }
    .timeline-title { font-size: 14px; }
    .timeline-desc { font-size: 13px; }

    /* CTA */
    .cta-title { font-size: clamp(28px, 8vw, 44px); }
    .cta-sub { font-size: 14px; margin-bottom: 28px; }

    /* Text */
    .lead { font-size: 15px; line-height: 1.65; }
    .section-title { line-height: 1.05; }

    /* Footer */
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-contact { text-align: left; }
}

/* ≤480px: small phone — platform stacks */
@media (max-width: 480px) {


    .platform-layout { grid-template-columns: 1fr; }
    .vehicle-name { font-size: clamp(44px, 13vw, 68px); }
    .vehicle-specs { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .vehicle-sub { font-size: 14px; }
    .spec-value { font-size: 16px; }
    .hero-metrics { gap: 8px; }
    .cap-bar-item { padding: 22px 18px; }
    .section-title { font-size: clamp(26px, 7vw, 40px); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
