:root {
  --bg: #F7F4EF;
  --bg-warm: #EFE9DF;
  --ink: #141210;
  --ink-muted: #6B6460;
  --sienna: #A34B1F;
  --sienna-light: #C97A4A;
  --sand: #D4C9BA;
  --white: #FDFCF9;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
.site-nav {
  padding: 28px 48px;
  border-bottom: 1px solid var(--sand);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.nav-tagline {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ── HERO ── */
.hero {
  padding: 80px 48px 64px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 64px;
}
.hero-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-muted);
  margin-bottom: 48px;
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--sand);
  padding-top: 32px;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-number {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--sienna);
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  line-height: 1.4;
}
.hero-ornament {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}
.ornament-line {
  flex: 1;
  height: 1px;
  background: var(--sand);
}
.ornament-text {
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ── SECTION LABEL ── */
.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: 32px;
}

/* ── THE PROBLEM ── */
.theproblem {
  background: var(--ink);
  color: var(--white);
  padding: 80px 48px;
}
.problem-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
}
.problem-card {
  background: #1E1C1A;
  padding: 48px 40px;
  position: relative;
}
.problem-card--wide { grid-column: 1; }
.problem-number {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--sienna-light);
  margin-bottom: 24px;
  line-height: 1;
}
.problem-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--white);
}
.problem-body {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #9E9590;
}
.problem-card-connector {
  display: none;
}

/* ── HOW IT WORKS ── */
.howitworks {
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
  max-width: 640px;
  margin-bottom: 64px;
}
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 56px;
}
.step {
  padding: 40px 32px;
  border: 1px solid var(--sand);
  background: var(--white);
}
.step-number {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--sienna);
  margin-bottom: 20px;
  line-height: 1;
}
.step-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--ink);
}
.step-body {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.65;
}
.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--sand);
  padding: 0 12px;
  padding-top: 40px;
}
.threshold-demo {
  background: var(--bg-warm);
  border: 1px solid var(--sand);
  padding: 32px 40px;
  max-width: 640px;
}
.threshold-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.threshold-bar-wrap {
  width: 100%;
  height: 4px;
  background: var(--sand);
  position: relative;
  margin-bottom: 12px;
}
.threshold-bar-fill {
  height: 100%;
  background: var(--sienna);
}
.threshold-meta {
  display: flex;
  justify-content: space-between;
}
.threshold-count {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
}
.threshold-target {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* ── THE ARCHIVE ── */
.archive {
  background: var(--bg-warm);
  padding: 80px 48px;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}
.archive-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.archive-headline {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
}
.archive-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-muted);
  margin-bottom: 32px;
}
.archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.archive-tag {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--sand);
  padding: 6px 14px;
  background: var(--white);
}
.archive-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.archive-card {
  background: var(--white);
  border: 1px solid var(--sand);
  padding: 28px 32px;
  transition: border-color 0.2s;
}
.archive-card--produced {
  border-color: var(--sienna);
}
.archive-card-inner {}
.archive-status {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.archive-status--live { color: var(--sienna); }
.archive-item-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}
.archive-item-designer {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.archive-item-threshold {}
.threshold-mini-bar {
  width: 100%;
  height: 3px;
  background: var(--sand);
  margin-bottom: 6px;
}
.threshold-mini-fill { height: 100%; background: var(--sienna); }
.threshold-mini-text {
  font-size: 0.72rem;
  color: var(--ink-muted);
}
.threshold-live-text {
  font-size: 0.72rem;
  color: var(--sienna);
  font-style: italic;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  max-width: 800px;
  border-left: 2px solid var(--sienna);
  padding-left: 32px;
  margin-bottom: 48px;
}
.manifesto-divider {
  width: 100%;
  height: 1px;
  background: var(--sand);
  margin-bottom: 48px;
}
.manifesto-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}
.pillar-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--ink);
}
.pillar-body {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* ── CLOSING ── */
.closing {
  background: var(--ink);
  color: var(--white);
  padding: 96px 48px;
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
}
.closing-body {
  font-size: 1rem;
  line-height: 1.75;
  color: #9E9590;
  max-width: 600px;
  margin: 0 auto 48px;
}
.closing-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.closing-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--sienna-light);
}
.closing-sub {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B6460;
}

/* ── FOOTER ── */
.site-footer {
  background: #0E0C0A;
  color: #9E9590;
  padding: 64px 48px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid #2A2725;
  margin-bottom: 24px;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #6B6460;
  max-width: 280px;
}
.footer-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer-col-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sienna-light);
  margin-bottom: 16px;
}
.footer-col-item {
  font-size: 0.82rem;
  color: #6B6460;
  line-height: 2;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #4A4644;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step-connector { display: none; }
  .archive-inner { grid-template-columns: 1fr; gap: 48px; }
  .manifesto-pillars { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-right { grid-template-columns: 1fr 1fr; }
  .site-nav, .hero, .theproblem, .howitworks, .archive, .manifesto, .closing, .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .closing-body { padding: 0 8px; }
}

@media (max-width: 600px) {
  .hero-stats { grid-template-columns: 1fr; }
  .footer-right { grid-template-columns: 1fr; }
}