/* =======================================================================
   Self-hosted brand fonts (added 2026-05-26).
   -----------------------------------------------------------------------
   Latin-1 subset variable fonts for Fraunces (display), Inter (UI), and
   JetBrains Mono (mono code/byte). All four faces are ~230 KB total
   gzipped; no external CDN call once cached. Replaces the earlier
   @import from fonts.googleapis.com.

   Why latin-1 only:
     * The portal copy is English/Afrikaans-only. U+0000-00FF covers it.
     * The smaller subset keeps first-paint snappy on slow conn.
     * If we ever need Greek/Cyrillic, drop the corresponding subset
       woff2 from Google Fonts CSS into static/fonts/ and add a
       sibling @font-face block.

   font-display: swap so the layout renders immediately with the
   system fallback and re-paints when the brand font lands.
   ======================================================================= */

@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('/static/fonts/fraunces-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/static/fonts/fraunces.woff2') format('woff2');
}

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

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/static/fonts/jetbrains-mono.woff2') format('woff2');
}
