/* Route B, "The City": the world fills the stage; copy rides the dark sky on the left, a rail on the right
   names the district the light has reached. The path up the centre stays clear. */
.slot { left: max(16px, 5vw); top: 22vh; }
.hero-copy { width: min(440px, 32vw); }
.hero-copy h1 { font-size: clamp(40px, 5vw, 72px); }
.hero-copy .lede { margin: 18px 0 28px; font-size: 18px; }
.ms-stage::before { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: 46vw; pointer-events: none;
  background: linear-gradient(90deg, rgba(17, 16, 19, .55), rgba(17, 16, 19, 0)); }

.rail { position: absolute; z-index: 2; right: max(16px, 4vw); top: 50%; margin: -130px 0 0; padding: 18px 22px; list-style: none;
  display: grid; gap: 14px; font: 600 12px var(--sys); text-transform: uppercase; letter-spacing: .1em; }
.rail li { color: var(--muted); display: flex; align-items: center; gap: 12px; }
.rail li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--muted); flex: none; }
.rail li.done { color: var(--ink-2); }
.rail li.done::before { background: var(--ink-2); border-color: var(--ink-2); }
.rail li.now { color: var(--ink); }
.rail li.now::before { background: var(--red); border-color: var(--red); }
.ms-reduced .rail { display: none; }

@media (max-width: 767px) {
  /* phone: the copy moves against the light. Top while the light is at the gate, bottom once it climbs to the seal. */
  .slot { left: 16px; right: 16px; top: 128px; width: auto; }
  .slot.lo { top: auto; bottom: 16px; --lg-tint: rgba(17, 16, 19, .66) !important; } /* over the lit stair */
  .hero-copy h1 { font-size: 40px; }
  .hero-copy .lede { margin: 10px 0 12px; font-size: 16px; }
  .pane h2 { font-size: 24px; }
  .pane p { font-size: 15px; }
  .ms-stage::before { width: 100%; height: 50%; inset: 0 0 auto 0; background: linear-gradient(180deg, rgba(17, 16, 19, .6), rgba(17, 16, 19, 0)); }
  /* the rail becomes a row under the header */
  .rail { top: 80px; bottom: auto; right: 16px; left: 16px; margin: 0; padding: 10px 14px; grid-auto-flow: column; justify-content: space-between; gap: 6px; font-size: 10px; letter-spacing: .06em; }
  .rail li { gap: 6px; }
  .rail li::before { width: 6px; height: 6px; }
}
