/* =====================================================================
 * components/stat-band.css — large numbers in a full-bleed navy band.
 * 4 stats: desktop single row, 2x2 mobile. No hex literals.
 * ===================================================================== */

.stat-band {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
    text-align: center;
}

@media (min-width: 1024px) {
    .stat-band { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
}

.stat-band__item {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-5) var(--space-2);
    align-items: center;
}

.stat-band__number {
    font-family: var(--font-sans);
    font-weight: var(--fw-bold);
    font-size: clamp(2.5rem, 6vw, var(--fs-5xl));
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--color-accent);
    /* tabular-nums keeps digits aligned during the CountUp animation. */
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: baseline;
    gap: 0.05em;
}

.stat-band__suffix {
    font-size: 0.5em;
    color: var(--color-accent);
    margin-left: 0.05em;
}

.stat-band__label {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-midnight-navy-lighter);
}

/* Closing slogan beneath a stat-band item: mirrors the number's display
   style (sans, bold, accent colour) at a smaller, prominent slogan scale —
   clearly larger than body text, clearly subordinate to the number. The
   comfortable top gap reads it as the stat block's closing line, not part
   of the label. Tokens only — no hex. */
.stat-band__slogan {
    margin-top: var(--space-5);
    text-align: center;
    font-family: var(--font-sans);
    font-weight: var(--fw-bold);
    font-size: clamp(var(--fs-lg), 5vw, var(--fs-2xl));
    line-height: var(--lh-tight);
    letter-spacing: -0.01em;
    color: var(--color-accent);
}

/* When dropped into a light section (rare; mostly used in --navy). */
.section--ice-mist .stat-band__label { color: var(--color-text-muted); }
.section--ice-mist .stat-band__number { color: var(--color-primary); }
.section--ice-mist .stat-band__slogan { color: var(--color-primary); }
