/*
 * Self-hosted web fonts
 * =====================
 *
 * The page's three typefaces, served from this directory instead of Google Fonts,
 * so a visit sends no request (and no visitor IP) to a third party.
 *
 * Files are the Latin-subset variable fonts from Fontsource 5.3.0
 * (npm @fontsource-variable/<name>): one file covers every weight.
 * All three are SIL Open Font License 1.1; see LICENSE-<name>.txt.
 *
 * The family names match the --sans / --serif / --mono variables in index.html.
 */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('inter-latin-wght-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url('jetbrains-mono-latin-wght-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('playfair-display-latin-wght-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400 900;
    font-display: swap;
    src: url('playfair-display-latin-wght-italic.woff2') format('woff2');
}
