/* ==========================================================================
   fonts.css - self-hosted web fonts. Nothing in this file loads from a third party.
   Fonts are files we serve: every request below stays on this origin.
   Sources, versions and full licence texts: ./LICENSES.md

     Switzer         Indian Type Foundry (Fontshare) - ITF Free Font License 2.0.
                     Official woff2 files from the Fontshare download package, unmodified
                     (the licence forbids subsetting, conversion and renaming font data).
     Space Grotesk   SIL Open Font License 1.1 - Google Fonts v22, latin + latin-ext.
     JetBrains Mono  SIL Open Font License 1.1 - Google Fonts v24, latin + latin-ext.

   Same families and weights the pages requested before: Switzer 300-700, Space Grotesk
   300-600, JetBrains Mono 400-500. Instrument Serif is in fonts-serif.css (home page only;
   scan.html never loaded it, so its <em> keeps rendering in the Georgia fallback).
   Only latin + latin-ext are shipped. The old Google link also pulled vietnamese (Space
   Grotesk) and cyrillic / greek / vietnamese (JetBrains Mono) files; no text on these pages
   uses those scripts. Glyphs outside the shipped subsets fall back to the system stack.
   To change a font file, give it a new filename so cached copies are not reused.
   ========================================================================== */

/* ---------- Switzer: static weights 300-700, normal style (same request as the old Fontshare link) ---------- */
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('Switzer-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('Switzer-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('Switzer-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('Switzer-Semibold.woff2') format('woff2');
}
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('Switzer-Bold.woff2') format('woff2');
}

/* ---------- Space Grotesk: variable wght, clamped to 300-600 (the weights the old Google link declared) ---------- */
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('spacegrotesk-v22-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('spacegrotesk-v22-latin.woff2') format('woff2');
  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;
}

/* ---------- JetBrains Mono: variable wght, clamped to 400-500 (the weights the old Google link declared) ---------- */
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('jetbrainsmono-v24-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('jetbrainsmono-v24-latin.woff2') format('woff2');
  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;
}
