/* Self-hosted web fonts for glinka.ru — no runtime requests to Google.
 *
 * Each .woff2 below is a single combined subset covering BOTH Latin and
 * Cyrillic (latin + latin-ext + cyrillic + cyrillic-ext merged), so no
 * unicode-range splitting is needed — one file serves all glyphs per weight.
 *
 * Sources:
 *   Golos Text    — SIL Open Font License 1.1 (see ../fonts/golos-text-OFL.txt).
 *                   RUS-749: each weight is instanced from the OFL variable font
 *                   (google/fonts ofl/golostext/GolosText[wght].ttf, v2.004 — the
 *                   version the former @fontsource files carried) and subset to
 *                   the former files' own code points plus U+2190–2193 (← ↑ → ↓),
 *                   with their layout features (calt ccmp frac locl pnum tnum,
 *                   kern mark mkmk). The landing's «→» used to fall back to a
 *                   system font. Advance widths are the former files' to the unit
 *                   (700: 14 «E»-family glyphs differ by 1/1000 em).
 *   JetBrains Mono — @fontsource (jsDelivr) build; SIL Open Font License 1.1
 *                   (see ../fonts/jetbrains-mono-OFL.txt). Has no ← →: keep arrows
 *                   out of monospace text.
 *
 * Family names MUST match :root --sans / --mono in index.html exactly:
 *   "Golos Text" and "JetBrains Mono".
 */

/* ---------- Golos Text (--sans) ---------- */
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/golos-text-400.woff2") format("woff2");
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/golos-text-500.woff2") format("woff2");
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/golos-text-600.woff2") format("woff2");
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/golos-text-700.woff2") format("woff2");
}

/* ---------- JetBrains Mono (--mono) ---------- */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-500.woff2") format("woff2");
}
