/*
 * Once the scroll story has fully completed, it becomes an ordinary static
 * section. This removes the otherwise frozen reverse-scroll distance while
 * preserving the approved final frame.
 */

body[data-evidence-theatre-collapsed="true"] .process-study .theatre:not([hidden]),
body[data-evidence-theatre-collapsed="true"] .theatre-track[data-completion-latched="true"] {
  min-height: 100vh;
}

body[data-evidence-theatre-collapsed="true"]
  .theatre-track[data-completion-latched="true"]
  .theatre-scene {
  position: relative;
  top: auto;
}

/*
 * Keep the final human-approval fill closed before the sequence begins. This
 * versioned integration rule also protects an open review tab from an older
 * cached copy of the baseline motion stylesheet.
 */
body[data-integrated-home="true"]
  .credibility-continuation:not(.is-playing):not(.has-played)
  .continuation-human-reveal {
  clip-path: inset(0 100% 0 0);
}

@media (prefers-reduced-motion: reduce) {
  body[data-integrated-home="true"]
    .credibility-continuation
    .continuation-human-reveal {
    clip-path: inset(0);
  }
}
