/* Space Grotesk 2.0, Florian Karsten Typefaces.
   https://github.com/floriankarsten/space-grotesk/tree/03507d024a01282884232081fc6011c09ff4e849
   The original webfont remains unchanged. */
@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/concept-fonts/space-grotesk-v2.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-03FF, U+0530-10FFFF;
}

/* Cyrillic-only subset from ravid-dubsteper's upstream contribution:
   https://github.com/floriankarsten/space-grotesk/pull/50
   Revision 3672ea5ae67d699f93aac3c1744e5e56112cd4be. The contribution has
   its own vertical metrics; align mixed-script lines to the official Latin. */
@font-face {
  font-family: "Space Grotesk Cyrillic";
  src: url("./assets/concept-fonts/space-grotesk-cyr-v2.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  ascent-override: 98.4%;
  descent-override: 29.2%;
  line-gap-override: 0%;
  unicode-range: U+0401-040C, U+040E-044F, U+0451-045C, U+045E-045F, U+0490-0491;
}

/* Inter 4.1 by Rasmus Andersson and the Inter Project Authors.
   https://github.com/rsms/inter/releases/tag/v4.1
   Latin and Cyrillic site subset, with both weight and optical-size axes. */
@font-face {
  font-family: "Inter";
  src: url("./assets/concept-fonts/inter-4-1.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000, U+00A1-00AA, U+00AC, U+00AE-00AF, U+00B4-00B6, U+00B8-00BA, U+00BC-00D6, U+00D8-0148, U+014A-017F, U+0300-0304, U+0306-030A, U+030C, U+030F, U+0313, U+0315, U+031B, U+0323, U+0326-0328, U+032C, U+0337-0338, U+0342-0343, U+0346-036F, U+0460-0479, U+0480-049D, U+04A0-04FF, U+052F, U+2000-200B, U+2031-2055, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20A0-20AF, U+20B1-20B5, U+20B8-20BA, U+20BC, U+20BE-20BF, U+2105, U+2113, U+2122, U+212E, U+2153-2154, U+215B-215E, U+2205, U+221E, U+2248, U+2260, U+2264-2265, U+2713, U+FEFF;
}

/* Small site subsets keep the complete local faces available for additional characters. */
@font-face {
  font-family: "Inter";
  src: url("./assets/concept-fonts/inter-site.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0020-007E, U+00A0, U+00AB, U+00B0-00B3, U+00B7, U+00BB, U+00D7, U+2010-2027, U+202F, U+2030, U+20BD, U+2116, U+2190-2199, U+2212, U+0400-045F;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/concept-fonts/space-grotesk-site.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0020-007E, U+00A0, U+00AB, U+00B0-00B3, U+00B7, U+00BB, U+00D7, U+2010-2027, U+202F, U+2030, U+20BD, U+2116, U+2190-2199, U+2212;
}

:root {
  --av-display: "Space Grotesk", "Space Grotesk Cyrillic", "Inter", Arial, sans-serif;
  --av-text: "Inter", Arial, sans-serif;
  --av-display-tracking: .012em;
}
