/*
  Self-hosted latin subsets, taken from Google Fonts (all three are SIL Open Font
  Licence 1.1). Serving them from our own origin takes a render-blocking
  third-party request off the critical path, and removes a transfer of visitor IP
  addresses to a US host that the privacy notice would otherwise have to cover.

  Inter Tight and JetBrains Mono ship as variable fonts, so one file covers every
  weight in use. Non-latin glyphs fall back to the system stack.
*/

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/inter-tight-var.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-var.woff2') format('woff2');
}
