/* HSH Design — the two typefaces, served from this domain.

   These used to come from fonts.googleapis.com, which meant every visitor's
   browser made a request to Google before the page could paint, and Google
   received their IP address and referring page. Nobody consented to that and
   it bought us nothing: two families at four files is 110 KB, cached after
   the first page, and it removes the last third-party request the site makes.
   That is what lets /privacy say the site talks to nobody but us — a claim
   worth being able to make literally rather than approximately.

   Both are variable fonts covering weight 400-700 in one file per subset, so
   this is four requests rather than the fourteen static instances the same
   weights would need. Latin and latin-ext are the only subsets kept: the site
   is in English, and latin-ext carries the accented names and currency signs
   an overseas customer's company name might need. Cyrillic, Greek and
   Vietnamese are dropped.

   Both families are licensed under the SIL Open Font License 1.1, which
   permits exactly this. The licence texts ship beside the files in
   assets/fonts/ because the OFL requires them to travel with the fonts.

   URLs are relative to this stylesheet, so they resolve the same whether the
   site is at a domain root or in a subdirectory — the same property
   asset_url() protects for everything else.

   To update: fetch the current CSS from Google with a modern browser's
   user-agent, take the latin and latin-ext woff2 URLs out of it, and replace
   the files. Nothing else here changes. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/archivo-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: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/archivo-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-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;
}
