/* ===========================================================================
   THE TYPEFACE, SERVED FROM THIS ORIGIN
   ===========================================================================

   WHAT WAS WRONG BEFORE ANY OF THIS. Every page declared

       --sans: "Avenir Next", "Helvetica Neue", -apple-system, sans-serif

   and Avenir Next ships with macOS and iOS and with nothing else. So on
   Windows, Android and Linux the whole stack fell through to whatever
   sans-serif happens to be. The design is carried by light weights and wide
   tracked capitals, which is exactly what a generic fallback destroys first —
   the app looked designed on the machine it was designed on, and ordinary
   everywhere else.

   EB GARAMOND is the face now, chosen by Josh from a specimen set in this
   product's own copy. It is a revival of the types Claude Garamont cut in
   Paris in the 1540s, which is about as old as a working text face gets, and
   it is the most readable old-style on the page at paragraph size. For a
   product whose whole argument is a record that outlives the company keeping
   it, a five-hundred-year-old letterform is not decoration.

   JOST STAYS, AND IS NOT DEAD WEIGHT. EB Garamond starts at weight 400; this
   interface leans on 200 and 300 for its tracked micro-labels, and asking a
   Garamond for 200 gets you 400 in a face with fine hairlines reversed out of
   near-black. So Jost remains as --ui for the small tracked capitals and the
   map labels, where a geometric sans is simply the better instrument. Two
   faces doing the two jobs each is better than one face doing both badly, and
   the pairing is old text against plain signage, which is what an atlas is.

   SELF-HOSTED, NOT LINKED. A <link> to fonts.googleapis.com would put a third
   party in the boot path of every page — the dependency we spent 11.2 MB
   removing from the old map engine. This is ~250 KB total from our own origin, and no
   request leaves the machine to render a headline.

   Both faces are SIL Open Font License. OFL-EBGaramond.txt and OFL-Jost.txt
   ship beside them, because the licence requires the text to travel with the
   font.
   =========================================================================== */

/* --- EB Garamond: text, headings, the wordmark ------------------------- */
/* latin-ext first — the map draws Paraná and Kalaallit Nunaat, and a missing
   subset falls back mid-word, which reads as a rendering fault. */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('ebgaramond-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-20C0,
                 U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('ebgaramond-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: 'EB Garamond';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('ebgaramond-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;
}

/* --- Jost: tracked micro-capitals and map labels ----------------------- */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 200 600;
  font-display: swap;
  src: url('jost-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-20C0,
                 U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 200 600;
  font-display: swap;
  src: url('jost-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;
}
