.header-shell {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(248, 243, 234, 0.96), rgba(248, 243, 234, 0.9), rgba(248, 243, 234, 0.85));
  border-bottom: 1px solid rgba(43, 33, 27, 0.06);
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  height: var(--header-height);
}
.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  flex: 0 0 auto;
  min-width: 0;
}
.header-brand-mark {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--color-espresso);
}
.header-brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  flex: 1 1 auto;
  min-width: 0;
}
.header-nav-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.header-nav-item {
  margin: 0;
}
.header-nav-link {
  position: relative;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  padding: 0.1rem 0;
  white-space: nowrap;
}
.header-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 107, 60, 0.9), rgba(242, 164, 90, 0.2));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--transition-normal) var(--easing-soft);
}
.header-nav-link:hover {
  color: var(--color-primary-strong);
}
.header-nav-link:hover::after {
  transform: scaleX(1);
}
.header-nav-link.is-active {
  color: var(--color-primary-strong);
}
.header-nav-link.is-active::after {
  transform: scaleX(1);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  margin-left: 0.5rem;
}
.header-cta-secondary {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}
.header-cta-secondary:hover {
  color: var(--color-primary-strong);
}
.header-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.24rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(43, 33, 27, 0.16);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0;
  cursor: pointer;
}
.header-toggle-bar {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background-color: var(--color-espresso);
  transform-origin: center;
  transition: transform var(--transition-normal) var(--easing-soft), opacity var(--transition-fast);
}
.header-layout-left .header {
  justify-content: flex-start;
}
.header-layout-center .header {
  justify-content: center;
}
.header-layout-center .header-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.header-layout-split .header {
  justify-content: space-between;
}
.header-mobile-open .header-nav {
  display: flex;
}
.header-mobile-open .header-cta {
  display: flex;
}
.header-mobile-open .header-toggle-bar:first-child {
  transform: translateY(3px) rotate(45deg);
}
.header-mobile-open .header-toggle-bar:last-child {
  transform: translateY(-3px) rotate(-45deg);
}
@media (max-width: 1023.98px) {
  .header {
    position: relative;
    height: auto;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .header-brand {
    position: static;
    transform: none;
    max-width: calc(100% - 3.5rem);
    min-width: 0;
  }
  .header-brand-sub {
    display: none;
  }
  .header-layout-left .header,
  .header-layout-center .header,
  .header-layout-split .header {
    justify-content: space-between;
  }
  .header-layout-center .header-brand {
    left: auto;
  }
  .header-toggle {
    display: inline-flex;
    margin-left: auto;
    z-index: 3;
  }
  .header-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-top: 0.15rem;
    padding-bottom: 0.35rem;
  }
  .header-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    width: 100%;
  }
  .header-nav-item {
    width: 100%;
  }
  .header-nav-link {
    display: inline-flex;
    width: 100%;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
  }
  .header-cta {
    display: none;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-left: 0;
    padding-bottom: 0.35rem;
  }
  .header-mobile-open .header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .header-mobile-open .header-toggle {
    position: absolute;
    top: 0.45rem;
    right: 0;
  }
  .header-mobile-open .header-brand {
    padding-right: 3.1rem;
  }
}
@media (min-width: 1024px) {
  .header {
    height: 3.75rem;
  }
  .header-nav {
    overflow: hidden;
  }
  .header-toggle {
    display: none;
  }
}
