/* =========================================================
   BORAY · 博睿 — Gut & Mind
   Design system (Dior-style luxury pharma), bilingual site
   Palette + type derived from the reference DEMO.
   ========================================================= */

/* ---- self-hosted display face (variable, latin) ----
   Self-hosted so it renders reliably in mainland China where
   Google Fonts is unreachable. CJK uses a premium system stack. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/cormorant-garamond.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 思源黑体 / Source Han Sans SC — self-hosted subset (variable weight) so all
   Chinese type renders in 思源黑体 reliably, including mainland China. */
@font-face {
  font-family: 'Source Han Sans SC';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/source-han-sans-sc-subset.woff2') format('woff2');
}

:root {
  --ivory: #F8F6F1;
  --ivory-2: #F1EDE4;
  --paper: #FCFBF7;
  --ink: #141210;
  --ink-2: #1C1917;
  --ink-3: #2B2621;
  --gold: #B78E56;
  --gold-soft: #D9C29A;
  --gold-deep: #9A733E;
  --grey: #7A736A;
  --line: rgba(20, 18, 16, 0.09);
  --line-strong: rgba(20, 18, 16, 0.14);

  /* Latin display stays Cormorant (serif); ALL CJK now renders in 思源黑体 (sans) */
  --font-disp: 'Cormorant Garamond', 'Source Han Sans SC', 'Noto Sans SC', 'PingFang SC', sans-serif;
  --font-serif: 'Source Han Sans SC', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-sans: 'Source Han Sans SC', 'Noto Sans SC', 'PingFang SC', 'HarmonyOS Sans SC', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
:lang(en) body, body[lang='en'] { font-weight: 400; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-soft); color: var(--ink); }

.serif { font-family: var(--font-serif); }
.disp { font-family: var(--font-disp); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 22px; } }

.center { text-align: center; }
.kicker {
  font-size: 11.5px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; display: block;
  font-family: var(--font-disp); font-weight: 500;
}
h2.title {
  font-family: var(--font-disp); font-weight: 400;
  font-size: clamp(30px, 4.4vw, 48px); letter-spacing: 0.4px; line-height: 1.42;
}
.lede {
  margin: 22px auto 0; max-width: 580px; color: var(--grey);
  font-size: 15.5px; line-height: 1.95;
}
hr.rule { border: none; height: 1px; background: var(--line-strong); width: 64px; margin: 34px auto 0; }
hr.rule.left { margin-left: 0; }

section { padding: clamp(80px, 11vw, 122px) 24px; }

/* ============ skip link + a11y ============ */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--ivory); padding: 12px 18px; font-size: 13px;
}
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ============ header / nav ============ */
header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(248, 246, 241, 0.82);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 20px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
@media (max-width: 640px) { .nav-inner { padding: 16px 22px; } }
.logo {
  font-family: var(--font-disp); font-size: 23px; letter-spacing: 6px;
  font-weight: 500; text-transform: uppercase; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 3px;
}
.logo .cn { font-family: var(--font-serif); letter-spacing: 4px; }
nav.links { display: flex; gap: 38px; align-items: center; }
nav.links a {
  font-size: 12px; letter-spacing: 2px; color: var(--grey); text-transform: uppercase;
  position: relative; padding: 4px 0; transition: color .3s var(--ease);
}
nav.links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
nav.links a:hover, nav.links a[aria-current='page'] { color: var(--ink); }
nav.links a:hover::after, nav.links a[aria-current='page']::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 18px; }
.lang-toggle {
  font-family: var(--font-disp); font-size: 12px; letter-spacing: 2px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 7px 16px; color: var(--ink); background: transparent; cursor: pointer;
  transition: all .3s var(--ease); text-transform: uppercase; white-space: nowrap;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }

.menu-btn {
  display: none; width: 34px; height: 34px; border: none; background: transparent;
  cursor: pointer; position: relative;
}
.menu-btn span {
  position: absolute; left: 6px; right: 6px; height: 1px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-btn:hover span { background: var(--gold); }
.menu-btn span:nth-child(1) { top: 12px; }
.menu-btn span:nth-child(2) { top: 17px; }
.menu-btn span:nth-child(3) { top: 22px; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 800px) {
  nav.links {
    /* header has backdrop-filter, which makes it the containing block for
       fixed descendants — so size explicitly to the viewport, not inset:0 */
    position: fixed; top: 0; left: 0; right: 0; width: 100%;
    height: 100vh; height: 100dvh;
    flex-direction: column; justify-content: center;
    gap: 34px; background: var(--ivory); z-index: 55;
    transform: translateY(-100%); transition: transform .5s var(--ease);
    pointer-events: none;
  }
  body.menu-open nav.links { transform: none; pointer-events: auto; }
  nav.links a { font-size: 18px; letter-spacing: 3px; }
  .menu-btn { display: block; z-index: 65; }
}

/* ============ generic page hero (subpages) ============ */
.page-hero {
  padding: clamp(120px, 18vw, 200px) 24px clamp(60px, 9vw, 96px);
  text-align: center; position: relative;
  background: radial-gradient(58% 46% at 50% 24%, rgba(183, 142, 86, 0.10), transparent 70%), var(--ivory);
}
.page-hero .eyebrow {
  font-size: 12px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 22px; font-family: var(--font-disp); font-weight: 500;
}
.page-hero h1 {
  font-family: var(--font-disp); font-weight: 400; letter-spacing: 0.6px;
  font-size: clamp(34px, 6vw, 66px); line-height: 1.24; max-width: 900px; margin: 0 auto;
}
.page-hero .sub {
  margin: 26px auto 0; max-width: 500px; color: var(--grey); font-size: 15.5px; line-height: 1.9;
}
.hero-line { width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); margin: 40px auto 0; }

/* ============ home hero ============ */
.hero {
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 118px 24px 136px; position: relative; overflow: hidden;
  background: radial-gradient(60% 50% at 50% 30%, rgba(183, 142, 86, 0.11), transparent 70%), var(--ivory);
}
.hero .aura {
  position: absolute; inset: -20% -10% auto; height: 120%;
  background: radial-gradient(40% 60% at 30% 20%, rgba(217, 194, 154, 0.14), transparent 60%),
              radial-gradient(40% 50% at 78% 70%, rgba(183, 142, 86, 0.08), transparent 60%);
  pointer-events: none; animation: drift 22s var(--ease) infinite alternate;
}
@keyframes drift { to { transform: translate3d(0, -18px, 0) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .hero .aura { animation: none; } }
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow { font-size: 12px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; font-family: var(--font-disp); font-weight: 500; }
.hero h1 {
  font-family: var(--font-disp); font-weight: 400;
  font-size: clamp(34px, 5.6vw, 68px); line-height: 1.28; letter-spacing: 1px; max-width: 1040px; margin: 0 auto;
  text-wrap: balance;
}
.hero-sub { margin: 28px auto 0; font-size: 16px; color: var(--grey); max-width: 480px; line-height: 1.9; }
.hero-cta { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* full-bleed gut→brain line-art that fills the hero (fixes the "too empty" feel) */
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-art-path {
  stroke: var(--gold); stroke-width: 1.1; opacity: 0.42;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: heroDraw 3.6s var(--ease) 0.2s forwards;
}
.hero-art-nodes circle { fill: var(--gold); opacity: 0; animation: heroNode 0.9s var(--ease) forwards; }
.hero-art-nodes circle:nth-child(1) { animation-delay: 1.5s; }
.hero-art-nodes circle:nth-child(2) { animation-delay: 2.1s; }
.hero-art-nodes circle:nth-child(3) { animation-delay: 2.7s; }
.hero-art-nodes circle:nth-child(4) { animation-delay: 3.2s; }
.hero-art-nodes circle:nth-child(5) { animation-delay: 1.9s; }
@keyframes heroDraw { to { stroke-dashoffset: 0; } }
@keyframes heroNode { to { opacity: 0.72; } }

.hero-tags { list-style: none; display: flex; justify-content: center; align-items: center; margin-top: 48px; }
.hero-tags li {
  font-family: var(--font-sans); font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--grey); padding: 0 24px; position: relative;
}
.hero-tags li + li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 12px; background: var(--line-strong);
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--grey);
}
.scroll-cue span { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; }
.scroll-cue i { display: block; width: 1px; height: 46px; background: rgba(20, 18, 16, 0.14); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; top: 0; left: 0; width: 1px; height: 40%; background: var(--gold); animation: scrollDot 2.4s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(-100%); } 60% { transform: translateY(250%); } 100% { transform: translateY(250%); } }
@media (prefers-reduced-motion: reduce) {
  .hero-art-path { stroke-dashoffset: 0; animation: none; }
  .hero-art-nodes circle { opacity: 0.72; animation: none; }
  .scroll-cue i::after { animation: none; }
}
@media (max-width: 640px) { .scroll-cue { display: none; } .hero-tags { margin-top: 40px; } .hero-tags li { padding: 0 16px; letter-spacing: 3px; } }

/* ============ buttons ============ */
.btn {
  display: inline-block; padding: 15px 42px; font-size: 12.5px; letter-spacing: 3px;
  text-transform: uppercase; border: 1px solid var(--ink); cursor: pointer;
  transition: all .35s var(--ease); font-family: var(--font-disp); font-weight: 500; background: transparent;
}
.btn:hover { background: var(--ink); color: var(--ivory); }
.btn-gold { border-color: var(--gold); color: var(--gold-deep); }
.btn-gold:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-ghost-dark { border-color: rgba(237, 231, 220, 0.5); color: #EDE7DC; }
.btn-ghost-dark:hover { background: #EDE7DC; color: var(--ink); border-color: #EDE7DC; }

/* ============ insight / emotional rows ============ */
.insight { background: var(--ink); color: #EDE7DC; }
.insight .kicker { color: var(--gold-soft); }
.insight-rows { max-width: 760px; margin: 60px auto 0; }
.insight-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 26px 0; border-bottom: 1px solid rgba(237, 231, 220, 0.12);
  font-family: var(--font-disp); font-size: clamp(19px, 2.6vw, 27px);
}
.insight-row .cn { font-family: var(--font-serif); }
.insight-row span.n { font-size: 12px; font-family: var(--font-sans); color: var(--gold-soft); letter-spacing: 2px; flex: none; }

/* ============ gallery panels ============ */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 64px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }
.panel {
  aspect-ratio: 4 / 5; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 36px; text-align: left;
}
.panel.a { background: linear-gradient(160deg, #EDE4D2, #D9C7A6); }
.panel.b { background: linear-gradient(160deg, #181614, #2B2621); color: #EDE7DC; }
.panel-label { font-family: var(--font-disp); font-size: 26px; letter-spacing: 0.5px; }
.panel-label .cn { font-family: var(--font-serif); }
.panel-sub { font-size: 12px; letter-spacing: 1px; opacity: 0.72; margin-top: 8px; }
.panel svg { position: absolute; opacity: 0.55; }

/* ============ benefit / value / mechanism grid ============ */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-top: 66px; text-align: center; }
.trio.four { grid-template-columns: repeat(4, 1fr); gap: 40px; }
@media (max-width: 900px) { .trio.four { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; gap: 52px; } }
@media (max-width: 560px) { .trio.four { grid-template-columns: 1fr; } }
.cell .mark {
  width: 46px; height: 46px; margin: 0 auto 22px; border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 18px; color: var(--gold);
}
.cell h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 500; letter-spacing: 0.5px; }
.cell p { margin-top: 14px; color: var(--grey); font-size: 14px; line-height: 1.95; max-width: 300px; margin-left: auto; margin-right: auto; }

/* ============ process steps ============ */
.process-wrap { background: var(--ivory-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 66px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 42px 32px; text-align: center; border-right: 1px solid var(--line); }
.step:last-child { border-right: none; }
@media (max-width: 820px) { .step { border-right: none; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: none; } }
.step .num { font-family: var(--font-disp); font-size: 46px; color: var(--gold); font-weight: 400; }
.step h4 { margin-top: 14px; font-family: var(--font-serif); font-size: 18px; font-weight: 500; letter-spacing: 0.5px; }
.step p { margin-top: 12px; font-size: 13.5px; color: var(--grey); line-height: 1.9; }

/* ============ stat strip ============ */
.stat-strip { display: flex; justify-content: center; gap: 70px; margin-top: 76px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat .n { font-family: var(--font-disp); font-size: 46px; color: var(--ink); line-height: 1; }
.stat .n .s { color: var(--gold); font-size: 0.46em; font-family: var(--font-serif); margin-left: 3px; }
.stat .l { margin-top: 10px; font-size: 11.5px; letter-spacing: 1.5px; color: var(--grey); text-transform: uppercase; }

/* ============ quote ============ */
.quote { background: var(--ink); color: #EDE7DC; text-align: center; }
.quote blockquote {
  font-family: var(--font-disp); font-size: clamp(23px, 3.6vw, 38px); font-weight: 400;
  max-width: 780px; margin: 0 auto; line-height: 1.6; font-style: italic;
}
.quote blockquote .cn { font-family: var(--font-serif); font-style: normal; }
.quote cite { display: block; margin-top: 30px; font-style: normal; font-size: 12px; letter-spacing: 2px; color: var(--gold-soft); text-transform: uppercase; }

/* ============ prose (story paragraphs) ============ */
.prose { max-width: 640px; margin: 40px auto 0; }
.prose p { color: var(--grey); font-size: 15.5px; line-height: 2.05; margin-top: 20px; }
.prose p:first-child { margin-top: 0; }
.prose.left { text-align: left; }

/* ============ timeline / journey ============ */
.timeline { max-width: 720px; margin: 60px auto 0; text-align: left; }
.milestone { display: grid; grid-template-columns: 130px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
@media (max-width: 560px) { .milestone { grid-template-columns: 1fr; gap: 8px; } }
.milestone .yr { font-family: var(--font-disp); font-size: 26px; color: var(--gold); font-weight: 500; }
.milestone h4 { font-family: var(--font-serif); font-size: 18px; font-weight: 500; }
.milestone p { margin-top: 8px; color: var(--grey); font-size: 14px; line-height: 1.9; }

/* ============ effects list (science) ============ */
.rows-list { max-width: 720px; margin: 56px auto 0; text-align: left; }
.rows-list .item { padding: 30px 0; border-bottom: 1px solid var(--line); }
.rows-list .item h4 { font-family: var(--font-serif); font-size: 20px; font-weight: 500; }
.rows-list .item p { margin-top: 12px; color: var(--grey); font-size: 14.5px; line-height: 1.95; }

/* ============ compliance note ============ */
.note-band {
  max-width: 760px; margin: 60px auto 0; padding: 24px 28px; text-align: left;
  background: var(--paper); border: 1px solid var(--line); border-left: 2px solid var(--gold);
  font-size: 13px; color: var(--grey); line-height: 1.9;
}

/* ============ contact ============ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; margin-top: 60px; text-align: left; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--paper); border: 1px solid var(--line-strong); color: var(--ink);
  padding: 13px 15px; font-family: var(--font-sans); font-size: 14.5px; border-radius: 2px;
  transition: border-color .3s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.form-note { font-size: 12px; color: var(--grey); margin-top: 6px; line-height: 1.8; }
.form-status { margin-top: 16px; font-size: 13.5px; color: var(--gold-deep); min-height: 20px; }

.contact-detail { border-top: 1px solid var(--line); padding: 22px 0; }
.contact-detail:first-child { border-top: none; padding-top: 0; }
.contact-detail .k { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.contact-detail .v { font-size: 16px; color: var(--ink); font-family: var(--font-serif); }
.inquiry-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 56px; }
@media (max-width: 760px) { .inquiry-cards { grid-template-columns: 1fr; } }
.inquiry-cards .card { background: var(--ivory-2); padding: 34px 30px; text-align: left; }
.inquiry-cards .card h4 { font-family: var(--font-serif); font-size: 19px; font-weight: 500; }
.inquiry-cards .card p { margin-top: 12px; color: var(--grey); font-size: 13.5px; line-height: 1.9; }

/* ============ CTA ============ */
.cta { text-align: center; }
.cta .btns { margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ FAQ ============ */
.faq-list { max-width: 700px; margin: 56px auto 0; text-align: left; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 26px 40px 26px 0; font-family: var(--font-serif); font-weight: 500; font-size: 16.5px;
  color: var(--ink); position: relative; display: block; letter-spacing: 0.3px;
  transition: color .3s var(--ease);
}
.faq-q:hover { color: var(--gold-deep); }
.faq-q::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-disp); font-size: 24px; color: var(--gold); transition: transform .3s var(--ease);
}
.faq-item.open .faq-q::after { content: '–'; }
/* FAQ answers are open by default so they remain readable without JS;
   the accordion collapses them only once JS is available (html.js) */
.faq-a { overflow: hidden; transition: max-height .4s var(--ease); }
.js .faq-a { max-height: 0; }
.faq-a p { padding: 0 0 26px; font-size: 14px; color: var(--grey); line-height: 1.95; }

/* ============ footer ============ */
footer { background: var(--ivory-2); padding: 72px 24px 34px; }
.foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 44px; max-width: var(--maxw); margin: 0 auto; }
.foot-logo { font-family: var(--font-disp); font-size: 22px; letter-spacing: 5px; text-transform: uppercase; }
.foot-logo .cn { font-family: var(--font-serif); letter-spacing: 3px; }
.foot-brandline { margin-top: 16px; max-width: 240px; color: var(--grey); font-size: 13px; line-height: 1.85; }
.foot-col h6 { font-size: 11px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; font-family: var(--font-disp); font-weight: 600; }
.foot-col a { display: block; font-size: 13px; color: var(--grey); margin-bottom: 9px; transition: color .3s var(--ease); }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { max-width: var(--maxw); margin: 56px auto 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--grey); line-height: 1.95; }
.foot-bottom b { color: var(--ink); font-weight: 500; }

/* ============ scroll reveal ============ */
.fade { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } }

/* Chinese should never render as synthetic italic */
html[lang^='zh'] .quote blockquote { font-style: normal; }

[hidden] { display: none !important; }
