/* Vencelia — headbar (sticky site header) */

.headbar {
  position: sticky;
  top: 0;
  z-index: 15;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.headbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.headbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  display: inline-block;
  width: 30px; height: 30px;
  background: var(--blood);
  position: relative;
  border-radius: 2px;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 6px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  border-top-color: transparent;
  transform: rotate(35deg);
}
.brand__name { line-height: 1; }

.headbar__nav { display: none; }
.headbar__nav-list {
  display: flex; gap: 28px; list-style: none; margin: 0; padding: 0;
}
.headbar__nav-link {
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink); padding: 8px 0;
}
.headbar__nav-link:hover, .headbar__nav-link[aria-current="page"] {
  color: var(--blood); text-decoration: none;
  box-shadow: inset 0 -2px 0 var(--blood);
}

.headbar__cta {
  display: none;
  font-size: 13px;
  padding: 10px 18px;
  min-height: 44px;
}

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0;
  background: transparent; border: 1px solid var(--ink-deep);
  cursor: pointer;
  border-radius: 0;
}
.menu-btn__bar {
  display: block; width: 22px; height: 2px; background: var(--ink-deep);
  position: relative;
}
.menu-btn__bar::before, .menu-btn__bar::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink-deep);
}
.menu-btn__bar::before { top: -7px; }
.menu-btn__bar::after { top: 7px; }

@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .headbar__nav { display: block; }
  .headbar__cta { display: inline-flex; }
}

/* Drawer (mobile fullscreen overlay) */
.drawer {
  position: fixed; inset: 0;
  background: var(--paper);
  z-index: 70;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 240ms ease;
  visibility: hidden;
  overflow-y: auto;
}
.drawer[data-open="true"] { transform: translateX(0); visibility: visible; }
.drawer__top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px var(--pad);
  border-bottom: 1px solid var(--line);
  min-height: 72px;
}
.drawer__close {
  width: 48px; height: 48px; background: transparent; border: 1px solid var(--ink-deep);
  font-size: 28px; line-height: 1; color: var(--ink-deep); cursor: pointer;
}
.drawer__body { padding: 28px var(--pad) 48px; flex: 1; }
.drawer__nav-list { list-style: none; margin: 0 0 32px; padding: 0; }
.drawer__nav-list li { border-bottom: 1px solid var(--line); }
.drawer__nav-link {
  display: block; padding: 18px 0;
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-deep);
}
.drawer__nav-link[aria-current="page"] { color: var(--blood); }
.drawer__contact { margin-top: 24px; font-size: 14px; color: var(--muted); }
.drawer__contact a { display: block; margin: 4px 0; color: var(--ink-deep); }

@media (min-width: 1024px) { .drawer { display: none; } }

body[data-locked="true"] { overflow: hidden; }
