/*
 * Inter — self-hosted, Latin + Latin-ext subsets, weights 100-900.
 *
 * Fetched from Google Fonts v20. Modern Google Fonts serves Inter as a
 * variable font even for static-weight requests, so the same woff2
 * serves every weight — 2 files total (one per unicode subset) for
 * ~133 KB instead of 10 static-weight files at 664 KB or the full
 * unsubsetted variable font at 344 KB.
 *
 * Why self-hosted:
 *   - Eliminates DNS + TLS handshake to fonts.googleapis.com and
 *     fonts.gstatic.com (~700 ms LCP savings per Lighthouse).
 *   - Browser cache-partitioning since 2020 neutered the cross-site
 *     cache benefit that used to be the argument for Google Fonts.
 *
 * Regenerate by re-running the fetch block in the history of
 * commit <this-one> if Inter bumps past v20.
 *
 * Material Symbols stays on Google CDN — it's an icon font with 2 000+
 * glyphs, self-hosting is a much bigger cost, and it already has
 * font-display: swap so it doesn't block LCP.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter/Inter-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter/Inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
