/* ============================================================
   HiddenObesity — editorial landing page
   Visual language: warm-black ⇄ bone chapters, single orange
   accent, NatGeo-style numbered chapters, serif CJK display
   over sans body. Tokens adapted from the HealthOS system.
   Fonts: Space Grotesk (≈ PP Pangram Sans, Latin/UI),
          Noto Sans HK (Chinese body/UI),
          Noto Serif HK (Chinese display headlines).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700;800&family=Noto+Sans+HK:wght@300;400;500;700;900&family=Noto+Serif+HK:wght@400;500;600;700;900&display=swap');

:root {
  /* Accent */
  --orange:       #10997A;
  --orange-soft:  color-mix(in srgb, var(--orange) 80%, white);
  --orange-deep:  color-mix(in srgb, var(--orange) 85%, black);
  --orange-glow:  color-mix(in srgb, var(--orange) 45%, transparent);

  /* Bone / light surfaces */
  --bone:    #F7F6F5;
  --bone-2:  #EFEDE9;
  --bone-3:  #E6E3DE;
  --bone-line: #DED9D2;

  /* Ink (on light) */
  --ink-900: #2A2722;
  --ink-700: #4A463F;
  --ink-500: #898683;
  --ink-300: #BEB9B3;

  /* Warm noir (dark surfaces) */
  --noir:    #102019;
  --noir-2:  #16291F;
  --noir-card: #183025;
  --noir-line: rgba(255, 255, 255, 0.10);

  /* Text on dark */
  --on-dark:      rgba(255, 255, 255, 0.94);
  --on-dark-soft: rgba(255, 255, 255, 0.58);
  --on-dark-dim:  rgba(255, 255, 255, 0.40);

  /* Type */
  --font-en:    'Schibsted Grotesk', system-ui, sans-serif;
  --font-cjk:   'Noto Sans HK', 'Schibsted Grotesk', system-ui, sans-serif;
  --font-serif: 'Noto Serif HK', 'Songti SC', serif;
  --font-ui:    'Schibsted Grotesk', 'Noto Sans HK', system-ui, sans-serif;
  --font-display-cjk: var(--font-serif);   /* tweakable: serif (editorial) ⇄ sans (modern) */

  /* Layout */
  --wrap: 1280px;
  --nav-h: 76px;
  --pad-x: clamp(20px, 5vw, 64px);

  --r-card: 20px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* tweakable motion */
  --reveal-shift: 28px;
  --reveal-dur: 0.9s;
}

* { box-sizing: border-box; }

/* ============================================================
   Preloader / loading screen
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--noir);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.7s var(--ease);
}
.preloader.done { opacity: 0; pointer-events: none; }
.preloader__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.preloader__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,0.55) 0%, rgba(20,16,12,0.62) 55%, rgba(20,16,12,0.8) 100%);
}
.preloader__brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(22px, 3.6vw, 44px);
  letter-spacing: 0.18em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.preloader__brand svg { width: clamp(28px, 3.6vw, 46px); height: clamp(28px, 3.6vw, 46px); flex-shrink: 0; }
.preloader__brand .o { color: var(--orange); }
.pl-ink { color: #fff; }
.pl-o { color: var(--orange); }
.preloader__brand .pl-ink span,
.preloader__brand .pl-o span {
  display: inline-block;
  opacity: 0;
  animation: pl-letter 0.62s var(--ease) forwards;
  animation-delay: calc(var(--d) * 55ms);
}
@keyframes pl-letter {
  from { opacity: 0; transform: translateY(0.5em); filter: blur(10px); }
  60%  { opacity: 1; }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .preloader__brand .pl-ink span, .preloader__brand .pl-o span { animation: none; opacity: 1; }
}
.preloader__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: rgba(255,255,255,0.14);
  z-index: 2;
}
.preloader__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--orange);
  box-shadow: 0 0 14px var(--orange-glow);
  transition: width 1.9s cubic-bezier(0.4, 0, 0.1, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink-900);
  font-family: var(--font-ui);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── language visibility ─────────────────────────────── */
[data-lang] { display: none; }
body[data-locale="zh"] [data-lang="zh"] { display: revert; }
body[data-locale="en"] [data-lang="en"] { display: revert; }
/* inline runs inside text should stay inline */
.t [data-lang] { display: none; }
body[data-locale="zh"] .t[data-lang="zh"],
body[data-locale="en"] .t[data-lang="en"] { display: inline; }

/* ============================================================
   Scroll progress + reveal
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--orange);
  z-index: 120;
  transition: width 0.1s linear;
}

.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-shift));
  transition: opacity var(--reveal-dur) var(--ease), transform var(--reveal-dur) var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* curtain reveal — a panel rolls up from the bottom edge to unveil each chapter */
.curtain {
  position: absolute;
  inset: 0;
  z-index: 6;
  transform-origin: top;
  transform: scaleY(1);
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.18, 1);
  pointer-events: none;
  will-change: transform;
}
.curtain--light { background: var(--bone); }
.curtain--dark  { background: var(--noir); }
.section.curtain-open .curtain { transform: scaleY(0); }
@media (prefers-reduced-motion: reduce) { .curtain { display: none; } }

/* ============================================================
   Kinetic marquee ribbon (sakazuki-style)
   ============================================================ */
.marquee {
  overflow: hidden;
  background: var(--noir);
  padding: clamp(16px, 2.2vw, 28px) 0;
  white-space: nowrap;
  transform: skewX(0deg);
  will-change: transform;
}
.marquee__track {
  display: inline-flex;
  animation: marquee-scroll 30s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 40px);
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--bone);
  padding-right: 0.35em;
}
.marquee__track i { color: var(--orange); font-style: normal; padding: 0 0.25em; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* headline "wipe-up" reveal — text unmasks and rises as the chapter enters */
.display-h.reveal,
.hero__headline.reveal {
  transform: translateY(0.32em);
  clip-path: inset(-2% 0 112% 0);
  transition: clip-path var(--reveal-dur) var(--ease), transform var(--reveal-dur) var(--ease), opacity var(--reveal-dur) var(--ease);
}
.display-h.reveal.in,
.hero__headline.reveal.in {
  transform: translateY(0);
  clip-path: inset(-12% 0 -12% 0);
}

/* directional + scale reveal variants */
.reveal--left  { transform: translateX(-44px); }
.reveal--right { transform: translateX(44px); }
.reveal--scale { transform: translateY(30px) scale(0.96); }
.reveal--left.in, .reveal--right.in, .reveal--scale.in { transform: none; }

/* cards rise + settle with a subtle scale */
.info-card.reveal, .trust-item.reveal, .gender-card.reveal { transform: translateY(34px) scale(0.975); }
.info-card.reveal.in, .trust-item.reveal.in, .gender-card.reveal.in { transform: none; }

/* parallax layer (driven by JS, additive to its own transform) */
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .display-h.reveal, .hero__headline.reveal { clip-path: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: var(--sp-4, 16px);
  padding: 0 var(--pad-x);
  background: rgba(247, 246, 245, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bone-line);
  z-index: 110;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--ink-900);
  flex-shrink: 0;
}
.brand__mark {
  width: 14px; height: 14px;
  background: var(--orange);
  border-radius: 3px;
}
.brand__o { color: var(--orange); }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
  margin: 0 auto;
}
.nav__link {
  position: relative;
  font-family: var(--font-cjk);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-700);
  padding: 6px 0;
  letter-spacing: 0.04em;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--orange);
  transition: right 0.3s var(--ease);
}
.nav__link:hover { color: var(--ink-900); }
.nav__link:hover::after,
.nav__link.is-active::after { right: 0; }
.nav__link.is-active { color: var(--orange); }

/* language toggle */
.lang {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--bone-line);
  border-radius: var(--r-pill);
  padding: 4px;
  flex-shrink: 0;
}
.lang__btn {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink-500);
  padding: 7px 16px;
  border: none;
  background: transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.lang__btn.is-active {
  background: var(--orange);
  color: #fff;
}

.nav__menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink-900);
  transition: 0.3s var(--ease);
}

/* ============================================================
   Section scaffolding
   ============================================================ */
/* chapter scaffolding */
.section { position: relative; }
.section--dark { background: var(--noir); color: var(--on-dark); }
.section--light { background: var(--bone); color: var(--ink-900); }
.section--bone2 { background: var(--bone-2); }

/* 02 — disease section: photographic backdrop with frosted cards */
#disease {
  background-image:
    linear-gradient(96deg, rgba(13,28,22,0.93) 0%, rgba(13,28,22,0.78) 38%, rgba(13,28,22,0.42) 72%, rgba(13,28,22,0.30) 100%),
    url('../assets/subway.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
#disease .info-card {
  background: rgba(18,13,9,0.62);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
}
#disease .lead { color: rgba(255,255,255,0.82); }
@media (max-width: 820px) { #disease { background-attachment: scroll; } }

/* 04 — self-check: photographic backdrop with frosted checklist */
#self-check {
  background-image:
    linear-gradient(96deg, rgba(12,26,20,0.95) 0%, rgba(12,26,20,0.82) 40%, rgba(12,26,20,0.46) 74%, rgba(12,26,20,0.34) 100%),
    url('../assets/desk.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
#self-check .check-item {
  background: rgba(15,11,8,0.5);
  -webkit-backdrop-filter: blur(7px);
          backdrop-filter: blur(7px);
}
#self-check .lead { color: rgba(255,255,255,0.82); }
@media (max-width: 820px) { #self-check { background-attachment: scroll; } }

/* 09 — FAQ: soft wood/wall backdrop under a light wash (text stays dark) */
#faq {
  background-image:
    linear-gradient(180deg, rgba(247,246,245,0.92) 0%, rgba(247,246,245,0.83) 52%, rgba(247,246,245,0.90) 100%),
    url('../assets/faq-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
#faq .faq-item { border-bottom-color: rgba(42,39,34,0.16); }
@media (max-width: 820px) { #faq { background-attachment: scroll; } }

/* 07 — how it works: warm home photo under a light wash */
#how {
  background-image:
    linear-gradient(180deg, rgba(247,246,245,0.93) 0%, rgba(247,246,245,0.85) 50%, rgba(247,246,245,0.91) 100%),
    url('../assets/how-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 820px) { #how { background-attachment: scroll; } }

/* giant faint chapter watermark that drifts on scroll */
.chapter-mark {
  position: absolute;
  top: clamp(24px, 6vh, 72px);
  right: clamp(-10px, 1vw, 24px);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(140px, 24vw, 340px);
  line-height: 0.78;
  color: var(--orange);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  letter-spacing: -0.04em;
}
.section--dark .chapter-mark { color: #fff; opacity: 0.045; }
/* keep the watermark out of grid flow in two-column chapters
   (beats `.wrap > * { position: relative }` on specificity) */
.wrap > .chapter-mark { position: absolute; }
.wrap { position: relative; }
.wrap > * { position: relative; z-index: 1; }
@media (max-width: 640px) { .chapter-mark { display: none; } }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(80px, 11vh, 140px) var(--pad-x);
}

/* chapter eyebrow */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(28px, 5vh, 52px);
}
.eyebrow__num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--orange);
}
.eyebrow__line {
  width: 0; height: 1px;
  background: var(--orange);
  opacity: 0.7;
  transition: width 0.9s var(--ease) 0.18s;
}
.eyebrow.in .eyebrow__line { width: 56px; }
.eyebrow__label {
  font-family: var(--font-cjk);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink-500);
}
.section--dark .eyebrow__label { color: var(--on-dark-soft); }

/* display headline */
.display-h {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-size: clamp(28px, 4.4vw, 58px);
  text-wrap: balance;
}
.display-h [data-lang="zh"] { font-family: var(--font-display-cjk); font-weight: 600; }
.display-h [data-lang="en"] { font-family: var(--font-en); font-weight: 600; letter-spacing: -0.02em; }

/* Tweak: Modern (sans) display type */
body.type-sans { --font-display-cjk: var(--font-cjk); }
body.type-sans .display-h [data-lang="zh"],
body.type-sans .hero__headline [data-lang="zh"] { font-weight: 700; }

.lead {
  margin: clamp(22px, 3.4vh, 34px) 0 0;
  max-width: 720px;
  font-family: var(--font-cjk);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.85;
  color: var(--ink-700);
  font-weight: 300;
}
.section--dark .lead { color: var(--on-dark-soft); }
.lead [data-lang="en"] { font-family: var(--font-en); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
  padding: 18px 32px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 28px var(--orange-glow);
}
.btn--primary:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 38px var(--orange-glow);
}
.btn--ghost {
  background: transparent;
  border: 1.5px solid currentColor;
  color: inherit;
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn .arrow--down { transition: transform 0.25s var(--ease); }
.btn:hover .arrow--down { transform: translateY(4px); }

/* ============================================================
   01 — HERO
   ============================================================ */
.hero {
  padding: calc(var(--nav-h) + 14px) 14px 14px;
  background: var(--bone);
}
.hero__media {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--nav-h) - 28px);
  min-height: 560px;
  border-radius: 30px;
  overflow: hidden;
  background: #2c2b2a;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  z-index: 1;
}
.hero__dot {
  position: absolute;
  top: 20px; left: 20px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.85);
  background: linear-gradient(90deg, transparent 50%, rgba(255,255,255,0.9) 50%);
  z-index: 4;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,12,0.30) 0%, rgba(20,16,12,0.05) 32%, rgba(20,16,12,0.55) 78%, rgba(20,16,12,0.82) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero__index {
  position: absolute;
  top: 34px; right: 40px;
  z-index: 4;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.72);
}
.hero__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  padding: clamp(28px, 5vw, 64px);
  color: #fff;
}
.hero__eyebrow {
  font-family: var(--font-cjk);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--orange-soft);
  margin-bottom: clamp(14px, 2vh, 22px);
}
.hero__eyebrow [data-lang="en"] { font-family: var(--font-en); }
.hero__headline {
  margin: 0;
  font-weight: 600;
  line-height: 1.18;
  font-size: clamp(29px, 4.6vw, 60px);
  letter-spacing: -0.01em;
  max-width: 20ch;
  text-shadow: 0 2px 30px rgba(0,0,0,0.30);
}
.hero__headline [data-lang="zh"] { font-family: var(--font-display-cjk); font-weight: 600; }
.hero__headline [data-lang="en"] { font-family: var(--font-en); font-weight: 600; letter-spacing: -0.02em; }
.hero__rule {
  width: 200px; height: 2px;
  background: var(--orange);
  margin: clamp(22px, 3.4vh, 34px) 0;
}
.hero__sub {
  font-family: var(--font-cjk);
  font-weight: 300;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.8;
  color: rgba(255,255,255,0.86);
  max-width: 540px;
  margin: 0 0 clamp(28px, 4vh, 40px);
}
.hero__sub [data-lang="en"] { font-family: var(--font-en); }
.hero .btn { white-space: nowrap; }

/* ============================================================
   Icon badge (circular outline)
   ============================================================ */
.icon-badge {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 18px rgba(255,118,40,0.16);
}
.icon-badge svg { width: 26px; height: 26px; stroke: var(--orange); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   Card grids (sections 02, 03, 08)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(48px, 7vh, 84px);
}
.info-card {
  padding: clamp(28px, 2.6vw, 40px);
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section--dark .info-card {
  background: linear-gradient(180deg, var(--noir-card) 0%, rgba(33,27,20,0.4) 100%);
  border: 1px solid var(--noir-line);
}
.section--light .info-card {
  background: #fff;
  border: 1px solid var(--bone-line);
  box-shadow: var(--shadow-card, 0 2px 16px rgba(0,0,0,0.04));
}
.info-card__title {
  font-family: var(--font-cjk);
  font-weight: 700;
  font-size: clamp(20px, 1.7vw, 24px);
  margin: 8px 0 0;
}
.info-card__title [data-lang="en"] { font-family: var(--font-en); }
.info-card__body {
  font-family: var(--font-cjk);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-700);
  margin: 0;
}
.section--dark .info-card__body { color: var(--on-dark-soft); }
.info-card__body [data-lang="en"] { font-family: var(--font-en); }

/* card hover — light up */
.info-card, .trust-item {
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.info-card .icon-badge { transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.section--light .info-card:hover {
  border-color: var(--orange);
  box-shadow: 0 14px 34px rgba(0,0,0,0.07), 0 0 0 1px var(--orange);
  transform: translateY(-4px);
}
.section--dark .info-card:hover,
.trust-item:hover {
  border-color: rgba(255,118,40,0.55);
  box-shadow: inset 0 0 26px rgba(255,118,40,0.12), 0 14px 34px rgba(0,0,0,0.28);
  transform: translateY(-4px);
}
.info-card:hover .icon-badge {
  border-color: var(--orange-soft);
  box-shadow: inset 0 0 26px rgba(255,118,40,0.34), 0 0 16px rgba(255,118,40,0.22);
}
/* row-style cards inside chapter body keep the lift but lighten the hairline */
.chapter__body .info-card:hover { transform: translateX(4px); }

/* bottom callout line */
.callout {
  margin-top: clamp(40px, 6vh, 64px);
  padding-left: 22px;
  border-left: 2.5px solid var(--orange);
  font-family: var(--font-display-cjk);
  font-weight: 500;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.55;
  max-width: 880px;
}
.callout [data-lang="en"] { font-family: var(--font-en); font-weight: 500; }
.disclaimer {
  margin-top: 24px;
  font-family: var(--font-cjk);
  font-size: 13px;
  color: var(--ink-500);
  font-style: italic;
}
.section--dark .disclaimer { color: var(--on-dark-dim); }

/* ============================================================
   Two-column chapter layout (title rail left / content right)
   ============================================================ */
.chapter {
  display: grid;
  grid-template-columns: minmax(240px, 34%) 1fr;
  gap: clamp(40px, 5vw, 92px);
  align-items: start;
}
.chapter__head {
  position: sticky;
  top: calc(var(--nav-h) + clamp(20px, 4vh, 52px));
}
.chapter__head .display-h { font-size: clamp(30px, 3.4vw, 52px); }
.chapter__head .lead {
  margin-top: clamp(18px, 2.6vh, 28px);
  max-width: none;
  font-size: clamp(15px, 1.05vw, 17px);
}
.chapter__body { min-width: 0; }
.chapter__body > * { margin-top: 0; }
.chapter__body > * + * { margin-top: clamp(28px, 4vh, 44px); }

/* card grids → vertical rows in the content column */
.chapter__body .card-grid { grid-template-columns: 1fr; gap: clamp(14px, 1.6vw, 18px); margin-top: 0; }
.chapter__body .info-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(18px, 2vw, 26px);
  row-gap: 8px;
  align-items: center;
}
.chapter__body .info-card .icon-badge { grid-row: 1 / 3; }
.chapter__body .info-card__title { grid-column: 2; align-self: end; margin: 0; }
.chapter__body .info-card__body { grid-column: 2; align-self: start; }

/* steps → vertical numbered list */
.chapter__body .steps { grid-template-columns: 1fr; gap: 0; margin-top: 0; }
.chapter__body .step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(20px, 2.4vw, 34px);
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-top: 1px solid var(--bone-line);
}
.chapter__body .step:first-child { padding-top: 0; border-top: none; }
.chapter__body .step__num { grid-row: 1 / 3; font-size: clamp(34px, 3vw, 48px); }
.chapter__body .step__bar { display: none; }
.chapter__body .step__title { grid-column: 2; align-self: end; }
.chapter__body .step__body { grid-column: 2; align-self: start; }

/* trust grid stays 2-up; usp/checklist/faq already vertical */
.chapter__body .trust-grid { margin-top: 0; }
.chapter__body .usp-list,
.chapter__body .checklist,
.chapter__body .faq { margin-top: 0; }
.chapter__body .product-frame { aspect-ratio: 16 / 10; }

@media (max-width: 980px) {
  .chapter { grid-template-columns: 1fr; gap: clamp(22px, 4vh, 34px); }
  .chapter__head { position: static; }
  .chapter__head .display-h { font-size: clamp(28px, 6vw, 44px); }
}

/* ============================================================
   04 — Self check (interactive checklist)
   ============================================================ */
.checklist {
  margin-top: clamp(44px, 6vh, 72px);
  display: grid;
  gap: 14px;
  max-width: 880px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--noir-line);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.2s var(--ease);
  user-select: none;
}
.check-item:hover { border-color: rgba(255,118,40,0.5); transform: translateX(4px); }
.check-item.is-checked {
  border-color: var(--orange);
  background: rgba(255,118,40,0.08);
}
.check-box {
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1.6px solid var(--on-dark-dim);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}
.check-item.is-checked .check-box { background: var(--orange); border-color: var(--orange); }
.check-box svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 2.5; fill: none; opacity: 0; transition: opacity 0.2s var(--ease); }
.check-item.is-checked .check-box svg { opacity: 1; }
.check-item__label {
  font-family: var(--font-cjk);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.5;
  color: var(--on-dark);
}
.check-item__label [data-lang="en"] { font-family: var(--font-en); }

.check-result {
  margin-top: 36px;
  padding: 28px 32px;
  border-radius: var(--r-card);
  background: linear-gradient(120deg, rgba(255,118,40,0.16), rgba(255,118,40,0.04));
  border: 1px solid rgba(255,118,40,0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.check-result.show { opacity: 1; transform: none; }
.check-result__text {
  font-family: var(--font-cjk);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
  color: var(--on-dark);
}
.check-result__text b { color: var(--orange-soft); }
.check-result__text [data-lang="en"] { font-family: var(--font-en); }

/* ============================================================
   05 — AI Smart Match (USP + product image)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.usp-list {
  margin-top: clamp(36px, 5vh, 56px);
  display: grid;
  gap: 8px;
  counter-reset: usp;
}
.usp {
  display: flex;
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid var(--bone-line);
  align-items: flex-start;
}
.usp:last-child { border-bottom: 1px solid var(--bone-line); }
.usp__num {
  counter-increment: usp;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  color: var(--orange);
  padding-top: 4px;
  min-width: 28px;
}
.usp__num::before { content: counter(usp, decimal-leading-zero); }
.usp__title {
  font-family: var(--font-cjk);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  margin: 0 0 6px;
}
.usp__title [data-lang="en"] { font-family: var(--font-en); }
.usp__body {
  font-family: var(--font-cjk);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  margin: 0;
}
.usp__body [data-lang="en"] { font-family: var(--font-en); }
.product-frame {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bone-2);
  border: 1px solid var(--bone-line);
}
.product-frame image-slot { width: 100%; height: 100%; }

.section-cta { margin-top: clamp(40px, 6vh, 56px); }

/* ============================================================
   06 — CTA split (Zoey / Noah)
   ============================================================ */
.cta-center { text-align: center; max-width: 820px; margin: 0 auto; }
.cta-center .eyebrow { justify-content: center; }
.cta-center .display-h { font-size: clamp(34px, 5.4vw, 66px); }
.cta-center .lead { margin-left: auto; margin-right: auto; text-align: center; }
.dual-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 28px);
  margin-top: clamp(48px, 7vh, 72px);
}
.gender-card {
  position: relative;
  padding: clamp(32px, 3vw, 48px);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--noir-card), rgba(33,27,20,0.3));
  border: 1px solid var(--noir-line);
  text-align: left;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.gender-card > * { position: relative; z-index: 2; }
.gender-card--zoey {
  background-image: linear-gradient(90deg, rgba(13,28,22,0.94) 0%, rgba(13,28,22,0.78) 32%, rgba(13,28,22,0.32) 62%, rgba(13,28,22,0.08) 100%), url('../assets/zoey.jpg');
  background-size: cover; background-position: right center;
}
.gender-card--noah {
  background-image: linear-gradient(90deg, rgba(13,28,22,0.94) 0%, rgba(13,28,22,0.78) 32%, rgba(13,28,22,0.32) 62%, rgba(13,28,22,0.08) 100%), url('../assets/noah.jpg');
  background-size: cover; background-position: right center;
}
.gender-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -30%;
  width: 70%; height: 80%;
  background: radial-gradient(circle, var(--orange-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 1;
}
.gender-card:hover { border-color: rgba(255,118,40,0.5); transform: translateY(-4px); }
.gender-card:hover::before { opacity: 0.5; }
.gender-card__tag {
  font-family: var(--font-cjk);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--on-dark-soft);
  margin-bottom: 12px;
}
.gender-card__tag [data-lang="en"]{ font-family: var(--font-en); }
.gender-card__brand {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  color: #fff;
}
.gender-card__brand img { height: clamp(32px, 4vw, 50px); width: auto; max-width: 75%; display: block; }
.gender-card__brand span { color: var(--orange); }
.cta-fineprint {
  margin-top: 32px;
  text-align: center;
  font-family: var(--font-cjk);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--on-dark-soft);
}
.cta-fineprint [data-lang="en"]{ font-family: var(--font-en); }

/* ============================================================
   07 — How it works (steps)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(48px, 7vh, 80px);
  counter-reset: step;
}
.step { position: relative; }
.step__num {
  counter-increment: step;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(48px, 5vw, 72px);
  color: var(--orange);
  line-height: 1;
  opacity: 0.9;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step__bar { width: 100%; height: 1px; background: var(--bone-line); margin: 24px 0; }
.step__title {
  font-family: var(--font-cjk);
  font-weight: 700;
  font-size: clamp(19px, 1.7vw, 23px);
  margin: 0 0 12px;
}
.step__title [data-lang="en"]{ font-family: var(--font-en); }
.step__body {
  font-family: var(--font-cjk);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-700);
  margin: 0;
}
.step__body [data-lang="en"]{ font-family: var(--font-en); }
.steps-footer {
  margin-top: clamp(40px, 6vh, 60px);
  text-align: center;
  font-family: var(--font-display-cjk);
  font-weight: 500;
  font-size: clamp(18px, 1.9vw, 26px);
  color: var(--ink-900);
}
.steps-footer [data-lang="en"]{ font-family: var(--font-en); }

/* ============================================================
   08 — Trust (4 pointers)
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
  margin-top: clamp(48px, 7vh, 76px);
}
.trust-item {
  display: flex;
  gap: 20px;
  padding: clamp(24px, 2vw, 32px);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--noir-card), rgba(33,27,20,0.3));
  border: 1px solid var(--noir-line);
}
.trust-item__title {
  font-family: var(--font-cjk);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  margin: 0 0 10px;
  color: var(--on-dark);
}
.trust-item__title [data-lang="en"]{ font-family: var(--font-en); }
.trust-item__body {
  font-family: var(--font-cjk);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--on-dark-soft);
  margin: 0;
}
.trust-item__body [data-lang="en"]{ font-family: var(--font-en); }
.trust-statement {
  margin-top: clamp(48px, 6vh, 68px);
  font-family: var(--font-display-cjk);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.6;
  max-width: 900px;
  color: var(--on-dark);
}
.trust-statement [data-lang="en"]{ font-family: var(--font-en); }
.trust-statement b { color: var(--orange-soft); font-weight: 600; }

/* ============================================================
   09 — FAQ + footer
   ============================================================ */
.faq { margin-top: clamp(40px, 6vh, 64px); max-width: 920px; }
.faq-item {
  border-bottom: 1px solid var(--bone-line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-cjk);
  font-weight: 500;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink-900);
  transition: color 0.2s var(--ease);
}
.faq-q [data-lang="en"]{ font-family: var(--font-en); }
.faq-q:hover { color: var(--orange); }
.faq-icon {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--orange);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq-icon::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq-icon::after { left: 10px; top: 0; width: 2px; height: 22px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a__inner {
  padding: 0 4px 28px;
  font-family: var(--font-cjk);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-700);
  max-width: 760px;
}
.faq-a__inner [data-lang="en"]{ font-family: var(--font-en); }

/* footer */
.footer {
  background: var(--noir);
  color: var(--on-dark-soft);
  padding: clamp(56px, 8vh, 88px) var(--pad-x) 48px;
}
.footer__inner { max-width: var(--wrap); margin: 0 auto; }
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--noir-line);
}
.footer .brand { color: #fff; }
.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer__links a {
  font-family: var(--font-cjk);
  font-size: 15px;
  color: var(--on-dark-soft);
  transition: color 0.2s var(--ease);
}
.footer__links a [data-lang="en"]{ font-family: var(--font-en); }
.footer__links a:hover { color: var(--orange-soft); }
.footer__legal {
  margin-top: 32px;
  font-family: var(--font-cjk);
  font-size: 13px;
  line-height: 1.8;
  color: var(--on-dark-dim);
  max-width: 920px;
}
.footer__legal [data-lang="en"]{ font-family: var(--font-en); }
.footer__copy {
  margin-top: 24px;
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--on-dark-dim);
  letter-spacing: 0.04em;
}

/* ============================================================
   Journey rail (Montfort-style side navigation) + scroll cue
   ============================================================ */
.journey {
  position: fixed;
  top: 50%;
  right: clamp(16px, 2vw, 34px);
  transform: translateY(-50%);
  z-index: 105;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.journey__item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  cursor: pointer;
  color: var(--ink-500);
}
.journey__label {
  font-family: var(--font-cjk);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.journey__label [data-lang="en"] { font-family: var(--font-en); }
.journey__num {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  min-width: 16px;
  text-align: right;
}
.journey__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.journey__item:hover .journey__label,
.journey__item:hover .journey__num { opacity: 0.75; transform: none; }
.journey__item.is-active { color: var(--orange); }
.journey__item.is-active .journey__dot { background: var(--orange); border-color: var(--orange); transform: scale(1.25); }
.journey__item.is-active .journey__label,
.journey__item.is-active .journey__num { opacity: 1; transform: none; }
/* rail adapts to the section behind it */
.journey--on-dark .journey__item { color: var(--on-dark-dim); }
.journey--on-dark .journey__item.is-active { color: var(--orange-soft); }
.journey--on-dark .journey__item.is-active .journey__dot { background: var(--orange-soft); border-color: var(--orange-soft); }
@media (max-width: 1080px) { .journey { display: none; } }

/* hero scroll cue */
.hero__cue {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.78);
  font-family: var(--font-cjk);
  font-size: 11px;
  letter-spacing: 0.28em;
  pointer-events: none;
}
.hero__cue [data-lang="en"] { font-family: var(--font-en); }
.hero__cue-line {
  width: 1px; height: 38px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0));
  position: relative;
  overflow: hidden;
}
.hero__cue-line::after {
  content: "";
  position: absolute; left: 0; top: -50%;
  width: 1px; height: 50%;
  background: var(--orange);
  animation: cue-fall 2s var(--ease) infinite;
}
@keyframes cue-fall {
  0% { top: -50%; }
  100% { top: 100%; }
}
@media (max-width: 560px) { .hero__cue { display: none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  :root { --nav-h: 64px; }
  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    background: var(--bone);
    border-bottom: 1px solid var(--bone-line);
    padding: 8px var(--pad-x) 20px;
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease);
    box-shadow: 0 18px 30px rgba(0,0,0,0.08);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__link { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--bone-line); }
  .nav__menu-btn { display: flex; margin-left: auto; }
  .lang { order: 3; }
  .split { grid-template-columns: 1fr; }
  .product-frame { aspect-ratio: 16/11; max-width: 520px; }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .trust-grid { grid-template-columns: 1fr; }
  .dual-cta { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero { padding: calc(var(--nav-h) + 8px) 8px 8px; }
  .hero__media { border-radius: 22px; height: calc(100vh - var(--nav-h) - 16px); }
  .hero__index { top: 20px; right: 22px; }
  .btn { font-size: 15px; padding: 16px 24px; width: 100%; justify-content: center; }
  .hero .btn { width: auto; }
  .check-item { padding: 16px 18px; gap: 14px; }
}
