/* ── Accessibility base (IS 5568 / WCAG 2.1 AA markup support) ──
   Widget itself is TabNav (external script); this file keeps the
   page-level compliance pieces: skip link, focus visibility,
   screen-reader text, reduced motion. */

/* Screen-reader-only text */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link — visible on keyboard focus */
.skip-link {
  position: absolute;
  top: -48px;
  right: 16px;
  z-index: 200;
  background: #2E1D14;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  transition: top .15s;
}
.skip-link:focus {
  top: 0;
  text-decoration: none;
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #7C331A;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Respect OS-level reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
