/* ==========================================================================
   SELF-HOSTED FONTS
   --------------------------------------------------------------------------
   Latin display + mono fonts served from our own origin instead of Google's
   CDN. Loading fonts from fonts.googleapis.com / fonts.gstatic.com transmits
   every visitor's IP address to Google (US) on each page load — a GDPR issue
   in the EU (cf. LG München I, 3 O 17493/20). Serving them locally removes
   that third-party transfer entirely; no consent needed for fonts anymore.

   The Chinese display font (formerly Noto Serif SC, a multi-MB CJK webfont)
   is intentionally NOT bundled — Chinese text falls back to the visitor's
   system serif (Songti SC / STSong / SimSun / Noto Serif CJK). That keeps
   the page light and avoids shipping a 15 MB+ CJK file to every visitor.
   To restore the exact Noto look later, self-host a subset and add its
   @font-face rules here.

   woff2 only — every browser since ~2017 supports it. Licenses: Cormorant
   Garamond and JetBrains Mono are both SIL OFL 1.1, which permits
   self-hosting and redistribution. Files live in assets/fonts/.
   ========================================================================== */

/* ---- Cormorant Garamond (display serif) ---- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-v21-latin_latin-ext-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-v21-latin_latin-ext-300italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-v21-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-v21-latin_latin-ext-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-v21-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-v21-latin_latin-ext-600.woff2') format('woff2');
}

/* ---- JetBrains Mono (monospace accents) ---- */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/jetbrains-mono-v24-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/jetbrains-mono-v24-latin_latin-ext-500.woff2') format('woff2');
}
