/* Shared header and brand styling. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fcfafbf5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  position: relative;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 180px;
  flex-shrink: 0;
}
.brand img {
  width: 180px;
  height: 66px;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
}
.header-brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.header-llh-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  margin-right: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--tint);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}
.header-llh-link:hover { background: var(--blush); }
.header-llh-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 380px) {
  .header-brand-group { gap: 6px; }
  .header-brand-group .brand, .header-brand-group .brand img { width: 154px; }
  .header-llh-link { margin-right: 4px; padding: 8px 10px; }
}
@media (max-width: 899px) {
  .header-brand-group { flex: 1; min-width: 0; margin-right: 8px; }
  .header-llh-link { flex-shrink: 0; margin-left: auto; margin-right: 0; }
  .site-header .brand,
  .site-header .brand img,
  .header-brand-group .brand,
  .header-brand-group .brand img { width: 140px; }
  .site-header .brand img { height: 54px; }
}
.menu-toggle {
  border: 0;
  background: transparent;
}
.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  padding: 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 15px 20px #24152508;
}
.main-nav.is-open {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.main-nav > a:not(.button) {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: normal;
  padding: 12px 0;
}
.site-header .main-nav > .button {
  font-size: 13px;
  min-height: 40px;
  padding: 9px 14px;
}
.main-nav > a[aria-current='page'] {
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.main-nav > a:hover {
  color: var(--accent-dark);
}
.main-nav > .button:hover {
  color: white;
}

@media (min-width: 900px) {
  .header-inner {
    min-height: 84px;
  }
  .brand {
    width: 200px;
  }
  .brand img {
    width: 200px;
    height: 72px;
  }
  .menu-toggle {
    display: none;
  }
  .main-nav {
    display: flex;
    position: static;
    align-items: center;
    gap: 18px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .main-nav.is-open {
    flex-direction: row;
    gap: 18px;
  }
}
@media (min-width: 1100px) {
  .main-nav,
  .main-nav.is-open {
    gap: 28px;
  }
}
