.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-menu-toggle,
.mobile-menu-button,
.mobile-nav {
  display: none;
}

.mobile-menu-button {
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: var(--ink);
}

.mobile-nav {
  overflow: hidden;
  max-height: 0;
  border-top: 1px solid var(--border-soft);
  background: var(--surface);
  transition: max-height 0.25s ease;
}

.mobile-nav .container {
  display: grid;
  gap: 0.25rem;
  padding-block: 0.9rem;
}

.mobile-nav a:not(.btn) {
  border-radius: var(--radius-md);
  padding: 0.65rem 0.75rem;
  color: var(--ink);
  font-weight: 700;
}

.mobile-nav a:not(.btn):hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

.site-header:has(.mobile-menu-toggle:checked) .mobile-nav {
  max-height: 80vh;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  color: var(--ink);
}

.footer-brand {
  color: #fff;
  font-size: 1.05rem;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  display: block;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu a:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}
