/* Approved prototype: local Noto serif headings and clean sans body.
   Sources and rebuild contract: tools/build_website_editorial_fonts.py. */
@font-face {
  font-family: "SnifffEditorialSerifSC";
  src: url("fonts/editorial-serif-sc.woff?v=20261006-editorial-2") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "SnifffEditorialSerifTC";
  src: url("fonts/editorial-serif-tc.woff?v=20261006-editorial-2") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "SnifffEditorialSerifJP";
  src: url("fonts/editorial-serif-jp.woff?v=20261006-editorial-2") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "SnifffEditorialSerifKR";
  src: url("fonts/editorial-serif-kr.woff?v=20261006-editorial-2") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "SnifffEditorialSansSC";
  src: url("fonts/editorial-sans-sc.woff?v=20261006-editorial-2") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "SnifffEditorialSansTC";
  src: url("fonts/editorial-sans-tc.woff?v=20261006-editorial-2") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "SnifffEditorialSansJP";
  src: url("fonts/editorial-sans-jp.woff?v=20261006-editorial-2") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "SnifffEditorialSansKR";
  src: url("fonts/editorial-sans-kr.woff?v=20261006-editorial-2") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
html[lang="zh-CN"], html[lang="en"] {
  --font-body: "SnifffEditorialSansSC", sans-serif;
  --font-heading: "SnifffEditorialSerifSC", serif;
}
html[lang="zh-TW"] {
  --font-body: "SnifffEditorialSansTC", sans-serif;
  --font-heading: "SnifffEditorialSerifTC", serif;
}
html[lang="ja"] {
  --font-body: "SnifffEditorialSansJP", sans-serif;
  --font-heading: "SnifffEditorialSerifJP", serif;
}
html[lang="ko"] {
  --font-body: "SnifffEditorialSansKR", sans-serif;
  --font-heading: "SnifffEditorialSerifKR", serif;
}
body { --font-latin: var(--font-body); --font-display: var(--font-heading); }
/* Keep the new font metrics from leaving a single character on its own line. */
.home-hero-lede { text-wrap: balance; }
