/* Phone Menu button and desktop nav row (panel fix 5, Dec 4, 2026, 2:27 PM ET).
   Plain details/summary: no JavaScript, keyboard and screen-reader friendly. Linked on every page. */
.site-header nav .nav-menu { display: none; }
.site-header nav .nav-wide { display: flex; flex-wrap: wrap; gap: 7px 5px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 799px) {
  .site-header nav { overflow: visible; margin-inline: 0; padding: 0; max-width: 100%; min-width: 0; -webkit-mask-image: none; mask-image: none; }
  .site-header .header-inner::after { display: none; }
  .site-header nav .nav-wide { display: none; }
  .site-header nav .nav-menu { display: block; }
  .nav-menu > summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
    min-height: 48px; padding: 9px 20px; font: inherit; font-weight: 700; font-size: 21px; line-height: 1.6; color: #1f4d3f;
    background: #fffcf6; border: 2px solid #1f4d3f; border-radius: 6px;
  }
  .nav-menu > summary::-webkit-details-marker { display: none; }
  .nav-menu > summary::marker { content: ""; }
  .nav-menu > summary::after {
    content: ""; width: .6rem; height: .6rem; border-right: 3px solid #1f4d3f; border-bottom: 3px solid #1f4d3f;
    transform: rotate(45deg) translateY(-2px); flex: 0 0 auto;
  }
  .nav-menu[open] > summary { background: #1f4d3f; color: #f5f0e6; border-radius: 6px 6px 0 0; }
  .nav-menu[open] > summary::after { border-color: #f5f0e6; transform: rotate(-135deg) translateY(-2px); }
  .nav-menu > summary:focus-visible { outline: 3px solid #9a6418; outline-offset: 3px; }
  .nav-menu .nav-full { display: grid; gap: 0; width: auto; list-style: none; margin: 0; padding: 0; background: #fffcf6; border: 2px solid #1f4d3f; border-top: 0; border-radius: 0 0 6px 6px; }
  .nav-menu .nav-full li { margin: 0; max-width: none; border-top: 1px solid #d9cbb0; }
  .nav-menu .nav-full li:first-child { border-top: 0; }
  .nav-menu .nav-full a { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 9px 20px; border-radius: 0; font-size: 21px; line-height: 1.6; white-space: normal; }
}
@media print { .nav-menu, .nav-wide { display: none !important; } }

/* v11 (Joe "Do all 5", Dec 4, 2026, 3:15 PM ET): phone header on one row (logo left, Menu right).
   The open Menu drops over the page as a solid paper panel (no texture), so nothing below moves.
   The current page gets a 4px gold bar. Opens over 250ms; no motion under reduced motion. */
@media (max-width: 799px) {
  .site-header { position: relative; padding: 8px 0 !important; }
  .site-header .header-inner { flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; gap: 12px !important; position: relative; }
  .site-header .logo-link { flex: 1 1 auto; min-width: 0; }
  .site-header .logo-link img { height: auto !important; width: 100%; max-width: 230px; }
  .site-header nav { flex: 0 0 auto; position: static !important; }
  .nav-menu { position: static; }
  .nav-menu > summary { min-height: 48px; padding: 8px 16px; font-size: 19px; gap: 12px; }
  .nav-menu[open] > summary { border-radius: 6px; }
  .nav-menu .nav-full {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40;
    border: 2px solid #1f4d3f !important; border-radius: 8px !important; background: #fffcf6 !important;
    box-shadow: 0 12px 32px rgba(28, 27, 24, 0.18);
  }
  .nav-menu .nav-full a { color: #1f4d3f; }
  .nav-menu .nav-full a[aria-current="page"] { background: #fffcf6 !important; color: #1f4d3f !important; box-shadow: inset 4px 0 0 #855614; }
  .nav-menu .nav-full a:hover, .nav-menu .nav-full a:focus-visible { background: #f5f0e6; color: #1c1b18; }
  .nav-menu .nav-full a:focus-visible { outline: 3px solid #855614; outline-offset: -3px; }
}
@media (max-width: 799px) and (prefers-reduced-motion: no-preference) {
  .nav-menu[open] .nav-full { animation: pss-menu-open 250ms ease-out; }
  .nav-menu > summary { transition: background-color 200ms ease-out, color 200ms ease-out; }
}
@keyframes pss-menu-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
/* v11: fixed logo height on phones so the header never shifts while the logo loads. */
@media (max-width: 799px) {
  .site-header .logo-link { height: 48px; overflow: hidden; }
  .site-header .logo-link img { height: 48px !important; width: auto !important; max-width: 100%; object-fit: contain; object-position: left center; }
}
@media (max-width: 799px) { .site-header .logo-link { height: 56px; } .site-header .logo-link img { height: 56px !important; } }
