@media (prefers-reduced-motion: no-preference) {
  @keyframes agram-detail-open {
    from { opacity: .35; }
    to { opacity: 1; }
  }
  @keyframes agram-gallery-return {
    from { opacity: .45; filter: brightness(.95); }
    to { opacity: 1; filter: none; }
  }
  @keyframes agram-service-return {
    from { opacity: .65; }
    to { opacity: 1; }
  }
  .gallery-cover, .service-description-page .description-heading {
    animation: agram-detail-open 340ms ease-out 60ms both;
  }
  .work-gallery dialog[open] {
    animation: agram-detail-open 280ms ease-out 40ms both;
  }
  #lavori .category-card.agram-return-card img {
    animation: agram-gallery-return 720ms ease-out 65ms both;
  }
  #servizi .service-link.agram-return-card {
    animation: agram-service-return 520ms ease-out 45ms both;
  }
}
