/* ============================================================
   zh.css: the Chinese site's type (30 October 2026, SITE-V2 §10, step 6).
   Loaded only by site/zh/index.html, which tools/build_lang.py writes.

   Body and interface: the reader's own system font (PingFang SC,
   Microsoft YaHei, Noto Sans CJK): excellent, free, nothing to
   download, nothing blocked in China. Titles: the site's own serif
   (Noto Serif SC, OFL, self-hosted), cut by build_lang.py to the
   characters the Chinese site uses (the file's name carries their
   hash), so a Chinese title speaks in the voice 金世双 has in the
   hero. Latin words keep the site's faces (Gloock, Crimson Pro).
   No fake italics or bold: Chinese faces have no italic, and a
   slanted character reads as a mistake.
   ============================================================ */

@font-face {
  font-family: "LK Song ZH";
  src: url("/fonts/noto-serif-sc-zh-ea4db309.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+3000-303F, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

:root {
  --cjk-sans:     "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --font-display: "LK Song ZH", "Gloock", "Bodoni 72", "Didot", "Big Caslon", "Georgia", "Songti SC", "STSong", serif;
  --font-text:    "Crimson Pro", "Iowan Old Style", "Palatino Linotype", "Palatino", "Georgia", var(--cjk-sans);
  --font-quote:   "Inter", "Helvetica Neue", "Arial", var(--cjk-sans);
  --font-ui:      "Instrument Sans", "Helvetica Neue", "Helvetica", "Arial", var(--cjk-sans);
  --font-zh:      "LK Song ZH", "LK Song", "Songti SC", "STSong", "Noto Serif CJK SC", serif;
}

html { font-synthesis: none; }

/* the hero's names: in English "Lawrence, Kamau" holds one line; the Chinese commas are a full character wide and pushed Kamau onto a line of
   its own, so here they are set half-width (halt), as Chinese typesetting does beside Latin words */
.names__line { font-feature-settings: "halt"; }
