/* /css/fonts.css — self-hosted typefaces.
 *
 * Shell UI fonts (always available): Bebas Neue (--font-display), DM Mono
 * (--font-mono), Roboto (--font-body). Atkinson Hyperlegible is declared here
 * but only fetched when theme.js applies --font-body to its stack, i.e. on
 * demand when a user selects it as their reading font.
 *
 * Hanken Grotesk is NOT here — it is loaded on demand by
 * src/pages/staff/instagram-graphic/index.js (injectHankenFont), since only
 * that page's canvas uses it.
 *
 * Licences:
 *   Bebas Neue, DM Mono, Atkinson Hyperlegible, Hanken Grotesk — SIL OFL 1.1
 *   (see /fonts/OFL.txt; attribution: https://fonts.google.com/specimen/<family>)
 *   Roboto — Apache 2.0 (see /fonts/LICENSE-Apache-2.0.txt)
 */

/* Bebas Neue — OFL */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/BebasNeue-Regular.woff2') format('woff2');
}

/* DM Mono — OFL */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/DMMono-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/DMMono-Medium.woff2') format('woff2');
}

/* Roboto — Apache 2.0 */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/Roboto-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Roboto-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/Roboto-Medium.woff2') format('woff2');
}

/* Atkinson Hyperlegible — OFL (fetched on demand via theme.js applyFont) */
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/AtkinsonHyperlegible-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/AtkinsonHyperlegible-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/AtkinsonHyperlegible-Italic.woff2') format('woff2');
}
