/*
 * Phase 1C A3 — self-hosted web fonts.
 *
 * These font files replace the previous direct browser request to
 * fonts.bunny.net.  The binaries are fetched from the upstream Google Fonts
 * repository by scripts/fetch_self_hosted_fonts.sh and are served by this
 * site from /assets/fonts/.
 *
 * Only normal styles were requested from Bunny previously, so this migration
 * intentionally provides the same style set: Fraunces 400/500/600,
 * IBM Plex Sans 400/500/600, and IBM Plex Mono 500.  Fraunces and IBM Plex
 * Sans use upstream variable font files; CSS limits their effective use to
 * the weights the site currently requests.
 */

@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/Fraunces.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/assets/fonts/IBMPlexSans.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/IBMPlexMono-Medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
