/* =============================================================
   fonts.css — the three faces of the design system, self-hosted.

   The Bitstream Vera family (owner, Declutter): Vera Serif for prose and
   headings, Vera Sans for controls and UI text and Vera Sans Mono for all
   machine values: emails, dates, scores, filenames, and the editor. The rules
   for when to use which did not change.

   Self-hosted rather than loaded from a font service on purpose: a school
   network that blocks one, or is simply offline, must not turn the whole
   product into Times New Roman. Vera covers Latin-1 and has two weights, 400
   and 700 (a 500 falls to 400, a 600 to 700, by CSS's own rule), and its serif
   has no italic. Any character outside it comes from the fallback fonts in
   theme.css. The .woff2 files are Vera's own TTFs converted without changing a
   glyph; its licence is BITSTREAM-VERA-COPYRIGHT.TXT beside them.

   `font-display: swap` so text is readable immediately and reflows once,
   rather than being invisible while the face downloads.
   ============================================================= */

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

@font-face {
    font-family: 'Bitstream Vera Serif';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/bitstream-vera-serif-normal-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Bitstream Vera Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/bitstream-vera-sans-normal-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Bitstream Vera Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/bitstream-vera-sans-normal-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Bitstream Vera Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/bitstream-vera-sans-italic-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Bitstream Vera Sans';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/bitstream-vera-sans-italic-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Bitstream Vera Sans Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/bitstream-vera-sans-mono-normal-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Bitstream Vera Sans Mono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/bitstream-vera-sans-mono-normal-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Bitstream Vera Sans Mono';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/bitstream-vera-sans-mono-italic-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Bitstream Vera Sans Mono';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/bitstream-vera-sans-mono-italic-700.woff2') format('woff2');
}
