/* ===========================================================
   HAMER OFFICIAL — Design System
   黑金 × 东方草本 / 高端男性保健品
   =========================================================== */

:root {
  /* Brand Palette */
  --ink: #0a0806;            /* deep black */
  --ink-2: #14110d;          /* slightly lighter black */
  --ink-3: #1d1812;          /* card black */
  --ink-soft: #2a2218;       /* hover/border */

  --gold: #c9a256;           /* primary gold */
  --gold-bright: #e6c886;    /* highlight gold */
  --gold-deep: #8a6a2c;      /* deep gold */
  --gold-line: rgba(201, 162, 86, 0.25);

  --crimson: #7a1a1a;        /* deep red accent */
  --crimson-bright: #a52a2a;
  --jade: #1f3a32;           /* eastern green */

  --text: #ece4d2;           /* main text on dark */
  --text-dim: #9c907a;       /* secondary text */
  --text-faint: #5e5544;

  /* Typography */
  --font-display: "Cormorant Garamond", "Noto Serif SC", "Songti SC", serif;
  --font-serif-cn: "Noto Serif SC", "Songti SC", "STSong", serif;
  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;

  /* Layout */
  --max: 1320px;
  --pad: clamp(20px, 4vw, 64px);
  --radius: 2px;
  --radius-lg: 4px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* Anchor jumps stay below the fixed header. JS handles smooth-scroll on hash
   clicks explicitly — no global scroll-behavior, so other scrolls (focus,
   back/forward, browser anchor on load) keep instant default.
   overflow-x: clip on html prevents iOS Safari's quirk where setting only
   body overflow-x lets <html> still scroll horizontally if any descendant
   (e.g. an absolutely-positioned heading) overshoots the viewport. */
html {
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--ink); }

/* ===== English mode: hide the Chinese subtitle "印章" beneath each big title ===== */
/* In zh-Hant / zh-Hans the .cn subtitle reads as a Chinese 印章 / "stamp" of
   the English serif title above. In en mode it would become a redundant
   English phrase next to the big serif title, which looks busy. Hide it. */
html[data-lang="en"] .hero h1 .cn,
html[data-lang="en"] .sec-head-title .cn,
html[data-lang="en"] .heritage h2 .cn {
  display: none;
}

/* ===== Focus indicators (keyboard accessibility) ===== */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn:focus-visible,
.lang-trigger:focus-visible,
.lang-option:focus-visible,
.faq-head:focus-visible {
  outline-offset: 2px;
}

/* ===== Skip link (a11y) ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Type Scale ===== */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.serif-cn {
  font-family: var(--font-serif-cn);
  font-weight: 500;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow-cn {
  font-family: var(--font-serif-cn);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--gold);
  font-weight: 400;
}

/* ===== Layout helpers ===== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section {
  position: relative;
  padding: clamp(60px, 7.5vw, 104px) 0;
}

/* "section-paper" originally meant cream-on-dark contrast;
   we keep the class as a hook but render it as a tonally lifted dark section
   with a warm radial wash, so the moody luxe stays consistent. */
.section-paper {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,162,86,0.06), transparent 60%),
    linear-gradient(180deg, #100c08 0%, var(--ink) 100%);
  color: var(--text);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}

/* ===== Gold rule / dividers ===== */
.gold-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
  vertical-align: middle;
}
/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  transition: all 0.3s ease;
  position: relative;
}
.btn:hover {
  background: var(--gold);
  color: var(--ink);
}
.btn-solid {
  background: var(--gold);
  color: var(--ink);
}
.btn-solid:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}
.btn-ghost {
  border-color: var(--gold-line);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-arrow::after {
  content: "→";
  font-size: 16px;
  transition: transform 0.3s ease;
}
.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(4px); }

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(10,8,6,0.95), rgba(10,8,6,0.7));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 500;
  transition: color 0.25s ease;
}
/* Header brand is an <a href="#home">; footer brand stays a <div>. Only the
   anchor gets the hover lift to signal it's clickable. */
a.brand:hover { color: var(--gold-bright); }
a.brand:hover .brand-mark { border-color: var(--gold-bright); color: var(--gold-bright); }
.brand-mark { transition: border-color 0.25s ease, color 0.25s ease; }
.brand-r {
  font-size: 0.42em;
  letter-spacing: 0;
  margin-left: -0.05em;
  vertical-align: super;
  font-weight: 400;
  color: var(--gold-bright);
}
.brand-mark {
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-serif-cn);
  font-size: 18px;
  color: var(--gold);
}
.nav-list {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-list a {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 400;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-list a:hover { color: var(--gold); }
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-list a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 880px) {
  .nav-list { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 80px;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 50%, #1a1208 0%, var(--ink) 70%);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 20% 30%, var(--gold) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, var(--crimson-bright) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-copy { z-index: 2; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--text);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero h1 .cn {
  display: block;
  font-family: var(--font-serif-cn);
  font-size: 0.42em;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-top: 18px;
  font-weight: 300;
}
@media (max-width: 560px) {
  .hero h1 .cn { font-size: 0.38em; letter-spacing: 0.18em; }
}
.hero-lede {
  font-family: var(--font-serif-cn);
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-dim);
  max-width: 500px;
  margin: 32px 0 40px;
  letter-spacing: 0.05em;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-product {
  position: relative;
  aspect-ratio: 4/5;
  display: grid;
  place-items: center;
}
@media (max-width: 880px) {
  .hero-product { aspect-ratio: 1; max-width: 420px; margin: 0 auto; width: 100%; }
}
.hero-product-frame {
  position: absolute;
  inset: 10%;
  border: 1px solid var(--gold-line);
}
.hero-product-frame::before,
.hero-product-frame::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid var(--gold);
}
.hero-product-frame::before { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.hero-product-frame::after { bottom: -8px; right: -8px; border-left: 0; border-top: 0; }

.hero-product-stage {
  position: relative;
  width: 78%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto;
}
.hero-product-glow {
  position: absolute;
  inset: 8%;
  background:
    radial-gradient(ellipse at center 60%, rgba(201,162,86,0.32), transparent 65%),
    radial-gradient(circle at center, #2a1a0a 0%, transparent 60%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero-product-img {
  position: relative;
  z-index: 1;
  max-width: 88%;
  max-height: 78%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6)) drop-shadow(0 0 20px rgba(201,162,86,0.15));
}
.hero-product-tag {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  background: rgba(10,8,6,0.7);
  padding: 6px 16px;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-floor {
  position: absolute;
  bottom: 32px;
  left: var(--pad);
  right: var(--pad);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.hero-floor span { display: flex; align-items: center; gap: 12px; }
.hero-floor .dot { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-floor { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 32px); padding-bottom: 64px; }
}

/* ===== Section Headings ===== */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
.sec-head-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 400;
  margin: 16px 0 0;
}
.sec-head-title .cn {
  display: block;
  font-family: var(--font-serif-cn);
  font-size: 0.4em;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-top: 16px;
  font-weight: 400;
}
.sec-head-desc {
  font-family: var(--font-serif-cn);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
@media (max-width: 880px) {
  .sec-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
}

/* ===== Pillars (产品力 4 大支柱) ===== */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}
.pillar {
  padding: 48px 32px;
  border-right: 1px solid var(--gold-line);
  position: relative;
}
.pillar:last-child { border-right: 0; }
.pillar-num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 24px;
}
.pillar-icon {
  width: 56px; height: 56px;
  margin-bottom: 32px;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.pillar-title {
  font-family: var(--font-serif-cn);
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--text);
  margin: 0 0 8px;
  font-weight: 500;
}
.pillar-title-en {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.pillar-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
}
@media (max-width: 880px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(1), .pillar:nth-child(2) { border-bottom: 1px solid var(--gold-line); }
}

/* ===== Six Core Benefits (六大核心功效) ===== */
.efficacy { background: linear-gradient(180deg, var(--ink) 0%, #0d0a07 100%); }
.efficacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gold-line);
  border: 1px solid var(--gold-line);
}
.efficacy-card {
  background: var(--ink-2);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.3s;
}
.efficacy-card:hover { background: var(--ink-3); }
.efficacy-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  margin-bottom: 24px;
}
.efficacy-icon {
  color: var(--gold);
  margin-bottom: 24px;
}
.efficacy-card h3 {
  font-family: var(--font-serif-cn);
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--text);
  margin: 0 0 6px;
  font-weight: 500;
}
.efficacy-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 18px;
}
.efficacy-card p {
  font-family: var(--font-serif-cn);
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-dim);
  margin: 0;
}
@media (max-width: 880px) {
  .efficacy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .efficacy-grid { grid-template-columns: 1fr; }
  .efficacy-card { padding: 32px 24px; }
}

/* ===== Usage (服用方法) ===== */
.usage {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,162,86,0.06), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #100c08 100%);
  color: var(--text);
  border-top: 1px solid var(--gold-line);
}
.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.usage-card {
  background: var(--ink-2);
  border: 1px solid var(--gold-line);
  padding: 40px 32px;
  position: relative;
  transition: border-color 0.3s, background 0.3s;
}
.usage-card:hover {
  border-color: var(--gold);
  background: var(--ink-3);
}
.usage-step {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 24px;
}
.usage-icon {
  color: var(--gold);
  margin-bottom: 24px;
}
.usage-card h3 {
  font-family: var(--font-serif-cn);
  font-size: 26px;
  margin: 0 0 6px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.usage-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 18px;
}
.usage-card p {
  font-family: var(--font-serif-cn);
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-dim);
  margin: 0;
}
.usage-caution {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  border: 1px solid var(--crimson);
  border-left: 3px solid var(--crimson-bright);
  background: rgba(122,26,26,0.14);
  padding: 28px 32px;
}
.caution-mark {
  color: var(--crimson-bright);
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--crimson-bright);
  border-radius: 50%;
}
.caution-title {
  font-family: var(--font-serif-cn);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--crimson-bright);
  margin-bottom: 8px;
  font-weight: 600;
}
.caution-body p {
  font-family: var(--font-serif-cn);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dim);
  margin: 0;
}
.caution-body strong {
  color: var(--crimson-bright);
  font-weight: 600;
}
@media (max-width: 880px) {
  .usage-grid { grid-template-columns: 1fr; }
  .usage-caution { grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 20px; }
  .caution-mark { width: 40px; height: 40px; }
}

/* ===== Generations (一代/二代产品) ===== */
.generations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.gen-card {
  background: var(--ink-3);
  border: 1px solid var(--gold-line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.gen-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.gen-card-2 {
  background: linear-gradient(180deg, #1a1208 0%, var(--ink-3) 100%);
  border-color: rgba(201,162,86,0.45);
}
.gen-card-photo {
  aspect-ratio: 1.2;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(201,162,86,0.28), transparent 65%),
    radial-gradient(ellipse at 30% 30%, rgba(165,42,42,0.10), transparent 60%),
    var(--ink);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gold-line);
}
.gen-card-photo-2 {
  background:
    radial-gradient(ellipse at 50% 60%, rgba(230,200,134,0.25), transparent 65%),
    radial-gradient(ellipse at 30% 30%, rgba(165,42,42,0.12), transparent 60%),
    var(--ink);
}
.gen-card-photo img {
  max-width: 86%;
  max-height: 86%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.6));
}
.gen-card-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 6px 12px;
  background: rgba(10,8,6,0.7);
  text-transform: uppercase;
}
.gen-card-tag.is-flag {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}
.gen-card-tag sup { font-size: 0.7em; vertical-align: super; }
.gen-card-body { padding: 36px 32px 32px; flex: 1; display: flex; flex-direction: column; }
.gen-card-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.gen-card h3 {
  font-family: var(--font-serif-cn);
  font-size: 28px;
  letter-spacing: 0.1em;
  color: var(--text);
  margin: 0 0 4px;
  font-weight: 500;
}
.gen-card-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 18px;
}
.gen-card-body p {
  font-family: var(--font-serif-cn);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dim);
  margin: 0 0 20px;
}
.gen-card-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: auto;
}
@media (max-width: 880px) {
  .generations { grid-template-columns: 1fr; gap: 24px; }
  .gen-card-body { padding: 28px 24px; }
}

/* ===== Language dropdown ===== */
.lang-dropdown {
  position: relative;
  font-size: 11px;
  letter-spacing: 0.2em;
}
.lang-trigger {
  background: transparent;
  border: 1px solid var(--gold-line);
  color: var(--text);
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  transition: border-color 0.2s, color 0.2s;
}
.lang-trigger:hover { border-color: var(--gold); color: var(--gold); }
.lang-caret { font-size: 10px; transition: transform 0.2s; }
.lang-dropdown.is-open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: var(--ink-3);
  border: 1px solid var(--gold-line);
  display: none;
  z-index: 110;
}
.lang-dropdown.is-open .lang-menu { display: block; }
.lang-option {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--gold-line);
  color: var(--text);
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.18em;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s, color 0.2s;
}
.lang-option:last-child { border-bottom: 0; }
.lang-option:hover { background: rgba(201,162,86,0.08); color: var(--gold); }
.lang-option.is-active { color: var(--gold); }

@media (max-width: 560px) {
  .lang-trigger { padding: 8px 10px; gap: 4px; }
  .lang-current { font-size: 10px; letter-spacing: 0.12em; }
  /* keep dropdown menu inside viewport — earlier -40px clipped it off the right edge */
  .lang-menu { right: 0; min-width: 130px; }
}

/* ===== Mobile nav ===== */
.btn-cta-header { padding: 10px 20px; font-size: 11px; }
@media (max-width: 560px) {
  .btn-cta-header { padding: 8px 12px; font-size: 10px; letter-spacing: 0.12em; }
  .nav-actions { gap: 8px; }
  .brand { font-size: 18px; gap: 10px; }
  .brand-mark { width: 30px; height: 30px; font-size: 16px; }
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
@media (max-width: 880px) {
  .nav-toggle { display: flex; }
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--gold);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer — height + opacity, iOS-feel curve. No transform on the panel
   itself (it's fixed-position; transforms there can cause subpixel drift on iOS).
   Items inside fade-stagger when opening; on close they collapse with the panel. */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(10,8,6,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-line);
  max-height: 0;
  overflow-y: auto;
  opacity: 0;
  transition:
    max-height 0.4s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.25s ease;
  z-index: 95;
}
.mobile-nav.is-open {
  max-height: calc(100vh - var(--header-h));
  opacity: 1;
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 16px 24px 32px;
}
.mobile-nav li {
  border-bottom: 1px solid var(--gold-line);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.mobile-nav li:last-child { border-bottom: 0; }
.mobile-nav.is-open li { opacity: 1; transform: translateY(0); }
.mobile-nav.is-open li:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.is-open li:nth-child(2) { transition-delay: 0.08s; }
.mobile-nav.is-open li:nth-child(3) { transition-delay: 0.11s; }
.mobile-nav.is-open li:nth-child(4) { transition-delay: 0.14s; }
.mobile-nav.is-open li:nth-child(5) { transition-delay: 0.17s; }
.mobile-nav.is-open li:nth-child(6) { transition-delay: 0.20s; }
.mobile-nav.is-open li:nth-child(7) { transition-delay: 0.23s; }
.mobile-nav a {
  display: block;
  padding: 18px 4px;
  font-family: var(--font-serif-cn);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--text);
}

/* ===== Ingredients ===== */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gold-line);
  border: 1px solid var(--gold-line);
}
.ingredient-card {
  background: var(--ink-2);
  padding: 48px 36px;
  position: relative;
  transition: background 0.4s ease, transform 0.4s ease;
  cursor: pointer;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.ingredient-card:hover {
  background: var(--ink-3);
  transform: translateY(-2px);
}
.ingredient-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 24px;
}
.ingredient-glyph {
  width: 80px; height: 80px;
  margin-bottom: 32px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif-cn);
  font-size: 32px;
  color: var(--gold);
  font-weight: 500;
}
.ingredient-name-cn {
  font-family: var(--font-serif-cn);
  font-size: 28px;
  margin: 0 0 4px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.ingredient-name-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 24px;
}
.ingredient-desc {
  font-family: var(--font-serif-cn);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dim);
  margin-bottom: auto;
}
.ingredient-meta {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--gold-line);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gold-deep);
  text-transform: uppercase;
}
@media (max-width: 880px) {
  .ingredients-grid { grid-template-columns: 1fr; }
}

/* ===== Clinical Stats ===== */
.clinical {
  background:
    radial-gradient(ellipse at top, #1a120a 0%, var(--ink) 60%);
  border-top: 1px solid var(--gold-line);
}
.clinical-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.clinical-stat {
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid var(--gold-line);
}
.clinical-stat:last-child { border-right: 0; }
.clinical-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  color: var(--gold);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.clinical-num .unit {
  font-size: 0.45em;
  color: var(--gold-deep);
  margin-left: 4px;
  letter-spacing: 0;
}
.clinical-label {
  font-family: var(--font-serif-cn);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--text);
  margin-top: 16px;
  font-weight: 400;
}
.clinical-sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-top: 6px;
}
@media (max-width: 880px) {
  .clinical-grid { grid-template-columns: repeat(2, 1fr); }
  .clinical-stat:nth-child(2) { border-right: 0; }
  .clinical-stat:nth-child(1), .clinical-stat:nth-child(2) {
    border-bottom: 1px solid var(--gold-line);
  }
}

/* ===== Heritage / Story ===== */
.heritage {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(201,162,86,0.08), transparent 55%),
    linear-gradient(180deg, #100c08 0%, var(--ink) 100%);
  color: var(--text);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}
.heritage::before {
  content: "馬 來 西 亞";
  position: absolute;
  top: 50%;
  left: -2%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-family: var(--font-serif-cn);
  font-size: clamp(80px, 14vw, 200px);
  letter-spacing: 0.3em;
  color: rgba(201,162,86,0.04);
  font-weight: 500;
  pointer-events: none;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .heritage::before { display: none; }
}
.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.heritage-img {
  aspect-ratio: 4/5;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(201,162,86,0.22), transparent 70%),
    radial-gradient(ellipse at 50% 80%, rgba(122,26,26,0.08), transparent 60%),
    linear-gradient(180deg, #1a1208 0%, #0a0806 100%);
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-line);
  box-shadow: inset 0 0 80px rgba(201,162,86,0.05);
}
.heritage-img::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid var(--gold-line);
  pointer-events: none;
}
.heritage-img::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  top: 8px; left: 8px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  pointer-events: none;
}
.heritage-img-label {
  text-align: center;
  font-family: var(--font-serif-cn);
  color: rgba(201,162,86,0.6);
  letter-spacing: 0.4em;
  font-size: 14px;
}
.heritage h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  font-weight: 400;
  margin: 0 0 24px;
  color: var(--text);
}
.heritage h2 em {
  font-style: italic;
  color: var(--gold);
}
.heritage h2 .cn {
  display: block;
  font-family: var(--font-serif-cn);
  color: var(--gold);
  font-size: 0.45em;
  letter-spacing: 0.4em;
  margin-top: 18px;
  font-weight: 400;
}
.heritage-body {
  font-family: var(--font-serif-cn);
  font-size: 16px;
  line-height: 2;
  color: var(--text-dim);
  margin: 0 0 24px;
  letter-spacing: 0.04em;
}
.heritage-cred {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gold-line);
}
.heritage-cred-item .num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--gold);
  font-weight: 400;
}
.heritage-cred-item .label {
  font-family: var(--font-serif-cn);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-top: 6px;
}
@media (max-width: 880px) {
  .heritage-grid { grid-template-columns: 1fr; gap: 40px; }
}

.products-section { background: var(--ink-2); }

/* ===== Press / Trust ===== */
.press {
  border-top: 1px solid var(--gold-line);
  padding: 48px 0;
  background: var(--ink);
}
.press-track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.press-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  text-transform: uppercase;
  border-right: 1px solid var(--gold-line);
  padding-right: 32px;
}
.press-logos {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
}
.press-logo {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  font-style: italic;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.press-logo:hover { opacity: 1; color: var(--gold); }

/* ===== Testimonial ===== */
.testimonial-section {
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, var(--ink) 0%, #110d08 100%);
}
.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.4;
  max-width: 900px;
  margin: 0 auto 40px;
  color: var(--text);
  font-weight: 300;
}
.testimonial-quote::before,
.testimonial-quote::after {
  content: '"';
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.2em;
}
.testimonial-attr {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.testimonial-attr span { color: var(--gold); }

/* ===== FAQ ===== */
.faq-list {
  border-top: 1px solid var(--gold-line);
}
.faq-item {
  border-bottom: 1px solid var(--gold-line);
  transition: background 0.2s;
}
.faq-item:hover { background: rgba(201,162,86,0.03); }
.faq-head {
  padding: 28px 0;
  cursor: pointer;
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 24px;
  align-items: center;
  user-select: none;
}
.faq-num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.faq-q {
  font-family: var(--font-serif-cn);
  font-size: 20px;
  color: var(--text);
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.faq-toggle {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  width: 36px; height: 36px;
  border: 1px solid var(--gold-line);
  display: grid;
  place-items: center;
  transition: all 0.3s;
  justify-self: end;
}
.faq-item.is-open .faq-toggle {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease;
  padding: 0 64px 0 84px;
}
.faq-a > p {
  overflow: hidden;
  margin: 0;
  font-family: var(--font-serif-cn);
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  padding-bottom: 0;
  transition: padding-bottom 0.45s ease;
}
.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}
.faq-item.is-open .faq-a > p {
  padding-bottom: 28px;
}
@media (max-width: 720px) {
  .faq-head { grid-template-columns: 32px 1fr 32px; gap: 14px; padding: 22px 0; }
  .faq-q { font-size: 16px; letter-spacing: 0.02em; }
  .faq-num { font-size: 12px; letter-spacing: 0.2em; }
  .faq-toggle { width: 30px; height: 30px; font-size: 18px; }
  .faq-a { padding: 0 0 0 46px; }
  .faq-a > p { font-size: 14px; line-height: 1.85; }
  .faq-item.is-open .faq-a > p { padding-bottom: 22px; }
}

/* ===== CTA Band ===== */
.cta-band {
  background:
    linear-gradient(180deg, rgba(10,8,6,0.9), rgba(10,8,6,0.9)),
    radial-gradient(ellipse at center, var(--gold-deep) 0%, transparent 70%);
  text-align: center;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.cta-band-eyebrow {
  font-family: var(--font-serif-cn);
  font-size: 12px;
  letter-spacing: 0.5em;
  color: var(--gold);
  margin-bottom: 24px;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  margin: 0 0 16px;
  line-height: 1.1;
}
.cta-band h2 em {
  font-style: italic;
  color: var(--gold);
}
.cta-band p {
  font-family: var(--font-serif-cn);
  font-size: 16px;
  color: var(--text-dim);
  margin: 0 auto 40px;
  max-width: 600px;
  line-height: 1.9;
}
.cta-band-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.site-footer {
  background: #060503;
  border-top: 1px solid var(--gold-line);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .brand { margin-bottom: 24px; }
.footer-tagline {
  font-family: var(--font-serif-cn);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dim);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.footer-cert {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-cert span {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  border: 1px solid var(--gold-line);
  padding: 6px 12px;
  text-transform: uppercase;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold-line);
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 12px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
  font-family: var(--font-serif-cn);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--gold-line);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  text-transform: uppercase;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* ===== Floating CS chat (黑金) ===== */
.cs-fab {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 90;
  background: var(--ink);
  color: var(--gold);
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(201,162,86,0.18);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cs-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 36px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,162,86,0.4);
}

/* ===== Age Gate ===== */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(10,8,6,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 1;
  transition:
    opacity 0.45s ease,
    backdrop-filter 0.45s ease,
    -webkit-backdrop-filter 0.45s ease;
}
.age-gate.hidden { display: none; }
/* Closing state: backdrop dissolves, card lifts and fades.
   JS adds .is-closing on confirm, then swaps to .hidden after the transition. */
.age-gate.is-closing {
  opacity: 0;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  pointer-events: none;
}
.age-gate-card {
  max-width: 480px;
  width: 100%;
  background: var(--ink-3);
  border: 1px solid var(--gold);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  transition:
    transform 0.5s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.4s ease;
}
.age-gate.is-closing .age-gate-card {
  transform: scale(0.96) translateY(-10px);
  opacity: 0;
}
.age-gate-card::before,
.age-gate-card::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  border: 1px solid var(--gold);
}
.age-gate-card::before { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.age-gate-card::after { bottom: -8px; right: -8px; border-left: 0; border-top: 0; }
.age-gate-mark {
  font-family: var(--font-serif-cn);
  font-size: 32px;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 24px;
}
.age-gate h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0 0 16px;
  font-weight: 400;
}
.age-gate-caution {
  font-family: var(--font-serif-cn);
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-dim);
  border: 1px solid var(--crimson-bright);
  background: rgba(165,42,42,0.08);
  padding: 14px 16px;
  margin: 0 0 28px;
  text-align: left;
  letter-spacing: 0.04em;
}
.age-gate-caution strong {
  display: block;
  color: var(--crimson-bright);
  letter-spacing: 0.2em;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 12px;
}
.age-gate p {
  font-family: var(--font-serif-cn);
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 32px;
  line-height: 1.8;
}
.age-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ===== Animations ===== */
/* JS adds .js to <html> on load; without JS, .reveal stays at default visible state */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================================
   Mobile polish
   tablet ≤ 880, phone ≤ 560, tiny ≤ 420
   =========================================================== */

/* --- Press: stack label + logos so the label's vertical divider doesn't dangle on wrap --- */
@media (max-width: 880px) {
  .press-track { flex-direction: column; gap: 20px; align-items: center; text-align: center; }
  .press-label {
    border-right: 0;
    padding-right: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gold-line);
  }
  .press-logos { gap: 24px 32px; justify-content: center; }
}

/* --- Mobile nav CTA: turn the bare <a> into a gold pill so it reads as a button --- */
.mobile-nav-cta {
  display: block;
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--gold);
  transition: background 0.2s, color 0.2s;
}
.mobile-nav-cta:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
/* the <li> wrapping the CTA is already :last-child so no extra border to clear */

/* --- Heritage cred: 3 numbers crowd a 375px screen; drop to 2-col on tiny phones --- */
@media (max-width: 480px) {
  .heritage-cred { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
  .heritage-cred-item .num { font-size: 30px; }
}

/* --- Footer: 2-col still feels squeezed on small phones; collapse to single column --- */
@media (max-width: 560px) {
  .site-footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
  .footer-col h4 { margin-bottom: 18px; padding-bottom: 10px; }
  .footer-col ul { gap: 10px; }
  .footer-tagline { margin-bottom: 18px; }
}

/* --- Age gate: tighter padding + stacked actions on narrow phones --- */
@media (max-width: 480px) {
  .age-gate { padding: 16px; }
  .age-gate-card { padding: 40px 24px; }
  .age-gate-mark { font-size: 26px; margin-bottom: 18px; }
  .age-gate h3 { font-size: 24px; }
  .age-gate-caution { padding: 12px 14px; margin-bottom: 22px; }
  .age-gate p { margin-bottom: 24px; }
  .age-gate-actions { flex-direction: column; gap: 10px; }
  .age-gate-actions .btn { width: 100%; justify-content: center; padding: 14px 20px; }
}

/* --- Floating CS button: hugs the corner less aggressively on phones --- */
@media (max-width: 560px) {
  .cs-fab { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}

/* --- Hero on phones: trim the top breathing room so the product card sits in view sooner --- */
@media (max-width: 560px) {
  .hero { padding-top: calc(var(--header-h) + 20px); padding-bottom: 48px; }
  .hero-eyebrow { margin-bottom: 22px; }
  .hero-lede { font-size: 15px; line-height: 1.85; margin: 24px 0 28px; }
  .hero-actions .btn { padding: 14px 22px; font-size: 12px; letter-spacing: 0.14em; }
}

/* --- Clinical sec-head: a 2-col layout in desktop, but must collapse on mobile.
   The HTML used to carry inline style which beat the @880 single-col rule;
   moved here as a modifier class so the responsive cascade works. --- */
.sec-head--clinical {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-bottom: 44px;
}
.sec-head--clinical .sec-head-title { font-size: clamp(36px, 4vw, 56px); }
@media (max-width: 880px) {
  .sec-head--clinical { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
}

/* --- Header: hide the inline CTA button on phones; the drawer's mobile-nav-cta
   and the floating cs-fab cover the same intent without crowding the topbar.
   Without this, brand + lang + CTA + hamburger collectively overflow ≤375px. --- */
@media (max-width: 560px) {
  .btn-cta-header { display: none; }
}

/* --- Pillars: drop from 2 to 1 col on tiny phones so the 22px CN title +
   wide-tracked EN sub-title can breathe and stop wrapping awkwardly. --- */
@media (max-width: 480px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 36px 24px; border-right: 0; border-bottom: 1px solid var(--gold-line); }
  .pillar:last-child { border-bottom: 0; }
  .pillar-icon { margin-bottom: 22px; }
  .pillar-title-en { margin-bottom: 18px; }
}

/* --- Clinical stats: at 2-col on small phones the "13,500+" number flirts with
   overflow; collapse to 1-col below 480 and snug the row dividers. --- */
@media (max-width: 480px) {
  .clinical-grid { grid-template-columns: 1fr; }
  .clinical-stat {
    border-right: 0 !important;
    border-bottom: 1px solid var(--gold-line);
    padding: 26px 16px;
  }
  .clinical-stat:last-child { border-bottom: 0; }
}

/* --- Heritage image block: 4:5 placeholder is wastefully tall in a single
   column. Square it up on mobile so the copy comes into view sooner. --- */
@media (max-width: 880px) {
  .heritage-img { aspect-ratio: 1; }
}

/* --- Ingredients cards: the 360px min-height keeps a 3-col grid evenly
   aligned on desktop. In a single-column phone layout it just adds dead
   space at the bottom of every card. --- */
@media (max-width: 880px) {
  .ingredient-card { min-height: 0; padding: 36px 28px; }
  .ingredient-glyph { width: 64px; height: 64px; font-size: 26px; margin-bottom: 24px; }
  .ingredient-num { margin-bottom: 18px; }
  .ingredient-name-en { margin-bottom: 18px; }
  .ingredient-meta { margin-top: 24px; }
}

/* --- gen-card-tag: "2nd Generation · NEW" with 0.3em tracking can run past
   the photo box on narrow phones; tighten typography below 560. --- */
@media (max-width: 560px) {
  .gen-card-tag { font-size: 10px; letter-spacing: 0.22em; padding: 5px 10px; top: 16px; left: 16px; }
}

/* --- Mobile typography: pull back the tightest tracking values that can push
   long Chinese eyebrows / headings past viewport width on tiny screens. --- */
@media (max-width: 560px) {
  /* "— 僅 此 一 家 · OFFICIAL —" was set at 0.5em which dominates mobile viewport */
  .cta-band-eyebrow { letter-spacing: 0.28em; font-size: 11px; }
  /* hero CN subtitle was already trimmed to 0.18em; further tighten on phones */
  .hero h1 .cn { letter-spacing: 0.12em; }
  /* section sub-CN under big serif titles */
  .sec-head-title .cn { letter-spacing: 0.2em; font-size: 0.46em; }
  .heritage h2 .cn { letter-spacing: 0.22em; font-size: 0.52em; }
  /* eyebrow Latin labels — 0.32em fine, but `eyebrow-cn` 0.4em can overflow */
  .eyebrow-cn { letter-spacing: 0.24em; }
}

/* --- Header on small phones: lock nav-actions tight to the right edge
   so the hamburger never pushes off-canvas. Compact lang trigger further. --- */
@media (max-width: 560px) {
  .site-header { padding: 14px 0; }
  .site-header .container { gap: 12px; }
  .nav-actions { gap: 6px; }
  .lang-trigger { padding: 7px 8px; }
  .lang-current { font-size: 10px; letter-spacing: 0.08em; }
  .nav-toggle { width: 28px; height: 28px; }
  .brand { font-size: 17px; gap: 8px; letter-spacing: 0.14em; }
}
