/* Reset-ish */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.site-header {
  background: #111;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.custom-logo { height: 40px; width: auto; }
.site-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
}

/* Nav */
.primary-nav { /* wrapper nav */ }
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
}
.menu > li > a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.menu > li > a:hover,
.menu > li.current-menu-item > a {
  background: rgba(255,255,255,0.12);
}

/* Toggle button (mobile) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 6px;
  color: #fff;
  cursor: pointer;
}
.nav-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Desktop */
@media (min-width: 769px) {
  .nav-toggle { display: none; }
  .menu { display: flex; }
}

/* Mobile */
@media (max-width: 768px) {
  .site-header .container { height: 56px; }
  .nav-toggle { display: inline-flex; }

  /* Hide menu by default on mobile, show when JS toggles .is-open */
  .menu {
    display: none;
    position: absolute;
    top: 56px;
    left: 0; right: 0;
    background: #111;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .menu.is-open { display: flex; }
  .menu > li > a {
    padding: 12px 16px;
    border-radius: 6px;
  }
}
