/* ═══════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════ */
:root {
  --depth:      #0F2E14;
  --canopy:     #1C4D2C;
  --moss:       #3D6B4A;
  --surface:    #F4F1EC;
  --mist:       #EAF0E7;
  --discovery:  #C47A1E;
  --text:       #1A1E19;
  --muted:      #6B7A6D;
  --line:       #D8DDD6;
  --white:      #FFFFFF;
  --serif:      'Instrument Serif', Georgia, serif;
  --sans:       'Inter', system-ui, -apple-system, sans-serif;
  --max:        1200px;
  --pad:        clamp(24px, 5vw, 80px);
  --radius:     4px;
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --duration:   0.6s;
}

/* ═══════════════════════════════════════════
   RESET
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 40px;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--depth);
  color: var(--surface);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 12px 24px;
  border-radius: 3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-primary:hover {
  background: var(--canopy);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--surface);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 12px 24px;
  border-radius: 3px;
  border: 1px solid rgba(244,241,236,0.4);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-ghost:hover {
  border-color: rgba(244,241,236,0.8);
  background: rgba(244,241,236,0.08);
}

.btn-amber {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--discovery);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 12px 24px;
  border-radius: 3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-amber:hover {
  background: #A8661A;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-bottom 0.3s ease;
}
#nav.scrolled {
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--depth);
}
.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--depth); font-weight: 500; }

.nav-cta {
  background: var(--depth);
  color: var(--surface);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 3px;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--canopy); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--pad) 80px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

/* ASCII forest canvas */
#ascii-forest {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.hero-wordmark {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--moss);
  margin-bottom: 20px;
  text-transform: lowercase;
}
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--depth);
  margin-bottom: 24px;
}
.hero-h1 em {
  font-style: italic;
  color: var(--canopy);
}
.hero-sub {
  font-family: var(--sans);
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.7;
  color: var(--moss);
  margin-bottom: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-verse {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.4;
  color: var(--muted);
  margin-bottom: 36px;
}
.hero-cta {
  font-size: 15px;
  padding: 14px 32px;
}

/* ═══════════════════════════════════════════
   NUMBERS
═══════════════════════════════════════════ */
.numbers {
  padding: clamp(60px, 8vw, 100px) var(--pad);
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.numbers-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 48px;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}
.number-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.number-value {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  color: var(--depth);
}
.number-label {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}
.numbers-foot {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   PROBLEM
═══════════════════════════════════════════ */
.problem {
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--mist);
}
.problem-inner {
  max-width: 680px;
  margin: 0 auto;
}
.problem-text {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 24px;
}
.problem-close {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--moss);
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
.how {
  background: var(--depth);
  padding: clamp(80px, 10vw, 140px) var(--pad);
  position: relative;
  overflow: hidden;
}
#ascii-signal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.how-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}
.how .eyebrow { color: rgba(255,255,255,0.4); }
.how .section-title {
  color: var(--surface);
  max-width: 480px;
  margin-bottom: 64px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-num {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--discovery);
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--surface);
  margin-bottom: 12px;
  line-height: 1.25;
}
.step-body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(244,241,236,0.6);
}

/* ═══════════════════════════════════════════
   REPORT CARDS
═══════════════════════════════════════════ */
.report {
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--surface);
}
.report-header {
  max-width: var(--max);
  margin: 0 auto;
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.report-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.report-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,46,20,0.08);
}
.card-icon {
  font-size: 24px;
  margin-bottom: 16px;
  display: block;
}
.card-title {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--depth);
  margin-bottom: 10px;
  line-height: 1.2;
}
.card-body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   MANIFESTO
═══════════════════════════════════════════ */
.manifesto {
  background: var(--depth);
  padding: clamp(80px, 12vw, 160px) var(--pad);
  position: relative;
  overflow: hidden;
}
#ascii-contour {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.manifesto-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3.5vw, 42px);
  line-height: 1.3;
  color: var(--surface);
  letter-spacing: -0.01em;
  margin: 0 0 40px;
}
.manifesto-rule {
  width: 40px;
  height: 1px;
  background: var(--discovery);
  margin: 0 auto 40px;
}
.manifesto-body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: rgba(244,241,236,0.65);
  max-width: 560px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   PRICING
═══════════════════════════════════════════ */
.pricing {
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--surface);
}
.pricing-header {
  text-align: center;
  max-width: var(--max);
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 32px;
}
.pricing-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--discovery);
  box-shadow: 0 0 0 1px var(--discovery);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--discovery);
  color: var(--white);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
}
.pricing-tier {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.pricing-range {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.pricing-price {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 52px);
  color: var(--depth);
  margin-bottom: 24px;
  line-height: 1;
}
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}
.pricing-features li {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '—';
  color: var(--moss);
  margin-right: 8px;
}
.pricing-card .btn-primary,
.pricing-card .btn-ghost {
  width: 100%;
  justify-content: center;
}
.btn-enterprise {
  color: var(--depth);
  border-color: var(--line);
}
.btn-enterprise:hover {
  border-color: var(--depth);
  background: rgba(15, 46, 20, 0.04);
  color: var(--depth);
}
.pricing-note {
  text-align: center;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
}
.pricing-note a {
  color: var(--depth);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s;
}
.pricing-note a:hover { border-color: var(--depth); }

/* ═══════════════════════════════════════════
   TESTIMONIAL
═══════════════════════════════════════════ */
.testimonial {
  padding: clamp(80px, 10vw, 120px) var(--pad);
  background: var(--mist);
}
.testimonial-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.testimonial-mark {
  font-family: var(--serif);
  font-size: 80px;
  color: var(--discovery);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: -20px;
}
.testimonial-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.5;
  color: var(--depth);
  margin-bottom: 24px;
}
.testimonial-attr {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   BOOK / CTA
═══════════════════════════════════════════ */
.book {
  padding: clamp(100px, 14vw, 180px) var(--pad);
  text-align: center;
  background: var(--surface);
}
.book-inner {
  max-width: 600px;
  margin: 0 auto;
}
.book-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  color: var(--depth);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.book-title em { color: var(--canopy); font-style: italic; }
.book-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--moss);
  margin-bottom: 40px;
}
.book-cta {
  font-size: 15px;
  padding: 14px 32px;
}
.book-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--depth);
  padding: 48px var(--pad);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--surface);
}
.footer-logo svg {
  width: 24px;
  height: 24px;
}
.footer-wordmark {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--surface);
}
.footer-links {
  display: flex;
  gap: 32px;
}
.footer-links a {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(244,241,236,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--surface); }
.footer-legal {
  font-size: 11px;
  color: rgba(244,241,236,0.25);
  width: 100%;
}

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.about-hero {
  padding: 140px var(--pad) 80px;
  background: var(--surface);
}
.about-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}
.about-hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--depth);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.about-hero p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--moss);
}

.timeline-section {
  padding: clamp(80px, 10vw, 120px) var(--pad);
  background: var(--mist);
}
.timeline-section-inner {
  max-width: 680px;
  margin: 0 auto;
}
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--canopy), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 56px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--discovery);
}
.timeline-year {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--moss);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.timeline-title {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--depth);
  margin-bottom: 10px;
}
.timeline-body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 560px;
}

.founder {
  background: var(--depth);
  padding: clamp(80px, 10vw, 120px) var(--pad);
}
.founder-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}
.founder-photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--canopy);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  font-family: var(--serif);
  font-size: 48px;
}
.founder .eyebrow { color: rgba(255,255,255,0.4); }
.founder-name {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--surface);
  margin-bottom: 4px;
}
.founder-role {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(244,241,236,0.5);
  margin-bottom: 24px;
}
.founder-bio p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244,241,236,0.7);
  margin-bottom: 16px;
}

.beliefs {
  padding: clamp(80px, 10vw, 120px) var(--pad);
  background: var(--surface);
}
.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.belief-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
}
.belief-title {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--depth);
  margin-bottom: 12px;
  line-height: 1.25;
}
.belief-body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.cta-strip {
  padding: clamp(60px, 8vw, 100px) var(--pad);
  text-align: center;
  background: var(--mist);
}
.cta-strip h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--depth);
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .report-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .pricing-grid, .pricing-grid-3 { grid-template-columns: 1fr; max-width: 400px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-inner { grid-template-columns: 1fr; }
  .founder-photo { max-width: 300px; }
  .beliefs-grid { grid-template-columns: 1fr; }
  .nav-link { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 560px) {
  .report-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   ACCESSIBILITY
═══════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--discovery);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  #ascii-forest { display: none; }
  html { scroll-behavior: auto; }
}
