/* ── Tokens ── */
:root {
  --bg: #FAF8F5;
  --fg: #1A1A1A;
  --muted: #6B6560;
  --accent: #1B4332;
  --accent-light: #2D6A4F;
  --stone: #C9B99A;
  --stone-light: #E8E0D5;
  --white: #FFFFFF;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --max-w: 1100px;
  --side-pad: clamp(1.5rem, 5vw, 5rem);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--bg); }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; }

/* ── Layout helpers ── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

/* ── Header ── */
.site-header {
  padding: 1.5rem var(--side-pad);
  border-bottom: 1px solid var(--stone-light);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ── Hero ── */
.hero {
  padding: var(--space-xl) var(--side-pad) var(--space-lg);
  border-bottom: 1px solid var(--stone-light);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.hero-headline {
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--fg);
  margin-bottom: var(--space-md);
  max-width: 16ch;
  line-height: 1.05;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 50ch;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.hero-attr {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.attr-item {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--stone-light);
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
}

.attr-sep {
  color: var(--stone);
  font-size: 1.2rem;
}

/* ── Problem ── */
.problem {
  padding: var(--space-xl) var(--side-pad);
  background: var(--fg);
  color: var(--bg);
}

.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.problem .section-label { color: var(--stone); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
}

.problem-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--accent-light);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.problem-col h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
  color: var(--bg);
}

.problem-col p {
  font-size: 0.95rem;
  color: #A8A39C;
  line-height: 1.7;
}

.problem-statement {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.problem-statement p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--bg);
  max-width: 28ch;
  line-height: 1.3;
}

/* ── How ── */
.how {
  padding: var(--space-xl) var(--side-pad);
  background: var(--bg);
}

.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.how-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--fg);
  margin-bottom: var(--space-lg);
  max-width: 18ch;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.step {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: var(--space-md);
  align-items: start;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--stone);
  line-height: 1;
  padding-top: 0.2rem;
}

.step-body h3 {
  font-size: 1.4rem;
  color: var(--fg);
  margin-bottom: var(--space-sm);
}

.step-body p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 55ch;
  line-height: 1.75;
}

/* ── Outcomes ── */
.outcomes {
  padding: var(--space-xl) var(--side-pad);
  background: var(--stone-light);
}

.outcomes-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--stone);
  border: 1px solid var(--stone);
  margin-bottom: var(--space-md);
}

.outcome-card {
  background: var(--bg);
  padding: var(--space-md) var(--space-md);
}

.outcome-metric {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.outcome-label {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 500;
}

.outcomes-note {
  font-size: 0.72rem;
  color: var(--stone);
  max-width: 60ch;
  line-height: 1.6;
}

/* ── Philosophy ── */
.philosophy {
  padding: var(--space-xl) var(--side-pad);
  background: var(--accent);
}

.philosophy-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.philosophy-quote {
  margin-bottom: var(--space-lg);
}

.philosophy-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--bg);
  line-height: 1.2;
  max-width: 26ch;
}

.philosophy-body p {
  font-size: 1rem;
  color: rgba(250,248,245,0.75);
  max-width: 55ch;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

/* ── Closing ── */
.closing {
  padding: var(--space-xl) var(--side-pad);
  border-top: 1px solid var(--stone-light);
}

.closing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fg);
  max-width: 18ch;
  margin-bottom: var(--space-sm);
}

.closing p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 45ch;
  margin-bottom: var(--space-md);
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s;
}
.cta-button:hover { background: var(--accent-light); }

/* ── Footer ── */
.site-footer {
  padding: var(--space-md) var(--side-pad);
  border-top: 1px solid var(--stone-light);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.wordmark-sm {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: 0.75rem;
}

.footer-copy p {
  font-size: 0.75rem;
  color: var(--stone);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 3rem 1fr;
  }

  .hero-headline {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .philosophy-quote blockquote {
    font-size: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  :root { --space-xl: 4rem; }
  .hero-attr { gap: 0.75rem; }
}