/*
 * Source Sans 3 + Source Code Pro — hand-rolled @font-face block, served as
 * a static asset (NOT through PostCSS/Turbopack) so the unicode-range values
 * survive intact.
 *
 * Why static and not next/font: both @fontsource and next/font/google emit
 *   unicode-range: U+0000-00FF, U+0131, …, U+02BB-02BC, …
 * which the build's CSS minifier collapses to `U+??` — semantically identical
 * but Chromium's parser rejects the whole declaration, so the latin font
 * file never applies. Unicode-ranges below intentionally use forms that
 * won't compress to wildcards (e.g. U+0020-00FF instead of U+0000-00FF).
 *
 * Why Source over IBM Plex / Inter: both Source faces draw the Uzbek
 * modifier letters U+02BB (ʻ) and U+02BC (ʼ) at cap height with a tight
 * advance (~34 % of an O for the sans), matching how Uzbek apostrophes are
 * actually typeset. Plex used a full-letter advance with the mark floated
 * above cap height. Cyrillic coverage is shipped in a separate file for ru.
 */

/* ───── Source Sans 3 (variable weight axis, normal style) ───── */

@font-face {
  font-family: "Source Sans 3 Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("/fonts/source/source-sans-3-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0020-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3 Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("/fonts/source/source-sans-3-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3 Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("/fonts/source/source-sans-3-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ───── Source Code Pro (variable weight axis, normal style) ───── */

@font-face {
  font-family: "Source Code Pro Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("/fonts/source/source-code-pro-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0020-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Code Pro Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("/fonts/source/source-code-pro-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Code Pro Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("/fonts/source/source-code-pro-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
