/* Site nav shared by public/home.html, public/organizations.html, and src/components/SiteHeader.tsx.
   Desktop: logo, links, and the gold CTA in one row. At 980px and below: logo plus a menu button
   (native <details>, no JS) that opens a panel with the same links and CTA. */

.mfHeader { position: relative; z-index: 50; border-bottom: 1px solid rgba(200, 184, 147, 0.25); background: #061b16; font-family: var(--font-sans, "Source Sans 3"), Calibri, sans-serif; line-height: 1.6; }
.mfNav { display: flex; gap: 16px; align-items: center; justify-content: space-between; box-sizing: border-box; max-width: 1200px; margin: 0 auto; padding: 20px 32px; }
.mfBrand { color: #f3e7cc; font-family: var(--font-brand, "Playfair Display"), Georgia, serif; font-size: 24px; font-weight: 600; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap; }
.mfBrand:hover { color: #f3e7cc; }

.mfNavLinks { display: flex; gap: 28px; align-items: center; }
.mfNav .mfNavLinks a, .mfNav .mfMenuPanel a { color: #f3e7cc; font-size: 16px; text-decoration: none; }
.mfNav .mfNavLinks a:hover, .mfNav .mfMenuPanel a:hover { color: #c8b893; }
.mfNav a[aria-current="page"] { padding-bottom: 2px; border-bottom: 2px solid #c8b893; color: #c8b893; font-weight: 700; }
.mfNav a.mfNavCta { display: inline-flex; min-height: 44px; box-sizing: border-box; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 4px; background: #c8b893; color: #061b16; font-weight: 700; }
.mfNav a.mfNavCta:hover { background: #dfd3b4; color: #061b16; }

.mfMenu { display: none; }
.mfMenu summary { display: grid; width: 44px; height: 44px; box-sizing: border-box; place-items: center; border: 1px solid rgba(200, 184, 147, 0.4); border-radius: 4px; cursor: pointer; list-style: none; }
.mfMenu summary::-webkit-details-marker { display: none; }
.mfMenuIcon, .mfMenuIcon::before, .mfMenuIcon::after { display: block; width: 20px; height: 2px; background: #f3e7cc; transition: transform 160ms ease, background 160ms ease; }
.mfMenuIcon { position: relative; }
.mfMenuIcon::before, .mfMenuIcon::after { position: absolute; left: 0; content: ""; }
.mfMenuIcon::before { top: -6px; }
.mfMenuIcon::after { top: 6px; }
.mfMenu[open] .mfMenuIcon { background: transparent; }
.mfMenu[open] .mfMenuIcon::before { top: 0; transform: rotate(45deg); }
.mfMenu[open] .mfMenuIcon::after { top: 0; transform: rotate(-45deg); }
.mfMenuPanel { position: absolute; top: 100%; right: 0; left: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 32px 24px; border-bottom: 1px solid rgba(200, 184, 147, 0.25); background: #061b16; }
.mfNav .mfMenuPanel a { padding: 10px 0; font-size: 18px; }
.mfNav .mfMenuPanel a.mfNavCta { align-self: stretch; margin-top: 12px; padding: 12px 22px; font-size: 17px; }

@media (max-width: 980px) {
  .mfNavLinks { display: none; }
  .mfMenu { display: block; }
}

@media (max-width: 520px) {
  .mfNav { padding: 14px 16px; }
  .mfBrand { font-size: 20px; }
  .mfMenuPanel { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .mfMenuIcon, .mfMenuIcon::before, .mfMenuIcon::after { transition: none; }
}
