/* Self-hosted fonts — eliminates Google Fonts dependency.
 *
 * Phase 0.11 dedupe (2026-05-16):
 *   - All five inter-{300,400,500,600,700}.woff2 files are byte-identical
 *     placeholders (md5 260c81a4...). Collapsed to a single @font-face
 *     covering the full weight range — browser synthesizes bold/light.
 *     Saves 4 redundant downloads (~188 KB/page).
 *   - space-grotesk-600.woff2 and -700.woff2 are byte-identical (md5
 *     87c506d88b...). Collapsed to one declaration covering 600-700.
 *   - When real per-weight files are supplied, split each @font-face back
 *     out with explicit `font-weight: 400;` etc.
 */

/* Space Grotesk — 4 weight files, 3 unique */
@font-face {
    font-family: 'Space Grotesk';
    src: url('/assets/fonts/space-grotesk-400.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('/assets/fonts/space-grotesk-500.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('/assets/fonts/space-grotesk-600.woff2') format('woff2');
    font-weight: 600 700; font-style: normal; font-display: swap;
}

/* Inter — one file shared across all weight requests until real files exist */
@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter-400.woff2') format('woff2');
    font-weight: 100 900; font-style: normal; font-display: swap;
}

/* JetBrains Mono — distinct files, kept as-is */
@font-face {
    font-family: 'JetBrains Mono';
    src: url('/assets/fonts/jetbrains-mono-400.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('/assets/fonts/jetbrains-mono-500.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
