/* A single entrance for the first screen, with the copy readable throughout. */
@media (prefers-reduced-motion: no-preference) {
  .home-photo-hero .hero-copy {
    animation: season-copy-in 520ms cubic-bezier(.16, 1, .3, 1) both;
  }

  .home-photo-hero .hero-visual img {
    animation: season-photo-in 850ms cubic-bezier(.16, 1, .3, 1) both;
  }

  .home-photo-hero .actions .button:first-child span,
  .equipment-card .equipment-price i {
    transition: transform 220ms cubic-bezier(.16, 1, .3, 1);
  }

  .equipment-card > img {
    transition: transform 420ms cubic-bezier(.16, 1, .3, 1);
  }

  .home-photo-hero .actions .button:first-child:focus-visible span,
  .equipment-card:focus-visible .equipment-price i {
    transform: translateX(4px);
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .home-photo-hero .actions .button:first-child:hover span,
  .equipment-card:hover .equipment-price i {
    transform: translateX(4px);
  }

  .equipment-card:hover > img {
    transform: scale(1.045);
  }
}

@keyframes season-copy-in {
  from { transform: translateY(12px); }
  to { transform: translateY(0); }
}

@keyframes season-photo-in {
  from {
    opacity: .6;
    transform: scale(1.08);
    clip-path: inset(0 0 12% 0 round 12px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    clip-path: inset(0 0 0 0 round 0);
  }
}
