/* Genuine OFL title faces; sources, native names, hashes and licenses in fonts/. */
@font-face {
  font-family: "Chiron Sung HK";
  src: url("/assets/fonts/ChironSungHK-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chiron Sung HK";
  src: url("/assets/fonts/ChironSungHK-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("/assets/fonts/DMSerifDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: url("/assets/fonts/NotoSerifSC-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: url("/assets/fonts/NotoSerifSC-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("/assets/fonts/NotoSansSC-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("/assets/fonts/NotoSansSC-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --journal-serif: "DM Serif Display", "Chiron Sung HK", var(--serif);
  --paper: #FBF8F2;
  --white: #fffdfa;
  --ink: #242424;
  --muted: #5f5551;
  --rose: #763646;
  --rose-dark: #5c2a36;
  --wine: #4f1f2a;
  --blush: #F2E7DF;
  --line: #e3d9d2;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 132px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.3; text-wrap: pretty; overflow-wrap: break-word; }
em { font-style: normal; color: var(--rose); }
a, button { transition: color .18s, background .18s, border-color .18s, transform .18s, opacity .18s; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 4px;
}
a:hover { color: var(--rose); }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.small { font-size: 13px; color: var(--muted); }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 400;
  color: var(--rose);
  line-height: 1.8;
}
.en, [lang="en"] { font-weight: 400; }
.en-lead {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.2rem;
}
.preview-note {
  background: transparent;
  color: #9a8e86;
  text-align: center;
  font-size: 10px;
  letter-spacing: .08em;
  padding: 5px 16px 4px;
  border-bottom: 1px solid var(--line);
}
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; background: var(--white); padding: 12px; }
.skip-link:focus { top: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 248, 242, .94);
  border-bottom: 1px solid rgba(227, 217, 210, .7);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 92px;
  width: min(1280px, calc(100% - 64px));
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-mark {
  display: block;
  flex-shrink: 0;
  background: var(--rose);
  border-radius: 50% 50% 44% 44%;
  width: 42px;
  height: 47px;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; }
.brand-type {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: .08em;
  line-height: 1.15;
}
.brand-type small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .18em;
  margin-top: 5px;
  color: #9a8e86;
  text-transform: uppercase;
}
#main-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 8px 28px;
  flex-wrap: wrap;
}
#main-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 2px;
  font-size: 13px;
  letter-spacing: .16em;
  line-height: 1.3;
  text-align: center;
}
#main-nav a [lang="en"] {
  font-size: 9px;
  letter-spacing: .14em;
  color: #a39891;
  margin-top: 5px;
  text-transform: uppercase;
}
#main-nav a[aria-current] { color: var(--rose); }
#main-nav a[aria-current] [lang="en"] { color: #a39891; }
.header-search {
  display: flex;
  align-items: center;
  border: 0;
  border-bottom: 1px solid #cfc3bb;
  background: transparent;
  min-width: 0;
  flex-shrink: 1;
  padding: 0;
}
.header-search input {
  width: 112px;
  border: 0;
  background: transparent;
  padding: 6px 2px;
  font-size: 14px;
  color: var(--ink);
  appearance: none;
}
.header-search input::placeholder { color: #a39891; }
.header-search button {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 4px 0 4px 8px;
  display: flex;
  align-items: center;
  line-height: 1;
}
.header-search button:hover { color: var(--rose); background: transparent; }
.menu-button {
  margin-left: auto;
  background: transparent;
  border: 0;
  padding: 10px 0 10px 12px;
  color: var(--ink);
  font-size: 14px;
}
.menu-button-label-open { display: none; }
.menu-button[aria-expanded="true"] .menu-button-label-closed { display: none; }
.menu-button[aria-expanded="true"] .menu-button-label-open { display: inline; }

.button, a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 28px;
  background: var(--rose);
  border: 1px solid var(--rose);
  color: #fff;
  font-size: 14px;
  letter-spacing: .08em;
  line-height: 1.3;
}
.button [lang="en"], a.button [lang="en"] {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .85;
}
.button:hover, a.button:hover { background: var(--rose-dark); color: #fff; transform: translateY(-1px); }
.button-secondary, a.button-secondary {
  background: transparent;
  color: var(--rose);
  border-color: var(--rose);
}
.button-secondary:hover, a.button-secondary:hover {
  background: var(--rose);
  color: #fff;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  border-bottom: 1px solid #b7a49c;
  padding: 8px 0;
  color: var(--ink);
  background: transparent;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}
.text-link:hover { border-bottom-color: var(--rose); }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 46%) minmax(0, 1fr);
  min-height: calc(100svh - 92px);
  background: #3a1c24;
  color: #f7efe9;
  overflow: hidden;
}
.hero-media {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  min-height: 100%;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 52% 8%;
}
.hero-scrim {
  grid-column: 1 / -1;
  grid-row: 1;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #3a1c24 0%, #3a1c24 36%, rgba(58,28,36,.7) 48%, rgba(58,28,36,.28) 62%, rgba(58,28,36,.05) 80%, transparent 100%);
}
.hero-copy {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
  padding: clamp(40px, 9vh, 96px) clamp(28px, 5vw, 80px) clamp(48px, 8vh, 96px) clamp(28px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 740px;
}
.hero h1 {
  font-size: clamp(36px, 4.8vw, 68px);
  letter-spacing: .02em;
  color: #fff;
  margin: 0 0 18px;
  max-width: 10em;
}
.hero-en {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 26px);
  font-style: italic;
  color: #ecd4cc;
  margin: 0 0 22px;
}
.hero-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #f0ddd7;
  max-width: 20em;
  margin: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.hero .button, .hero a.button {
  background: #f7efe9;
  color: var(--wine);
  border-color: #f7efe9;
}
.hero .button:hover, .hero a.button:hover {
  background: #fff;
  color: var(--wine);
  transform: translateY(-1px);
}
.hero .button-secondary, .hero a.button-secondary {
  background: transparent;
  color: #f7efe9;
  border-color: rgba(247,239,233,.85);
}
.hero .button-secondary:hover, .hero a.button-secondary:hover {
  background: rgba(247,239,233,.12);
  color: #fff;
  border-color: #fff;
}

.section { padding: 88px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading h2 {
  font-family: var(--journal-serif);
  font-synthesis: none;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}
.section-heading.compact { margin-top: 48px; }
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 80px; }
.about-teaser h2 { font-size: 38px; margin: 10px 0 0; }
.about-teaser p { color: var(--muted); margin-bottom: 14px; }
.story-note { font-size: 13px; color: var(--muted); letter-spacing: .02em; margin: 4px 0 18px; }
.science-teaser { background: var(--blush); }
.science-teaser h2 { font-size: 34px; margin: 8px 0 16px; }
.science-teaser p { max-width: 42em; color: #4a3f3c; margin-bottom: 12px; }
.articles-section { background: #f4eee8; }
.contact-band {
  padding: 42px 48px;
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #efe0db;
  gap: 30px;
}
.contact-band h2 { font-size: 28px; margin: 8px 0; }
.contact-band p:not(.eyebrow) { font-size: 14px; color: var(--muted); }

.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.featured-grid, .latest-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.article-card { min-width: 0; background: transparent; border: 0; }
.card-link { height: 100%; display: flex; flex-direction: column; }
.card-cover { aspect-ratio: 16 / 9; overflow: hidden; background: #ede0d8; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.typographic-cover {
  aspect-ratio: 16 / 9;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  text-align: center;
  color: #3a1c24;
  background-color: #e6d5c8;
  background-image:
    linear-gradient(165deg, rgba(255,255,255,.22), rgba(40,20,24,.08)),
    url("/assets/paper-laid.svg"),
    url("/assets/paper-grain.png");
  background-size: auto, 80px 80px, 128px 128px;
}
.typographic-cover::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid currentColor;
  opacity: .2;
  pointer-events: none;
  z-index: 1;
}
.typographic-cover::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: .16;
  border: 1px solid currentColor;
  z-index: 0;
}
.cover-texture { display: none; }
.cover-word {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  font-weight: 700;
}
.cover-line {
  position: relative;
  z-index: 1;
  display: block;
  width: 32px;
  height: 1px;
  margin: 12px auto 10px;
  background: currentColor;
  opacity: .45;
}
.cover-kicker, .typographic-cover .cover-kicker {
  position: relative;
  z-index: 1;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .7;
  line-height: 1.4;
  max-width: none;
  margin: 0;
  white-space: normal;
}
.typographic-cover[data-topic="stages-and-periods"] { background-color: #e0c8bb; color: #5a2f36; }
.typographic-cover[data-topic="stages-and-periods"]::after {
  width: 70%; height: 1px; left: 15%; top: 28%; border: 0; background: currentColor;
}
.typographic-cover[data-topic="hot-flushes-and-sleep"] { background-color: #d4a9a1; color: #4a1c26; }
.typographic-cover[data-topic="hot-flushes-and-sleep"]::after {
  width: 120px; height: 120px; border-radius: 50%; right: -36px; top: -36px;
}
.typographic-cover[data-topic="mood-and-memory"] { background-color: #d0cbc0; color: #332e2a; }
.typographic-cover[data-topic="mood-and-memory"]::after {
  width: 90px; height: 90px; left: 16px; bottom: 16px; border-radius: 2px;
}
.typographic-cover[data-topic="body-discomfort"] { background-color: #ddc09a; color: #4a3220; }
.typographic-cover[data-topic="body-discomfort"]::after {
  width: 140%; height: 1px; left: -20%; top: 72%; transform: rotate(-8deg); border: 0; background: currentColor;
}
.typographic-cover[data-topic="diet-and-weight"] { background-color: #c3d0b4; color: #2c3a26; }
.typographic-cover[data-topic="diet-and-weight"]::after {
  width: 18px; height: 18px; border-radius: 50%; left: 18px; top: 16px;
  box-shadow: 28px 8px 0 0 currentColor;
}
.typographic-cover[data-topic="exercise-and-bones"] { background-color: #bbc8c4; color: #1f2e2c; }
.typographic-cover[data-topic="exercise-and-bones"]::after {
  width: 1px; height: 70%; left: 22px; top: 15%; border: 0; background: currentColor;
}
.typographic-cover[data-topic="skin-hair-mouth-eyes"] { background-color: #e8d3b3; color: #5c3a32; }
.typographic-cover[data-topic="skin-hair-mouth-eyes"]::after {
  width: 80px; height: 80px; border-radius: 50%; left: -24px; bottom: -24px;
}
.typographic-cover[data-topic="urinary-and-intimate"] { background-color: #d5bdc6; color: #4a2838; }
.typographic-cover[data-topic="urinary-and-intimate"]::after {
  width: 60%; height: 60%; right: -8%; bottom: -18%; border-radius: 50% 0 50% 0;
}
.typographic-cover[data-topic="appointments-and-checkups"] { background-color: #d6c8af; color: #32281e; }
.typographic-cover[data-topic="appointments-and-checkups"]::after {
  inset: 18px 18px auto auto; width: 12px; height: 12px; border: 0; background: currentColor; opacity: .2;
  box-shadow: 0 20px 0 currentColor, 20px 0 0 currentColor, 20px 20px 0 currentColor;
}
.typographic-cover[data-topic="daily-life"] { background-color: #e4d8c8; color: #3a322c; }
.typographic-cover[data-topic="daily-life"]::after {
  width: 55%; height: 1px; left: 22%; bottom: 24%; border: 0; background: currentColor;
}
.card-body { padding: 18px 2px 4px; flex: 1; display: flex; flex-direction: column; }
.card-body h3, .card-body h2 {
  font-family: var(--journal-serif);
  font-synthesis: none;
  font-size: clamp(19px, calc(17px + .25vw), 22px);
  margin: 0 0 10px;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: 0;
  text-wrap: wrap;
  line-break: strict;
  word-break: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-body > p {
  font-size: 13px;
  color: #6a5e59;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card:hover h3, .article-card:hover h2 { color: var(--rose); }
.carousel-track .article-card.is-peek .card-body { visibility: hidden; }

.page-heading { padding-top: 64px; padding-bottom: 36px; }
.page-heading h1 { font-size: clamp(36px, 5vw, 58px); margin: 10px 0 18px; }
.page-heading > p { color: var(--muted); max-width: 42em; }
/* Menoguide calibration: 75% outer band, 52px side rails, 24px gap.
   At 1920 CSS px: outer=1440, four-card track=1336, each image=316x177.75.
   Side rail includes the 24px gap: visible next-image strip is 28px, not 38%.
   No third-party images/scripts are part of these styles. */
.page-knowledge {
  --guide-band: 75%;
  --guide-rail: 52px;
  --guide-gap: 24px;
  background: #fff;
}
.library-heading { text-align: center; }
.page-knowledge .library-heading {
  padding-top: 0;
  padding-bottom: 8px;
}
.page-knowledge .library-heading h1 {
  font-family: var(--journal-serif);
  font-synthesis: none;
  font-size: clamp(40px, calc(31.2624px + 2.3301vw), 76px);
  font-weight: 700;
  line-height: 1.14;
  margin: 0;
  letter-spacing: 0;
}
.library-heading > p { margin-inline: auto; }
.library-toolbar { padding-bottom: 0; }
.library-toolbar .search-form {
  width: 50vw;
  max-width: 100%;
  margin: 8px auto 0;
}
.topic-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0 4px;
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.topic-nav::-webkit-scrollbar { display: none; height: 0; }
.topic-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 6px 10px;
  font-size: 13px;
  letter-spacing: 0;
  flex: 1 1 auto;
  text-align: center;
  min-width: min-content;
}
.topic-nav a [lang="zh"] { white-space: nowrap; }
.topic-nav a [lang="en"] {
  font-size: 8px;
  color: #a39891;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 3px;
  white-space: normal;
  line-height: 1.35;
  max-width: 12em;
}
.topic-nav a:hover, .topic-nav a[aria-current] { color: var(--rose); }
.topic-nav a.is-clipped { visibility: hidden; }
@media (min-width: 1024px) {
  .topic-nav { overflow-x: visible; }
}
.search-form { max-width: 560px; margin: 0 auto 20px; }
.search-form label:not(.visually-hidden) {
  display: block;
  font-size: 11px;
  letter-spacing: .16em;
  margin-bottom: 10px;
  color: var(--muted);
}
.search-form label [lang="en"] { font-size: 10px; margin-left: 8px; letter-spacing: .12em; opacity: .75; }
.search-row {
  display: flex;
  align-items: stretch;
  border: 1px solid #e6ddd6;
  background: #fffcf8;
}
.search-row input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 11px 16px;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  appearance: none;
}
.search-row input::placeholder { color: #a39891; }
.search-row button {
  border: 0;
  background: var(--rose);
  color: #fff;
  padding: 0 22px;
  font-size: 12px;
  letter-spacing: .14em;
  min-height: 44px;
  min-width: auto;
}
.search-row button:hover { color: #fff; background: var(--rose-dark); transform: none; }
.result-count { font-size: 13px; color: var(--muted); margin: 0 0 8px; text-align: center; min-height: 0; }
.result-count:empty { display: none; }
.library-section { padding-bottom: 48px; }
.empty-state { border: 1px solid var(--line); background: var(--white); padding: 48px; text-align: center; }
.empty-state h2 { font-size: 26px; }
.empty-state p { margin: 12px 0 20px; color: var(--muted); }

.topic-row {
  --carousel-gap: var(--guide-gap);
  padding-block: 16px 12px;
  margin-bottom: 0;
  scroll-margin-top: 116px;
}
.topic-row:first-child { padding-top: 12px; }
.page-knowledge .library-heading.wrap,
.page-knowledge .library-section > .wrap,
.page-knowledge .library-section > div > .wrap,
.page-knowledge .topic-row-heading.wrap,
.page-knowledge .library-toolbar.wrap {
  width: var(--guide-band);
  margin-inline: auto;
}
.topic-row-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  text-align: center;
}
.topic-row-heading h2 {
  font-family: var(--journal-serif);
  font-synthesis: none;
  font-size: clamp(22px, calc(19.5728px + .6472vw), 32px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}
.topic-row-heading h2 a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
}
.topic-row-heading h2 a:hover { color: var(--rose); }
.topic-row-heading h2 a:after {
  content: "";
  width: 100%;
  height: 8px;
  background: var(--rose);
  display: block;
  margin-top: 8px;
}
.topic-row-heading h2 [lang="en"] {
  font-family: "DM Serif Display", var(--serif);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  color: #897d76;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 4px;
}
.carousel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: var(--guide-band);
  margin-inline: auto;
}
.carousel-frame {
  --card-w: calc((100% - 3 * var(--carousel-gap)) / 4);
  width: calc(100% - 2 * var(--guide-rail));
  margin-inline: auto;
  position: relative;
  z-index: 0;
}
.carousel-viewport { overflow: auto hidden; width: 100%; }
body.has-js .carousel-viewport { overflow: visible; touch-action: pan-y; }
.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--carousel-gap);
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
body.has-js .carousel-track {
  overflow: visible;
  scroll-snap-type: none;
  transition: transform 300ms ease-out;
  will-change: transform;
}
.carousel-track .article-card {
  flex: 0 0 var(--card-w);
  min-width: 0;
  scroll-snap-align: start;
}
.carousel-btn {
  position: absolute;
  /* Reference overlay centers on the carousel (card row + pager), not the image. */
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--rose);
  color: #fff;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(36, 24, 24, .16);
}
body.has-js .carousel-btn { display: inline-flex; pointer-events: auto; touch-action: manipulation; }
.carousel-btn > *, .carousel-btn svg * { pointer-events: none; }
.carousel-track img { -webkit-user-drag: none; user-select: none; }
.carousel-debug {
  position: fixed;
  z-index: 100;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  white-space: pre-wrap;
  font: 13px/1.45 monospace;
  padding: 10px 14px;
  color: #242424;
  background: rgba(255,255,255,.97);
  border: 1px solid #763646;
  pointer-events: none;
}
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-btn:hover { background: var(--rose-dark); color: #fff; }
.carousel-btn:disabled { opacity: 1; cursor: pointer; }
.carousel-status {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  min-height: 8px;
  margin-top: 12px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #ddd3cc;
}
.carousel-dot[aria-current="true"] { background: var(--ink); transform: scale(1.15); }
.carousel-page-label { display: none; }

/* Editorial title faces and calmer 600 weight; body and carousel geometry unchanged. */
.page-knowledge .card-body { padding: 12px 0 0; }
.page-knowledge .card-body h3 {
  font-family: var(--journal-serif);
  font-synthesis: none;
  font-size: clamp(19px, calc(17px + .25vw), 22px);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: 0;
  margin: 0 0 12px;
  -webkit-line-clamp: 3;
}
.page-knowledge .card-body > p {
  font-size: 18px;
  line-height: 1.5;
  color: #242424;
  -webkit-line-clamp: 4;
}
.page-knowledge .site-header { background: #fff; backdrop-filter: none; }
.page-knowledge .topic-nav { line-height: 1.3; }
.page-knowledge .search-row { background: transparent; border: 0; gap: 10px; }
.page-knowledge .search-row input { border: 1px solid #d6d6d6; padding: 14px 18px; }
.page-knowledge .search-row button { border-radius: 30px; padding-inline: 30px; }

.breadcrumbs { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); padding: 30px 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 1fr; gap: 72px; align-items: start; }
.reading h1 { font-size: 40px; line-height: 1.45; margin: 14px 0 20px; }
.byline { font-size: 12px; display: flex; gap: 10px 20px; flex-wrap: wrap; color: var(--muted); }
.byline a { color: var(--rose); }
.topic-link { font-size: 13px; margin-top: 8px; }
.article-summary { font-size: 17px; line-height: 2; margin: 22px 0; color: var(--muted); }
.answer-box { border-left: 3px solid var(--rose); padding: 24px 28px; background: #f0e5de; margin: 24px 0 36px; }
.answer-box p { margin-top: 8px; line-height: 2; font-size: 17px; }
.reading section { margin: 34px 0; }
.reading section h2, .standalone h2 { font-size: 25px; margin: 0 0 16px; }
.reading section p, .standalone p { font-size: 16px; line-height: 2.1; margin-bottom: 16px; }
.source-section { border-top: 1px solid var(--line); padding-top: 28px; }
.source-section p, .source-section li { font-size: 13px !important; color: var(--muted); }
.source-section ol { padding-left: 22px; }
.source-section a { text-decoration: underline; text-underline-offset: 4px; }
.source-section li { margin-bottom: 12px; overflow-wrap: anywhere; }
.health-note { font-size: 14px; color: var(--muted); padding: 18px 20px; background: #eee9e1; margin: 16px 0 24px; }
.article-end { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding-top: 25px; margin-top: 35px; font-size: 13px; }
.article-sidebar { position: sticky; top: 120px; padding-top: 30px; }
.article-sidebar nav { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: 20px; margin-top: 16px; gap: 16px; font-size: 13px; color: var(--muted); }
.sidebar-note { font-family: var(--serif); font-size: 22px; line-height: 1.8; color: #9c786b; margin-top: 40px; }
.related { padding: 70px 0 80px; margin-top: 30px; border-top: 1px solid var(--line); }
.related h2, .related-heading { font-size: 28px; margin: 28px 0 20px; }
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 100%; }
.citation { font-size: 12px; white-space: nowrap; line-height: 1; }
.citation a { color: var(--rose); padding: 5px 3px; text-decoration: underline; text-underline-offset: 3px; }
.reading .section-citations { font-size: 12px; color: var(--muted); margin-top: -7px; }
.source-section h3 { font-size: 19px; margin-top: 22px; }
.revision-list { padding-left: 20px; }
.mobile-toc { display: none; }
.standalone { max-width: 740px; margin: 0 auto 90px; padding: 0 24px; }
.standalone a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; }
.standalone a.button,
.standalone a.button:hover {
  color: #fff;
  text-decoration: none;
}
.standalone a.button-secondary {
  color: var(--rose);
  text-decoration: none;
}
.standalone a.button-secondary:hover { color: #fff; }
.standalone .page-actions a.button { margin-right: 0; }
.faq-page h2 { margin-top: 28px; }

.about-page { display: grid; grid-template-columns: 1.25fr 1fr; gap: 80px; padding-top: 70px; padding-bottom: 90px; align-items: start; }
.about-page h1 { font-size: 46px; margin: 12px 0 24px; }
.about-page .lead { font-size: 23px; font-family: var(--serif); line-height: 1.7; }
.about-page p:not(.eyebrow) { margin-bottom: 22px; line-height: 2; color: var(--muted); }
.about-page figure img {
  border-radius: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 12%;
}
.about-page figcaption { font-size: 13px; color: var(--muted); margin-top: 15px; text-align: left; letter-spacing: .06em; }
.about-page blockquote { border-left: 2px solid var(--rose); padding-left: 22px; margin: 30px 0; font-family: var(--serif); font-size: 24px; color: var(--rose); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 28px; }
.contact-panel { border: 1px solid var(--line); background: var(--white); padding: 38px; }
.contact-panel h2 { font-size: 30px; margin: 10px 0 18px; }
.contact-panel p:not(.eyebrow) { color: var(--muted); font-size: 13px; }
.wechat-panel { display: flex; align-items: center; gap: 26px; }
.wechat-panel img { width: 160px; height: 160px; object-fit: contain; flex-shrink: 0; }
.copy-phone { margin-top: 20px; }
.contact-note { padding-top: 45px; padding-bottom: 80px; }
.contact-note h2 { font-size: 22px; margin-bottom: 10px; }
.social-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.social-link { display: flex; align-items: center; gap: 8px; }
.social-icon { display: inline-flex; flex-shrink: 0; width: 1.15em; height: 1.15em; }
.social-icon svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.social-list .social-link { display: flex; align-items: center; gap: 12px; font-size: 22px; line-height: 1.3; min-height: 44px; padding: 8px 0; }
.social-list .social-icon { width: 28px; height: 28px; }
.social-list .social-label [lang="en"] { display: block; font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.footer-main .social-link { gap: 8px; }
.footer-main .social-icon { width: 16px; height: 16px; }

.topic-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding-bottom: 80px; }
.topic-index-card { border: 1px solid var(--line); background: var(--white); padding: 28px; }
.topic-index-card h2 { display: flex; flex-direction: column; gap: 6px; font-size: 26px; margin-bottom: 12px; }
.topic-index-card h2 [lang="en"] { font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.topic-index-card p { color: var(--muted); font-size: 14px; }

.site-footer { border-top: 1px solid var(--line); background: #f3eee7; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: 56px; }
.footer-brand { font-family: var(--serif); font-size: 24px; display: inline-block; }
.footer-brand span { display: block; font-size: 11px; color: #9a8e86; margin-top: 6px; letter-spacing: .08em; }
.footer-desc { font-family: var(--serif); color: var(--muted); margin: 8px 0; }
.footer-main p { color: var(--muted); font-size: 13px; margin-top: 10px; }
.footer-main h2 { font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .12em; margin-bottom: 14px; }
.footer-main h2 [lang="en"] { color: #9a8e86; font-size: 10px; letter-spacing: .1em; }
.footer-main > div > a:not(.footer-brand) { display: block; font-size: 13px; line-height: 2.3; }
.footer-main > div > a.social-link { display: flex; align-items: center; gap: 8px; }
.footer-main .social-icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); padding-block: 20px; }
.footer-notices { margin: 8px 0 0; }
.footer-notices a { margin-right: 0; }
.footer-bottom > div { display: flex; justify-content: space-between; margin-top: 6px; gap: 12px; flex-wrap: wrap; }
.category-return { margin-top: 30px; }

@media (min-width: 901px) {
  .menu-button { display: none !important; }
}
@media (max-width: 1100px) {
  .article-layout { gap: 32px; grid-template-columns: minmax(0, 2.4fr) 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .wrap, .header-inner { width: calc(100% - 32px); }
  .header-inner { min-height: 76px; flex-wrap: wrap; padding-block: 10px; gap: 16px; }
  .header-search { width: auto; margin-left: auto; }
  .header-search input { width: 96px; font-size: 16px; }
  #main-nav { width: 100%; padding-top: 10px; gap: 0; display: flex; flex-wrap: wrap; }
  #main-nav a { flex: 1 1 33%; padding: 10px 6px; font-size: 13px; letter-spacing: .08em; }
  body.has-js #main-nav:not(.is-open) { display: none; }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    align-content: start;
  }
  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    padding: 22px 24px 16px;
    max-width: none;
    justify-content: flex-start;
  }
  .hero-media {
    grid-column: 1;
    grid-row: 2;
    min-height: min(42vh, 340px);
  }
  .hero-scrim {
    grid-column: 1;
    grid-row: 1 / 3;
    background: linear-gradient(180deg, #3a1c24 0%, #3a1c24 38%, rgba(58,28,36,.2) 62%, transparent 86%);
  }
  .hero h1 { font-size: 32px; margin-bottom: 10px; }
  .hero-en { margin-bottom: 12px; }
  .hero-lead { margin: 0; line-height: 1.65; }
  .hero-actions { margin-top: 18px; gap: 10px; }
  .section { padding: 56px 0; }
  .section-heading, .about-teaser, .footer-main { grid-template-columns: 1fr; }
  .about-teaser, .about-page, .topic-index-grid { grid-template-columns: 1fr; }
  .section-heading h2, .about-teaser h2, .science-teaser h2 { font-size: 28px; }
  .article-grid, .related-grid, .featured-grid, .latest-grid { grid-template-columns: 1fr 1fr; }
  .page-knowledge { --guide-band: calc(100% - 32px); --guide-rail: 36px; }
  .carousel-frame { --card-w: calc((100% - var(--carousel-gap)) / 2); }
  .library-toolbar .search-form { width: 90%; }
  .topic-nav {
    justify-content: flex-start;
    gap: 0 12px;
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-right: 0;
  }
  .topic-nav a {
    flex: 0 0 auto;
    min-width: max-content;
    padding: 8px 8px 10px;
    font-size: 12px;
    scroll-snap-align: start;
  }
  .topic-nav a [lang="en"] {
    white-space: nowrap;
    max-width: none;
  }
  .contact-band { flex-direction: column; align-items: flex-start; padding: 28px 22px; margin-bottom: 48px; }
  .article-layout { display: block; }
  .article-sidebar { display: none; }
  .mobile-toc { display: block; border-block: 1px solid var(--line); padding: 14px 0; margin-bottom: 25px; }
  .mobile-toc summary { cursor: pointer; font-size: 14px; color: var(--rose); padding: 5px 0; }
  .mobile-toc nav { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; font-size: 13px; }
  .reading h1 { font-size: 30px; }
  .about-page { padding-top: 36px; padding-bottom: 48px; gap: 28px; }
  .about-page h1 { font-size: 34px; }
  .about-page figure { width: 80%; }
  .wechat-panel { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .article-grid, .related-grid, .featured-grid, .latest-grid { grid-template-columns: 1fr; }
  .page-knowledge { --guide-rail: 32px; }
  .carousel-frame { --card-w: 100%; }
  .carousel-btn { width: 32px; height: 32px; }
  .hero h1 { font-size: 28px; }
  .hero-copy { padding: 18px 20px 12px; }
  .hero-media { min-height: min(36vh, 280px); }
  .header-search input { width: 80px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}

/* Atomic words, not keep-all on whole sentences. Overlong tokens can still wrap. */
.card-body .title-word,
.hero h1 .title-word,
.reading h1 .title-word {
  display: inline-block;
  max-width: 100%;
  vertical-align: baseline;
  overflow-wrap: anywhere;
  word-break: normal;
  text-indent: 0;
  white-space: nowrap;
}
.title-word.is-breakable { white-space: normal; }
.faq-page a, .standalone p a:not(.button) { white-space: nowrap; }

/* S1 reading/search/mobile quality: desktop guide geometry and title faces untouched. */
.article-layout > *, .reading { min-width: 0; }
.article-wrap :is(p, li, a) { overflow-wrap: anywhere; }
.reading [id] { scroll-margin-top: 24px; }
.source-section li:target { outline: 1px solid var(--rose); outline-offset: 8px; }
.article-end { flex-wrap: wrap; }
.search-error { padding: 20px 0; color: var(--ink); }
.search-error p { margin-bottom: 12px; }
.carousel-viewport:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
@media (max-width: 900px) {
  .mobile-toc a { padding-block: 8px; min-height: 44px; }
  .answer-box { padding: 20px; }
}
@media (max-width: 600px) {
  .header-inner > .brand { order: 0; }
  .header-inner > .menu-button { order: 1; min-height: 44px; }
  .header-inner > .header-search { order: 2; flex: 1 0 100%; margin-left: 0; }
  .header-search input { flex: 1; min-width: 0; width: 100%; }
  .header-search button { min-width: 44px; min-height: 44px; justify-content: center; }
  .header-inner > #main-nav { order: 3; flex-basis: 100%; }
  .page-knowledge .search-row { gap: 8px; }
  .page-knowledge .search-row input { padding-inline: 12px; }
  .page-knowledge .search-row button { padding-inline: 18px; }
}

/* Owned editorial art: stable article-specific motif positions, no stock photography.
   Cover variants affect only internal art, never calibrated card/rail geometry. */
.typographic-cover[data-edition="1"] { background-position: 0 0, 18px 9px, 38px 0; }
.typographic-cover[data-edition="2"] { background-position: 0 0, -24px 16px, 0 42px; }
.typographic-cover[data-edition="3"] { background-position: 0 0, 12px -12px, 70px 28px; }
.typographic-cover[data-edition] .cover-texture {
  display: block;
  position: absolute;
  z-index: 0;
  width: 52%;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  left: var(--cover-motif-x, 18%);
  top: -48%;
  opacity: .12;
  pointer-events: none;
}
.typographic-cover[data-edition="1"] .cover-texture { top: 64%; }
.typographic-cover[data-edition="2"] .cover-texture { border-radius: 0; transform: rotate(24deg); }
.typographic-cover[data-edition="3"] .cover-texture { top: 58%; border-radius: 0; transform: rotate(-18deg); }

/* A separate, explicitly gated appendix leaves the Chinese reading block intact. */
.english-translation.reading {
  max-width: 760px;
  min-width: 0;
  margin: 40px 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.english-translation .translation-notice {
  padding: 14px 18px;
  background: #f5eee7;
  border-left: 3px solid var(--rose);
  font-size: 14px;
}
.english-translation .byline { display: block; }
.english-translation .byline span { display: block; }
.english-translation #en-title { font-size: clamp(26px, 4.5vw, 36px); line-height: 1.3; }
.english-translation h3 { font-size: 23px; line-height: 1.4; margin-top: 28px; }
.english-translation li { margin-bottom: 16px; }

/* Approved original AI covers: no changes to carousel band, rails, gap or controls. */
.ai-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover-disclosure { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.article-editorial-cover { margin: 0 0 32px; width: 100%; }
.article-editorial-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article-editorial-cover figcaption { margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--muted); }
