/* ==========================================================================
   Self-hosted webfonts
   --------------------------------------------------------------------------
   Four files, latin subset, woff2 only — about 60 KB in total. Previously
   these came from Google Fonts, which meant two extra DNS lookups and TLS
   handshakes before any text could render, and a third party seeing every
   visitor.

   Only the weights the stylesheet actually asks for are here: Barlow 400 and
   500 for body copy, Barlow Condensed 600 for headings and nav, IBM Plex Mono
   500 for eyebrows and data labels. Adding a weight means adding a file —
   don't reference one that isn't declared below, or the browser will
   synthesise it and the type will look wrong.

   font-display: swap shows fallback text immediately rather than leaving a
   blank page while the fonts load.
   ========================================================================== */

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
}

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