html.motion { scroll-behavior: auto; }
.chapter-anchor { display: none; }
.motion .chapter-anchor {
  display: block;
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.motion #main .thought.is-current {
  transition: opacity 120ms ease-out;
}
.motion .scenery {
  position: absolute;
  inset: 0;
  z-index: -1;
  isolation: isolate;
  overflow: hidden;
  background: var(--sky);
  pointer-events: none;
}


/* The document is the shared scroll rail. One finger scrubs either axis;
   two fingers retain browser magnification and a zoomed view pans natively. */
.motion .stage { touch-action: pinch-zoom; }
.motion.park-magnified .stage { touch-action: auto; }

.motion #main .first .walk-hint {
  gap: .55rem;
  color: #534c41;
  font-size: .94rem;
  font-weight: 500;
}
.walk-cue {
  width: 1.8rem;
  height: 1.9rem;
  flex: none;
}
.cue-touch { display: none; }
@media (pointer: coarse) {
  .cue-touch { display: inline; }
  .cue-scroll { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .motion .first.is-current .cue-arrow {
    animation: trace-step 1.3s ease-out both;
  }
  @keyframes trace-step {
    from { transform: translateY(3px); opacity: .55; }
    to { transform: translateY(0); opacity: 1; }
  }
}
