/* ==========================================================================
   DUSTYWALKS77 — SELF-HOSTED FONTS

   The site used to pull these from Google Fonts. They are now served from
   assets/fonts/, which removes a render-blocking third-party stylesheet, two
   extra DNS/TLS handshakes, and any dependency on fonts.googleapis.com being
   reachable. It also lets the Content Security Policy stay tighter.

   Both faces are variable fonts covering the Latin subset only (the site is
   English-language), which is why there are two files rather than seven.

   LICENSING — both are SIL Open Font License 1.1, which permits self-hosting
   and redistribution as part of a website:
     Bricolage Grotesque — https://github.com/ateliertriay/bricolage
     Inter               — https://github.com/rsms/inter

   TO UPDATE: re-download the latin woff2 from Google Fonts and replace the
   files in assets/fonts/. The typography itself is defined in tokens.css.
   ========================================================================== */

/* font-display: swap — text is readable in the fallback face immediately and
   never disappears while the webfont loads. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;   /* variable range, not three separate files */
  font-stretch: 100%;
  font-display: swap;
  src: url("../assets/fonts/bricolage-grotesque-latin-var.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: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-var.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;
}
