/* header.css — site header / primary nav. Matches design/homepage.html header. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand .mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}
.brand .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1;
}
.brand .sub {
  display: block;
  font-size: .56rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--soft-text);
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: var(--small);
  padding: 10px 2px;
  display: inline-block;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu {
  display: none;
}

/* no-JS mobile menu (details/summary) */
.menu summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu[open] .menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 72px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 8px var(--gutter) 18px;
}
.menu-panel a {
  display: block;
  padding: 14px 4px;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }
  .menu {
    display: block;
  }
  .brand .sub {
    display: none;
  }
}
