/* Shared accessibility helpers for every public page.
   - skip-to-content link (first Tab stop on each page)
   - visible keyboard focus
   - respect "reduce motion" */

.gg-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100000;
  background: #0f1f3d;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font: 600 15px/1.2 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  text-decoration: none;
}
.gg-skip:focus {
  left: 12px;
  outline: 3px solid #e0a43a;
  outline-offset: 2px;
}

/* the skip link moves focus here; no ring needed on the whole page body */
main:focus { outline: none; }

/* Keyboard focus ring (mouse clicks do not show it) */
:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
}
.gg-nav :focus-visible,
.gg-footer :focus-visible,
.gg-hero :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible {
  outline-color: #fff;
}
/* inputs keep their own border/shadow focus style; add a ring only where none exists */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-offset: 1px;
}

@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;
  }
}

/* links inside form labels / consent text must not rely on colour alone */
label a[href] { text-decoration: underline; }

/* Footer text was 28-42% white on navy (2.5-3.9:1); 60% gives about 6.5:1 */
.gg-footer-mission,
.gg-footer-col-title,
.gg-footer-copy {
  color: rgba(255, 255, 255, 0.6);
}

/* grey text on the light-grey alternate sections was 4.3:1; slightly darker passes 4.5:1 */
.section.alt .eyebrow,
.section.alt .section-head p {
  color: #56657b;
}

/* small labels on the dark navy sections: 50% white was 4.3:1 */
.section.dark .eyebrow,
.strip-stat .lbl {
  color: rgba(255, 255, 255, 0.68);
}
