/* ── Page load animations ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Stagger children in grids */
.grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.grid .reveal:nth-child(4) { transition-delay: 0.21s; }

.steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.steps .reveal:nth-child(3) { transition-delay: 0.16s; }

/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
  .animate-fade-up,
  .reveal,
  .reveal.visible {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

  .chip__dot {
    animation: none;
  }
}
