.tc-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(7, 8, 12, 0.96), rgba(7, 8, 12, 0.88));
  border-bottom: 1px solid rgba(215, 185, 138, 0.2);
}

.tc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
  gap: var(--space-4);
}

.tc-header-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.tc-header-logo-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.tc-header-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: radial-gradient(circle at 20% 0, rgba(215, 185, 138, 0.8), rgba(126, 30, 50, 0.9));
  color: #0a0b0f;
  box-shadow: var(--shadow-sm);
}

.tc-header-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tc-header-logo-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tc-header-logo-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.tc-header-nav {
  display: flex;
  align-items: center;
}

.tc-header-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 0;
  margin: 0;
}

.tc-header-nav-link {
  position: relative;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-block: 0.4rem;
}

.tc-header-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent-champagne), var(--color-primary));
  transition: width var(--transition-base);
}

.tc-header-nav-link:hover,
.tc-header-nav-link:focus-visible {
  color: var(--gray-50);
}

.tc-header-nav-link:hover::after,
.tc-header-nav-link:focus-visible::after {
  width: 100%;
}

.tc-header-nav-cta {
  padding-inline: 1.1rem;
  padding-block: 0.45rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(215, 185, 138, 0.6);
  background: radial-gradient(circle at 0 0, rgba(215, 185, 138, 0.18), rgba(15, 16, 20, 0.9));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
  color: var(--gray-50);
}

.tc-header-nav-cta::after {
  display: none;
}

.tc-header-nav-cta:hover,
.tc-header-nav-cta:focus-visible {
  background: radial-gradient(circle at 0 0, rgba(215, 185, 138, 0.3), rgba(15, 16, 20, 1));
  border-color: var(--color-accent-champagne);
}

.tc-header-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(215, 185, 138, 0.45);
  background: rgba(7, 8, 12, 0.95);
  align-items: center;
  justify-content: center;
  padding: 0;
}

.tc-header-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
  transition: transform var(--transition-base), opacity var(--transition-fast), translate var(--transition-base);
}

.tc-header-toggle-bar + .tc-header-toggle-bar {
  margin-top: 6px;
}

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

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

@media (max-width: 960px) {
  .tc-header-inner {
    padding-top: var(--space-2);
    padding-bottom: var(--space-2);
  }

  .tc-header-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .tc-header-nav {
    position: fixed;
    inset-block-start: 63px;
    inset-inline: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-fast);
    background: radial-gradient(circle at top, rgba(215, 185, 138, 0.15), transparent 55%), #050609;
    padding-top: 10px;
    padding-bottom: var(--space-8);
  }

  .tc-header-nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .tc-header-nav-link {
    font-size: 0.95rem;
  }

  .tc-header-nav-cta {
    margin-top: var(--space-2);
  }

  .tc-header-nav-open .tc-header-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .tc-header-nav-open body {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .tc-header-logo-subtitle {
    display: none;
  }
}
