/**
 * fonts.css — self-hosted brand webfonts (latin subset).
 *
 * Replaces the external https://fonts.googleapis.com dependency: removes the
 * third-party request (privacy/GDPR + performance), and pins exact font files
 * in the repo so the build is reproducible and offline-capable.
 *
 * Each family is a single VARIABLE woff2 (the same file Google serves), so one
 * @font-face per family covers the whole weight axis via a font-weight range.
 * Arabic glyphs are intentionally out of scope here — they ship with the WPML
 * Arabic layer later, with an Arabic-capable face.
 *
 * font-display: swap — text paints immediately in the fallback, then swaps.
 */

/* Inter — body text (variable, weights 100–900) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('inter/inter-latin-var.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;
}

/* Space Grotesk — display/headings (variable, weights 300–700) */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('space-grotesk/space-grotesk-latin-var.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+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono — code/mono accents (variable, weights 100–800) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('jetbrains-mono/jetbrains-mono-latin-var.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;
}
