/* =========================================================================
   IAFF COCKPIT HUD THEME
   Design tokens
   ========================================================================= */
:root {
    /* base */
    --void-0: #02030a;
    --void-1: #060a15;
    --panel: rgba(8, 13, 24, 0.74);
    --panel-strong: rgba(6, 10, 20, 0.92);
    --panel-border: rgba(0, 229, 255, 0.16);
    --panel-border-strong: rgba(0, 229, 255, 0.4);

    /* HUD accent set — read off a real HEU (Heads-Up-display Electronics Unit): */
    --hud-cyan: #00e5ff;    /* primary symbology */
    --hud-amber: #ffb020;   /* caution / selected waypoint */
    --hud-green: #39ff8a;   /* locked-on / good status */
    --hud-red: #ff3b4e;     /* master caution */

    --ink-0: #eef3fb;
    --ink-1: #8291a8;
    --ink-2: #4c5b70;

    --radius-panel: 14px;
    --radius-chip: 999px;

    --font-fa: 'Vazirmatn', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.iaff-body {
    /* no opaque fill here on purpose — #iaff-atmosphere (fixed, behind
       everything) is the real background for the whole site, so the sky
       and horizon stay visible as you scroll through every section, not
       just the hero. */
    background: transparent;
    color: var(--ink-0);
    font-family: var(--font-fa);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

.iaff-container { width: 92%; max-width: 1440px; margin: 0 auto; }

::selection { background: var(--hud-cyan); color: #000; }

/* thin scrollbar, tactical */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--void-0); }
::-webkit-scrollbar-thumb { background: var(--panel-border-strong); border-radius: 4px; }

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

/* =========================================================================
   TOP TICKER — "RADAR: fast movers"
   ========================================================================= */
.iaff-top-bar {
    background: var(--void-1);
    border-bottom: 1px solid var(--panel-border);
    padding: 7px 0;
    font-size: 0.8rem;
    position: relative;
    z-index: 1001;
}
.top-bar-flex { display: flex; align-items: center; gap: 16px; }
.radar-badge {
    font-family: var(--font-mono);
    background: rgba(255, 176, 32, 0.1);
    border: 1px solid var(--hud-amber);
    color: var(--hud-amber);
    padding: 3px 12px;
    border-radius: var(--radius-chip);
    font-weight: 600;
    display: flex; align-items: center; gap: 8px;
    white-space: nowrap;
    font-size: 0.72rem; letter-spacing: 0.04em;
}
.radar-ping { width: 7px; height: 7px; background: var(--hud-amber); border-radius: 50%; animation: ping 1.4s infinite ease-in-out; flex-shrink: 0; }
@keyframes ping {
    0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(255,176,32,0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(255,176,32,0); }
    100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(255,176,32,0); }
}
.ticker-scroll { display: flex; gap: 22px; overflow: hidden; white-space: nowrap; mask-image: linear-gradient(to left, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 22px; animation: ticker-move 32s linear infinite; }
.iaff-top-bar:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { color: var(--ink-1); transition: color 0.25s; font-size: 0.82rem; }
.ticker-item:hover { color: var(--hud-cyan); }
.ticker-item .tag { color: var(--hud-red); font-family: var(--font-mono); font-size: 0.7rem; margin-left: 4px; }

/* =========================================================================
   HEADER
   ========================================================================= */
.iaff-header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--panel-strong);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--panel-border);
    padding: 10px 0;
}
.header-wrapper { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand-logo { display: flex; align-items: center; gap: 12px; }
.brand-logo img { height: 40px; width: auto; display: block; }
.logo-text strong { display: block; font-size: 1.25rem; color: #fff; letter-spacing: 0.5px; }
.logo-text small { color: var(--hud-cyan); font-size: 0.68rem; font-family: var(--font-mono); letter-spacing: 0.06em; }

.nav-links { display: flex; list-style: none; gap: 22px; }
.nav-links a {
    color: var(--ink-0); font-weight: 500; font-size: 0.92rem;
    position: relative; padding: 4px 2px; transition: color 0.25s;
}
.nav-links a::before {
    content: attr(data-code);
    position: absolute; top: -13px; right: 0;
    font-family: var(--font-mono); font-size: 0.58rem; color: var(--hud-cyan);
    opacity: 0; transform: translateY(3px); transition: all 0.25s;
}
.nav-links a:hover { color: var(--hud-cyan); }
.nav-links a:hover::before { opacity: 0.8; transform: translateY(0); }

.iaff-btn {
    padding: 9px 18px; border-radius: 8px; font-weight: 700;
    font-size: 0.8rem; display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.25s; font-family: var(--font-fa); white-space: nowrap;
}
.btn-cyan { background: var(--hud-cyan); color: #001217; box-shadow: 0 0 16px rgba(0,229,255,0.35); }
.btn-cyan:hover { box-shadow: 0 0 26px rgba(0,229,255,0.7); transform: translateY(-2px); }
.btn-hud { background: rgba(57,255,138,0.08); border: 1px solid var(--hud-green); color: var(--hud-green); }
.btn-hud:hover { background: rgba(57,255,138,0.16); }
.hud-dot { width: 6px; height: 6px; background: var(--hud-green); border-radius: 50%; box-shadow: 0 0 6px var(--hud-green); }
.header-tools { display: flex; gap: 10px; align-items: center; }

/* =========================================================================
   SITE-WIDE FLIGHT ATMOSPHERE
   Fixed behind every section — sky colour, horizon and speed-streaks are
   driven live by JS (scroll depth + scroll velocity), so the same flight
   continues under the news grid, the shop, the footer — not just the hero.
   ========================================================================= */
#iaff-atmosphere { position: fixed; inset: 0; z-index: -3; overflow: hidden; background: #02030a; }
#sky-gradient { position: absolute; inset: 0; z-index: -3; transition: background 0.4s linear; }
#cockpit-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0.9; }
#horizon-layer { position: absolute; left: 0; bottom: -2%; width: 100%; height: 32%; z-index: -1; transition: transform 0.6s cubic-bezier(.16,1,.3,1); }
#contrast-scrim {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(2,3,10,0.1) 0%, rgba(2,3,10,0.55) 30%, rgba(2,3,10,0.9) 100%);
}

#canopy-frame { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.9; }
.strut { position: absolute; background: linear-gradient(135deg, rgba(3,6,14,0.95), rgba(3,6,14,0.15)); filter: blur(0.3px); }
.strut-tl { top: -6%; left: -4%; width: 26vw; height: 26vw; border-radius: 0 0 100% 0; transform: rotate(0deg); }
.strut-tr { top: -6%; right: -4%; width: 26vw; height: 26vw; border-radius: 0 0 0 100%; }
.strut-bl { bottom: -10%; left: -6%; width: 20vw; height: 20vw; border-radius: 0 100% 0 0; background: linear-gradient(45deg, rgba(3,6,14,0.9), rgba(3,6,14,0.1)); }
.strut-br { bottom: -10%; right: -6%; width: 20vw; height: 20vw; border-radius: 100% 0 0 0; background: linear-gradient(-45deg, rgba(3,6,14,0.9), rgba(3,6,14,0.1)); }
@media (max-width: 700px) { .strut-tl, .strut-tr { width: 40vw; height: 40vw; } }

/* --- persistent flight-status strip, lives inside the sticky header so it
       travels with scroll and is visible on every section, not just the hero --- */
.iaff-flight-strip {
    display: flex; gap: 22px; justify-content: center; align-items: center;
    margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--panel-border);
    font-size: 0.7rem; color: var(--ink-1); flex-wrap: wrap;
}
.iaff-flight-strip b { color: var(--hud-cyan); font-weight: 700; }
.iaff-flight-strip em { font-style: normal; color: var(--ink-2); margin-right: 3px; }
.iaff-flight-strip .wp b { color: var(--hud-amber); }
.iaff-flight-strip.banking b { color: var(--hud-red); }

/* =========================================================================
   COCKPIT HERO — real HUD symbology overlay (canvas itself now lives in
   #iaff-atmosphere so it persists past the hero)
   ========================================================================= */
.cockpit-hero { position: relative; width: 100%; height: 92vh; min-height: 560px; overflow: hidden; }

.hud-vignette {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    box-shadow: inset 0 0 140px rgba(0,229,255,0.18), inset 0 0 260px rgba(0,0,0,0.96);
    background: radial-gradient(circle at 50% 55%, rgba(0,229,255,0.02) 0%, rgba(2,3,10,0.55) 82%);
}

/* --- reticle at dead centre --- */
.hud-reticle {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 120px; height: 120px; z-index: 4; pointer-events: none;
}
.hud-reticle svg { width: 100%; height: 100%; overflow: visible; }
.hud-reticle .ring { fill: none; stroke: var(--hud-cyan); stroke-width: 1; opacity: 0.85; }
.hud-reticle .tick { stroke: var(--hud-cyan); stroke-width: 1.5; opacity: 0.9; }
.hud-reticle .dot { fill: var(--hud-cyan); }

/* --- pitch ladder (artificial horizon), centred, drifts with mouseY --- */
.hud-pitch-ladder {
    position: absolute; top: 50%; left: 50%; z-index: 3; pointer-events: none;
    transform: translate(-50%, -50%);
    display: flex; flex-direction: column; gap: 34px; align-items: center;
    font-family: var(--font-mono); font-size: 0.68rem; color: var(--hud-cyan);
    opacity: 0.55;
}
.pitch-rung { display: flex; align-items: center; gap: 8px; }
.pitch-rung .bar { width: 46px; height: 1px; background: var(--hud-cyan); }
.pitch-rung.neg .bar { background: var(--ink-1); }

/* --- top compass / heading tape --- */
.hud-heading-tape {
    position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
    z-index: 5; width: min(560px, 70%); height: 34px; overflow: hidden;
    background: rgba(2,6,14,0.55); border: 1px solid var(--panel-border); border-radius: 8px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.hud-heading-tape .tape-track {
    position: absolute; top: 0; height: 100%; display: flex; align-items: center;
    gap: 40px; padding: 0 20px; will-change: transform;
}
.hud-heading-tape .tape-mark { font-family: var(--font-mono); font-size: 0.72rem; color: var(--hud-cyan); opacity: 0.75; white-space: nowrap; }
.hud-heading-tape .tape-mark strong { color: #fff; opacity: 1; }
.hud-heading-tape::after {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 2px; height: 100%; background: var(--hud-amber); box-shadow: 0 0 8px var(--hud-amber);
}

/* --- right-side altitude tape --- */
.hud-alt-tape {
    position: absolute; top: 50%; right: 26px; transform: translateY(-50%);
    z-index: 5; width: 74px; height: 240px; overflow: hidden;
    background: rgba(2,6,14,0.55); border: 1px solid var(--panel-border); border-radius: 8px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}
.hud-alt-tape .tape-track { position: absolute; left: 0; width: 100%; display: flex; flex-direction: column; gap: 26px; padding: 20px 0; align-items: center; }
.hud-alt-tape .tape-mark { font-family: var(--font-mono); font-size: 0.68rem; color: var(--hud-cyan); opacity: 0.75; }
.hud-alt-tape::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 100%; height: 2px; background: var(--hud-amber); box-shadow: 0 0 8px var(--hud-amber);
}
.hud-alt-label {
    position: absolute; top: 50%; right: 108px; transform: translateY(-50%);
    z-index: 5; font-family: var(--font-mono); text-align: left;
    background: rgba(2,6,14,0.7); border: 1px solid var(--hud-amber); border-radius: 6px;
    padding: 4px 8px; color: var(--hud-amber); font-size: 0.78rem;
}
.hud-alt-label span { display: block; font-size: 0.58rem; color: var(--ink-1); }

/* --- left-side speed / mach readout --- */
.hud-speed-tape {
    position: absolute; top: 50%; left: 26px; transform: translateY(-50%);
    z-index: 5; width: 74px; height: 240px; overflow: hidden;
    background: rgba(2,6,14,0.55); border: 1px solid var(--panel-border); border-radius: 8px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}
.hud-speed-tape .tape-track { position: absolute; left: 0; width: 100%; display: flex; flex-direction: column; gap: 26px; padding: 20px 0; align-items: center; }
.hud-speed-tape .tape-mark { font-family: var(--font-mono); font-size: 0.68rem; color: var(--hud-green); opacity: 0.75; }
.hud-speed-tape::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 100%; height: 2px; background: var(--hud-green); box-shadow: 0 0 8px var(--hud-green);
}
.hud-mach-label {
    position: absolute; top: 50%; left: 108px; transform: translateY(-50%);
    z-index: 5; font-family: var(--font-mono);
    background: rgba(2,6,14,0.7); border: 1px solid var(--hud-green); border-radius: 6px;
    padding: 4px 8px; color: var(--hud-green); font-size: 0.78rem;
}
.hud-mach-label span { display: block; font-size: 0.58rem; color: var(--ink-1); }

/* --- corner telemetry readouts --- */
.hud-corner {
    position: absolute; z-index: 5; font-family: var(--font-mono); font-size: 0.68rem;
    color: var(--ink-1); line-height: 1.7; pointer-events: none;
}
.hud-corner b { color: var(--hud-cyan); }
.hud-corner.tl { top: 78px; left: 26px; text-align: left; }
.hud-corner.bl { bottom: 34px; left: 26px; text-align: left; }

/* --- headline card --- */
.hud-headline-card {
    position: absolute; bottom: 40px; right: 5%; z-index: 10;
    background: var(--panel-strong); border: 1px solid var(--panel-border-strong);
    padding: 22px 26px; border-radius: var(--radius-panel);
    backdrop-filter: blur(10px); max-width: 460px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.hud-headline-card .eyebrow {
    color: var(--hud-amber); font-size: 0.75rem; font-weight: 700;
    font-family: var(--font-mono); display: flex; align-items: center; gap: 8px;
}
.hud-headline-card .eyebrow::before { content: '▲'; font-size: 0.6rem; }
.hud-headline-card h1 { color: #fff; font-size: 1.55rem; margin: 10px 0 12px; line-height: 1.5; }
.hud-headline-card p { color: var(--ink-1); font-size: 0.86rem; line-height: 1.7; }
.hud-headline-card .cta-row { margin-top: 16px; display: flex; gap: 10px; }

@media (max-width: 900px) {
    .hud-alt-tape, .hud-speed-tape, .hud-mach-label, .hud-alt-label, .hud-pitch-ladder, .hud-corner.bl { display: none; }
    .hud-headline-card { right: 4%; left: 4%; max-width: none; bottom: 24px; }
    .hud-heading-tape { width: 88%; top: 16px; }
}

/* =========================================================================
   CANOPY ARCH + SIDE CONSOLES — physical cockpit framing for .cockpit-hero.
   Purely decorative chrome (confined to the hero — never bleeds onto news
   text below it, unlike the site-wide atmosphere layer).
   ========================================================================= */
.canopy-top-bow {
    position: absolute; top: 0; left: 8%; right: 8%; height: 22px; z-index: 6;
    background: linear-gradient(180deg, #1b263b 0%, #0d1527 100%);
    border-bottom: 2px solid rgba(0,229,255,0.35);
    border-radius: 0 0 60% 60% / 0 0 18px 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
    pointer-events: none;
}
.canopy-arch-shade {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(ellipse at 50% 28%, transparent 58%, rgba(2,4,10,0.9) 88%);
}

.cockpit-console {
    position: absolute; bottom: 0; z-index: 7; width: min(260px, 26vw); height: 130px;
    background: linear-gradient(135deg, rgba(11,18,32,0.92) 0%, rgba(5,8,17,0.96) 100%);
    border: 1px solid var(--panel-border); padding: 12px 16px;
    display: flex; flex-direction: column; justify-content: space-between;
    box-shadow: 0 -12px 30px rgba(0,0,0,0.6); pointer-events: none;
}
.cockpit-console.left { left: 0; border-radius: 0 22px 0 0; }
.cockpit-console.right { right: 0; border-radius: 22px 0 0 0; }
.cockpit-console .console-label { font-family: var(--font-mono); font-size: 0.68rem; color: var(--hud-cyan); opacity: 0.85; }
.console-row { display: flex; gap: 10px; }
.analog-gauge {
    width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
    border: 2px solid var(--hud-cyan); background: #04070f;
    display: flex; align-items: center; justify-content: center; text-align: center;
    font-size: 0.56rem; line-height: 1.2; color: var(--hud-cyan); font-family: var(--font-mono);
    box-shadow: inset 0 0 8px rgba(0,229,255,0.35);
}
@media (max-width: 900px) { .cockpit-console { display: none; } .canopy-top-bow { left: 3%; right: 3%; } }

/* =========================================================================
   3D COVERFLOW SLIDER — "priority contacts"
   ========================================================================= */
.contacts-swiper-wrap { padding: 60px 0 20px; position: relative; }
.contacts-heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 28px; }
.contacts-heading h2 { font-size: 1.6rem; color: #fff; }
.contacts-heading span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--hud-cyan); border: 1px solid var(--panel-border-strong); padding: 3px 10px; border-radius: var(--radius-chip); }

.swiper-slide-contact {
    width: 68%; height: 420px; border-radius: 16px; overflow: hidden;
    position: relative; border: 1px solid var(--panel-border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.swiper-slide-contact img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.05); }
.contact-frame {
    position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,4,10,0.96) 0%, rgba(2,4,10,0.2) 55%, transparent 75%);
    padding: 30px; display: flex; flex-direction: column; justify-content: flex-end;
}
.contact-frame .frame-tag { font-family: var(--font-mono); font-size: 0.7rem; color: var(--hud-green); margin-bottom: 10px; }
.contact-frame h2 { font-size: 1.5rem; color: #fff; line-height: 1.5; }
.contact-corner { position: absolute; width: 22px; height: 22px; border-color: var(--hud-cyan); border-style: solid; opacity: 0.9; }
.contact-corner.tl { top: 14px; left: 14px; border-width: 2px 0 0 2px; }
.contact-corner.tr { top: 14px; right: 14px; border-width: 2px 2px 0 0; }
.contact-corner.bl { bottom: 14px; left: 14px; border-width: 0 0 2px 2px; }
.contact-corner.br { bottom: 14px; right: 14px; border-width: 0 2px 2px 0; }

/* =========================================================================
   BENTO GRID NEWS — target-lock cards
   ========================================================================= */
.bento-section { padding: 70px 0; }
.section-header { margin-bottom: 36px; display: flex; align-items: center; gap: 12px; }
.section-header h2 { font-size: 1.9rem; color: #fff; }
.section-header::before { content: ''; width: 5px; height: 30px; background: var(--hud-amber); border-radius: 3px; }
.section-header .waypoint-id { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-1); border: 1px dashed var(--panel-border-strong); padding: 3px 10px; border-radius: var(--radius-chip); }

.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bento-card {
    position: relative;
    background: var(--panel); border: 1px solid var(--panel-border);
    border-radius: var(--radius-panel); overflow: hidden; padding: 18px;
    transition: transform 0.4s cubic-bezier(.16,1,.3,1), border-color 0.3s, box-shadow 0.4s;
}
.bento-card:hover { transform: translateY(-6px); border-color: var(--hud-cyan); box-shadow: 0 20px 40px rgba(0,229,255,0.15); }
.bento-card.large { grid-column: span 2; grid-row: span 2; }
.bento-card .thumb { position: relative; border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.bento-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.bento-card.large img { height: 370px; }

.lock-bracket { position: absolute; width: 18px; height: 18px; border-color: var(--hud-green); border-style: solid; opacity: 0; transition: opacity 0.3s, transform 0.3s; }
.bento-card:hover .lock-bracket { opacity: 1; }
.lock-bracket.tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.lock-bracket.tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.lock-bracket.bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.lock-bracket.br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }
.bento-card:hover .lock-bracket.tl, .bento-card:hover .lock-bracket.br { transform: scale(1.08); }

.telemetry-row {
    display: flex; justify-content: space-between; font-family: var(--font-mono);
    font-size: 0.64rem; color: var(--ink-2); margin-bottom: 8px; opacity: 0;
    transform: translateY(-4px); transition: all 0.3s;
}
.bento-card:hover .telemetry-row { opacity: 1; transform: translateY(0); color: var(--hud-cyan); }
.bento-card h3 { font-size: 1.12rem; margin-bottom: 8px; line-height: 1.5; }
.bento-card h3 a:hover { color: var(--hud-cyan); }
.bento-card p { color: var(--ink-1); font-size: 0.84rem; line-height: 1.7; }
.bento-card .meta { display: flex; gap: 10px; margin-top: 12px; font-size: 0.72rem; color: var(--ink-2); font-family: var(--font-mono); }

/* =========================================================================
   VIDEO FEED — "tactical camera"
   ========================================================================= */
.feed-section { padding: 70px 0; background: rgba(6,10,20,0.5); border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border); }
.feed-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.feed-main { position: relative; border-radius: var(--radius-panel); overflow: hidden; border: 1px solid var(--panel-border-strong); background: #000; }
.feed-main video, .feed-main iframe { width: 100%; height: 100%; min-height: 380px; display: block; }
.feed-hud-frame { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(0,229,255,0.1); }
.feed-hud-frame .rec {
    position: absolute; top: 16px; left: 16px; display: flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 0.72rem; color: var(--hud-red);
}
.feed-hud-frame .rec .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hud-red); animation: ping 1.2s infinite; }
.feed-hud-frame .cam-id { position: absolute; bottom: 16px; right: 16px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--hud-cyan); background: rgba(0,0,0,0.5); padding: 3px 9px; border-radius: 4px; }
.feed-list { display: flex; flex-direction: column; gap: 12px; }
.feed-list-item {
    display: flex; gap: 12px; background: var(--panel); border: 1px solid var(--panel-border);
    border-radius: 10px; padding: 10px; transition: border-color 0.25s;
}
.feed-list-item:hover { border-color: var(--hud-cyan); }
.feed-list-item img { width: 90px; height: 64px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.feed-list-item h4 { font-size: 0.9rem; line-height: 1.5; margin-bottom: 4px; }
.feed-list-item span { font-family: var(--font-mono); font-size: 0.65rem; color: var(--ink-2); }

/* =========================================================================
   SHOP — equipment pods
   ========================================================================= */
.shop-section { padding: 70px 0; }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shop-card {
    background: var(--panel); border: 1px solid var(--panel-border);
    border-radius: var(--radius-panel); padding: 20px; text-align: center;
    transition: transform 0.4s, border-color 0.4s; position: relative;
}
.shop-card:hover { border-color: var(--hud-green); transform: translateY(-6px); }
.shop-card .pod-id { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: 0.6rem; color: var(--ink-2); }
.shop-card img { width: 100%; height: 200px; object-fit: contain; margin-bottom: 14px; }
.shop-price { color: var(--hud-green); font-size: 1.15rem; font-weight: bold; margin: 10px 0; font-family: var(--font-mono); }
.shop-card h3 { font-size: 1rem; color: #fff; }

/* =========================================================================
   SINGLE POST
   ========================================================================= */
.single-article { background: var(--panel); border: 1px solid var(--panel-border); border-radius: 20px; padding: 40px; backdrop-filter: blur(12px); }
.single-meta { display: flex; gap: 16px; font-size: 0.82rem; color: var(--hud-cyan); margin-bottom: 16px; font-family: var(--font-mono); flex-wrap: wrap; }
.single-article h1 { font-size: 2.1rem; color: #fff; line-height: 1.5; margin-bottom: 24px; }
.single-thumb { border-radius: 16px; overflow: hidden; margin-bottom: 28px; border: 1px solid var(--panel-border); }
.single-thumb img { width: 100%; height: auto; display: block; }
.single-content { color: #e5edf7; font-size: 1.08rem; line-height: 2; margin-bottom: 36px; }
.single-content img { max-width: 100%; border-radius: 10px; }
.single-footer { border-top: 1px solid var(--panel-border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--ink-1); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.iaff-footer { background: var(--void-0); border-top: 1px solid var(--panel-border); padding: 60px 0 26px; margin-top: 70px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-grid h3, .footer-grid h4 { color: #fff; margin-bottom: 14px; }
.footer-grid p, .footer-grid a { color: var(--ink-1); font-size: 0.88rem; line-height: 1.8; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a:hover { color: var(--hud-cyan); }
.footer-bottom { text-align: center; border-top: 1px solid var(--panel-border); padding-top: 22px; color: var(--ink-2); font-size: 0.82rem; font-family: var(--font-mono); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
    .bento-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card.large { grid-column: span 2; grid-row: span 1; }
    .nav-links { display: none; }
    .feed-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .bento-grid, .shop-grid { grid-template-columns: 1fr; }
    .bento-card.large { grid-column: span 1; }
    .cockpit-hero { height: 100vh; }
    .swiper-slide-contact { width: 84%; height: 320px; }
}
