/* ============================================================
   Self-hosted web fonts for proxiesfood.com (latin subset only).
   Files come from Google Fonts (v20, fetched 2026-09-03) so the glyphs and
   metrics are identical to the previous fonts.googleapis.com link, minus the
   two extra origins (fonts.googleapis.com + fonts.gstatic.com) on the critical path.

   Manrope is served as ONE variable file covering weights 500-800 (24.8 kB);
   IBM Plex Mono is static, one file per weight (14.7 / 14.9 / 15.6 kB).
   Files are versioned by name (*.v20.woff2); the server sends them
   `Cache-Control: immutable` for a year, so a font upgrade = new filename.
   ============================================================ */

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500 800;
    font-display: swap;
    src: url(/fonts/manrope-latin-wght.v20.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: 400;
    font-display: swap;
    src: url(/fonts/ibm-plex-mono-latin-400.v20.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: 500;
    font-display: swap;
    src: url(/fonts/ibm-plex-mono-latin-500.v20.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-latin-600.v20.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;
}

/* Metric-matched fallback so the swap from Arial -> Manrope moves text as
   little as possible (smaller CLS while the woff2 is still downloading).
   Values measured against Windows Arial with Pillow/FreeType:
   Manrope 600 runs 105.8% the width of Arial for the same text.
   To use it, list it right after Manrope:
       font-family: 'Manrope', 'Manrope Fallback', system-ui, sans-serif;  */
@font-face {
    font-family: 'Manrope Fallback';
    src: local('Arial'), local('Helvetica'), local('Liberation Sans');
    size-adjust: 105.82%;
    ascent-override: 100.7%;
    descent-override: 28.3%;
    line-gap-override: 0%;
}
