/* Shared interaction and motion safeguards for the Stillpoint site. */

.skip-link {
  background: #c8914a;
  color: #0a0a09;
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  left: 16px;
  padding: 11px 15px;
  position: fixed;
  top: -96px;
  z-index: 20000;
}

.skip-link:focus-visible { top: 16px; }

:where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 2px solid #d4a563;
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  #nav,
  nav.nav {
    min-height: 72px !important;
    padding-bottom: 14px !important;
    padding-top: 14px !important;
  }

  .nav-toggle,
  .hamburger {
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    min-width: 44px !important;
    padding: 10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }

  *,
  *::before,
  *::after {
    animation-delay: 0s !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-delay: 0s !important;
    transition-duration: .01ms !important;
  }

  .reveal,
  .hero-label,
  .hero-title,
  .hero-sub,
  .hero-buttons,
  .hero-caption {
    opacity: 1 !important;
    transform: none !important;
  }
}
