/* ---------------------------------------------------------------------------
 * Non-latin @font-face subsets for the three self-hosted fonts (Inter,
 * JetBrains Mono, Oswald) — see src/fonts/README.md for the full sourcing
 * story and src/app/[locale]/layout.tsx for the `latin` subset, which goes
 * through next/font/local instead (that loader has no `unicodeRange` field
 * on its `src` array entries — confirmed against its own shipped .d.ts, not
 * assumed — so it cannot express "these files are the same weight,
 * disambiguated only by which characters they cover" the way this file does
 * by hand).
 *
 * `font-family` below MUST match what next/font/local derives for each
 * variable in layout.tsx — Next names a local font's internal family after
 * the JS variable itself (lowercased first letter, camelCase preserved),
 * NOT the human-readable name you'd expect from next/font/google. Confirmed
 * by building with only the `latin` file and inspecting the generated CSS
 * (`const inter` -> `font-family:inter`, `const jetbrainsMono` ->
 * `font-family:jetbrainsMono`, `const oswald` -> `font-family:oswald`), not
 * assumed. Get this wrong and the browser silently treats these as an
 * unrelated font that's simply never selected — no error, just a fallback
 * font for every non-Latin character, which is exactly the class of bug
 * this whole file exists to prevent.
 *
 * Every file + unicode-range pair was extracted from this exact codebase's
 * own build output (not re-requested from Google, which can drift in either
 * bytes or which subsets it offers between builds — see the README), so
 * these are guaranteed byte-for-byte identical to what the equivalent
 * next/font/google config was actually serving.
 * --------------------------------------------------------------------------- */

/* ---- Inter (--font-inter, weight range 100–900) ---- */
@font-face {
  font-family: inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter/inter-cyrillic-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter/inter-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: inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter/inter-greek-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter/inter-greek-wght-normal.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter/inter-vietnamese-wght-normal.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
    U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter/inter-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+0304, U+0308, U+0329,
    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;
}

/* ---- JetBrains Mono (--font-jetbrains-mono, weight range 100–800 — no greek-ext) ---- */
@font-face {
  font-family: jetbrainsMono;
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jetbrains-mono/jetbrains-mono-cyrillic-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: jetbrainsMono;
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jetbrains-mono/jetbrains-mono-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: jetbrainsMono;
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jetbrains-mono/jetbrains-mono-greek-wght-normal.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: jetbrainsMono;
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jetbrains-mono/jetbrains-mono-vietnamese-wght-normal.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
    U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: jetbrainsMono;
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jetbrains-mono/jetbrains-mono-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+0304, U+0308, U+0329,
    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;
}

/* ---- Oswald (--font-oswald, weights 500/600/700 — no greek/greek-ext) ---- */
@font-face {
  font-family: oswald;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/oswald/oswald-cyrillic-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: oswald;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/oswald/oswald-cyrillic-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: oswald;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/oswald/oswald-cyrillic-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: oswald;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/oswald/oswald-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: oswald;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/oswald/oswald-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: oswald;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/oswald/oswald-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: oswald;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/oswald/oswald-vietnamese-wght-normal.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
    U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: oswald;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/oswald/oswald-vietnamese-wght-normal.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
    U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: oswald;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/oswald/oswald-vietnamese-wght-normal.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
    U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: oswald;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/oswald/oswald-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+0304, U+0308, U+0329,
    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: oswald;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/oswald/oswald-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+0304, U+0308, U+0329,
    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: oswald;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/oswald/oswald-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+0304, U+0308, U+0329,
    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;
}
