/* ============================================
   Self-hosted fonts (Latin glyphs only)
   Downloaded from Google's own CDN and served locally so the page has
   zero dependency on fonts.googleapis.com / fonts.gstatic.com, which are
   frequently blocked or slow on mainland China networks.
   Each file below is Google's variable-font instance for the Latin
   subset; a single file covers the whole weight range via font-weight
   ranges in the @font-face rule, so only 4 files are needed in total.
   Chinese glyphs are NOT served here: see --font-sans/--font-display/
   --font-body in style.css, which fall back to system CJK fonts
   (PingFang SC / Microsoft YaHei / Songti SC) instead of downloading a
   multi-megabyte CJK webfont.
   ============================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
}

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

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../assets/fonts/playfair-display-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/source-serif-4-latin.woff2') format('woff2');
}
