

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(10, 10, 15, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(58, 58, 74, 0.4);
  transition: height 300ms ease, background 300ms ease;
}

#site-header.scrolled {
  height: 60px;
  background: rgba(10, 10, 15, 0.98);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

.header-wordmark {
  text-decoration: none;
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  margin-right: auto;
}

.wordmark-nova {
  color: #F0EDE8;
}

.wordmark-pro {
  color: #E8C547;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0 auto;
}

.header-nav-link {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: rgba(240, 237, 232, 0.70);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 200ms ease;
  white-space: nowrap;
}

.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #E8C547;
  transition: width 300ms ease;
}

.header-nav-link:hover {
  color: #F0EDE8;
}

.header-nav-link:hover::after {
  width: 100%;
}

.header-nav-link.active {
  color: #F0EDE8;
}

.header-nav-link.active::after {
  width: 100%;
  background: #E8C547;
}

.header-nav-link:focus-visible {
  outline: 2px solid #F0EDE8;
  outline-offset: 3px;
  border-radius: 2px;
}

.header-cta {
  flex-shrink: 0;
  margin-left: auto;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0A0A0F;
  background: #E8C547;
  border: none;
  border-radius: 4px;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, box-shadow 200ms ease, transform 100ms ease;
  cursor: pointer;
}

.header-cta:hover {
  background: #C4923A;
  box-shadow: 0 0 24px rgba(232, 197, 71, 0.15);
}

.header-cta:active {
  transform: scale(0.97);
}

.header-cta:focus-visible {
  outline: 2px solid #F0EDE8;
  outline-offset: 3px;
}

.header-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
}

.toggle-line {
  display: block;
  width: 24px;
  height: 1px;
  background: #F0EDE8;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease;
  transform-origin: center center;
}

.header-menu-toggle[aria-expanded="true"] .toggle-line-top {
  transform: translateY(4.5px) rotate(45deg);
}

.header-menu-toggle[aria-expanded="true"] .toggle-line-bottom {
  transform: translateY(-4.5px) rotate(-45deg);
}

.header-menu-toggle:focus-visible {
  outline: 2px solid #F0EDE8;
  outline-offset: 3px;
  border-radius: 2px;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.98);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 80px 32px 48px;
  gap: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  margin-bottom: 56px;
}

.mobile-nav-link {
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: 500;
  font-size: 28px;
  color: rgba(240, 237, 232, 0.80);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 200ms ease;
}

.mobile-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: #E8C547;
  transition: width 300ms ease;
}

.mobile-nav-link:hover {
  color: #F0EDE8;
}

.mobile-nav-link:hover::after {
  width: 100%;
}

.mobile-nav-link.active {
  color: #F0EDE8;
}

.mobile-nav-link.active::after {
  width: 100%;
}

.mobile-nav-link:focus-visible {
  outline: 2px solid #F0EDE8;
  outline-offset: 3px;
  border-radius: 2px;
}

.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  height: 56px;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0A0A0F;
  background: #E8C547;
  border-radius: 4px;
  transition: background 200ms ease, box-shadow 200ms ease, transform 100ms ease;
}

.mobile-nav-cta:hover {
  background: #C4923A;
  box-shadow: 0 0 24px rgba(232, 197, 71, 0.15);
}

.mobile-nav-cta:active {
  transform: scale(0.97);
}

.mobile-nav-cta:focus-visible {
  outline: 2px solid #F0EDE8;
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .header-inner {
    padding: 0 24px;
  }

  .header-nav {
    gap: 24px;
  }

  .header-nav-link {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  #site-header {
    height: 64px;
  }

  #site-header.scrolled {
    height: 56px;
  }

  .header-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .header-menu-toggle {
    display: flex;
  }

  .mobile-nav-overlay {
    display: flex;
  }

  .header-wordmark {
    margin-right: 0;
  }
}

@media (max-width: 320px) {
  .header-inner {
    padding: 0 16px;
  }

  .header-wordmark {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #site-header,
  .header-nav-link::after,
  .toggle-line,
  .mobile-nav-overlay,
  .header-cta,
  .mobile-nav-cta,
  .mobile-nav-link::after {
    transition: none;
  }
}