/* Xeltec accessibility layer — loaded after style.css (see functions.php).
   Keep this file small and additive; do not edit the compiled style.css for these rules. */

/* Skip link: GeneratePress' .screen-reader-text:focus reveals it; make sure it is on top and obvious */
.skip-link.screen-reader-text:focus {
  position: fixed !important;
  top: 8px;
  left: 8px;
  z-index: 100001;
  background: #fff;
  color: #1a1a1a;
  padding: 14px 20px;
  border-radius: 4px;
  box-shadow: 0 0 0 3px #1a1a1a;
  font-weight: 700;
  text-decoration: none;
}

/* The skip-link target is focusable programmatically only; no ring on the whole page */
main#content:focus { outline: none; }

/* Hamburger is now a <button>: reset native chrome, keep the existing look */
button.hamburger {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  color: inherit;
  font: inherit;
}
button.hamburger .line { display: block; }

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #1a1a1a;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #fff; /* keeps the ring visible on dark/red backgrounds */
}

/* Respect reduced-motion preferences: no WOW reveal, no sliding/fading, content always visible */
@media (prefers-reduced-motion: reduce) {
  .wow {
    visibility: visible !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Service cards are plain (non-link) cards until their destination pages exist:
   no pointer/hover affordance that suggests they are clickable. */
div.service-card:hover { border-color: #f7dad8; }
