/*
 * Computer Modern — self-hosted.
 *
 * Served from our own origin rather than a CDN: a third-party stylesheet sends
 * every visitor's IP address to that third party before they have agreed to
 * anything. Same reason Google Fonts is self-hosted on most European sites.
 *
 * Only what the app actually uses: the serif (roman, bold, italic, bold italic)
 * and the typewriter (roman, bold). The CDN stylesheet pulled in twelve families
 * — Bright, Concrete, Sans, Upright Italic… — none of which is referenced here
 * or in tailwind.config.ts.
 *
 * woff2 only (every browser this app supports reads it), converted from the
 * upstream woff files. Source and licence: github.com/aaaakshat/cm-web-fonts,
 * SIL Open Font License — see OFL.txt next to this file, which must travel with
 * the fonts.
 *
 * font-display: swap — the text shows immediately in the fallback serif and
 * swaps once the font arrives, rather than staying invisible.
 */

@font-face {
  font-family: 'Computer Modern Serif';
  src: url('./cmunrm.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Computer Modern Serif';
  src: url('./cmunbx.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Computer Modern Serif';
  src: url('./cmunti.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Computer Modern Serif';
  src: url('./cmunbi.woff2') format('woff2');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Computer Modern Typewriter';
  src: url('./cmuntt.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Computer Modern Typewriter';
  src: url('./cmuntb.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
