
:root {
  --navy: #234281;
  --navy-hsl: 220.21,57.32%,32.16%;
  --coral: #d93a33;
  --ink: #1d2733;
  --gray-bg: #eef0f4;
  --gray-line: #d7dbe3;
  --footer-bg: #000;
  --footer-text: #8f8f8f;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: #fff; color: var(--navy); padding: 0.75em 1.25em;
}
.skip-link:focus { left: 0.5em; top: 0.5em; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: var(--navy);
}
.site-header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9em 1.5em;
}
.site-logo img { height: 40px; width: auto; }
.site-nav { display: none; }
.nav-hamburger {
  background: none; border: none; cursor: pointer; padding: 0.5em;
  display: flex; flex-direction: column; gap: 5px;
}
.nav-hamburger span { width: 26px; height: 2px; background: #fff; display: block; }
@media (min-width: 900px) {
  .site-nav { display: block; }
  .nav-hamburger { display: none; }
}
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.75em; }
.nav-item > a, .nav-folder-toggle {
  color: #fff; font-weight: 800; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.01em; background: none; border: none; cursor: pointer;
  font-family: var(--font); display: flex; align-items: center; gap: 0.4em; padding: 0;
}
.nav-item > a:hover, .nav-folder-toggle:hover { color: #fff; }
.nav-folder { position: relative; }
.nav-dropdown {
  list-style: none; margin: 0; padding: 0.5em 0;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; min-width: 240px; box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  border-radius: 2px; display: none;
}
.nav-folder.is-open .nav-dropdown { display: block; }
.nav-folder.is-open .nav-caret { transform: rotate(180deg); }
/* Confirmed on live: desktop nav uses a real hover-triggered mega-menu plugin
   (window.wmMegaMenuSettings / willmyerscode megaMenu), not a click-only
   toggle -- an earlier pass only checked the theme's native dropdown markup
   and missed that a separate plugin actually drives the real behavior.
   Hover-reveal added here at desktop width, alongside the existing
   click/keyboard toggle (which stays for touch and keyboard accessibility,
   since hover isn't reachable that way). */
@media (min-width: 900px) {
  .nav-folder:hover .nav-dropdown { display: block; }
  .nav-folder:hover .nav-caret { transform: rotate(180deg); }
}
.nav-caret { transition: transform 0.15s ease; }
.nav-dropdown li a {
  display: block; padding: 0.6em 1.25em; color: var(--navy);
  font-size: 0.85rem; font-weight: 600; text-transform: none; white-space: nowrap;
}
.nav-dropdown li a:hover { background: var(--gray-bg); }

/* ---------------- Mobile menu ---------------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 900; background: #fff; overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9em 1.5em;
}
.mobile-menu-header .site-logo img { height: 36px; filter: invert(1) brightness(0) saturate(100%); }
.mobile-menu-header .site-logo { filter: none; }
.mobile-menu-header img { height: 36px; }
.mobile-menu-header img { filter: brightness(0) saturate(100%) invert(17%) sepia(53%) saturate(1200%) hue-rotate(190deg); }
.mobile-menu-close { background: none; border: none; color: var(--navy); cursor: pointer; padding: 0.5em; }
.mobile-menu-nav { padding: 2em 1.5em 3em; }
.mnav-panel[hidden] { display: none; }
.mnav-folder-open, .mnav-link {
  display: flex; align-items: center; justify-content: center; gap: 0.4em;
  width: 100%; background: none; border: none; cursor: pointer;
  font-family: var(--font); font-weight: 800; text-transform: uppercase;
  font-size: 1.4rem; color: var(--navy); text-align: center;
  padding: 0.55em 0; text-decoration: none;
}
.mnav-link--top { font-size: 1.4rem; }
.mnav-back {
  display: flex; align-items: center; gap: 0.4em; margin: 0 auto 1.5em; background: none;
  border: none; color: #9aa4b6; font-weight: 800; text-transform: uppercase;
  font-size: 1.2rem; cursor: pointer; font-family: var(--font);
}

/* ---------------- Footer ---------------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); }
.site-footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 4em 1.5em 2.5em;
  display: grid; grid-template-columns: 1fr; gap: 2.5em;
}
@media (min-width: 800px) {
  .site-footer-inner { grid-template-columns: 1.2fr 1fr 1fr 1fr; align-items: start; }
}
.footer-logo img { height: 70px; margin: 0 auto; }
@media (min-width: 800px) { .footer-logo img { margin: 0; } }
.footer-nav ul, .footer-social { list-style: none; margin: 0; padding: 0; text-align: center; }
@media (min-width: 800px) { .footer-nav ul, .footer-social { text-align: left; } }
.footer-nav li { margin-bottom: 0.75em; }
.footer-nav a { color: #fff; font-weight: 600; }
.footer-nav a:hover { color: var(--coral); }
.footer-social-title { color: var(--coral); font-weight: 700; margin: 0 0 0.75em; }
.footer-social-icons { display: flex; gap: 0.6em; justify-content: center; }
@media (min-width: 800px) { .footer-social-icons { justify-content: flex-start; } }
.social-icon {
  width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #000;
  display: flex; align-items: center; justify-content: center;
}
.site-footer-bottom { text-align: center; padding: 1.5em 1.5em 2.5em; font-size: 0.85rem; }
.site-footer-bottom a { color: var(--footer-text); text-decoration: underline; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
