/* ===== Self-hosted variable fonts (Fontsource, OFL) =====
   Space Grotesk — display: headings, KPIs, tabs, brand.
   Inter — body/UI; tabular figures for counters and tables.
   Metric-matched local fallbacks below keep CLS near zero while
   the woff2 files load (font-display: swap). */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin-wght-normal.260c81a4759b.woff2") format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/space-grotesk-latin-wght-normal.87c506d88b9f.woff2") format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched fallbacks (Arial) — overrides tuned to each family's
   vertical metrics so swapped text occupies the same box. */
@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial');
    ascent-override: 90.44%;
    descent-override: 22.52%;
    line-gap-override: 0%;
    size-adjust: 107.12%;
}

@font-face {
    font-family: 'Space Grotesk Fallback';
    src: local('Arial');
    ascent-override: 97.65%;
    descent-override: 29.3%;
    line-gap-override: 0%;
    size-adjust: 100.9%;
}
