:root {
  --ink: #0d100e;
  --paper: #ecebe4;
  --white: #f7f7f2;
  --acid: #d9ff43;
  --signal: #ff5a32;
  --sea: #7dd4dc;
  --header-height: 82px;
  color-scheme: dark;
  font-synthesis: none;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--ink);
  color: var(--white);
  font-family: "Microsoft YaHei UI", "PingFang SC", sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body,
a { -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, blockquote { margin: 0; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--acid);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 5px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.19);
  mix-blend-mode: difference;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 12px;
}

.brand-number,
.route-value,
.route-end,
.scene-index strong,
.arrival strong,
.ending-mark,
.footer-route { font-family: Georgia, "Times New Roman", serif; }

.brand-number { font-size: 24px; font-weight: 700; line-height: 1; }
.brand-divider { width: 30px; height: 1px; background: currentColor; }
.brand-label { font-size: 9px; font-weight: 700; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 11px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.site-nav span { opacity: 0.55; font-family: Georgia, "Times New Roman", serif; }

.route-hud {
  position: fixed;
  z-index: 70;
  top: 116px;
  right: 4vw;
  bottom: 42px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--white);
  mix-blend-mode: difference;
  pointer-events: none;
}

.route-km { display: flex; align-items: flex-end; gap: 7px; }
.route-value {
  width: 58px;
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.route-unit, .route-end { font-size: 8px; font-weight: 700; }
.route-track {
  position: relative;
  width: 1px;
  flex: 1;
  margin: 16px 6px 10px 0;
  background: rgba(255, 255, 255, 0.28);
}
.route-track span {
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleY(var(--page-progress, 0));
  transform-origin: top;
}
.route-end { margin-right: 1px; }

.scene {
  --scene-progress: 0;
  --copy-opacity: 1;
  position: relative;
  height: 230svh;
  background: var(--ink);
}
.scene-sea { height: 210svh; }
.scene-light { height: 230svh; }
.scene-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.scene-media,
.scene-shade,
.sea-wipe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene-media {
  z-index: -3;
  object-fit: cover;
  will-change: transform;
}
.scene-night .scene-media {
  object-position: center 55%;
  transform: scale(var(--image-scale, 1.03)) translate3d(var(--image-x, 0), var(--image-y, 0), 0);
}
.scene-sea .scene-media {
  object-position: center;
  transform: scale(var(--image-scale, 1.12)) translate3d(var(--image-x, 0), var(--image-y, 0), 0);
}
.scene-light .scene-media {
  object-position: center 53%;
  transform: scale(var(--image-scale, 1.09)) translate3d(var(--image-x, 0), var(--image-y, 0), 0);
}

.scene-shade { z-index: -2; background: rgba(6, 10, 8, 0.48); }
.scene-night .scene-shade { background: rgba(4, 7, 6, var(--shade-alpha, 0.4)); }
.scene-sea .scene-shade { background: rgba(5, 17, 18, var(--shade-alpha, 0.18)); }
.scene-light .scene-shade { background: rgba(6, 18, 13, var(--shade-alpha, 0.08)); }

.sea-wipe {
  z-index: -1;
  right: auto;
  width: var(--wipe-width, 100%);
  background: var(--paper);
  transform-origin: left;
}

.frame-corners {
  position: absolute;
  z-index: 2;
  inset: 102px 4vw 34px;
  pointer-events: none;
}
.frame-corners i {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: rgba(255, 255, 255, 0.55);
  border-style: solid;
}
.frame-corners i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.frame-corners i:nth-child(2) { top: 0; right: 6px; border-width: 1px 1px 0 0; }
.frame-corners i:nth-child(3) { right: 6px; bottom: 2px; border-width: 0 1px 1px 0; }
.frame-corners i:nth-child(4) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }

.scene-index {
  position: absolute;
  z-index: 3;
  top: 116px;
  left: 4vw;
  display: grid;
  color: rgba(255, 255, 255, 0.75);
}
.scene-index span { font-size: 8px; font-weight: 700; }
.scene-index strong { font-size: 42px; font-weight: 400; line-height: 0.95; }

.hero-copy,
.chapter-copy {
  position: absolute;
  z-index: 3;
  opacity: var(--copy-opacity);
  will-change: transform, opacity;
}

.hero-copy {
  right: 8vw;
  bottom: 12vh;
  left: 8vw;
  transform: translate3d(0, var(--hero-y, 0), 0);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  font-weight: 700;
}
.eyebrow > span { width: 56px; height: 3px; background: var(--acid); }
.hero-copy h1 {
  display: flex;
  align-items: baseline;
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.78;
}
.hero-copy h1 strong { font-size: 260px; font-weight: 400; }
.hero-ordinal, .hero-unit {
  font-family: "STSong", "SimSun", serif;
  font-size: 28px;
  font-weight: 700;
}
.hero-ordinal { margin-right: 16px; }
.hero-unit { margin-left: 18px; }
.hero-statement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 680px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.48);
}
.hero-statement p {
  font-family: "STSong", "SimSun", serif;
  font-size: 19px;
  line-height: 1.65;
}
.hero-statement p:last-child { padding-left: 44px; border-left: 1px solid rgba(255, 255, 255, 0.42); }

.scene-caption {
  position: absolute;
  z-index: 3;
  right: 8vw;
  bottom: 38px;
  display: flex;
  gap: 22px;
  font-size: 9px;
  font-weight: 700;
}
.scene-caption span:first-child { font-family: Georgia, "Times New Roman", serif; }
.forward-cue {
  position: absolute;
  z-index: 4;
  bottom: 24px;
  left: 8vw;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-size: 10px;
  font-weight: 700;
}
.forward-cue i, .restart i { position: relative; width: 52px; height: 1px; background: currentColor; }
.forward-cue i::after, .restart i::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.chapter-copy {
  top: 50%;
  width: min(650px, 62vw);
  transform: translate3d(0, calc(-50% + var(--chapter-y, 0px)), 0);
}
.chapter-copy-left { left: 10vw; }
.chapter-copy-right { right: 10vw; }
.chapter-copy h2 {
  margin-top: 24px;
  font-family: "STSong", "SimSun", serif;
  font-size: 88px;
  font-weight: 700;
  line-height: 1.08;
}
.chapter-copy h2 em { color: var(--acid); font-style: normal; }
.scene-sea .chapter-copy h2 em { color: var(--sea); }
.scene-sea .chapter-copy,
.scene-sea .scene-index,
.scene-sea .frame-corners,
.scene-sea .scene-caption {
  mix-blend-mode: difference;
}
.chapter-note {
  max-width: 470px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 2;
}
.edge-word {
  position: absolute;
  z-index: 2;
  right: -20px;
  bottom: 8vh;
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 180px;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.24);
  transform: translate3d(var(--edge-x, 100px), 0, 0);
}

.interlude {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 150px 10vw;
  background: var(--paper);
  color: var(--ink);
}
.interlude-rule {
  position: absolute;
  top: 0;
  left: 10vw;
  width: 1px;
  height: 100%;
  background: rgba(13, 16, 14, 0.18);
}
.interlude-rule span {
  position: absolute;
  top: 22%;
  left: -3px;
  width: 7px;
  height: 7px;
  background: var(--signal);
}
.interlude-kicker { margin-left: 6vw; color: var(--signal); font-size: 9px; font-weight: 700; }
.interlude blockquote {
  display: grid;
  margin: 42px 0 0 6vw;
  font-family: "STSong", "SimSun", serif;
  font-size: 66px;
  font-weight: 700;
  line-height: 1.45;
}
.interlude blockquote span:last-child { margin-left: 18vw; }
.interlude-stamp {
  position: absolute;
  right: 10vw;
  bottom: 9vh;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  transform: rotate(-7deg);
}
.interlude-stamp span:first-child { font-family: Georgia, "Times New Roman", serif; font-size: 84px; line-height: 0.8; }
.interlude-stamp span:last-child { color: var(--signal); font-size: 9px; font-weight: 800; line-height: 1.25; }

.arrival {
  position: absolute;
  z-index: 3;
  right: 8vw;
  bottom: 5vh;
  display: grid;
  justify-items: end;
  opacity: var(--arrival-opacity, 0);
  transform: translate3d(0, var(--arrival-y, 80px), 0);
}
.arrival span { font-size: 9px; font-weight: 800; }
.arrival strong {
  color: transparent;
  font-size: 150px;
  font-weight: 400;
  line-height: 0.82;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7);
}

.ending {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  padding: 18vh 8vw 12vh;
  background: var(--ink);
}
.ending-kicker { color: var(--acid); font-size: 9px; font-weight: 800; }
.ending h2 {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  font-family: "STSong", "SimSun", serif;
  font-size: 96px;
  line-height: 1.16;
}
.restart {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  margin-top: 70px;
  font-size: 11px;
  font-weight: 700;
}
.ending-mark {
  position: absolute;
  right: -24px;
  bottom: -80px;
  color: transparent;
  font-size: 330px;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
}

.site-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 220px;
  padding: 48px 4vw;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--ink);
}
.footer-lockup { display: flex; align-items: flex-end; gap: 18px; }
.footer-route { font-size: 46px; line-height: 0.8; }
.footer-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-note,
.footer-separator {
  color: rgba(255, 255, 255, 0.62);
  font-size: 8px;
  font-weight: 700;
}
.footer-note { text-decoration: none; }

.cinema-bars { position: fixed; z-index: 150; inset: 0; pointer-events: none; }
.cinema-bars span {
  position: absolute;
  right: 0;
  left: 0;
  height: 51%;
  background: #050605;
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.2, 1);
}
.cinema-bars span:first-child { top: 0; transform-origin: top; }
.cinema-bars span:last-child { bottom: 0; transform-origin: bottom; }
.is-loaded .cinema-bars span:first-child { transform: translateY(-100%); }
.is-loaded .cinema-bars span:last-child { transform: translateY(100%); }

@media (max-width: 1050px) {
  .hero-copy h1 strong { font-size: 190px; }
  .chapter-copy h2 { font-size: 70px; }
  .interlude blockquote { font-size: 54px; }
  .arrival strong { font-size: 120px; }
}

@media (max-width: 700px) {
  :root { --header-height: 68px; }
  .site-header { padding: 0 20px; }
  .brand-divider, .brand-label, .site-nav a span { display: none; }
  .site-nav { gap: 18px; font-size: 10px; }
  .route-hud { top: 94px; right: 20px; bottom: 28px; }
  .route-km { transform: rotate(90deg) translateX(24px); transform-origin: right top; }
  .route-track { margin-top: 58px; }
  .scene, .scene-sea, .scene-light { height: 190svh; }
  .frame-corners { inset: 86px 20px 22px; }
  .scene-index { top: 88px; left: 22px; }
  .scene-index strong { font-size: 34px; }
  .scene-night .scene-media,
  .scene-sea .scene-media,
  .scene-light .scene-media { object-position: center; }
  .hero-copy {
    right: 38px;
    bottom: 12vh;
    left: 22px;
    transform: translate3d(0, var(--hero-y, 0), 0);
  }
  .eyebrow > span { width: 34px; }
  .hero-copy h1 { flex-wrap: wrap; margin-top: 18px; }
  .hero-copy h1 strong { order: 2; width: 100%; font-size: 104px; line-height: 0.8; }
  .hero-ordinal, .hero-unit { font-size: 20px; }
  .hero-ordinal { order: 1; margin: 0 0 6px; }
  .hero-unit { order: 3; margin: 16px 0 0; }
  .hero-statement { gap: 20px; margin-top: 34px; }
  .hero-statement p { font-size: 15px; }
  .hero-statement p:last-child { padding-left: 20px; }
  .scene-caption { right: 42px; bottom: 26px; }
  .scene-caption span:last-child { display: none; }
  .forward-cue { bottom: 14px; left: 22px; }
  .chapter-copy, .chapter-copy-left, .chapter-copy-right {
    top: auto;
    right: 42px;
    bottom: 14vh;
    left: 22px;
    width: auto;
    transform: translate3d(0, var(--chapter-y, 0), 0);
  }
  .chapter-copy h2 { margin-top: 20px; font-size: 48px; line-height: 1.18; }
  .chapter-note { margin-top: 28px; font-size: 13px; line-height: 1.85; }
  .edge-word { right: -12px; bottom: 4vh; font-size: 96px; }
  .interlude { min-height: 88svh; padding: 110px 22px; }
  .interlude-rule { left: 22px; }
  .interlude-kicker, .interlude blockquote { margin-left: 24px; }
  .interlude blockquote { margin-top: 28px; font-size: 34px; line-height: 1.55; }
  .interlude blockquote span:last-child { margin: 22px 0 0; }
  .interlude-stamp { right: 24px; bottom: 8vh; }
  .interlude-stamp span:first-child { font-size: 54px; }
  .arrival { right: 42px; bottom: 4vh; }
  .arrival strong { font-size: 78px; }
  .ending { min-height: 78svh; padding: 15vh 22px 10vh; }
  .ending h2 { font-size: 54px; }
  .restart { margin-top: 52px; }
  .ending-mark { right: -12px; bottom: -28px; font-size: 146px; }
  .site-footer {
    min-height: 220px;
    padding: 48px 22px 32px;
  }
  .footer-lockup { flex-wrap: wrap; row-gap: 20px; }
  .footer-route { font-size: 38px; }
  .footer-detail { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scene, .scene-sea, .scene-light { height: 100svh; }
  .scene-media, .hero-copy, .chapter-copy, .arrival, .edge-word { transform: none !important; }
  .sea-wipe, .cinema-bars { display: none; }
}
