/* ===== TOKENS ===== */
:root {
  --bg: #F7F3EE;
  --bg-dark: #1C1917;
  --bg-mid: #2A2520;
  --fg: #1C1917;
  --fg-muted: #6B6459;
  --fg-light: #9B9186;
  --accent: #A3621B;
  --accent-warm: #C8944A;
  --accent-pale: #F0E8D8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-warm); border-radius: 3px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-inner {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-style: italic;
  font-family: var(--font-display);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 2.5rem;
  padding-top: 80px;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(200,148,74,0.12) 0%, transparent 65%);
  border-radius: 50%;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-content {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 5rem 0 5rem;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.eyebrow-line {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
}
.eyebrow-text {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-lede {
  font-size: 1.125rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* ===== MESSAGE THREAD ===== */
.hero-visual {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.message-thread {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 420px;
}

.msg {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.msg-present { align-items: flex-end; }
.msg-past { align-items: flex-start; }

.msg-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0 0.5rem;
}
.msg-past .msg-label { color: var(--accent-warm); }
.msg-present .msg-label { color: var(--fg-muted); }

.msg-bubble {
  padding: 0.9rem 1.25rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 85%;
}
.msg-past .msg-bubble {
  background: #EFE9DF;
  color: var(--fg);
  border-bottom-left-radius: 0.25rem;
  border: 1px solid #E5DED3;
}
.msg-present .msg-bubble {
  background: var(--bg-dark);
  color: #F7F3EE;
  border-bottom-right-radius: 0.25rem;
}

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

/* ===== HOW ===== */
.how {
  background: var(--bg-dark);
  color: #F7F3EE;
  padding: 7rem 2.5rem;
}
.how-inner {
  max-width: 900px;
  margin: 0 auto;
}
.how-header {
  margin-bottom: 4rem;
}
.how-header .section-label { color: var(--accent-warm); }
.how-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #F7F3EE;
}

.how-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step {
  padding: 2rem;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-warm);
  opacity: 0.5;
  margin-bottom: 1.25rem;
  line-height: 1;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #F7F3EE;
}
.step-desc {
  font-size: 0.95rem;
  color: #A0998F;
  line-height: 1.7;
}
.step-desc em { color: var(--accent-warm); font-style: italic; }

.step-divider {
  width: 1px;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(to bottom, transparent, var(--accent-warm) 30%, var(--accent-warm) 70%, transparent);
  opacity: 0.2;
  align-self: stretch;
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 7rem 2.5rem;
  background: var(--accent-pale);
}
.manifesto-inner {
  max-width: 780px;
  margin: 0 auto;
}
.manifesto-body {
  margin: 2.5rem 0;
}
.manifesto-statement {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: 1.75rem;
}
.manifesto-statement em { font-style: italic; color: var(--accent); }
.manifesto-statement strong { font-weight: 700; }
.manifesto-contrast {
  font-size: 1.05rem;
  color: var(--fg-muted);
  font-style: normal;
}
.manifesto-divider {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}
.manifesto-sub {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--fg-muted);
}

/* ===== FEATURES ===== */
.features {
  padding: 7rem 2.5rem;
  background: var(--bg);
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}
.feature {
  padding: 2.5rem;
  border-right: 1px solid #E8E2D8;
  border-bottom: 1px solid #E8E2D8;
}
.feature:last-child { border-right: none; }
.feature-primary {
  grid-column: 1;
  background: var(--accent-pale);
  border-radius: 0.5rem 0 0 0.5rem;
}
.feature-icon {
  margin-bottom: 1.25rem;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--fg);
}
.feature-desc {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== CLOSING ===== */
.closing {
  padding: 8rem 2.5rem;
  background: var(--bg-dark);
  text-align: center;
}
.closing-inner {
  max-width: 720px;
  margin: 0 auto;
}
.closing-accent {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  opacity: 0.8;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #F7F3EE;
  margin-bottom: 1.25rem;
}
.closing-sub {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--accent-warm);
  margin-bottom: 2.5rem;
}
.closing-body {
  font-size: 1.05rem;
  color: #8B8078;
  line-height: 1.75;
}

/* ===== FOOTER ===== */
.footer {
  padding: 2.5rem;
  background: var(--bg-dark);
  border-top: 1px solid #2A2520;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #F7F3EE;
  display: block;
  margin-bottom: 0.4rem;
}
.footer-desc {
  font-size: 0.8rem;
  color: #6B6459;
}
.footer-tag {
  font-size: 0.75rem;
  color: #4A4540;
  font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 5rem 1.5rem;
    text-align: left;
  }
  .hero-visual {
    grid-column: 1;
  }
  .message-thread { max-width: 100%; }
  .how-steps {
    grid-template-columns: 1fr;
  }
  .step-divider {
    width: 100%;
    height: 1px;
    min-height: unset;
    background: linear-gradient(to right, transparent, var(--accent-warm) 30%, var(--accent-warm) 70%, transparent);
    opacity: 0.2;
    margin: 1rem 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature {
    border-right: none;
  }
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .nav { padding: 1rem 1.5rem; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 2.75rem; }
  .closing-headline { font-size: 2rem; }
  .how, .manifesto, .features, .closing { padding: 5rem 1.5rem; }
}