/* Zeest page motion — enter, reveal, stagger */

@media (prefers-reduced-motion: reduce) {
  .site-main,
  [data-reveal],
  [data-reveal-stagger] > *,
  .zeest-rise {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.site-main {
  animation: zeest-page-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes zeest-page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

[data-reveal],
.zeest-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-reveal].is-visible,
.zeest-reveal.is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
}

[data-reveal-stagger].is-visible > * {
  opacity: 1;
  animation: zeest-rise 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
}

[data-reveal-stagger].is-visible > *:nth-child(1) { animation-delay: 0.04s; }
[data-reveal-stagger].is-visible > *:nth-child(2) { animation-delay: 0.09s; }
[data-reveal-stagger].is-visible > *:nth-child(3) { animation-delay: 0.14s; }
[data-reveal-stagger].is-visible > *:nth-child(4) { animation-delay: 0.19s; }
[data-reveal-stagger].is-visible > *:nth-child(5) { animation-delay: 0.24s; }
[data-reveal-stagger].is-visible > *:nth-child(6) { animation-delay: 0.29s; }
[data-reveal-stagger].is-visible > *:nth-child(7) { animation-delay: 0.34s; }
[data-reveal-stagger].is-visible > *:nth-child(8) { animation-delay: 0.39s; }
[data-reveal-stagger].is-visible > *:nth-child(n + 9) { animation-delay: 0.44s; }

@keyframes zeest-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.feat-card,
.cat-card,
.sector-card,
.blog-card,
.panel-card {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feat-card:hover,
.cat-card:hover,
.sector-card:hover,
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 22, 43, 0.08);
}
