/* Fade in (hero & static) */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.fade-in.delay-1 { animation-delay: 0.15s; }
.fade-in.delay-2 { animation-delay: 0.3s; }
.fade-in.delay-3 { animation-delay: 0.45s; }
.fade-in.delay-4 { animation-delay: 0.7s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children inside .reveal grids */
.services-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

.showcase-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.showcase-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.showcase-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.showcase-grid .reveal:nth-child(5) { transition-delay: 0.32s; }

.testimonial-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.testimonial-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.philosophy-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.philosophy-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.philosophy-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

/* Subtle ambient breath on hero overlay */
@keyframes breath {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.92; }
}
.hero-overlay { animation: breath 9s ease-in-out infinite; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .hero-overlay { animation: none; }
  html { scroll-behavior: auto; }
}