/* ==========================================================================
   Pieter Galvin - self-hosted fonts
   --------------------------------------------------------------------------
   Inter and Playfair Display, served from this host instead of
   fonts.googleapis.com.

   Both are variable fonts, so one file covers every weight. Google hands out a
   separate URL per weight, but all four Inter weights are the same 84,924
   bytes - declaring seven @font-face rules would ship 394 KB to do the job of
   106 KB.

   Only the latin subset is kept. Google also serves cyrillic, greek and
   vietnamese per weight, none of which is ever rendered here.

   font-display: swap means text paints immediately in the system fallback and
   the webfont replaces it when it arrives, rather than a blank screen.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-var.woff2') format('woff2-variations');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/playfair-var.woff2') format('woff2-variations');
}
