/* The photograph and the glass share a 1500 × 1322 coordinate system. */
.visor-optics {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  --visor-dissolve: 2600ms cubic-bezier(.42, 0, .35, 1);
}

/* Keep the live glints behind the copy and above both film renderers. */
.visor-stage > .visor-optics { z-index: -1; }

.visor-optics-smoke {
  opacity: 1;
  transition: opacity var(--visor-dissolve);
}
.visor-stage.show-film .visor-optics-smoke { opacity: 0; }
.visor-optics-finish { opacity: var(--optic-strength, 1); }
.visor-reflection {
  opacity: .30;
  transition: opacity var(--visor-dissolve);
}
.visor-stage.show-film .visor-reflection { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .visor-optics-smoke, .visor-reflection { transition: none; }
}
