/* CJK typography — loaded ONLY on /zh/ pages (build/zh.mjs injects it).
   Full Noto CJK faces run to megabytes, so the English side must never pay for
   them. Until the subsets are generated and self-hosted, fall back to the CJK
   faces already present on the reader's device, which every Chinese-reading
   user has. That renders correctly today with zero bytes, and swapping in a
   self-hosted subset later changes nothing structural. */
:root {
  --ghs-font-display: 'Newsreader', 'Noto Serif SC', 'Source Han Serif SC',
                      'Songti SC', 'SimSun', Georgia, serif;
  --ghs-font-mono:    'IBM Plex Mono', 'Noto Sans SC', 'PingFang SC',
                      'Hiragino Sans GB', 'Microsoft YaHei', ui-monospace, monospace;
}
/* Chinese has no descenders and reads denser; the Latin display scale is too
   tight vertically and too wide on tracking. */
.ghs-hero__title, .ghs-h1, .ghs-h2 { letter-spacing: 0; line-height: 1.25; }
.ghs-eyebrow, .ghs-nav, .ghs-btn { letter-spacing: .08em; }
.ghs-prose, .ghs-lead { line-height: 1.85; }
.ghs-hero__line--accent { font-style: normal; }  /* faux-italic CJK looks broken */
.ghs-lang { font-family: var(--ghs-font-mono); font-size: 11.5px; letter-spacing: .08em; opacity: .8; }
.ghs-lang:hover { opacity: 1; color: var(--ghs-accent); }
