/* a11y.css — primitives the template had none of. */

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100001;
  padding: 0.75em 1.25em;
  background: #111;
  color: #fff;
  font-size: 0.85rem;
  transform: translateY(-120%);
  transition: transform 0.2s;
}

.skip-link:focus { transform: translateY(0); }

.vh {
  position: absolute;
  width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

top-bar, site-nav, site-footer { display: contents; }

/* The menu toggle was a <div onClick>; it is a real button now. */
.menu-toggle {
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.ns-nav { padding: 1.5em; display: flex; gap: 1.5em; flex-wrap: wrap; }

/* The template's social icons were react-icons glyphs and were never links. */
.footer-socials-wrapper .icon { font-size: 0.75rem; letter-spacing: 0.05em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Copy never splits under reduced motion, so nothing may stay hidden. */
  .line { transform: none !important; }
}
