.lf-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.9));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.lf-header__inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.lf-header__brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--gray-50);
}

.lf-header__logo-mark {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 0, #22c55e, #166534);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.4), 0 12px 25px rgba(0, 0, 0, 0.85);
}

.lf-header__logo-inner {
  width: 18px;
  height: 18px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.9);
  background: conic-gradient(from 210deg, #c9a45c, #facc15, #c9a45c, #b45309, #c9a45c);
}

.lf-header__brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lf-header__title {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.4vw, var(--font-size-lg));
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lf-header__subtitle {
  max-width: 17rem;
  font-size: var(--font-size-xs);
  line-height: 1.45;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.lf-header__nav {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.lf-header__nav-list {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.8vw, 1rem);
}

.lf-header__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: clamp(0.72rem, 0.95vw, var(--font-size-sm));
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-300);
  padding-block: 4px;
  white-space: nowrap;
}

.lf-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a45c, #166534);
  transition: width var(--transition-base);
}

.lf-header__nav-link:hover,
.lf-header__nav-link:focus-visible {
  color: var(--gray-50);
}

.lf-header__nav-link:hover::after,
.lf-header__nav-link:focus-visible::after {
  width: 100%;
}

.lf-header__cta-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.lf-header__cta {
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  padding-inline: clamp(0.85rem, 1.8vw, 1.35rem);
}

.lf-header__toggle {
  display: none;
  position: relative;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.95);
  color: var(--gray-100);
  cursor: pointer;
}

.lf-header__toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--gray-100);
  transition: transform var(--transition-base), opacity var(--transition-base), translate var(--transition-base);
}

.lf-header__toggle-bar + .lf-header__toggle-bar {
  margin-top: 4px;
}

.lf-header__toggle[aria-expanded="true"] .lf-header__toggle-bar:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}

.lf-header__toggle[aria-expanded="true"] .lf-header__toggle-bar:last-child {
  transform: rotate(-45deg) translate(3px, -3px);
}

@media (max-width: 1320px) {
  .lf-header__subtitle {
    display: none;
  }
}

@media (max-width: 1120px) {
  .lf-header__inner {
    min-height: 64px;
  }

  .lf-header__nav {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-5) var(--space-4) var(--space-6);
    background: rgba(3, 7, 18, 0.98);
    border-bottom: 1px solid rgba(31, 41, 55, 0.95);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.55);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-base), opacity var(--transition-base);
  }

  .lf-header__nav-list {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .lf-header__nav-link {
    font-size: var(--font-size-md);
    white-space: normal;
  }

  .lf-header__cta-wrap {
    width: 100%;
    margin-top: var(--space-2);
  }

  .lf-header__cta {
    width: 100%;
    justify-content: center;
  }

  .lf-header__toggle {
    display: flex;
  }

  .lf-header__nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .lf-header__title {
    font-size: var(--font-size-md);
    letter-spacing: 0.06em;
  }

  .lf-header--no-scroll {
    overflow: hidden;
  }
}

@media (max-width: 420px) {
  .lf-header__brand {
    gap: var(--space-2);
  }

  .lf-header__logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 14px;
  }

  .lf-header__title {
    font-size: 0.95rem;
  }
}
