/**
 * Happy Monster motion layer (v2.1)
 * Only opacity and transforms change. No typography, colour, spacing or positioning changes.
 * All animation is disabled for reduced-motion visitors and in Elementor's editing canvas.
 */
@media (prefers-reduced-motion: no-preference) {
  /* JavaScript applies these classes after checking that an observer is available.
     Without JS the site remains fully readable. */
  body.hm-site.hm-motion-ready .hm-motion-reveal:not(.hm-motion-skip) {
    opacity: 0;
    transform: translate3d(0, 17px, 0);
    transition: opacity .62s cubic-bezier(.2,.7,.2,1), transform .62s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--hm-motion-delay, 0ms);
  }
  body.hm-site.hm-motion-ready .hm-motion-reveal.hm-motion-visible:not(.hm-motion-skip) {
    opacity: 1;
    transform: translate3d(0,0,0);
  }
  body.hm-site.hm-motion-playful.hm-motion-ready .hm-motion-reveal:not(.hm-motion-skip) {
    transform: translate3d(0, 24px, 0);
    transition-duration: .72s;
  }
  body.hm-site.hm-motion-playful.hm-motion-ready .hm-motion-reveal.hm-motion-visible:not(.hm-motion-skip) {
    transform: translate3d(0,0,0);
  }
  /* Nested artwork keeps its own original transforms and artwork positioning. */
  body.hm-site.hm-motion-ready.hm-motion-subtle .hm-mascot-float,
  body.hm-site.hm-motion-ready.hm-motion-playful .hm-mascot-float {
    animation: hm-mascot-bob 4.9s ease-in-out infinite;
    animation-delay: var(--hm-float-delay, 0ms);
  }
  body.hm-site.hm-motion-ready.hm-motion-playful .hm-mascot-float {
    animation-duration: 3.8s;
    animation-name: hm-mascot-bob-more;
  }
  @keyframes hm-mascot-bob { 0%,100% {translate:0 0} 50% {translate:0 -5px} }
  @keyframes hm-mascot-bob-more { 0%,100% {translate:0 0} 50% {translate:0 -9px} }
  @media (hover:hover) and (pointer:fine) {
    /* Hover is intentionally restrained; card dimensions never change. */
    body.hm-site.hm-motion-ready .hm-attraction-image {
      transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease;
    }
    body.hm-site.hm-motion-ready .hm-attraction:not(.hm-motion-skip):hover .hm-attraction-image {
      transform: translateY(-4px) scale(1.018);
    }
    body.hm-site.hm-motion-ready .hm-attraction-icon {
      transition: transform .28s ease;
    }
    body.hm-site.hm-motion-ready .hm-attraction:not(.hm-motion-skip):hover .hm-attraction-icon {
      transform: rotate(7deg) scale(1.065);
    }
    body.hm-site.hm-motion-ready .hm-feature img,
    body.hm-site.hm-motion-ready .hm-value-icon img,
    body.hm-site.hm-motion-ready .hm-soon-feature-grid img,
    body.hm-site.hm-motion-ready .hm-package-mascot img {
      transition: transform .28s cubic-bezier(.2,.7,.2,1);
    }
    body.hm-site.hm-motion-ready .hm-feature:not(.hm-motion-skip):hover img,
    body.hm-site.hm-motion-ready .hm-value:not(.hm-motion-skip):hover .hm-value-icon img,
    body.hm-site.hm-motion-ready .hm-package-grid article:not(.hm-motion-skip):hover .hm-package-mascot img,
    body.hm-site.hm-motion-ready .hm-soon-feature-grid > :not(.hm-motion-skip):hover img {
      transform: translateY(-5px);
    }
    body.hm-site.hm-motion-ready .hm-button:active,
    body.hm-site.hm-motion-ready .hm-nav-cta:active {
      transform: translateY(0) scale(.985);
    }
  }
}
/* The media query and animation classes deliberately do not obscure the site on unsupported browsers. */
@media (prefers-reduced-motion: reduce) {
  body.hm-site .hm-motion-reveal {opacity:1!important;transform:none!important;transition:none!important;animation:none!important}
  body.hm-site .hm-mascot-float {animation:none!important;translate:none!important}
  body.hm-site .hm-attraction-image, body.hm-site .hm-attraction-icon,
  body.hm-site .hm-feature img, body.hm-site .hm-value-icon img,
  body.hm-site .hm-soon-feature-grid img, body.hm-site .hm-package-mascot img {transition:none!important;transform:none!important}
}
/* Keep the editing canvas static, readable and easy to click. */
body.hm-site.elementor-editor-active .hm-motion-reveal,
body.hm-site.elementor-editor-preview .hm-motion-reveal {opacity:1!important;transform:none!important;transition:none!important}
body.hm-site.elementor-editor-active .hm-mascot-float,
body.hm-site.elementor-editor-preview .hm-mascot-float {animation:none!important}
