/* =============================================================
   Self-hosted Google Fonts  (2026-08-01 mobile perf pass)
   -------------------------------------------------------------
   Replaces the Google Fonts CDN which was costing ~700 ms of
   critical-path latency on mobile (Slow 4G):
     HTML → fonts.googleapis.com CSS → fonts.gstatic.com woff2

   Kayakriti uses two families:
     - Cormorant Garamond — display serif, 300 / 400 / 500 /
       600 / 700 normal + 300 / 400 / 500 / 600 italic
     - Jost — sans body, 300 / 400 / 500 / 600 / 700 normal

   Google delivers these as VARIABLE fonts — one woff2 file
   covers the full weight axis. So we ship just 3 files:
     cormorant-garamond.woff2         (37 KB) — all normal weights
     cormorant-garamond-italic.woff2  (39 KB) — all italic weights
     jost.woff2                       (26 KB) — all normal weights
   ~102 KB total vs. the multi-file Google Fonts cascade.

   Latin subset only. Hindi translation is a JS overlay served
   by Google Translate which uses its own font stack.
   ============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond.woff2') format('woff2-variations'),
       url('/assets/fonts/cormorant-garamond.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-italic.woff2') format('woff2-variations'),
       url('/assets/fonts/cormorant-garamond-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/jost.woff2') format('woff2-variations'),
       url('/assets/fonts/jost.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
