/* ==========================================================================
   UTILITIES
   Small, single-purpose helper classes. Add sparingly — if a helper is
   only used once, it probably belongs in the component/page file instead.
   ========================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.no-scroll { overflow: hidden; } /* toggle on <body> while a modal is open */

/* --- Skip-to-content link ---
   First focusable element on every page (right after <body>). Hidden
   off-screen until it receives keyboard focus, so sighted mouse users
   never see it but keyboard/screen-reader users can jump straight past
   the repeated header/nav to <main id="main-content">. */
.skip-link {
  position: absolute;
  top: -80px;
  right: var(--space-4);
  z-index: 3000;
  background: var(--color-primary-navy);
  color: var(--color-white);
  padding: var(--space-3) var(--space-5);
  border-radius: 0 0 var(--radius-input) var(--radius-input);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}
