:root {
  --bg: #F4EEE4;
  --bg-warm: #EDE6D8;
  --fg: #1A1A18;
  --fg-muted: #6B6760;
  --fg-faint: #9E9A94;
  --accent: #2D5A3D;
  --accent-light: #3D7A52;
  --accent-pale: #E8EDE9;
  --gold: #9A7A3C;
  --gold-light: #B8944E;
  --border: #D5CFBF;
  --border-strong: #B8B0A0;
  --white: #FDFAF5;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(244, 238, 228, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.01em;
}

.nav-quiz-cta {
  margin-left: auto;
  padding: 8px 20px;
  background: var(--accent);
  color: var(--white);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}

.nav-quiz-cta:hover { background: var(--accent-light); }

@media (max-width: 600px) {
  .site-nav { padding: 0 24px; }
  .nav-quiz-cta { font-size: 0.78rem; padding: 7px 14px; }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 100px;
  background: var(--fg);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(45, 90, 61, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

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

.eyebrow-text {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--bg);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.hero-lede {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(244, 238, 228, 0.7);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(244, 238, 228, 0.4);
  letter-spacing: 0.06em;
}

.hero-sep { opacity: 0.4; }

/* ── FRAMEWORK ── */
.framework {
  padding: 100px 48px;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
}

.framework-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-intro {
  font-size: 1.15rem;
  max-width: 640px;
  color: var(--fg-muted);
  margin-bottom: 64px;
  line-height: 1.75;
}

.constraint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border-strong);
}

.constraint-item {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.constraint-item:nth-child(3n) { border-right: none; }
.constraint-item:nth-child(n+4) { border-bottom: none; }

.constraint-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 16px;
}

.constraint-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.3;
}

.constraint-item p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.framework-note {
  margin-top: 48px;
  font-size: 0.9rem;
  color: var(--fg-faint);
  font-style: italic;
  border-left: 2px solid var(--border-strong);
  padding-left: 20px;
}

/* ── OUTCOMES ── */
.outcomes {
  padding: 100px 48px;
  background: var(--bg);
}

.outcomes-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
}

.outcome-item {}

.outcome-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-pale);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.outcome-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.3;
}

.outcome-item p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── PHILOSOPHY ── */
.philosophy {
  padding: 100px 48px;
  background: var(--fg);
}

.philosophy-inner {
  max-width: 900px;
  margin: 0 auto;
}

.philosophy-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--bg);
  line-height: 1.4;
  margin-bottom: 48px;
  letter-spacing: 0.01em;
}

.philosophy-body p {
  font-size: 1.05rem;
  color: rgba(244, 238, 228, 0.6);
  line-height: 1.8;
  margin-bottom: 20px;
}

.philosophy-body p:last-child { margin-bottom: 0; }

/* ── CLOSING STATEMENT ── */
.closing-statement {
  padding: 100px 48px;
  background: var(--accent-pale);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1.5;
}

/* ── FOOTER ── */
.site-footer {
  padding: 48px;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
}

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

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  display: block;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--fg-faint);
}

.footer-meta {
  font-size: 0.82rem;
  color: var(--fg-muted);
  text-align: right;
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-sep { color: var(--border-strong); }

.footer-link {
  color: var(--accent);
  text-decoration: none;
}

.footer-link:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-nav { padding: 0 24px; }
  .hero { padding: 100px 24px 80px; }
  .framework { padding: 72px 24px; }
  .outcomes { padding: 72px 24px; }
  .philosophy { padding: 72px 24px; }
  .closing-statement { padding: 72px 24px; }
  .site-footer { padding: 40px 24px; }

  .constraint-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .constraint-item:nth-child(3n) { border-right: 1px solid var(--border-strong); }
  .constraint-item:nth-child(2n) { border-right: none; }
  .constraint-item:nth-child(n+5) { border-bottom: none; }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-meta { text-align: left; }
}

@media (max-width: 600px) {
  .constraint-grid {
    grid-template-columns: 1fr;
  }
  .constraint-item { border-right: none !important; }
  .constraint-item:nth-child(n+4) { border-bottom: 1px solid var(--border); }
  .constraint-item:last-child { border-bottom: none !important; }
}