/* ==========================================================================
   Web fonts — Cormorant Garamond + Inter (self-hosted Variable Fonts)
   Each WOFF2 file is a Variable Font covering the full weight range,
   so only one file per family per style (roman/italic) is needed.
   Subset to Latin (with extensions) + Cyrillic — covers all 9 Latin/Cyrillic
   languages on the site. ZH falls back to system CJK fonts.
   font-display: swap → no FOIT, instant text rendering with Georgia / system-ui.
   ========================================================================== */

/* ----- Cormorant Garamond — Roman (weights 300–700) ----- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-roman.woff2') format('woff2-variations'),
       url('/assets/fonts/cormorant-garamond-roman.woff2') format('woff2');
}

/* ----- Cormorant Garamond — Italic (weights 300–700) ----- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-italic.woff2') format('woff2-variations'),
       url('/assets/fonts/cormorant-garamond-italic.woff2') format('woff2');
}

/* ----- Inter — Roman (weights 100–900) ----- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-roman.woff2') format('woff2-variations'),
       url('/assets/fonts/inter-roman.woff2') format('woff2');
}

/* ----- Inter — Italic (weights 100–900) ----- */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-italic.woff2') format('woff2-variations'),
       url('/assets/fonts/inter-italic.woff2') format('woff2');
}

/*
   Note on Chinese (ZH):
   Full Chinese glyph sets are 5–10 MB per weight — too heavy for web.
   The ZH page falls back to the user's system CJK font (PingFang SC on
   Apple, Microsoft YaHei on Windows, Noto Sans CJK on Linux/Android).
   Standard practice for Latin-first multilingual sites.
*/
