/* Self-hosted fonts (replace Google Fonts CDN). Files and licences: see /fonts/README.txt.
   Subsets: latin, latin-ext (Latin Extended-A: Latvian diacritics), cyrillic (Russian).
   Phase 10.1: files are trimmed by scripts/optimize_fonts.py (axes limited to the ranges used: Inter wght 400-600, Source Serif 4 wght 250-700 + opsz 14-60). */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("/fonts/inter-var-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("/fonts/inter-var-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-017F, U+0218-021B;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("/fonts/inter-var-latin.woff2") format("woff2");
    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;
}

/* Source Serif 4 (variable opsz+wght), added in Phase 05 for the redesigned homepage. */
@font-face {
    font-family: "Source Serif 4";
    font-style: normal;
    font-weight: 250 700;
    font-display: swap;
    src: url("/fonts/source-serif-4-var-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Source Serif 4";
    font-style: normal;
    font-weight: 250 700;
    font-display: swap;
    src: url("/fonts/source-serif-4-var-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-017F, U+0218-021B;
}

@font-face {
    font-family: "Source Serif 4";
    font-style: normal;
    font-weight: 250 700;
    font-display: swap;
    src: url("/fonts/source-serif-4-var-latin.woff2") format("woff2");
    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;
}
