/* Self-hosted fonts — replaces the Google Fonts CDN entirely.
 * This eliminates the external connection (fonts.googleapis.com +
 * fonts.gstatic.com) completely, rather than trying to defer or optimize
 * loading it — the earlier attempt at deferring the CDN request broke
 * under this site's CSP (script-src 'self') because the deferral trick
 * relied on an inline onload handler. Self-hosting sidesteps that problem
 * entirely: no inline script of any kind is needed, so it's compatible
 * with the CSP as-is, and it's also faster than the CDN ever was, since
 * there's no third-party DNS lookup or connection at all.
 */

@font-face {
  font-family: 'Oswald';
  src: url('/assets/fonts/Oswald.ttf') format('truetype');
  font-weight: 200 700;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/SourceSans3.ttf') format('truetype');
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/IBMPlexMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/IBMPlexMono-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
