.glow-orb {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(6px);
  background: radial-gradient(circle at 30% 30%, rgba(0, 168, 116, 0.32), rgba(0, 168, 116, 0));
  animation: drift 8s ease-in-out infinite;
  pointer-events: none;
}

.glow-orb.orb-a {
  top: -45px;
  right: -60px;
}

.glow-orb.orb-b {
  bottom: -60px;
  left: -50px;
  animation-delay: -4s;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

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

[data-stagger].is-visible > * {
  animation: stagger-in 0.55s ease forwards;
}

[data-stagger].is-visible > *:nth-child(1) { animation-delay: 0.03s; }
[data-stagger].is-visible > *:nth-child(2) { animation-delay: 0.09s; }
[data-stagger].is-visible > *:nth-child(3) { animation-delay: 0.15s; }
[data-stagger].is-visible > *:nth-child(4) { animation-delay: 0.21s; }
[data-stagger].is-visible > *:nth-child(5) { animation-delay: 0.27s; }
[data-stagger].is-visible > *:nth-child(6) { animation-delay: 0.33s; }

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -12px, 0) scale(1.06);
  }
}

@keyframes stagger-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal],
  [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

.card,
.btn,
.social-link,
.section-eyebrow,
.nav-live-pill,
.menu-toggle {
  will-change: transform;
}

.card {
  transition: transform 0.2s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 126, 87, 0.28);
  box-shadow: 0 16px 34px rgba(0, 126, 87, 0.14);
}

.fx-host {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.surface-ripple {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.2);
  background: radial-gradient(
    circle,
    rgba(14, 151, 106, 0.28) 0%,
    rgba(14, 151, 106, 0.18) 38%,
    rgba(14, 151, 106, 0.06) 58%,
    rgba(14, 151, 106, 0) 74%
  );
  mix-blend-mode: multiply;
  animation: surface-ripple 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.site-click-pulse {
  position: fixed;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(14, 151, 106, 0.44);
  background: radial-gradient(circle, rgba(14, 151, 106, 0.3), rgba(14, 151, 106, 0));
  transform: translate(-50%, -50%) scale(0.65);
  pointer-events: none;
  z-index: 60;
  animation: site-click-pulse 0.52s ease-out forwards;
}

@keyframes surface-ripple {
  to {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
}

@keyframes site-click-pulse {
  to {
    transform: translate(-50%, -50%) scale(8);
    opacity: 0;
    border-color: rgba(14, 151, 106, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none !important;
    box-shadow: var(--shadow-soft) !important;
  }

  .surface-ripple,
  .site-click-pulse {
    display: none !important;
  }
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.background-flow-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.768;
  filter: saturate(110%);
}

@media (max-width: 720px) {
  .background-flow-canvas {
    opacity: 0.552;
  }
}

@media (prefers-reduced-motion: reduce) {
  .background-flow-canvas {
    display: none !important;
  }
}
