/*
 * <m-reel> — a pinned stage that turns vertical scroll into horizontal
 * motion (components/m-reel.js). The element is (n − 1) × --rl-step taller
 * than the stage; the stage sticks under the nav while the items pass.
 */
m-reel {
  --rl-step: 72svh;
  --rl-h: calc(100svh - var(--nav-h));
  display: block;
  position: relative;
  width: var(--page-w, 100vw);
  height: calc(var(--rl-h) + (var(--rl-n, 1) - 1) * var(--rl-step));
  margin: var(--act-gap, 72px) 0 0 calc(50% - var(--page-w, 100vw) / 2);
}
.rl-stage {
  position: sticky;
  top: var(--nav-h);
  height: var(--rl-h);
  box-sizing: border-box;
  padding: 24px 84px 32px 40px;   /* the right side clears the dot rail */
  overflow: clip;
}
.rl-plot { position: relative; height: 100%; max-width: 1280px; margin: 0 auto; container-type: inline-size; }

@media (width < 900px) {
  m-reel { --rl-step: 80svh; }
  .rl-stage { padding: 12px 16px 52px; }   /* the bottom clears the chapter bar */
}
