:root {
  color-scheme: dark;
  --red: #EB0004;
  --pad-header: max(20px, 2.7211vw);
  --top-header: max(20px, 2.1769vw);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --runway: 2100vh;
  --font-body: 'Inter Tight', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  --font-display: 'BBH Bartle', 'Microsoft YaHei', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #000; overscroll-behavior: none; }
html { overflow-x: clip; }
html.menu-open { overflow-y: hidden; }
body { color: #fff; font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
p, h1, h2 { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; box-shadow: 0 0 0 6px rgba(0,0,0,.9); }
.stage { position: fixed; inset: 0; z-index: 0; opacity: calc(1 - var(--stage-out, 0)); pointer-events: none; }
.stage video, .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reveal {
  --rot: calc(var(--reveal, 0) * var(--angle));
  position: fixed; top: 50%; left: 50%;
  width: calc(var(--reveal, 0) * var(--span-w)); height: var(--span-h);
  transform: translate(-50%, -50%) rotate(var(--rot));
  overflow: hidden; pointer-events: none; background: #000;
}
.reveal--a { z-index: 5; --angle: -45deg; --span-w: calc(72vw + 72vh); --span-h: calc(72vw + 72vh); }
.reveal--b { z-index: 7; --angle: 0deg; --span-w: 102vw; --span-h: 102vh; }
.reveal video, .reveal canvas { position: absolute; top: 50%; left: 50%; width: 100vw; height: 100vh; object-fit: cover; transform: translate(-50%, -50%) rotate(calc(var(--rot) * -1)); }
canvas.plate { opacity: 0; transition: opacity 240ms linear; }
canvas.plate.is-live { opacity: 1; }
.is-covered, .is-hidden { visibility: hidden; }
.chrome { position: fixed; inset: 0; z-index: 10; pointer-events: none; perspective: 1200px; }
.header { position: absolute; top: calc(var(--top-header) + env(safe-area-inset-top)); left: var(--pad-header); right: var(--pad-header); display: flex; font-family: var(--font-display); font-size: max(13px, 2.0408vw); text-transform: uppercase; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.header a { flex: 1 1 0; min-width: 0; white-space: nowrap; pointer-events: auto; }
.header a:nth-child(2) { text-align: center; }
.header a:nth-child(3) { text-align: right; }
@media (hover: hover) and (pointer: fine) { .is-ready .header a:hover, .menu-content a:hover { opacity: .65; } }
.header a:active { scale: .97; }
.title { position: absolute; bottom: calc(env(safe-area-inset-bottom) + max(24px, 5vh)); left: 24px; right: 24px; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; text-shadow: 0 2px 18px rgba(0,0,0,.75); }
.title__name { font-size: clamp(24px, 2vw, 32px); line-height: 1.25; font-weight: 500; }
.title__detail { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.4; font-weight: 400; }
.exit-3d { transform: translate3d(0, 0, calc(var(--exit, 0) * 680px)); opacity: calc(1 - var(--exit, 0) * var(--exit, 0)); }
.exit-3d.is-exiting { filter: blur(calc(var(--exit) * var(--exit) * 8px)); }
.exit-3d.is-gone { visibility: hidden; filter: none; }
.scroll-cue { position: absolute; right: var(--pad-header); bottom: 27vw; display: flex; align-items: center; gap: 16px; font-size: 12px; opacity: var(--cue, 1); text-shadow: 0 2px 10px #000; }
.scroll-cue__arrow { font-size: 28px; }
/* Reading is a text-only layer. No veil, gradient, backdrop, or video opacity change. */
.chapters { position: fixed; inset: 0; z-index: 8; overflow: hidden; pointer-events: none; }
.chapter { position: absolute; inset: 0; padding: 0 max(24px, 5.5vw); padding-right: max(116px, 10vw); opacity: var(--scene-in, 0); }
.js .chapter { visibility: hidden; clip-path: inset(var(--read-top, 96px) 0 var(--read-bottom, 84px) 0); }
.js .chapter.is-active { visibility: visible; }
.chapter.is-anim { filter: blur(var(--scene-blur, 0px)); }
.chapter__inner {
  width: min(820px, 100%); margin-right: auto;
  transform: translate3d(0, calc(var(--read-y, 100px) + var(--scene-rise, 0px)), 0) scale(calc(.965 + .035 * var(--scene-in, 0)));
  transform-origin: left top;
  text-shadow: 0 2px 3px rgba(0,0,0,.95), 0 0 10px rgba(0,0,0,.85), 0 4px 18px rgba(0,0,0,.65);
}
.chapter--right .chapter__inner { margin-left: auto; margin-right: 0; }
.chapter-kicker { font-size: 13px; font-weight: 500; letter-spacing: .04em; line-height: 1.5; margin-bottom: 22px; }
.chapter h2 { font-size: clamp(26px, 2.7vw, 42px); line-height: 1.45; font-weight: 600; text-wrap: balance; }
.chapter-copy { font-size: clamp(18px, 1.55vw, 24px); line-height: 1.9; margin-top: 26px; font-weight: 500; overflow-wrap: anywhere; }
.chapter-rail { position: absolute; right: var(--pad-header); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; pointer-events: auto; text-shadow: 0 2px 4px #000, 0 0 12px #000; }
.chapter-rail a { display: flex; gap: 13px; align-items: center; min-height: 36px; opacity: .55; font-size: 12px; }
.chapter-rail a[aria-current="step"] { opacity: 1; }
.rail-num { font-size: 13px; }
.rail-label { white-space: nowrap; }
.rail-track { height: 120px; width: 1px; background: rgba(255,255,255,.45); margin: 16px 0 0 8px; }
.rail-track span { display: block; width: 1px; height: calc(var(--chapter-progress, 0) * 100%); background: #fff; }
.chapter-status { position: absolute; left: max(24px, 5.5vw); right: max(116px, 10vw); bottom: calc(30px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 20px; font-size: 11px; text-shadow: 0 2px 4px #000, 0 0 12px #000; }
.chapter-menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 35px max(26px, 5.5vw); border: 0; color: #fff; background: rgba(0,0,0,.94); overflow-y: auto; }
.chapter-menu::backdrop { background: rgba(0,0,0,.65); }
.menu-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12px; }
.menu-close { font-family: var(--font-display); font-size: 14px; min-height: 44px; }
.menu-content { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; max-width: 1180px; margin: 12vh auto 60px; }
.menu-intro { font-size: clamp(25px, 3vw, 45px); line-height: 1.5; }
.menu-content nav { display: grid; }
.menu-content a { display: flex; gap: 25px; align-items: baseline; border-bottom: 1px solid rgba(255,255,255,.25); padding: 22px 0; }
.menu-content a > span { font-size: 12px; opacity: .6; }
.menu-content strong { font-size: 27px; font-weight: 500; }
.menu-content small { margin-left: auto; font-size: 12px; opacity: .65; }
.menu-foot { font-size: 11px; opacity: .6; }
.runway { height: var(--runway); }
.js .title__name, .js .title__detail { opacity: 0; filter: blur(8px); }
.js .header a { opacity: 0; filter: blur(8px); transform: translateY(12px); }
.js.is-ready .title__name, .js.is-ready .title__detail { opacity: 1; filter: blur(0); transition: opacity 900ms var(--ease-expo), filter 900ms var(--ease-expo); }
.js.is-ready .title__detail:nth-child(2) { transition-delay: 100ms; }
.js.is-ready .title__detail:nth-child(3) { transition-delay: 160ms; }
.js.is-ready .title__detail:nth-child(4) { transition-delay: 220ms; }
.js.is-ready .title__detail:nth-child(5) { transition-delay: 280ms; }
.js.is-ready .header a { opacity: 1; filter: blur(0); transform: translateY(0); transition: opacity 700ms var(--ease-expo), filter 700ms var(--ease-expo), transform 700ms var(--ease-expo); }
.js.is-ready .header a:nth-child(1) { transition-delay: 300ms; }
.js.is-ready .header a:nth-child(2) { transition-delay: 360ms; }
.js.is-ready .header a:nth-child(3) { transition-delay: 420ms; }
@media (max-width: 700px) {
  .scroll-cue { right: 20px; bottom: 48vw; font-size: 10px; }
  .chapter { padding: 0 24px; }
  .chapter__inner, .chapter--right .chapter__inner { width: 100%; margin: 0; }
  .chapter-kicker { margin-bottom: 18px; font-size: 11px; }
  .chapter h2 { font-size: 27px; line-height: 1.5; }
  .chapter-copy { font-size: 17px; line-height: 1.9; margin-top: 22px; }
  .chapter-rail { left: 24px; right: 24px; top: auto; bottom: calc(16px + env(safe-area-inset-bottom)); transform: none; flex-direction: row; justify-content: space-between; gap: 8px; }
  .chapter-rail a { min-height: 44px; flex-direction: column; justify-content: center; gap: 3px; font-size: 10px; }
  .rail-num { font-size: 12px; }
  .rail-track { display: none; }
  .chapter-status { left: 24px; right: 24px; bottom: calc(77px + env(safe-area-inset-bottom)); font-size: 9px; gap: 10px; }
  .menu-content { grid-template-columns: 1fr; gap: 25px; margin-top: 6vh; }
  .menu-intro { font-size: 25px; }
  .menu-content a { gap: 16px; padding: 18px 0; }
  .menu-content strong { font-size: 20px; }
  .menu-content small { font-size: 10px; }
}
@media (max-height: 600px) and (min-width: 701px) {
  .header { font-size: 20px; }
  .chapter h2 { font-size: 30px; }
  .chapter-kicker { margin-bottom: 16px; }
  .chapter-copy { font-size: 18px; margin-top: 20px; }
}
@media (max-height: 450px) and (max-width: 700px) {
  .title { bottom: calc(env(safe-area-inset-bottom) + 8px); gap: 3px; }
  .title__name { font-size: 18px; line-height: 1.2; }
  .title__detail { font-size: 14px; line-height: 1.25; }
  .chapter h2 { font-size: 24px; }
  .chapter-copy { font-size: 16px; line-height: 1.8; }
}
@media (max-height: 450px) and (min-width: 701px) {
  .chapter-rail { gap: 6px; }
  .chapter-rail a { min-height: 32px; }
  .rail-track { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { top: 0; left: 0; width: 100vw; height: 100vh; transform: none; opacity: var(--reveal, 0); }
  .reveal video, .reveal canvas { top: 0; left: 0; transform: none; }
  .exit-3d { transform: none; }
  .exit-3d.is-exiting, .chapter.is-anim { filter: none; }
  .chapter__inner { transform: translateY(var(--read-y, 100px)); }
  .js .title__name, .js .title__detail, .js .header a { filter: none; transform: none; }
  .js.is-ready .title__name, .js.is-ready .title__detail, .js.is-ready .header a { transition: opacity 200ms linear; transition-delay: 0ms; }
  canvas.plate { transition: none; }
}
html:not(.js) .chrome { position: relative; height: 100vh; }
html:not(.js) .chapters { position: relative; overflow: visible; background: #000; }
html:not(.js) .chapter { position: relative; opacity: 1; padding: 80px max(24px, 5.5vw); }
html:not(.js) .chapter__inner { transform: none; }
html:not(.js) .runway, html:not(.js) .scroll-cue { display: none; }

