/* Self-hosted variable fonts (#386).
 *
 * Replaces the Google Fonts CDN <link> (fonts.googleapis.com / fonts.gstatic.com)
 * so style-src and font-src can be locked to 'self' (no external host, no Google
 * tracking, clears the ZAP SRI finding). Same three typefaces as before — the
 * outlines are identical (same upstream OFL projects Google serves).
 *
 * Sources (Fontsource variable packages, latin subset, pinned):
 *   Fraunces          @fontsource-variable/fraunces@5.2.9        (OFL-Fraunces.txt)
 *   Instrument Sans   @fontsource-variable/instrument-sans@5.2.8 (OFL-InstrumentSans.txt)
 *   Spline Sans Mono  @fontsource-variable/spline-sans-mono@5.2.8 (OFL-SplineSansMono.txt)
 *
 * Fraunces ships a "full" file with opsz/wght/SOFT/WONK axes. Google's CDN serves
 * only opsz+wght (SOFT/WONK pinned to their non-wonky defaults), so we instanced
 * the file to SOFT=0, WONK=0 — leaving opsz 9..144 and wght 100..900 variable, an
 * axis profile identical to Google's served file. This preserves the optical-size
 * axis (font-optical-sizing defaults to auto) that the serif headings rely on.
 */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/Fraunces-Variable.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/InstrumentSans-Variable.woff2") format("woff2");
}

@font-face {
  font-family: "Spline Sans Mono";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/static/fonts/SplineSansMono-Variable.woff2") format("woff2");
}
