.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s ease;
}
.site-header.is-solid {
  background: rgba(247, 244, 238, 0.95);
  border-bottom: 1px solid var(--line);
}
.site-header.is-overlay:not(.is-solid) .nav-link,
.site-header.is-overlay:not(.is-solid) .menu-btn {
  color: var(--ivory);
}
.header-inner {
  display: grid;
  grid-template-columns: minmax(8.5rem, 1fr) auto minmax(8.5rem, 1fr);
  align-items: center;
  min-height: 68px;
  padding: 0 1.5rem;
  max-width: 90rem;
  margin: 0 auto;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  line-height: 0;
}
.wordmark img {
  display: none;
  height: 48px;
  width: auto;
  max-width: min(15rem, 52vw);
}
.wordmark .logo-on-light {
  display: block;
}
.site-header.is-overlay:not(.is-solid) .logo-on-light {
  display: none;
}
.site-header.is-overlay:not(.is-solid) .logo-on-dark {
  display: block;
}
.desktop-nav {
  display: none;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 1.1rem;
  height: 44px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  height: 44px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  opacity: 0.85;
  position: relative;
}
.nav-link:hover,
.nav-link.is-active {
  opacity: 1;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: center 31px;
  background-repeat: no-repeat;
}
.nav-drop {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
}
.nav-drop > .nav-link {
  gap: 0.45em;
}
.nav-drop > .nav-link::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 3.5px solid currentColor;
  transform: translateY(1px);
}
.nav-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 14rem;
  background: var(--ivory);
  color: var(--charcoal);
  border: 1px solid var(--line);
  padding: 1.1rem 1.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease;
  transform: translate(-50%, 8px);
}
.nav-drop:hover .nav-panel,
.nav-drop:focus-within .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-panel a {
  display: block;
  padding: 0.35rem 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-panel a:hover {
  color: var(--ink);
}
.nav-mega {
  width: 36rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}
.header-cta {
  display: none;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
}
.menu-btn {
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: var(--ink);
}
.menu-btn span {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  margin: 5px auto;
}
.mobile-menu .logo-on-light {
  display: block;
}
.mobile-menu .logo-on-dark {
  display: none;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #f7f4ee;
  padding: 1.5rem;
  overflow: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.mobile-menu a,
.mobile-menu button.acc {
  font-family: var(--font-serif);
  font-size: 2rem;
  background: none;
  border: 0;
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.acc-panel {
  display: none;
  padding: 0.5rem 0 1rem;
}
.acc-panel.is-open {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.acc-panel a {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 0;
}
.header-spacer {
  height: 68px;
}
.sticky-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: rgba(247, 244, 238, 0.95);
  border-top: 1px solid var(--line);
}
@media (min-width: 1200px) {
  .desktop-nav,
  .header-cta {
    display: flex;
  }
  .menu-btn,
  .sticky-bar {
    display: none;
  }
}
.franchise-link:hover {
  opacity: 1;
}
