/* =========================================================
   MiraiX — site styles (v2: Academy + Advisory profile)
   Tokens follow MiraiX Brand Guideline v1.0 (Sept 2026):
   off-white ground, charcoal ink, red <3% (logo X, primary buttons, one key figure),
   Sora / Inter / Noto Sans SC, hairlines not shadows, 8px corners, no pills.
   Photos are slightly desaturated so the red stands out.
   ========================================================= */
:root {
  --surface: #FAF8F5;
  --surface-alt: #F1EEE9;
  --ink: #1C1C1E;
  --ink-2: #55555A;
  --red: #E72023;
  --red-press: #C81B1E;
  --border: #E2DED8;
  --dark: #141414;
  --dark-2: #1C1C1E;
  --on-dark: #FAF8F5;
  --on-dark-2: #A9A6A1;
  --line-dark: rgba(250, 248, 245, 0.14);

  --f-head: "Sora", "Noto Sans SC", system-ui, sans-serif;
  --f-body: "Inter", "Noto Sans SC", system-ui, sans-serif;
  --f-zh: "Noto Sans SC", "Inter", system-ui, sans-serif;

  --r: 8px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(88px, 12vw, 168px);
  --photo: saturate(.78) contrast(1.02);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
html[data-lang="zh"] body { line-height: 1.75; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
svg { flex: none; }
[hidden] { display: none !important; }

/* language switching */
html[data-lang="en"] .zh { display: none !important; }
html[data-lang="zh"] .en { display: none !important; }
html[data-lang="zh"] :is(.h2, .h3, .hero__title, .contact__title, .statement__text, .why__big, .split__sub, .pcard__title, .step__title, .footer__big, .booking__title, .fcard__end-t) { font-family: var(--f-zh); font-weight: 700; letter-spacing: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: var(--r); text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
[data-theme="dark"] :focus-visible, .nav.is-dark :focus-visible, .mbar :focus-visible { outline-color: var(--on-dark); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* page progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--on-dark-2); transform-origin: left; transform: scaleX(0); mix-blend-mode: difference; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--f-body); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 20px; }
html[data-lang="zh"] .eyebrow { letter-spacing: .08em; }
.eyebrow--light { color: var(--on-dark-2); }
.h2 { font-family: var(--f-head); font-weight: 600; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.12; letter-spacing: -0.02em; max-width: 20ch; text-wrap: balance; }
html[data-lang="zh"] .h2 { max-width: 16em; line-height: 1.3; }
.h3 { font-family: var(--f-head); font-weight: 600; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.3; letter-spacing: -0.01em; }
.lead-text { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 52ch; margin-top: 20px; }
.lead-text--light { color: var(--on-dark-2); }
.fine { font-size: 13px; color: var(--on-dark-2); margin-top: 16px; }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 64px; align-items: end; }
.section-head--split .lead-text { margin-top: 0; }
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r);
  font-family: var(--f-body); font-weight: 500; font-size: 15px; text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer; background: none;
  transition: background-color .2s var(--ease-out), color .2s, border-color .2s, transform .35s var(--ease-out);
}
.btn .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.btn:hover .i { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-press); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: #000; }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--quiet { border-color: var(--border); color: var(--ink); }
.btn--quiet:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(250,248,245,.4); color: var(--on-dark); background: rgba(20,20,20,.2); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { border-color: var(--on-dark); background: rgba(250,248,245,.08); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding: 8px 0 2px; min-height: 44px; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: var(--on-dark); }

/* ---------- intro ---------- */
.intro { position: fixed; inset: 0; z-index: 150; background: var(--dark); display: grid; place-items: center; }
.intro__inner { width: min(480px, 72vw); }
.intro__logo { width: 100%; height: auto; clip-path: inset(0 100% 0 0); }
.intro__line { margin-top: 24px; display: flex; justify-content: space-between; gap: 16px; color: var(--on-dark-2); font-size: 14px; opacity: 0; }
.intro__zh { font-family: var(--f-zh); color: var(--on-dark); }
.intro__skip { position: absolute; bottom: 28px; right: 28px; background: none; border: 1px solid var(--line-dark); color: var(--on-dark-2); border-radius: var(--r); min-height: 44px; padding: 0 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.intro__skip:hover { color: var(--on-dark); border-color: var(--on-dark-2); }
.intro.is-done { display: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 72px; padding: 0 var(--gutter); color: var(--on-dark);
  transition: background-color .35s, color .35s, border-color .35s, transform .45s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled.is-dark { background: rgba(20,20,20,.72); backdrop-filter: blur(14px); border-color: var(--line-dark); }
.nav.is-light { color: var(--ink); }
.nav.is-scrolled.is-light { background: rgba(250,248,245,.84); backdrop-filter: blur(14px); border-color: var(--border); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { position: relative; display: block; width: 132px; flex: none; }
.nav__logo img { width: 132px; height: auto; transition: opacity .3s; }
.nav__logo .logo-std { position: absolute; inset: 0; opacity: 0; }
.nav.is-light .logo-std { opacity: 1; }
.nav.is-light .logo-rev { opacity: 0; }
.nav__links { display: flex; gap: 26px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.nav__links a { text-decoration: none; opacity: .7; padding: 12px 0; position: relative; transition: opacity .2s; white-space: nowrap; }
.nav__links a:hover, .nav__links a.is-current { opacity: 1; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav__cta { white-space: nowrap; }
.lang { display: flex; border: 1px solid currentColor; border-radius: var(--r); overflow: hidden; opacity: .85; }
.lang__btn { background: none; border: 0; min-height: 40px; min-width: 44px; padding: 0 10px; font-size: 12px; cursor: pointer; opacity: .65; white-space: nowrap; }
.lang__btn.is-active { opacity: 1; }
.nav .lang__btn.is-active { background: var(--on-dark); color: var(--ink); }
.nav.is-light .lang__btn.is-active { background: var(--ink); color: var(--on-dark); }
.nav__menu { display: none; width: 44px; height: 44px; background: none; border: 1px solid currentColor; border-radius: var(--r); cursor: pointer; position: relative; opacity: .85; }
.nav__menu i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease-out); }
.nav__menu i:first-of-type { top: 17px; } .nav__menu i:last-of-type { top: 25px; }
.nav__menu[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav__menu[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--dark); color: var(--on-dark); padding: 110px var(--gutter) 40px; overflow-y: auto; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; font-family: var(--f-head); font-size: 26px; font-weight: 600; }
.mobile-menu .num { font-family: var(--f-body); font-size: 12px; color: var(--on-dark-2); font-weight: 400; }
@media (max-width: 1180px) { .nav__links { display: none; } .nav__menu { display: block; } }
@media (max-width: 720px) {
  .nav { height: 64px; }
  .nav__cta { display: none; }
  .nav__logo, .nav__logo img { width: 120px; }
}

/* ---------- hero (pinned scroll film) ---------- */
.hero { position: relative; background: #0d0d0d; color: var(--on-dark); }
.hero__stage { position: relative; height: 100svh; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__shade { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,13,13,.8) 0%, rgba(13,13,13,.45) 36%, rgba(13,13,13,0) 62%), linear-gradient(0deg, rgba(13,13,13,.9) 0%, rgba(13,13,13,0) 36%); }
.hero__dim { position: absolute; inset: 0; background: #0d0d0d; opacity: 0; }
.hero__beat2 { position: absolute; left: 0; right: 0; top: max(88px, 10svh); opacity: 0; visibility: hidden; pointer-events: none; }
.hero__beat2-title { font-family: var(--f-head); font-weight: 600; font-size: clamp(36px, min(5.4vw, 8.5svh), 84px); line-height: 1.04; letter-spacing: -0.035em; }
html[data-lang="zh"] .hero__beat2-title { font-family: var(--f-zh); font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.hero__beat2-sub { margin-top: 24px; font-size: clamp(17px, 1.45vw, 20px); color: rgba(250,248,245,.82); max-width: 44ch; }
.hero__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line-dark); }
.hero__progress i { display: block; height: 100%; background: var(--on-dark); transform-origin: left; transform: scaleX(0); }
.hero.is-static .hero__beat2, .hero.is-static .hero__progress { display: none; }
.hero__content { padding-top: 104px; padding-bottom: clamp(20px, 3svh, 40px); }
.hero__title { font-family: var(--f-head); font-weight: 600; font-size: clamp(42px, min(6.6vw, 9svh), 104px); line-height: 1.0; letter-spacing: -0.04em; max-width: 12ch; }
html[data-lang="zh"] .hero__title { font-size: clamp(44px, 7vw, 100px); line-height: 1.15; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > .li { display: inline-block; will-change: transform; }
.hero__sub { margin-top: 28px; font-size: clamp(17px, 1.45vw, 20px); color: rgba(250,248,245,.84); max-width: 50ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 32px; padding-top: 24px; border-top: 1px solid var(--line-dark); margin-top: 24px; }
.hero__tag { font-size: 13px; color: var(--on-dark-2); letter-spacing: .04em; }
.scroll-cue { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-dark); border-radius: var(--r); }
.scroll-cue svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; animation: bob 2.2s var(--ease-in-out) infinite; }
@keyframes bob { 0%,100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }
@media (max-height: 820px) and (min-width: 721px) {
  .hero__sub { margin-top: 18px; } .hero__ctas { margin-top: 24px; }
  .hero__foot { padding-top: 14px; padding-bottom: 18px; margin-top: 12px; }
}
@media (max-width: 720px) {
  .hero__shade { background: linear-gradient(0deg, rgba(13,13,13,.97) 0%, rgba(13,13,13,.75) 42%, rgba(13,13,13,0) 70%, rgba(13,13,13,.4) 100%); }
  .hero__content { padding-top: 38svh; }
  .hero__title { font-size: clamp(34px, 10vw, 58px); }
  .hero__beat2 { top: 92px; }
  .hero__ctas .btn { width: 100%; }
  .hero__foot { padding-bottom: 20px; }
}

/* ---------- ticker ---------- */
.ticker { border-bottom: 1px solid var(--border); padding: 22px 0; overflow: hidden; display: flex; align-items: center; gap: 28px; }
.ticker__label { flex: none; padding-left: var(--gutter); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.ticker__track { display: flex; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker__row { display: flex; align-items: center; gap: 28px; padding-right: 28px; flex: none; animation: ticker 48s linear infinite; }
.ticker__row span { font-family: var(--f-head); font-weight: 600; font-size: clamp(16px, 1.5vw, 19px); white-space: nowrap; letter-spacing: -0.01em; }
.ticker__row i { width: 7px; height: 7px; background: var(--ink); transform: rotate(45deg); flex: none; opacity: .5; }
.ticker:hover .ticker__row { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (max-width: 720px) { .ticker__label { display: none; } }

/* ---------- statement ---------- */
.statement { padding: var(--sec) 0 clamp(40px, 5vw, 72px); }
.statement__text { font-family: var(--f-head); font-weight: 600; font-size: clamp(28px, 4.4vw, 60px); line-height: 1.15; letter-spacing: -0.025em; max-width: 22ch; }
html[data-lang="zh"] .statement__text { max-width: 15em; line-height: 1.35; }
.statement__text .w { opacity: .14; }

/* ---------- problems: stacking cards ---------- */
.problems { padding: clamp(40px, 5vw, 72px) 0 var(--sec); }
.stack { display: grid; gap: 24px; }
.pcard {
  position: sticky; top: calc(96px + var(--i) * 22px);
  display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(560px, 72svh);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden;
  transform-origin: 50% 0;
}
.pcard__media { position: relative; overflow: hidden; background: var(--dark); }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--photo); transform: scale(1.06); transition: transform 1.2s var(--ease-out); }
.pcard:hover .pcard__media img { transform: scale(1.0); }
.pcard__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; }
.pcard__n { font-family: var(--f-head); font-size: 14px; color: var(--ink-2); letter-spacing: .1em; }
.pcard__title { font-family: var(--f-head); font-weight: 600; font-size: clamp(26px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.02em; }
.pcard__desc { font-size: 18px; color: var(--ink-2); max-width: 40ch; }
.pcard__fix { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--border); display: grid; gap: 6px; font-size: 16px; }
.pcard__fix-k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 900px) {
  .pcard { grid-template-columns: 1fr; min-height: 0; position: relative; top: auto; }
  .pcard__media { aspect-ratio: 16 / 10; }
}

/* ---------- pillars: interactive split ---------- */
.pillars { background: var(--dark); color: var(--on-dark); padding-top: var(--sec); }
.pillars__head { margin-bottom: clamp(40px, 5vw, 64px); }
.split { display: flex; height: min(78svh, 720px); min-height: 520px; border-top: 1px solid var(--line-dark); }
.split__half { position: relative; flex: 1; overflow: hidden; text-decoration: none; color: var(--on-dark); isolation: isolate; transition: flex-grow .9s var(--ease-out); border-right: 1px solid var(--line-dark); }
.split__half:last-child { border-right: 0; }
.split:hover .split__half { flex-grow: .7; }
.split .split__half:hover, .split .split__half:focus-visible { flex-grow: 1.45; }
.split__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.35) brightness(.55); transform: scale(1.08); transition: transform 1.4s var(--ease-out), filter .8s; }
.split__half::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13,13,13,.92) 0%, rgba(13,13,13,.35) 55%, rgba(13,13,13,.2) 100%); }
.split__half:hover .split__img, .split__half:focus-visible .split__img { transform: scale(1); filter: grayscale(.1) brightness(.62); }
.split__content { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 4vw, 56px); }
.split__k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.split__title { font-family: var(--f-head); font-weight: 600; font-size: clamp(32px, 4.4vw, 64px); letter-spacing: -0.03em; line-height: 1.05; margin-top: 12px; white-space: nowrap; }
.split__sub { margin-top: 16px; font-size: 17px; max-width: 40ch; color: rgba(250,248,245,.86); }
.split__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--on-dark-2); letter-spacing: .02em; }
.split__more::after { content: "→"; color: var(--on-dark); transition: transform .3s var(--ease-out); }
.split__half:hover .split__more::after { transform: translateX(6px); }
@media (max-width: 900px) {
  .split { flex-direction: column; height: auto; min-height: 0; }
  .split__half { min-height: 440px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .split:hover .split__half, .split .split__half:hover { flex-grow: 1; }
  .split__title { white-space: normal; }
}

/* ---------- academy: horizontal cards ---------- */
.academy { overflow: hidden; padding: var(--sec) 0 calc(var(--sec) * .8); --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.academy__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.academy__meta .lead-text { margin-top: 0; }
.academy__nav { margin-top: 24px; display: grid; gap: 10px; }
.academy__bar { height: 1px; background: var(--border); }
.academy__hint { font-size: 13px; color: var(--ink-2); }
.academy__bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform .4s var(--ease-out); }
.academy__rail { position: relative; }
.academy__viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: var(--edge); scrollbar-width: none; padding-bottom: 4px; cursor: grab; outline: none; }
.academy__viewport::-webkit-scrollbar { display: none; }
.academy__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.academy__viewport.is-dragging a { pointer-events: none; }
.academy__viewport:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.academy__track { display: flex; gap: 20px; width: max-content; padding: 0 var(--gutter) 0 var(--edge); }
.fcard { scroll-snap-align: start; }
.fcard:last-child { scroll-snap-align: end; } /* so the very end of the row is a snap point */
/* arrows sit on the photo band, at the edges of the rail */
.cnav { position: absolute; z-index: 2; top: var(--arrow-top, calc(clamp(300px, 30vw, 420px) * .3125 - 36px)); width: 72px; height: 72px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--ink); background: var(--ink); color: var(--on-dark); cursor: pointer; transition: opacity .3s, transform .3s var(--ease-out), background-color .2s; }
.cnav svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.cnav:hover { background: #000; }
.cnav--prev { left: calc(var(--gutter) / 2); }
.cnav--next { right: calc(var(--gutter) / 2); }
.cnav--prev:hover svg { transform: translateX(-4px); }
.cnav--next:hover svg { transform: translateX(4px); }
.cnav:disabled { opacity: 0; pointer-events: none; transform: scale(.85); }
.cnav--next:not(:disabled) { animation: nudge 2.4s var(--ease-in-out) 1.5s 3; }
/* wide screens: pinned row that always fits the window. The photo band flexes so the text is never cut. */
.academy.is-pinned { padding: 0; }
.academy.is-pinned .academy__pin { height: 100svh; min-height: 600px; display: flex; flex-direction: column; padding: 92px 0 28px; }
.academy.is-pinned .academy__head { flex: none; margin-bottom: clamp(20px, 3svh, 40px); }
.academy.is-pinned .h2 { font-size: clamp(28px, min(3.4vw, 5svh), 46px); }
.academy.is-pinned .academy__rail { flex: 1; min-height: 0; }
.academy.is-pinned .academy__viewport { height: 100%; overflow: hidden; scroll-snap-type: none; cursor: default; padding-bottom: 0; }
.academy.is-pinned .academy__track { height: 100%; will-change: transform; }
.academy.is-pinned .fcard { height: 100%; }
.academy.is-pinned .fcard__media { aspect-ratio: auto; flex: 1 1 0; min-height: 96px; }
.academy.is-pinned .fcard__body { flex: none; padding: 20px 24px 22px; gap: 10px; }
.academy.is-pinned .fcard__dl { gap: 8px; margin-bottom: 4px; }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateX(6px); } }
.fcard { width: clamp(300px, 30vw, 420px); flex: none; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: border-color .3s; }
.fcard:hover { border-color: var(--ink); }
.fcard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-alt); }
.fcard__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo); transition: transform 1s var(--ease-out); }
.fcard:hover .fcard__media img { transform: scale(1.05); }
.fcard__dur { position: absolute; left: 14px; top: 14px; padding: 5px 10px; border-radius: 4px; background: rgba(20,20,20,.78); color: var(--on-dark); font-size: 12px; font-weight: 500; backdrop-filter: blur(6px); }
.fcard__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.fcard__n { font-size: 12px; color: var(--ink-2); letter-spacing: .12em; }
.fcard__dl { display: grid; gap: 10px; font-size: 15px; margin-bottom: 8px; }
.fcard__dl > div { padding-top: 10px; border-top: 1px solid var(--border); }
.fcard__dl dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.fcard .link-arrow { margin-top: auto; align-self: flex-start; }
.fcard--end { background: var(--dark); color: var(--on-dark); border-color: var(--dark); justify-content: flex-end; }
.fcard--end:hover { border-color: var(--dark); }
.fcard__end { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.fcard__end-k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.fcard__end-t { font-family: var(--f-head); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.02em; }
@media (max-width: 900px) {
  .academy__head { grid-template-columns: 1fr; }
  .cnav { width: 56px; height: 56px; }
  .cnav svg { width: 24px; height: 24px; }
  .academy__hint { display: none; }
  .fcard { width: 82vw; max-width: 380px; }
}

/* ---------- advisory: sticky steps ---------- */
.advisory { padding: var(--sec) 0; background: var(--surface-alt); border-top: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.steps__visual { position: sticky; top: 112px; }
.steps__frame { position: relative; aspect-ratio: 4 / 5; max-height: calc(100svh - 160px); width: 100%; border-radius: var(--r); overflow: hidden; background: var(--dark); }
.steps__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--photo); opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease-out), transform 1.4s var(--ease-out); }
.steps__img.is-on { opacity: 1; transform: scale(1); }
.steps__badge { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: baseline; gap: 6px; padding: 10px 14px; background: rgba(20,20,20,.78); color: var(--on-dark-2); border-radius: var(--r); backdrop-filter: blur(8px); font-size: 14px; }
.steps__badge-n { font-family: var(--f-head); font-weight: 600; font-size: 28px; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.steps__list { display: flex; flex-direction: column; }
.step { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 40px 0; border-top: 1px solid var(--border); opacity: .32; transition: opacity .6s var(--ease-out); }
.step:first-child { border-top: 0; }
.step.is-on { opacity: 1; }
.step__k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.step__title { font-family: var(--f-head); font-weight: 600; font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.03em; line-height: 1.05; }
.step > p:not(.step__k) { font-size: 18px; color: var(--ink-2); max-width: 44ch; }
.step__img { display: none; }
.systems { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--border); }
.systems li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
.systems svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps__visual { display: none; }
  .step { min-height: 0; opacity: 1; padding: 36px 0; }
  .step__img { display: block; order: -1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); filter: var(--photo); }
}

/* ---------- midnight demo ---------- */
.midnight { position: relative; background: var(--dark); color: var(--on-dark); padding: var(--sec) 0; overflow: hidden; isolation: isolate; }
.midnight__bg { position: absolute; inset: -8% 0; z-index: -1; }
.midnight__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) brightness(.42); }
.midnight__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,20,.95) 0%, rgba(20,20,20,.72) 55%, rgba(20,20,20,.5) 100%); }
.midnight__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.midnight .h2 { max-width: 18ch; }
.control-group { margin-top: 30px; }
.control-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 10px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line-dark); border-radius: var(--r); }
.seg__btn { background: none; border: 0; min-height: 40px; padding: 0 16px; border-radius: 6px; cursor: pointer; font-size: 14px; color: var(--on-dark-2); transition: background-color .25s, color .25s; }
.seg__btn:hover { color: var(--on-dark); }
.seg__btn.is-active { background: var(--on-dark); color: var(--ink); }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--line-dark); border-radius: var(--r); }
.switch__btn { position: relative; z-index: 1; background: none; border: 0; min-height: 44px; padding: 0 20px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--on-dark-2); transition: color .3s; white-space: nowrap; }
.switch__btn.is-active { color: var(--ink); }
.switch__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--on-dark); border-radius: 6px; transition: transform .45s var(--ease-out); }
.switch[data-mode="with"] .switch__thumb { transform: translateX(100%); }
.outcome { margin-top: 14px; min-height: 48px; font-family: var(--f-head); font-weight: 600; font-size: 17px; line-height: 1.4; color: var(--on-dark); }
html[data-lang="zh"] .outcome { font-family: var(--f-zh); }
.midnight__stage { position: relative; display: flex; justify-content: center; }
.phone { width: min(360px, 100%); background: #F4F1EC; color: var(--ink); border-radius: 28px; border: 8px solid #2A2A2C; overflow: hidden; display: flex; flex-direction: column; height: 560px; position: relative; }
.phone__top { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: #fff; border-bottom: 1px solid var(--border); }
.phone__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-alt); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.phone__name { font-size: 14px; font-weight: 600; line-height: 1.2; }
.blur { filter: blur(3.5px); user-select: none; }
.phone__state { font-size: 12px; color: var(--ink-2); line-height: 1.2; }
.phone__time { margin-left: auto; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.phone__chat { flex: 1; overflow: hidden; padding: 16px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.msg { max-width: 82%; padding: 9px 12px 18px; border-radius: 10px; font-size: 14px; line-height: 1.45; position: relative; }
.msg time { position: absolute; right: 8px; bottom: 3px; font-size: 10px; color: var(--ink-2); }
.msg--in { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.msg--out { background: #DCEBD6; align-self: flex-end; border-top-right-radius: 2px; }
.msg__who { display: block; font-size: 11px; font-weight: 600; color: var(--ink-2); margin-bottom: 2px; }
.msg--sys { align-self: center; background: rgba(28,28,30,.08); font-size: 11px; padding: 5px 10px; border-radius: 6px; color: var(--ink-2); }
.typing { align-self: flex-start; background: #fff; border-radius: 10px; padding: 12px 14px; display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.phone__replay { position: absolute; right: 12px; top: 64px; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; font-size: 12px; background: rgba(255,255,255,.92); border: 1px solid var(--border); border-radius: 6px; cursor: pointer; color: var(--ink-2); }
.phone__replay svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.phone__replay:hover { color: var(--ink); }
.leadcard { margin-top: 30px; max-width: 460px; background: rgba(20,20,20,.7); backdrop-filter: blur(12px); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 18px 20px; font-size: 14px; }
.leadcard dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.leadcard__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 10px; }
.leadcard dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line-dark); }
.leadcard dt { color: var(--on-dark-2); }
.leadcard dd { text-align: right; font-weight: 500; }
.leadcard dd.is-bad { color: var(--on-dark-2); text-decoration: line-through; text-decoration-color: rgba(250,248,245,.3); }
.leadcard.flash { animation: flash .6s var(--ease-out); }
@keyframes flash { 0% { transform: translateY(6px); opacity: .5; } 100% { transform: none; opacity: 1; } }
@media (max-width: 960px) {
  .midnight__grid { grid-template-columns: 1fr; gap: 0; }
  .midnight__copy { display: contents; }
  .midnight__copy > * { order: 1; }
  .midnight__stage { order: 2; margin-top: 36px; }
  .midnight .leadcard { order: 3; max-width: none; }
  .midnight .fine { order: 4; }
}
@media (max-width: 520px) { .leadcard dl { grid-template-columns: 1fr; } .switch__btn { padding: 0 12px; } }

/* ---------- results: scorecard ---------- */
.results { padding: var(--sec) 0; }
.score { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.score__picks { display: grid; gap: 10px; }
.metric { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 72px; padding: 14px 18px; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); cursor: pointer; font-size: 16px; font-weight: 500; transition: border-color .25s, background-color .25s, color .25s, transform .3s var(--ease-out); }
.metric:hover { border-color: var(--ink); }
.metric svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.metric__t { flex: 1; }
.metric__tick { width: 22px; height: 22px; border: 1.5px solid var(--border); border-radius: 4px; flex: none; position: relative; transition: background-color .25s, border-color .25s; }
.metric[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.metric[aria-pressed="true"] .metric__tick { background: var(--on-dark); border-color: var(--on-dark); }
.metric[aria-pressed="true"] .metric__tick::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.board { position: sticky; top: 104px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; min-height: 420px; }
.board__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.board__title { font-family: var(--f-head); font-weight: 600; font-size: 20px; }
html[data-lang="zh"] .board__title { font-family: var(--f-zh); font-weight: 700; }
.board__cols { display: flex; gap: 16px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.board__rows { display: grid; gap: 14px; }
.brow { display: grid; grid-template-columns: 1fr 92px 92px; gap: 8px 16px; align-items: center; }
.brow__name { font-size: 15px; font-weight: 500; }
.brow__cell { height: 34px; border-radius: 4px; border: 1px dashed #BDB7AE; display: grid; place-items: center; font-size: 12px; color: var(--ink-2); position: relative; overflow: hidden; }
.brow__cell--after { border-style: solid; border-color: var(--ink); color: var(--ink); }
.brow__cell--after::before { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: .07; transform-origin: left; animation: fillbar 1.4s var(--ease-out) both; }
@keyframes fillbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.board__empty { color: var(--ink-2); font-size: 15px; padding: 24px 0; }
.board__note { font-size: 13px; color: var(--ink-2); margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.board .btn { align-self: flex-start; }
@media (max-width: 900px) { .score { grid-template-columns: 1fr; } .board { position: relative; top: 0; min-height: 0; } }
.board__cols > span { width: 92px; text-align: center; }
@media (max-width: 480px) { .brow { grid-template-columns: 1fr 64px 64px; } .board__cols > span { width: 64px; } }

/* ---------- journey ---------- */
.journey { padding: 0 0 var(--sec); }
.path { display: grid; gap: 0; }
.path__row { border: 1px solid var(--border); border-radius: var(--r); padding: 22px; background: var(--surface); }
.path__label { font-size: 13px; font-weight: 600; margin-bottom: 16px; letter-spacing: .02em; }
.path__nodes { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 28px; position: relative; }
.node { position: relative; display: grid; place-items: center; text-align: center; min-height: 64px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface-alt); color: var(--ink-2); font-size: 15px; font-weight: 500; transition: background-color .5s var(--ease-out), color .5s, border-color .5s; }
.node:not(:last-child)::after { content: ""; position: absolute; right: -28px; top: 50%; width: 28px; height: 1px; background: var(--border); }
.node:not(:last-child)::before { content: ""; position: absolute; right: -28px; top: calc(50% - 3px); border: 3.5px solid transparent; border-left: 6px solid #BDB7AE; border-right: 0; }
.node.is-on { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.node--end.is-on { background: var(--red); color: #fff; border-color: var(--red); font-weight: 600; }
/* connectors fill in as each step is reached */
.node::after, .node::before { transition: background-color .5s var(--ease-out), border-color .5s var(--ease-out); }
.node.is-on:not(:last-child)::after { background: var(--ink); }
.node.is-on:not(:last-child)::before { border-left-color: var(--ink); }
/* the step just reached */
.node.is-current { outline: 2px solid var(--ink); outline-offset: 3px; }
.node--end.is-current { outline-color: var(--red); }
.path__drop { position: relative; height: 56px; }
.path__drop i { position: absolute; left: calc(50% - .5px); top: 0; bottom: 0; width: 1px; background: var(--border); }
.path__drop i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--ink); transform-origin: top; transform: scaleY(var(--drop, 0)); transition: transform .6s var(--ease-out); }
@media (max-width: 900px) {
  .path__nodes { grid-auto-flow: row; gap: 18px; }
  .node:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -18px; width: 1px; height: 18px; }
  .node:not(:last-child)::before { display: none; }
}

/* ---------- why ---------- */
.why { background: var(--dark); color: var(--on-dark); padding: var(--sec) 0; }
.why__list { display: grid; }
.why__item { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px 48px; align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line-dark); }
.why__item:last-child { border-bottom: 1px solid var(--line-dark); }
.why__big { font-family: var(--f-head); font-weight: 600; font-size: clamp(40px, 7vw, 108px); line-height: 1; letter-spacing: -0.045em; color: rgba(250,248,245,.16); transition: color .6s var(--ease-out); }
.why__item.is-on .why__big { color: var(--on-dark); }
.why__text { font-size: 18px; color: var(--on-dark-2); max-width: 36ch; }
@media (max-width: 900px) { .why__item { grid-template-columns: 1fr; } }

/* ---------- work ---------- */
.work { padding: var(--sec) 0; }
.work__grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 20px; }
.wcard { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--surface); transition: border-color .3s; transform-style: preserve-3d; }
.wcard:hover { border-color: var(--ink); }
.wcard__visual { aspect-ratio: 4 / 3; background: var(--surface-alt); display: grid; place-items: center; padding: 24px; border-bottom: 1px solid var(--border); overflow: hidden; }
.wcard__visual--dark { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.wcard__body { padding: 24px; display: grid; gap: 10px; }
.wcard__body > p:last-child { color: var(--ink-2); }
.wcard__client { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.bot { width: 100%; max-width: 280px; display: grid; gap: 8px; }
.bot__head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); font-size: 14px; }
.bot__head small { display: block; font-size: 11px; color: var(--ink-2); }
.bot__av { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--on-dark); display: grid; place-items: center; font-weight: 600; font-family: var(--f-head); }
.bubble { padding: 9px 12px; border-radius: 10px; font-size: 13px; line-height: 1.45; max-width: 88%; }
.bubble--in { background: #fff; justify-self: start; border-top-left-radius: 2px; }
.bubble--out { background: #DCEBD6; justify-self: end; border-top-right-radius: 2px; }
.bigfig { display: grid; justify-items: center; text-align: center; gap: 6px; }
.bigfig__num { font-family: var(--f-head); font-weight: 600; font-size: clamp(56px, 6vw, 88px); line-height: 1; letter-spacing: -0.04em; color: var(--red); font-variant-numeric: tabular-nums; }
.bigfig__cap { font-size: 14px; color: var(--on-dark-2); }
.flowmini { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 12px; color: var(--on-dark); flex-wrap: wrap; justify-content: center; }
.flowmini > span { padding: 6px 10px; border: 1px solid var(--line-dark); border-radius: 4px; }
.flowmini i { width: 16px; height: 1px; background: var(--on-dark-2); }
.browser { width: 100%; max-width: 300px; border: 1px solid var(--border); border-radius: var(--r); background: #fff; overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--border); font-size: 11px; color: var(--ink-2); }
.browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.browser__bar span { margin-left: 8px; padding: 2px 8px; background: var(--surface-alt); border-radius: 4px; }
.browser__body { padding: 18px; display: grid; gap: 8px; }
.browser__h { height: 14px; width: 70%; background: var(--ink); border-radius: 3px; }
.browser__l { height: 8px; width: 90%; background: var(--border); border-radius: 3px; }
.browser__l--s { width: 60%; }
.browser__btn { justify-self: start; margin-top: 8px; padding: 6px 12px; border-radius: 4px; background: #DCEBD6; font-size: 12px; font-weight: 600; }
@media (max-width: 1000px) { .work__grid { grid-template-columns: 1fr; } .wcard__visual { aspect-ratio: 16 / 9; } }

/* ---------- about ---------- */
.about { padding: var(--sec) 0; border-top: 1px solid var(--border); }
.about__grid { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__photo { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: #6b6b6e; }
.about__photo img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 10%; }
.about__photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; background: rgba(20,20,20,.78); color: var(--on-dark); border-radius: var(--r); font-size: 13px; backdrop-filter: blur(6px); }
.about__body { display: grid; gap: 18px; }
.about__body .eyebrow { margin-bottom: 0; }
.about__body > p:not(.eyebrow):not(.about__name) { color: var(--ink-2); font-size: 17px; }
.creds { display: grid; gap: 0; border-top: 1px solid var(--border); margin-top: 6px; }
.creds li { display: flex; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--border); font-weight: 500; }
.creds svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.about__name { font-size: 15px; color: var(--ink-2); padding: 14px 16px; background: var(--surface-alt); border-radius: var(--r); }
.about__name b { color: var(--ink); }
.record { margin-top: var(--sec); }
.record__title { font-family: var(--f-head); font-weight: 600; font-size: 24px; margin-bottom: 20px; }
html[data-lang="zh"] .record__title { font-family: var(--f-zh); font-weight: 700; }
.record__table { border-top: 1px solid var(--ink); }
.rrow { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 16px; padding: 18px 12px; border-bottom: 1px solid var(--border); transition: background-color .25s, padding-left .4s var(--ease-out); }
.rrow > span:first-child { font-family: var(--f-head); font-weight: 600; }
.rrow > span:not(:first-child) { color: var(--ink-2); }
.rrow:not(.rrow--head):hover { background: var(--surface-alt); padding-left: 20px; }
.rrow--head > span { font-family: var(--f-body) !important; font-weight: 500 !important; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 460px; }
  .rrow { grid-template-columns: 1fr; gap: 2px; }
  .rrow--head { display: none; }
}

/* ---------- faq ---------- */
.faq { padding: 0 0 var(--sec); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px 80px; align-items: start; }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 64px; padding: 16px 0; font-weight: 500; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; transition: transform .35s var(--ease-out); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 40px 22px 0; max-width: 62ch; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { position: relative; background: var(--dark); color: var(--on-dark); padding: var(--sec) 0; overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.38); }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,20,.75) 0%, rgba(20,20,20,.92) 70%); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__title { font-family: var(--f-head); font-weight: 600; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -0.03em; max-width: 14ch; }
html[data-lang="zh"] .contact__title { line-height: 1.3; max-width: 12em; }
.book-card { margin-top: 36px; padding: 22px; border: 1px solid var(--line-dark); border-radius: var(--r); background: rgba(20,20,20,.6); backdrop-filter: blur(12px); display: grid; gap: 18px; max-width: 480px; }
.book-card__top { display: flex; gap: 14px; align-items: center; }
.book-card__top img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.book-card__t { font-weight: 600; font-size: 17px; }
.book-card__m { font-size: 13px; color: var(--on-dark-2); }
.direct { margin-top: 24px; display: grid; gap: 4px; }
.direct a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--on-dark-2); transition: color .2s; }
.direct a:hover { color: var(--on-dark); }
.direct svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.form { background: var(--surface); color: var(--ink); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); }
.form__step { display: grid; gap: 18px; }
.form__title { font-family: var(--f-head); font-weight: 600; font-size: 22px; }
html[data-lang="zh"] .form__title { font-family: var(--f-zh); font-weight: 700; }
.needs { display: flex; flex-wrap: wrap; gap: 8px; }
.needs .field__hint { width: 100%; margin-top: -10px; }
.need { position: relative; display: inline-flex; cursor: pointer; }
.need input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.need > span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--r); font-size: 14px; background: var(--surface); transition: background-color .2s, color .2s, border-color .2s; }
.need > span::before { content: ""; width: 10px; height: 10px; border: 1.5px solid #BDB7AE; border-radius: 2px; transition: background-color .2s, border-color .2s; }
.need:hover > span { border-color: var(--ink); }
.need input:checked + span { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.need input:checked + span::before { background: var(--on-dark); border-color: var(--on-dark); }
.need input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.req { color: var(--ink-2); }
.opt { color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: var(--r); transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 88px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #BDB7AE; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field input[aria-invalid="true"] { border-color: #A3191B; box-shadow: 0 0 0 1px #A3191B; }
.field__hint { font-size: 13px; color: var(--ink-2); }
.field__err { font-size: 13px; color: #A3191B; font-weight: 500; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.form .btn--light { background: var(--ink); color: var(--on-dark); }
.form .btn--light:hover { background: #000; }
.form__fine { font-size: 13px; color: var(--ink-2); text-align: center; }
.form__fine--dark { text-align: left; }
.form__done { display: grid; gap: 16px; justify-items: start; padding: 20px 0; outline: none; }
.form__done-i { width: 56px; height: 56px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form__done-i path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .2s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__done p:not(.form__title) { color: var(--ink-2); }
.form__done-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form__done .btn--ghost-light { color: var(--ink); border-color: var(--border); background: none; backdrop-filter: none; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- booking dialog ---------- */
.booking { width: min(640px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); color: var(--ink); overflow: auto; }
.booking::backdrop { background: rgba(13,13,13,.72); backdrop-filter: blur(4px); }
.booking[open] { animation: pop .45s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.booking__inner { padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; }
.booking__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.booking__head .eyebrow { margin-bottom: 8px; }
.booking__title { font-family: var(--f-head); font-weight: 600; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; letter-spacing: -0.02em; }
.booking__close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--r); background: none; cursor: pointer; flex: none; }
.booking__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.booking__close:hover { border-color: var(--ink); }
.booking__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.booking__steps li { height: 3px; border-radius: 2px; background: var(--border); font-size: 0; transition: background-color .4s; }
.booking__steps li.is-on { background: var(--ink); }
.bstep { display: grid; gap: 12px; }
.bstep__q { font-weight: 600; font-size: 15px; margin-top: 4px; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.day, .slot { min-height: 64px; border: 1px solid var(--border); border-radius: var(--r); background: #fff; cursor: pointer; display: grid; place-items: center; gap: 0; padding: 8px 4px; line-height: 1.2; transition: border-color .2s, background-color .2s, color .2s; }
.day small { font-size: 11px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; }
.day b { font-family: var(--f-head); font-size: 20px; font-weight: 600; }
.day:hover, .slot:hover { border-color: var(--ink); }
.day[aria-checked="true"], .slot[aria-checked="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.day[aria-checked="true"] small { color: var(--on-dark-2); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { min-height: 48px; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.day:disabled, .slot:disabled { cursor: not-allowed; background: var(--surface-alt); color: #A9A6A1; border-style: dashed; }
.day:disabled small { color: #A9A6A1; }
.slot { display: grid; place-items: center; }
.slot small { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.bstep__status { font-weight: 400; font-size: 13px; color: var(--ink-2); margin-left: 8px; }
.bstep--done { justify-items: start; gap: 14px; padding: 8px 0; outline: none; }
.bdone__when { font-family: var(--f-head); font-weight: 600; font-size: 18px; }
.bdone__note { color: var(--ink-2); max-width: 46ch; }
.meet { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface-alt); }
.meet__k { grid-column: 1 / -1; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.meet__link { font-weight: 600; word-break: break-all; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* spam honeypot: off-screen, never shown to people */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.summary { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface-alt); font-size: 14px; }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.summary div:last-child { border-bottom: 0; }
.summary dt, .summary span:first-child { color: var(--ink-2); }
.summary span:last-child { font-weight: 500; text-align: right; }
.booking__foot { display: flex; justify-content: flex-end; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.booking__foot #bBack { margin-right: auto; }
@media (max-width: 520px) { .days { grid-template-columns: repeat(3, 1fr); } .days .day:nth-child(10) { display: none; } .booking__foot .btn { flex: 1; padding: 0 12px; } }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: var(--on-dark); padding: var(--sec) 0 32px; border-top: 1px solid var(--line-dark); }
.footer__cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line-dark); }
.footer__big { font-family: var(--f-head); font-weight: 600; font-size: clamp(44px, 8vw, 120px); line-height: .98; letter-spacing: -0.045em; }
html[data-lang="zh"] .footer__big { line-height: 1.15; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 48px var(--gutter); }
.footer__logo { width: 150px; height: auto; }
.footer__tag { margin-top: 16px; color: var(--on-dark-2); max-width: 34ch; font-size: 15px; }
.footer__col { display: grid; gap: 4px; align-content: start; }
.footer__col a { color: var(--on-dark-2); text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; transition: color .2s; }
.footer__col a:hover { color: var(--on-dark); }
.footer__muted { color: var(--on-dark-2); font-size: 13px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--on-dark-2); }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; } }

/* mobile sticky booking bar */
.mbar { display: none; }
@media (max-width: 720px) {
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(20,20,20,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line-dark); transform: translateY(110%); transition: transform .4s var(--ease-out); }
  .mbar.is-on { transform: none; }
  .mbar .btn { min-height: 46px; padding: 0 12px; font-size: 14px; }
  .mbar__wa { border: 1px solid rgba(250,248,245,.35); color: var(--on-dark); }
  .footer { padding-bottom: 96px; }
}

/* ---------- privacy notice page ---------- */
html[data-notice] [data-l] { display: none; }
html[data-notice="en"] [data-l="en"], html[data-notice="ms"] [data-l="ms"], html[data-notice="zh"] [data-l="zh"] { display: inline; }
.legal-nav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 72px; padding: 0 var(--gutter); background: rgba(250,248,245,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.legal-nav__logo img { width: 124px; height: auto; }
.legal-nav__back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.legal-nav__back:hover { color: var(--ink); }
.legal { max-width: 820px; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(64px, 8vw, 112px); }
.legal .eyebrow { margin-bottom: 14px; }
.legal__title { font-family: var(--f-head); font-weight: 600; font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.03em; }
html[data-notice="zh"] .legal__title { font-family: var(--f-zh); font-weight: 700; letter-spacing: 0; }
.legal__meta { margin-top: 12px; color: var(--ink-2); font-size: 14px; }
.legal__tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-top: 32px; border: 1px solid var(--border); border-radius: var(--r); }
.legal__tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 6px; background: none; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.legal__tabs button:hover { color: var(--ink); }
.legal__tabs button[aria-selected="true"] { background: var(--ink); color: var(--on-dark); }
.legal__note { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.legal__body { margin-top: 40px; border-top: 1px solid var(--border); }
.legal__body h2 { font-family: var(--f-head); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; margin: 36px 0 12px; }
.legal__body[lang="zh-Hans"] h2 { font-family: var(--f-zh); font-weight: 700; }
.legal__body p, .legal__body li { color: var(--ink-2); font-size: 16px; }
.legal__body p + p { margin-top: 10px; }
.legal__body b { color: var(--ink); font-weight: 600; }
.legal__body ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin: 8px 0 10px; }
.legal__body a { color: var(--ink); }
.legal-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--border); font-size: 13px; color: var(--ink-2); }
.legal-foot a { color: var(--ink-2); text-decoration: none; }
.legal-foot a:hover { color: var(--ink); }
.consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--ink); }
.footer__legal { color: var(--on-dark-2); text-decoration: none; }
.footer__legal:hover { color: var(--on-dark); }

/* ---------- reveal helpers (JS adds) ---------- */
.js .fade-up { opacity: 0; transform: translateY(28px); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ticker__row { animation: none; }
  .cnav--next { animation: none !important; }
  .statement__text .w { opacity: 1 !important; }
  .js .fade-up { opacity: 1; transform: none; }
  .pcard { position: relative; top: auto; }
  .why__big { color: var(--on-dark); }
}
