/* Self-hosted subset (latin) — from Google Fonts.

   Space Grotesk and Inter are VARIABLE fonts with a `wght` axis. They must
   declare a weight RANGE, not a fixed weight: with a fixed value the browser
   renders the file's default instance (Space Grotesk 300, Inter 400) at every
   requested weight and never interpolates, so nothing renders bold. That was
   the case here until now — four Space Grotesk files and three Inter files
   were byte-identical copies of one variable font, each pinned to a different
   fixed weight.

   Space Mono is a genuine pair of static faces, so it keeps fixed weights. */

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

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-var.woff2') format('woff2-variations'),
       url('../assets/fonts/space-grotesk-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/space-mono-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/space-mono-700.woff2') format('woff2');
}
