/* Scroll-led scene system shared by the nine concepts. The page stays still;
   only the image and copy crossfade when the reader reaches the next chapter. */
.preloader {
  display: none !important;
}

.hero.story-ready {
  position: relative;
  min-height: 0;
  overflow: visible;
}

.hero-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg, #0a0a0a);
}

.hero-stage .hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: none !important;
  animation: none !important;
  transition: opacity 220ms linear;
  will-change: opacity;
}

.hero-stage .hero-bg.is-active {
  opacity: 1;
}

.hero-stage .hero-content {
  opacity: 0;
  visibility: hidden;
  transform: none !important;
  animation: none !important;
  pointer-events: none;
  transition: opacity 180ms linear, visibility 0s linear 180ms;
}

.hero-stage .hero-content.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.hero-stage .hero-content :where(.hero-tag, .hero-title, .hero-sub) {
  transform: none !important;
  animation: none !important;
}

.hero-stage .hero-scroll-line::after {
  animation: none !important;
  transform: none !important;
}

.hero-scene-count {
  color: var(--accent, #c9a96e) !important;
  font-size: .68rem !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: .18em !important;
}

.hero-story-progress {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: clamp(22px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 7px;
  transform: translateY(-50%);
}

.hero-story-progress span {
  display: block;
  width: 2px;
  height: 22px;
  background: rgba(255, 255, 255, .38);
  transition: background-color 180ms linear;
}

.hero-story-progress span.is-active {
  background: var(--accent, #c9a96e);
}

html {
  scroll-behavior: auto !important;
}

@media (max-width: 640px) {
  .hero-stage .hero-content {
    right: 15%;
    bottom: 18%;
    left: 6%;
  }

  .hero-story-progress {
    right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage .hero-bg,
  .hero-stage .hero-content,
  .hero-story-progress span {
    transition: none !important;
  }
}
