/* ─────────────────────────────────────────────────────────────
   Self-hosted font stack — Inter (body), JetBrains Mono (code),
   Noto Sans SC (Chinese fallback for /zh/). All three under
   SIL Open Font License 1.1 — see /assets/fonts/<family>/LICENSE
   for each family's per-file copy, and /legal for the licence text
   on the public site.

   Inter and JetBrains Mono are variable fonts (wght 100–900 axis):
   one woff2 per subset covers every weight the layout asks for.
   Noto Sans SC is shipped as static cuts because the variable
   build isn't published on npm yet — we ship 400/500/600/700,
   the four weights the layout uses.

   Origin packages:
   - @fontsource-variable/inter           (5.2.8, OFL-1.1)
   - @fontsource-variable/jetbrains-mono  (5.2.8, OFL-1.1)
   - @fontsource/noto-sans-sc             (5.2.9, OFL-1.1)
   ───────────────────────────────────────────────────────────── */

/* ─── Inter (variable wght axis) ─── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('inter/inter-latin.woff2') format('woff2-variations');
  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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('inter/inter-latin-ext.woff2') format('woff2-variations');
  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: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('inter/inter-greek.woff2') format('woff2-variations');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* ─── JetBrains Mono (variable wght axis, latin only — code blocks) ─── */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('jetbrains-mono/jetbrains-mono-latin.woff2') format('woff2-variations');
  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;
}

/* ─── Noto Sans SC (static cuts; loaded only on /zh/) ─── */
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('noto-sans-sc/noto-sans-sc-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('noto-sans-sc/noto-sans-sc-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('noto-sans-sc/noto-sans-sc-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('noto-sans-sc/noto-sans-sc-700.woff2') format('woff2');
}
