

/* =========================
   SLIDE UP ANIMATION
========================= */

/* Scroll-driven reveal (pure CSS, support modern browsers) */
.animation {
  opacity: 0;
  transform: translateY(56px) scale(0.96);
  will-change: transform, opacity;

  animation-name: cp-slide-up;
  animation-duration: 1s; /* required even with view() */
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;

  animation-timeline: view();
  animation-range: entry 0% cover 45%;
}

@keyframes cp-slide-up {
  from {
    opacity: 0;
    transform: translateY(56px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .animation {
    animation: none;
    opacity: 1;
    transform: none;
  }
}


/* =========================
   CROSS PAGE ANIMATION
========================= */

.animated {
  position: relative;
  animation: move-across 8s linear infinite;
  will-change: transform;
}

/* animation */
@keyframes move-across {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(120vw);
  }
}

.mobile-menu-control-wrapper,.mobile-menu-control-wrapper .menu-toggle:hover,.mobile-menu-control-wrapper .menu-toggle:focus,.has-inline-mobile-toggle #site-navigation.toggled {
    background-color: #FFF;
}