/* _shared/css/fonts.css
 * Self-hosted variable woff2 for the locked Kai Mana typography.
 *
 * Families (locked via M1.5 typography validation, 2026-08-07):
 *   --font-display: Cormorant Garamond (variable, wght 300-700)
 *   --font-body:    Work Sans (variable, wght 100-900)
 *   --font-mono:    JetBrains Mono (variable, wght 100-800)
 *
 * The four-candidate canary compared Fraunces+Inter / Cormorant+Inter
 * / Cormorant+DM Sans / Cormorant+Work Sans. Cormorant+Work Sans won.
 * See docs/typography-comparison.md for evidence.
 *
 * The legacy Fraunces-VF.woff2 and Inter-VF.woff2 files are kept on
 * disk so the canary can be re-run by flipping ?font=fraunces on the
 * history page's _canary.html wrapper. They're not declared here.
 *
 * Total weight: 412 KB woff2 (Cormorant 209 + Work Sans 131 + Mono 72).
 */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/kai-mana/_shared/fonts/CormorantGaramond-VF.woff2') format('woff2-variations'),
       url('/kai-mana/_shared/fonts/CormorantGaramond-VF.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/kai-mana/_shared/fonts/WorkSans-VF.woff2') format('woff2-variations'),
       url('/kai-mana/_shared/fonts/WorkSans-VF.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/kai-mana/_shared/fonts/JetBrainsMono-VF.woff2') format('woff2-variations'),
       url('/kai-mana/_shared/fonts/JetBrainsMono-VF.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
