/*
 * Self-hosted webfonts (no Google Fonts CDN dependency — works in mainland China).
 * Subsets generated from the upstream Noto Sans SC/JP/KR + Plus Jakarta Sans variable
 * fonts via fontTools; see docs. Each file keeps the variable weight axis, so one
 * @font-face per family covers weights 400–800.
 *
 * unicode-range scoping: Latin always resolves to Plus Jakarta Sans; the Noto CJK
 * faces only claim CJK codepoints, so Latin-only pages never download them.
 */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans.woff2") format("woff2");
}

/* CJK unicode ranges shared by the three Noto faces (Han, kana, Hangul, CJK punctuation,
   fullwidth forms, CJK Ext-A, compatibility ideographs). */
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/noto-sans-sc.woff2") format("woff2");
  unicode-range: U+2018-201F, U+2026, U+3000-303F, U+3040-30FF, U+3130-318F, U+3400-4DBF, U+4E00-9FFF, U+AC00-D7A3, U+F900-FAFF, U+FF00-FFEF;
}

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/noto-sans-jp.woff2") format("woff2");
  unicode-range: U+2018-201F, U+2026, U+3000-303F, U+3040-30FF, U+3130-318F, U+3400-4DBF, U+4E00-9FFF, U+AC00-D7A3, U+F900-FAFF, U+FF00-FFEF;
}

@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/noto-sans-kr.woff2") format("woff2");
  unicode-range: U+2018-201F, U+2026, U+3000-303F, U+3040-30FF, U+3130-318F, U+3400-4DBF, U+4E00-9FFF, U+AC00-D7A3, U+F900-FAFF, U+FF00-FFEF;
}
