/* ============================================================================
   TBWC / Orwell — self-hosted web fonts
   Served from: https://assets.thebusinesswritingclub.co.uk/fonts/fonts.css
   Maintained in: tbwc-assets/fonts/

   Consumers load this one stylesheet instead of Google Fonts:
     <link rel="stylesheet"
           href="https://assets.thebusinesswritingclub.co.uk/fonts/fonts.css">
   No product repo carries font files after migration. Removing the
   fonts.googleapis.com / fonts.gstatic.com requests removes that third-party
   GDPR surface entirely.

   Formats: woff2 only (deliberate — no ttf/otf/woff fallbacks for the
   browser support we care about). All three families are OFL-licensed; the
   licence travels with the files (OFL.txt in each family directory).

   Weights below are the ones actually in use across the estate (audited
   5 July 2026) — add a weight by adding a file + block, not by editing
   existing ones (the woff2 files are served with long-lived immutable
   caching; this stylesheet is served with a short cache so additions
   propagate).

   Note: some older interactives referenced the classic 'Atkinson
   Hyperlegible' family from Google Fonts. Every font stack in the estate
   prefers 'Atkinson Hyperlegible Next' first, so with Next self-hosted the
   classic family is not needed and is intentionally not served here.
   ========================================================================= */

/* ---- Atkinson Hyperlegible Next — variable (wght 200–800) ---------------- */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('https://assets.thebusinesswritingclub.co.uk/fonts/atkinson-hyperlegible-next/atkinson-hyperlegible-next-variable.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('https://assets.thebusinesswritingclub.co.uk/fonts/atkinson-hyperlegible-next/atkinson-hyperlegible-next-italic-variable.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

/* ---- IBM Plex Mono — 400 / 500 / 600 (no italics in use) ----------------- */
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('https://assets.thebusinesswritingclub.co.uk/fonts/ibm-plex-mono/ibm-plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('https://assets.thebusinesswritingclub.co.uk/fonts/ibm-plex-mono/ibm-plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('https://assets.thebusinesswritingclub.co.uk/fonts/ibm-plex-mono/ibm-plex-mono-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Spectral — 300–800 + 400 italic -------------------------------------- */
@font-face {
  font-family: 'Spectral';
  src: url('https://assets.thebusinesswritingclub.co.uk/fonts/spectral/spectral-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('https://assets.thebusinesswritingclub.co.uk/fonts/spectral/spectral-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('https://assets.thebusinesswritingclub.co.uk/fonts/spectral/spectral-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('https://assets.thebusinesswritingclub.co.uk/fonts/spectral/spectral-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('https://assets.thebusinesswritingclub.co.uk/fonts/spectral/spectral-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('https://assets.thebusinesswritingclub.co.uk/fonts/spectral/spectral-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('https://assets.thebusinesswritingclub.co.uk/fonts/spectral/spectral-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
