/* The site nav, shared by every page with a header. Selectors start with "html body" so they win
   over each page's own older header rules without touching them. */
html body nav.site-nav { display: flex; align-items: center; gap: 22px; font-size: 15px; flex-wrap: nowrap; }
html body nav.site-nav a { color: var(--ink, #1b1c19); text-decoration: none; white-space: nowrap; }
html body nav.site-nav a:hover { color: #2a4677; }
html body nav.site-nav a[aria-current] { color: #2a4677; font-weight: 500; }
html body nav.site-nav a.nav-cta { background: #2a4677; color: #ffffff; border: 0; border-radius: 6px; padding: 9px 16px; font-weight: 500; display: inline-block !important; }
html body nav.site-nav a.nav-cta:hover { background: #1f3560; color: #ffffff; }

.nav-group { display: flex; align-items: center; gap: 12px; }
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; font-size: 15px; color: var(--ink, #1b1c19); border: 1px solid var(--ink-3, #6b6d65); border-radius: 6px; padding: 8px 14px; line-height: 1.2; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] summary { border-color: var(--ink, #1b1c19); }
.nav-menu .nav-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 210px; display: grid; padding: 6px; background: #f4f0e6; border: 1px solid #d8d1bf; border-radius: 10px; box-shadow: 0 8px 24px rgba(27, 28, 25, .12); }
.nav-menu .nav-panel a { color: #1b1c19; text-decoration: none; font-size: 16px; padding: 11px 12px; border-radius: 6px; }
.nav-menu .nav-panel a:hover, .nav-menu .nav-panel a:focus-visible { background: #ebe5d6; }
.nav-menu .nav-panel a[aria-current] { color: #2a4677; font-weight: 500; }

@media (max-width: 980px) {
  html body nav.site-nav a:not(.nav-cta) { display: none; }
  .nav-menu { display: block; }
}
/* phones: the name goes onto two lines ("Zen Design" / "& Solutions") so Menu and the audit button fit */
@media (max-width: 480px) {
  html body .wordmark { white-space: normal; font-size: 18px; line-height: 1.12; }
  html body .wordmark b { display: block; }
  .nav-group { gap: 8px; }
  html body nav.site-nav a.nav-cta { padding: 8px 12px; font-size: 14.5px; }
  .nav-menu summary { padding: 7px 11px; font-size: 14.5px; }
}
