/* =====================================================================
   Self-hosted variable fonts
   =====================================================================
   - Inter Tight    -> body, navigation, UI labels (wght 100..900)
   - Source Serif 4 -> display H1/H2 + big numerals (wght 200..900)
   - JetBrains Mono -> module slugs, version tags, numeric callouts (wght 100..800)

   All variable woff2, split by unicode-range so the browser only downloads
   what's needed for the page's content. Variants per family:
     latin     : U+0000-024F basic Latin + Latin-1 supplement
     latin-ext : U+0100-017F + a few other ranges, for ES/PT diacritics

   font-display: swap = text shows in fallback first, then upgrades. No FOIT.
   ===================================================================== */

/* ---------- Inter Tight ---------- */
@font-face {
    font-family: 'Inter Tight Variable';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('../../vendor/fonts/inter-tight/inter-tight-latin-wght-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter Tight Variable';
    font-style: italic;
    font-display: swap;
    font-weight: 100 900;
    src: url('../../vendor/fonts/inter-tight/inter-tight-latin-wght-italic.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter Tight Variable';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('../../vendor/fonts/inter-tight/inter-tight-latin-ext-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter Tight Variable';
    font-style: italic;
    font-display: swap;
    font-weight: 100 900;
    src: url('../../vendor/fonts/inter-tight/inter-tight-latin-ext-wght-italic.woff2') format('woff2-variations');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Source Serif 4 ---------- */
@font-face {
    font-family: 'Source Serif 4 Variable';
    font-style: normal;
    font-display: swap;
    font-weight: 200 900;
    src: url('../../vendor/fonts/source-serif-4/source-serif-4-latin-wght-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Serif 4 Variable';
    font-style: italic;
    font-display: swap;
    font-weight: 200 900;
    src: url('../../vendor/fonts/source-serif-4/source-serif-4-latin-wght-italic.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Serif 4 Variable';
    font-style: normal;
    font-display: swap;
    font-weight: 200 900;
    src: url('../../vendor/fonts/source-serif-4/source-serif-4-latin-ext-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Source Serif 4 Variable';
    font-style: italic;
    font-display: swap;
    font-weight: 200 900;
    src: url('../../vendor/fonts/source-serif-4/source-serif-4-latin-ext-wght-italic.woff2') format('woff2-variations');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- JetBrains Mono ---------- */
@font-face {
    font-family: 'JetBrains Mono Variable';
    font-style: normal;
    font-display: swap;
    font-weight: 100 800;
    src: url('../../vendor/fonts/jetbrains-mono/jetbrains-mono-latin-wght-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'JetBrains Mono Variable';
    font-style: italic;
    font-display: swap;
    font-weight: 100 800;
    src: url('../../vendor/fonts/jetbrains-mono/jetbrains-mono-latin-wght-italic.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
