/* TENGEN V7.5 — Display headline font selection (2026-10-29)
   Japanese: Zen Antique | Traditional Chinese: Zen Antique Soft | English: Fraunces.
   Only H1/H2 headline typography is changed; other text, layout and features remain V7.3.1.
   Important: Zen Antique Soft and Zen Antique are Japanese-oriented and may not cover
   some Traditional Chinese codepoints. Fallback is Noto Serif TC for legibility.
*/

/* Main headings across the five independent HTML pages.
   The longer selectors deliberately outrank the V7.1 Chinese sans-serif rule
   and other .ab-hero/.chapter-lead display declarations. */
html[lang="ja"] main :is(h1, h2, .display-heading, .ab-display, .hero h1, .ab-hero h1, .ct-hero h1, .ab-manifesto-main h2, .vision-inner h2, .ab-end-inner h2, .ab-quote-inner h2, .ct-ending h2, .chapter-lead h2),
html[lang="ja"] .modal-article :is(h1, h2) {
  font-family: "Zen Antique", "Zen Old Mincho", "Noto Serif CJK JP", "Yu Mincho", serif;
  font-synthesis: none;
}

html[lang="zh-Hant"] main :is(h1, h2, .display-heading, .ab-display, .hero h1, .ab-hero h1, .ct-hero h1, .ab-manifesto-main h2, .vision-inner h2, .ab-end-inner h2, .ab-quote-inner h2, .ct-ending h2, .chapter-lead h2),
html[lang="zh-Hant"] .modal-article :is(h1, h2) {
  font-family: "Zen Antique Soft", "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", serif;
  font-synthesis: none;
}

html[lang="en"] main :is(h1, h2, .display-heading, .ab-display, .hero h1, .ab-hero h1, .ct-hero h1, .ab-manifesto-main h2, .vision-inner h2, .ab-end-inner h2, .ab-quote-inner h2, .ct-ending h2, .chapter-lead h2),
html[lang="en"] .modal-article :is(h1, h2) {
  font-family: "Fraunces", Georgia, serif;
  font-synthesis: none;
  font-weight: 600; /* Fraunces variable: distinct but not overly heavy. */
}
