.rt-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.rt-header__inner {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  gap: var(--space-5);
}

.rt-header__brand {
  flex: 0 1 auto;
  max-width: 20rem;
}

.rt-header .rt-brand__crest {
  flex-basis: 3.25rem;
  width: 3.25rem;
  height: 3.25rem;
}

.rt-header__nav {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-4);
}

.rt-header__nav-list {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.5rem);
  margin: 0;
  padding: 0;
}

.rt-header__nav-list li,
.rt-header__nav-list li + li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.rt-header__nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--color-ivory);
  font-size: var(--text-nav);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.rt-header__nav-list a:hover,
.rt-header__nav-list a[aria-current="page"] {
  color: var(--color-brass-soft);
}

.rt-header__nav-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.3125rem;
  border: 1px solid var(--color-brass-muted);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-ivory);
  padding: 0.625rem;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  border-color: var(--color-brass-soft);
  background: var(--color-forest);
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 1px;
  background: currentColor;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.375rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.375rem) rotate(-45deg);
}

.rt-header__mobile-only {
  display: none !important;
}

@media (max-width: 68.6875rem) {
  .rt-header__inner {
    position: relative;
    min-height: 5rem;
    justify-content: space-between;
  }

  .rt-header__brand {
    max-width: calc(100% - 4rem);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .rt-header__nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    border-top: 1px solid var(--color-brass-muted);
    border-bottom: 1px solid var(--color-brass-muted);
    background: var(--color-forest);
    padding: var(--space-5) var(--page-padding);
  }

  .rt-header__nav.is-open {
    display: grid;
    gap: var(--space-5);
  }

  .rt-header__nav-list {
    display: grid;
    gap: 0;
    align-items: stretch;
  }

  .rt-header__nav-list li {
    border-bottom: 1px solid var(--color-brass-muted);
  }

  .rt-header__nav-list a {
    width: 100%;
    min-height: 3rem;
  }

  .rt-header__nav-cta {
    justify-self: start;
  }

  .rt-header__mobile-only {
    display: flex !important;
  }
}

@media (max-width: 29.9375rem) {
  .rt-header__inner {
    min-height: 4.5rem;
    gap: var(--space-3);
  }

  .rt-header .rt-brand__crest {
    flex-basis: 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .rt-header .rt-brand__title {
    font-size: 1.5rem;
  }

  .rt-header .rt-brand__subtitle {
    display: none;
  }

  .rt-header__nav {
    max-height: calc(100vh - 4.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle span {
    transition: none;
  }
}

ul { list-style: none !important; }
.nav-toggle { flex-direction: column; }
