@media (prefers-reduced-motion: no-preference) {
  html.img-anim main img {
    opacity: 0;
    scale: 1.045;
    translate: 0 16px;
  }

  html.img-anim main :is(.hero, .page-hero, .site-header, header) img,
  html.img-anim main :is(.listing-card__logo, .pvc-listing-card__logo),
  html.img-anim .site-header img,
  html.img-anim .site-footer img,
  html.img-anim .com-container img {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }

  html.img-anim main img.is-shown {
    opacity: 1;
    scale: 1;
    translate: 0 0;
    transition:
      opacity 0.75s ease,
      scale 1s cubic-bezier(0.22, 1, 0.36, 1),
      translate 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  }

  html.img-anim main :is(
    .listing-card,
    .pvc-listing-card,
    .product-profile__shot,
    figure,
    .featured-item,
    .why-upvc-visual,
    .direction-media,
    .process-visual,
    .property-card,
    .lab-tests-panel__visual
  ):hover img.is-shown {
    scale: 1.06;
    transition-delay: 0s;
  }

  html.img-anim .apps-panel__eyebrow,
  html.img-anim .apps-panel__title,
  html.img-anim .apps-card__num,
  html.img-anim .apps-card__title,
  html.img-anim .apps-card__text {
    opacity: 0;
    translate: 0 22px;
  }

  html.img-anim .apps-panel__eyebrow {
    letter-spacing: 0.42em;
  }

  html.img-anim .apps-card__num {
    scale: 0.55;
  }

  html.img-anim main .apps-card__image {
    translate: 0 0;
    scale: 1.16;
  }

  html.img-anim :is(
    .apps-panel__eyebrow,
    .apps-panel__title,
    .apps-card__num,
    .apps-card__title,
    .apps-card__text
  ).is-shown {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    transition:
      opacity 0.7s ease,
      translate 0.85s cubic-bezier(0.22, 1, 0.36, 1),
      scale 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      letter-spacing 0.8s ease;
  }

  html.img-anim .apps-panel__eyebrow.is-shown {
    letter-spacing: 0.2em;
  }

  html.img-anim main .apps-card__image.is-shown {
    translate: 0 0;
    animation: apps-ken 8s ease-in-out 0.85s infinite alternate;
  }

  html.img-anim .apps-card {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  html.img-anim .apps-card:hover {
    transform: translateY(-6px);
  }

  html.img-anim .apps-card:hover .apps-card__image.is-shown {
    animation-play-state: paused;
    scale: 1.12;
  }
}

@keyframes apps-ken {
  from { scale: 1; }
  to { scale: 1.1; }
}
