/* ── Variables (inherited from theme.css) ── */
:root {
  --navy: #0F1B2D;
  --navy-light: #1A2D45;
  --cream: #F5F0E8;
  --cream-dark: #EDE6D6;
  --gold: #C8973A;
  --gold-light: #DDB55A;
  --text-dark: #0F1B2D;
  --text-mid: #4A5568;
  --text-light: #F5F0E8;
  --text-muted: #8A96A0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.15;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  background: rgba(245, 240, 232, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 151, 58, 0.18);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover { color: var(--text-dark); }

.nav-link--active {
  color: var(--text-dark);
  font-weight: 600;
}

.nav-link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--gold);
  border-radius: 1px;
}

/* ── Page header ── */
.page-header {
  padding: 140px 48px 80px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.8;
}

.page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-header-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.eyebrow-line {
  display: block;
  width: 40px;
  height: 1.5px;
  background: var(--gold);
}

.eyebrow-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-header-headline {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.08;
}

.page-header-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.65);
  max-width: 540px;
}

/* ── Content grid ── */
.cs-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.cs-main { display: flex; flex-direction: column; gap: 0; }

.cs-section {
  border: 1px solid rgba(15, 27, 45, 0.08);
  border-bottom: none;
  padding: 32px 36px 36px;
  background: var(--cream);
}

.cs-section:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.cs-section:last-child {
  border-bottom: 1px solid rgba(15, 27, 45, 0.08);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.cs-section legend {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  padding: 0;
  float: left;
  width: 100%;
}

.cs-section label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.cs-section textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--cream-dark);
  border: 1.5px solid rgba(15, 27, 45, 0.1);
  border-radius: 2px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
  rows: 5;
}

.cs-section textarea:focus {
  border-color: var(--gold);
}

.cs-section textarea::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.cs-field-row {
  margin-bottom: 16px;
}

.cs-field-row:last-child { margin-bottom: 0; }

/* ── Outcomes metrics ── */
.cs-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.cs-metric {
  background: var(--cream-dark);
  padding: 20px 16px;
  border: 1px solid rgba(15, 27, 45, 0.06);
  border-radius: 2px;
}

.cs-metric-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.cs-metric-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 6px;
}

.cs-metric-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Testimonial ── */
.cs-testimonial {
  margin-top: 20px;
}

.cs-testimonial blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-dark);
  padding: 24px 28px;
  background: var(--cream-dark);
  border-left: 3px solid var(--gold);
  margin-bottom: 20px;
}

.cs-testimonial blockquote::placeholder {
  color: var(--text-muted);
}

.cs-testimonial-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cs-attribution-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-attribution-field input {
  width: 100%;
  padding: 10px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: var(--text-dark);
  background: var(--cream-dark);
  border: 1.5px solid rgba(15, 27, 45, 0.1);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}

.cs-attribution-field input::placeholder {
  color: var(--text-muted);
}

.cs-attribution-field input:focus {
  border-color: var(--gold);
}

/* ── Sidebar ── */
.cs-sidebar {
  background: var(--cream-dark);
  border: 1px solid rgba(15, 27, 45, 0.08);
  padding: 40px 36px;
  border-radius: 4px;
  position: sticky;
  top: 100px;
}

.cs-sidebar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.2;
}

.cs-sidebar-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cs-sidebar-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cs-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--text-light);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-step-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.cs-step-body p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.55;
}

.cs-sidebar-note {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(15, 27, 45, 0.08);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.cs-sidebar-note strong {
  color: var(--text-mid);
  font-weight: 600;
}

/* ── Footer ── */
.footer {
  background: var(--navy);
  padding: 40px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  display: block;
}

.footer-tagline {
  display: block;
  font-size: 12px;
  color: rgba(245,240,232,0.4);
  margin-top: 4px;
}

.footer-meta {
  font-size: 12px;
  color: rgba(245,240,232,0.4);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-link {
  color: rgba(245,240,232,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--text-light); }

.footer-sep { opacity: 0.4; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .cs-grid { grid-template-columns: 1fr; gap: 48px; }
  .cs-sidebar { position: static; }
}

@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav-links { gap: 24px; }
  .nav-link { font-size: 12px; }
  .page-header { padding: 100px 24px 64px; }
  .cs-grid { padding: 48px 24px; }
  .cs-metrics { grid-template-columns: 1fr 1fr; }
  .cs-testimonial-fields { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .page-header-headline { font-size: 32px; }
  .cs-metrics { grid-template-columns: 1fr; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-meta { justify-content: center; }
}

/* ── Print styles ── */
@media print {
  .nav { display: none; }
  .page-header {
    background: white;
    padding: 40px 0 32px;
    border-bottom: 1px solid #ddd;
  }
  .page-header::before { display: none; }
  .page-header-headline { color: #0F1B2D; font-size: 28px; }
  .page-header-sub { color: #4A5568; }
  .cs-grid { padding: 32px 0; display: block; }
  .cs-sidebar { display: none; }
  .cs-section { break-inside: avoid; border: 1px solid #ddd; margin-bottom: 24px; }
  .cs-section:last-child { margin-bottom: 0; }
  .footer { display: none; }
}