/* Targeted accessibility fixes. The original style.css stays unchanged. */
:root {
  --accent-text: #806515;
  --anchor-offset: 8.5rem;
}

/* Keep bright brand gold for decoration and dark backgrounds only. */
.eyebrow,
.metric-context,
.case-index,
.method-list span {
  color: var(--accent-text);
}

.about-block li::marker {
  color: var(--accent-text);
}

.section-dark .eyebrow,
.section-dark .metric-context,
.section-dark .case-index,
.section-dark .method-list span,
.contact-card .eyebrow {
  color: var(--accent);
}

/* A visible keyboard focus indicator on both light and dark surfaces. */
a:focus-visible,
.nav-links a:focus-visible,
.button:focus-visible,
.ppa-page a:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
}

.section-dark a:focus-visible,
.contact-card a:focus-visible {
  outline-color: var(--accent);
}

.site-footer img {
  height: auto;
}

/* Desktop header is sticky; the existing mobile header is not. */
main[id],
section[id],
.ppa-page section[id] {
  scroll-margin-top: var(--anchor-offset);
}

@media (max-width: 720px) {
  :root { --anchor-offset: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
