/* /tour: the player around the stage, in the site's tokens (site.css). The stage itself
   lives in a shadow root with its own stylesheet (promo.css), so the two never mix. */
.tour { padding-top: clamp(12px, 2vw, 24px); }
.tour-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 14px; }
.tour-head h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.tour-head p { color: var(--muted); font-size: .98rem; }
.tour-player { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
/* the stage letterboxes on its own paper colour, like a video would */
.tour-screen {
  position: relative; overflow: hidden; border-radius: clamp(10px, 1.6vw, 18px);
  height: calc(100svh - var(--top) - 150px); min-height: 300px; max-height: 860px;
  background: #faf9f7; box-shadow: var(--shadow);
}
.tour-controls { display: flex; align-items: center; gap: 14px; height: 64px; }
.tour-controls[hidden] { display: none; }
.tour-play { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); cursor: pointer; }
.tour-play .ic { width: 18px; height: 18px; }
.tour-play .i-play, .paused .tour-play .i-pause { display: none; }
.paused .tour-play .i-play { display: block; }
#seek { flex: 1; min-width: 0; accent-color: var(--accent); }
#clock { min-width: 3.2em; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; font-size: .95rem; }

.tour-below { padding-top: 20px; padding-bottom: 72px; }
.tour-below h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin-bottom: 16px; }
.tour-chapters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; counter-reset: ch; }
.tour-chapters li { counter-increment: ch; }
.tour-chapters button { width: 100%; height: 100%; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .2s, background-color .2s, transform .25s var(--ease); }
.tour-chapters button:hover { transform: translateY(-2px); border-color: var(--line-2); }
.tour-chapters b { display: flex; align-items: center; gap: 10px; font: 600 1.05rem/1.3 var(--serif); }
.tour-chapters b::before { content: counter(ch); display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 .78rem/1 var(--sans); }
.tour-chapters span { display: block; margin-top: 6px; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.tour-chapters button[aria-current="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 55%, var(--card)); }
.tour-cta { margin-top: 32px; }
@media (max-width: 640px) {
  .tour-player { padding: 0; }
  .tour-screen { border-radius: 0; height: calc(100svh - var(--top) - 196px); }
  .tour-head p { font-size: .9rem; }
  .tour-controls { padding: 0 var(--gutter); }
}
@media (prefers-reduced-motion: reduce) {
  .tour-chapters button { transition: none; }
  .tour-chapters button:hover { transform: none; }
}
