/* ─── Variables ─── */
:root {
  --bg: #faf7f2;
  --bg-alt: #f2ece4;
  --bg-deep: #1c1a17;
  --fg: #1c1a17;
  --fg-muted: #6b6560;
  --accent: #b85c38;
  --accent-warm: #d4825a;
  --sage: #7a9e7e;
  --sage-light: #c8d9c7;
  --terracotta: #c4774f;
  --border: #e0d8cc;
  --white: #ffffff;
  --ink: #1c1a17;
}

/* ─── Reset & Base ─── */
*, *::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: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

em { font-style: italic; color: var(--accent); }

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}
.nav__inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; }
.nav__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.nav__tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ─── Section eyebrow ─── */
.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 6rem 2rem 5rem;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero__bg-shape--1 {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 150, 100, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__bg-shape--2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 158, 126, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero__bg-texture {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(200, 150, 100, 0.04) 1px, transparent 1px),
    linear-gradient(45deg, rgba(200, 150, 100, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  flex: 1;
  padding-right: 3rem;
}

.eyebrow-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.3em 0.8em;
  border-radius: 2px;
  margin-bottom: 2rem;
}

.hero__headline {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero__badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.badge {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 0.3em 0.9em;
  border-radius: 100px;
}

.badge-sep { width: 1px; height: 14px; background: var(--border); }

/* ─── Framework Diagram ─── */
.hero__visual {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.framework-diagram {
  position: relative;
  width: 340px;
  height: 340px;
}

.fd-ring--outer {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.fd-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 120px;
}

.fd-center__label {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--fg-muted);
}

.fd-center__name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 2px;
}

.fd-node {
  position: absolute;
  width: 130px;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.fd-node__label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 3px;
}

.fd-node__sub {
  display: block;
  font-size: 0.65rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

.fd-node--1 { top: 20px; left: 50%; transform: translateX(-50%); }
.fd-node--2 { bottom: 20px; left: -10px; }
.fd-node--3 { bottom: 20px; right: -10px; }

/* ─── Pillars ─── */
.pillars {
  padding: 6rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillars__header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.pillars__title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-top: 0.5rem; }

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
}

.pillar {
  background: var(--white);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
}

.pillar__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1rem;
}

.pillar__name {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.pillar__desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.pillar__items {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pillar__items span {
  font-size: 0.75rem;
  color: var(--fg-muted);
  padding-left: 1rem;
  position: relative;
}

.pillar__items span::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--sage);
}

/* ─── Manifesto ─── */
.manifesto {
  padding: 6rem 2rem;
  background: var(--bg-deep);
  color: var(--white);
}

.manifesto__inner { max-width: 860px; margin: 0 auto; }

.manifesto__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  text-align: center;
  margin-bottom: 4rem;
  border-left: 3px solid var(--accent-warm);
  padding-left: 2rem;
}

.manifesto__rule { margin-bottom: 2rem; }

.rule-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}

.rule-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rule-bar span {
  font-size: 0.75rem;
  padding: 0.4em 0.9em;
  border-radius: 100px;
}

.rule-bar--fail span { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.45); }
.rule-bar--win span { background: rgba(122, 158, 126, 0.25); color: #b8d4b2; border: 1px solid rgba(122, 158, 126, 0.3); }

/* ─── Outcomes ─── */
.outcomes {
  padding: 6rem 2rem;
  background: var(--bg);
}

.outcomes__header { text-align: center; max-width: 500px; margin: 0 auto 4rem; }
.outcomes__title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-top: 0.5rem; }

.outcomes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.outcome {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.outcome--to {
  border-color: var(--sage-light);
  background: linear-gradient(135deg, #f6faf4 0%, var(--white) 100%);
}

.outcome__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.outcome--from .outcome__icon { background: var(--bg-alt); color: var(--fg-muted); }
.outcome--to .outcome__icon { background: var(--sage); color: white; }

.outcome h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.outcome p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ─── Closing ─── */
.closing {
  padding: 6rem 2rem 5rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.closing__inner { max-width: 860px; margin: 0 auto; text-align: center; }

.closing__stat-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.stat__label {
  display: block;
  font-size: 0.72rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
}

.closing__message p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.closing__signature {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.sig-name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
}
.sig-title {
  display: block;
  font-size: 0.72rem;
  color: var(--fg-muted);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── Footer ─── */
.footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}
.footer__inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer__logo { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--white); }
.footer__desc { font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.footer__meta { font-size: 0.7rem; color: rgba(255,255,255,0.25); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .pillars__grid, .outcomes__grid { grid-template-columns: 1fr; }
  .hero { flex-direction: column; gap: 3rem; }
  .hero__content { padding-right: 0; }
  .hero__visual { width: 100%; justify-content: center; }
  .framework-diagram { width: 280px; height: 280px; }
  .fd-node--2 { left: 0; bottom: 40px; }
  .fd-node--3 { right: 0; bottom: 40px; }
  .closing__stat-row { gap: 2rem; }
}

@media (max-width: 600px) {
  .hero { padding: 4rem 1.5rem 3rem; }
  .pillars, .manifesto, .outcomes, .closing { padding: 4rem 1.5rem; }
  .fd-node { width: 100px; padding: 0.75rem; }
  .fd-node__label { font-size: 0.75rem; }
  .fd-node__sub { font-size: 0.6rem; }
}