/* Aqua unified header
   Shared by the homepage, treatment LPs, fascia pages, and symptom pages. */

body.menu-open {
  overflow: hidden;
}

.site-header.aqua-unified-header {
  position: sticky;
  top: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: none;
  min-height: 72px;
  height: auto;
  margin: 0;
  padding: 10px 18px;
  border: 0;
  border-bottom: 1px solid rgba(184, 146, 53, 0.34);
  background: rgba(5, 17, 42, 0.97);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(130%);
}

.aqua-unified-header .brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.aqua-unified-header .brand-kicker {
  color: #d5bb73;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.3;
}

.aqua-unified-header .brand-name {
  display: block;
  color: #fff;
  font-family: "Noto Serif JP", "Yu Mincho", YuMincho, serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.25;
  white-space: nowrap;
}

.aqua-unified-header .brand-name strong {
  color: #d7b655;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35em;
  letter-spacing: 0.13em;
}

.aqua-unified-header .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(216, 181, 90, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4d577;
  font: inherit;
}

.aqua-unified-header .menu-bars,
.aqua-unified-header .menu-bars::before,
.aqua-unified-header .menu-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.aqua-unified-header .menu-bars {
  position: relative;
  transition: background-color 160ms ease;
}

.aqua-unified-header .menu-bars::before,
.aqua-unified-header .menu-bars::after {
  position: absolute;
  left: 0;
  transition: top 160ms ease, transform 160ms ease;
}

.aqua-unified-header .menu-bars::before {
  top: -6px;
}

.aqua-unified-header .menu-bars::after {
  top: 6px;
}

.aqua-unified-header .menu-toggle[aria-expanded="true"] .menu-bars {
  background: transparent;
}

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

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

.aqua-unified-header .site-nav {
  position: fixed;
  inset: 72px 12px auto;
  z-index: 130;
  display: none;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100dvh - 92px);
  padding: 12px;
  overflow-y: auto;
  border: 1px solid rgba(216, 181, 90, 0.4);
  border-radius: 8px;
  background: #081a3a;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.32);
}

.aqua-unified-header .site-nav.is-open {
  display: flex;
}

.aqua-unified-header .site-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.aqua-unified-header .site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.aqua-unified-header .site-nav .nav-reserve {
  border-color: #d3ac48;
  background: #d3ac48;
  color: #071a3b;
}

.aqua-unified-header .site-nav .nav-line {
  border-color: #278a55;
  background: #1d7c4a;
  color: #fff;
}

.aqua-unified-header a:focus-visible,
.aqua-unified-header button:focus-visible {
  outline: 3px solid #f4c75c;
  outline-offset: 3px;
}

@media (min-width: 960px) {
  .site-header.aqua-unified-header {
    min-height: 76px;
    padding: 8px 24px;
  }

  .aqua-unified-header .brand-name {
    font-size: 0.92rem;
  }

  .aqua-unified-header .menu-toggle {
    display: none;
  }

  .aqua-unified-header .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    max-height: none;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .aqua-unified-header .site-nav a {
    min-height: 42px;
    padding: 7px 6px;
    font-size: 0.76rem;
  }

  .aqua-unified-header .site-nav .nav-reserve,
  .aqua-unified-header .site-nav .nav-line {
    padding-inline: 11px;
  }
}

@media (min-width: 1200px) {
  .site-header.aqua-unified-header {
    padding-inline: 32px;
  }

  .aqua-unified-header .site-nav a {
    padding-inline: 9px;
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.aqua-unified-header {
    background: #05112a;
    backdrop-filter: none;
  }
}
