/* brand-refinement.css — integration layer, load LAST */
@font-face {
  font-family: "Chiron Hei HK Web";
  src: url("/vendor/fonts/chiron-hei-hk-subset.woff2?v=20261004a") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

/* 1. Wordmarks */
.wordmark,
.footer-wordmark,
.blog-wordmark,
.blog-footer-wordmark {
  font-size: 20px;
  font-family: "Newsreader", serif;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  overflow: visible;
}
html:lang(zh) .wordmark,
html:lang(zh) .footer-wordmark,
html:lang(zh) .blog-wordmark,
html:lang(zh) .blog-footer-wordmark {
  font-family: "Chiron Hei HK Web", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* 2. zh type stack */
html:lang(zh) {
  --sans: "Chiron Hei HK Web", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Chiron Hei HK Web", "PingFang SC", "Microsoft YaHei", sans-serif;
}
html:lang(zh) body {
  font-family: var(--sans);
  font-synthesis: none;
}

/* 3. zh reading copy */
html:lang(zh) .reading-copy {
  width: 100%;
  max-width: 48rem;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: clamp(20px, 5vw, 48px);
  text-align: center;
}
html:lang(zh) .reading-copy p {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.8;
  text-wrap: balance;
  max-width: 32em;
  margin: 0;
}
html:lang(zh) .reading-copy p + p { margin-top: 1.1em; }
html:lang(zh) .evidence-note {
  max-width: 56rem;
  font-size: 14px;
  line-height: 1.7;
  white-space: normal;
  text-wrap: pretty;
  margin-inline: auto;
}

/* 4. EN product type */
html:lang(en) .product-intro-title,
html:lang(en) .product-title,
html:lang(en) .product-between-title {
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.035em;
}
html:lang(en) .product-lede,
html:lang(en) .product-intro-lede {
  font-size: 17px;
  line-height: 1.65;
}

/* between-feature: two children h3 + p, link in column 2 */
.between-feature {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.65fr);
  column-gap: 48px;
}
.between-feature .source-link { grid-column: 2; }
.between-feature h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
}
html:lang(zh) .between-feature h3 { font-size: 20px; }

/* 5. zh product titles: real 500 weight, no faux bold */
html:lang(zh) .product-intro-title,
html:lang(zh) .product-title,
html:lang(zh) .product-between-title { font-weight: 500; }

@media (max-width: 768px) {
  html:lang(zh) .reading-copy { padding-inline: 0; }
  html:lang(zh) .reading-copy p { font-size: 18px; }
  .between-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .between-feature .source-link { grid-column: 1; }
}
/* Keep the fixed navigation legible over light reading surfaces. */
.site-header.is-light-surface { background: rgba(242, 244, 246, 0.96); }
.nav-mobile-belief { display: none; }
.keep-phrase { white-space: nowrap; }
html:lang(zh) :is(h1,h2,h3,h4) { text-wrap: balance; }
html:lang(zh) p { text-wrap: pretty; }
html:lang(zh) .product-close-title { max-width: 20em; text-wrap: balance; }
@media (min-width: 1000px) {
  html:lang(zh) .lead-copy {
    max-width: none;
    width: max-content;
    font-size: 16px;
    white-space: nowrap;
  }
}
@media (max-width: 1200px) {
  .site-nav #navLabel,
  .site-nav .nav-dots { display: none; }
  .site-nav .nav-mobile-belief { display: inline-flex; }
}
