/* Kalatori brand font (Alaska), self-hosted. See https://kalatori.org */
@font-face {
  font-family: "Alaska_VAR";
  src: url("../assets/fonts/Alaska/AlaskaVAR-VF.woff2") format("woff2");
  font-weight: 100 900; /* variable font */
  font-style: normal;
  font-display: swap;
}

/* Nunito Sans — Cyrillic companion (Alaska VAR has no Cyrillic glyphs). Scoped
   to Cyrillic via unicode-range, so each subset is fetched only when a matching
   codepoint is actually rendered: Russian pages pull the basic (and, where
   needed, extended) subsets, while EN/ES only pull the basic-Cyrillic subset for
   the "Русский" language-switcher label — the ext and weight-700 files stay
   unused there. Static instances at wght=500 (declared as 400) and wght=700,
   size-adjusted so optical weight matches Alaska. Mirrors the konductor
   reference wiring used by the Kalatori admin so Cyrillic renders consistently
   across brand apps. */
@font-face {
  font-family: "Nunito Sans";
  src: url("../assets/fonts/NunitoSans/NunitoSans-cyrillic-500.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 105.5%;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../assets/fonts/NunitoSans/NunitoSans-cyrillic-ext-500.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 105.5%;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../assets/fonts/NunitoSans/NunitoSans-cyrillic-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  size-adjust: 105.5%;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../assets/fonts/NunitoSans/NunitoSans-cyrillic-ext-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  size-adjust: 105.5%;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Override Material's body/heading font via the CSS variable so the theme's
   system-font fallback chain is preserved. Alaska covers Latin; "Nunito Sans"
   follows it to supply Cyrillic (matched per glyph via the unicode-range faces
   above). Code font is intentionally left as Material's default monospace —
   Alaska is proportional. */
:root {
  --md-text-font: "Alaska_VAR", "Nunito Sans";
}
