.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 500;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: var(--maroon-dark);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--gold-lt);
  outline-offset: 4px;
}

[id] { scroll-margin-top: calc(var(--nav-h) + 18px); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-logo img {
  width: 154px;
  height: 58px;
  object-fit: contain;
}
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border-radius: 50%; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--charcoal); }
.mobile-menu[hidden] { display: none; }
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - var(--nav-h));
  height: calc(100dvh - var(--nav-h));
  z-index: 260;
  background: rgba(16, 15, 15, .55);
}
.mobile-menu-panel {
  width: min(88vw, 380px);
  height: 100%;
  margin-left: auto;
  padding: 24px;
  background: var(--cream);
  box-shadow: -14px 0 40px rgba(16, 15, 15, .2);
}
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--border); font-family: var(--serif); font-size: 22px; }
.menu-close { width: 42px; height: 42px; border-radius: 50%; font-size: 30px; line-height: 1; }
.mobile-menu ul { list-style: none; margin: 18px 0 26px; }
.mobile-menu li + li { border-top: 1px solid var(--border2); }
.mobile-menu li a { display: block; padding: 15px 4px; color: var(--charcoal); font-size: 17px; }
.mobile-donate { justify-content: center; width: 100%; }
body.menu-open { overflow: hidden; }

.hero-r > picture { position: absolute; inset: 0; }
.hero-img-fill { width: 100%; height: 100%; object-fit: cover; }
#impact-band {
  background-image: linear-gradient(135deg, rgba(101, 14, 19, .88), rgba(16, 15, 15, .9)), image-set(url('/assets/production/support-impact-960.webp') 1x, url('/assets/production/support-impact-1600.webp') 2x);
  background-position: center;
  background-size: cover;
}

.story-img-side picture { display: block; }
.story-photo { object-fit: cover; border: 0; background: none; }
.cause-img { height: 240px; object-fit: cover; border-bottom: 1px solid var(--border2); }
.cause-icon-wrap, .hc-icon, .hc2-icon { font-family: var(--serif); font-weight: 700; letter-spacing: .04em; }
.hc-feat-img { padding: 0; overflow: hidden; }
.hc-feat-img picture, .hc-feat-img img { display: block; width: 100%; height: 100%; }
.hc-feat-img img { object-fit: cover; }
.news-img { width: 100%; height: 210px; object-fit: cover; border-bottom: 1px solid var(--border2); }

.donation-note { margin-top: 10px; color: rgba(255,255,255,.72); font-size: 12px; }
.form-availability { margin: -8px 0 22px; padding: 12px 14px; border-left: 3px solid var(--gold); background: var(--gold-pale); color: var(--brown); font-size: 13px; }
.field-error { min-height: 1.2em; color: #7d111a; font-size: 12px; line-height: 1.35; }
.f-row input[aria-invalid="true"], .f-row select[aria-invalid="true"], .f-row textarea[aria-invalid="true"] { border-color: #a1111e; box-shadow: 0 0 0 2px rgba(161, 17, 30, .12); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent-row { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 4px 0 2px; }
.consent-row input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--maroon); }
.consent-row label { font-size: 13px; color: var(--muted); line-height: 1.55; }
.form-status { min-height: 1.4em; margin-top: 12px; color: var(--muted); font-size: 13px; text-align: center; }
.form-status.unavailable { color: var(--maroon-dark); font-weight: 500; }
.c-map { flex-direction: column; align-items: flex-start; gap: 4px; }

.footer-logo { width: 166px; height: 92px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 14px; }
.social-pending, .f-links span { color: rgba(255,255,255,.5); font-size: 13px; }

@media (max-width: 1024px) {
  .hero-r { display: block; min-height: 460px; }
  .hero-overlay { background: linear-gradient(to bottom, var(--cream) 0%, transparent 18%); }
  .hc-feat-img { display: block; min-height: 360px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-logo img { width: 128px; height: 54px; }
  .nav-right { gap: 8px; }
  .hero-r { min-height: 330px; }
  .hero-float { left: 20px; bottom: 24px; }
  .story-img-side { width: calc(100% - 22px); }
  .story-accent { right: -18px; }
  .cause-img { height: auto; aspect-ratio: 3 / 2; }
  .hc-feat-img { min-height: 280px; }
  .amt-row { align-items: stretch; }
  .amt-row .btn { white-space: normal !important; text-align: center; justify-content: center; }
}

@media (max-width: 520px) {
  .nav-right > .btn { display: none; }
  .hero-stats { overflow-x: auto; }
  .hs-label { display: none; }
  .hs-item { min-width: 104px; padding: 0 10px; }
  .story-accent { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 12px; }
  .amt-row { flex-direction: column; }
  .amt-input-wrap { width: 100%; }
  .footer-logo { margin-inline: auto; object-position: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
