/* Keep the photograph visible until the first moving frame has been presented. */
section.hero.ml-hero-renewed .ml-hero-bg .hero-motion-film {
  position: absolute;
  inset: auto 0 0;
  display: block;
  opacity: 0;
  pointer-events: none;
}
section.hero.ml-hero-renewed.hero-motion-ready .hero-motion-film { opacity: 1; }
section.hero.ml-hero-renewed.hero-motion-ready .ml-hero-bg > img.hero-optic { opacity: 0; }

.hero-motion-toggle {
  position: absolute;
  z-index: 4;
  left: calc(var(--hero-inset) + 108px);
  bottom: calc(clamp(32px, 5.8vh, 74px) - 15px);
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-content: center;
  background: transparent;
  border: 0;
  color: var(--lab-deep, #075e60);
  cursor: pointer;
}
.hero-motion-toggle::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgb(7 94 96 / 40%);
  border-radius: 50%;
}
.hero-motion-toggle span {
  width: 8px;
  height: 10px;
  border-inline: 2px solid currentColor;
}
.hero-motion-toggle.is-paused span {
  width: 0;
  height: 0;
  margin-left: 2px;
  border: 0;
  border-block: 5px solid transparent;
  border-left: 8px solid currentColor;
}
.hero-motion-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 0; border-radius: 50%; }
@media (hover: hover) {
  .hero-motion-toggle:hover::before { background: rgb(8 127 128 / 9%); border-color: currentColor; }
}
.hero-motion-toggle[hidden] { display: none; }
@media (max-width: 680px) {
  /* Keep the shared tip of the four ribbons inside the narrow crop. */
  section.hero.ml-hero-renewed .hero-optic { object-position: 74% 50%; }
  .hero-motion-toggle { bottom: 13px; }
}
@media (max-height: 550px) and (orientation: landscape) {
  .hero-motion-toggle { bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-motion-toggle, section.hero.ml-hero-renewed .hero-motion-film { display: none; }
  section.hero.ml-hero-renewed.hero-motion-ready .ml-hero-bg > img.hero-optic { opacity: 1; }
}
