/* Motion enhances visible content; no reveal requires JavaScript to unhide it. */
@media (prefers-reduced-motion: no-preference) {
  .yocan-header-main {
    animation: yocan-nav-blink 180ms ease-out;
  }

  .home .yocan-home-banner-section:not(.yocan-home-banner-section--mystery) .yocan-image-banner__image {
    animation: yocan-image-zoom-out 520ms cubic-bezier(.2, .65, .3, 1);
  }

  .yocan-featured-blog__slide:is(.is-entering-next, .is-entering-prev) .yocan-featured-blog__image img {
    animation: yocan-image-zoom-out 520ms cubic-bezier(.2, .65, .3, 1);
  }
}

.yocan-motion-media {
  overflow: clip;
}

.home .yocan-home-banner-section:not(.yocan-home-banner-section--mystery) .yocan-image-banner {
  overflow: clip;
}

.yocan-collection-guide .yv--flex-item-wrapper.yocan-motion-media {
  border-radius: 20px;
}

.yocan-motion-boundary {
  overflow-x: clip;
}

@keyframes yocan-nav-blink {
  from { opacity: .35; }
  to { opacity: 1; }
}

@keyframes yocan-image-zoom-out {
  from { scale: 1.075; }
  to { scale: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .yocan-header-main,
  .home .yocan-home-banner-section:not(.yocan-home-banner-section--mystery) .yocan-image-banner__image,
  .yocan-featured-blog__slide:is(.is-entering-next, .is-entering-prev) .yocan-featured-blog__image img {
    animation: none;
  }
}
