/* A fixed film, revealed like the cover of a moving lookbook. */
.landing-cinematic {
  --cinema-white: #F7F8F7;
  --cinema-ink: #1B1D1F;
  --cinema-line: rgb(229 232 231 / 60%);
  --cinema-gold: #697177;
  --cinema-next-reveal: 0;
  --cinema-display: 'Geist', 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --cinema-sans: 'LXGW WenKai', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow: clip;
}
.cinema-opening-stack {
  --cinema-reveal: 0;
  --cinema-nav-reveal: 0;
  --cinema-kicker-reveal: 0;
  --cinema-title-reveal: 0;
  --cinema-subtitle-reveal: 0;
  --cinema-actions-reveal: 0;
  --cinema-rail-reveal: 0;
  position: relative;
  height: 260svh;
  margin: 0 -5vw;
  isolation: isolate;
}
.cinema-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; contain: paint; }
.cinema-stage::before,
.cinema-stage::after {
  content: '';
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: var(--cinema-line);
  opacity: calc(var(--cinema-reveal) * .74);
  will-change: transform, opacity;
}
.cinema-stage::before {
  top: clamp(104px, 13vh, 150px);
  bottom: clamp(92px, 12vh, 128px);
  left: clamp(24px, 6vw, 100px);
  width: 1px;
  transform: scaleY(var(--cinema-title-reveal));
  transform-origin: top center;
}
.cinema-stage::after {
  right: clamp(24px, 6vw, 100px);
  bottom: clamp(70px, 9vh, 96px);
  left: 38%;
  height: 1px;
  transform: scaleX(var(--cinema-rail-reveal));
  transform-origin: right center;
}
.cinema-intro {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #F7F8F7 url('assets/landing/cinema/yingjian-valley-poster.jpg') center / cover no-repeat;
}
.cinema-intro-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  pointer-events: none;
  transform: none;
  animation: none;
  filter: none;
}
.cinema-hero {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 30px clamp(24px, 6vw, 100px) 24px;
  color: var(--cinema-ink);
  background: transparent;
  font-family: var(--cinema-sans);
  text-align: left;
  isolation: isolate;
}
.cinema-screen { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: calc(.08 + var(--cinema-reveal) * .16); }
.cinema-shade, .cinema-grain, .cinema-film { position: absolute; inset: 0; width: 100%; height: 100%; }
.cinema-shade { background: var(--cinema-white); opacity: .08; }
.cinema-grain { opacity: .03; }
.cinema-film { background: #F7F8F7; opacity: .003; animation: cinema-projector 11.3s linear infinite; }
@keyframes cinema-projector {
  0%, 100% { opacity: .006; }
  32% { opacity: .012; }
  62% { opacity: .003; }
  81% { opacity: .009; }
}
.cinema-hero :is(a, button) { color: inherit; box-shadow: none; border-radius: 0; }
.cinema-hero :is(a, button):focus-visible { outline: 2px solid var(--cinema-white); outline-offset: 5px; }
.cinema-hero a { text-decoration: none; }
.cinema-hero button { font: inherit; cursor: pointer; }
.cinema-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 60px;
  padding-bottom: 20px;
  border-bottom: 1px solid transparent;
  opacity: 1;
  transform: none;
  isolation: isolate;
}
.cinema-nav::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--cinema-line);
  transform: scaleX(var(--cinema-nav-reveal));
  transform-origin: left center;
}
.cinema-wordmark,
.cinema-nav nav,
.cinema-nav-tools {
  opacity: var(--cinema-nav-reveal);
  clip-path: inset(0 calc((1 - var(--cinema-nav-reveal)) * 105%) 0 0);
  will-change: transform, opacity;
}
.cinema-wordmark { transform: translate3d(calc((1 - var(--cinema-nav-reveal)) * -18px), 0, 0); }
.cinema-nav nav { transform: translate3d(calc((1 - var(--cinema-nav-reveal)) * 18px), 0, 0); }
.cinema-nav-tools { transform: translate3d(calc((1 - var(--cinema-nav-reveal)) * 28px), 0, 0); }
.cinema-wordmark { display: grid; gap: 3px; flex: 0 0 auto; }
.cinema-wordmark > span { font-family: var(--cinema-display); font-size: 26px; font-weight: 400; letter-spacing: .12em; line-height: 1.2; }
.cinema-wordmark > small { font-size: 10px; font-weight: 400; letter-spacing: .18em; opacity: .75; }
.cinema-nav nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.5vw, 40px); margin-left: auto; }
.cinema-nav nav a {
  --cinema-nav-link-reveal: var(--cinema-nav-reveal);
  padding: 10px 0;
  font-size: 12px;
  letter-spacing: .04em;
  opacity: calc(var(--cinema-nav-link-reveal) * .8);
  clip-path: inset(0 calc((1 - var(--cinema-nav-link-reveal)) * 105%) 0 0);
  transform: translate3d(0, calc((1 - var(--cinema-nav-link-reveal)) * 9px), 0);
  will-change: transform, opacity, clip-path;
}
.cinema-nav nav a:hover { opacity: 1; }
.cinema-nav-tools { display: flex; gap: 14px; align-items: center; }
.cinema-nav-tools .language-switch { border: 0; padding: 0 6px; background: transparent; min-height: 40px; font-size: 11px; }
.cinema-theme { display: grid; place-items: center; width: 34px; height: 40px; border: 0; background: transparent; opacity: .8; }
.cinema-theme svg { width: 17px; height: 17px; }
.cinema-theme:hover { opacity: 1; }
.cinema-copy {
  position: relative;
  align-self: center;
  width: min(100%, 990px);
  padding: 5vh 0 7vh clamp(18px, 2.2vw, 34px);
  isolation: isolate;
}
.cinema-copy::before {
  content: '01 / IMAGINATION';
  position: absolute;
  top: clamp(12px, 3vh, 32px);
  left: 0;
  color: var(--cinema-gold);
  font-family: var(--cinema-sans);
  font-size: 9px;
  letter-spacing: .24em;
  writing-mode: vertical-rl;
  opacity: var(--cinema-kicker-reveal);
  transform: translate3d(0, calc((1 - var(--cinema-kicker-reveal)) * 12px), 0);
  will-change: transform, opacity;
}
.cinema-copy::after {
  content: '';
  position: absolute;
  top: 31%;
  left: 0;
  width: clamp(82px, 12vw, 190px);
  height: 1px;
  background: var(--cinema-gold);
  opacity: calc(var(--cinema-title-reveal) * .72);
  transform: translate3d(calc((var(--cinema-title-reveal) - 1) * 34px), 0, 0) scaleX(var(--cinema-title-reveal));
  transform-origin: left center;
  will-change: transform, opacity;
}
.cinema-copy .cinema-kicker {
  margin: 0 0 22px;
  color: var(--cinema-gold);
  font-family: var(--cinema-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .32em;
  opacity: var(--cinema-kicker-reveal);
  transform: translate3d(0, calc((1 - var(--cinema-kicker-reveal)) * 10px), 0);
  clip-path: inset(0 calc((1 - var(--cinema-kicker-reveal)) * 105%) 0 0);
  letter-spacing: var(--cinema-kicker-spacing, .32em);
  will-change: transform, opacity, clip-path;
}
.landing-cinematic .cinema-copy h1 {
  display: grid;
  gap: .02em;
  width: fit-content;
  margin: 0;
  color: var(--cinema-ink);
  font-family: var(--cinema-display);
  font-size: clamp(56px, 7.2vw, 112px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.04em;
  opacity: 1;
  transform: none;
  clip-path: none;
}
.cinema-copy h1 > .cinema-title-line {
  --cinema-line-reveal: 0;
  display: block;
  overflow: hidden;
  overflow: clip;
  opacity: 1;
  transform: none;
  will-change: clip-path, transform;
}
.cinema-copy h1 > .cinema-title-line > span {
  display: inline-block;
  opacity: var(--cinema-line-reveal);
  clip-path: inset(0 calc((1 - var(--cinema-line-reveal)) * 105%) 0 0);
  transform: translate3d(calc((1 - var(--cinema-line-reveal)) * -18px), calc((1 - var(--cinema-line-reveal)) * 26px), 0);
  filter: blur(var(--cinema-line-blur, 0px));
  will-change: transform, opacity, clip-path, filter;
}
.cinema-copy h1 > em.cinema-title-line > span {
  clip-path: inset(0 0 0 calc((1 - var(--cinema-line-reveal)) * 105%));
  transform: translate3d(calc((1 - var(--cinema-line-reveal)) * 22px), calc((1 - var(--cinema-line-reveal)) * 38px), 0);
}
.cinema-copy h1 > em { font-family: inherit; font-style: normal; font-weight: 400; margin-left: .75em; }
html[lang^='en'] .cinema-copy h1 { font-size: clamp(60px, 8.2vw, 128px); line-height: 1.08; letter-spacing: -.05em; }
html[lang^='en'] .cinema-copy h1 > em { font-style: italic; margin-left: 1em; }
.cinema-copy .cinema-subtitle {
  margin: 30px 0 0;
  max-width: 44ch;
  font-family: var(--cinema-sans);
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--cinema-ink);
  opacity: calc(var(--cinema-subtitle-reveal) * .85);
  transform: translate3d(0, calc((1 - var(--cinema-subtitle-reveal)) * 14px), 0);
  clip-path: inset(0 calc((1 - var(--cinema-subtitle-reveal)) * 105%) 0 0);
  filter: blur(var(--cinema-subtitle-blur, 0px));
  will-change: transform, opacity, clip-path, filter;
}
.cinema-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
  opacity: 1;
  transform: none;
}
.cinema-actions > a {
  opacity: var(--cinema-actions-reveal);
  will-change: transform, opacity, clip-path;
}
.cinema-actions > .cinema-cta {
  transform: translate3d(calc((1 - var(--cinema-actions-reveal)) * -12px), 0, 0);
  clip-path: inset(0 calc((1 - var(--cinema-actions-reveal)) * 105%) 0 0);
}
.cinema-actions > .cinema-link {
  transform: translate3d(calc((1 - var(--cinema-actions-reveal)) * 14px), 0, 0);
  clip-path: inset(0 0 0 calc((1 - var(--cinema-actions-reveal)) * 105%));
}
.cinema-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 48px;
  padding: 0 25px;
  border: 1px solid var(--cinema-ink);
  background: var(--cinema-ink);
  color: var(--cinema-white) !important;
  font-size: 13px;
  letter-spacing: .04em;
  font-weight: 500;
}
.cinema-cta svg, .cinema-link svg { width: 17px; height: 17px; }
.cinema-cta:hover { background: #454B50; border-color: #454B50; color: var(--cinema-white) !important; }
.cinema-cta:focus-visible, .cinema-link:focus-visible { outline-color: var(--cinema-ink) !important; }
.cinema-link { display: inline-flex; align-items: center; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--cinema-line); font-size: 12px; letter-spacing: .04em; color: var(--cinema-ink); }
.cinema-link:hover { border-bottom-color: var(--cinema-ink); }
.cinema-rail {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid transparent;
  opacity: 1;
  transform: none;
}
.cinema-rail::before {
  content: '';
  position: absolute;
  right: 0;
  top: -1px;
  left: 0;
  height: 1px;
  background: var(--cinema-line);
  transform: scaleX(var(--cinema-rail-reveal));
  transform-origin: right center;
}
.cinema-mediums,
.cinema-player {
  opacity: var(--cinema-rail-reveal);
  will-change: transform, opacity;
}
.cinema-mediums { transform: translate3d(calc((1 - var(--cinema-rail-reveal)) * -16px), 0, 0); }
.cinema-player { transform: translate3d(calc((1 - var(--cinema-rail-reveal)) * 16px), 0, 0); }
.cinema-mediums { font-size: 10px; letter-spacing: .14em; }
.cinema-player { display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .08em; }
.cinema-play { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--cinema-line); background: transparent; }
.cinema-play::before { content: ''; width: 8px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.cinema-play[data-state='paused']::before { width: 0; height: 0; border: 5px solid transparent; border-left: 8px solid currentColor; margin-left: 5px; }
.cinema-play:hover { border-color: var(--cinema-ink); }
.cinema-player [data-cinema-status] { min-width: 3em; }
.cinema-player time { font-variant-numeric: tabular-nums; }
.cinema-progress { display: block; width: 90px; height: 1px; background: var(--cinema-line); }
.cinema-progress > span { display: block; width: 100%; height: 100%; background: var(--cinema-ink); transform: scaleX(0); transform-origin: left; }
.cinema-hero :is(a, button) { transition: background-color .35s ease, border-color .35s ease, color .35s ease; }
.cinema-opening-stack[data-media-failed='true'] .cinema-intro-video { visibility: hidden; }
.cinema-hero[data-playing='false'] .cinema-film { animation-play-state: paused; }
@media (min-width: 1800px) { .cinema-copy { padding-bottom: 10vh; } }
@media (max-width: 1000px) {
  .cinema-nav-extra { display: none; }
  .cinema-nav { gap: 18px; }
  .cinema-copy { width: 100%; }
  .cinema-copy h1 > em { margin-left: .35em; }
  .cinema-progress { width: 60px; }
}
@media (max-width: 600px) {
  .cinema-hero { padding: 22px 24px 20px; }
  .cinema-nav { align-items: flex-start; gap: 12px; min-height: 48px; padding-bottom: 16px; }
  .cinema-wordmark > span { font-size: 20px; letter-spacing: .08em; }
  .cinema-wordmark > small { font-size: 8px; letter-spacing: .08em; }
  .cinema-nav nav { gap: 14px; padding-top: 5px; }
  .cinema-nav nav a { font-size: 11px; padding: 6px 0; white-space: nowrap; }
  .cinema-nav-tools { display: none; }
  .cinema-copy { padding: 4vh 0 9vh 18px; }
  .cinema-copy .cinema-kicker { font-size: 9px; margin-bottom: 22px; letter-spacing: .2em; }
  .landing-cinematic .cinema-copy h1 { font-size: clamp(46px, 12.6vw, 70px); line-height: 1.22; letter-spacing: -.055em; }
  .cinema-copy h1 > em { margin-left: .24em; }
  html[lang^='en'] .cinema-copy h1 { font-size: clamp(42px, 11.6vw, 65px); line-height: 1.14; }
  html[lang^='en'] .cinema-copy h1 > em { margin-left: .35em; }
  .cinema-copy .cinema-subtitle { margin-top: 24px; font-size: 12px; max-width: 24ch; }
  .cinema-actions { gap: 22px; margin-top: 28px; align-items: flex-start; flex-wrap: wrap; }
  .cinema-cta { min-height: 46px; padding: 0 20px; gap: 24px; font-size: 12px; }
  .cinema-link { gap: 10px; font-size: 11px; }
  .cinema-rail { align-items: flex-end; gap: 16px; }
  .cinema-mediums { max-width: 110px; font-size: 8px; line-height: 1.8; letter-spacing: .08em; }
  .cinema-player { gap: 8px; font-size: 9px; }
  .cinema-progress { display: none; }
}
@media (max-height: 650px) and (min-width: 601px) {
  .cinema-hero { padding-top: 15px; padding-bottom: 14px; }
  .cinema-nav { padding-bottom: 10px; min-height: 45px; }
  .cinema-copy { padding: 18px 0; }
  .landing-cinematic .cinema-copy h1 { font-size: clamp(48px, 6vw, 82px); }
  .cinema-copy .cinema-kicker { margin-bottom: 12px; }
  .cinema-copy .cinema-subtitle { margin-top: 15px; }
  .cinema-actions { margin-top: 16px; }
  .cinema-rail { padding-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .cinema-film, .cinema-grain { display: none; }
  .cinema-hero :is(.cinema-nav, .cinema-kicker, h1, .cinema-subtitle, .cinema-actions, .cinema-rail, .cinema-wordmark, .cinema-nav nav, .cinema-nav-tools, .cinema-actions > a, .cinema-mediums, .cinema-player, h1 > span, h1 > em) { transform: none; clip-path: none; }
  .cinema-copy h1 > .cinema-title-line > span, .cinema-copy h1 > em.cinema-title-line > span { transform: none !important; clip-path: none !important; }
  .cinema-hero *, .cinema-hero *::before, .cinema-hero *::after { animation: none !important; transition: none !important; }
  .cinema-opening-stack[data-playing='false'] .cinema-intro-video { visibility: hidden; }
}
/* Editorial motion pass: reveal the cover in place instead of moving a full page. */
.cinema-stage {
  perspective: 1400px;
}
.cinema-copy::after {
  content: '';
  position: absolute;
  left: clamp(18px, 2.2vw, 34px);
  bottom: clamp(16px, 3vh, 34px);
  width: clamp(110px, 13vw, 210px);
  height: 1px;
  background: var(--cinema-gold);
  opacity: calc(var(--cinema-title-reveal) * .82);
  transform: scaleX(var(--cinema-title-reveal));
  transform-origin: left center;
  will-change: transform, opacity;
}
.cinema-copy h1 > .cinema-title-line > span {
  clip-path: inset(calc((1 - var(--cinema-line-reveal)) * 112%) 0 0 0);
  transform: translate3d(calc((1 - var(--cinema-line-reveal)) * -8px), calc((1 - var(--cinema-line-reveal)) * 28px), 0) rotate(calc((1 - var(--cinema-line-reveal)) * -1.1deg));
  transform-origin: left bottom;
}
.cinema-copy h1 > em.cinema-title-line > span {
  clip-path: inset(0 0 calc((1 - var(--cinema-line-reveal)) * 112%) 0);
  transform: translate3d(calc((1 - var(--cinema-line-reveal)) * 9px), calc((1 - var(--cinema-line-reveal)) * -22px), 0) rotate(calc((1 - var(--cinema-line-reveal)) * .85deg));
  transform-origin: right top;
}
.cinema-copy .cinema-subtitle {
  clip-path: inset(0 calc((1 - var(--cinema-subtitle-reveal)) * 108%) 0 0);
  transform: translate3d(calc((1 - var(--cinema-subtitle-reveal)) * 3px), calc((1 - var(--cinema-subtitle-reveal)) * 9px), 0);
}
.cinema-actions > a {
  clip-path: inset(0 calc((1 - var(--cinema-actions-reveal)) * 108%) 0 0);
}
.cinema-actions > .cinema-link {
  clip-path: inset(0 0 0 calc((1 - var(--cinema-actions-reveal)) * 108%));
}
.cinema-nav nav a {
  clip-path: inset(0 calc((1 - var(--cinema-nav-reveal)) * 108%) 0 0);
}
.cinema-nav nav a:nth-child(2n) {
  clip-path: inset(0 0 0 calc((1 - var(--cinema-nav-reveal)) * 108%));
}
.cinema-rail {
  clip-path: inset(0 0 calc((1 - var(--cinema-rail-reveal)) * 106%) 0);
}
.cinema-mediums,
.cinema-player {
  transform: translate3d(0, calc((1 - var(--cinema-rail-reveal)) * 8px), 0);
}

/* The first editorial marker is already in flow; only its contents are drawn in. */
html[data-route="home"] .landing-signal {
  --signal-enter: .35;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
}
html[data-route="home"] .landing-signal::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--landing-canvas);
  transform: scaleY(var(--signal-enter));
  transform-origin: top center;
  will-change: transform;
}
html[data-route="home"] .landing-signal::after {
  content: '';
  position: absolute;
  top: 0;
  right: 5vw;
  left: 5vw;
  height: 1px;
  background: var(--landing-accent);
  transform: scaleX(var(--signal-enter));
  transform-origin: left center;
  opacity: calc(.45 + var(--signal-enter) * .55);
  will-change: transform, opacity;
}
html[data-route="home"] .landing-signal > span,
html[data-route="home"] .landing-signal .signal-genres {
  opacity: calc(.55 + var(--signal-enter) * .45);
  transform: translateY(calc((1 - var(--signal-enter)) * 7px));
  will-change: transform, opacity;
}

@media (max-width: 600px) {
  .cinema-copy::after { left: 18px; bottom: 3vh; width: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-copy h1 > .cinema-title-line > span,
  .cinema-copy h1 > em.cinema-title-line > span {
    transform: none !important;
    clip-path: none !important;
  }
  .cinema-copy::after,
  html[data-route="home"] .landing-signal::before,
  html[data-route="home"] .landing-signal::after {
    transform: none !important;
  }
  html[data-route="home"] .landing-signal > span,
  html[data-route="home"] .landing-signal .signal-genres {
    transform: none !important;
  }
}

/* Continuous editorial reveal: the cover stays in one stage while its contents travel along separate rails. */
html[data-route="home"] .cinema-stage {
  --cinema-stage-progress: var(--cinema-reveal, 0);
}
html[data-route="home"] .cinema-hero {
  --cinema-ink-lift: calc((1 - var(--cinema-reveal, 0)) * 5px);
}
html[data-route="home"] .cinema-nav {
  transform: translate3d(0, calc((1 - var(--cinema-nav-reveal, 0)) * -4px), 0);
}
html[data-route="home"] .cinema-copy {
  transform: translate3d(0, var(--cinema-ink-lift), 0);
}
html[data-route="home"] .cinema-rail {
  transform: translate3d(0, calc((1 - var(--cinema-rail-reveal, 0)) * 4px), 0);
}
html[data-route="home"] .cinema-copy h1 > .cinema-title-line {
  perspective: 900px;
  transform-style: preserve-3d;
}
html[data-route="home"] .cinema-copy h1 > .cinema-title-line > span {
  backface-visibility: hidden;
}
html[data-route="home"] .cinema-copy h1 > .cinema-title-line:first-child > span {
  transform: translate3d(calc((1 - var(--cinema-line-reveal)) * -8px), calc((1 - var(--cinema-line-reveal)) * 28px), 0) rotateX(calc((1 - var(--cinema-line-reveal)) * -5deg)) rotateZ(calc((1 - var(--cinema-line-reveal)) * -1.1deg));
}
html[data-route="home"] .cinema-copy h1 > .cinema-title-line:nth-child(2) > span {
  transform: translate3d(calc((1 - var(--cinema-line-reveal)) * 9px), calc((1 - var(--cinema-line-reveal)) * -22px), 0) rotateX(calc((1 - var(--cinema-line-reveal)) * 4deg)) rotateZ(calc((1 - var(--cinema-line-reveal)) * .85deg));
}
html[data-route="home"] .cinema-copy .cinema-kicker {
  text-shadow: 0 0 18px rgb(20 18 16 / calc((1 - var(--cinema-kicker-reveal, 0)) * .18));
}
html[data-route="home"] .cinema-copy::before {
  transition: opacity .2s linear;
}

/* The chapter rail overlaps the last frame and fades into the paper surface.
   Only the rule and its contents are drawn; the whole section never slides in. */
html[data-route="home"] .landing-signal {
  position: relative;
  z-index: 3;
  isolation: isolate;
  overflow: hidden;
  margin-top: -84px;
  padding-top: 116px;
  padding-bottom: 34px;
  min-height: 156px;
  border-top: 0;
  border-bottom: 1px solid var(--landing-line);
  background: transparent;
  clip-path: none;
  opacity: 1;
  transform: none;
  will-change: auto;
}
html[data-route="home"] .landing-signal::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, transparent 0%, color-mix(in srgb, var(--landing-canvas) 28%, transparent) 24%, var(--landing-canvas) 76%);
  transform: none;
  opacity: var(--signal-enter, 1);
  will-change: opacity;
}
html[data-route="home"] .landing-signal::after {
  top: 84px;
  right: 5vw;
  left: 5vw;
  background: var(--landing-accent);
  transform: scaleX(var(--signal-enter, 1));
  transform-origin: left center;
  opacity: calc(.2 + var(--signal-enter, 1) * .8);
}
html[data-route="home"] .landing-signal > span,
html[data-route="home"] .landing-signal .signal-genres {
  opacity: calc(.14 + var(--signal-enter, 1) * .86);
  transform: translate3d(0, calc((1 - var(--signal-enter, 1)) * 10px), 0);
}
html[data-route="home"] .landing-signal > span { transition: color .3s ease; }

@media (max-width: 760px) {
  html[data-route="home"] .landing-signal {
    margin-top: -52px;
    padding-top: 78px;
    padding-bottom: 25px;
    min-height: 126px;
  }
  html[data-route="home"] .landing-signal::after { top: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-route="home"] .cinema-nav,
  html[data-route="home"] .cinema-copy,
  html[data-route="home"] .cinema-rail,
  html[data-route="home"] .cinema-copy h1 > .cinema-title-line > span,
  html[data-route="home"] .landing-signal > span,
  html[data-route="home"] .landing-signal .signal-genres {
    transform: none !important;
  }
  html[data-route="home"] .landing-signal::before { opacity: 1 !important; }
  html[data-route="home"] .landing-signal::after { transform: none !important; opacity: 1 !important; }
}

/* Scroll narrative: the cover remains a single scene while the next chapter is drawn into it. */
html[data-route="home"] .landing-cinematic {
  --cinema-paper: #F7F8F7;
}
html[data-route="home"][data-theme="dark"] .landing-cinematic {
  --cinema-paper: #141618;
}
html[data-route="home"] .landing-cinematic .cinema-stage {
  isolation: isolate;
}
html[data-route="home"] .landing-cinematic .cinema-intro,
html[data-route="home"] .landing-cinematic .cinema-hero {
  transition: opacity 180ms linear;
}
html[data-route="home"] .landing-cinematic .cinema-intro {
  opacity: calc(1 - var(--cinema-exit, 0) * .42);
}
html[data-route="home"] .landing-cinematic .cinema-intro::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 54%, var(--cinema-paper) 100%);
  opacity: calc(var(--cinema-exit, 0) * .78);
}
html[data-route="home"] .landing-cinematic .cinema-hero {
  opacity: calc(1 - var(--cinema-exit, 0) * .18);
}
html[data-route="home"] .landing-cinematic .cinema-transition {
  position: absolute;
  right: clamp(24px, 6vw, 100px);
  bottom: clamp(56px, 9vh, 98px);
  left: clamp(24px, 6vw, 100px);
  z-index: 6;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(14px, 2.2vw, 32px);
  align-items: center;
  min-height: 42px;
  padding-top: 16px;
  border-top: 1px solid var(--cinema-line);
  color: var(--cinema-ink);
  opacity: var(--cinema-transition-reveal, 0);
  clip-path: inset(0 calc((1 - var(--cinema-transition-reveal, 0)) * 108%) 0 0);
  transform: translate3d(0, calc((1 - var(--cinema-transition-reveal, 0)) * 12px), 0);
  pointer-events: none;
  will-change: clip-path, opacity, transform;
}
html[data-route="home"] .landing-cinematic .cinema-transition-index,
html[data-route="home"] .landing-cinematic .cinema-transition-arrow {
  color: var(--cinema-gold);
  font-family: var(--cinema-sans);
  font-size: 9px;
  letter-spacing: .18em;
  white-space: nowrap;
}
html[data-route="home"] .landing-cinematic .cinema-transition strong {
  min-width: 0;
  color: var(--cinema-ink);
  font-family: var(--cinema-display);
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.2;
}
html[data-route="home"] .landing-cinematic .cinema-transition-arrow {
  font-size: 18px;
  line-height: 1;
}
html[data-route="home"] .landing-cinematic .cinema-cta {
  background: var(--cinema-ink);
  border-color: var(--cinema-ink);
  color: var(--cinema-white) !important;
  box-shadow: none;
}
html[data-route="home"] .landing-cinematic .cinema-cta:hover {
  background: #454B50;
  border-color: #454B50;
  color: var(--cinema-white) !important;
}
@media (max-width: 600px) {
  html[data-route="home"] .landing-cinematic .cinema-transition {
    right: 24px;
    bottom: 50px;
    left: 24px;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding-top: 12px;
  }
  html[data-route="home"] .landing-cinematic .cinema-transition-index { grid-column: 1 / -1; }
  html[data-route="home"] .landing-cinematic .cinema-transition strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-route="home"] .landing-cinematic .cinema-intro,
  html[data-route="home"] .landing-cinematic .cinema-hero {
    transition: none;
  }
  html[data-route="home"] .landing-cinematic .cinema-transition {
    clip-path: none;
    transform: none;
  }
}



/* Continuous cover reveal: the video remains the only moving plane. UI is drawn in place. */
html[data-route="home"] .cinema-stage,
html[data-route="home"] .cinema-hero,
html[data-route="home"] .cinema-nav,
html[data-route="home"] .cinema-copy,
html[data-route="home"] .cinema-rail {
  transform: none;
}
html[data-route="home"] .cinema-screen {
  opacity: calc(.035 + var(--cinema-reveal, 0) * .065);
}
html[data-route="home"] .cinema-shade {
  opacity: .035;
}
html[data-route="home"] .cinema-film {
  opacity: .004;
}
html[data-route="home"] .cinema-nav,
html[data-route="home"] .cinema-rail {
  pointer-events: none;
}
html[data-route="home"] .cinema-copy {
  pointer-events: auto;
}
html[data-route="home"] .cinema-nav[data-cinema-ready="true"],
html[data-route="home"] .cinema-copy[data-cinema-ready="true"],
html[data-route="home"] .cinema-rail[data-cinema-ready="true"] {
  pointer-events: auto;
}
html[data-route="home"] .cinema-nav:not([data-cinema-ready="true"]) :is(.cinema-wordmark, nav, .cinema-nav-tools),
html[data-route="home"] .cinema-rail:not([data-cinema-ready="true"]) :is(.cinema-mediums, .cinema-player) {
  visibility: hidden;
}
html[data-route="home"] .cinema-nav[data-cinema-ready="true"] :is(.cinema-wordmark, nav, .cinema-nav-tools),
html[data-route="home"] .cinema-rail[data-cinema-ready="true"] :is(.cinema-mediums, .cinema-player) {
  visibility: visible;
}
html[data-route="home"] .cinema-copy h1 > .cinema-title-line:first-child > span {
  transform: translate3d(calc((1 - var(--cinema-line-reveal)) * -16px), calc((1 - var(--cinema-line-reveal)) * 26px), 0) rotateX(calc((1 - var(--cinema-line-reveal)) * -1.6deg)) rotateZ(calc((1 - var(--cinema-line-reveal)) * -.45deg));
}
html[data-route="home"] .cinema-copy h1 > .cinema-title-line:nth-child(2) > span {
  transform: translate3d(calc((1 - var(--cinema-line-reveal)) * 18px), calc((1 - var(--cinema-line-reveal)) * -20px), 0) rotateX(calc((1 - var(--cinema-line-reveal)) * 1.25deg)) rotateZ(calc((1 - var(--cinema-line-reveal)) * .35deg));
}
html[data-route="home"] .cinema-copy h1 > .cinema-title-line > span {
  filter: blur(var(--cinema-line-blur, 0px));
  text-shadow: 0 1px 24px rgb(15 12 10 / calc((1 - var(--cinema-line-reveal)) * .08));
}
html[data-route="home"] .cinema-copy .cinema-kicker,
html[data-route="home"] .cinema-copy .cinema-subtitle,
html[data-route="home"] .cinema-actions > a {
  will-change: clip-path, transform, opacity;
}
html[data-route="home"] .cinema-copy h1 {
  font-size: clamp(58px, 7.5vw, 116px);
}

/* The first chapter is a quiet drawer edge, not a second page sliding over the film. */
html[data-route="home"] .landing-signal {
  margin-top: -28px;
  padding-top: 70px;
  padding-bottom: 30px;
  min-height: 132px;
  background: var(--landing-canvas);
  box-shadow: 0 -32px 54px rgb(20 18 16 / 13%);
}
html[data-route="home"] .landing-signal::before {
  inset: -34px 0 0;
  background: var(--landing-canvas);
  transform: translateY(calc((1 - var(--signal-enter, 1)) * 10px));
  opacity: calc(.72 + var(--signal-enter, 1) * .28);
  filter: blur(17px);
}
html[data-route="home"] .landing-signal::after {
  top: 69px;
  right: 5vw;
  left: 5vw;
}
@media (max-width: 760px) {
  html[data-route="home"] .landing-signal {
    margin-top: -14px;
    padding-top: 55px;
    padding-bottom: 23px;
    min-height: 114px;
  }
  html[data-route="home"] .landing-signal::before { inset: -26px 0 0; }
  html[data-route="home"] .landing-signal::after { top: 54px; }
}
