/* BANDAL GLOBAL MOTION ----------------------------------------------------- */
:root {
  --bun-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html.bun-motion-ready .bun-motion-hero-item {
  animation: bun-motion-hero-in 820ms var(--bun-motion-ease) var(--bun-motion-delay, 0ms) both;
}

html.bun-motion-ready .bun-motion-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 680ms var(--bun-motion-ease) var(--bun-motion-delay, 0ms),
    transform 820ms var(--bun-motion-ease) var(--bun-motion-delay, 0ms);
}

html.bun-motion-ready .bun-motion-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.bun-motion-ready .bun-motion-card {
  transition:
    border-color 240ms ease,
    box-shadow 360ms var(--bun-motion-ease),
    transform 360ms var(--bun-motion-ease);
}

html.bun-motion-ready .bun-motion-card img {
  transition: transform 900ms var(--bun-motion-ease);
}

html.bun-motion-ready details[open] > *:not(summary) {
  animation: bun-motion-details-in 340ms var(--bun-motion-ease) both;
}

@media (hover: hover) and (pointer: fine) {
  html.bun-motion-ready .bun-motion-card:hover {
    box-shadow: 0 18px 42px rgba(15, 31, 46, 0.11);
    transform: translate3d(0, -4px, 0);
  }

  html.bun-motion-ready .bun-motion-card:hover img {
    transform: scale(1.022);
  }
}

@keyframes bun-motion-hero-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bun-motion-details-in {
  from {
    opacity: 0;
    transform: translate3d(0, 7px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.bun-motion-ready .bun-motion-hero-item,
  html.bun-motion-ready .bun-motion-reveal,
  html.bun-motion-ready .bun-motion-card,
  html.bun-motion-ready details[open] > *:not(summary) {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}
