.ct-header-wrap {
  --ct-bg: #fdf6ee;
  --ct-fg: #0e0c19;
  --ct-accent: #b5542a;
  --ct-accent-dark: #943f1c;
  --ct-on-accent: #ffffff;
  --ct-border: rgba(14, 12, 25, 0.06);
  --ct-border-strong: rgba(14, 12, 25, 0.1);
  --ct-shadow: 0 1px 0 rgba(14, 12, 25, 0.04);
  --ct-font-sans: 'Source Sans Pro', system-ui, -apple-system, sans-serif;
  --ct-font-display: 'Playfair Display', Georgia, serif;
  --ct-radius-pill: 999px;
  --ct-max: 1100px;
  --ct-transition: 0.2s ease;

  background: var(--ct-bg);
  box-shadow: var(--ct-shadow);
  font-family: var(--ct-font-sans);
  color: var(--ct-fg);
  -webkit-font-smoothing: antialiased;
  position: relative;
}
.ct-header-wrap *,
.ct-header-wrap *::before,
.ct-header-wrap *::after { box-sizing: border-box; }

.ct-header__skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ct-fg);
  color: var(--ct-on-accent) !important;
  padding: 10px 14px;
  z-index: 1000;
  text-decoration: none !important;
  border-radius: 0 0 6px 0;
}
.ct-header__skip:focus { left: 0; }

.ct-header {
  max-width: var(--ct-max);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ct-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.ct-header__brand:focus-visible {
  outline: 2px solid var(--ct-accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.ct-header__logo {
  height: 56px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.ct-header__brand-stack { display: flex; flex-direction: column; line-height: 1; }
.ct-header__brand-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--ct-accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ct-header__brand-name {
  font-family: var(--ct-font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ct-accent);
  line-height: 1;
}

.ct-header__nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ct-header__nav-item { display: inline-flex; }
.ct-header__nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ct-fg) !important;
  text-decoration: none !important;
  transition: color var(--ct-transition);
  white-space: nowrap;
  padding: 4px 2px;
  border-radius: 2px;
}
.ct-header__nav-link:hover,
.ct-header__nav-link:focus-visible { color: var(--ct-accent) !important; }
.ct-header__nav-link:focus-visible {
  outline: 2px solid var(--ct-accent);
  outline-offset: 4px;
}
.ct-header__nav-link[aria-current="page"] { color: var(--ct-accent) !important; }

.ct-header__cta {
  display: inline-block;
  background: var(--ct-accent);
  color: var(--ct-on-accent) !important;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--ct-radius-pill);
  text-decoration: none !important;
  white-space: nowrap;
  transition: background var(--ct-transition), transform 0.15s ease;
  flex-shrink: 0;
}
.ct-header__cta:hover,
.ct-header__cta:focus-visible {
  background: var(--ct-accent-dark);
  transform: translateY(-1px);
}
.ct-header__cta:focus-visible {
  outline: 2px solid var(--ct-fg);
  outline-offset: 3px;
}
.ct-header__cta--mobile { display: none; }

.ct-header__toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.ct-header__toggle:focus-visible ~ .ct-header .ct-header__burger {
  outline: 2px solid var(--ct-accent);
  outline-offset: 2px;
}
.ct-header__burger {
  display: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 0;
  flex-shrink: 0;
  border-radius: 6px;
}
.ct-header__burger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ct-fg);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.ct-header__toggle:checked ~ .ct-header .ct-header__burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ct-header__toggle:checked ~ .ct-header .ct-header__burger-bar:nth-child(2) { opacity: 0; }
.ct-header__toggle:checked ~ .ct-header .ct-header__burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .ct-header__nav-link,
  .ct-header__cta,
  .ct-header__burger-bar { transition: none; }
  .ct-header__cta:hover { transform: none; }
}

@media (max-width: 1100px) {
  .ct-header { padding: 14px 20px; gap: 16px; }
  .ct-header__cta { display: none; }
  .ct-header__burger { display: flex; }
  .ct-header__nav {
    display: none;
    order: 99;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--ct-bg);
    padding: 16px 0 8px;
    margin-top: 8px;
    gap: 0;
    border-top: 1px solid var(--ct-border-strong);
  }
  .ct-header__nav-item { display: block; width: 100%; }
  .ct-header__nav-link {
    padding: 14px 4px;
    border-bottom: 1px solid var(--ct-border);
    font-size: 16px;
    width: 100%;
    text-align: left;
    display: block;
  }
  .ct-header__nav-item:last-child .ct-header__nav-link { border-bottom: none; }
  .ct-header__cta--mobile {
    display: inline-block;
    background: var(--ct-accent);
    color: var(--ct-on-accent) !important;
    padding: 12px 24px;
    border-radius: var(--ct-radius-pill);
    text-align: center;
    margin-top: 14px;
    border-bottom: none !important;
    width: auto;
    align-self: flex-start;
    font-weight: 700;
  }
  .ct-header__cta--mobile:hover,
  .ct-header__cta--mobile:focus-visible {
    background: var(--ct-accent-dark);
    color: var(--ct-on-accent) !important;
  }
  .ct-header__toggle:checked ~ .ct-header .ct-header__nav { display: flex; }
}

@media (max-width: 600px) {
  .ct-header { padding: 12px 16px; gap: 12px; }
  .ct-header__logo { height: 44px; }
  .ct-header__brand-name { font-size: 22px; }
  .ct-header__brand-kicker { font-size: 10px; letter-spacing: 2.5px; }
  .ct-header__brand { gap: 10px; }
}

@media (max-width: 380px) {
  .ct-header { padding: 10px 12px; gap: 8px; }
  .ct-header__logo { height: 40px; }
  .ct-header__brand-name { font-size: 20px; }
  .ct-header__brand { gap: 8px; }
}
