/* Usability refinements preserve the site's existing colors and typography. */
nav { flex-wrap: wrap; gap: 1rem; }
nav .nav-brand { font-size: 1.05rem; letter-spacing: .04em; }
nav .nav-right { flex-wrap: wrap; gap: .75rem; }
nav .nav-links { flex-wrap: wrap; gap: 1rem; }
nav .nav-links a { font-size: .74rem; letter-spacing: .08em; }
nav a:focus-visible, .nav-toggle:focus-visible { outline: 2px solid var(--bob-white); outline-offset: 4px; }
.nav-toggle { font: inherit; font-size: .85rem; color: var(--bob-white); background: transparent; border: 1px solid rgba(255,255,255,.5); padding: .6rem 1rem; cursor: pointer; }
.nav-toggle[hidden] { display: none; }
.refinement-note { color: var(--bob-muted); line-height: 1.8; margin: 1.5rem 0; }
.service-name { font-weight: 400; }
.team-jump { margin-top: 1.5rem; }
.bio-text .oversight-note { border-left: 3px solid var(--bob-gold); padding-left: 1rem; }
section[id], .bio-name[id], .service-card[id] { scroll-margin-top: 10rem; }
.footer-info { overflow-wrap: anywhere; }
@media (max-width: 1200px) {
  nav .nav-right { width: 100%; justify-content: flex-start; }
}
@media (max-width: 768px) {
  nav { padding: .75rem 1rem; flex-wrap: wrap; gap: .75rem; }
  nav .nav-brand { font-size: 1.1rem; }
  .nav-toggle:not([hidden]) { display: inline-block; }
  nav .nav-right { flex: 0 0 100%; min-width: 0; width: 100%; flex-wrap: wrap; gap: .75rem; }
  nav .nav-right[hidden] { display: none; }
  nav .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; width: 100%; overflow: visible; padding: 0; }
  nav .nav-links a { display: flex; align-items: center; min-height: 44px; white-space: normal; padding: .6rem; letter-spacing: .04em; font-size: .75rem; }
  nav .nav-message, nav .nav-portal { display: block; width: 100%; min-height: 44px; text-align: center; padding: .7rem; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions a, .bio-book { max-width: 100%; white-space: normal; }
  section[id], .bio-name[id], .service-card[id] { scroll-margin-top: 6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  nav a, .nav-toggle { transition: none; }
}

/* Keep the first step close to the tagline and profile choices easy to scan. */
.mobile-entry-actions { margin-bottom: 1rem; }
.entry-note { color: rgba(255,255,255,.8); font-size: .85rem; line-height: 1.6; margin-bottom: 2rem; max-width: 480px; }
.service-actions { display: flex; flex-wrap: wrap; column-gap: 1.5rem; }
.service-link { min-height: 44px; padding-top: .65rem; padding-bottom: .65rem; }
.team-overview { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 3rem; padding: 0; }
.team-overview a { display: flex; flex-direction: column; gap: .45rem; height: 100%; padding: 1.25rem; border: 1px solid rgba(10,26,138,.2); border-top: 3px solid var(--bob-navy); color: var(--bob-deep); text-decoration: none; line-height: 1.5; }
.team-overview a:hover { background: var(--bob-cream); }
.team-overview span { font-size: .9rem; }
.team-overview .profile-label { text-decoration: underline; text-underline-offset: .2em; }
.team-overview a:focus-visible, .service-link:focus-visible, .hero-actions a:focus-visible { outline: 2px solid var(--bob-gold); outline-offset: 4px; }
@media (max-width: 768px) {
  .hero-actions a { display: flex; align-items: center; justify-content: center; min-height: 44px; width: 100%; text-align: center; }
  .hero-actions .btn-secondary { color: var(--bob-white); }
  .team-overview { grid-template-columns: 1fr; }
  .service-actions { flex-direction: column; align-items: flex-start; }
}
