:root {
  --ab-header-height: 90px;
  --ab-header-width: 1180px;
  --ab-header-inline: 24px;
  --ab-header-logo-size: 34px;
  --ab-header-breakpoint: 760px;
}

.ab-site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  min-height: var(--ab-header-height);
  color: #fff;
}

.ab-site-header__inner {
  display: flex;
  width: min(100%, calc(var(--ab-header-width) + (var(--ab-header-inline) * 2)));
  min-height: var(--ab-header-height);
  margin-inline: auto;
  padding-inline: var(--ab-header-inline);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.ab-site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 174px;
  height: 44px;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.ab-site-brand__mark {
  display: block;
  flex: 0 0 var(--ab-header-logo-size);
  width: var(--ab-header-logo-size);
  height: var(--ab-header-logo-size);
}

.ab-site-brand__name {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.ab-site-nav {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.ab-site-nav a {
  position: relative;
  display: inline-flex;
  height: 40px;
  padding: 0 13px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.ab-site-nav a:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.ab-site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.ab-site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 13px;
  bottom: 5px;
  left: 13px;
  height: 1px;
  background: #ff6a1a;
  content: "";
}

.ab-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: rgba(15, 17, 21, .46);
  color: #fff;
  cursor: pointer;
}

.ab-menu-toggle__icon,
.ab-menu-toggle__icon::before,
.ab-menu-toggle__icon::after {
  display: block;
  width: 18px;
  height: 1px;
  margin-inline: auto;
  background: currentColor;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}

.ab-menu-toggle__icon {
  position: relative;
}

.ab-menu-toggle__icon::before {
  position: absolute;
  top: -6px;
}

.ab-menu-toggle__icon::after {
  position: absolute;
  top: 6px;
}

.ab-menu-toggle[aria-expanded="true"] .ab-menu-toggle__icon {
  background: transparent;
}

.ab-menu-toggle[aria-expanded="true"] .ab-menu-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.ab-menu-toggle[aria-expanded="true"] .ab-menu-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 760px) {
  :root {
    --ab-header-height: 76px;
    --ab-header-inline: 20px;
  }

  .ab-site-header__inner {
    position: relative;
    gap: 16px;
  }

  .ab-site-brand {
    min-width: 0;
  }

  .ab-menu-toggle {
    display: block;
    flex: 0 0 44px;
  }

  .ab-site-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: var(--ab-header-inline);
    left: var(--ab-header-inline);
    display: none;
    min-height: 0;
    padding: 10px;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: rgba(15, 17, 21, .97);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
  }

  .ab-site-nav[data-open="true"] {
    display: grid;
  }

  .ab-site-nav a {
    width: 100%;
    justify-content: flex-start;
  }

  .ab-site-nav a[aria-current="page"]::after {
    right: auto;
    bottom: 8px;
    width: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-site-nav a,
  .ab-menu-toggle__icon,
  .ab-menu-toggle__icon::before,
  .ab-menu-toggle__icon::after {
    transition: none;
  }
}
