/* ---------- Netra hub / command dashboard ----------
   Self-contained: hub.html links only this file, so the palette below is
   deliberately its own — a cool navy + signal-blue command surface, not
   the warm gold editorial theme the article pages (style.css) use. Keep
   it that way; nothing here is shared with another page. */

:root {
    --hb-void: #05070d;
    --hb-bg: #080b12;
    --hb-rail: #0a0e16;
    --hb-card: #0d111a;
    --hb-card-2: #111725;
    --hb-line: #1a2231;
    --hb-line-soft: #151c28;

    --hb-ink: #e9eef7;
    --hb-ink-2: #93a0b5;
    --hb-ink-3: #5f6b80;

    --hb-blue: #3d8bfd;
    --hb-blue-soft: #64a5ff;
    --hb-blue-tint: rgba(61, 139, 253, 0.12);

    --hb-red: #f0564a;
    --hb-amber: #f0a33a;
    --hb-green: #3ecf8e;
    --hb-slate: #64748b;

    --hb-r: 12px;
    --hb-r-lg: 16px;
    --hb-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { height: 100%; }

body.hub-body {
    margin: 0;
    min-height: 100%;
    display: flex;
    align-items: stretch;
    background: var(--hb-bg);
    color: var(--hb-ink);
    font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

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

:where(a, button):focus-visible {
    outline: 2px solid var(--hb-blue);
    outline-offset: 2px;
    border-radius: 8px;
}

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

/* ---------- Splash (carried over) ---------- */

#splash-screen {
    position: fixed; inset: 0; z-index: 3000; background: #000;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2.4rem; transition: opacity .6s ease;
}
#splash-screen.splash-hide { opacity: 0; pointer-events: none; }
.splash-logo { width: min(360px, 60vw); height: auto; display: block; }
.splash-loading { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.splash-bar-track {
    position: relative; width: 220px; height: 2px;
    background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden;
}
.splash-bar-sweep {
    position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, #5fa8e8, transparent);
    animation: splash-sweep 1.3s ease-in-out infinite;
}
@keyframes splash-sweep { 0% { left: -40%; } 100% { left: 100%; } }
.splash-loading-label {
    margin: 0; font-size: .7rem; font-weight: 600; letter-spacing: .35em;
    text-transform: uppercase; color: rgba(255,255,255,.55);
}

/* ---------- Left rail ---------- */

.hb-rail {
    position: sticky;
    top: 0;
    align-self: flex-start;
    flex: none;
    width: 216px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1.6rem 0 1.1rem;
    background: var(--hb-rail);
    border-right: 1px solid var(--hb-line-soft);
}

.hb-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .1rem;
    padding: 0 1rem 1.9rem;
}
.hb-brand img { display: block; height: auto; }
.hb-brand-name {
    font-size: .95rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--hb-ink);
}
.hb-brand-sub {
    font-size: .58rem; font-weight: 600; letter-spacing: .42em;
    text-transform: uppercase; color: var(--hb-ink-3); padding-left: .42em;
}

.hb-nav { display: flex; flex-direction: column; }
.hb-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .82rem 1.15rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--hb-ink-2);
    transition: color .18s var(--hb-ease), background .18s var(--hb-ease);
}
.hb-nav-item svg { width: 19px; height: 19px; flex: none; }
.hb-nav-item:hover { color: var(--hb-ink); background: rgba(255,255,255,.03); }
.hb-nav-item.is-active {
    color: var(--hb-blue-soft);
    background: linear-gradient(90deg, var(--hb-blue-tint), transparent 85%);
}
.hb-nav-item.is-active::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 2.5px; background: var(--hb-blue);
}

.hb-rail-spacer { flex: 1; min-height: 1.5rem; }

.hb-status {
    margin: 0 .85rem .7rem;
    padding: .8rem .9rem;
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-r);
    background: var(--hb-card);
}
.hb-status-title { margin: 0 0 .4rem; font-size: .75rem; color: var(--hb-ink-2); }
.hb-status-line {
    margin: 0; display: flex; align-items: center; gap: .45rem;
    font-size: .78rem; font-weight: 500; color: var(--hb-green);
}
.hb-status-dot {
    width: 7px; height: 7px; border-radius: 50%; flex: none;
    background: var(--hb-green);
    box-shadow: 0 0 0 0 rgba(62,207,142,.55);
    animation: hb-pulse 2.4s ease-out infinite;
}
@keyframes hb-pulse {
    0% { box-shadow: 0 0 0 0 rgba(62,207,142,.5); }
    70% { box-shadow: 0 0 0 7px rgba(62,207,142,0); }
    100% { box-shadow: 0 0 0 0 rgba(62,207,142,0); }
}

.hb-user {
    margin: 0 .85rem;
    padding: .7rem .8rem;
    display: flex; align-items: center; gap: .65rem;
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-r);
    background: var(--hb-card);
}
.hb-user-avatar {
    width: 32px; height: 32px; flex: none;
    display: grid; place-items: center;
    border-radius: 9px;
    background: linear-gradient(150deg, #2f6dbb, #1b3f70);
    color: #eaf3ff; font-size: .74rem; font-weight: 700; letter-spacing: .04em;
}
.hb-user-text { display: flex; flex-direction: column; min-width: 0; }
.hb-user-name {
    font-size: .8rem; font-weight: 600; color: var(--hb-ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hb-user-role { font-size: .68rem; color: var(--hb-ink-3); }

/* ---------- Shell ---------- */

.hb-shell {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem 1.5rem;
}

/* ---------- Hero ---------- */

.hb-hero {
    position: relative;
    margin: 0 -1.5rem;
    min-height: 480px;
    padding: 2.6rem 2.5rem 5.6rem;
    overflow: hidden;
    isolation: isolate;
}

.hb-hero-sky { position: absolute; inset: 0; z-index: -1; background: var(--hb-void); }

/* Real on-orbit imagery of a smallsat constellation over Earth. The photo
   is 879x485, so it upscales across a wide hero — the scrim below hides
   the softness, but don't push the crop much tighter than this. */
.hb-hero-photo {
    position: absolute;
    inset: 0;
    background-image: url("/static/hero-orbit.webp");
    background-size: cover;
    /* The hero is ~2.7:1 and the photo 1.8:1, so `cover` crops a lot of
       height. This anchor keeps the large foreground satellite and the
       limb in frame instead of centring on empty cloud. */
    background-position: 56% 58%;
    background-repeat: no-repeat;
    /* Knocked well back: at full brightness the cloud deck competes with
       the headline and the top-right pills sit on near-white. */
    filter: brightness(.58) contrast(1.06) saturate(1.08);
}

/* Scrim. The left wedge keeps the headline legible over the bright limb;
   the bottom wedge hands off into the page background so the stat bar,
   which overlaps the hero, doesn't sit on a hard photo edge. */
.hb-hero-fade {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(5,7,13,.94) 0%, rgba(5,7,13,.82) 22%, rgba(5,7,13,.46) 44%, rgba(5,7,13,.1) 66%, transparent 82%),
        linear-gradient(0deg, var(--hb-bg) 0%, rgba(8,11,18,.8) 12%, rgba(8,11,18,.22) 30%, transparent 52%),
        /* top wedge: the clock and event pills sit up here */
        linear-gradient(180deg, rgba(5,7,13,.5) 0%, transparent 24%);
}

.hb-hero-top {
    position: absolute;
    top: 1.5rem; right: 1.6rem;
    display: flex; gap: .7rem;
}
.hb-pill {
    display: flex; align-items: center; gap: .6rem;
    padding: .58rem .85rem;
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-r);
    background: rgba(13,17,26,.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.hb-pill-icon {
    width: 30px; height: 30px; flex: none;
    display: grid; place-items: center;
    border-radius: 8px;
    background: var(--hb-blue-tint);
    color: var(--hb-blue-soft);
}
.hb-pill-icon svg { width: 17px; height: 17px; }
.hb-pill-text { display: flex; flex-direction: column; line-height: 1.25; }
.hb-pill-text strong {
    font-size: .82rem; font-weight: 600; color: var(--hb-ink);
    font-variant-numeric: tabular-nums;
}
.hb-pill-text span { font-size: .68rem; color: var(--hb-ink-3); }
.hb-pill-live {
    width: 7px; height: 7px; border-radius: 50%; flex: none;
    background: var(--hb-red);
    animation: hb-pulse-red 2s ease-out infinite;
}
@keyframes hb-pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(240,86,74,.55); }
    70% { box-shadow: 0 0 0 6px rgba(240,86,74,0); }
    100% { box-shadow: 0 0 0 0 rgba(240,86,74,0); }
}

.hb-hero-body { position: relative; max-width: 420px; }
.hb-eyebrow {
    display: flex; align-items: center; gap: .55rem;
    margin: 0 0 .55rem;
    font-size: .7rem; font-weight: 600; letter-spacing: .26em;
    text-transform: uppercase; color: var(--hb-blue-soft);
}
.hb-eyebrow-dot {
    width: 7px; height: 7px; border-radius: 50%; flex: none;
    background: var(--hb-blue);
    box-shadow: 0 0 10px 1px rgba(61,139,253,.8);
}
.hb-title {
    margin: 0 0 .8rem;
    font-size: clamp(3.4rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: .96;
    color: #fff;
}
.hb-sub {
    margin: 0 0 1.5rem;
    max-width: 355px;
    font-size: .875rem;
    line-height: 1.65;
    color: var(--hb-ink-2);
}
.hb-updated {
    display: flex; align-items: center; gap: .55rem;
    margin: 0; font-size: .78rem; color: var(--hb-ink-3);
}
.hb-updated-icon {
    width: 26px; height: 26px; flex: none;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--hb-blue-tint);
    color: var(--hb-blue-soft);
}
.hb-updated-icon svg { width: 14px; height: 14px; }

/* ---------- Stat bar (overlaps the hero) ---------- */

.hb-statbar {
    position: relative;
    z-index: 2;
    margin-top: -3.4rem;
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: .35rem .4rem;
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-r-lg);
    background: rgba(12,16,25,.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px -24px rgba(0,0,0,.9);
}
.hb-stat {
    position: relative;
    flex: 1;
    min-width: 0;
    padding: .95rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.hb-stat + .hb-stat::before {
    content: '';
    position: absolute; left: 0; top: 22%; bottom: 22%;
    width: 1px; background: var(--hb-line);
}
.hb-stat-num {
    font-size: 1.7rem; font-weight: 700; line-height: 1.05;
    letter-spacing: -.02em; color: #fff;
    font-variant-numeric: tabular-nums;
}
.hb-stat-alert { color: var(--hb-red); }
.hb-stat-label { font-size: .74rem; color: var(--hb-ink-2); }
.hb-stat-icon {
    position: absolute; top: .95rem; right: 1rem;
    width: 24px; height: 24px;
    display: grid; place-items: center;
    border-radius: 7px;
    background: rgba(255,255,255,.04);
    color: var(--hb-ink-3);
}
.hb-stat-icon svg { width: 14px; height: 14px; }

.hb-statbar-cta {
    flex: none;
    align-self: center;
    margin: 0 .55rem 0 1rem;
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .7rem 1.15rem;
    border: 1px solid rgba(61,139,253,.45);
    border-radius: 10px;
    background: var(--hb-blue-tint);
    color: var(--hb-blue-soft);
    font-size: .82rem; font-weight: 600;
    white-space: nowrap;
    transition: background .18s var(--hb-ease), border-color .18s var(--hb-ease), transform .18s var(--hb-ease);
}
.hb-statbar-cta svg { width: 15px; height: 15px; }
.hb-statbar-cta:hover {
    background: rgba(61,139,253,.2);
    border-color: var(--hb-blue);
    transform: translateY(-1px);
}

/* ---------- Card rows ---------- */

.hb-row { display: grid; gap: 1rem; margin-top: 1rem; }
.hb-row-3 { grid-template-columns: minmax(0,1fr) minmax(0,1.18fr) minmax(0,1fr); }
.hb-row-2 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }

.hb-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-r-lg);
    background: var(--hb-card);
    overflow: hidden;
}

.hb-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
    padding: 1.05rem 1.15rem .35rem;
}
.hb-card-head h2 {
    display: flex; align-items: center; gap: .5rem;
    margin: 0;
    font-size: .78rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--hb-ink);
}
.hb-head-icon { width: 15px; height: 15px; flex: none; color: var(--hb-ink-2); }
.hb-card-sub { margin: .3rem 0 0; font-size: .72rem; color: var(--hb-ink-3); }
.hb-card-count {
    display: inline-flex; align-items: center; gap: .35rem;
    color: var(--hb-red); font-size: .85rem; font-weight: 700;
}
.hb-card-count svg { width: 15px; height: 15px; }
.hb-card-expand {
    width: 26px; height: 26px; flex: none;
    display: grid; place-items: center;
    border-radius: 7px;
    color: var(--hb-ink-3);
    transition: background .18s var(--hb-ease), color .18s var(--hb-ease);
}
.hb-card-expand svg { width: 15px; height: 15px; }
.hb-card-expand:hover { background: rgba(255,255,255,.05); color: var(--hb-ink); }

.hb-card-body { flex: 1; padding: .75rem 1.15rem 0; }
.hb-loading { margin: .6rem 0; font-size: .8rem; color: var(--hb-ink-3); }

.hb-card-link {
    display: inline-flex; align-items: center; gap: .4rem;
    margin: auto 1.15rem 0;
    padding: .95rem 0;
    font-size: .8rem; font-weight: 600;
    color: var(--hb-blue-soft);
    transition: gap .18s var(--hb-ease);
}
.hb-card-link svg { width: 15px; height: 15px; }
.hb-card-link:hover { gap: .65rem; }

/* ---------- Active hazards list ---------- */

.hb-alert {
    display: flex; align-items: center; gap: .7rem;
    padding: .7rem .75rem;
    margin-bottom: .5rem;
    border: 1px solid var(--hb-line-soft);
    border-radius: 10px;
    background: var(--hb-card-2);
    transition: border-color .18s var(--hb-ease), transform .18s var(--hb-ease);
}
.hb-alert:hover { border-color: rgba(240,86,74,.4); transform: translateX(2px); }
.hb-alert-icon {
    width: 30px; height: 30px; flex: none;
    display: grid; place-items: center;
    border-radius: 8px;
    background: rgba(240,86,74,.13);
    color: var(--hb-red);
}
.hb-alert-icon svg { width: 16px; height: 16px; }
.hb-alert-text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.hb-alert-where { font-size: .68rem; color: var(--hb-ink-3); }
.hb-alert-name {
    font-size: .82rem; font-weight: 600; color: var(--hb-ink);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hb-pill-tag {
    margin-left: auto; flex: none;
    padding: .2rem .5rem;
    border-radius: 5px;
    font-size: .62rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
}
.hb-pill-tag.is-active { background: rgba(240,86,74,.16); color: var(--hb-red); }
.hb-pill-tag.is-high { background: rgba(240,86,74,.16); color: var(--hb-red); }
.hb-pill-tag.is-med { background: rgba(240,163,58,.16); color: var(--hb-amber); }
.hb-pill-tag.is-low { background: rgba(61,139,253,.16); color: var(--hb-blue-soft); }

/* ---------- Satellite feed ---------- */

.hb-feed { padding: .75rem 1.15rem 0; }
#hb-map {
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--hb-line-soft);
    background: #06070a;
}
#hb-map.leaflet-container { background: #06070a; font-family: inherit; }
#hb-map .leaflet-control-zoom a {
    background: rgba(13,17,26,.9);
    border-color: var(--hb-line);
    color: var(--hb-ink);
}
#hb-map .leaflet-control-zoom a:hover { background: var(--hb-card-2); }
#hb-map .leaflet-control-attribution {
    background: rgba(5,7,13,.7); color: var(--hb-ink-3); font-size: 9px;
}
#hb-map .leaflet-control-attribution a { color: var(--hb-ink-2); }

/* ---------- Donut ---------- */

.hb-donut-row {
    display: flex; align-items: center; gap: 1.1rem;
    padding: .9rem 1.15rem .2rem;
}
.hb-donut-wrap { position: relative; width: 118px; height: 118px; flex: none; }
.hb-donut { width: 100%; height: 100%; transform: rotate(-90deg); }
.hb-donut-center {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    pointer-events: none;
}
.hb-donut-center strong {
    font-size: 1.75rem; font-weight: 700; line-height: 1;
    color: #fff; font-variant-numeric: tabular-nums;
}
.hb-donut-center span { font-size: .66rem; color: var(--hb-ink-3); margin-top: .12rem; }

.hb-legend { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
.hb-legend li {
    display: flex; align-items: center; gap: .5rem;
    padding: .3rem 0;
    font-size: .78rem; color: var(--hb-ink-2);
}
.hb-legend .sw { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hb-legend .n {
    margin-left: auto; font-weight: 700; color: var(--hb-ink);
    font-variant-numeric: tabular-nums;
}

/* ---------- Disaster event ---------- */

.hb-event-top { display: flex; gap: .9rem; align-items: flex-start; }
.hb-date-block {
    flex: none;
    width: 62px;
    padding: .5rem 0 .55rem;
    text-align: center;
    border: 1px solid var(--hb-line);
    border-radius: 10px;
    background: var(--hb-card-2);
}
.hb-date-m {
    display: block; font-size: .62rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: var(--hb-red);
}
.hb-date-d {
    display: block; font-size: 1.4rem; font-weight: 700; line-height: 1.1;
    color: var(--hb-ink); font-variant-numeric: tabular-nums;
}
.hb-date-y { display: block; font-size: .66rem; color: var(--hb-ink-3); }
.hb-event-name { margin: 0 0 .2rem; font-size: 1rem; font-weight: 600; color: var(--hb-ink); }
.hb-event-where { margin: 0; font-size: .78rem; color: var(--hb-ink-3); line-height: 1.45; }

.hb-event-stats {
    display: flex; flex-wrap: wrap; gap: .9rem 1.4rem;
    margin-top: .95rem;
}
.hb-event-stat { display: flex; align-items: center; gap: .5rem; }
.hb-event-stat-icon {
    width: 26px; height: 26px; flex: none;
    display: grid; place-items: center;
    border-radius: 7px;
    background: rgba(255,255,255,.04);
    color: var(--hb-ink-3);
}
.hb-event-stat-icon svg { width: 14px; height: 14px; }
.hb-event-stat-text { display: flex; flex-direction: column; line-height: 1.25; }
.hb-event-stat-label { font-size: .66rem; color: var(--hb-ink-3); }
.hb-event-stat-val {
    font-size: .92rem; font-weight: 700; color: var(--hb-ink);
    font-variant-numeric: tabular-nums;
}
.hb-event-src { margin: .9rem 0 0; font-size: .68rem; color: var(--hb-ink-3); line-height: 1.5; }

/* ---------- Flow-path ---------- */

.hb-card-flow .hb-flow {
    position: relative;
    flex: 1;
    padding: .8rem 1.15rem 0;
    min-height: 150px;
}
.hb-flow-text {
    position: relative; z-index: 1;
    margin: 0; max-width: 235px;
    font-size: .8rem; line-height: 1.6; color: var(--hb-ink-2);
}
.hb-flow-art {
    position: absolute;
    right: 0; bottom: -8px;
    width: 62%; height: auto;
    pointer-events: none;
}

/* ---------- Footer ---------- */

.hb-footer {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    margin-top: 1.4rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--hb-line-soft);
    font-size: .75rem; color: var(--hb-ink-3);
}
.hb-footer-left { display: flex; align-items: center; gap: .6rem; }
.hb-footer-left img { display: block; opacity: .8; height: auto; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
    .hb-row-3 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
    .hb-row-3 > .hb-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    body.hub-body { flex-direction: column; }
    .hb-rail {
        position: static;
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        gap: .4rem;
        padding: .5rem .7rem;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--hb-line-soft);
    }
    .hb-brand { flex-direction: row; align-items: center; gap: .5rem; padding: 0 .6rem 0 0; }
    .hb-brand img { width: 68px; }
    .hb-brand-sub { display: none; }
    .hb-nav { flex-direction: row; }
    .hb-nav-item { padding: .55rem .7rem; white-space: nowrap; font-size: .8rem; }
    .hb-nav-item.is-active { background: var(--hb-blue-tint); border-radius: 8px; }
    .hb-nav-item.is-active::before { top: auto; bottom: 0; left: .7rem; right: .7rem; width: auto; height: 2px; }
    .hb-rail-spacer, .hb-status, .hb-user { display: none; }

    .hb-statbar { flex-wrap: wrap; margin-top: -2rem; }
    .hb-stat { flex: 1 1 42%; }
    .hb-stat + .hb-stat::before { display: none; }
    .hb-statbar-cta { margin: .5rem; flex: 1 1 100%; justify-content: center; }

    .hb-row-3, .hb-row-2 { grid-template-columns: minmax(0,1fr); }
    .hb-row-3 > .hb-card:last-child { grid-column: auto; }
    .hb-hero { padding: 2rem 1.25rem 4.4rem; min-height: 380px; }
    .hb-hero-top { position: static; margin-bottom: 1.4rem; flex-wrap: wrap; }
    /* Narrow viewport: pull the crop toward the frame's centre-right so the
       satellites stay in shot instead of being cropped out by `cover`. */
    .hb-hero-photo { background-position: 62% 40%; }
    /* On desktop the copy sits left of the planet, so a side vignette is
       enough. Here it runs the full width with the orbital network behind
       it, so the scrim has to cover the whole frame to keep type legible. */
    .hb-hero-fade {
        background:
            linear-gradient(180deg, rgba(5,7,13,.35) 0%, rgba(5,7,13,.62) 45%, rgba(8,11,18,.9) 82%, var(--hb-bg) 100%);
    }
    .hb-flow-art { position: static; width: 100%; margin-top: .6rem; }
    .hb-flow-text { max-width: none; }
}

@media (max-width: 560px) {
    .hb-shell { padding: 0 .9rem .9rem; }
    .hb-hero { margin: 0 -.9rem; }
    /* Stats stay 2-up rather than stacking — four full-width rows turns
       the figures into a long scroll instead of a glanceable block. */
    .hb-stat { padding: .8rem .85rem; }
    .hb-stat-num { font-size: 1.45rem; }
    .hb-stat-icon { top: .8rem; right: .7rem; }
    .hb-title { font-size: 3rem; }
}
