/**
 * BH Coastal — Accessibility Foundation
 * ---------------------------------------
 * Not a retrofit layer — loaded on every page from Stage 2 onward.
 *
 * Contains:
 * - the skip-to-content link (hidden until focused, first focusable
 *   element on every page)
 * - focus-visible baseline shared by anything not already covered in
 *   typography.css / nav.css / components.css
 *
 * Semantic landmarks (header/nav/main/footer), heading hierarchy, and
 * keyboard focus order are enforced in the HTML itself, not here —
 * this file only covers what CSS is responsible for.
 */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-2);
  z-index: 100;
  background: var(--color-navy);
  color: var(--color-ivory);
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-nav);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: top var(--duration-fast) var(--ease-standard);
}

.skip-link:focus {
  top: var(--space-2);
}

/* Baseline focus visibility for any interactive element not already
   styled elsewhere — belt-and-braces, not a substitute for the
   component-specific focus styles in nav.css / typography.css / components.css. */
:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}
