/* ============================================================================
   Self-hosted webfonts for dosset.net.

   These were previously loaded from fonts.googleapis.com / fonts.gstatic.com.
   That was replaced because a Google Fonts <link> transmits every visitor's IP
   address to Google on page load — the most-litigated embedded-third-party
   pattern in the EU (LG Munchen, 2022) — and it is awkward to defend on a site
   whose whole pitch is "catalogued, not collected". Self-hosting also removes
   the site's last external dependency, lets the CSP drop two origins, and is
   faster: four files totalling ~96KB from our own origin beats a DNS lookup,
   TLS handshake and two round-trips to a third party.

   LICENCE: both families are SIL Open Font License 1.1, which expressly permits
   redistribution and self-hosting.
     - Cormorant Garamond - Christian Thalmann / Catharsis Fonts
     - IBM Plex Mono      - IBM / Mike Abbink, Bold Monday

   FILES: the exact latin-subset woff2 payloads Google serves, downloaded
   2026-07-25 (Cormorant Garamond v21, IBM Plex Mono v20). Nothing was
   re-subset or re-compressed, so rendering is byte-identical to what the site
   served before.

   NOTE ON WEIGHTS: Cormorant Garamond 400, 500 and 600 all resolve to the same
   file upstream - it is a variable font. The three rules below mirror Google's
   own declarations exactly rather than collapsing them into a weight range, so
   behaviour cannot drift from what was already shipping.

   The unicode-range is Google's "latin" subset verbatim. Glyphs outside it
   (the rightwards arrow in "SEND ->", for one) fall back to a system font -
   which is what they already did when the fonts came from Google.
   ============================================================================ */

/* ---------- Cormorant Garamond (headings) ---------- */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-latin-italic.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;
}

/* ---------- IBM Plex Mono (body, micro-labels) ---------- */

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