/* The world scenes retain the reference's composition and layered SVG motion. */
:root {
  --paper: #faf7f0;
  --rule: #e6dfd1;
  --muted: #70695e;
  --serif: 'Noto Serif SC', 'Songti SC', STSong, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: #1a1614;
  color: #faf7f0;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.wh {
  height: 100svh;
}
.wh-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  opacity: 0.9;
}
.hero-motion {
  position: absolute;
  z-index: 5;
  top: 24px;
  right: clamp(24px, 4vw, 48px);
}
.world-1 .hero-motion,
.world-4 .hero-motion {
  color: #292723;
}
.world-2 .hero-motion,
.world-3 .hero-motion,
.world-5 .hero-motion {
  color: #faf7f0;
}
.motion-toggle {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 2px;
  min-height: 36px;
  padding: 6px 10px;
  cursor: pointer;
  opacity: 0.8;
}
.motion-toggle:hover {
  opacity: 1;
}
.intro h2 {
  font-weight: 400;
}
.journey-placeholder {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 48px 0;
}
.placeholder-index {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: #a69b86;
}
.journey-placeholder h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
}
.journey-placeholder p {
  max-width: 34em;
  margin: 14px 0 20px;
  color: var(--muted);
  line-height: 1.9;
}
.journey-placeholder a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.world-nav {
  margin-top: 64px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.world-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
}
.meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.colophon {
  max-width: 1184px;
  margin: 0 auto;
  padding: 24px 56px 32px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.filing {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.filing:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after,
.hero-offscreen * {
  animation-play-state: paused !important;
}
.motion-paused .plx {
  transform: none !important;
}
.motion-paused .wh-bg {
  transform: scale(1.06) !important;
}
/* The theatre export supplies dust layers but no autonomous animation. */
@media (prefers-reduced-motion: no-preference) {
  .world-2 .wh-art-src .plx[data-depth='40'] {
    animation: theatre-dust 10s ease-in-out infinite alternate;
  }
}
@keyframes theatre-dust {
  to {
    opacity: 0.55;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .world-5 .wh-text {
    top: 90px;
    bottom: auto;
  }
  .world-5 .wh-text h1 {
    font-size: clamp(46px, 5vw, 60px);
  }
  .world-5 .wh-line {
    max-width: 220px;
  }
}
@media (max-width: 1199px) {
  .wh {
    height: 70svh;
  }
  .colophon {
    padding: 24px 40px 32px;
  }
}
@media (max-width: 767px) {
  .wh {
    height: 94svh;
  }
  .hero-motion {
    top: 20px;
    right: 20px;
  }
  .journey-placeholder {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }
  .placeholder-index {
    font-size: 44px;
  }
  .journey-placeholder h3 {
    font-size: 22px;
  }
  .colophon {
    padding: 24px 22px 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .wh-bg {
    transform: scale(1.06) !important;
  }
}
