/* Motion language: smooth, data-led, and restrained like the Semrush reference. */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--transition-reveal),
    transform var(--transition-reveal);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal:nth-of-type(2) {
  transition-delay: 80ms;
}

.hero .reveal:nth-of-type(3) {
  transition-delay: 150ms;
}

.hero .reveal:nth-of-type(4) {
  transition-delay: 220ms;
}

.hero .delivery-console {
  transition-delay: 280ms;
}

.capability-row:nth-child(2),
.solution-feature:nth-child(2) {
  transition-delay: 80ms;
}

.capability-row:nth-child(3),
.solution-feature:nth-child(3) {
  transition-delay: 140ms;
}

.capability-row:nth-child(4),
.solution-feature:nth-child(4) {
  transition-delay: 200ms;
}

.orbit--one {
  animation: orbit-pulse 4.8s ease-in-out infinite;
}

.orbit--two {
  animation: orbit-spin 30s linear infinite;
}

.orbit--three {
  animation: orbit-spin 44s linear infinite reverse;
}

.orbit-label--a {
  animation: label-drift 6s ease-in-out infinite;
}

.orbit-label--b {
  animation: label-drift 7s ease-in-out -1.5s infinite;
}

.orbit-label--c {
  animation: label-drift 5.5s ease-in-out -.6s infinite;
}

.service-panel:not([hidden]) {
  animation: panel-enter 460ms cubic-bezier(.16, 1, .3, 1) both;
}

.modal:not([hidden]) .modal__backdrop {
  animation: modal-fade 220ms ease-out both;
}

.modal:not([hidden]) .modal__panel {
  animation: modal-enter 420ms cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes orbit-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(137, 255, 117, .1);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    box-shadow: 0 0 0 40px rgba(137, 255, 117, 0);
    transform: translate(-50%, -50%) scale(1.05);
  }
}

@keyframes orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes label-drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
