/* 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: @fontsource (jsDelivr) builds of the upstream families.
 *   Golos Text    — SIL Open Font License 1.1 (see ../fonts/golos-text-OFL.txt)
 *   JetBrains Mono — SIL Open Font License 1.1 (see ../fonts/jetbrains-mono-OFL.txt)
 *
 * 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");
}
