/*
  Voicemodly typography — GitHub #157
  OpenDisign project: 48e26712-d11a-42c9-a483-24094be22f01
  OpenDisign run: 7e92ab57-de67-4d5a-9f22-80c0a1e471d8
  Artifact: index.html (web-syntax PASS)
  Evaluated: Onest Variable, Golos Text Variable, Literata + Onest.
  Selected: Onest Variable (SIL OFL 1.1) for one coherent UA/RU/EN brand family.
  Self-hosted Cyrillic + Latin subsets total 49,620 bytes, below the 150 KB budget.
*/
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/onest-latin-wght-normal.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;
}

/* Metric-matched local fallback limits reflow while Onest swaps in. */
@font-face {
  font-family: "Onest Fallback";
  font-style: normal;
  font-weight: 100 900;
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 107.5%;
  ascent-override: 90.2%;
  descent-override: 28.4%;
  line-gap-override: 0%;
}

:root {
  --font-brand: Onest, "Onest Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono-brand: Onest, "Onest Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display-weight: 420;
}
