/*
 * Shared font include — the only place web fonts are declared. Every page
 * links this file. All three families are self-hosted from /fonts/ (Latin
 * subset woff2, SIL Open Font License, licenses alongside), so no page makes
 * a request to Google Fonts. Each page's <head> preloads the Atkinson and
 * Cormorant files; Spline Sans Mono only appears inside case study prose,
 * so it loads on demand.
 *
 * v2 faces (CLAUDE.md, Typography):
 *   Atkinson Hyperlegible Next   everything except the hero sentence, page
 *     wght 400..600              titles and code. Variable on weight only (no
 *                                optical size axis). Weights in use: 400
 *                                (body, meta), 500 (header name), 600 (nav,
 *                                pill, h2, h3).
 *   Cormorant Garamond 500       hero sentence and case study title only
 *   Spline Sans Mono 400         token names, code and file names in prose
 */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/atkinson-hyperlegible-next-latin-wght.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-500.woff2') format('woff2');
}

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