/* Standalone equivalents of WordPress global styles and progressive enhancement. */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--prime-accent);
  outline-offset: 5px;
}

.prime-skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 110;
  padding: 0.75rem 1rem;
  background: var(--prime-accent);
  color: var(--prime-bg);
}

.prime-skip-link:focus {
  top: 1rem;
}

/* Content stays visible without JavaScript or if an observer cannot initialise. */
.reveal {
  opacity: 1;
  transform: none;
}

.prime-motion .reveal:not(.in) {
  opacity: 0;
  transform: translateY(18px);
}

.prime-testimonials__embed {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.prime-reviews-link {
  margin-top: 1.5rem;
}

.prime-footer__socials a[aria-disabled="true"] {
  cursor: default;
}

.prime-contact h2 {
  margin: 1rem 0;
  font-size: 2rem;
}

@media (max-width: 1180px) {
  .prime-site:not(:has(.prime-hero)) {
    padding-top: 8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .prime-motion .reveal:not(.in) {
    opacity: 1;
    transform: none;
  }
}
