
:root {
    --ir-blue-deep:   #0b3f7a;   /* L8 deep blue */
    --ir-blue-mid:    #1670bf;   /* L8 medium blue */
    --ir-blue-bright: #3b82f6;   /* tailwind blue-500 */
    --ir-blue-glow:   #60a5fa;   /* lighter accent */
    --ir-night:       #050b1a;   /* almost-black navy */
    --ir-night-2:     #0a1828;   /* navy mid */
}

.hero-air {
    position: relative;
    min-height: clamp(560px, 88vh, 920px);
    background:
        linear-gradient(135deg, var(--ir-night) 0%, var(--ir-night-2) 40%, var(--ir-blue-deep) 100%);
    overflow: hidden;
    color: #f8fafc;
    isolation: isolate;
    padding-bottom: 56px;   /* extra room for the fade zone below the hero copy */
}
/* Bottom fade-to-cream — bridges the dark hero into the warm spine below */
.hero-air::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 160px;
    background: linear-gradient(180deg,
        rgba(5, 11, 26, 0)        0%,
        rgba(15, 23, 42, 0.35)   45%,
        rgba(120, 110, 95, 0.55) 80%,
        #faf8f3                 100%
    );
    pointer-events: none;
    z-index: 4;
}
/* Subtle film grain — replaces the dated gradient orbs */
.hero-air-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.45;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.32 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero-air-grid {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 32px 56px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 980px) {
    .hero-air-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        /* Horizontal padding moved to children so grid tracks stay within viewport */
        padding: 48px 0 64px;
    }
    .hero-air-copy {
        min-width: 0;
        padding-left: 24px;
        padding-right: 24px;
    }
    .hero-air-stage-wrap {
        padding-left: 24px;
        padding-right: 24px;
    }
}
@media (max-width: 680px) {
    /* Tighten vertical rhythm so the primary CTA clears the fold on a 390px phone */
    .hero-air-grid {
        padding-top: 20px;
        padding-bottom: 44px;
        gap: 18px;
    }
    .hero-air-stage-wrap {
        order: -1;
        max-height: 180px;
        /* Full-bleed photo on mobile — remove tablet side padding */
        padding-left: 0;
        padding-right: 0;
    }
    .hero-air-stage {
        aspect-ratio: 16 / 9;
        max-height: 180px;
    }
    .hero-air-photo-credit {
        display: none;
    }
    .hero-air-copy {
        overflow: hidden;
    }
    .hero-air-eyebrow {
        margin-bottom: 12px;
    }
    .hero-air-headline {
        margin-bottom: 12px;
    }
    .hero-air-headline .hero-air-line {
        text-wrap: wrap;
    }
    .hero-air-sub {
        margin-bottom: 18px;
    }
}

/* Logo bar above headline */
.hero-air-logo {
    margin-bottom: 36px;
    display: flex; align-items: center;
    height: 44px;
}
.hero-air-logo img {
    height: 32px; width: auto;
    filter: brightness(0) invert(1);   /* force the logo to render pure white on dark */
    opacity: 0.95;
}

/* ── Left: copy ────────────────────────────────────────────────── */
.hero-air-copy { max-width: 580px; }

.hero-air-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(96, 165, 250, 0.10);
    border: 1px solid rgba(96, 165, 250, 0.30);
    color: #93c5fd;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
}
.hero-air-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 999px;
    background: #60a5fa;
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.8);
}

.hero-air-headline {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Inter", sans-serif;
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 22px;
}
.hero-air-headline .hero-air-line {
    display: block;
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-wrap: balance;
}
.hero-air-headline .accent {
    color: transparent;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #1670bf 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-air-sub {
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.55;
    color: #cbd5e1;
    margin: 0 0 36px;
    overflow-wrap: break-word;
}
@media (min-width: 681px) {
    .hero-air-sub { max-width: 520px; }
}
.hero-air-sub strong {
    color: #ffffff;
    font-weight: 700;
}

.hero-air-ctas {
    display: flex; gap: 14px; flex-wrap: wrap;
    margin-bottom: 28px;
}
.hero-air-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.hero-air-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1670bf 100%);
    color: #ffffff;
    box-shadow:
        0 8px 24px rgba(22, 112, 191, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.18);
}
.hero-air-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 14px 36px rgba(22, 112, 191, 0.55),
        inset 0 1px 0 rgba(255,255,255,0.25);
}
.hero-air-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f1f5f9;
    backdrop-filter: blur(8px);
}
.hero-air-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.30);
}

/* Trust row */
.hero-air-trust {
    display: flex; align-items: center; gap: 18px;
    color: #94a3b8;
    font-size: 0.86rem;
    flex-wrap: wrap;
}
.hero-air-trust-dot {
    width: 5px; height: 5px;
    border-radius: 999px;
    background: #475569;
}

/* ── Right: photo + floating passport card ────────────────────── */
.hero-air-stage-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero-air-photo-credit {
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: right;
    color: #475569;
    margin: 0;
}
.hero-air-photo-credit::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 1px;
    background: #475569;
    vertical-align: middle;
    margin-right: 8px;
    margin-bottom: 2px;
}

.hero-air-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 720px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.55),
        0 12px 24px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(96, 165, 250, 0.08);
}
.hero-air-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    filter: contrast(1.04) saturate(1.06);
}
/* Bottom gradient over photo for card legibility */
.hero-air-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 0%,
            transparent 40%,
            rgba(5, 11, 26, 0.65) 100%
        );
    pointer-events: none;
}

/* ─── The Passport card — richer, alive ──────────────────────── */
.hero-air-card {
    position: absolute;
    left: 18px; bottom: 18px;
    width: min(320px, calc(100% - 36px));
    background: linear-gradient(160deg, rgba(11, 63, 122, 0.92) 0%, rgba(7, 30, 60, 0.94) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 18px;
    padding: 14px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.55),
        0 6px 16px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    color: #f1f5f9;
    z-index: 3;
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow: hidden;
    animation: hero-card-rise 0.8s ease-out 0.4s backwards;
}
@keyframes hero-card-rise {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
/* Animated scan-line sweep across the card */
.hero-air-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        transparent 0%,
        transparent 38%,
        rgba(96, 165, 250, 0.22) 50%,
        transparent 62%,
        transparent 100%
    );
    transform: translateX(-100%);
    animation: hero-card-scan 4.5s ease-in-out 1.5s infinite;
    pointer-events: none;
}
@keyframes hero-card-scan {
    0%   { transform: translateX(-100%); }
    60%  { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

/* Item thumbnail */
.hero-air-card-thumb {
    position: relative;
    flex: 0 0 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a5f 0%, #0a1828 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
}
.hero-air-card-thumb-emoji {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
/* QR badge on the thumb corner */
.hero-air-card-qr {
    position: absolute;
    bottom: 4px; right: 4px;
    background: rgba(255,255,255,0.95);
    color: #0b3f7a;
    font-family: 'SF Mono', Monaco, Consolas, monospace;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

/* Right column of card */
.hero-air-card-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;   /* allow text-overflow to kick in */
}
.hero-air-card-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 3px;
}
.hero-air-card-eyebrow {
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #60a5fa;
}
.hero-air-card-status {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}
.hero-air-card-status::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: hero-pulse 1.8s infinite;
}
@keyframes hero-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.hero-air-card-title {
    font-weight: 800;
    font-size: 0.98rem;
    line-height: 1.15;
    color: #ffffff;
}
.hero-air-card-meta {
    font-size: 0.7rem;
    color: #93c5fd;
    margin-top: 2px;
    font-family: 'SF Mono', Monaco, Consolas, monospace;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Proof chips row */
.hero-air-card-proof-chips {
    display: flex; flex-wrap: wrap; gap: 4px;
    margin-top: 6px;
}
.hero-air-card-chip {
    display: inline-flex; align-items: center; gap: 3px;
    background: rgba(96, 165, 250, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.22);
    color: #bfdbfe;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
}
.hero-air-card-chip::before {
    content: '✓';
    color: #4ade80;
    font-weight: 900;
    font-size: 0.7rem;
}

/* Proof bar */
.hero-air-card-bar-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.62rem;
    color: #cbd5e1;
    margin-top: 8px;
    margin-bottom: 4px;
}
.hero-air-card-bar-row strong {
    color: #ffffff;
    font-weight: 800;
    font-size: 0.74rem;
    letter-spacing: 0.02em;
}
.hero-air-card-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}
.hero-air-card-bar > span {
    display: block; height: 100%;
    width: 0;
    background: linear-gradient(90deg, #1670bf 0%, #3b82f6 60%, #60a5fa 100%);
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
    animation: hero-bar-fill 1.4s ease-out 1s forwards;
}
@keyframes hero-bar-fill { to { width: 92%; } }

@media (max-width: 600px) {
    .hero-air-card { padding: 12px; gap: 10px; grid-template-columns: 64px 1fr; }
    .hero-air-card-thumb-emoji { font-size: 1.6rem; }
}
