.hbc-header { background: var(--hbc-black); color: var(--hbc-white); }
.hbc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 1440px);
  min-height: 60px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5.55vw, 80px);
}
.hbc-header__logo img { display: block; width: min(190px, 58vw); height: auto; }
.hbc-header__desktop { display: none; }
.hbc-header__toggle, .hbc-header__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--hbc-white);
  cursor: pointer;
}
.hbc-header__toggle { margin-inline-end: -10px; }
.hbc-header__close { justify-self: end; margin-inline-end: -10px; }
.hbc-menu-icon { position: relative; display: block; width: 20px; height: 20px; }
.hbc-menu-icon > span {
  position: absolute;
  inset: 9px 0 auto;
  height: 2px;
  background: currentColor;
  transform: translateY(-4px);
  transition: transform 420ms cubic-bezier(.22,.72,.28,1);
}
.hbc-menu-icon > span:last-child { transform: translateY(4px); }
.hbc-header__drawer[open] .hbc-menu-icon > span:first-child,
.hbc-header__toggle[aria-expanded="true"] .hbc-menu-icon > span:first-child { transform: rotate(45deg); }
.hbc-header__drawer[open] .hbc-menu-icon > span:last-child,
.hbc-header__toggle[aria-expanded="true"] .hbc-menu-icon > span:last-child { transform: rotate(-45deg); }
.hbc-header__drawer {
  --hbc-drawer-motion: 460ms cubic-bezier(.22,.72,.28,1);
  position: fixed;
  inset: 0 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  background: var(--hbc-black);
  color: var(--hbc-white);
  transform: translateX(100%);
  transition: transform var(--hbc-drawer-motion), display var(--hbc-drawer-motion) allow-discrete, overlay var(--hbc-drawer-motion) allow-discrete;
}
.hbc-header__drawer[open] { transform: translateX(0); }
.hbc-header__drawer::backdrop {
  background: rgba(9,10,11,.55);
  opacity: 0;
  transition: opacity var(--hbc-drawer-motion), display var(--hbc-drawer-motion) allow-discrete, overlay var(--hbc-drawer-motion) allow-discrete;
}
.hbc-header__drawer[open]::backdrop { opacity: 1; }
@starting-style {
  .hbc-header__drawer[open] { transform: translateX(100%); }
  .hbc-header__drawer[open]::backdrop { opacity: 0; }
  .hbc-header__drawer[open] .hbc-menu-icon > span:first-child { transform: translateY(-4px); }
  .hbc-header__drawer[open] .hbc-menu-icon > span:last-child { transform: translateY(4px); }
}
body:has(.hbc-header__drawer[open]) { overflow: hidden; }
.hbc-header__panel {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 24px;
  min-height: 100%;
  padding: max(12px, env(safe-area-inset-top)) 24px max(32px, env(safe-area-inset-bottom));
}
.hbc-header__panel nav { display: grid; gap: 8px; width: 100%; }
.hbc-header__panel nav a { min-height: 44px; font-size: 20px; line-height: 28px; }
.hbc-header__panel h2 { margin: 0 0 12px; font-size: 14px; }
.hbc-header nav a { position: relative; display: block; padding-block: 8px; color: var(--hbc-white); text-decoration: none; font-weight: 700; }
.hbc-header nav a::after { position: absolute; inset: auto auto 0 0; content: ""; width: 24px; height: 2px; background: var(--hbc-red); opacity: 0; transition: opacity 180ms ease; }
.hbc-header nav a:is([aria-current="page"], :hover, :focus-visible)::after { opacity: 1; }
.hbc-header nav a:hover { color: var(--hbc-muted); }
.hbc-header :is(a, button):focus-visible { outline: 2px solid var(--hbc-focus); outline-offset: 3px; }
@media (min-width: 64rem) {
  .hbc-header__inner { min-height: 104px; }
  .hbc-header__logo img { width: 320px; }
  .hbc-header__desktop { display: flex; gap: clamp(28px, 3vw, 42px); font-size: 14px; }
  .hbc-header__mobile { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hbc-header__drawer, .hbc-header__drawer::backdrop, .hbc-menu-icon > span { transition: none; }
}



#customheader:has(> .hbc-header) { position: sticky; inset-block-start: 0; z-index: 100; }
#customheader > .hbc-header { transition: transform 460ms cubic-bezier(.22,.72,.28,1); }
#customheader.hbc-header--scroll-hidden:not(:has(:focus-visible, .hbc-header__drawer[open])) { pointer-events: none; }
#customheader.hbc-header--scroll-hidden:not(:has(:focus-visible, .hbc-header__drawer[open])) > .hbc-header { transform: translateY(-100%); }
.hbc-header__drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 56px; }
.hbc-header__drawer-top .hbc-header__logo img { width: min(230px, 62vw); }
@media (prefers-reduced-motion: reduce) {
  #customheader > .hbc-header { transition: none; }
}

