/* Shared navigation and small-screen layout. Keep after the campaign theme. */
.site-header { gap: 24px; }
.site-header nav { align-items: center; gap: 24px; }
.site-header nav a { white-space: nowrap; }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { align-items: center; justify-content: center; gap: 9px; min-height: 44px; min-width: 84px; padding: 9px 12px; border: 1px solid #9ba99a; border-radius: 9px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.nav-toggle:not([hidden]) { display: inline-flex; }
.nav-toggle svg { flex: none; }
.menu-cross, .nav-toggle[aria-expanded="true"] .menu-lines { display: none; }
.nav-toggle[aria-expanded="true"] .menu-cross { display: block; }

@media (max-width: 1100px) {
  .site-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 12px 24px; gap: 0 12px; }
  .site-header .brand { gap: 8px; min-width: 0; }
  .site-header .brand-emblem { width: 40px; height: 46px; }
  .site-header .brand-wordmark { font-size: 26px; letter-spacing: -.9px; }
  .site-header nav { flex: 0 0 100%; width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 4px; margin: 12px 0 0; padding: 12px 0 4px; border-top: 1px solid var(--line); }
  .site-header nav a, .site-header nav a:last-child { display: flex; padding: 12px 14px; min-height: 48px; font-size: 16px; line-height: 1.5; border-radius: 8px; }
  .site-header nav a:hover, .site-header nav a[aria-current="page"] { background: var(--soft); }
}

@media (max-width: 900px) {
  .hero.campaign-hero, .cause-hero { grid-template-columns: minmax(0, 1fr); }
  .campaign-grid { grid-template-columns: minmax(0, 1fr); }
  .filters > label, .charity-grid > *, .scorecard > * { min-width: 0; }
}

@media (max-width: 700px) {
  .site-header { padding-inline: 18px; }
  .site-header .brand-wordmark { font-size: clamp(21px, 6.1vw, 26px); }
  .site-header .brand-emblem { width: 36px; height: 42px; }
  .site-header .nav-toggle { min-width: 78px; padding-inline: 10px; gap: 7px; }
  .hero.campaign-hero h1 { font-size: clamp(38px, 11.3vw, 46px); }
  .profile-head h1, .readable h1, .directory-head h1 { font-size: clamp(36px, 10.6vw, 43px); overflow-wrap: anywhere; }
  .filters input, .filters select, .comparison-page .comparison-controls select, .comparison-page .comparison-controls input, .contact-form input, .contact-form select, .contact-form textarea { font-size: 16px; }
  .charity-card .score { font-size: 36px; }
  .charity-card .score small { display: block; margin: 6px 0 0; line-height: 1.4; }
  .card-summary { gap: 12px; }
  .card-summary > div:first-child { min-width: 0; }
  .comparison-card-link { min-height: 44px; display: flex; align-items: center; }
  footer > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
  footer > div a { display: flex; align-items: center; min-height: 44px; font-size: 13px; }
  footer .brand-wordmark { color: inherit; }
}

@media (max-width: 600px) {
  .filters { grid-template-columns: minmax(0, 1fr); }
  .water-story .text-link { font-size: 14px; }
  .spending-list div { gap: 12px; }
  .spending-list dt { max-width: none; min-width: 0; flex: 1; }
  .spending-list dd { flex: none; margin-left: 0; }
  .spending-list strong { margin-left: 0; }
}

@media (max-width: 480px) {
  .tax-grid { grid-template-columns: minmax(0, 1fr); }
  .tax-card { padding: 22px; }
  .tax-card h3 { font-size: 29px; }
  .tax-card p { font-size: 15px; }
  .tax-step { font-size: 10px; }
  .tax-card .text-link { min-height: 44px; font-size: 14px; }
  .tile-copy, .secondary-causes .tile-copy { padding: 20px 16px; }
  .tile-copy h3, .secondary-causes .tile-copy h3 { font-size: 25px; overflow-wrap: anywhere; }
}
