/* Animate inside the existing scroll-reveal wrappers so the effects do not conflict. */
.poster-grid .poster-button,
body:has(.return-nav) main section > a:has(> img) {
  animation:cmd-flyer-float 7s ease-in-out infinite;
  transform-origin:50% 50%;
  will-change:transform;
}
.poster-grid article:nth-child(2) .poster-button { animation-delay:-2.3s; }
.poster-grid article:nth-child(3) .poster-button { animation-delay:-4.6s; }
body:has(.return-nav) main section > a:has(> img) { display:block; }
body:has(.return-nav) #services > a:has(> img) { animation-delay:-2.3s; }
body:has(.return-nav) #prices > a:has(> img) { animation-delay:-4.6s; }
@keyframes cmd-flyer-float {
  0%,100% { transform:translateY(3px) rotate(-.35deg); }
  50% { transform:translateY(-7px) rotate(.35deg); }
}
.poster-grid .poster-button:hover,
.poster-grid .poster-button:focus-visible,
body:has(.return-nav) main section > a:has(> img):hover,
body:has(.return-nav) main section > a:has(> img):focus-visible,
html[data-motion="paused"] .poster-grid .poster-button,
html[data-motion="paused"] body:has(.return-nav) main section > a:has(> img) {
  animation-play-state:paused;
}
@media (prefers-reduced-motion:reduce) {
  .poster-grid .poster-button,
  body:has(.return-nav) main section > a:has(> img) { animation:none;will-change:auto; }
}
@media print {
  .poster-grid .poster-button,
  body:has(.return-nav) main section > a:has(> img) { animation:none;transform:none; }
}
