/* landing-movie.css — auto-playing "AI alone vs AI + engineer" split-screen
   canvas movie, the opening section of the landing page. One viewport tall;
   landing-movie.js plays a ~26s GSAP timeline while the section is in view
   (paused offscreen / hidden tab) and draws every frame on a DPR-aware
   <canvas>. */

.ai-movie {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 34rem;
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-rule);
}
.ai-movie-stage {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.ai-movie-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Once the movie finishes it collapses entirely; the hero becomes the top of
   the page and this chip (inside the hero) brings the intro back. */
.ai-movie[hidden] { display: none; }
.ai-movie-watch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: var(--space-sm);
  padding: 0.3rem 0.85rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-neutral);
  background: var(--color-paper);
  border: 1px solid var(--color-rule-strong);
  border-radius: 999px;
  cursor: pointer;
}
.ai-movie-watch[hidden] { display: none; }
@media (hover: hover) {
  .ai-movie-watch:hover { border-color: var(--color-accent, var(--color-tdi-red)); color: var(--color-ink); }
}
.ai-movie-watch:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* Screen-reader narration for the purely visual canvas story. */
.ai-movie-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
