/* =========================================================================
   Self-hosted webfonts — subset to only the characters this site renders, so
   there are NO external font requests. This keeps typography intact where
   Google Fonts is unreachable (e.g. mainland China) and loads in ~0.6 MB.
   自托管字体（已按站点实际用字子集化）——无任何外部字体请求，适配中国大陆访问。
   如需改动文案后重新生成，见 scripts/subset-fonts.sh。
   ========================================================================= */

/* Noto Serif SC — Chinese body serif (variable weight 400–700) */
@font-face {
  font-family: "Noto Serif SC";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/NotoSerifSC-subset.woff2") format("woff2");
}

/* Ma Shan Zheng — calligraphic brush accent (renders the brand 一万个太阳) */
@font-face {
  font-family: "Ma Shan Zheng";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/MaShanZheng-subset.woff2") format("woff2");
}

/* Inter — Latin UI (variable weight 300–600) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../assets/fonts/Inter-subset.woff2") format("woff2");
}

/* Cormorant Garamond — Latin display (variable weight 300–700), roman + italic */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/CormorantGaramond-subset.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/CormorantGaramond-Italic-subset.woff2") format("woff2");
}
