@media (max-width: 900px) {
  .video-theater {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
  }

  .video-theater .stage {
    position: relative;
    display: grid;
    flex: 1;
    align-items: center;
    padding: 22px clamp(12px, 4vw, 32px);
  }

  /* Let the tallest slide size the stage so the page stays still during playback. */
  .video-theater .slide {
    display: block;
    grid-area: 1 / 1;
    min-width: 0;
    visibility: hidden;
  }

  .video-theater .slide.active { visibility: visible; }
  .video-theater .slide-headline { margin-top: 0; }
  .video-theater .big-play-btn {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }

  .video-theater .big-play-btn.hidden { visibility: hidden; }

  .video-theater .video-controls,
  .video-theater .video-controls.autohide {
    position: relative;
    padding: 4px 12px 8px;
    gap: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .video-theater .icon-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .video-theater:fullscreen { overflow-y: auto; }

  .video-theater .pipeline-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px 4px;
    margin: 16px auto 0;
  }

  .video-theater .pipe-node,
  .video-theater .pipe-wedge {
    justify-content: center;
    padding: 6px 4px;
    white-space: normal;
  }

  .video-theater .pipe-wedge { grid-row: 2; }
  .video-theater .pipe-wedge:nth-child(3) { grid-column: 1 / 4; }
  .video-theater .pipe-wedge:nth-child(7) { grid-column: 4 / 6; }
  .video-theater .pipe-arrow:nth-child(4),
  .video-theater .pipe-arrow:nth-child(8) { display: none; }

  .video-theater .stat-badge { white-space: normal; }
  .video-theater .phase-stepper,
  .video-theater .mock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-theater .roadmap-mock {
    padding: 12px;
    line-height: 1.35;
  }

  .video-theater .mock-top,
  .video-theater .mock-title-row {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
  }

  .video-theater .action-pipeline,
  .video-theater .flow-pill-row {
    gap: 6px;
  }

  .video-theater .action-step-card,
  .video-theater .flow-pill {
    min-width: 0;
    padding: 8px 6px;
  }

  .video-theater .action-step-card { gap: 6px; }
  .video-theater .action-step-label { white-space: normal; }
}
