/* ==========================================================================
   FMP – Subtle motion
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.float-card {
  animation: floatY 5.5s ease-in-out infinite;
}

.float-card--two {
  animation-delay: 0.8s;
}

.float-card--three {
  animation-delay: 1.4s;
}

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

.chart-draw path,
.chart-draw polyline,
.chart-draw circle,
.chart-draw rect {
  animation: fadeChart 0.9s ease both;
}

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

.btn,
.card,
.nav-list a,
.form-control {
  transition-duration: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .float-card {
    animation: none;
  }
}
