/* ONE LAP · Reduce Motion. Loaded only under prefers-reduced-motion: reduce, and scoped to html.rm
   (set before first paint). The 3D lap is not loaded: the same five chapters read as one lap in frames,
   real captures of the experience, with the chapter copy beside them. Nothing moves; each chapter
   arrives with one quiet fade (opacity only). */

html.rm { scroll-padding-top: calc(var(--gutter) + 96px); }   /* "Skip the lap" lands clear of the fixed header */
html.rm .lap, html.rm.is-mobile .lap { height: auto; }
html.rm .stage { position: static; height: auto; overflow: visible; }
html.rm #scene, html.rm .flash, html.rm .vignette, html.rm .grain, html.rm .curtain,
html.rm .instruments, html.rm .cue, html.rm .fallback { display: none !important; }

html.rm .chapters { position: static; display: grid; gap: clamp(72px, 10vw, 140px); padding: calc(var(--gutter) + 110px) var(--gutter) clamp(72px, 9vw, 120px); pointer-events: auto; }
html.rm .chapter { position: relative; left: auto; top: auto; right: auto; max-width: none; opacity: 1; transform: none; will-change: auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(28px, 4vw, 64px); align-items: center; }
html.rm .chapter > * { grid-column: 1; }
html.rm .rm-frame { grid-column: 2; grid-row: 1 / span 6; margin: 0; }
html.rm .rm-frame img { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; background: #0c0f13;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.85), 0 0 0 1px rgba(241,243,245,.1); }

html.rm .hero h1 { font-size: clamp(34px, 3.6vw, 56px); }
html.rm .word { font-size: clamp(54px, 7vw, 118px); }
html.rm .c-finish h2 { font-size: clamp(28px, 2.8vw, 44px); }
html.rm .ph-tag { position: static; max-width: none; margin: 0 var(--gutter) clamp(48px, 6vw, 80px); text-align: left; color: var(--mute); }   /* on plain asphalt it needs the legible tone */

/* one quiet fade per chapter, opacity only (the inline loader in index.html adds rm-js and is-in) */
html.rm-js .chapter:not(.is-in) { opacity: 0 !important; }
html.rm-js .chapter { transition: opacity .7s ease !important; }

@media (max-width: 700px) {
  html.rm .chapters { padding-top: calc(var(--gutter) + 96px); gap: 72px; }
  html.rm .chapter { grid-template-columns: minmax(0, 1fr); }
  html.rm .rm-frame { grid-column: 1; grid-row: auto; margin-top: 26px; }
  html.rm .word { font-size: 15vw; }
  html.rm .ph-long { display: none; }
  html.rm .ph-short { display: inline !important; }
}
