/* Holzbergh — header + mobile menu */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  /* NO backdrop-filter / transform — would trap fullscreen mobile overlay */
}

.masthead__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--bound);
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}

.logotype {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.logotype__monogram {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--plum);
  font-style: italic;
}
.logotype:hover { color: var(--plum); text-decoration: none; }

.masthead__nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.masthead__nav a {
  font-family: var(--sans);
  font-size: 0.94rem;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
}
.masthead__nav a:hover { color: var(--plum); }
.masthead__nav a[aria-current="page"] { color: var(--plum); }
.masthead__nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--plum);
}

.masthead__cta {
  display: none;
  padding: 10px 20px;
  font-size: 0.88rem;
}

@media (min-width: 1024px) {
  .masthead__nav { display: inline-flex; }
  .masthead__cta { display: inline-flex; }
}

/* Burger */
.toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--rad);
  cursor: pointer;
  padding: 0;
}
.toggle:hover { background: var(--chalk); border-color: var(--ink); }
.toggle__icon {
  display: block;
  width: 18px;
  height: 12px;
  position: relative;
}
.toggle__icon::before,
.toggle__icon::after,
.toggle__icon span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--ink);
  display: block;
}
.toggle__icon::before { top: 0; }
.toggle__icon span { top: 5px; }
.toggle__icon::after { bottom: 0; }
@media (min-width: 1024px) { .toggle { display: none; } }

/* Mobile sheet */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s ease;
  overflow-y: auto;
}
.sheet[aria-hidden="false"] { transform: translateX(0); }
.sheet__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}
.sheet__shut {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--rad);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sheet__shut svg { width: 16px; height: 16px; }
.sheet__shut:hover { background: var(--ink); }
.sheet__shut:hover svg path { stroke: var(--chalk); }

.sheet__body {
  flex: 1;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sheet__body a {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.sheet__body a:hover { color: var(--plum); }
.sheet__body a:last-child { border-bottom: none; }

.sheet__bottom {
  padding: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--slate);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sheet__bottom a { color: var(--ink); }

body.no-scroll { overflow: hidden; }
