/* ==========================================================================
   The site's web fonts: the same self-hosted files as fonts.css, declared with
   `font-display: swap`.

   Two things this replaces. The pages used to fetch these from Google, which
   meant a render-blocking stylesheet on fonts.googleapis.com and then the font
   files on fonts.gstatic.com -- two origins the browser had to look up and
   shake hands with before any text could be painted in the right face. The
   files were already here, used by the printable certificate; nothing was
   using them on the site itself.

   Why not just use fonts.css: it sets `font-display: block`, which hides text
   until the font arrives. That is right for a certificate, which is printed and
   has to look exactly so, and wrong for a page, where it means the headline is
   invisible for as long as the font takes. `swap` paints immediately in the
   fallback and switches when the real face is ready.

   SIL Open Font License, see ../fonts/OFL.txt.
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-opsz-wght.woff2") format("woff2");
}

@font-face { font-family: "Karla"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/karla-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/karla-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/karla-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/karla-latin-700.woff2") format("woff2"); }

@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2"); }
