/* Header / top nav — class .pagehead, kebab-compound naming */

.pagehead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper-pure);
  border-bottom: 1px solid var(--line);
}
.pagehead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.01em;
}
.brand-mark-monogram {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper-pure);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0;
  border-radius: var(--radius-s);
}
.brand-mark-tag {
  display: none;
  margin-left: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}

.pagehead-nav {
  display: none;
  gap: 26px;
}
.pagehead-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 0;
}
.pagehead-nav a:hover { color: var(--accent); }
.pagehead-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.pagehead-cta {
  display: none;
}

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--paper-pure);
  cursor: pointer;
  border-radius: var(--radius-s);
}
.burger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.pagehead-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--paper-pure);
  padding: 88px 24px 32px;
  overflow-y: auto;
  display: none;
}
.pagehead-drawer.is-open { display: block; }
.pagehead-drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--paper-pure);
  font-size: 20px;
  cursor: pointer;
  border-radius: var(--radius-s);
}
.pagehead-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.pagehead-drawer li { margin: 0; border-bottom: 1px solid var(--line); }
.pagehead-drawer a {
  display: block;
  padding: 16px 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.pagehead-drawer .btn { width: 100%; text-align: center; margin-top: 16px; }

@media (min-width: 900px) {
  .burger, .pagehead-drawer { display: none !important; }
  .pagehead-nav { display: flex; }
  .pagehead-cta { display: inline-flex; }
  .pagehead-cta .btn { padding: 10px 18px; font-size: 14px; min-height: 0; }
  .brand-mark-tag { display: inline; }
}
