/* ============================================================
   fonts.css — local @font-face declarations for self-hosting.
   ----------------------------------------------------------------
   Three variable woff2 files cover every weight/style this site
   uses (Fraunces 300/400/500 normal and 300 italic via the
   variable wght axis; JetBrains Mono 400/500 the same way).
   Total payload: ~140 KB, one-time, cached forever after first
   hit by /assets/* rules in _headers.

   Source: Google Fonts gstatic CDN, fonts pinned at versions
     fraunces       v38
     jetbrainsmono  v24
   Files downloaded with `curl` against the Google Fonts CSS API
   using a desktop Chrome user-agent (which serves variable
   woff2 — not the legacy static files).

   font-display: swap so first paint never blocks on a font
   download. Until these files are in place, the browser falls
   back to the system stack via `font-family` in site.css
   (Georgia for Fraunces, ui-monospace for JetBrains Mono).
   ============================================================ */

/* ── Fraunces (variable wght axis, normal) ── */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-wght.woff2") format("woff2-variations"),
       url("/assets/fonts/fraunces-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-024F, U+2010-2122;
}

/* ── Fraunces (variable wght axis, italic) ── */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-wght-italic.woff2") format("woff2-variations"),
       url("/assets/fonts/fraunces-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-024F, U+2010-2122;
}

/* ── JetBrains Mono (variable wght axis) ── */
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrainsmono-wght.woff2") format("woff2-variations"),
       url("/assets/fonts/jetbrainsmono-wght.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-024F, U+2010-2122;
}
