/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger inside grids */
.pillar-grid .reveal:nth-child(1) { transition-delay: .05s; }
.pillar-grid .reveal:nth-child(2) { transition-delay: .15s; }
.pillar-grid .reveal:nth-child(3) { transition-delay: .25s; }
.pillar-grid .reveal:nth-child(4) { transition-delay: .35s; }

.stats-grid .reveal:nth-child(1) { transition-delay: .05s; }
.stats-grid .reveal:nth-child(2) { transition-delay: .15s; }
.stats-grid .reveal:nth-child(3) { transition-delay: .25s; }
.stats-grid .reveal:nth-child(4) { transition-delay: .35s; }

.process-list .reveal:nth-child(1) { transition-delay: .05s; }
.process-list .reveal:nth-child(2) { transition-delay: .15s; }
.process-list .reveal:nth-child(3) { transition-delay: .25s; }
.process-list .reveal:nth-child(4) { transition-delay: .35s; }

/* ---------- Background orb drift ---------- */
@keyframes orbDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(80px, 60px) scale(1.1);
  }
}

/* ---------- Subtle gradient shift on key text ---------- */
.grad-text {
  background-size: 200% 200%;
  animation: gradShift 12s ease-in-out infinite;
}

@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ---------- Hero logo or accent pulse helper (unused but reusable) ---------- */
@keyframes softPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 0.9; transform: scale(1.04); }
}

/* ---------- Accessibility: respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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