/* =====================================================================
   AI 福利社 v2 · design system
   Claude palette · Source Serif 4 + Hanken Grotesk · Noto Serif/Sans SC (subset, self-hosted)
   All motion: transform / opacity, spring-ish curves, never linear.
   ===================================================================== */

/* ---------- fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-serif-4-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "FWS Serif SC"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("../fonts/noto-serif-sc.woff2") format("woff2");
  unicode-range: U+2E80-2FFF, U+3000-303F, U+3100-31FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF; }
@font-face { font-family: "FWS Sans SC"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/noto-sans-sc.woff2") format("woff2");
  unicode-range: U+2E80-2FFF, U+3000-303F, U+3100-31FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF; }

/* ---------- tokens ---------- */
:root {
  --serif: "Source Serif 4", "FWS Serif SC", "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --sans: "Hanken Grotesk", "PingFang SC", "FWS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  --spring: cubic-bezier(.16, 1, .3, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --inout: cubic-bezier(.76, 0, .24, 1);

  --gut: clamp(20px, 5vw, 64px);
  --maxw: 1280px;
  --nav-h: 68px;
  --r-lg: 28px; --r-md: 20px; --r-sm: 14px;

  --coral: #D97757;
  --coral-hi: #E08A6D;
  --coral-deep: #C6613F;
  --clay: #A9502F;
  --ivory: #FAF9F5;
  --onyx: #141413;

  /* light (default) */
  --bg: #FAF9F5;
  --bg2: #F0EEE6;
  --bg3: #E6E3D8;
  --card: #FFFFFF;
  --ink: #141413;
  --ink2: #3D3D3A;
  --mute: #6B6A64;
  --faint: #9C9A92;
  --line: rgba(20, 20, 19, .09);
  --line2: rgba(20, 20, 19, .17);
  --accent: #B5532F;           /* coral text on ivory (AA for 18px+) */
  --btn: #141413; --btn-t: #FAF9F5; --btn-hover: #D97757; --btn-hover-t: #141413;
  --shadow: 0 1px 0 rgba(20,20,19,.03), 0 30px 60px -32px rgba(60, 40, 20, .28);
  --glass: rgba(250, 249, 245, .955);

  --ok: #4A6A33;   --ok-bg: rgba(120, 140, 93, .16);
  --warn: #87561A; --warn-bg: rgba(212, 162, 127, .26);
  --bad: #A23A27;  --bad-bg: rgba(191, 77, 52, .11);
  --dim: #66655F;  --dim-bg: rgba(20, 20, 19, .06);
  --grain-o: .05;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #1F1E1D;
  --bg2: #262624;
  --bg3: #30302E;
  --card: #262624;
  --ink: #F5F4EE;
  --ink2: #D6D4CB;
  --mute: #A3A098;
  --faint: #75736C;
  --line: rgba(250, 249, 245, .08);
  --line2: rgba(250, 249, 245, .16);
  --accent: #E8957A;
  --btn: #F5F4EE; --btn-t: #141413; --btn-hover: #D97757; --btn-hover-t: #141413;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 30px 60px -30px rgba(0, 0, 0, .6);
  --glass: rgba(31, 30, 29, .94);
  --ok: #A7BF8B;   --ok-bg: rgba(140, 165, 110, .16);
  --warn: #E2B07C; --warn-bg: rgba(212, 162, 127, .16);
  --bad: #F0907A;  --bad-bg: rgba(220, 110, 85, .15);
  --dim: #A3A098;  --dim-bg: rgba(250, 249, 245, .07);
  --grain-o: .07;
  color-scheme: dark;
}
/* any coral surface: ink type, light-mode status colours, regardless of theme */
.on-coral, .hero, .band-panel, .sh-head, .pt {
  --ink: #141413; --ink2: #2A2622; --mute: rgba(20,20,19,.72); --line: rgba(20,20,19,.16); --line2: rgba(20,20,19,.32);
  --btn: #141413; --btn-t: #FAF9F5; --btn-hover: #FAF9F5; --btn-hover-t: #141413;
  --ok: #3D5A28; --warn: #6E4310; --bad: #8E2D1C; --dim: #3B3A36;
  --ok-bg: rgba(250,249,245,.82); --warn-bg: rgba(250,249,245,.82); --bad-bg: rgba(250,249,245,.82); --dim-bg: rgba(250,249,245,.6);
  color: #141413;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
html.smooth { scroll-behavior: auto; }
html:not(.smooth) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:not(.smooth) { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink2);
  font: 400 16px/1.65 var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[data-lang="zh"] body { line-height: 1.75; letter-spacing: .01em; }
body::after { /* film grain — static, composited once */
  content: ""; position: fixed; inset: -50%; z-index: 400; pointer-events: none; opacity: var(--grain-o);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--coral); color: #141413; }
.wrap { width: min(var(--maxw), 100% - var(--gut) * 2); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
.hero :focus-visible, .band-panel :focus-visible, .sh-head :focus-visible { outline-color: #141413; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 500; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg);
  transform: translateY(-160%); transition: transform .5s var(--spring); }
.skip:focus { transform: none; }
[hidden] { display: none !important; }

.eyebrow { font: 600 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: var(--coral); }
[data-lang="zh"] .eyebrow { letter-spacing: .24em; font-size: 13px; }
.h2 { font: 400 clamp(44px, 6.6vw, 104px)/1.02 var(--serif); letter-spacing: -.025em; color: var(--ink); font-variation-settings: "opsz" 60; }
[data-lang="zh"] .h2 { font-weight: 500; letter-spacing: -.01em; line-height: 1.12; }

/* masked lines */
.ln { display: block; overflow: hidden; padding: .04em 0 .1em; margin: -.04em 0 -.1em; }
.ln-i { display: inline-block; will-change: transform; }
.ln em, .w-em { font-style: normal; color: var(--accent); }
html.js .mask-h .ln-i { transform: translate3d(0, 110%, 0); transition: transform 1.25s var(--spring); }
html.js .mask-h .ln:nth-child(2) .ln-i { transition-delay: .08s; }
html.js .mask-h .ln:nth-child(3) .ln-i { transition-delay: .16s; }
html.js .mask-h.in .ln-i { transform: none; }
html.js .mask-h[data-reveal] { opacity: 1; transform: none; }

/* generic reveal */
html.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--spring) var(--d, 0s), transform 1.3s var(--spring) var(--d, 0s); }
html.js [data-reveal].in { opacity: 1; transform: none; }

/* language crossfade */
html.ready [data-i18n], html.ready [data-i18n-lines], html.ready [data-i18n-words], html.ready #grid, html.ready #chips, html.ready #legend,
html.ready #ledger, html.ready #stChips, html.ready .count, html.ready #shTitle, html.ready #shLine, html.ready #shBody, html.ready #shBadges, html.ready .stbar {
  transition: opacity .26s var(--spring), filter .26s var(--spring), transform .55s var(--spring);
}
html.lang-out [data-i18n], html.lang-out [data-i18n-lines], html.lang-out [data-i18n-words], html.lang-out #grid, html.lang-out #chips, html.lang-out #legend,
html.lang-out #ledger, html.lang-out #stChips, html.lang-out .count, html.lang-out #shTitle, html.lang-out #shLine, html.lang-out #shBody, html.lang-out #shBadges {
  opacity: 0 !important; filter: blur(4px); transform: translate3d(0, -8px, 0);
}
html.lang-in [data-i18n], html.lang-in [data-i18n-lines], html.lang-in [data-i18n-words], html.lang-in #grid, html.lang-in #chips, html.lang-in #legend,
html.lang-in #ledger, html.lang-in #stChips, html.lang-in .count, html.lang-in #shTitle, html.lang-in #shLine, html.lang-in #shBody, html.lang-in #shBadges {
  opacity: 0 !important; filter: blur(4px); transform: translate3d(0, 10px, 0); transition: none !important;
}

/* theme crossfade fallback (browsers without View Transitions) */
html.theme-fade, html.theme-fade *, html.theme-fade *::before, html.theme-fade *::after {
  transition: background-color .6s var(--spring), color .6s var(--spring), border-color .6s var(--spring), fill .6s, stroke .6s !important;
}
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* underline sweep */
.u-sweep { background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px no-repeat; transition: background-size .6s var(--spring), color .3s; padding-bottom: 2px; }
.u-sweep:hover, .u-sweep:focus-visible { background-position: 0 100%; background-size: 100% 1px; }

/* ---------- buttons ---------- */
.btn {
  --mx: 50%; --my: 50%;
  position: relative; display: inline-flex; align-items: center; justify-content: center; isolation: isolate; overflow: hidden;
  height: 54px; padding: 0 28px; border-radius: 999px; font: 500 16px/1 var(--sans); letter-spacing: .005em; white-space: nowrap;
  transition: transform .7s var(--spring), color .45s var(--spring), background-color .4s, border-color .4s, box-shadow .5s var(--spring);
  will-change: transform;
}
.btn::before { /* liquid fill from the pointer */
  content: ""; position: absolute; left: var(--mx); top: var(--my); width: 24px; height: 24px; margin: -12px; border-radius: 50%; z-index: -1;
  background: var(--btn-hover); transform: scale(0); transition: transform .75s var(--spring);
}
.btn-i { position: relative; display: inline-flex; align-items: center; gap: 10px; transition: transform .7s var(--spring); }
.btn .arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--spring); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ink { background: var(--btn); color: var(--btn-t); }
.btn-ink:hover { color: var(--btn-hover-t); }
.btn-ink:hover::before, .btn-line:hover::before, .btn-ghost:hover::before { transform: scale(26); }
.btn-line { border: 1.5px solid currentColor; color: var(--ink); --btn-hover: var(--ink); }
.btn-line:hover { color: var(--bg); }
.hero .btn-line:hover, .band-panel .btn-line:hover { color: var(--coral); }
.btn-ghost { color: var(--ink); background: var(--bg2); --btn-hover: var(--bg3); }
.btn-ghost.ok { color: var(--ok); }
.btn.sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn.lg { height: 62px; padding: 0 34px; font-size: 17px; }
.btn:active { transform: scale(.97); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: transform .7s var(--spring), color .4s; color: var(--ink); }
.nav::before { content: ""; position: absolute; inset: 0; background: var(--glass); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .5s var(--spring); }
.nav.scrolled::before { opacity: 1; }
.nav.on-coral::before { opacity: 0; }
.nav.on-coral { --ink: #141413; --ink2: #141413; --line2: rgba(20,20,19,.3); --bg2: rgba(250,249,245,.25); color: #141413; }
.nav.tuck { transform: translate3d(0, -101%, 0); }
.nav-in { position: relative; height: var(--nav-h); width: min(var(--maxw), 100% - var(--gut) * 2); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { width: 26px; height: 26px; stroke: var(--coral); transition: transform 1.1s var(--spring), stroke .4s; }
.nav.on-coral .brand-mark { stroke: #141413; }
.brand:hover .brand-mark { transform: rotate(90deg) scale(1.08); }
.brand-name { font: 600 20px/1 var(--serif); letter-spacing: -.01em; }
.spark-mini line { stroke-linecap: round; stroke: inherit; }
.nav-r { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 30px); }
.nav-link { font: 500 15px/1 var(--sans); color: var(--ink); opacity: .82; transition: opacity .3s, background-size .6s var(--spring); }
.nav-link:hover { opacity: 1; }
.ibtn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line2); color: var(--ink);
  transition: background-color .35s, transform .6s var(--spring), border-color .3s; }
.ibtn:hover { background: var(--bg2); transform: scale(1.06); }
.ibtn:active { transform: scale(.94); }
.ibtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-r .ibtn + .ibtn { margin-left: -14px; }
.lang-btn { font: 600 13px/1 var(--sans); letter-spacing: .02em; }
.roll { display: block; height: 16px; overflow: hidden; line-height: 16px; }
.roll > span { display: block; height: 16px; text-align: center; transition: transform .7s var(--bounce); }
.roll { display: flex; flex-direction: column; }
.roll > span:nth-child(1) { order: 2; } /* 中 */
.roll > span:nth-child(2) { order: 1; } /* EN */
[data-lang="en"] .roll > span { transform: translateY(-16px); }
.theme-btn .t-core { fill: currentColor; stroke: none; }
.theme-btn .tm-c { transition: transform .8s var(--spring); }
.theme-btn .t-rays { transform-origin: 12px 12px; transition: transform .8s var(--spring), opacity .4s; }
[data-theme="dark"] .theme-btn .tm-c { transform: translate(-9px, 5px); }
[data-theme="dark"] .theme-btn .t-rays { transform: rotate(-60deg) scale(.4); opacity: 0; }
[data-theme="dark"] .theme-btn .t-core { transform: scale(1.35); transform-origin: 12px 12px; }
.theme-btn .t-core { transition: transform .8s var(--spring); }

/* ---------- cursor ---------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }
.cursor { position: fixed; inset: 0; z-index: 450; pointer-events: none; opacity: 0; transition: opacity .3s; }
html.has-cursor .cursor.on { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; will-change: transform; }
.cursor-dot::before { content: ""; position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--ink); transition: transform .4s var(--spring), opacity .2s; }
.cursor-ring::before { content: ""; position: absolute; width: 38px; height: 38px; margin: -19px; border-radius: 50%; border: 1px solid var(--ink); opacity: .35;
  transition: transform .6s var(--spring), background-color .35s, border-color .35s, opacity .35s; }
.cursor-label { position: absolute; transform: translate(-50%, -50%) scale(.6); font: 600 12px/1 var(--sans); letter-spacing: .06em; color: var(--bg); opacity: 0; white-space: nowrap; transition: opacity .3s, transform .6s var(--spring); }
.cursor.is-link .cursor-ring::before { transform: scale(1.5); background: rgba(217, 119, 87, .14); border-color: var(--coral); opacity: 1; }
.cursor.is-link .cursor-dot::before { transform: scale(.4); }
.cursor.is-card .cursor-ring::before { transform: scale(2.2); background: var(--ink); border-color: transparent; opacity: 1; }
.cursor.is-card .cursor-label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.is-card .cursor-dot::before { opacity: 0; }
.cursor.is-text .cursor-ring::before { opacity: 0; transform: scale(.4); }
.cursor.is-text .cursor-dot::before { opacity: 0; }
.cursor.down .cursor-ring::before { transform: scale(.8); }
.cursor.is-card.down .cursor-ring::before { transform: scale(1.9); }

/* ---------- page transition ---------- */
.pt { position: fixed; inset: 0; z-index: 420; background: var(--coral); display: grid; place-items: center; pointer-events: none; transform: translate3d(0, 101%, 0); }
.pt-mark { width: 84px; height: 84px; stroke: #141413; opacity: 0; transform: scale(.6) rotate(-45deg); transition: opacity .3s, transform .9s var(--spring); }
html.pt-out .pt { transform: none; transition: transform .62s var(--inout); pointer-events: auto; }
html.pt-out .pt-mark { opacity: 1; transform: none; transition-delay: .25s; }
html.pt-enter .pt { transform: none; transition: none; }
html.pt-enter .pt-mark { opacity: 1; transform: none; transition: none; }
html.pt-enter.pt-leave .pt { transform: translate3d(0, -101%, 0); transition: transform .85s var(--inout) .08s; }
html.pt-enter.pt-leave .pt-mark { opacity: 0; transform: scale(1.3) rotate(45deg); transition: opacity .4s, transform .8s var(--spring); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero-wrap { position: relative; height: 165vh; height: 165svh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero { position: absolute; inset: 0; background: var(--coral); overflow: hidden; display: flex; flex-direction: column; justify-content: center;
  transform-origin: 50% 40%; will-change: transform; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(80% 70% at 12% 8%, rgba(236, 152, 120, .75), transparent 60%),
    radial-gradient(70% 60% at 92% 100%, rgba(176, 80, 47, .55), transparent 65%); }
.spark { position: absolute; pointer-events: none; }
.spark line { stroke: var(--ivory); stroke-linecap: round; }
.hero .spark { width: min(78vh, 62vw); height: min(78vh, 62vw); right: max(-10vw, -140px); top: 50%; margin-top: calc(min(78vh, 62vw) / -2); opacity: .96; }
.hero-in { position: relative; z-index: 2; padding-top: var(--nav-h); will-change: transform, opacity; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 16px 0 12px; border-radius: 999px; background: rgba(250, 249, 245, .22);
  border: 1px solid rgba(20, 20, 19, .14); font: 500 13.5px/1 var(--sans); color: #141413; letter-spacing: .01em; backdrop-filter: blur(6px); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #141413; box-shadow: 0 0 0 0 rgba(20,20,19,.4); animation: pulse 2.6s var(--spring) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20,20,19,.35); } 70% { box-shadow: 0 0 0 10px rgba(20,20,19,0); } 100% { box-shadow: 0 0 0 0 rgba(20,20,19,0); } }
.hero-title { margin: 30px 0 0; font: 400 clamp(58px, 10.4vw, 172px)/.98 var(--serif); letter-spacing: -.035em; color: #141413; max-width: 12em;
  font-variation-settings: "opsz" 60; }
[data-lang="zh"] .hero-title { font-weight: 600; letter-spacing: -.02em; line-height: 1.06; font-size: clamp(56px, 10.6vw, 176px); }
[data-lang="en"] .hero-title { font-size: clamp(48px, 7.8vw, 132px); max-width: 9.6em; }
html.js .hero-title .ln-i { transform: translate3d(0, 110%, 0); }
html.ready .hero-title .ln-i { transform: none; transition: transform 1.4s var(--spring) .15s; }
html.ready .hero-title .ln:nth-child(2) .ln-i { transition-delay: .26s; }
html.pt-enter .hero-title .ln-i { transition-delay: .55s !important; }
.hero-lead { margin-top: 28px; max-width: 30em; font: 400 clamp(17px, 1.45vw, 21px)/1.55 var(--sans); color: rgba(20, 20, 19, .8); }
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
html.js .hero .pill, html.js .hero-lead, html.js .hero-cta, html.js .hero-foot .stats { opacity: 0; transform: translate3d(0, 18px, 0); }
html.ready .hero .pill, html.ready .hero-lead, html.ready .hero-cta, html.ready .hero-foot .stats { opacity: 1; transform: none; transition: opacity 1s var(--spring), transform 1.2s var(--spring); }
html.ready .hero-lead { transition-delay: .45s; } html.ready .hero-cta { transition-delay: .55s; } html.ready .hero-foot .stats { transition-delay: .7s; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: clamp(24px, 5vh, 48px); z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; }
.stats { display: flex; gap: clamp(28px, 5vw, 72px); }
.stat { display: flex; flex-direction: column-reverse; gap: 6px; }
.stat dd { font: 400 clamp(34px, 3.6vw, 52px)/1 var(--serif); color: #141413; letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; }
.stat dt { font: 500 13px/1 var(--sans); color: rgba(20, 20, 19, .66); letter-spacing: .04em; }
.cue { display: inline-flex; align-items: center; gap: 12px; font: 600 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #141413; }
.cue i { position: relative; width: 1.5px; height: 44px; background: rgba(20,20,19,.2); overflow: hidden; }
.cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 45%; background: #141413; animation: cue 2.2s var(--inout) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(230%); } }

/* =====================================================================
   MANIFESTO
   ===================================================================== */
.manifesto { position: relative; height: 250vh; }
.mf-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; }
.mf-text { font: 400 clamp(30px, 4.5vw, 70px)/1.22 var(--serif); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; max-width: 17em; font-variation-settings: "opsz" 48; }
[data-lang="zh"] .mf-text { font-weight: 500; line-height: 1.42; letter-spacing: .01em; max-width: 15.5em; font-size: clamp(28px, 4.2vw, 64px); }
.w { display: inline-block; opacity: .13; will-change: opacity, transform; }
html.mf-static .w { opacity: 1; }
.w-pn { color: var(--ink); }

/* =====================================================================
   METHOD
   ===================================================================== */
.method { position: relative; height: 330vh; background: var(--bg); }
.m-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.m-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.m-num { margin: 18px 0 6px; font: 400 clamp(120px, 19vw, 300px)/.86 var(--serif); letter-spacing: -.055em; color: var(--ink); font-variant-numeric: tabular-nums lining-nums;
  font-variation-settings: "opsz" 60; transition: color .8s var(--spring); }
[data-stage="2"] .m-num { color: var(--coral); }
.m-caps { position: relative; height: 3.4em; max-width: 19em !important; font: 400 clamp(20px, 2vw, 28px)/1.3 var(--serif); color: var(--ink); max-width: 16em; }
[data-lang="zh"] .m-caps { font-weight: 500; }
.m-cap { position: absolute; inset: 0; opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .6s var(--spring), transform .9s var(--spring); }
[data-stage="0"] .m-cap[data-s="0"], [data-stage="1"] .m-cap[data-s="1"], [data-stage="2"] .m-cap[data-s="2"] { opacity: 1; transform: none; transition-delay: .12s; }
.m-steps { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 460px; }
.m-steps li { display: flex; flex-direction: column; gap: 12px; font: 600 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); transition: color .5s; }
.m-steps i { display: block; height: 2px; background: var(--line2); overflow: hidden; border-radius: 2px; }
.m-steps b { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
[data-stage="0"] .m-steps [data-s="0"], [data-stage="1"] .m-steps [data-s="1"], [data-stage="2"] .m-steps [data-s="2"] { color: var(--ink); }
.dots { display: grid; grid-template-columns: repeat(8, 1fr); gap: clamp(8px, 1vw, 14px); }
.dot { position: relative; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2); background: var(--card);
  transition: transform .9s var(--spring) calc(var(--i) * 14ms), background-color .6s var(--spring) calc(var(--i) * 14ms), border-color .6s calc(var(--i) * 14ms), opacity .6s calc(var(--i) * 14ms); }
.dot b { font: 600 clamp(9px, .85vw, 12px)/1 var(--sans); color: var(--mute); font-variant-numeric: tabular-nums; transition: color .5s calc(var(--i) * 14ms); }
[data-stage="1"] .dot.d-ended, [data-stage="1"] .dot.d-unverified { background: var(--dim-bg); border-color: transparent; }
[data-stage="1"] .dot.d-changed, [data-stage="1"] .dot.d-full { background: var(--warn-bg); border-color: transparent; }
[data-stage="1"] .dot.d-changed b, [data-stage="1"] .dot.d-full b { color: var(--warn); }
[data-stage="1"] .dot.is-valid { transform: scale(.86); opacity: .45; }
[data-stage="2"] .dot { transform: scale(.5); opacity: .3; }
[data-stage="2"] .dot.is-valid { transform: none; opacity: 1; background: var(--coral); border-color: var(--coral); }
[data-stage="2"] .dot.is-valid b { color: #141413; }
.legend { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--spring), transform .8s var(--spring); }
[data-stage="1"] .legend { opacity: 1; transform: none; }
.lgd { display: inline-flex; align-items: center; gap: 8px; font: 500 13.5px/1 var(--sans); color: var(--mute); }
.lgd i { width: 9px; height: 9px; border-radius: 50%; }
.lgd b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.lgd.lg-valid i { background: var(--coral); } .lgd.lg-ended i, .lgd.lg-unverified i { background: var(--faint); } .lgd.lg-changed i, .lgd.lg-full i { background: #C8945A; }
.lgd.lg-unverified i { background: transparent; border: 1.5px solid var(--faint); }

/* =====================================================================
   EXPLORE
   ===================================================================== */
.explore { position: relative; padding: clamp(110px, 16vh, 200px) 0 clamp(90px, 12vh, 140px); outline: none; }
.ex-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(36px, 5vw, 56px); }
.toolbar { position: sticky; top: var(--nav-h); z-index: 30; padding: 14px 0; transition: top .7s var(--spring); }
html.nav-tuck .toolbar { top: 0; }
.toolbar::before { content: ""; position: absolute; inset: 0; background: var(--glass); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .4s; }
.toolbar.stuck::before { opacity: 1; }
.tb-in { position: relative; display: grid; grid-template-columns: minmax(240px, 380px) 1fr auto; gap: 14px 22px; align-items: center; }
.search { position: relative; display: flex; align-items: center; height: 50px; border-radius: 999px; background: var(--card); border: 1px solid var(--line2);
  transition: border-color .3s, box-shadow .5s var(--spring), transform .6s var(--spring); }
.search:focus-within { border-color: var(--coral); box-shadow: 0 0 0 5px rgba(217, 119, 87, .16); }
.search > svg { position: absolute; left: 18px; width: 18px; height: 18px; fill: none; stroke: var(--mute); stroke-width: 1.8; stroke-linecap: round; }
.search input { width: 100%; height: 100%; border: 0; background: none; outline: none; padding: 0 76px 0 46px; font-size: 15.5px; color: var(--ink); }
.search input::placeholder { color: var(--faint); }
.search input::-webkit-search-cancel-button { display: none; }
.search kbd { position: absolute; right: 14px; min-width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; border: 1px solid var(--line2);
  font: 600 12px/1 var(--sans); color: var(--mute); transition: opacity .3s; }
.search:focus-within kbd { opacity: 0; }
.search-x { position: absolute; right: 8px; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--mute); transition: background .3s, transform .5s var(--spring); }
.search-x:hover { background: var(--bg2); transform: rotate(90deg); }
.search-x:not([hidden]) ~ kbd, .search-x:not([hidden]) + kbd { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { --mx: 50%; --my: 50%; position: relative; display: inline-flex; align-items: center; gap: 0; height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line2);
  font: 500 14.5px/1 var(--sans); color: var(--ink); white-space: nowrap; background: transparent;
  transition: background-color .35s var(--spring), color .35s, border-color .35s, transform .6s var(--bounce), gap .5s var(--spring); }
.chip:hover { background: var(--bg2); }
.chip-ck { display: inline-block; width: 0; overflow: hidden; transition: width .5s var(--bounce); }
.chip-ck svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .5s var(--spring) .1s; }
.chip-n { margin-left: 8px; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; transition: color .3s; }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--bg); gap: 6px; }
.chip.on .chip-ck { width: 14px; }
.chip.on .chip-ck svg { stroke-dashoffset: 0; }
.chip.on .chip-n { color: var(--coral); }
.chip.pop { animation: pop .6s var(--bounce); }
@keyframes pop { 0% { transform: scale(.9); } 55% { transform: scale(1.06); } 100% { transform: scale(1); } }
.tb-meta { display: flex; align-items: center; gap: 16px; justify-self: end; white-space: nowrap; }
.count { font: 500 14px/1 var(--sans); color: var(--mute); font-variant-numeric: tabular-nums; }
.reset { font: 500 14px/1 var(--sans); color: var(--accent); }
.tb-in .chips { grid-column: 1 / -1; grid-row: 2; }

.grid { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.card { position: relative; perspective: 1100px; }
.card.is-out { display: none; }
.card-in { --ex: 50%; --ey: 100%; --mx: 50%; --my: 50%;
  position: relative; height: 100%; min-height: 292px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line);
  overflow: hidden; isolation: isolate; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform;
  transition: box-shadow .7s var(--spring), border-color .4s; }
.card-in:hover { box-shadow: var(--shadow); border-color: transparent; }
.card-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(217, 119, 87, .16), transparent 62%); }
.card-in:hover .card-glow { opacity: 1; }
.card-face { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; padding: 26px 26px 24px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-no { font: 500 13px/1 var(--sans); color: var(--faint); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.card-name { margin-top: 30px; font: 500 clamp(26px, 2.2vw, 31px)/1.12 var(--serif); letter-spacing: -.02em; color: var(--ink); font-variation-settings: "opsz" 36; }
[data-lang="zh"] .card-name { font-weight: 600; letter-spacing: 0; line-height: 1.25; }
.card-line { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 30em; }
.card-tags { margin-top: auto; padding-top: 26px; padding-right: 48px; display: flex; flex-wrap: wrap; gap: 6px; }
.card-arrow { position: absolute; right: 20px; bottom: 20px; z-index: 3; width: 40px; height: 40px; padding: 11px; border-radius: 50%; border: 1px solid var(--line2);
  fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
  transition: transform .7s var(--spring), background-color .4s, border-color .4s, stroke .4s; }
.card-peek { position: absolute; inset: 0; z-index: 2; background: var(--coral); color: #141413; pointer-events: none;
  clip-path: circle(0% at var(--ex) var(--ey)); transition: clip-path .75s var(--spring); }
.peek-bg { display: none; }
.peek-in { height: 100%; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .35s, transform .7s var(--spring); }
.peek-name { font: 600 19px/1.2 var(--serif); margin-bottom: 14px; }
.peek-k { font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(20, 20, 19, .62); margin-top: 6px; }
.peek-v { font-size: 14.5px; line-height: 1.5; color: #141413; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.peek-v.c3 { -webkit-line-clamp: 3; } .peek-v.c2 { -webkit-line-clamp: 2; }
.peek-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 600 14.5px/1 var(--sans); }
.peek-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card-hit { position: absolute; inset: 0; z-index: 4; border-radius: var(--r-lg); }
.card-hit:focus-visible { outline: 2px solid var(--coral); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) {
  .card-in:hover .card-peek, .card-in:has(.card-hit:focus-visible) .card-peek { clip-path: circle(150% at var(--ex) var(--ey)); }
  .card-in:hover .peek-in, .card-in:has(.card-hit:focus-visible) .peek-in { opacity: 1; transform: none; transition-delay: .12s; }
  .card-in:hover .card-arrow { transform: rotate(45deg); background: #141413; border-color: #141413; stroke: #FAF9F5; }
}
@media (hover: none) {
  .card-in:active { transform: scale(.985); transition: transform .3s var(--spring); }
}

/* badges */
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; font: 600 12.5px/1 var(--sans); letter-spacing: .01em; white-space: nowrap; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.tag { background: var(--bg2); color: var(--ink2); font-weight: 500; }
.card .badge.tag { background: transparent; border: 1px solid var(--line2); }
.badge.more { color: var(--mute); }
.rg-ok, .st-valid { color: var(--ok); background: var(--ok-bg); }
.rg-limited, .st-changed, .st-full { color: var(--warn); background: var(--warn-bg); }
.rg-blocked { color: var(--bad); background: var(--bad-bg); }
.rg-unknown, .st-ended, .st-unverified { color: var(--dim); background: var(--dim-bg); }
.st-unverified i { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.rg-unknown i { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }

.empty { padding: 90px 0 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.empty-mark { width: 54px; height: 54px; stroke: var(--coral); margin-bottom: 10px; animation: spin 14s var(--inout) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-t { font: 500 30px/1.2 var(--serif); color: var(--ink); }
.empty-s { color: var(--mute); margin-bottom: 18px; }

/* =====================================================================
   BAND
   ===================================================================== */
.band { padding: 0 clamp(10px, 1.4vw, 20px); }
.band-panel { position: relative; overflow: hidden; border-radius: clamp(26px, 3vw, 44px); background: var(--coral); padding: clamp(96px, 15vw, 200px) 0;
  transform-origin: 50% 100%; will-change: transform; }
.band-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 80% at 0% 0%, rgba(236, 152, 120, .7), transparent 60%), radial-gradient(60% 70% at 100% 100%, rgba(176, 80, 47, .45), transparent 65%); }
.band-spark { width: clamp(300px, 46vw, 640px); height: clamp(300px, 46vw, 640px); right: -8%; top: 50%; transform: translateY(-50%); opacity: .9; }
.band-in { position: relative; z-index: 2; }
.band-title { font: 400 clamp(52px, 8.6vw, 140px)/.98 var(--serif); letter-spacing: -.035em; color: #141413; font-variation-settings: "opsz" 60; }
[data-lang="zh"] .band-title { font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
.band-sub { margin: 28px 0 40px; max-width: 30em; font-size: clamp(16px, 1.3vw, 19px); color: rgba(20, 20, 19, .78); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.foot { position: relative; padding: clamp(70px, 10vw, 120px) 0 0; overflow: hidden; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 40px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.foot-note { font: 500 14.5px/1.4 var(--sans); color: var(--ink); }
.foot-links { display: flex; gap: 26px; font: 500 14.5px/1 var(--sans); color: var(--ink2); }
.foot-dis { margin-top: 18px; max-width: 46em; font-size: 13.5px; color: var(--mute); }
.wordmark { margin-top: clamp(40px, 6vw, 80px); line-height: .78; text-align: center; white-space: nowrap; user-select: none; }
.wordmark span { display: inline-block; font: 600 clamp(90px, 19.5vw, 340px)/.8 var(--serif); letter-spacing: -.04em; color: var(--coral);
  transform: translate3d(0, var(--wy, 18%), 0); will-change: transform; }

/* =====================================================================
   SHEET (side panel ≥761px · bottom sheet ≤760px)
   ===================================================================== */
.sheet { position: fixed; inset: 0; z-index: 120; visibility: hidden; pointer-events: none; transition: visibility 0s linear .8s; }
.sheet.open { visibility: visible; pointer-events: auto; transition: none; }
.sheet-bd { position: absolute; inset: 0; background: rgba(20, 20, 19, .45); opacity: 0; transition: opacity .6s var(--spring); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sheet.open .sheet-bd { opacity: 1; }
.sheet-panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(700px, calc(100vw - 24px)); display: flex; flex-direction: column;
  background: var(--bg); border-radius: 30px; overflow: hidden; outline: none; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .45);
  transform: translate3d(calc(100% + 30px), 0, 0); transition: transform .85s var(--spring); will-change: transform; }
.sheet.open .sheet-panel { transform: none; }
.sheet-panel.dragging { transition: none !important; }
.sh-head { position: relative; flex: none; padding: 20px 30px 30px; background: var(--coral); overflow: hidden; }
.sh-head::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 120% at 0% 0%, rgba(236,152,120,.7), transparent 60%); }
.sh-head > * { position: relative; }
.sh-grab { display: none; }
.sh-bar { display: flex; align-items: center; justify-content: space-between; }
.sh-no { font: 600 13px/1 var(--sans); letter-spacing: .1em; color: rgba(20, 20, 19, .7); font-variant-numeric: tabular-nums; }
.sh-ctl { display: flex; align-items: center; gap: 6px; }
.sh-ctl .ibtn { border-color: rgba(20, 20, 19, .2); color: #141413; }
.sh-ctl .ibtn:hover { background: rgba(250, 249, 245, .35); }
.sh-x { margin-left: 8px; background: #141413; color: #FAF9F5 !important; border-color: #141413 !important; }
.sh-x:hover { background: #141413 !important; transform: rotate(90deg); }
.sh-pos { min-width: 54px; text-align: center; font: 500 13px/1 var(--sans); color: rgba(20, 20, 19, .75); font-variant-numeric: tabular-nums; }
.sh-title { margin-top: 26px; font: 500 clamp(32px, 3.4vw, 46px)/1.08 var(--serif); letter-spacing: -.025em; color: #141413; font-variation-settings: "opsz" 48; }
[data-lang="zh"] .sh-title { font-weight: 600; letter-spacing: 0; line-height: 1.2; }
.sh-line { margin-top: 10px; font-size: 16.5px; line-height: 1.5; color: rgba(20, 20, 19, .8); max-width: 34em; }
.sh-head .badges { margin-top: 18px; }
.sh-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 30px 30px 40px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.sh-sec { margin-bottom: 30px; }
.sheet.open .sh-sec { animation: shIn .9s var(--spring) both; }
.sheet.open .sh-sec:nth-child(1) { animation-delay: .16s; } .sheet.open .sh-sec:nth-child(2) { animation-delay: .21s; }
.sheet.open .sh-sec:nth-child(3) { animation-delay: .26s; } .sheet.open .sh-sec:nth-child(4) { animation-delay: .31s; }
.sheet.open .sh-sec:nth-child(5) { animation-delay: .36s; } .sheet.open .sh-sec:nth-child(n+6) { animation-delay: .41s; }
@keyframes shIn { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
.sheet.swap #shBody, .sheet.swap #shTitle, .sheet.swap #shLine, .sheet.swap #shBadges { opacity: 0; transform: translate3d(calc(var(--dir, 1) * -28px), 0, 0); transition: opacity .2s, transform .3s var(--spring); }
.sheet.swap-in #shBody, .sheet.swap-in #shTitle, .sheet.swap-in #shLine, .sheet.swap-in #shBadges { opacity: 0; transform: translate3d(calc(var(--dir, 1) * 28px), 0, 0); transition: none !important; }
#shBody, #shTitle, #shLine, #shBadges { transition: opacity .35s var(--spring), transform .7s var(--spring); }
.k { display: block; margin-bottom: 12px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
[data-lang="zh"] .k { letter-spacing: .2em; font-size: 12.5px; }
.sh-lead { font: 400 clamp(19px, 1.6vw, 22px)/1.5 var(--serif); color: var(--ink); }
[data-lang="zh"] .sh-lead { font-weight: 500; line-height: 1.7; }
.sh-sec p { color: var(--ink2); }
.sh-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact { padding: 20px; border-radius: var(--r-md); background: var(--bg2); }
.fact p { font-size: 15px; line-height: 1.6; }
.steps { counter-reset: s; display: flex; flex-direction: column; gap: 2px; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.sn { font: 500 22px/1.2 var(--serif); color: var(--coral); font-variant-numeric: lining-nums tabular-nums; }
.lst { display: flex; flex-direction: column; gap: 10px; }
.lst li { position: relative; padding-left: 22px; color: var(--ink2); }
.lst li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 8px; height: 1.5px; background: var(--ink2); }
.lst.warn li::before { width: 7px; height: 7px; top: .62em; border-radius: 50%; background: var(--coral); }
.sh-risk { padding: 22px; border-radius: var(--r-md); border: 1px solid rgba(217, 119, 87, .35); background: rgba(217, 119, 87, .06); }
.sh-sec .badges + p { margin-top: 12px; }
.sh-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.sh-url { font-size: 13px; color: var(--mute); word-break: break-all; }

/* =====================================================================
   VERIFY
   ===================================================================== */
.v-hero { padding: calc(var(--nav-h) + clamp(70px, 12vh, 140px)) 0 clamp(50px, 7vw, 80px); }
.v-title { margin-top: 26px; font: 400 clamp(54px, 9vw, 150px)/.98 var(--serif); letter-spacing: -.04em; color: var(--ink); font-variation-settings: "opsz" 60; }
[data-lang="zh"] .v-title { font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
.v-title em { font-style: normal; color: var(--coral); }
.v-lead { margin-top: 26px; max-width: 34em; font-size: clamp(16px, 1.3vw, 19px); color: var(--mute); }
.stbar { margin-top: clamp(44px, 6vw, 72px); display: flex; gap: 4px; height: 64px; }
.stbar a { position: relative; flex: 1; border-radius: 8px; background: var(--bg3); transform-origin: 50% 100%;
  transition: transform .6s var(--bounce), background-color .3s, flex-grow .6s var(--spring); }
html.js .stbar a { transform: scaleY(0); }
html.js .stbar.in a { transform: none; transition-delay: calc(var(--i) * 18ms), 0s, 0s; }
.stbar a.sb-valid { background: var(--coral); }
.stbar a.sb-changed, .stbar a.sb-full { background: #D6A777; }
.stbar a.sb-ended { background: var(--faint); opacity: .55; }
.stbar a.sb-unverified { background: transparent; box-shadow: inset 0 0 0 1.5px var(--faint); }
.stbar a:hover { flex-grow: 2.6; transform: scaleY(1.12) !important; transition-delay: 0s !important; }
.stbar a span { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 6px); padding: 8px 12px; border-radius: 10px; background: var(--ink); color: var(--bg);
  font: 500 12.5px/1.3 var(--sans); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s, transform .5s var(--spring); z-index: 5; }
.stbar a:hover span, .stbar a:focus-visible span { opacity: 1; transform: translate(-50%, 0); }
.stbar a:first-child span { left: 0; transform: translate(0, 6px); } .stbar a:first-child:hover span { transform: none; }
.stbar a:last-child span { left: auto; right: 0; transform: translate(0, 6px); } .stbar a:last-child:hover span { transform: none; }
.v-tools { position: sticky; top: var(--nav-h); z-index: 30; padding: 14px 0; transition: top .7s var(--spring); }
html.nav-tuck .v-tools { top: 0; }
.v-tools::before { content: ""; position: absolute; inset: 0; background: var(--glass); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .4s; }
.v-tools.stuck::before { opacity: 1; }
.v-tools .tb-in { grid-template-columns: minmax(240px, 380px) 1fr auto; }
.v-tools .chips { grid-column: auto; grid-row: auto; }
.chip .sw { width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--faint); transition: background-color .3s; }
.chip .sw.sw-valid { background: var(--coral); } .chip .sw.sw-changed, .chip .sw.sw-full { background: #D6A777; } .chip .sw.sw-unverified { background: transparent; box-shadow: inset 0 0 0 1.5px var(--faint); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"] .chip-n { color: var(--coral); }
.ledger { margin: 18px 0 clamp(90px, 12vw, 160px); border-top: 1px solid var(--line2); }
.lrow { position: relative; border-bottom: 1px solid var(--line2); }
.lrow.is-out { display: none; }
.lr-head { position: relative; width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 36px; align-items: center; gap: 18px; padding: 24px 8px; text-align: left; isolation: isolate; }
.lr-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg2); border-radius: 18px; transform: scaleY(.6); opacity: 0;
  transition: transform .6s var(--spring), opacity .4s; }
.lr-head:hover::before, .lrow.open .lr-head::before { transform: none; opacity: 1; }
.lrow.open .lr-head::before { border-radius: 18px 18px 0 0; }
.lr-id { font: 400 26px/1 var(--serif); color: var(--faint); font-variant-numeric: lining-nums tabular-nums; transition: color .4s; padding-left: 10px; }
.lr-head:hover .lr-id, .lrow.open .lr-id { color: var(--coral); }
.lr-name { font: 500 clamp(18px, 1.6vw, 22px)/1.35 var(--serif); color: var(--ink); transition: transform .7s var(--spring); }
[data-lang="zh"] .lr-name { font-weight: 600; }
.lr-head:hover .lr-name { transform: translateX(6px); }
.lr-badges { display: flex; gap: 6px; justify-content: flex-end; }
.lr-chev { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; transition: transform .7s var(--spring), background-color .3s, border-color .3s; }
.lr-chev svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; transition: stroke .3s; }
.lrow.open .lr-chev { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); }
.lrow.open .lr-chev svg { stroke: var(--bg); }
.lr-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .75s var(--spring); }
.lrow.open .lr-body { grid-template-rows: 1fr; }
.lr-clip { min-height: 0; overflow: hidden; }
.lr-inner { padding: 8px 8px 34px 90px; background: var(--bg2); border-radius: 0 0 18px 18px; opacity: 0; transform: translate3d(0, -10px, 0); transition: opacity .4s, transform .7s var(--spring); }
.lrow.open .lr-inner { opacity: 1; transform: none; transition-delay: .08s; }
.lr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; padding-right: 30px; }
.lr-grid > div { min-width: 0; }
.lr-grid .wide { grid-column: 1 / -1; }
.lr-grid dd { color: var(--ink2); font-size: 15px; line-height: 1.65; white-space: pre-line; }
.lr-links { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; padding-right: 30px; }
.lr-links > div, .lr-links li { min-width: 0; }
.lr-links ul { display: flex; flex-direction: column; gap: 8px; }
.ev { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; font-size: 14px; color: var(--ink); }
.ev span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev svg { flex: none; width: 13px; height: 13px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--spring); }
.ev:hover svg { transform: translate(2px, -2px); }
.ev-none { font-size: 14px; color: var(--faint); }
.lr-open { margin-top: 26px; }
.lrow.flash .lr-head::before { animation: flash 2.2s var(--spring); opacity: 1; transform: none; }
@keyframes flash { 0%, 30% { background: rgba(217, 119, 87, .28); } 100% { background: var(--bg2); } }
.v-empty { padding: 70px 0; text-align: center; font: 500 26px/1.3 var(--serif); color: var(--ink); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1020px) {
  .tb-in, .v-tools .tb-in { grid-template-columns: 1fr auto; }
  .tb-in .search { grid-column: 1 / 2; }
  .v-tools .chips { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 860px) {
  .m-grid { grid-template-columns: 1fr; gap: 28px; }
  .m-num { font-size: clamp(110px, 30vw, 200px); margin: 12px 0 0; }
  .m-steps { margin-top: 18px; }
  .lr-head { grid-template-columns: 44px minmax(0, 1fr) 34px; gap: 12px; padding: 20px 4px; }
  .lr-badges { grid-column: 2 / 3; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; margin-top: -6px; }
  .lr-chev { grid-column: 3; grid-row: 1; }
  .lr-id { font-size: 20px; padding-left: 6px; }
  .lr-inner { padding: 6px 18px 28px 18px; }
  .lr-grid, .lr-links { grid-template-columns: minmax(0, 1fr); padding-right: 0; gap: 22px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  .hide-s { display: none; }
  .nav-r { gap: 14px; }
  .nav-r .ibtn + .ibtn { margin-left: -6px; }
  .nav-link { font-size: 14.5px; }
  .brand-name { font-size: 18px; }
  .hero { justify-content: flex-end; padding-bottom: 150px; }
  .hero .spark { width: 92vw; height: 92vw; right: -30vw; top: calc(var(--nav-h) - 6vw); margin-top: 0; opacity: .92; }
  .hero-title { margin-top: 22px; }
  .hero-lead { margin-top: 18px; font-size: 16.5px; }
  .hero-cta { margin-top: 28px; }
  .hero-cta .btn { height: 50px; padding: 0 22px; font-size: 15.5px; }
  .hero-foot { bottom: 26px; }
  .stats { gap: 26px; }
  .cue { display: none; }
  .manifesto { height: 230vh; }
  .method { height: 300vh; }
  .m-caps { height: 3.6em; font-size: 20px; }
  .dots { gap: 7px; }
  .legend { gap: 8px 16px; margin-top: 18px; }
  .toolbar, .v-tools { padding: 10px 0; }
  .tb-in, .v-tools .tb-in { grid-template-columns: 1fr; gap: 10px; }
  .tb-in .search { grid-column: 1; }
  .search { height: 46px; }
  .search kbd { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut); scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gut);
    -webkit-mask: linear-gradient(90deg, transparent, #000 var(--gut), #000 calc(100% - var(--gut)), transparent); mask: linear-gradient(90deg, transparent, #000 var(--gut), #000 calc(100% - var(--gut)), transparent); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; height: 38px; scroll-snap-align: start; }
  .tb-in .chips, .v-tools .chips { grid-row: auto; }
  .tb-meta { justify-self: start; }
  .grid { gap: 12px; margin-top: 16px; }
  .card-in { min-height: 0; border-radius: 24px; }
  .card-face { padding: 22px 22px 20px; }
  .card-name { margin-top: 20px; font-size: 25px; }
  .card-tags { padding-top: 20px; }
  .card-arrow { right: 16px; bottom: 16px; width: 36px; height: 36px; padding: 10px; }
  /* bottom sheet */
  .sheet-panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: 92vh; height: 92svh; border-radius: 26px 26px 0 0; transform: translate3d(0, 102%, 0); transition: transform .7s var(--spring); }
  .sh-head { padding: 10px 20px 24px; touch-action: none; }
  .sh-grab { display: flex; justify-content: center; padding: 2px 0 12px; }
  .sh-grab i { width: 40px; height: 5px; border-radius: 3px; background: rgba(20, 20, 19, .3); }
  .sh-title { margin-top: 18px; font-size: 30px; }
  .sh-body { padding: 24px 20px calc(36px + env(safe-area-inset-bottom)); }
  .sh-facts { grid-template-columns: 1fr; }
  .sh-actions .btn { flex: 1 1 auto; }
  .band-title { font-size: clamp(46px, 13vw, 80px); }
  .band-spark { right: -40%; top: 18%; transform: none; width: 110vw; height: 110vw; opacity: .5; }
  .foot-links { gap: 18px; }
  .stbar { height: 46px; gap: 3px; }
  .stbar a { border-radius: 5px; }
  .stbar a span { display: none; }
}
@media (max-width: 380px) {
  .nav-r { gap: 10px; }
  .stat dd { font-size: 30px; }
}

/* =====================================================================
   REDUCED MOTION — static, fully legible layout
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero-wrap { height: auto; }
  .hero-sticky { position: relative; height: 100vh; height: 100svh; }
  .manifesto { height: auto; }
  .mf-sticky { position: static; height: auto; padding: 22vh 0; }
  .method { height: auto; }
  .m-sticky { position: static; height: auto; padding: 14vh 0; }
  .legend { opacity: 1; transform: none; }
  html.js [data-reveal], html.js .mask-h .ln-i, html.js .hero-title .ln-i, html.js .hero .pill, html.js .hero-lead, html.js .hero-cta, html.js .hero-foot .stats { opacity: 1; transform: none; }
  html.js .stbar a { transform: none; }
  .w { opacity: 1; }
}
