/* Self-hosted fonts (SIL Open Font License, see /fonts/OFL.txt). No CDN.
   Every face declares a unicode-range, so the browser downloads a file only when a page actually
   contains characters from it: a Hindi story fetches the Devanagari face, an English one never does. */

/* ---- the text face: Source Serif 4 (variable weight), roman and italic */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(/fonts/source-serif-4-latin.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: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(/fonts/source-serif-4-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url(/fonts/source-serif-4-latin-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: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url(/fonts/source-serif-4-latin-ext-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* While Source Serif loads, Georgia stands in, scaled to the widths measured in a browser (Source Serif is 6.4% wider
   at regular weight and 5.4% narrower in bold), so the page barely moves when the real face arrives. */
@font-face { font-family: "Source Serif Fallback"; src: local("Georgia"), local("Times New Roman"); font-weight: 200 599; size-adjust: 106.4%; }
@font-face { font-family: "Source Serif Fallback"; src: local("Georgia Bold"), local("Georgia"), local("Times New Roman Bold"), local("Times New Roman"); font-weight: 600 900; size-adjust: 94.5%; }

/* ---- the headline and interface face: Anek Latin (variable weight 400-800 and width 75-100; headlines are set narrow) */
@font-face { font-family: "Anek Latin"; font-style: normal; font-weight: 400 800; font-stretch: 75% 100%; font-display: swap;
  src: url(/fonts/anek-latin.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: "Anek Latin"; font-style: normal; font-weight: 400 800; font-stretch: 75% 100%; font-display: swap;
  src: url(/fonts/anek-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Its sisters for Hindi and Bengali headlines: one bold, narrow cut each (the variable files run to half a megabyte). */
@font-face { font-family: "Anek Devanagari"; font-weight: 700; font-display: swap;
  src: url(/fonts/anek-devanagari.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: "Anek Bangla"; font-weight: 700; font-display: swap;
  src: url(/fonts/anek-bangla.woff2) format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
/* The Hindi name on the nameplate: the four glyphs of it, cut from Anek Devanagari at its heaviest (1 KB), so that
   an English page does not fetch a whole Devanagari face for one word. */
@font-face { font-family: "Khabri Mark"; font-weight: 800; font-display: swap;
  src: url(/fonts/khabri-mark.woff2) format("woff2");
  unicode-range: U+0916, U+092C, U+0930, U+0940; }

/* While Anek loads, Arial stands in, scaled to the widths measured in a browser. */
@font-face { font-family: "Anek Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Roboto"); size-adjust: 92%; }
@font-face { font-family: "Anek Head Fallback"; src: local("Arial Narrow Bold"), local("Arial Narrow"), local("Arial Bold"), local("Arial"); font-weight: 600 900; size-adjust: 96%; }

/* ---- scripts that Source Serif doesn't cover, one face each */
@font-face { font-family: "Noto Serif Devanagari"; font-weight: 100 900; font-display: swap;
  src: url(/fonts/noto-serif-devanagari.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: "Noto Serif Bengali"; font-weight: 100 900; font-display: swap;
  src: url(/fonts/noto-serif-bengali.woff2) format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Noto Naskh Arabic"; font-weight: 400 700; font-display: swap;
  src: url(/fonts/noto-naskh-arabic.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Noto Nastaliq Urdu"; font-weight: 400; font-display: swap;
  src: url(/fonts/noto-nastaliq-urdu.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
/* Japanese: no download. Kanji fonts run to megabytes; every phone and desktop ships a good Mincho. */
