/* Shared accessibility improvements. No scripts or external services. */
:root { --gold: #895a38; }
html { scroll-behavior: auto; }
body { font-size: 1rem; }
img, svg { max-width: 100%; }
p, h1, h2, h3, a, .brand span, .nameplate { overflow-wrap: anywhere; }
.two-col > *, .practice-list article > *, .expertise > *, .hero-copy { min-width: 0; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  transform: translateY(calc(-100% - 24px));
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  border: 2px solid #fff;
}
.skip-link:focus { top: 12px; transform: none; }
a:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px #fff;
  border-radius: 2px;
}
main:focus { outline: none; }
a { scroll-margin-block: 24px; }

.accessibility-bar { background: var(--panel); border-bottom: 1px solid var(--line); }
.accessibility-bar .shell { display: flex; justify-content: flex-end; }
.accessibility-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 4px 6px;
  color: var(--navy);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.accessibility-link svg { flex-shrink: 0; }
.accessibility-link:hover, .accessibility-footer:hover { color: var(--gold); }
.accessibility-footer { text-decoration: underline; text-underline-offset: 4px; }
header nav { flex-wrap: wrap; }
.brand { max-width: 100%; min-width: 0; }
.navlinks { flex-wrap: wrap; }
.navlinks a, .navlast { min-height: 44px; display: inline-flex; align-items: center; }
.nav-contact { display: none !important; }
.footer-bottom { align-items: center; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }

/* Keep text and artwork in normal flow so enlargement never overlaps them. */
.hero { min-height: 0; overflow: visible; }
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 5%;
  row-gap: 44px;
  padding-top: 60px;
}
.hero-image {
  position: static;
  width: 100%;
  height: 100%;
  min-height: 350px;
  inset: auto;
  align-self: stretch;
  z-index: auto;
}
.hero-copy .lead { max-width: none; }
.hero-copy > :last-child { margin-bottom: 0; }
.hero-bottom { grid-column: 1 / -1; margin-top: 0; flex-wrap: wrap; }
.hero-bottom a { display: inline-flex; align-items: center; min-height: 44px; white-space: normal; }
.hero-bottom span { align-self: center; }
.button { max-width: 100%; }
.practice-list small { display: block; }
.privacy-content h1 { font-size: clamp(2rem, 5.2vw, 4.8rem); }
kbd { font: inherit; font-size: .875em; padding: 2px 6px; border: 1px solid var(--muted); border-radius: 3px; background: #fff; color: var(--navy); }

@media (max-width: 1050px) {
  .navlast { display: none; }
  .nav-contact { display: inline-flex !important; }
  .practice-list small { grid-column: 2 / -1; text-align: left; }
  .hero-copy .eyebrow { font-size: .75rem; }
  .hero-copy .lead { font-size: 1rem; }
}
@media (max-width: 700px) {
  .hero-content { grid-template-columns: minmax(0, 1fr); padding-top: 40px; row-gap: 28px; }
  .hero-image { height: 240px; min-height: 0; object-position: 65% 42%; }
  .hero-bottom { margin-top: 0; font-size: .75rem; }
  .navlinks { justify-content: flex-start; gap: 4px 20px; }
  .navlinks a { font-size: .875rem; }
  .brand { font-size: 1rem; }
  .brand small { font-size: .75rem; }
  .footer-bottom { align-items: flex-start; gap: 8px; }
  .footer-main .brand { max-width: 100%; }
  .practice-list small { grid-column: 2; }
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 32px); }
  .brand { gap: 10px; letter-spacing: .04em; }
  .brand-logo { height: 54px; }
  .hero h1 { font-size: 2.4rem; }
  .contact-email { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  a { color: LinkText; }
  .button, .whatsapp-link, .skip-link { background: Canvas; color: LinkText; border: 2px solid ButtonText; }
  .button span { color: inherit; }
  a:focus-visible { outline-color: Highlight; box-shadow: none; }
  .whatsapp-link img { forced-color-adjust: none; background: #102d40; border-radius: 50%; padding: 2px; }
  .accessibility-bar, footer { border-color: CanvasText; }
}
