@keyframes aparecer {
  from { opacity: 0; translate: 0 .65rem; }
  to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: no-preference) {
  nav, .hero-copy, .hero h1, dialog[open], .detalle, .miniaturas,
  #menu-toggle[aria-expanded="true"] + #nav-links {
    animation: aparecer .28s ease-out;
  }

  @supports (animation-timeline: view()) {
    .banner, .selector, .gallery img, .story, .cta, footer > div {
      animation: aparecer linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }

  @media (hover: hover) {
    nav a, footer a, .miniaturas button, dialog button {
      transition: translate .16s ease-out;
    }
    nav a:hover, footer a:hover, .miniaturas button:hover, dialog button:hover {
      translate: 0 -2px;
    }
  }
}
