/* ─────── Self-hosted web fonts ───────
 *
 * Bricolage Grotesque (display) + IBM Plex Mono (accent / code).
 * Downloaded once from Google Fonts and committed locally so every
 * page visit goes through wristbuddy.app (Cloudflare Pages) instead
 * of fonts.googleapis.com + fonts.gstatic.com. Net effects:
 *
 *   - No visitor IP is transmitted to Google on page load.
 *   - Aligns with the privacy policy's "no third-party services"
 *     claim and avoids the GDPR risk flagged by the Munich Regional
 *     Court ruling on Google Fonts (Jan 2022).
 *   - Faster first paint — one fewer DNS lookup + TLS handshake
 *     before the body can render.
 *
 * Subset coverage: Latin + Latin-extended only. The site's seven
 * locales (en/es/fr/de/pt-br/sv/ja) need Latin for the European
 * languages and rely on the system Japanese font for Japanese
 * characters (Bricolage Grotesque doesn't include CJK glyphs).
 * Cyrillic / Vietnamese / Greek subsets aren't downloaded because
 * no shipped locale uses them.
 *
 * Bricolage Grotesque is a variable font: a single woff2 covers
 * weights 200–800 per subset, so we ship two files (Latin +
 * Latin-ext) instead of one per weight.
 *
 * To update: bump the gstatic.com source URLs in the comment below
 * and re-download the corresponding woff2s. unicode-range values
 * are pulled verbatim from Google Fonts' served CSS so the browser
 * only downloads the subset it actually needs for the page.
 *
 * Source URLs (mid-2026, gstatic v9 / v20):
 *   /s/bricolagegrotesque/v9/...JWiawA1XphjhQYg.woff2 — latin
 *   /s/bricolagegrotesque/v9/...JWiawDVXphjhQYrcK.woff2 — latin-ext
 *   /s/ibmplexmono/v20/...n3twJwlBFgsAXHNk.woff2 — 500 latin
 *   /s/ibmplexmono/v20/...n3twJwl5FgsAXHNlYzg.woff2 — 500 latin-ext
 *   /s/ibmplexmono/v20/...n3vAOwlBFgsAXHNk.woff2 — 600 latin
 *   /s/ibmplexmono/v20/...n3vAOwl5FgsAXHNlYzg.woff2 — 600 latin-ext
 */

/* Bricolage Grotesque — variable font, covers weights 400/500/700/800 */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/bricolage-grotesque-variable-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;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/bricolage-grotesque-variable-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;
}

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

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