/* ── Scroll-reveal base state ── */
.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
}
.animate--slide-left {
  transform: translateX(-32px);
}
.animate--scale {
  transform: scale(0.94);
}
.animate.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Stagger delays for grid children ── */
.animate-stagger > *:nth-child(1) { transition-delay: 0ms; }
.animate-stagger > *:nth-child(2) { transition-delay: 80ms; }
.animate-stagger > *:nth-child(3) { transition-delay: 160ms; }
.animate-stagger > *:nth-child(4) { transition-delay: 240ms; }
.animate-stagger > *:nth-child(5) { transition-delay: 320ms; }
.animate-stagger > *:nth-child(6) { transition-delay: 400ms; }

/* ── Keyframes ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}
@keyframes shimmer {
  from { background-position: -200% 0; }
  to   { background-position:  200% 0; }
}

/* ── Hero entrance ── */
.hero__eyebrow  { animation: fadeIn      0.4s var(--ease-out) both; }
.hero__headline { animation: fadeInUp    0.5s 0.1s var(--ease-out) both; }
.hero__subline  { animation: fadeInUp    0.5s 0.2s var(--ease-out) both; }
.hero__actions  { animation: fadeInUp    0.5s 0.3s var(--ease-out) both; }

/* ── Counter number roll ── */
.trust-stat__number[data-counted] {
  animation: fadeIn 0.6s var(--ease-out) both;
}

/* ── Reduced motion: kill everything ── */
@media (prefers-reduced-motion: reduce) {
  .animate,
  .animate--slide-left,
  .animate--scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__eyebrow,
  .hero__headline,
  .hero__subline,
  .hero__actions {
    animation: none;
  }
}
