@font-face {
  font-family: 'SiteSans';
  src: url('../fonts/sans900.woff2?v=20261109d') format('woff2');
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: 'SiteDisplay';
  src: url('../fonts/display.woff2?v=20261109d') format('woff2');
  font-weight: 900; font-display: swap;
}
@font-face {
  font-family: 'SiteQuiet';
  src: url('../fonts/quiet.woff2?v=20261109d') format('woff2');
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: 'SiteLatin';
  src: url('../fonts/latin.woff2?v=20261109d') format('woff2');
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'SiteLatin';
  src: url('../fonts/latin-i.woff2?v=20261109d') format('woff2');
  font-style: italic; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'SiteMono';
  src: url('../fonts/mono.woff2?v=20261109d') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #08090c;
  --bg-2: #0b0d12;
  --ink: #f2efe8;
  --ink-2: #b7b8c0;
  --dim: #767a86;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --violet: #a78bfa;
  --violet-deep: #6d4aff;
  --pink: #ff9dbb;
  --amber: #e7c9a2;
  --cyan: #8bd8e8;

  --sans: 'SiteSans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --display: 'SiteDisplay', 'Songti SC', 'STSong', 'SimSun', serif;
  --quiet: 'SiteQuiet', 'Songti SC', 'STSong', 'SimSun', serif;
  --latin: 'SiteLatin', Georgia, 'Times New Roman', serif;
  --mono: 'SiteMono', ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --body: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;

  --gutter: clamp(18px, 5vw, 88px);
  --t-hero: clamp(56px, 15.5vw, 210px);
  --t-h1: clamp(40px, 9vw, 132px);
  --t-h2: clamp(25px, 4.2vw, 52px);
  --t-h3: clamp(18px, 2vw, 24px);
  --t-body: clamp(14.5px, 1.05vw, 16.5px);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--violet-deep); color: #fff; }
:focus-visible { outline: 1px solid var(--violet); outline-offset: 4px; }

/* ---------- texture layers ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 10%, transparent 80%);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- primitives ---------- */
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; position: relative; z-index: 1; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim); display: flex; width: fit-content; align-items: center; gap: 10px;
}
.label::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.lead { font-size: clamp(17px, 2vw, 24px); line-height: 1.7; color: var(--ink-2); font-weight: 400; letter-spacing: .01em; }
.tiny { font-size: 12.5px; color: var(--dim); line-height: 1.7; }
.kicker-num { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--violet); }

section { position: relative; }
[id] { scroll-margin-top: 84px; }
.pad { padding-block: clamp(84px, 13vh, 180px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 44px);
  transition: background .4s ease, border-color .4s ease, color .4s ease;
  border-bottom: 1px solid transparent;
  color: #fff;
}
.nav.solid { background: rgba(8, 9, 12, .72); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.nav.on-light { color: #14151a; }
.nav.on-light.solid { background: rgba(239, 235, 228, .8); border-bottom-color: rgba(0, 0, 0, .1); }
.nav__brand { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: .04em; }
.nav__mark { width: 22px; height: 22px; flex: none; }
.nav__mark path { stroke: currentColor; stroke-width: 1.5; fill: none; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav__link { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .62; transition: opacity .25s; position: relative; padding-block: 4px; }
.nav__link:hover, .nav__link.active { opacity: 1; }
.nav__link.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; }
.nav__link em { font-style: normal; opacity: .45; margin-right: 5px; }
@media (max-width: 720px) {
  .nav__links .hide-sm { display: none; }
  .nav__links { gap: 11px; }
  .nav__link { font-size: 9.5px; letter-spacing: .08em; }
  .nav__link em { margin-right: 3px; font-size: 8.5px; }
  .nav__brand span { font-size: 12px; letter-spacing: .02em; }
}

.progress { position: fixed; top: 0; left: 0; height: 2px; z-index: 82; background: linear-gradient(90deg, var(--violet-deep), var(--pink)); width: 0; box-shadow: 0 0 14px rgba(167, 139, 250, .8); }

/* ---------- hero：裂缝 → 穿过 → 汇聚 → 失去支撑 ---------- */
.hero {
  position: relative;
  height: 380vh;
  isolation: isolate;
  overflow: clip;
  background: #05060a;
}
.hero__pin {
  position: sticky; top: 0;
  height: 100svh;
  overflow: clip;
  background: #05060a;
}

/* 裂缝里：另一个空间 */
.hero__deep {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
  background:
    radial-gradient(46% 36% at 51% 54%, rgba(132, 96, 220, .14), rgba(60, 38, 118, .05) 58%, transparent 82%),
    linear-gradient(180deg, #040408 0%, #0a0712 32%, #100b1c 60%, #05040a 100%);
  will-change: transform;
}
.hero__deep-img {
  position: absolute; left: -18%; top: -14%; width: 136%; height: 136%;
  max-width: none;
  object-fit: cover; opacity: .9;
  filter: blur(14px) brightness(.24) saturate(1.1) contrast(1.04);
}
/* 穿过时由虚变实：两层交叉淡化，比每帧改 blur 便宜得多 */
.hero__deep-img--sharp {
  filter: saturate(1.16) contrast(1.06) brightness(.9);
  opacity: 0;
}
.hero__deep-glow {
  position: absolute; left: 51%; top: 46%; width: 34%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(150, 118, 236, .12), rgba(80, 56, 168, .04) 52%, transparent 76%);
  filter: blur(12px);
}


/* 裂缝之内：三件主推，只在缝里露出 */
.hero__inside {
  position: absolute; inset: 0; z-index: 2;
  opacity: 0;
  will-change: transform, opacity;
  transform-origin: 50% 50%;
  pointer-events: none;
}
/* 每个作品名各自对准所在高度的裂缝，缝宽变化也切不到字 */
.hin__c {
  position: absolute;
  transform: translateX(-50%);
  writing-mode: vertical-rl;
  font-family: var(--quiet); font-weight: 400;
  font-size: clamp(14px, 1.38vw, 23px);
  letter-spacing: .32em; line-height: 1;
  color: rgba(248, 244, 255, .97);
  text-shadow:
    0 0 14px rgba(150, 118, 240, .95),
    0 0 44px rgba(92, 62, 184, .78),
    0 2px 12px rgba(0, 0, 0, .95);
}

/* 汇聚之前，把世界压暗，给图像让位 */
.hero__veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(72% 62% at 50% 46%, rgba(6, 6, 12, .8) 0%, rgba(4, 5, 9, .9) 64%, rgba(3, 4, 8, .97) 100%);
  opacity: 0;
}

/* 玻璃 */
.shatter { position: absolute; inset: 0; z-index: 3; }
/* 整屏压一层暗角：边缘比中心更沉，把画面的光收进中间 */
.shatter::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(118% 88% at 50% 46%, transparent 34%, rgba(3, 4, 8, .4) 72%, rgba(2, 3, 6, .7) 100%),
    linear-gradient(180deg, rgba(4, 5, 10, .4) 0%, transparent 22%, transparent 72%, rgba(4, 5, 10, .5) 100%);
}
.shard {
  position: absolute; inset: 0; overflow: hidden;
  will-change: transform, opacity;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
}
.shard img {
  position: absolute; left: -6%; top: -6%;
  width: 112%; height: 112%; max-width: none;
  object-fit: cover; object-position: center 44%;
  filter: grayscale(.34) brightness(.49) contrast(1.12) saturate(1);
}

/* ---------- 汇聚：九张作品从四角飞入 ---------- */
.hero__gallery { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.gimg {
  position: absolute; margin: 0;
  left: var(--gx); top: var(--gy); width: var(--gw);
  aspect-ratio: var(--gar, 4 / 3);
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.gimg img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.78) saturate(.96) contrast(1.04);
}
.gimg::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .6), inset 0 0 46px rgba(0, 0, 0, .16);
}
.gimg:nth-child(1) { --gx: 7%;  --gy: 17%; --gw: 14%; --gar: 4 / 5; }
.gimg:nth-child(2) { --gx: 24%; --gy: 9%;  --gw: 18%; --gar: 16 / 10; }
.gimg:nth-child(3) { --gx: 46%; --gy: 21%; --gw: 15%; --gar: 3 / 4; }
.gimg:nth-child(4) { --gx: 64%; --gy: 10%; --gw: 17%; --gar: 16 / 9; }
.gimg:nth-child(5) { --gx: 83%; --gy: 24%; --gw: 11%; --gar: 3 / 4; }
.gimg:nth-child(6) { --gx: 15%; --gy: 62%; --gw: 14%; --gar: 16 / 9; }
.gimg:nth-child(7) { --gx: 33%; --gy: 57%; --gw: 19%; --gar: 4 / 3; }
.gimg:nth-child(8) { --gx: 56%; --gy: 60%; --gw: 15%; --gar: 3 / 4; }
.gimg:nth-child(9) { --gx: 75%; --gy: 52%; --gw: 12%; --gar: 1 / 1; }

/* 交接 */
.hero__handoff {
  position: absolute; left: 0; right: 0; top: 52%; z-index: 8;
  transform: translateY(-50%);
  text-align: center; opacity: 0; pointer-events: none;
}
.ho__k {
  display: block; font-family: var(--mono);
  font-size: 9.5px; letter-spacing: .38em; text-transform: uppercase;
  color: var(--violet);
}
.ho__t {
  margin: clamp(14px, 2vh, 22px) 0 0;
  font-family: var(--quiet); font-weight: 400;
  font-size: clamp(26px, 3.5vw, 58px); letter-spacing: .04em;
  color: var(--ink);
  text-shadow: 0 4px 40px rgba(0, 0, 0, .8);
}
/* 文字背后的暗场，别让座 throne 的花纹把字吃掉 */
.hero__handoff::before {
  content: ''; position: absolute; left: 50%; top: 50%; z-index: -1;
  width: 130%; height: 420%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(4, 5, 9, .82) 0%, rgba(4, 5, 9, .5) 52%, transparent 78%);
  pointer-events: none;
}

/* 主标题 */
.hero__title {
  position: absolute; left: 0; right: 0; top: 50%; z-index: 7;
  text-align: center; pointer-events: none;
  transform: translateY(-50%);
  will-change: opacity, transform;
}
.hero__kicker {
  display: block; margin-bottom: clamp(10px, 1.8vh, 20px);
  font-family: var(--mono); font-size: clamp(9px, .82vw, 11px);
  letter-spacing: .3em; text-transform: uppercase;
  color: rgba(232, 227, 250, .9);
  text-shadow: 0 1px 20px rgba(0, 0, 0, .95), 0 0 46px rgba(0, 0, 0, .8);
  animation: heroIn 1s cubic-bezier(.16, 1, .3, 1) .15s backwards;
}
.hero__name {
  display: grid; margin: 0;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(80px, 13.4vw, 204px);
  line-height: 1; letter-spacing: -.02em;
  text-shadow: 0 10px 54px rgba(0, 0, 0, .42);
  animation: heroIn 1.15s cubic-bezier(.16, 1, .3, 1) .05s backwards;
}
.hero__name.is-hidden { opacity: 0; }
/* 每块碎片里都画一份姓名，靠 clip-path 只露出自己那块 */
.shard__name {
  position: absolute; left: 0; right: 0;
  display: block; text-align: center; white-space: nowrap;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(80px, 13.4vw, 204px);
  line-height: 1; letter-spacing: -.02em;
  text-shadow: 0 10px 54px rgba(0, 0, 0, .42);
  opacity: var(--nop, 1);
  text-shadow: 0 4px 70px rgba(0, 0, 0, .62), 0 1px 0 rgba(0, 0, 0, .45);
  pointer-events: none;
}
.hero__role {
  display: block; margin-top: clamp(27px, 3.6vh, 44px);
  font-family: var(--mono); font-size: clamp(10px, 1vw, 13px);
  letter-spacing: .34em; color: #f4ddb9;
  text-shadow: 0 2px 15px rgba(0, 0, 0, .98), 0 0 30px rgba(0, 0, 0, .9), 0 0 60px rgba(0, 0, 0, .7);
  animation: heroIn 1s cubic-bezier(.16, 1, .3, 1) .35s backwards;
}
.hero__en {
  display: block; margin-top: 11px;
  font-family: var(--mono); font-size: clamp(8.5px, .72vw, 10px);
  letter-spacing: .26em; text-transform: uppercase; color: rgba(216, 212, 228, .8);
  text-shadow: 0 1px 16px rgba(0, 0, 0, .95), 0 0 36px rgba(0, 0, 0, .75);
  animation: heroIn 1s cubic-bezier(.16, 1, .3, 1) .45s backwards;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* 底部信息 */
.hero__foot {
  position: absolute; left: clamp(18px, 3.2vw, 52px); right: clamp(18px, 3.2vw, 52px);
  bottom: clamp(20px, 3.6vh, 42px); z-index: 7;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim);
  animation: heroIn 1s cubic-bezier(.16, 1, .3, 1) .6s backwards;
}
.hero__cue { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.hero__cue i { display: block; width: 1px; height: 38px; background: linear-gradient(to bottom, rgba(200, 235, 250, .6), transparent); animation: drop 2.4s ease-in-out infinite; }

/* 裂开后：四角排版 */
.hero__ui { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.hero__ui::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; z-index: -1;
  background: linear-gradient(to top, rgba(4, 5, 10, .84) 0%, rgba(4, 5, 10, .38) 46%, transparent 100%);
}
.hui { position: absolute; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.hui--tl { left: clamp(18px, 3.2vw, 52px); top: clamp(88px, 12vh, 128px); }
.hui--tr { right: clamp(18px, 3.2vw, 52px); top: clamp(88px, 12vh, 128px); }
.hui--bl { left: clamp(18px, 3.2vw, 52px); bottom: clamp(44px, 7vh, 78px); width: min(34ch, 27vw); }
.hui--br { right: clamp(18px, 3.2vw, 52px); bottom: clamp(44px, 7vh, 78px); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }

.hui__k { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--violet); }
.hui__name {
  display: block;
  font-family: var(--sans); font-weight: 900;
  font-size: clamp(44px, 5.6vw, 86px); line-height: 1; letter-spacing: -.045em;
  margin: 12px 0 10px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .7);
}
.hui__role { display: block; font-family: var(--mono); font-size: clamp(10px, .88vw, 12px); letter-spacing: .2em; color: var(--amber); }
.hui__en { display: block; margin-top: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: .16em; color: var(--dim); }
.hui__lead { margin: 0; font-size: clamp(13px, 1vw, 15px); line-height: 1.85; color: var(--ink-2); text-wrap: pretty; }
.hui__lead b { color: var(--ink); font-weight: 600; }
.hui__lead::before {
  content: ''; display: block; width: 34px; height: 1px; margin-bottom: 14px;
  background: linear-gradient(to right, rgba(167, 139, 250, .85), transparent);
}
.hui__scroll { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); text-shadow: 0 1px 10px rgba(0, 0, 0, .9); }
.hui--br .chips { justify-content: flex-end; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 11px; border: 1px solid var(--line-2); color: var(--ink-2); background: rgba(6, 8, 12, .46); backdrop-filter: blur(6px); }
.scrollcue { display: flex; align-items: center; gap: 10px; color: var(--dim); font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; }
.scrollcue i { display: block; width: 1px; height: 42px; background: linear-gradient(to bottom, var(--ink-2), transparent); animation: drop 2.2s ease-in-out infinite; }
@keyframes drop { 0%, 100% { transform: translateY(-8px); opacity: .3; } 50% { transform: translateY(6px); opacity: 1; } }

/* HUD —— 致敬主角头顶的 UI 面板 */
.hud {
  width: 196px; padding: 14px 16px;
  border: 1px solid rgba(167, 139, 250, .32);
  background: linear-gradient(160deg, rgba(109, 74, 255, .18), rgba(8, 9, 12, .5));
  backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: #dcd4ff;
  box-shadow: 0 0 40px rgba(109, 74, 255, .22), inset 0 0 24px rgba(167, 139, 250, .1);
  clip-path: polygon(0 8px, 8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.hud__row { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px dashed rgba(167, 139, 250, .16); }
.hud__row:last-child { border-bottom: 0; }
.hud__row b { font-weight: 400; color: var(--pink); }
.hud__title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 9.5px; color: var(--violet); letter-spacing: .2em; }
.hud__bar { height: 3px; background: rgba(255, 255, 255, .12); margin-top: 10px; overflow: hidden; }
.hud__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--violet), var(--pink)); }

@media (max-width: 1024px) {
  .hui--tl { max-width: 44vw; }
}
@media (max-width: 860px) { .hui--tr { display: none; } }
@media (max-width: 900px) {
  .hero { height: 340vh; }
  .hero__name, .shard__name { font-size: clamp(72px, 15.5vw, 130px); }
  .hui__name { font-size: clamp(40px, 6.6vw, 62px); }
  .hui--bl { width: 46vw; }
  .hui--br { align-items: flex-start; text-align: left; }
  .hero__foot { font-size: 8.5px; letter-spacing: .16em; }
}
@media (max-width: 760px) {
  .hero { height: 320vh; }
  .hero__name, .shard__name { font-size: clamp(70px, 21vw, 110px); letter-spacing: -.06em; }
  .hero__role { font-size: 9.5px; letter-spacing: .2em; }
  .hero__en { display: none; }
  .hero__kicker { font-size: 8px; letter-spacing: .18em; }
  .hui--tl { left: 20px; right: 20px; top: 84px; max-width: none; }
  .hui--bl { left: 20px; right: 20px; bottom: 96px; width: auto; }
  .hui__lead { font-size: 13px; line-height: 1.8; }
  .hui--br { left: 20px; right: 20px; bottom: 20px; }
  .hui--br .chips { justify-content: flex-start; }
  .chip { font-size: 9px; padding: 5px 8px; }
  .hero__foot-l { display: none; }
  .hero__foot { justify-content: flex-end; }
  /* .hero__ui 自带底部暗角，这里不必再叠一层，否则会把裂缝里的字压暗 */
  .hin__c { font-size: 12.5px; letter-spacing: .2em; }
  .gimg:nth-child(n + 7) { display: none; }
  .gimg:nth-child(1) { --gx: 4%;  --gy: 22%; --gw: 30%; --gar: 3 / 4; }
  .gimg:nth-child(2) { --gx: 38%; --gy: 10%; --gw: 33%; --gar: 4 / 3; }
  .gimg:nth-child(3) { --gx: 68%; --gy: 27%; --gw: 28%; --gar: 3 / 4; }
  .gimg:nth-child(4) { --gx: 6%;  --gy: 52%; --gw: 31%; --gar: 4 / 3; }
  .gimg:nth-child(5) { --gx: 40%; --gy: 58%; --gw: 33%; --gar: 3 / 4; }
  .gimg:nth-child(6) { --gx: 74%; --gy: 68%; --gw: 24%; --gar: 1 / 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero { height: 100svh; }
  .hero__cue { display: none; }
  .hero__kicker, .hero__name, .hero__role, .hero__en, .hero__foot { animation: none; }
  .hero__gallery { display: none; }
}

/* ---------- work index ---------- */
.index { padding-block: clamp(50px, 8vh, 96px); }
.index__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.index { overflow: clip; }
.idx-row__n, .idx-row__t, .idx-row__d, .idx-row__tag { will-change: transform; }
.idx-row {
  display: grid; grid-template-columns: 56px 1.35fr 1fr auto; gap: clamp(12px, 3vw, 40px); align-items: center;
  padding: clamp(20px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--line);
  position: relative; transition: padding-left .45s cubic-bezier(.16, 1, .3, 1);
}
.idx-row:hover { padding-left: 14px; }
.idx-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, rgba(167, 139, 250, .16), transparent); transition: width .5s; }
.idx-row:hover::before { width: 100%; }
.idx-row__n { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .1em; }
.idx-row__t { font-family: var(--sans); font-weight: 900; font-size: clamp(26px, 4vw, 52px); letter-spacing: -.04em; line-height: 1.05; }
.idx-row__d { color: var(--dim); font-size: 13.5px; line-height: 1.65; }
.idx-row__tag { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); padding: 6px 10px; white-space: nowrap; }
.idx-row__thumb { position: absolute; left: 60%; top: 50%; width: 238px; aspect-ratio: 16/10; margin: -74px 0 0 -119px; opacity: 0; pointer-events: none; z-index: 3; object-fit: cover; transform: scale(.9) rotate(-2deg); transition: opacity .35s, transform .5s cubic-bezier(.16, 1, .3, 1); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 30px 70px rgba(0, 0, 0, .7); }
.idx-row:hover .idx-row__thumb { opacity: 1; transform: scale(1) rotate(-2deg); }
@media (max-width: 860px) {
  .idx-row { grid-template-columns: 34px 1fr; gap: 10px; }
  .idx-row__d { grid-column: 2; }
  .idx-row__tag { grid-column: 2; justify-self: start; }
  .idx-row__thumb { display: none; }
}

/* ---------- manifest ---------- */
.manifest { border-top: 1px solid var(--line); }
.manifest__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.manifest__quote { font-family: var(--quiet); font-weight: 400; font-size: clamp(23px, 3.1vw, 40px); line-height: 1.5; letter-spacing: .02em; margin: 0; text-wrap: balance; }
.manifest__quote em { font-style: normal; color: var(--amber); }
.cracks { display: grid; gap: 0; }
.crack-item { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.crack-item:first-child { border-top: 0; }
.crack-item__k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--dim); padding-top: 4px; }
.crack-item__v { font-size: 15px; color: var(--ink-2); }
.crack-item__v strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .manifest__grid { grid-template-columns: 1fr; } }

/* ---------- case shell ---------- */
.case { padding-top: clamp(70px, 12vh, 150px); }
.case__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: clamp(18px, 3vw, 30px); border-bottom: 1px solid var(--line); }
.case__title { font-family: var(--display); font-weight: 900; font-size: var(--t-h1); line-height: 1.06; letter-spacing: -.02em; margin: 0; }
.case__sub { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-top: 14px; }
.meta-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); border-bottom: 1px solid var(--line); }
.meta-strip div { padding: 18px 16px 18px 0; border-right: 1px solid var(--line); }
.meta-strip div:last-child { border-right: 0; }
.meta-strip dt { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--dim); text-transform: uppercase; margin-bottom: 6px; }
.meta-strip dd { margin: 0; font-size: 14px; color: var(--ink); }

.block-label { display: flex; align-items: baseline; gap: 14px; margin-bottom: clamp(18px, 3vw, 30px); }
.block-label h3 { font-family: var(--quiet); font-weight: 400; font-size: calc(var(--t-h3) * 1.04); letter-spacing: .02em; margin: 0; }
.block-label span { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--dim); }

/* figures */
figure.shot { margin: 0; position: relative; overflow: hidden; background: #11131a; border: 1px solid var(--line); }
figure.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.16, 1, .3, 1), filter .6s; }
figure.shot:hover img { transform: scale(1.045); }
figure.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: #e9e6ef; background: linear-gradient(to top, rgba(4, 5, 8, .88), transparent); display: flex; justify-content: space-between; gap: 12px; }
figure.shot figcaption em { font-style: normal; opacity: .55; }
figcaption .cap-zh { font-family: var(--body); font-size: 13px; letter-spacing: .02em; }
.zoomable { cursor: zoom-in; }

/* ---------- game ---------- */
.case-game { background: linear-gradient(to bottom, var(--bg) 0%, #0a0814 22%, #090a12 70%, var(--bg) 100%); }
.cover { margin-top: clamp(24px, 4vw, 44px); position: relative; }
.cover__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 1px solid rgba(167, 139, 250, .22); }
.cover__ov { position: absolute; inset: auto auto 0 0; padding: clamp(16px, 2.6vw, 34px); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badge { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px; background: rgba(8, 9, 12, .68); border: 1px solid rgba(167, 139, 250, .4); color: #e4dcff; backdrop-filter: blur(6px); }
.lead-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 70px); margin-top: clamp(28px, 5vw, 54px); align-items: start; }
@media (max-width: 900px) { .lead-row { grid-template-columns: 1fr; } }

.world { display: grid; gap: 0; border-top: 1px solid var(--line); }
.world__item { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.world__item dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--violet); padding-top: 3px; }
.world__item dd { margin: 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 600px) { .world__item { grid-template-columns: 1fr; gap: 4px; } }

.terminal { border: 1px solid rgba(167, 139, 250, .26); background: rgba(12, 10, 22, .72); padding: 18px 20px; font-family: var(--mono); font-size: 12px; line-height: 2; color: #c9c2e8; position: relative; }
.terminal::before { content: 'SYSTEM.TXT'; position: absolute; top: -9px; left: 14px; background: #0a0814; padding: 0 8px; font-size: 9px; letter-spacing: .2em; color: var(--violet); }
.terminal b { color: var(--pink); font-weight: 400; }
.terminal .cur { display: inline-block; width: 7px; height: 13px; background: var(--violet); vertical-align: -2px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* character cards */
.chars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 18px); }
@media (max-width: 1024px) { .chars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .chars { grid-template-columns: repeat(2, 1fr); } }
.char { position: relative; background: #f4f2ed; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); }
.char img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; transition: transform .9s cubic-bezier(.16, 1, .3, 1), filter .5s; filter: saturate(.92); }
.char:hover img { transform: scale(1.05) translateY(-1%); filter: saturate(1.05); }
.char__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 12px 11px; background: linear-gradient(to top, rgba(6, 6, 10, .9) 18%, rgba(6, 6, 10, .35) 62%, transparent); color: #f6f4ef; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.char__name { font-weight: 600; font-size: 14.5px; letter-spacing: .02em; line-height: 1.3; }
.char__role { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin-top: 3px; }
.char__n { font-family: var(--mono); font-size: 9px; color: rgba(255, 255, 255, .45); }

/* scene grid */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.2vw, 14px); }
.scenes figure.shot:first-child { grid-column: span 2; grid-row: span 2; }
.scenes figure.shot { aspect-ratio: 16/9; }
.scenes figure.shot:first-child { aspect-ratio: auto; }
@media (max-width: 860px) {
  .scenes { grid-template-columns: repeat(2, 1fr); }
  .scenes figure.shot:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/9; }
}
@media (max-width: 520px) { .scenes { grid-template-columns: 1fr; } .scenes figure.shot:first-child { grid-column: span 1; } }

.props { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 14px); }
@media (max-width: 640px) { .props { grid-template-columns: repeat(2, 1fr); } }
.prop { background: #f4f2ed; position: relative; border: 1px solid var(--line); }
.prop img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.prop:hover img { transform: scale(1.06); }
.prop span { position: absolute; left: 10px; bottom: 8px; font-size: 12px; color: #14151a; font-weight: 600; background: rgba(255, 255, 255, .82); padding: 2px 8px; }

/* tree + diagram */
.tree-grid { display: grid; grid-template-columns: .95fr 1.25fr; gap: clamp(16px, 3vw, 34px); align-items: start; }
@media (max-width: 900px) { .tree-grid { grid-template-columns: 1fr; } }
.tree { border: 1px solid var(--line); background: #f3f1ec; overflow: hidden; position: relative; max-height: 660px; }
.tree img { width: 100%; object-fit: cover; object-position: top; cursor: zoom-in; transition: transform 6s linear; }
.tree:hover img { transform: translateY(-52%); }
.tree__hint { position: absolute; right: 10px; top: 10px; background: rgba(8, 9, 12, .8); color: #fff; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; padding: 5px 9px; }
.diagram { width: 100%; height: auto; overflow: visible; }

/* video */
.videobox { position: relative; border: 1px solid var(--line); background: #000; overflow: hidden; }
.videobox video { width: 100%; display: block; }
.play {
  position: absolute; inset: 0; display: grid; place-items: center; gap: 12px;
  background: linear-gradient(to top, rgba(4, 5, 8, .78), rgba(4, 5, 8, .25));
  transition: opacity .45s; text-align: center;
}
.play__btn { width: 74px; height: 74px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; display: grid; place-items: center; transition: transform .4s, background .4s, border-color .4s; backdrop-filter: blur(4px); }
.play:hover .play__btn { transform: scale(1.08); background: rgba(255, 255, 255, .12); border-color: #fff; }
.play__btn svg { width: 18px; height: 18px; margin-left: 3px; }
.play__txt { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: rgba(255, 255, 255, .85); }
.videobox.playing .play { opacity: 0; pointer-events: none; }

.linkbtn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border: 1px solid rgba(167, 139, 250, .55); color: #e9e2ff; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; transition: background .35s, border-color .35s, transform .35s; background: rgba(109, 74, 255, .1); }
.linkbtn:hover { background: rgba(109, 74, 255, .28); border-color: var(--violet); transform: translateY(-2px); }
.linkbtn svg { width: 12px; height: 12px; }

.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: clamp(20px, 3vw, 32px); border: 1px solid rgba(167, 139, 250, .24); background: linear-gradient(120deg, rgba(109, 74, 255, .14), rgba(8, 9, 12, .2)); margin-top: clamp(28px, 4vw, 46px); }
.cta-band p { margin: 0; max-width: 46ch; color: var(--ink-2); font-size: 14px; }
.cta-band strong { display: block; color: var(--ink); font-weight: 600; font-size: clamp(17px, 2vw, 21px); margin-bottom: 6px; letter-spacing: -.01em; }

/* ---------- drama ---------- */
.case-drama { background: linear-gradient(to bottom, var(--bg), #070b10 30%, #06090d 75%, var(--bg)); }
.case-drama .case__title { text-shadow: 0 0 60px rgba(139, 216, 232, .25); }
.drama-top { display: grid; grid-template-columns: 320px 1fr; gap: clamp(20px, 4vw, 54px); align-items: start; margin-top: clamp(26px, 4vw, 46px); }
@media (max-width: 900px) { .drama-top { grid-template-columns: 1fr; } }
.poster { position: relative; border: 1px solid var(--line); overflow: hidden; }
.poster img { width: 100%; }
.drama-video { position: relative; }
.stills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.stills figure.shot { aspect-ratio: 4/3; }
@media (max-width: 560px) { .stills { grid-template-columns: 1fr 1fr; } }

.scenes-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.4vw, 30px); }
@media (max-width: 780px) { .scenes-3 { grid-template-columns: 1fr; } }
.scene-card { border-top: 1px solid var(--line-2); padding-top: 16px; }
.scene-card h4 { font-family: var(--sans); font-weight: 900; font-size: clamp(17px, 1.8vw, 21px); margin: 0 0 4px; letter-spacing: -.02em; }
.scene-card .mono { color: var(--dim); font-size: 9.5px; }
.scene-card p { font-size: 13.5px; color: var(--dim); margin: 10px 0 14px; }
.bar { height: 3px; background: rgba(255, 255, 255, .1); position: relative; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--cyan); box-shadow: 0 0 12px rgba(139, 216, 232, .6); }
.bar-lbl { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9.5px; color: var(--dim); margin-top: 7px; letter-spacing: .1em; }

.script { border: 1px solid var(--line); background: rgba(255, 255, 255, .018); padding: clamp(18px, 3vw, 40px); }
.script__row { display: grid; grid-template-columns: 62px 1fr; gap: clamp(12px, 2.4vw, 28px); padding: 16px 0; border-bottom: 1px dashed var(--line); }
.script__row:last-child { border-bottom: 0; }
.script__no { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--cyan); padding-top: 4px; }
.script__act { font-size: 14px; color: var(--dim); line-height: 1.8; }
.script__line { font-family: var(--quiet); font-size: clamp(16px, 1.7vw, 20px); color: var(--ink); margin-top: 8px; line-height: 1.7; }
.script__line b { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--cyan); display: block; font-weight: 400; margin-bottom: 3px; }

.craft-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.craft-table th, .craft-table td { text-align: left; padding: 15px 14px 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.craft-table th { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); font-weight: 400; width: 110px; }
.craft-table td { color: var(--ink-2); }

/* ---------- install (light) ---------- */
.case-install {
  --bg: #efebe4; --ink: #14151a; --ink-2: #3f4149; --dim: #75767d; --line: rgba(0, 0, 0, .12); --line-2: rgba(0, 0, 0, .22);
  background: #efebe4; color: var(--ink);
  padding-block: clamp(70px, 11vh, 150px);
  margin-block: clamp(60px, 9vh, 110px) 0;
}
.case-install::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255, 255, 255, .9), transparent 70%); }
.case-install .label { color: #6a6b74; }
.case-install .case__title { letter-spacing: -.015em; }
.case-install .case__sub { color: #6a6b74; }
.inst-lead { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; margin-top: clamp(26px, 4vw, 50px); }
@media (max-width: 900px) { .inst-lead { grid-template-columns: 1fr; } }
.inst-lead__q { font-family: var(--quiet); font-weight: 400; font-size: clamp(20px, 2.6vw, 34px); line-height: 1.62; margin: 0; letter-spacing: .01em; }
.inst-lead__q mark { background: none; color: #8a6a3a; border-bottom: 1px solid rgba(138, 106, 58, .4); padding-bottom: 2px; }
.inst-lead__body p { margin: 0 0 14px; color: var(--ink-2); }
.inst-lead__body p:last-child { margin-bottom: 0; }

.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--line); margin-block: clamp(30px, 5vw, 60px); }
.nums div { padding: 22px 18px 22px 0; border-right: 1px solid var(--line); }
.nums div:last-child { border-right: 0; }
.nums b { display: block; font-family: var(--mono); font-size: clamp(20px, 2.6vw, 34px); font-weight: 400; letter-spacing: -.02em; }
.nums span { font-size: 12px; color: var(--dim); }
@media (max-width: 720px) { .nums { grid-template-columns: 1fr 1fr; } .nums div:nth-child(2) { border-right: 0; } .nums div:nth-child(1), .nums div:nth-child(2) { border-bottom: 1px solid var(--line); } }

.gal-wide { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.6vw, 20px); }
.gal-wide figure.shot:first-child { grid-column: span 2; }
@media (max-width: 700px) { .gal-wide { grid-template-columns: 1fr; } .gal-wide figure.shot:first-child { grid-column: span 1; } }
.gal-wide figure.shot { aspect-ratio: 3/2; border-color: rgba(0, 0, 0, .12); background: #e6e2da; }
.gal-wide figure.shot:first-child { aspect-ratio: 21/9; }
.gal-detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 16px); margin-top: clamp(10px, 1.6vw, 20px); }
@media (max-width: 820px) { .gal-detail { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gal-detail { grid-template-columns: 1fr; } }
.gal-detail figure.shot { aspect-ratio: 1; border-color: rgba(0, 0, 0, .12); background: #e6e2da; }
.case-install figure.shot figcaption { background: linear-gradient(to top, rgba(255, 255, 255, .96) 10%, rgba(255, 255, 255, .6) 60%, transparent); color: #2a2b31; }
.case-install figcaption em { opacity: .6; }

.proposals { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 34px); }
@media (max-width: 780px) { .proposals { grid-template-columns: 1fr; } }
.proposal { border-top: 1px solid var(--line-2); padding-top: 18px; }
.proposal h4 { font-family: var(--quiet); font-weight: 400; font-size: clamp(18px, 2vw, 23px); margin: 6px 0 10px; }
.proposal p { font-size: 13.5px; color: var(--ink-2); margin: 0 0 10px; }
.proposal .mono { color: var(--dim); font-size: 9.5px; }
.pullquote { font-family: var(--quiet); font-weight: 400; font-size: clamp(19px, 2.4vw, 30px); line-height: 1.7; border-left: 2px solid #8a6a3a; padding-left: clamp(16px, 2.4vw, 28px); margin: clamp(30px, 5vw, 56px) 0 0; color: #24252b; }

/* ---------- about ---------- */
.about { border-top: 1px solid var(--line); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); margin-bottom: clamp(30px, 5vw, 54px); }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
.flow__step { border-top: 1px solid var(--line-2); padding-top: 14px; }
.flow__step .mono { color: var(--violet); font-size: 10px; }
.flow__step h4 { font-family: var(--sans); font-weight: 900; font-size: 16px; margin: 8px 0 8px; letter-spacing: -.01em; }
.flow__step p { font-size: 13px; color: var(--dim); margin: 0; line-height: 1.7; }

.proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 18px); }
@media (max-width: 760px) { .proc { grid-template-columns: 1fr 1fr; } }
.proc figure { margin: 0; border: 1px solid var(--line); overflow: hidden; background: #101218; }
.proc img { width: 100%; aspect-ratio: 16/10; object-fit: cover; filter: saturate(.8) brightness(.9); transition: filter .5s, transform .8s; }
.proc figure:hover img { filter: saturate(1) brightness(1); transform: scale(1.03); }

.skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.skill { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.skill h4 { margin: 0 0 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--violet); text-transform: uppercase; }
.skill ul { margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); line-height: 2; }

.edu { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: clamp(26px, 4vw, 44px); }
.edu div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.edu dt { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--dim); text-transform: uppercase; margin-bottom: 6px; }
.edu dd { margin: 0; font-size: 14.5px; }

/* ---------- contact ---------- */
.contact { padding-block: clamp(80px, 14vh, 170px); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; left: 50%; bottom: -40%; width: 120vw; height: 90vh; translate: -50% 0; background: radial-gradient(ellipse at center, rgba(109, 74, 255, .22), transparent 62%); pointer-events: none; }
.contact__big { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 7vw, 92px); line-height: 1.4; letter-spacing: -.02em; margin: 0 0 clamp(30px, 5vw, 60px); }
.contact__big span { color: transparent; -webkit-text-stroke: 1px rgba(242, 239, 232, .5); display: inline-block; will-change: transform; }
.contact__big { will-change: transform; }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.contact__cell { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.contact__cell dt { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--dim); text-transform: uppercase; margin-bottom: 8px; }
.contact__cell dd { margin: 0; font-size: 15px; }
.slot { color: var(--dim); border-bottom: 1px dashed rgba(255, 255, 255, .28); padding-bottom: 2px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px 0 40px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(4, 5, 8, .96); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; pointer-events: none; transition: opacity .35s; backdrop-filter: blur(6px); }
.lb.open { opacity: 1; pointer-events: auto; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px clamp(16px, 3vw, 32px); font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: #9a9ca8; }
.lb__stage { display: grid; place-items: center; padding: 0 clamp(12px, 3vw, 40px); overflow: hidden; }
.lb__stage img { max-width: 100%; max-height: 78vh; object-fit: contain; border: 1px solid rgba(255, 255, 255, .12); }
.lb__cap { padding: 16px clamp(16px, 3vw, 32px) 26px; font-size: 13px; color: var(--ink-2); text-align: center; }
.lb__btn { border: 1px solid var(--line-2); padding: 8px 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; transition: background .3s, border-color .3s; }
.lb__btn:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .07s; } .rv.d2 { transition-delay: .14s; } .rv.d3 { transition-delay: .21s; } .rv.d4 { transition-delay: .28s; }
/* 只淡入，transform 留给滚动视差用 */
.rv-f { opacity: 0; transition: opacity .9s cubic-bezier(.16, 1, .3, 1); }
.rv-f.in { opacity: 1; }
.rv-f.d1 { transition-delay: .07s; } .rv-f.d2 { transition-delay: .14s; } .rv-f.d3 { transition-delay: .21s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- 结构拓扑 ---------- */
.topo { border-top: 1px solid var(--line); position: relative; }
.topo::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, rgba(167,139,250,.05), rgba(167,139,250,.35) 12%, rgba(167,139,250,.35) 88%, rgba(167,139,250,.05)); }
.topo__row { display: grid; grid-template-columns: 150px 1fr; gap: clamp(14px, 3vw, 34px); padding: 22px 0; border-bottom: 1px solid var(--line); }
.topo__ch { position: relative; padding-left: 36px; }
.topo__ch::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 12px; height: 12px;
  border: 1px solid var(--violet); transform: rotate(45deg); background: #0b0a14; box-shadow: 0 0 14px rgba(139,92,246,.55);
}

.topo__ch span { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--violet); }
.topo__ch b { display: block; font-family: var(--sans); font-weight: 900; font-size: 26px; letter-spacing: -.02em; line-height: 1.2; margin: 2px 0 2px; }
.topo__ch i { font-style: normal; font-size: 11px; color: var(--dim); }
.topo__nodes { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.node {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; line-height: 1.5;
  padding: 8px 11px; border: 1px solid var(--line-2); color: var(--ink-2);
  background: rgba(255, 255, 255, .022); white-space: nowrap;
}
.node.hot { border-color: rgba(255, 157, 187, .45); color: #ffd6e2; background: rgba(255, 157, 187, .07); }
.node.hot::before { content: '◆'; font-size: 7px; margin-right: 6px; color: var(--pink); vertical-align: 1px; }
.node.dim { color: var(--dim); border-style: dashed; background: none; }
.node.fork { border-color: rgba(167, 139, 250, .55); color: #e2d8ff; }
.node.end { border-color: rgba(231, 201, 162, .4); color: #f1e2ca; background: rgba(231, 201, 162, .06); }
.branch, .ends { display: grid; gap: 8px; padding-left: 14px; }
.branch { border-left: 1px solid var(--line-2); }
.ends { border-left: 1px solid rgba(231, 201, 162, .35); }
@media (max-width: 700px) {
  .topo__row { grid-template-columns: 1fr; gap: 12px; }
  .topo__ch { padding-left: 30px; }
  .topo__row:not(:last-child) .topo__ch::after { bottom: -60px; }
  .node { white-space: normal; }
}

/* 视频比例 */
.videobox video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.videobox--43 video { aspect-ratio: 4 / 3; }
.videobox--32 video { aspect-ratio: 3 / 2; }

/* 移动端：章节导语改为左对齐 */
@media (max-width: 760px) {
  .case__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .case__head > .tiny { text-align: left !important; max-width: 34ch !important; }
  .case-install .case__head > .tiny { text-align: left !important; }
  .hero__foot { gap: 22px; }
}

/* ---------- 其余作品 / archive ---------- */
.archive { padding-block: clamp(64px, 9vh, 120px); border-top: 1px solid var(--line); }
.archive__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.archive__title { font-family: var(--display); font-weight: 900; font-size: clamp(23px, 3.2vw, 38px); letter-spacing: -.01em; line-height: 1.3; margin: 10px 0 0; }
.archive__lead { max-width: 44ch; }
.archive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 28px) clamp(12px, 1.8vw, 22px); margin-top: clamp(24px, 4vw, 42px); }
.arc { display: flex; flex-direction: column; }
.arc__fig { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); background: #101117; }
.arc__fig img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.16) brightness(.95); opacity: .95; transition: filter .55s ease, opacity .55s ease, transform 1s cubic-bezier(.16, 1, .3, 1); }
.arc:hover .arc__fig img { filter: none; opacity: 1; transform: scale(1.035); }
.arc--phone .arc__fig img { object-fit: cover; object-position: center top; }
.arc--code .arc__fig { background: #0c0a14; border-color: rgba(167, 139, 250, .22); display: flex; align-items: center; }
.arc__code { margin: 0; padding: 16px 16px 12px; font-family: var(--mono); font-size: 10px; line-height: 1.95; color: #a99ee0; white-space: pre; overflow: hidden; }
.arc__code em { color: #ff9dbb; font-style: normal; }
.arc__n { position: absolute; top: 0; left: 0; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: #cfd0d8; background: rgba(6, 7, 10, .72); padding: 4px 7px; }
.arc__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 12px; }
.arc__t { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.arc__type { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); text-align: right; }
.arc__note { font-size: 12.5px; line-height: 1.7; color: var(--dim); margin: 6px 0 0; }
.arc__note b { color: var(--ink-2); font-weight: 400; }
.arc__note span { color: rgba(167, 139, 250, .8); margin: 0 5px; }
.archive__foot { margin-top: clamp(24px, 4vw, 40px); padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; }
@media (max-width: 900px) { .archive__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .archive__grid { grid-template-columns: 1fr; } }

.arc__fig img.zoomable { cursor: zoom-in; }

/* ---------- 关于我 / profile ---------- */
.profile { position: relative; }
.profile::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 46% 40% at 22% 30%, rgba(109, 74, 255, .13), transparent 70%);
}
.profile__grid { display: grid; grid-template-columns: minmax(0, 316px) minmax(0, 1fr); gap: clamp(30px, 5vw, 76px); align-items: start; }

/* 档案照 */
.portrait { margin: 0; position: sticky; top: 96px; }
.portrait__frame { position: relative; border: 1px solid var(--line-2); background: #0d0c14; overflow: hidden; }
.portrait__frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.86) contrast(1.03); }
.portrait__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 9, 12, 0) 62%, rgba(8, 9, 12, .3) 86%, rgba(8, 9, 12, .72) 100%);
}
.portrait__frame .corner { position: absolute; width: 16px; height: 16px; border: 1px solid rgba(167, 139, 250, .75); pointer-events: none; }
.portrait__frame .corner--tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.portrait__frame .corner--tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.portrait__frame .corner--bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.portrait__frame .corner--br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.portrait__stamp {
  position: absolute; left: 0; bottom: 0; padding: 6px 10px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .22em; color: #efe8ff;
  background: rgba(8, 9, 12, .78); border-top: 1px solid rgba(167, 139, 250, .35); border-right: 1px solid rgba(167, 139, 250, .35);
}

.portrait__meta { margin-top: 14px; border-top: 1px solid var(--line); }
.portrait__meta div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.portrait__meta dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.portrait__meta dd { margin: 0; font-size: 12.5px; color: var(--ink-2); text-align: right; }

/* 正文 */
.profile__main { padding-top: 4px; }
.profile__title {
  font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.6vw, 62px);
  line-height: 1.3; letter-spacing: -.005em; margin: 16px 0 clamp(22px, 3.4vw, 34px);
}
.profile__title em { font-style: normal; color: #ddd0ff; text-shadow: 0 0 34px rgba(139, 92, 246, .45); }
.profile__body p { text-wrap: pretty; max-width: 38em; font-size: clamp(15px, 1.12vw, 16.5px); color: var(--ink-2); }
.profile__body p.lead { text-wrap: balance; max-width: 26em; font-size: clamp(18px, 1.85vw, 23px); line-height: 1.62; color: var(--ink); }
.profile__body p + p { margin-top: 18px; }
.profile__body .lead { margin-bottom: 18px; }
.profile__body b { color: var(--ink); font-weight: 600; }
.profile__body u { text-decoration: none; color: var(--amber); border-bottom: 1px solid rgba(231, 201, 162, .4); padding-bottom: 1px; }

.profile__cols { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: clamp(24px, 3.4vw, 52px); align-items: start; }
.profile__facts { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line-2); }
.profile__facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.profile__facts dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 7px; }
.profile__facts dd { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.profile__facts a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(167, 139, 250, .45); }
.profile__facts a:hover { color: var(--violet); }

@media (max-width: 1080px) {
  .profile__cols { grid-template-columns: 1fr; gap: 28px; }
  .profile__facts { grid-template-columns: 1fr 1fr; }
  .profile__facts div { padding-right: 22px; }
}
@media (max-width: 900px) {
  .profile__grid { grid-template-columns: 1fr; gap: clamp(20px, 5vw, 30px); }
  .portrait {
    position: static; max-width: none;
    display: grid; grid-template-columns: 196px minmax(0, 1fr);
    gap: 16px; align-items: start;
  }
  .portrait__meta { margin-top: 0; }
  .portrait__meta div { flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 0; }
  .portrait__meta dd { text-align: left; }
  .profile__body p.lead { max-width: none; font-size: clamp(16.5px, 4.4vw, 20px); }
  .profile__body p.lead br { display: none; }
  .profile__body p { max-width: none; }
}
@media (max-width: 430px) {
  .portrait { grid-template-columns: 156px minmax(0, 1fr); gap: 13px; }
  .portrait__meta dt { font-size: 9px; letter-spacing: .12em; }
  .portrait__meta dd { font-size: 11.5px; }
}
@media (max-width: 620px) {
  .profile__facts { grid-template-columns: 1fr; }
  .profile__facts div { padding-right: 0; }
}
.contact__cell dd a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(167, 139, 250, .4); padding-bottom: 1px; transition: color .25s, border-color .25s; }
.contact__cell dd a:hover { color: var(--violet); border-color: var(--violet); }

/* ================= 英文层 & 细节交互 ================= */

/* 导航时钟 */
.nav__clock {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding-left: clamp(10px, 1.3vw, 20px); border-left: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim);
}
.nav__clock b { font-weight: 400; font-size: 11px; color: var(--ink-2); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.nav__clock i { font-style: normal; opacity: .6; }
.nav.on-light .nav__clock { border-left-color: rgba(0, 0, 0, .16); color: rgba(20, 21, 26, .5); }
.nav.on-light .nav__clock b { color: #14151a; }

/* 右侧章节尺 */
.rail { display: none; }
@media (min-width: 1260px) {
  .rail {
    position: fixed; right: clamp(14px, 1.5vw, 26px); top: 50%; transform: translateY(-50%);
    z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 1px;
  }
}
.rail__item { display: flex; align-items: center; gap: 11px; padding: 8px 0; }
.rail__label {
  font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: #d9d2ff;
  opacity: 0; transform: translateX(10px); transition: opacity .3s ease, transform .3s ease;
  white-space: nowrap; padding: 4px 9px;
  background: rgba(8, 9, 12, .86); border: 1px solid rgba(167, 139, 250, .3);
  backdrop-filter: blur(8px);
}
.rail__item:hover .rail__label { opacity: 1; transform: none; }
.rail__dot { width: 18px; height: 1px; background: rgba(255, 255, 255, .26); transition: width .4s cubic-bezier(.16, 1, .3, 1), background .4s, box-shadow .4s; }
.rail__item:hover .rail__dot { width: 26px; background: rgba(255, 255, 255, .6); }
.rail__item.active .rail__dot { width: 38px; background: var(--violet); box-shadow: 0 0 12px rgba(167, 139, 250, .9); }
.rail.on-light .rail__label { color: #2c2d34; background: rgba(246, 244, 239, .94); border-color: rgba(0, 0, 0, .14); }
.rail.on-light .rail__dot { background: rgba(20, 21, 26, .26); }
.rail.on-light .rail__item.active .rail__dot { background: #6d4aff; box-shadow: 0 0 12px rgba(109, 74, 255, .6); }

/* 首屏：英文大字水印 + 光斑 */
.hero__word {
  position: absolute; right: -2.5vw; bottom: 0; z-index: -1;
  font-family: var(--latin); font-style: italic; font-weight: 400; font-size: clamp(110px, 17.5vw, 268px);
  line-height: .8; letter-spacing: .005em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .09);
  user-select: none; pointer-events: none;
}
.hero__spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 62%) var(--my, 42%), rgba(139, 92, 246, .17), transparent 72%);
  mix-blend-mode: screen;
}
.hero__role-en {
  margin-top: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: .19em;
  text-transform: uppercase; color: var(--dim); line-height: 1.7;
}
@media (max-width: 880px) { .hero__word { display: none; } .hero__role-en { font-size: 9px; letter-spacing: .13em; } }

/* 跑马灯 */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding-block: 13px; background: rgba(255, 255, 255, .014); }
.ticker__track { display: flex; width: max-content; animation: tickmove 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.ticker span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255, 255, 255, .42); white-space: nowrap;
}
.ticker b { color: rgba(167, 139, 250, .55); font-size: 7px; }
@keyframes tickmove { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* 联系区英文落款 */
.contact__en {
  font-family: var(--quiet); font-weight: 400; font-size: clamp(15px, 1.7vw, 22px);
  letter-spacing: .03em; color: rgba(255, 255, 255, .56);
  margin: clamp(14px, 2vw, 22px) 0 clamp(34px, 5vw, 58px);
}
.contact__en em { font-style: normal; color: var(--amber); }

@media (max-width: 860px) { .nav__clock { display: none; } }

/* ================= 滚动驱动序列（装置「走进去」） ================= */
.seq { position: relative; margin-block: clamp(26px, 4.5vw, 56px); }
/* 无 JS 时退化为纵向排列，保证可读 */
.seq__stage { position: relative; }
.seq__f { position: relative; margin: 0 0 14px; }
.seq__f img { width: 100%; display: block; }
.seq:not(.is-ready) .seq__hud,
.seq:not(.is-ready) .seq__bar { display: none; }

.seq.is-ready { height: 320vh; }
.seq.is-ready .seq__stage {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(10px, 1.6vh, 18px);
  overflow: hidden;
}
.seq.is-ready .seq__bar {
  width: min(1100px, 88vw); margin-inline: auto;
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: #8a8b93;
  padding-bottom: 2px; border-bottom: 1px solid rgba(20, 21, 26, .12);
}
.seq__kicker { color: #4b32b8; }
.seq__box { width: min(1100px, 88vw); margin-inline: auto; }
.seq__view {
  position: relative; height: min(62vh, 620px); overflow: hidden;
  background: #ded9d1; cursor: zoom-in;
  box-shadow: 0 30px 80px rgba(20, 21, 26, .14);
}
.seq.is-ready .seq__f { position: absolute; inset: 0; margin: 0; will-change: opacity, transform; pointer-events: none; }
.seq.is-ready .seq__f img { width: 100%; height: 100%; object-fit: cover; }
.seq__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(12, 12, 16, .28), transparent 42%); }
.seq__hud {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(12px, 2vw, 26px); padding-top: 12px;
}
.seq__cap { display: flex; align-items: baseline; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: #4a4b53; text-transform: uppercase; }
.seq__cap b { font-weight: 400; font-size: 12px; color: #14151a; font-variant-numeric: tabular-nums; }
.seq__cap span { letter-spacing: .1em; color: #14151a; font-family: var(--body); font-size: 12.5px; text-transform: none; }
.seq__track { height: 1px; background: rgba(20, 21, 26, .16); position: relative; overflow: hidden; }
.seq__track i { position: absolute; inset: 0 auto 0 0; width: 0; background: #6d4aff; display: block; }
.seq__tip { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: #9a9ba3; }
@media (max-width: 860px) {
  .seq.is-ready { height: 250vh; }
  .seq__view { height: min(52vh, 420px); }
  .seq__cap span { font-size: 12px; }
  .seq__tip { display: none; }
  .seq__hud { grid-template-columns: auto 1fr; }
}

/* 论点逐字点亮 */
.manifest__quote .w { opacity: .26; transition: opacity .4s ease; }
.manifest__quote .w.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .manifest__quote .w { opacity: 1 !important; transition: none; } }

/* ================= 角色横向推进（互动影游） ================= */
.roster { position: relative; margin-top: clamp(26px, 4.5vw, 54px); }
.roster__stage { display: flex; flex-direction: column; justify-content: center; gap: clamp(16px, 2.6vh, 30px); padding-block: 10px; }
.roster__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.roster__kicker { font-family: var(--mono); font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--violet); }
.roster__lead h3 { font-family: var(--sans); font-weight: 900; font-size: clamp(26px, 3.4vw, 46px); letter-spacing: -.03em; margin: 6px 0 8px; }
.roster__lead p { max-width: 46ch; }
.roster__meter { width: clamp(160px, 20vw, 260px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.roster__idx { font-family: var(--mono); font-size: 11px; color: var(--ink); font-variant-numeric: tabular-nums; }
.roster__bar { height: 1px; background: rgba(255, 255, 255, .16); position: relative; overflow: hidden; }
.roster__bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--violet); }
.roster__cue { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }

.roster__track {
  display: flex; gap: clamp(12px, 1.5vw, 22px);
  padding-inline: var(--gutter);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.roster__track::-webkit-scrollbar { display: none; }
.roster.is-ready { height: 280vh; }
.roster.is-ready .roster__stage { position: sticky; top: 0; height: 100vh; overflow: clip; }
.roster.is-ready .roster__track { overflow: visible; will-change: transform; }

.rcard { flex: none; width: clamp(224px, 22.5vw, 316px); margin: 0; position: relative; }
.rcard__img { aspect-ratio: 3 / 4; overflow: hidden; background: #ede9e1; border: 1px solid rgba(255, 255, 255, .1); }
.rcard__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: saturate(.94) contrast(1.02); transition: filter .5s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
.rcard:hover .rcard__img img { filter: none; transform: scale(1.03); }
.rcard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 10px; }
.rcard__name { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.rcard__role { font-size: 11.5px; color: var(--dim); margin-top: 2px; }
.rcard__n { font-family: var(--mono); font-size: 9px; color: var(--dim); letter-spacing: .1em; }
.roster__stage::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: clamp(60px, 8vw, 150px);
  background: linear-gradient(270deg, var(--bg), transparent); pointer-events: none; opacity: 0;
}
.roster.is-ready .roster__stage::after { opacity: 1; }
@media (max-width: 860px) {
  .roster.is-ready { height: 240vh; }
  .rcard { width: 62vw; }
  .roster__meter { width: 100%; }
}

/* 4:3 分镜序列（漫剧） */
.seq__box--43 { width: min(1000px, 86vw, 84vh); }
.seq__view--43 { width: 100%; aspect-ratio: 4 / 3; height: auto; max-height: none; background: #0b0b10; }
.seq--film.is-ready { height: 240vh; }
.seq--film.is-ready .seq__stage { height: 100vh; }
.seq--film .seq__cap b { font-size: 13px; letter-spacing: .06em; }
@media (max-width: 860px) { .seq__box--43 { width: 92vw; } }

/* 深色底上的序列（漫剧） */
.seq--dark .seq__bar { color: var(--dim); border-bottom-color: var(--line); }
.seq--dark .seq__kicker { color: var(--violet); }
.seq--dark .seq__cap { color: var(--dim); }
.seq--dark .seq__cap b { color: var(--ink); }
.seq--dark .seq__cap span { color: var(--ink-2); }
.seq--dark .seq__track { background: rgba(255, 255, 255, .14); }
.seq--dark .seq__track i { background: var(--violet); }
.seq--dark .seq__tip { color: var(--dim); }
.seq--dark .seq__view { background: #0b0b10; box-shadow: 0 30px 90px rgba(0, 0, 0, .55); }

@media (max-width: 560px) {
  .hero__bgs { left: -12%; right: -12%; }
  .hero__title { font-size: clamp(52px, 15.5vw, 74px); }
}

/* ================= 漫剧：整屏标题 → 缝隙展开 ================= */
.case-drama { padding-top: 0; }
.drama-open { position: relative; height: 260vh; }
.drama-open__pin {
  position: sticky; top: 0; height: 100svh;
  overflow: clip; display: grid; place-items: center;
}
.drama-open__bg { position: absolute; inset: 0; }
.drama-open__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 45%;
  filter: grayscale(.55) brightness(.3) contrast(1.12) saturate(.85);
  transform: scale(1.04);
}
.drama-open__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(58% 62% at 50% 48%, rgba(6, 9, 13, .18), rgba(6, 9, 13, .9) 76%),
    linear-gradient(to bottom, var(--bg) 0%, rgba(6, 9, 13, .1) 16%, rgba(6, 9, 13, .1) 84%, var(--bg) 100%);
}

/* 缝里的光 */
.drama-open__slit {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 1px; height: 0; opacity: 0;
  transform: translate(-50%, -50%);
  background: linear-gradient(to bottom, transparent 4%, rgba(190, 214, 232, .5) 24%, #fff 50%, rgba(190, 214, 232, .5) 76%, transparent 96%);
  box-shadow: 0 0 22px rgba(180, 210, 235, .9), 0 0 70px rgba(120, 170, 210, .55);
  pointer-events: none;
}

/* 标题 */
.drama-open__title { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; }
.drama-open__label { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(84px, 15.5vh, 180px); display: flex; justify-content: flex-start; align-items: flex-end; }
.drama-open__h {
  margin: 0; display: flex; flex-direction: column;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(56px, min(29.6vw, 41vh), 1400px); line-height: 1; letter-spacing: -.005em;
  text-align: left;
  transform: translateY(-.056em);
}
.drama-open__l1, .drama-open__l2 { display: block; will-change: transform, opacity; }
.drama-open__l2 { margin-left: 1.05em; color: #eef6fb; text-shadow: 0 0 46px rgba(139, 216, 232, .35), 0 0 120px rgba(80, 140, 180, .25); }
.drama-open__en {
  position: absolute; left: 0; right: 0; bottom: clamp(18px, 3vh, 30px); z-index: 4;
  display: flex; justify-content: center; align-items: baseline; gap: 18px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .4em; text-transform: uppercase;
  color: rgba(220, 235, 245, .58); opacity: 0;
}
.drama-open__en span { font-size: 9px; letter-spacing: .2em; color: rgba(220, 235, 245, .3); }

/* 画面 */
.drama-open__stage {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -50%);
}
.drama-open__screen {
  position: relative; width: min(92vw, 100svh); aspect-ratio: 4 / 3;
  overflow: hidden; background: #05070a;
  clip-path: inset(0 50% 0 50%);
}
.drama-open__screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.drama-open__edge {
  position: absolute; inset: 0; pointer-events: none;
  border: 1px solid rgba(206, 228, 242, .26);
  box-shadow: inset 0 0 90px rgba(4, 8, 12, .7);
}
.drama-open__spec {
  position: absolute; left: calc(-1 * clamp(26px, 3vw, 46px)); top: 0; bottom: 0;
  display: flex; align-items: center;
  writing-mode: vertical-rl;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase;
  color: rgba(205, 228, 242, .46); white-space: nowrap;
  opacity: 0;
}
.drama-open__spec span + span::before { content: '/'; margin: 0 .9em; opacity: .5; }

.drama-open__hint {
  position: absolute; left: var(--gutter); bottom: clamp(20px, 3.4vh, 34px);
  z-index: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--dim);
}
.drama-open__hint i { display: block; width: 1px; height: 38px; background: linear-gradient(to bottom, rgba(200, 235, 250, .7), transparent); animation: drop 2.2s ease-in-out infinite; }

/* 播放按钮在展开前不接收点击 */
.drama-open__screen .play { opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.drama-open__screen.is-open .play { opacity: 1; pointer-events: auto; }
.drama-open__screen.playing .play { opacity: 0; pointer-events: none; }

@media (max-width: 900px) {
  .drama-open { height: 220vh; }
  .drama-open__h { font-size: clamp(56px, min(30vw, 34vh), 1400px); }
  .drama-open__l2 { margin-left: .72em; }
  .drama-open__screen { width: 88vw; }
  .drama-open__spec {
    position: static; writing-mode: horizontal-tb; display: flex; flex-direction: row;
    justify-content: center; align-items: center; gap: 0; margin-top: 16px;
    font-size: 8.5px; letter-spacing: .22em;
  }
  .drama-open__spec span + span::before { content: '/'; margin: 0 .7em; }
  .drama-open__en { gap: 10px; font-size: 9.5px; letter-spacing: .3em; }
  .drama-open__en span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .drama-open { height: 100svh; }
  .drama-open__hint { display: none; }
}

/* ---------- 引子 ---------- */
.drama-lede {
  display: grid; grid-template-columns: minmax(0, 1fr) 244px;
  column-gap: clamp(28px, 4.6vw, 76px);
  padding-top: clamp(56px, 9vh, 110px);
}
.drama-lede__q { grid-column: 1; grid-row: 1; }
.drama-lede__body { grid-column: 1; grid-row: 2; }
.drama-lede__spec { grid-column: 1 / -1; grid-row: 3; }
.drama-lede__q {
  font-family: var(--quiet); font-weight: 400;
  font-size: clamp(26px, 4.2vw, 56px); line-height: 1.42; letter-spacing: .01em;
  margin: 0 0 clamp(24px, 4vw, 44px); max-width: 20em;
}
.drama-lede__q mark { background: none; color: #cfe7f2; border-bottom: 1px solid rgba(139, 216, 232, .45); padding-bottom: .04em; }
.drama-lede__body { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 3.2vw, 46px); }
.drama-lede__body p { margin: 0 0 1.1em; color: var(--ink-2); font-size: clamp(14px, 1.05vw, 15.5px); line-height: 1.95; }
.drama-lede__body p:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; font-size: clamp(15.5px, 1.25vw, 17.5px); line-height: 1.85; color: var(--ink); padding-right: 6px; }
.drama-lede__body p:nth-child(2) { grid-column: 2; grid-row: 1; }
.drama-lede__body p:nth-child(3) { grid-column: 2; grid-row: 2; }
.drama-lede__spec {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin: clamp(30px, 5vw, 54px) 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.drama-lede__spec > div { padding: 18px 16px 18px 0; border-right: 1px solid var(--line); }
.drama-lede__spec > div:last-child { border-right: 0; }
.drama-lede__spec dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.drama-lede__spec dd { margin: 0; font-size: 14px; color: var(--ink); }

/* ---------- 时长结构 ---------- */
.drama-tl { margin-top: clamp(56px, 9vw, 110px); }
.tl__bar { display: flex; height: 46px; border: 1px solid var(--line-2); }
.tl__seg {
  width: calc(var(--w) * 1%);
  position: relative; display: flex; align-items: center; gap: 10px; padding: 0 12px;
  border-right: 1px solid var(--line-2);
  background: linear-gradient(to right, color-mix(in srgb, var(--tone) 14%, transparent), transparent 92%);
  overflow: hidden;
}
.tl__seg:last-child { border-right: 0; }
.tl__seg b { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--tone); letter-spacing: .08em; }
.tl__seg span { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: var(--dim); white-space: nowrap; }
.tl__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.6vw, 34px); margin-top: 58px; }
.tl__card { border-top: 1px solid color-mix(in srgb, var(--tone, #8bd8e8) 55%, transparent); padding-top: 16px; transform: translateY(var(--drop)); }
.tl__k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.tl__card h4 { font-family: var(--sans); font-weight: 900; font-size: clamp(17px, 1.9vw, 22px); letter-spacing: -.02em; margin: 8px 0 0; }
.tl__card p { font-size: 13.5px; line-height: 1.85; color: var(--dim); margin: 10px 0 16px; }
.tl__light { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: var(--cyan); border-top: 1px dashed var(--line); padding-top: 10px; }

/* ---------- 关键帧 ---------- */
.drama-frames { margin-top: clamp(80px, 12vw, 150px); }
.frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.4vw, 16px); }
.frame { position: relative; margin: 0; overflow: hidden; background: #05070a; border: 1px solid var(--line); }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 1.1s cubic-bezier(.16, 1, .3, 1), filter .6s; filter: saturate(.94) contrast(1.03); }
.frame:hover img { transform: scale(1.04); }
.frame__tc {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: #eaf4fa;
  padding: 4px 7px; background: rgba(4, 7, 10, .66); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px); font-variant-numeric: tabular-nums;
}
.frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 11px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: rgba(240, 246, 250, .82);
  background: linear-gradient(to top, rgba(4, 7, 10, .92), transparent);
}

/* ---------- 剧本 + 海报 ---------- */
.drama-split { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: clamp(80px, 12vw, 150px); }
.poster { position: sticky; top: 96px; margin: 0; border: 1px solid var(--line); background: #0b0d11; padding: 7px; }
.poster img { width: 100%; display: block; }
.poster figcaption { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; color: var(--dim); padding: 9px 2px 2px; }

.screenplay { border-top: 1px solid var(--line-2); }
.screenplay__row { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: clamp(10px, 2vw, 26px); padding: clamp(18px, 2.6vw, 30px) 0; border-bottom: 1px solid var(--line); }
.screenplay__no {
  font-family: var(--sans); font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(139, 216, 232, .5); padding-top: 2px;
}
.screenplay__act { font-size: 13.5px; line-height: 1.9; color: var(--dim); margin: 0; max-width: 62ch; text-wrap: pretty; }
.screenplay__line {
  font-family: var(--quiet); font-size: clamp(15.5px, 1.55vw, 19px); line-height: 1.78; color: var(--ink);
  margin: 12px 0 0; padding-left: 16px; border-left: 1px solid rgba(139, 216, 232, .3); max-width: 58ch; text-wrap: pretty;
}
.screenplay__line b {
  display: block; font-family: var(--mono); font-weight: 400; font-size: 9.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 4px;
}

/* ---------- 制作 ---------- */
.drama-craft { margin-top: clamp(56px, 9vw, 110px); }

@media (max-width: 980px) {
  .drama-lede__body { columns: 1; max-width: none; }
  .drama-lede__spec { grid-template-columns: repeat(2, 1fr); }
  .drama-lede__spec > div { border-right: 0; }
  .drama-split { grid-template-columns: 1fr; }
  .poster { position: static; max-width: 300px; }
}
@media (max-width: 760px) {
  .tl__bar { height: 40px; }
  .tl__seg span { display: none; }
  .tl__cards { grid-template-columns: 1fr; gap: 22px; margin-top: 24px; }
  .tl__card { transform: none; }
  .frames { grid-template-columns: 1fr; }
  .frame img { aspect-ratio: 16 / 10; }
  .screenplay__row { grid-template-columns: 42px minmax(0, 1fr); }
  .screenplay__no { font-size: 24px; }
}


/* 物证卡 */
.evi {
  grid-column: 2; grid-row: 1 / 3; align-self: start; margin-top: 8px;
  border: 1px solid rgba(139, 216, 232, .22);
  background: linear-gradient(160deg, rgba(139, 216, 232, .055), rgba(8, 12, 16, .45));
  padding: 13px 14px 11px; transform: rotate(-1.1deg);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}
.evi__top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 9px; border-bottom: 1px solid rgba(139, 216, 232, .22); }
.evi__top span { font-family: var(--mono); font-size: 8.5px; letter-spacing: .28em; color: var(--cyan); }
.evi__top b { font-family: var(--sans); font-weight: 900; font-size: 20px; color: rgba(200, 235, 245, .35); letter-spacing: -.02em; }
.evi dl { margin: 4px 0 0; }
.evi dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); }
.evi dt { font-family: var(--mono); font-size: 8.5px; letter-spacing: .18em; color: var(--dim); }
.evi dd { margin: 0; font-size: 11.5px; color: var(--ink-2); text-align: right; }
.evi dd small { font-family: var(--mono); font-size: 8.5px; opacity: .55; margin-left: 2px; }
.evi__stamp { margin-top: 9px; text-align: right; font-family: var(--mono); font-size: 8px; letter-spacing: .26em; color: rgba(139, 216, 232, .38); }
@media (max-width: 1080px) {
  .drama-lede { grid-template-columns: 1fr; }
  .drama-lede__q, .drama-lede__body, .drama-lede__spec { grid-column: 1; }
  .drama-lede__spec { grid-row: 4; }
  .evi { grid-column: 1; grid-row: 3; justify-self: start; width: 244px; margin: 6px 0 8px; }
  .drama-lede__body { grid-template-columns: 1fr; }
  .drama-lede__body p:nth-child(1), .drama-lede__body p:nth-child(2), .drama-lede__body p:nth-child(3) { grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
  .evi { width: 100%; max-width: 280px; }
}

/* 关键帧时间轴 */
.frames__rule { position: relative; height: 26px; margin-top: 10px; border-top: 1px solid var(--line); }
.frames__end { position: absolute; top: 7px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .16em; color: var(--dim); }
.frames__mark { position: absolute; top: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.frames__mark i { display: block; width: 1px; height: 7px; background: rgba(139, 216, 232, .7); }
.frames__mark b { font-family: var(--mono); font-size: 8.5px; font-weight: 400; color: rgba(139, 216, 232, .8); letter-spacing: .1em; }
@media (max-width: 760px) { .frames__rule { display: none; } }

/* ---------- 01 开场：载入世界 → 图片继续承载内容 ---------- */
.boot { position: relative; height: 400vh; }
.boot__pin { position: sticky; top: 0; height: 100svh; overflow: clip; background: #05060a; }
.boot__media { position: absolute; inset: 0; will-change: transform; }
.boot__raw, .boot__lit {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 46%;
}
.boot__raw { filter: grayscale(1) brightness(.46) blur(18px); transform: scale(1.16); }
.boot__lit { clip-path: inset(0 0 100% 0); will-change: clip-path; }
.boot__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 150, 255, .35) 14%, rgba(255, 255, 255, .95) 50%, rgba(180, 150, 255, .35) 86%, transparent);
  box-shadow: 0 0 22px 5px rgba(167, 139, 250, .4);
  opacity: 0;
}
.boot__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(4, 5, 9, .97) 0%, rgba(4, 5, 9, .8) 26%, rgba(4, 5, 9, .3) 54%, transparent 76%),
    linear-gradient(100deg, rgba(4, 5, 9, .92) 0%, rgba(4, 5, 9, .5) 34%, rgba(4, 5, 9, .04) 64%, transparent 80%);
  transition: opacity .3s linear;
}

/* 大标题：只在第一幕 */
.boot__head { position: absolute; left: var(--gutter); bottom: clamp(52px, 10vh, 112px); z-index: 3; max-width: min(78ch, 72vw); }
.boot__title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(46px, 7.4vw, 112px); line-height: 1.04; letter-spacing: -.015em;
  margin: 12px 0 0; white-space: nowrap; text-shadow: 0 8px 70px rgba(0, 0, 0, .8);
}
.boot__sub { margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }

/* 小跑马头：第二幕起留在左上 */
.boot__runhead {
  position: absolute; left: var(--gutter); top: clamp(86px, 12vh, 132px); z-index: 3;
  display: flex; align-items: baseline; gap: 12px; opacity: 0;
}
.boot__runhead-n { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--violet); }
.boot__runhead-t { font-family: var(--sans); font-weight: 900; font-size: clamp(18px, 1.9vw, 26px); letter-spacing: -.02em; }
.boot__runhead-d { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; color: var(--dim); text-transform: uppercase; }

.boot__hud {
  position: absolute; right: var(--gutter); top: clamp(90px, 14vh, 146px); z-index: 3;
  width: clamp(176px, 19vw, 246px);
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: #cfc6ee;
}
.boot__hud-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.boot__hud-row b { font-weight: 400; color: #fff; font-size: 17px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.boot__hud-row b i { font-style: normal; }
.boot__bar { height: 2px; background: rgba(255, 255, 255, .14); margin: 10px 0 12px; }
.boot__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet-deep), var(--pink)); box-shadow: 0 0 12px rgba(167, 139, 250, .85); }
.boot__log { color: var(--violet); font-size: 9.5px; display: flex; align-items: center; gap: 6px; min-height: 14px; }
.boot__badges { position: absolute; right: var(--gutter); bottom: clamp(52px, 10vh, 112px); z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

/* 右侧场景刻度 */
.boot__ticks { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; gap: 14px; }
.boot__ticks i { display: block; width: 22px; height: 1px; background: rgba(255, 255, 255, .22); transition: background .4s, width .4s; }
.boot__ticks i.on { width: 40px; background: var(--violet); }

/* 三个内容面板：同一位置轮换 */
.bpanel {
  position: absolute; left: var(--gutter); bottom: clamp(56px, 11vh, 122px); z-index: 4;
  width: min(52ch, 48vw);
  opacity: 0; visibility: hidden;
  transform: translate3d(0, 24px, 0);
  will-change: opacity, transform;
}
.bpanel__lead { margin: 0; font-size: clamp(14px, 1.12vw, 17px); line-height: 1.85; color: #ece8df; text-wrap: pretty; text-shadow: 0 1px 18px rgba(0, 0, 0, .95), 0 1px 3px rgba(0, 0, 0, .8); }
.bpanel__term {
  margin-top: 18px; padding: 14px 16px;
  border-left: 1px solid rgba(167, 139, 250, .5);
  background: rgba(9, 8, 16, .55); backdrop-filter: blur(6px);
  font-family: var(--mono); font-size: 11px; line-height: 1.95; color: #bdb4dd;
}
.bpanel__term b { color: var(--pink); font-weight: 400; }
.bpanel__note { margin: 16px 0 0; font-size: 12.5px; color: #9a99a6; text-shadow: 0 1px 14px rgba(0, 0, 0, .9); }

.bstats { display: grid; gap: clamp(14px, 2.2vh, 24px); margin-top: 6px; }
.bstat { display: grid; grid-template-columns: 108px 1fr 92px; align-items: center; gap: 16px; }
.bstat__k { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--ink-2); display: flex; align-items: baseline; gap: 7px; }
.bstat__k em { font-style: normal; color: var(--dim); font-size: 8.5px; }
.bstat__bar { position: relative; height: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.bstat__bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--violet-deep), var(--violet)); }
.bstat:nth-child(2) .bstat__bar i { background: linear-gradient(90deg, var(--violet), var(--pink)); box-shadow: 0 0 14px rgba(255, 157, 187, .6); }
.bstat:nth-child(3) .bstat__bar i { background: repeating-linear-gradient(90deg, var(--amber) 0 5px, rgba(231, 201, 162, .3) 5px 9px); }
.bstat__v { font-family: var(--sans); font-weight: 900; font-size: clamp(22px, 2.4vw, 34px); line-height: 1; letter-spacing: -.03em; text-align: right; font-variant-numeric: tabular-nums; }
.bstat__v--atk { color: #565963; }
.bstat__v--heal { color: var(--pink); }
.bstat__v--luck { color: var(--amber); }

.bspec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); margin: 4px 0 0; }
.bspec > div { background: rgba(8, 8, 14, .8); padding: 12px 14px; }
.bspec dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--dim); margin-bottom: 5px; }
.bspec dd { margin: 0; font-size: 13.5px; color: var(--ink); }
.bcta {
  display: flex; align-items: center; gap: 12px; margin-top: 18px;
  padding: 14px 18px; border: 1px solid rgba(167, 139, 250, .5);
  background: linear-gradient(120deg, rgba(109, 74, 255, .22), rgba(8, 9, 12, .5));
  color: var(--ink); text-decoration: none; width: fit-content;
  transition: background .3s, border-color .3s, transform .3s;
}
.bcta:hover { background: linear-gradient(120deg, rgba(109, 74, 255, .38), rgba(8, 9, 12, .6)); border-color: rgba(200, 180, 255, .8); transform: translateX(4px); }
.bcta__k { font-family: var(--mono); font-size: 9px; letter-spacing: .22em; color: var(--violet); }
.bcta__t { font-size: 14px; font-weight: 600; }
.bcta svg { width: 15px; height: 15px; margin-left: 4px; }

@media (max-width: 900px) {
  .boot { height: 380vh; }
  .boot__head { max-width: none; right: var(--gutter); bottom: clamp(88px, 14vh, 128px); }
  .boot__title { font-size: clamp(44px, 12.4vw, 82px); }
  .boot__badges { display: none; }
  .boot__hud { top: 82px; }
  .boot__ticks { display: none; }
  .bpanel { width: auto; right: var(--gutter); bottom: clamp(84px, 13vh, 120px); }
  .bpanel__lead { font-size: 14px; line-height: 1.8; }
  .bstat { grid-template-columns: 84px 1fr 76px; gap: 10px; }
  .bstat__v { font-size: 24px; }
  .bspec { grid-template-columns: repeat(2, 1fr); }
  .boot__runhead { top: 84px; }
  .boot__runhead-d { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .boot { height: 100svh; }
  .boot__lit { clip-path: none; }
  .boot__scan { display: none; }
}

/* ---------- 场景：代码被治愈 ---------- */
.scenes .shot img { will-change: filter, transform; }

/* ---------- 剧情树：节点逐一点亮 ---------- */
.topo.is-ready .node { opacity: .26; }
.topo.is-ready .node.is-lit { opacity: 1; }
.topo .node { transition: opacity .35s ease; }

@media (max-width: 900px) {
  .boot { height: 165vh; }
  .boot__head { max-width: none; right: var(--gutter); bottom: clamp(88px, 14vh, 128px); }
  .boot__title { font-size: clamp(44px, 12.4vw, 82px); }
  .boot__badges { display: none; }
  .boot__hud { top: 82px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat__note { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .boot { height: 100svh; }
  .boot__lit { clip-path: none; }
  .boot__scan { display: none; }
  .topo.is-ready .node { opacity: 1; }
}

/* 三幕不能都从同一个地方长出来：左下 → 右下 → 正中 */
.bpanel[data-bpanel="1"] { left: auto; right: calc(var(--gutter) + 92px); width: min(46ch, 41vw); bottom: clamp(64px, 14vh, 150px); }
.bpanel[data-bpanel="2"] { left: 0; right: 0; margin-inline: auto; width: min(56ch, 60vw); bottom: clamp(56px, 12vh, 130px); }

/* 面板各自的落点不同，暗角也得跟着换边，否则字压在亮处读不出来 */
.bpanel::before {
  content: ''; position: absolute; inset: -34px -44px -30px -46px; z-index: -1; pointer-events: none;
  background: radial-gradient(118% 96% at 4% 78%, rgba(4, 5, 9, .93) 0%, rgba(4, 5, 9, .72) 40%, rgba(4, 5, 9, .18) 72%, transparent 88%);
}
.bpanel[data-bpanel="1"]::before {
  background: radial-gradient(108% 92% at 96% 62%, rgba(4, 5, 9, .9) 0%, rgba(4, 5, 9, .64) 42%, rgba(4, 5, 9, .14) 74%, transparent 90%);
}
.bpanel[data-bpanel="2"]::before {
  inset: -26px -34px -24px -34px;
  background: radial-gradient(78% 96% at 50% 50%, rgba(4, 5, 9, .84) 0%, rgba(4, 5, 9, .5) 46%, rgba(4, 5, 9, .06) 80%, transparent 94%);
}

/* ---------- 其余作品：竖滚横走 ---------- */
.arc-rail { position: relative; padding-inline: var(--gutter); }
.arc-rail__hud { display: none; }
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .arc-rail.is-ready { height: 320vh; padding-inline: 0; }
  .arc-rail.is-ready .arc-rail__pin {
    position: sticky; top: 0; height: 100svh;
    display: flex; align-items: center; overflow: clip;
  }
  .arc-rail.is-ready .archive__grid {
    display: flex; align-items: flex-start; flex-wrap: nowrap;
    gap: clamp(16px, 2vw, 26px);
    width: max-content; margin: 0;
    padding-inline: max(var(--gutter), calc((100vw - 1360px) / 2));
    will-change: transform;
  }
  .arc-rail.is-ready .arc { flex: 0 0 clamp(248px, 21.5vw, 326px); }
  /* 卡片高低错落一点，横向滑过时不像传送带 */
  .arc-rail.is-ready .arc:nth-child(3n + 2) { margin-top: 20px; }
  .arc-rail.is-ready .arc:nth-child(3n) { margin-top: -12px; }
  .arc-rail.is-ready .arc__fig { height: clamp(176px, 26vh, 268px); aspect-ratio: auto; }
  .arc-rail.is-ready .arc__fig img { height: 100%; }
  .arc-rail.is-ready .arc__code { font-size: 9.5px; }
  .arc-rail.is-ready .arc-rail__hud {
    display: flex; position: absolute; left: var(--gutter); right: var(--gutter);
    bottom: clamp(16px, 3vh, 30px); align-items: center; gap: 18px; z-index: 3;
    font-family: var(--mono); font-size: 9px; letter-spacing: .24em; text-transform: uppercase;
    color: var(--dim); pointer-events: none;
  }
  .arc-rail__bar { flex: 1; height: 2px; background: rgba(255, 255, 255, .12); position: relative; }
  .arc-rail__bar i { position: absolute; inset: 0 auto 0 0; width: 12%; background: linear-gradient(90deg, var(--violet-deep), var(--violet)); box-shadow: 0 0 12px rgba(167, 139, 250, .8); }
}
@media (max-width: 900px) {
  .bpanel[data-bpanel="1"], .bpanel[data-bpanel="2"] { width: auto; left: var(--gutter); right: var(--gutter); }
}

/* ================= 入口：从一条裂缝里进来 ================= */
html.is-gated, html.is-gated body { overflow: hidden; height: 100%; }

.gate {
  position: fixed; inset: 0; z-index: 900;
  display: none; place-items: center;
  background: transparent;
}
/* 只有 JS 认领了这层才显示：脚本挂了也不会把访客挡在门外 */
html.is-gated .gate { display: grid; }
/* 氛围底：开门时要先撤走，否则板滑开了看到的还是这块底 */
.gate::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(64% 48% at 50% 44%, rgba(120, 88, 218, .18), transparent 74%),
    radial-gradient(42% 32% at 50% 90%, rgba(62, 40, 124, .16), transparent 78%),
    #05060a;
  opacity: 1; transition: opacity .3s ease;
}
.gate.is-open::before { opacity: 0; }
.gate__half {
  position: absolute; top: 0; bottom: 0; width: 50.2%;
  background: #05060a; will-change: transform;
  transition: transform 1.05s cubic-bezier(.76, 0, .24, 1);
}
.gate__half--l { left: 0; }
/* 滑开时能看见"板"的边，否则从黑到黑等于没动静 */
.gate__half::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, .18) 22%, rgba(255, 255, 255, .3) 50%, rgba(255, 255, 255, .18) 78%, transparent 100%);
  opacity: 0; transition: opacity .35s ease .12s;
}
.gate__half--l::after { right: 0; }
.gate__half--r::after { left: 0; }
.gate.is-open .gate__half::after { opacity: .8; }
.gate__half--r { right: 0; }
.gate__seam {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; margin-left: -.5px;
  background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, .85) 16%, #fff 50%, rgba(255, 255, 255, .85) 84%, transparent 100%);
  box-shadow: 0 0 24px rgba(190, 160, 255, .9), 0 0 70px rgba(140, 110, 255, .55);
  opacity: 0; transform: scaleY(.16); transform-origin: 50% 50%;
  animation: gateSeam 1.5s cubic-bezier(.16, 1, .3, 1) .12s forwards;
  transition: opacity .5s ease;
}
@keyframes gateSeam { to { opacity: 1; transform: scaleY(1); } }

.gate__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 24px;
  transition: opacity .22s ease, transform .3s cubic-bezier(.16, 1, .3, 1);
}
.gate__k {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .42em; text-transform: uppercase;
  color: rgba(196, 188, 220, .6);
  opacity: 0; animation: gateIn .9s cubic-bezier(.16, 1, .3, 1) .25s forwards;
}
.gate__n {
  margin-top: 16px;
  font-family: var(--sans); font-weight: 900; font-size: clamp(56px, 8.6vw, 132px);
  line-height: .92; letter-spacing: -.05em;
  opacity: 0; animation: gateIn 1.1s cubic-bezier(.16, 1, .3, 1) .32s forwards;
}
.gate__en {
  margin-top: 22px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(170, 166, 190, .55);
  opacity: 0; animation: gateIn 1s cubic-bezier(.16, 1, .3, 1) .46s forwards;
}
@keyframes gateIn {
  from { opacity: 0; transform: translateY(18px); filter: blur(7px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.gate__bar {
  width: min(240px, 46vw); height: 1px; margin-top: clamp(34px, 6vh, 62px);
  background: rgba(255, 255, 255, .14); overflow: hidden;
}
.gate__bar i {
  display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--violet-deep), var(--violet), #fff);
  box-shadow: 0 0 12px rgba(167, 139, 250, .9);
}
.gate__meta {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  width: min(240px, 46vw); margin-top: 12px;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--dim);
}
.gate__meta span:first-child { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gate__btn {
  margin-top: clamp(26px, 4.4vh, 44px);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 13px 26px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 0;
  background: transparent; color: var(--ink);
  font-family: var(--mono); font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .5s ease, background .4s ease, border-color .4s ease, color .4s ease;
}
.gate__btn span, .gate__btn em { line-height: 1; }
.gate__btn em { font-style: normal; font-size: 8.5px; opacity: .5; letter-spacing: .2em; }
.gate__btn.is-on { opacity: 1; visibility: visible; pointer-events: auto; animation: gateBtn .8s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes gateBtn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.gate__btn:hover { background: var(--ink); color: #06070a; border-color: var(--ink); }

.gate.is-open .gate__half--l { transform: translateX(-100.5%); }
.gate.is-open .gate__half--r { transform: translateX(100.5%); }
.gate.is-open .gate__inner { opacity: 0; transform: translateY(-22px); }
.gate.is-open .gate__seam { animation: none; opacity: 0; transition: opacity .22s ease; }
.gate.is-done { display: none; }

/* ================= 自定义光标 ================= */
.cursor { position: fixed; left: 0; top: 0; z-index: 950; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .35s ease; }
.cursor.is-on { opacity: 1; }
.cursor__dot {
  position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%; background: #fff;
}
.cursor__ring {
  position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .95);
  transition: width .34s cubic-bezier(.16, 1, .3, 1), height .34s cubic-bezier(.16, 1, .3, 1),
              margin .34s cubic-bezier(.16, 1, .3, 1), background .34s ease, border-color .34s ease;
}
.cursor__txt {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  font-family: var(--mono); font-style: normal; font-size: 7.5px; letter-spacing: .26em;
  color: #fff; white-space: nowrap; opacity: 0; transition: opacity .25s ease;
}
.cursor.is-hover .cursor__ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(255, 255, 255, .1); }
.cursor.is-hover .cursor__txt { opacity: 1; }
.cursor.is-down .cursor__ring { width: 22px; height: 22px; margin: -11px 0 0 -11px; background: rgba(255, 255, 255, .3); }
html.has-cursor, html.has-cursor * { cursor: none !important; }

/* ================= 标题：裁切揭示 ================= */
.cut { clip-path: inset(0 0 108% 0); transition: clip-path 1.15s cubic-bezier(.16, 1, .3, 1); will-change: clip-path; }
.cut.cut-in { clip-path: inset(-10% 0 -10% 0); }

/* 拖动时别再触发文字选择，也别让浏览器把图当拖拽对象 */
.hero img, .gate img { -webkit-user-drag: none; user-select: none; }
.hero.is-dragging { cursor: grabbing; }
.hero.is-dragging * { user-select: none; }

@media (max-width: 900px) {
  .cursor { display: none; }
  .gate__n { font-size: clamp(46px, 14.4vw, 84px); }
  .gate__en { letter-spacing: .1em; font-size: 7.5px; line-height: 1.9; max-width: 340px; }
  /* 窄屏上光缝穿过按钮会切字，中段柔一点 */
  .gate__seam {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, rgba(0, 0, 0, .45) 50%, rgba(0, 0, 0, .45) 68%, #000 80%, #000 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 40%, rgba(0, 0, 0, .45) 50%, rgba(0, 0, 0, .45) 68%, #000 80%, #000 100%);
  }
  .gate__bar, .gate__meta { width: min(200px, 54vw); }
}
@media (prefers-reduced-motion: reduce) {
  .gate, .gate__seam, .gate__inner { animation: none !important; transition: none !important; }
  .gate__inner > * { animation: none !important; opacity: 1 !important; }
  .cut { clip-path: none; }
  .cursor { display: none; }
}

/* 揭开的瞬间，名字从模糊里浮出来 */
.hero.name-in .shard__name { animation: shardNameIn 1s cubic-bezier(.16, 1, .3, 1) .32s backwards; }
@keyframes shardNameIn {
  from { opacity: 0; filter: blur(9px); }
  to { opacity: 1; filter: blur(0); }
}

/* ================= 按钮/标题：文字上滑换位 ================= */
.swap__box {
  display: inline-block; position: relative; overflow: hidden;
  vertical-align: top; line-height: inherit;
}
.swap__a, .swap__b {
  display: block; white-space: nowrap;
  transition: transform .54s cubic-bezier(.16, 1, .3, 1);
}
.swap__b { position: absolute; left: 0; top: 100%; }

a:hover > .swap__box .swap__a, a:hover > .swap__box .swap__b,
button:hover > .swap__box .swap__a, button:hover > .swap__box .swap__b,
a:hover .swap__box .swap__a, a:hover .swap__box .swap__b,
button:hover .swap__box .swap__a, button:hover .swap__box .swap__b,
.arc:hover .swap__box .swap__a, .arc:hover .swap__box .swap__b {
  transform: translateY(-100%);
}

/* 卡片标题的字号本来就是流体尺寸，换位时别让它把行高顶开 */
.arc__t .swap__box { max-width: 100%; }
.arc__t .swap__a, .arc__t .swap__b { overflow: hidden; text-overflow: ellipsis; }

@media (prefers-reduced-motion: reduce) {
  .swap__a, .swap__b { transition: none; }
  a:hover .swap__a, .arc:hover .swap__a { transform: none; }
  .swap__b { display: none; }
}

/* 联系卡片：滚动扫光 */
.contact__cell { position: relative; overflow: hidden; }
.contact__cell::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(139, 216, 232, .13) 50%, transparent 70%);
  transform: translateX(var(--sw, -140%));
}
.drama-lede__spec > div, .profile__facts > div, .contact__cell {
  backface-visibility: hidden;
}
.drama-lede__spec dt, .drama-lede__spec dd,
.profile__facts > div, .profile__facts > div dt { will-change: transform; }

/* ============================================================
   特大号英文：每个章节一枚，机制各不相同
   ============================================================ */
.index, .archive, .about, .case-install { position: relative; }
.archive, .about, .case-install { overflow-x: clip; }

.bword {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--latin); font-style: italic; font-weight: 400; text-transform: uppercase;
  line-height: .82; letter-spacing: .01em; white-space: nowrap;
  will-change: transform, opacity;
}
.bword b { display: block; font-weight: 900; }
.bw-out b { color: transparent; -webkit-text-stroke: 1px rgba(242, 239, 232, .17); }
.bw-solid b { color: rgba(242, 239, 232, .06); }

/* 01 索引：右侧出血的大字，随滚动横向走 */
.bword--works {
  right: -3.5vw; top: clamp(34px, 2.8vw, 52px); text-align: right;
  font-size: clamp(62px, 14.6vw, 222px);
}

/* 02 装置（浅底）：右对齐的浅墨，往上抬得比内容慢 */
.bword--spine {
  right: -2.5vw; top: clamp(30px, 2.4vw, 46px); text-align: right;
  font-size: clamp(44px, 10.4vw, 158px);
}
.bword--spine b { color: rgba(20, 21, 26, .042); }

/* 03 附录：逐字从下方顶起 */
.bword--appendix {
  right: -2.5vw; top: clamp(26px, 2.2vw, 44px); text-align: right;
  font-size: clamp(46px, 11.2vw, 170px);
}
.bword--appendix .bw-c { display: inline-block; will-change: transform, opacity; }
.bword--appendix.bw-out b { -webkit-text-stroke-color: rgba(242, 239, 232, .12); }

/* 04 过程：从左往右擦出 */
.bword--process {
  right: -2vw; top: clamp(30px, 2.4vw, 46px);
  font-size: clamp(50px, 12.2vw, 184px);
}

/* 05 联系：压底的名字，最后收尾 */
.bword--name {
  left: 0; right: 0; bottom: 30px; text-align: center;
  font-size: clamp(52px, 14.2vw, 214px);
}

@media (max-width: 760px) {
  .bword--works { right: -6vw; font-size: 17vw; top: 98px; }
  .bword--spine { right: -4vw; font-size: 14vw; top: 84px; }
  .bword--appendix { right: -5vw; font-size: 14vw; top: 82px; }
  .bword--process { right: -4vw; font-size: 16vw; top: 90px; }
  .bword--name { bottom: 26px; font-size: 17vw; }
}

/* ============================================================
   第三批：场景翻页 / 门 / 引子阅读 / 道具摊开
   ============================================================ */

/* ---------- 场景：翻页叠卡 ---------- */
.scenes { position: relative; display: block; height: 560vh; }
.scenes__stage {
  position: sticky; top: 0; height: 100svh;
  display: flex; align-items: center; justify-content: center;
  perspective: 1900px;
}
.scenes__deck {
  position: relative; width: min(86vw, 1120px); aspect-ratio: 16 / 9; max-height: 74svh;
  transform-style: preserve-3d; will-change: transform;
}
.scenes .scenes__deck .flipc {
  position: absolute; inset: 0; margin: 0; aspect-ratio: auto;
  transform-origin: 0% 50%; backface-visibility: hidden; will-change: transform;
  background: #11131a; border: 1px solid rgba(0, 0, 0, .28);
  box-shadow: 26px 34px 70px rgba(0, 0, 0, .42), inset 16px 0 34px rgba(0, 0, 0, .3);
}
.scenes .scenes__deck .flipc img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scenes .scenes__deck .flipc figcaption { padding: 40px 18px 14px; font-size: 10.5px; }
.scenes__spine {
  position: absolute; left: -1px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(139, 216, 232, .5), transparent);
}
.scenes__hud {
  position: sticky; top: calc(100svh - 66px); z-index: 3;
  width: min(86vw, 1120px); margin: -66px auto 0;
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--dim);
  pointer-events: none;
}
.scenes__k { color: var(--cyan); }
.scenes__cnt { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.scenes__cnt b { font-weight: 400; color: var(--cyan); }
.scenes__name { margin-left: auto; color: var(--ink-2); }
@media (max-width: 760px) {
  .scenes { height: 460vh; }
  .scenes__deck { width: 92vw; height: 46svh; aspect-ratio: auto; max-height: none; }
  .scenes .scenes__deck .flipc figcaption { padding: 32px 12px 10px; font-size: 9px; }
  .scenes__hud { width: 92vw; font-size: 8.5px; gap: 10px; }
}

/* ---------- 装置细节：推门叠层 ---------- */
.doors { position: relative; height: 470vh; }
.doors__stage {
  position: sticky; top: 0; height: 100svh;
  display: flex; align-items: center; justify-content: center;
  perspective: 2100px;
}
.doors__deck {
  position: relative; width: min(80vw, 780px); aspect-ratio: 1 / 1; max-height: 68svh;
  transform-style: preserve-3d; background: #0a0b0f; border: 1px solid rgba(0, 0, 0, .3);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .5);
}
.door, .door__base { position: absolute; inset: 0; margin: 0; transform-style: preserve-3d; }
.door__base img { width: 100%; height: 100%; object-fit: cover; display: block; }
.door { will-change: transform; }
.door__h {
  position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden;
  backface-visibility: hidden; will-change: transform;
}
.door__h--l { left: 0; transform-origin: 0% 50%; box-shadow: inset -2px 0 12px rgba(0, 0, 0, .45), inset -1px 0 0 rgba(255, 255, 255, .18); }
.door__h--r { right: 0; transform-origin: 100% 50%; box-shadow: inset 2px 0 12px rgba(0, 0, 0, .45), inset 1px 0 0 rgba(255, 255, 255, .18); }
.door__h img { position: absolute; top: 0; width: 200%; max-width: none; height: 100%; object-fit: cover; display: block; }
.door__h--l img { left: 0; }
.door__h--r img { left: -100%; }
.doors__seam {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; z-index: 9;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .22) 30%, rgba(255, 255, 255, .22) 70%, transparent);
  pointer-events: none;
}
.doors__hud {
  position: sticky; top: calc(100svh - 62px); z-index: 3;
  width: min(80vw, 780px); margin: -62px auto 0;
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--dim);
  pointer-events: none;
}
.doors__k { color: var(--cyan); }
.doors__label { color: var(--ink-2); }
.doors__cue { margin-left: auto; color: rgba(139, 216, 232, .6); }
@media (max-width: 760px) {
  .doors { height: 400vh; }
  .doors__deck { width: 92vw; height: 54svh; aspect-ratio: auto; max-height: none; }
  .doors__hud { width: 92vw; font-size: 8.5px; gap: 10px; }
  .doors__cue { display: none; }
}

/* ---------- 漫剧引子：左栏钉住 + 右栏读下去 ---------- */
.drama-lede {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(26px, 4.4vw, 78px); align-items: start;
}
.drama-lede__left { position: sticky; top: 15vh; }
.drama-lede__right { position: relative; padding-left: clamp(16px, 2vw, 30px); }
.drama-lede__body { display: block; }
.drama-lede__body p {
  margin: 0 0 clamp(18px, 2.6vw, 32px);
  font-size: clamp(15px, 1.1vw, 16.5px); line-height: 2; color: var(--ink-2);
  max-width: none;
}
.drama-lede__body p:first-child { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.92; color: var(--ink); }
.drama-lede__body p:last-child { margin-bottom: 0; }
.drama-lede__rail { position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: rgba(255, 255, 255, .1); }
.drama-lede__rail i {
  position: absolute; left: 0; top: 0; width: 1px; height: var(--lead, 0%);
  background: linear-gradient(180deg, rgba(139, 216, 232, .9), rgba(139, 216, 232, .15));
}
.drama-lede__q mark {
  border-bottom-color: transparent;
  background-image: linear-gradient(90deg, rgba(139, 216, 232, .6), rgba(139, 216, 232, .6));
  background-repeat: no-repeat; background-position: 0 100%;
  background-size: var(--mk, 0%) 1px;
  padding-bottom: .06em;
}
.drama-lede .evi {
  grid-column: auto; grid-row: auto; position: static;
  margin-top: clamp(22px, 3.2vw, 42px); max-width: 320px;
}
.drama-lede__spec {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  margin-top: clamp(22px, 3vw, 38px); border-top: 1px solid var(--line);
}
.drama-lede__spec > div { padding: 15px 14px 15px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.drama-lede__spec > div:nth-child(2n) { padding-left: 16px; }
.drama-lede__spec > div:last-child { grid-column: 1 / -1; border-right: 0; }
@media (max-width: 980px) {
  .drama-lede { grid-template-columns: 1fr; gap: clamp(22px, 4vw, 40px); }
  .drama-lede__left { position: static; }
  .drama-lede__right { padding-left: 16px; }
}

/* ============================================================
   文字与图像 · 滚动驱动交互（第二批）
   —— 每个区块一种机制，全部是 rect 的纯函数，回滚即倒放
   ============================================================ */

/* 关键帧 · 滚动叠卡：一张掀开，下一张从下方顶上来 */
.frames.is-peel { display: block; position: relative; height: 268vh; }
.frames.is-peel .frames__stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.frames.is-peel .frames__deck { position: relative; width: min(84vw, 1040px); height: 72svh; }
.frames.is-peel .frame {
  position: absolute; inset: 0; margin: 0; border: 1px solid rgba(255, 255, 255, .12);
  background: #05070a; will-change: transform, opacity; transform-origin: 50% 68%;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .78), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.frames.is-peel .frame img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.frames.is-peel .frame figcaption { padding: 46px 16px 14px; font-size: 10px; letter-spacing: .16em; }
.frames.is-peel .frame__tc { top: 14px; left: 14px; font-size: 10px; }
@media (max-width: 760px) {
  .frames.is-peel { height: 240vh; }
  .frames.is-peel .frames__deck { width: 92vw; height: 58svh; }
  .frames.is-peel .frame img { aspect-ratio: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .frames.is-peel { height: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.4vw, 16px); }
  .frames.is-peel .frames__stage { position: static; height: auto; display: block; }
  .frames.is-peel .frames__deck { width: auto; height: auto; }
  .frames.is-peel .frame { position: relative; inset: auto; box-shadow: none; }
  .frames.is-peel .frame img { aspect-ratio: 4 / 3; }
}

/* 时长配比：段落宽度按滚动生长（总宽未满 → 右侧留白被逐段填满） */
.tl__seg { flex: 0 0 auto; }

/* 流程：顶部一条线随滚动画出 */
.flow { position: relative; }
.flow::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(139, 216, 232, .85), rgba(139, 216, 232, .08));
  transform: scaleX(var(--flow, 0)); transform-origin: 0 50%;
}

/* 被逐帧驱动的元素：关掉自身过渡，避免 transform / opacity 拖尾 */
.prop, .proposal, .pullquote, .flow__step, .skill, .drama-lede__q, .drama-lede__body p,
.evi, .tl__card, .inst-lead__q, .inst-lead__body p, .profile__body p, .screenplay__row,
.craft-table tr, .gal-detail figure, .world__item dd { backface-visibility: hidden; }
.prop, .proposal, .skill, .flow__step, .drama-lede__q, .inst-lead__q { will-change: transform, opacity; }

/* ============================================================
   轮盘（Wheel）· 目录 / 世界观 / 三个空间 / 尺度
   四种不同的转法，都靠滚动进度驱动，反向滚动可逆
   ============================================================ */
.wheel { position: relative; }
.wheel__pin { position: sticky; top: 0; height: 100svh; overflow: clip; display: grid; place-items: center; }
.wheel__stage {
  display: grid; place-items: center; width: 100%;
  perspective: 1600px; perspective-origin: 50% 50%;
}
.wheel__stage > * { grid-area: 1 / 1; will-change: transform, opacity; backface-visibility: hidden; }
.wheel__top { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); top: clamp(78px, 11vh, 124px); }
.wheel__hud {
  position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(22px, 3.6vh, 38px);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--dim);
}
.wheel__no b { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.wheel__no i { font-style: normal; opacity: .45; margin-left: 5px; }
.wheel__track { width: clamp(56px, 8vw, 104px); height: 1px; background: rgba(127, 127, 127, .26); position: relative; overflow: hidden; }
.wheel__track i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ink); }
.wheel__hint {
  position: absolute; z-index: 4; left: var(--gutter); bottom: clamp(20px, 3.4vh, 34px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--dim);
}
.wheel__hint i { display: block; width: 1px; height: 34px; background: linear-gradient(to bottom, rgba(200, 235, 250, .7), transparent); animation: drop 2.2s ease-in-out infinite; }

.wheel--idx { height: 330vh; }
.wheel--world { height: 250vh; }
.wheel--fan { height: 270vh; }
.wheel--stack { height: 300vh; }

/* ---------- ① 目录：纵向圆筒 ---------- */
.index { padding-block: 0; }
.wheel--idx .wheel__pin { padding-top: 6vh; }
.wheel--idx .bword--works { top: clamp(84px, 11vh, 132px); right: -3.5vw; }
.wheel--idx .index__head { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.wstop {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(18px, 3.6vw, 60px);
  width: min(1100px, 86vw);
  padding-block: 6px;
  text-decoration: none; color: inherit;
  transform-origin: 50% 50%;
}
.wstop__ghost {
  position: absolute; left: -2.5%; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 900; font-size: clamp(150px, 25vw, 370px);
  line-height: .8; letter-spacing: -.06em; color: rgba(242, 239, 232, .06);
  opacity: clamp(0, calc(1 - var(--d, 0) * 1.7), 1);
  pointer-events: none; user-select: none;
}
.wstop__in { position: relative; z-index: 2; display: grid; gap: 12px; }
.wstop__tag { font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--violet); }
.wstop__t { font-family: var(--display); font-weight: 900; font-size: clamp(42px, 7.2vw, 112px); line-height: 1; letter-spacing: -.015em; }
.wstop__d { color: var(--dim); font-size: 14px; line-height: 1.7; max-width: 44ch; opacity: clamp(0, calc(1 - var(--d, 0) * 1.9), 1); }
.wstop__go { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--ink-2); opacity: clamp(0, calc(1 - var(--d, 0) * 2.4), 1); }
.wstop__th {
  position: relative; z-index: 1; flex: none;
  width: min(320px, 27vw); aspect-ratio: 16 / 10; object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 34px 70px rgba(0, 0, 0, .62);
  opacity: clamp(0, calc(.92 - var(--d, 0) * 1.5), .92);
}

/* ---------- ② 世界观：横向圆筒 ---------- */
.wcard {
  width: min(560px, 84vw);
  min-height: 236px;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(26px, 3.4vw, 48px);
  border: 1px solid var(--line-2);
  background: linear-gradient(158deg, rgba(32, 29, 48, .95), rgba(13, 13, 19, .95));
  box-shadow: 0 44px 100px rgba(0, 0, 0, .66);
  transform-origin: 50% 50%;
}
.wcard__n { font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--violet); }
.wcard__t { font-family: var(--display); font-weight: 900; font-size: clamp(23px, 2.7vw, 35px); letter-spacing: -.01em; margin: 12px 0 10px; }
.wcard__d { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }

/* ---------- ③ 三个空间：扇形轮 ---------- */
.wheel--fan .wheel__top { top: clamp(72px, 9.5vh, 108px); }
.wcard--tl {
  width: min(430px, 76vw);
  min-height: 0;
  display: block;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--tone, #8bd8e8) 55%, transparent);
  background: none; box-shadow: none;
}
.wcard--tl .tl__k { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: color-mix(in srgb, var(--tone, #8bd8e8) 72%, #fff); }
.wcard--tl .wcard__t { font-size: clamp(20px, 2.3vw, 29px); margin: 10px 0 10px; }
.wcard--tl .wcard__d { font-size: 14px; line-height: 1.9; color: var(--dim); }
.wcard--tl .tl__light { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--dim); margin-top: 16px; opacity: .8; }

/* ---------- ④ 尺度：纵深叠塔 ---------- */
.ncard {
  display: grid; justify-items: center; gap: 18px; text-align: center;
  width: min(510px, 82vw); padding: clamp(34px, 4.4vw, 64px);
  background: #fffdfa;
  border: 1px solid rgba(20, 21, 26, .1);
  box-shadow: 0 36px 76px rgba(20, 21, 26, .16);
  color: #14151a;
}
.ncard b { display: flex; align-items: baseline; gap: 10px; font-family: var(--latin); font-weight: 400; font-size: clamp(64px, 12.4vw, 202px); line-height: .95; letter-spacing: -.01em; }
.ncard small { font-size: .26em; letter-spacing: .06em; opacity: .5; font-family: var(--mono); }
.ncard span { font-size: 13px; color: rgba(20, 21, 26, .55); letter-spacing: .04em; }

@media (max-width: 820px) {
  .wheel--idx { height: 300vh; }
  .wheel--world { height: 230vh; }
  .wheel--fan { height: 250vh; }
  .wheel--stack { height: 260vh; }
  .wheel__top { top: 74px; }
  .wstop { flex-direction: column-reverse; align-items: flex-start; gap: 16px; width: 84vw; }
  .wstop__ghost { left: -6%; font-size: 44vw; }
  .wstop__t { font-size: clamp(38px, 12vw, 64px); }
  .wstop__th { width: 100%; aspect-ratio: 16 / 9; }
  .wstop__d { font-size: 13px; }
  .wheel__hint, .wheel__hud { display: none; }
}

/* 减少动效时：首屏的图必须直接可见，否则整块主视觉会变成纯黑（JS 不驱动 → opacity 永远 0） */
@media (prefers-reduced-motion: reduce) {
  .hero__deep-img, .shard img { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: brightness(.52) contrast(1.08) !important; }
  .hero__gallery, .hero__handoff { display: none !important; }
  .hero__title { opacity: 1 !important; visibility: visible !important; transform: translateY(-50%) !important; }
  .hero__name, .hero__name.is-hidden { opacity: 1 !important; }
  .wstop__th, .wstop__d, .wstop__go { opacity: 1 !important; }
}

@media (prefers-reduced-motion: reduce) {
  .wheel, .wheel__pin { height: auto; }
  .wheel__pin { position: static; display: block; padding-block: clamp(56px, 9vh, 96px); }
  .wheel__stage { display: block; perspective: none; }
  .wheel__stage > * { margin: 0 auto clamp(26px, 4vh, 48px); }
  .wheel__top, .wheel__hud { position: static; margin: 0 auto clamp(18px, 3vh, 30px); max-width: min(1100px, 86vw); }
  .wheel__hint { display: none; }
}

.wheel--idx .bword--works b { -webkit-text-stroke-color: rgba(242, 239, 232, .1); }

/* ============================================================
   本轮修订：目录缩略图 / 规格面板 / 进入游戏 / 预告片版式 / 尺度标尺
   ============================================================ */

/* ① 目录轮盘：缩略图放大（不影响轮盘滚动，靠加大档距拉开） */
.wheel--idx .wstop { width: min(1260px, 90vw); }
.wheel--idx .wstop__th { width: min(660px, 45vw); aspect-ratio: 16 / 10; }

/* ② 规格面板 + 进入游戏 */
.bpanel.bpanel--cta { bottom: clamp(48px, 10vh, 112px); width: min(720px, 64vw); }
.bpanel.bpanel--cta::before {
  inset: -32px -44px -30px -44px;
  background: radial-gradient(82% 104% at 50% 62%, rgba(4, 5, 9, .88) 0%, rgba(4, 5, 9, .46) 52%, transparent 88%);
}
.gcta {
  position: relative; display: flex; align-items: center; gap: clamp(14px, 1.9vw, 26px);
  padding: clamp(16px, 1.7vw, 24px) clamp(20px, 2.2vw, 32px) clamp(16px, 1.7vw, 24px) clamp(14px, 1.6vw, 22px);
  text-decoration: none; color: var(--ink); overflow: hidden;
  border: 1px solid rgba(196, 170, 255, .55);
  background: linear-gradient(104deg, rgba(109, 74, 255, .36), rgba(12, 9, 22, .84) 46%, rgba(12, 9, 22, .62));
  box-shadow: 0 26px 80px rgba(78, 44, 190, .38), inset 0 0 46px rgba(167, 139, 250, .14), inset 0 1px 0 rgba(255, 255, 255, .22);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s, border-color .5s;
}
.gcta::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 24%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .18), transparent);
  transform: skewX(-18deg); animation: ctaSweep 4.6s ease-in-out infinite;
}
@keyframes ctaSweep { 0%, 58% { left: -40%; } 88%, 100% { left: 128%; } }
.gcta:hover { transform: translateY(-3px); border-color: rgba(224, 206, 255, .95); box-shadow: 0 34px 100px rgba(110, 70, 255, .55), inset 0 0 60px rgba(167, 139, 250, .2); }
.gcta__seal {
  flex: none; width: clamp(48px, 4.4vw, 60px); height: clamp(48px, 4.4vw, 60px);
  display: grid; place-items: center; color: #0b0814;
  background: linear-gradient(150deg, #e2d8ff, #a78bfa 58%, #8067ef);
  box-shadow: 0 0 28px rgba(167, 139, 250, .7);
  clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%);
}
.gcta__seal svg { width: 44%; height: 44%; margin-left: 2px; }
.gcta__txt { display: grid; gap: 5px; flex: 1; min-width: 0; }
.gcta__k { font-family: var(--mono); font-size: 9px; letter-spacing: .26em; color: rgba(202, 184, 255, .88); }
.gcta__t { font-family: var(--display); font-weight: 900; font-size: clamp(24px, 2.5vw, 37px); line-height: 1.12; letter-spacing: .01em; }
.gcta__go {
  flex: none; width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%;
  transition: transform .45s, background .45s, color .45s;
}
.gcta__go svg { width: 15px; height: 15px; }
.gcta:hover .gcta__go { background: rgba(255, 255, 255, .94); color: #0b0814; transform: translate(3px, -3px); }
.gcta__meta {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 15px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: rgba(214, 208, 236, .52);
}
.gcta__meta i { width: 3px; height: 3px; border-radius: 50%; background: rgba(167, 139, 250, .8); }

/* ③ 预告片版式（原剧情树位置） */
.tblock {
  display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 42px); align-items: start; margin-top: clamp(14px, 1.8vw, 26px);
}
.tblock__cap { display: flex; align-items: center; gap: 10px; margin: 11px 0 0; font-family: var(--mono); font-size: 9px; letter-spacing: .2em; color: var(--dim); }
.tblock__cap i { flex: 1; height: 1px; background: var(--line); }
.tblock__lead { margin: 0 0 20px; font-size: 14px; line-height: 1.9; color: var(--ink-2); text-wrap: pretty; }
.tblock__spec { margin: 0 0 22px; border-top: 1px solid var(--line); }
.tblock__spec > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tblock__spec dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--dim); }
.tblock__spec dd { margin: 0; font-size: 13.5px; color: var(--ink); }
@media (max-width: 900px) { .tblock { grid-template-columns: 1fr; } }

/* ④ 尺度：上宽下窄的标尺，滚动时一根根落下来 */
.wheel--scale { height: 260vh; }
.ruler {
  position: relative; width: min(1180px, 88vw);
  display: grid; justify-items: center; gap: clamp(10px, 1.9vh, 24px);
}
.ruler__row {
  position: relative; margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline;
  padding-bottom: clamp(4px, .8vh, 10px);
  border-bottom: 1px solid rgba(20, 21, 26, .14);
  transform-origin: 0 50%;
  will-change: transform, opacity;
}
.ruler__row::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: #14151a; transform: scaleX(var(--g, 0)); transform-origin: 0 50%;
}
.ruler__row:nth-child(1) { width: 100%; --fs: clamp(74px, 9.2vw, 146px); }
.ruler__row:nth-child(2) { width: 79%; --fs: clamp(54px, 6.4vw, 100px); }
.ruler__row:nth-child(3) { width: 59%; --fs: clamp(42px, 4.7vw, 74px); }
.ruler__row:nth-child(4) { width: 43%; --fs: clamp(34px, 3.8vw, 58px); }
.ruler__n {
  grid-column: 2; justify-self: center;
  display: flex; align-items: baseline; gap: 7px;
  font-family: var(--latin); font-weight: 400; font-size: var(--fs);
  line-height: .92; letter-spacing: -.01em; color: #14151a;
}
.ruler__n small { font-family: var(--mono); font-size: .22em; letter-spacing: .08em; opacity: .5; }
.ruler__l { grid-column: 3; justify-self: end; padding-left: 14px; font-size: 13px; letter-spacing: .02em; color: rgba(20, 21, 26, .55); white-space: nowrap; }

@media (max-width: 820px) {
  .wheel--scale { height: 230vh; }
  .ruler { width: 86vw; gap: 8px; padding-left: 14px; }
  .ruler__row { display: flex; flex-direction: column; align-items: center; gap: 3px; }
  .ruler__l { justify-self: auto; padding-left: 0; }
  .ruler__row:nth-child(1) { --fs: clamp(58px, 15vw, 88px); }
  .ruler__row:nth-child(2) { --fs: clamp(44px, 11vw, 64px); }
  .ruler__row:nth-child(3) { --fs: clamp(36px, 8.6vw, 52px); }
  .ruler__row:nth-child(4) { --fs: clamp(30px, 7vw, 44px); }
  .ruler__l { font-size: 11px; white-space: normal; }
}

@media (max-width: 820px) {
  .bpanel.bpanel--cta { width: 88vw; bottom: 44px; }
  .bpanel.bpanel--cta::before { inset: -22px -18px -20px -18px; }
  .gcta { padding: 14px 15px; gap: 12px; }
  .gcta__seal { width: 42px; height: 42px; }
  .gcta__k { font-size: 8px; letter-spacing: .18em; }
  .gcta__t { font-size: clamp(19px, 5.6vw, 27px); }
  .gcta__go { width: 30px; height: 30px; }
  .gcta__go svg { width: 12px; height: 12px; }
  .gcta__meta { flex-wrap: wrap; gap: 6px 10px; margin-top: 12px; font-size: 8px; letter-spacing: .12em; }
  .gcta__meta i { display: none; }
}

@media (max-width: 820px) {
  .wheel--idx .wstop { width: 84vw; }
  .wheel--idx .wstop__th { width: 100%; aspect-ratio: 16 / 9; }
}

/* 标尺的视觉中心往下：底部一条居中的引导线，直指下面那组图 */
.wheel--scale .wheel__hint { left: 50%; transform: translateX(-50%); align-items: center; text-align: center; }
.wheel--scale .wheel__hint i { height: clamp(48px, 9vh, 96px); background: linear-gradient(to bottom, rgba(20, 21, 26, .32), rgba(20, 21, 26, 0)); }
.wheel--scale .wheel__hint span { color: rgba(20, 21, 26, .45); }
