/* === TOKENS === */
:root {
  --bg: #F5F0E8;
  --bg-warm: #EDE8DF;
  --bg-deep: #0D1A0F;
  --fg: #1A1A18;
  --fg-muted: #6B6860;
  --fg-subtle: #A09D97;
  --accent: #C9893D;
  --accent-warm: #E8A84A;
  --accent-deep: #8A5E1F;
  --green: #1A2E1F;
  --green-light: #243D2A;
  --cream: #FAF7F2;
  --border: #D4CFC6;
  --border-subtle: #E8E3DB;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  background: var(--green);
  color: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.bg-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,137,61,0.18) 0%, transparent 70%);
  top: -100px; right: 5%;
  animation: pulse-slow 8s ease-in-out infinite;
}
.bg-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,137,61,0.10) 0%, transparent 70%);
  bottom: 5%; left: 30%;
  animation: pulse-slow 12s ease-in-out infinite 2s;
}

.bg-texture {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255,255,255,0.015) 80px, rgba(255,255,255,0.015) 81px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255,255,255,0.015) 80px, rgba(255,255,255,0.015) 81px);
}

@keyframes pulse-slow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Moth silhouettes */
.moth-silhouette {
  position: absolute;
  width: 32px; height: 20px;
  opacity: 0.12;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--cream);
  filter: blur(1px);
}
.moth-1 { top: 25%; left: 45%; transform: rotate(-15deg); animation: moth-drift 14s ease-in-out infinite; }
.moth-2 { top: 60%; left: 60%; width: 22px; height: 14px; transform: rotate(20deg); animation: moth-drift 18s ease-in-out infinite 3s; }
.moth-3 { top: 40%; left: 55%; width: 18px; height: 12px; transform: rotate(-30deg); animation: moth-drift 10s ease-in-out infinite 7s; }

@keyframes moth-drift {
  0%, 100% { transform: translate(0, 0) rotate(var(--r, -15deg)); }
  25% { transform: translate(12px, -8px) rotate(var(--r, -15deg)); }
  50% { transform: translate(5px, 5px) rotate(var(--r, -15deg)); }
  75% { transform: translate(-8px, -4px) rotate(var(--r, -15deg)); }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 700px;
}

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

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 1.08;
  margin-bottom: 28px;
  color: var(--cream);
}
.hero-title-light {
  font-weight: 300;
  display: block;
}
.hero-title-bold {
  font-weight: 600;
  display: block;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(250,247,242,0.72);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.meta-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(201,137,61,0.35);
  border-radius: 2px;
  color: rgba(201,137,61,0.8);
}

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lantern-orbit {
  position: relative;
  width: 480px;
  height: 480px;
}

.lantern-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(201,137,61,0.95) 0%, rgba(201,137,61,0.6) 40%, rgba(201,137,61,0.1) 70%, transparent 100%);
  border-radius: 50%;
  filter: blur(2px);
  box-shadow: 0 0 80px rgba(201,137,61,0.4), 0 0 160px rgba(201,137,61,0.15);
}

.lantern-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid;
}
.lantern-ring-1 { width: 240px; height: 240px; border-color: rgba(201,137,61,0.15); }
.lantern-ring-2 { width: 360px; height: 360px; border-color: rgba(201,137,61,0.08); }
.lantern-ring-3 { width: 480px; height: 480px; border-color: rgba(201,137,61,0.04); }

.moth-orbit {
  position: absolute;
  width: 12px; height: 8px;
  background: rgba(250,247,242,0.75);
  border-radius: 50%;
  filter: blur(0.5px);
}
.moth-a { top: 12%; left: 52%; animation: orbit 8s linear infinite; }
.moth-b { top: 50%; right: 4%; animation: orbit 12s linear infinite 2s; }
.moth-c { bottom: 14%; left: 18%; animation: orbit 16s linear infinite 5s; }

@keyframes orbit {
  0% { opacity: 0; transform: scale(0.6); }
  20% { opacity: 0.8; transform: scale(1); }
  80% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.6); }
}

/* === MANIFESTO === */
.manifesto {
  background: var(--bg);
  padding: 120px 80px;
}
.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.manifesto-left { position: sticky; top: 80px; }
.manifesto-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--green);
  margin-top: 16px;
}
.manifesto-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.manifesto-body em { color: var(--fg); font-style: italic; }

.manifesto-quote {
  max-width: 1100px;
  margin: 80px auto 0;
  border-left: 2px solid var(--accent);
  padding-left: 32px;
}
.manifesto-quote blockquote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
}
.manifesto-quote cite {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--fg-subtle);
  font-style: normal;
}

/* === HOW IT WORKS === */
.howitworks {
  background: var(--bg-warm);
  padding: 120px 80px;
  border-top: 1px solid var(--border);
}
.how-header {
  max-width: 1100px;
  margin: 0 auto 64px;
}
.section-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 500;
  color: var(--green);
  margin-top: 12px;
}
.section-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.stages-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}

.stage {
  padding: 48px 40px;
  position: relative;
  border-right: 1px solid var(--border);
}
.stage:last-child { border-right: none; }

.stage-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(26,46,31,0.12);
  line-height: 1;
  margin-bottom: 24px;
}
.stage-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 16px;
}
.stage-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--fg-muted);
}

.how-footer {
  max-width: 1100px;
  margin: 64px auto 0;
}
.manifesto-pull {
  border-top: 1px solid var(--border-subtle);
  padding-top: 40px;
}
.manifesto-pull p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fg-muted);
  max-width: 700px;
}

/* === MANIFESTO 2 === */
.manifesto2 {
  background: var(--cream);
  padding: 120px 80px;
  border-top: 1px solid var(--border);
}
.manifesto2-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.manifesto2-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--green);
  margin: 16px 0 24px;
}
.manifesto2-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.dcompare {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--border);
}
.dcompare-col {
  flex: 1;
  padding: 36px 28px;
}
.dcompare-butterfly { background: rgba(26,46,31,0.04); }
.dcompare-moth { background: rgba(201,137,61,0.06); }
.dcompare-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 16px;
}
.dcompare-butterfly .dcompare-label { color: var(--fg-subtle); }
.dcompare-moth .dcompare-label { color: var(--accent-deep); }
.dcompare-col p { font-size: 0.85rem; line-height: 1.6; color: var(--fg-muted); margin-bottom: 20px; }
.dcompare-col ul { list-style: none; }
.dcompare-col ul li {
  font-size: 0.8rem;
  color: var(--fg);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.dcompare-col ul li:last-child { border-bottom: none; }
.dcompare-divider { width: 1px; background: var(--border); }

/* === CLOSING === */
.closing {
  background: var(--green);
  padding: 120px 80px;
  text-align: center;
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
}
.closing-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 28px;
  font-style: italic;
}
.closing-sub {
  font-size: 1rem;
  color: rgba(250,247,242,0.65);
  line-height: 1.75;
  margin-bottom: 40px;
}
.closing-vision {
  border-top: 1px solid rgba(201,137,61,0.2);
  padding-top: 40px;
}
.closing-vision p {
  font-size: 1.05rem;
  color: rgba(250,247,242,0.8);
  line-height: 1.75;
}

/* === FOOTER === */
.site-footer {
  background: var(--bg-deep);
  padding: 48px 80px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
}
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(250,247,242,0.4);
  margin-top: 4px;
}
.footer-note {
  font-size: 0.75rem;
  color: rgba(250,247,242,0.3);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { display: none; }
  .hero-content { padding: 80px 40px; max-width: 100%; }
  .manifesto-inner, .manifesto2-inner { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-left { position: static; }
  .stages-grid { grid-template-columns: 1fr; }
  .stage { border-right: none; border-bottom: 1px solid var(--border); }
  .stage:last-child { border-bottom: none; }
  .manifesto, .howitworks, .manifesto2, .closing { padding: 80px 40px; }
  .site-footer { padding: 40px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 600px) {
  .hero-content { padding: 60px 24px; }
  .manifesto, .howitworks, .manifesto2, .closing { padding: 60px 24px; }
  .dcompare { flex-direction: column; }
  .dcompare-divider { width: auto; height: 1px; }
}