/*
 * Self-hosted brand fonts for KnowTheSpore.
 * All families are licensed under the SIL Open Font License 1.1;
 * licence files live beside these assets.
 *
 * Packages (pinned):
 *   @fontsource-variable/bricolage-grotesque@5.3.0
 *     – standard subset (wght 200–800, wdth 75–100%)
 *     – source file already in design/fonts/; reused here
 *   @fontsource-variable/atkinson-hyperlegible-next@5.3.0
 *     – wght subset (wght 200–800), normal + italic
 *   @fontsource-variable/newsreader@5.3.0
 *     – wght-italic subset (wght 200–800), italic only
 *       (Newsreader is used exclusively for the t-taxon italic role)
 *
 * Family names match design/tokens.json font.family exactly so
 * var(--font-display/body/taxon) resolves to these faces.
 */

/* ---- Bricolage Grotesque (display / heading) ---- */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url('./bricolage-grotesque-latin-standard-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* ---- Atkinson Hyperlegible Next (body) ---- */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('./atkinson-hyperlegible-next-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url('./atkinson-hyperlegible-next-latin-wght-italic.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* ---- Newsreader (taxon / scientific name italic) ---- */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url('./newsreader-latin-wght-italic.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
