/* ==========================================================================
   KrayknotLabs — Motion
   ========================================================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    box-shadow: 0 0 8px 2px var(--c-red);
  }
  50% {
    box-shadow: 0 0 22px 6px var(--c-red);
  }
}

.hero__mark-icon.kl-mark--locked {
  animation: kl-flash 1s var(--ease-lab) 1, floaty 5s ease-in-out 1.2s infinite;
}

/* Magnetic buttons — transform handled inline via JS, transition here */
.magnetic {
  transition: transform 0.25s var(--ease-lab);
}

/* Image mask reveal wrapper */
.mask {
  overflow: hidden;
  position: relative;
}
.mask__inner {
  will-change: transform;
}

/* Horizontal scroll track (used by .lab-track if enabled) */
.h-track {
  display: flex;
  will-change: transform;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
