/* Accessibility enhancements (WCAG 2.1 AA).
   Keyboard-only and screen-reader-only — no visual change for mouse users,
   no change to brand colors or layout. */

/* 1.4.11 / 2.4.7 — visible focus indicator for keyboard users.
   Plum ring + soft white halo so it stays visible on both light and dark
   backgrounds. !important overrides the inline `outline:none` on form fields. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid #3B2145 !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .7) !important;
}

/* 2.4.1 — skip link. Hidden off-screen until focused by keyboard. */
.skip-link {
  position: absolute;
  left: 8px;
  top: -56px;
  z-index: 10000;
  background: #3B2145;
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

/* 3.3.2 — utility for screen-reader-only text labels (not used visually). */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
