.cds-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 236, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.cds-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cds-header__brand {
  display: flex;
  align-items: center;
}

.cds-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #111111;
}

.cds-header__logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.75);
  position: relative;
}

.cds-header__logo-mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 20%, #e4d6b8, #b39b6b);
}

.cds-header__logo-text {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cds-header__nav {
  margin-left: auto;
}

.cds-header__nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.cds-header__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #333333;
  padding: 0.2rem 0;
}

.cds-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #b39b6b, #77725f);
  transition: width 0.2s ease-out;
}

.cds-header__nav-link:focus-visible,
.cds-header__nav-link:hover {
  color: #111111;
}

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

.cds-header__nav-item--cta .cds-header__nav-link--cta {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(179, 155, 107, 0.8);
  color: #111111;
  background: linear-gradient(135deg, rgba(179, 155, 107, 0.08), rgba(119, 114, 95, 0.05));
}

.cds-header__nav-item--cta .cds-header__nav-link--cta::after {
  display: none;
}

.cds-header__nav-item--cta .cds-header__nav-link--cta:hover,
.cds-header__nav-item--cta .cds-header__nav-link--cta:focus-visible {
  background: linear-gradient(135deg, rgba(179, 155, 107, 0.16), rgba(119, 114, 95, 0.14));
}

.cds-header__toggle {
  display: none;
  position: relative;
  padding: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 26, 26, 0.18);
  background: rgba(250, 247, 242, 0.9);
  cursor: pointer;
}

.cds-header__toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #111111;
  border-radius: 999px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

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

.cds-header__toggle:focus-visible {
  outline: 2px solid #b39b6b;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .cds-header__inner {
    padding-inline: 1rem;
  }

  .cds-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .cds-header__nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(244, 241, 236, 0.98);
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
    transform-origin: top;
    transform: scaleY(1);
  }

  .cds-header__nav-list {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.75rem 1rem 1.1rem;
  }

  .cds-header__nav-item {
    width: 100%;
  }

  .cds-header__nav-link,
  .cds-header__nav-item--cta .cds-header__nav-link--cta {
    width: 100%;
    padding: 0.55rem 0.25rem;
  }

  .cds-header--menu-open .cds-header__nav-list {
    display: flex;
  }

  .cds-header--menu-open .cds-header__toggle-bar:first-child {
    transform: translateY(2.75px) rotate(45deg);
  }

  .cds-header--menu-open .cds-header__toggle-bar:last-child {
    transform: translateY(-2.75px) rotate(-45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cds-header,
  .cds-header * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
