.l-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gp-color-border);
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--gp-header-height);
}

.l-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.l-header__logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gp-color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.l-header__logo-mark-text {
  color: var(--gp-color-accent);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.l-header__logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  flex-shrink: 0;
}

.l-header__logo-text {
  line-height: 1.25;
}

.l-header__logo-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--gp-color-text);
}

.l-header__logo-sub {
  font-size: 10.5px;
  color: var(--gp-color-text-sub);
  letter-spacing: 0.03em;
}

.l-header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.l-header__nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gp-color-text-body);
  white-space: nowrap;
}

.l-header__nav-link.is-current {
  font-weight: 700;
  color: var(--gp-color-accent);
}

/* A CTA nav item (button styling) must never be repainted by the
   accent-on-transparent "current page" state — that would put accent text
   on the button's own accent background and make the label unreadable. */
.l-header__nav-link.is-current.c-button {
  color: #fff;
}

.l-header__toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.l-header__toggle-icon {
  position: relative;
  width: 22px;
  height: 16px;
}

.l-header__toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gp-color-text);
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.l-header__toggle-icon span:nth-child(1) { top: 0; }
.l-header__toggle-icon span:nth-child(2) { top: 7px; }
.l-header__toggle-icon span:nth-child(3) { top: 14px; }

.is-nav-open .l-header__toggle-icon span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.is-nav-open .l-header__toggle-icon span:nth-child(2) {
  opacity: 0;
}
.is-nav-open .l-header__toggle-icon span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .l-header__inner {
    height: var(--gp-header-height-sp);
  }

  .l-header__toggle {
    display: flex;
  }

  .l-header__nav {
    position: fixed;
    top: var(--gp-header-height-sp);
    left: 0;
    right: 0;
    height: calc(100vh - var(--gp-header-height-sp));
    height: calc(100dvh - var(--gp-header-height-sp));
    z-index: 49;
    background: var(--gp-color-bg-white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    gap: 0;
  }

  .is-nav-open .l-header__nav {
    transform: translateX(0);
  }

  .l-header__nav-link {
    padding: 18px 4px;
    border-bottom: 1px solid var(--gp-color-border);
    font-size: 15px;
  }

  .l-header__nav-link.c-button {
    margin-top: 20px;
    justify-content: center;
    border-bottom: none;
  }
}
