/* The hero's secondary action leads directly to the principal treatments. */
body[data-page="home"] .hero__location::before {
  animation: hero-treatment-dot-pulse 2.35s ease-out infinite;
}

body[data-page="home"] #treatments {
  scroll-margin-top: 5.75rem;
}

@keyframes hero-treatment-dot-pulse {
  0%,
  38% {
    box-shadow:
      0 0 0 .25rem rgb(120 208 231 / 12%),
      0 0 0 0 rgb(120 208 231 / 42%);
    transform: scale(1);
  }

  72% {
    box-shadow:
      0 0 0 .25rem rgb(120 208 231 / 12%),
      0 0 0 .7rem rgb(120 208 231 / 0%);
    transform: scale(1.08);
  }

  100% {
    box-shadow:
      0 0 0 .25rem rgb(120 208 231 / 12%),
      0 0 0 .7rem rgb(120 208 231 / 0%);
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .hero__location::before {
    animation: none;
  }
}
