/* =========================================================================
   Latch Vector — self-hosted webfonts

   Replaces the render-blocking request to fonts.googleapis.com. Latin subset
   only; the site is English. Weights here are exactly the ones styles.css
   asks for — adding a weight to the CSS means adding the face here too.
   ========================================================================= */

/* Display. Variable on both axes: the type sets font-stretch between 108%
   and 118%, so the wdth axis has to survive. Weights 700 and 800 are used. */
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 700 800;
    font-stretch: 100% 125%;
    font-display: swap;
    src: url(fonts/archivo-700-800.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;
}

/* Body. One variable file covers 400 through 700 — Google serves the same
   woff2 for every weight, so declaring it once is enough. */
@font-face {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(fonts/public-sans.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;
}

/* Mono. Static cuts; IBM Plex Mono has no variable build on Google Fonts. */
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/ibm-plex-mono-500.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;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/ibm-plex-mono-600.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;
}
