/* Keep the established frame while showing the full two-person tea scene on phones. */
.experience .banner > picture { display: contents; }
.experience .banner > picture.parallax-frame { display: block; }

@media (min-width: 641px) and (prefers-reduced-motion: no-preference) {
  .experience .banner > picture.parallax-frame > .parallax-image {
    transform: translate3d(0, var(--parallax-y, 0px), 0) scale(var(--photo-parallax-scale, 1.18)) !important;
    will-change: transform !important;
  }
}

@media (max-width: 640px) {
  .experience .banner > picture > img {
    object-position: 32% 50% !important;
  }

  .experience .banner > picture.parallax-frame > .parallax-image {
    transform: translate3d(0, var(--parallax-y, 0px), 0) scale(var(--photo-parallax-scale, 1.02)) !important;
  }

  .experience .banner > picture:not(.parallax-frame) {
    display: block;
    width: 100%;
    aspect-ratio: 379 / 450;
    overflow: hidden;
  }

  .experience .banner > picture:not(.parallax-frame) > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
  }
}
