/*
 * Print typefaces, served from THIS origin.
 *
 * They used to be pulled from fonts.googleapis.com at render time, which trades
 * a system dependency for a network one: a print station with blocked or flaky
 * access silently substitutes a fallback face, and the card comes out wrong on
 * plastic that cannot be un-printed. Intermittent is the worst kind of wrong,
 * because it tests fine.
 *
 * Latin subsets only, ~50 KB for both, cached once. Montserrat is a variable
 * font, so 500/600/700 are three declarations over one file.
 *
 * `font-display: block` on purpose. Everywhere else swap is right; on a print
 * surface a flash of the wrong face can BE the printed artefact, so waiting is
 * the safer failure. `printWhenFontsReady` still gates the dialog.
 *
 * Both families are SIL Open Font License, so self-hosting is permitted.
 */

@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/fonts/bebas-neue-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url('/fonts/montserrat-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url('/fonts/montserrat-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('/fonts/montserrat-latin.woff2') format('woff2');
}
