@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes network-float {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.35; }
  50% { transform: translate3d(0, -8px, 0); opacity: 0.85; }
}

.status-dot--pulse {
  animation: pulse-ring 2.2s infinite;
}

.hero__network i {
  animation: network-float 4.5s ease-in-out infinite;
}

.hero__network i:nth-child(2) { animation-delay: -1.1s; }
.hero__network i:nth-child(3) { animation-delay: -2.3s; }
.hero__network i:nth-child(4) { animation-delay: -3.2s; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

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

.hero__copy .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero__copy .reveal:nth-child(2) { transition-delay: 0.11s; }
.hero__copy .reveal:nth-child(3) { transition-delay: 0.17s; }
.hero__copy .reveal:nth-child(4) { transition-delay: 0.23s; }
.hero__copy .reveal:nth-child(5) { transition-delay: 0.29s; }
.hero__copy .reveal:nth-child(6) { transition-delay: 0.35s; }
.hero__copy .reveal:nth-child(7) { transition-delay: 0.41s; }
.hero__copy .reveal:nth-child(8) { transition-delay: 0.47s; }

.mindset-item:nth-child(2),
.project-card:nth-child(2) { transition-delay: 0.08s; }
.mindset-item:nth-child(3),
.project-card:nth-child(3) { transition-delay: 0.16s; }
.mindset-item:nth-child(4),
.project-card:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .tech-marquee > div {
    animation: none;
  }
  .cursor-halo {
    display: none;
  }
}
