@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg:           #0d0704;
  --fg:           #f9edda;
  --soil-300:     #e6b870;
  --soil-400:     #d9953a;
  --soil-500:     #c47a1e;
  --soil-600:     #a36018;
  --soil-700:     #7f4815;
  --soil-800:     #5e3414;
  --soil-900:     #3d2010;
  --harvest-400:  #84cc16;
  --harvest-500:  #65a30d;
  --harvest-600:  #4d7c0f;
  --amber-400:    #fbbf24;
  --rose-400:     #fb7185;
  --rose-300:     #fda4af;
}

html { font-family: 'Space Grotesk', system-ui, sans-serif; }

body {
  background-color: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* grain */
body::before {
  content: "";
  position: fixed;
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* hero glow */
body::after {
  content: "";
  position: fixed;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(77,124,15,0.11) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ── Nav ── */
nav {
  border-bottom: 1px solid rgba(127,72,21,0.35);
  background: rgba(13,7,4,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.875rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav-logo span {
  color: var(--soil-600);
  font-weight: 400;
  font-size: 0.8125rem;
  margin-left: 0.3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.nav-links a {
  color: var(--soil-500);
  text-decoration: none;
  transition: color 0.15s;
  font-weight: 500;
}

.nav-links a:hover { color: #fff; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--harvest-600);
  color: #fff !important;
  font-weight: 700;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
}
.btn-primary:hover { background: var(--harvest-500); box-shadow: 0 0 18px rgba(101,163,13,0.4); }

.btn-primary-lg {
  display: inline-block;
  background: var(--harvest-500);
  color: #fff !important;
  font-weight: 700;
  padding: 0.9375rem 2.25rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 28px rgba(101,163,13,0.28), 0 4px 20px rgba(0,0,0,0.55);
}
.btn-primary-lg:hover {
  background: var(--harvest-400);
  box-shadow: 0 0 48px rgba(132,204,22,0.45), 0 4px 20px rgba(0,0,0,0.55);
}

.btn-outline-lg {
  display: inline-block;
  border: 1px solid rgba(127,72,21,0.55);
  color: var(--soil-300) !important;
  font-weight: 600;
  padding: 0.9375rem 2.25rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: border-color 0.15s, color 0.15s;
}
.btn-outline-lg:hover { border-color: var(--soil-500); color: #fff !important; }

/* ── Layout ── */
main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  position: relative;
  z-index: 10;
}

.space-y-24 > * + * { margin-top: 6rem; }
.space-y-20 > * + * { margin-top: 5rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.space-y-6  > * + * { margin-top: 1.5rem; }
.space-y-4  > * + * { margin-top: 1rem; }
.space-y-3  > * + * { margin-top: 0.75rem; }
.space-y-2  > * + * { margin-top: 0.5rem; }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 4rem 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(77,124,15,0.1);
  border: 1px solid rgba(77,124,15,0.28);
  color: var(--harvest-400);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
}

/* ── Trading = Feeding ── */
.trading-eq {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-top: 2rem;
}

.trading-eq span {
  background: linear-gradient(100deg, #a3e635 0%, var(--harvest-400) 55%, #bef264 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 32px rgba(132,204,22,0.4));
}

.trading-eq em {
  font-style: normal;
  color: rgba(255,255,255,0.18);
  margin: 0 0.2em;
  font-weight: 300;
}

.hero-sub {
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: -0.025em;
  margin-top: 1rem;
  line-height: 1.2;
}

.hero p {
  color: var(--soil-500);
  font-size: 1rem;
  max-width: 36rem;
  margin: 1.25rem auto 0;
  line-height: 1.7;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ── Divider ── */
.section-divider {
  border: none;
  border-top: 1px solid rgba(127,72,21,0.2);
  margin: 0;
}

/* ── Cards ── */
.card {
  background: linear-gradient(150deg, rgba(61,32,16,0.65) 0%, rgba(20,10,5,0.55) 100%);
  border: 1px solid rgba(127,72,21,0.4);
  border-radius: 1.25rem;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  transition: border-color 0.2s;
}
.card:hover { border-color: rgba(127,72,21,0.65); }

/* ── Stats ── */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-num-lg {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.stat-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  color: var(--soil-600);
  font-weight: 500;
}
.stat-label-lg {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  color: var(--soil-600);
  font-weight: 500;
}

.stat-note {
  text-align: center;
  color: var(--soil-700);
  font-size: 0.8125rem;
}

.label-sm {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--soil-700);
  text-align: center;
  font-weight: 500;
}

/* glow on key numbers */
.text-harvest { color: var(--harvest-400); }
.stat-num.text-harvest, .stat-num-lg.text-harvest {
  filter: drop-shadow(0 0 12px rgba(132,204,22,0.3));
}
.text-amber { color: var(--amber-400); }
.text-rose  { color: var(--rose-400); }

/* ── How It Works ── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

.step-num {
  font-size: 2.75rem;
  font-weight: 800;
  color: rgba(127,72,21,0.35);
  letter-spacing: -0.05em;
  line-height: 1;
}
.step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.step-desc {
  color: var(--soil-500);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ── Section headings ── */
.section-heading {
  font-size: 1.875rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}
.section-heading-sm {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--soil-700);
  text-align: center;
  font-weight: 500;
}
.page-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
}

/* ── Gap Visualizer ── */
.gap-desc {
  color: var(--soil-400);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--soil-600);
  margin-bottom: 0.375rem;
  font-weight: 500;
}
.progress-track {
  height: 6px;
  background: rgba(61,32,16,0.9);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.progress-bar { height: 100%; border-radius: 9999px; transition: width 0.8s ease; }
.progress-bar-amber { background: var(--amber-400); }
.progress-bar-harvest {
  background: var(--harvest-400);
  box-shadow: 0 0 8px rgba(132,204,22,0.5);
}
.gap-note { font-size: 0.8125rem; color: var(--soil-700); font-style: italic; }

.multiplier-badge {
  display: inline-block;
  background: rgba(136,19,55,0.25);
  color: var(--rose-300);
  font-size: 0.6rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(159,18,57,0.4);
  margin-left: 0.4rem;
  vertical-align: middle;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* ── Donation card ── */
.donation-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.donation-meals { color: var(--harvest-400); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }
.donation-meta  { color: var(--soil-600); font-size: 0.8125rem; margin-top: 0.2rem; }
.donation-cost  { text-align: right; font-size: 0.8125rem; color: var(--soil-600); flex-shrink: 0; }
.donation-cost span { color: var(--soil-300); }
.donation-note  { color: var(--soil-500); font-size: 0.875rem; line-height: 1.65; }
.tweet-embed-container { min-height: 80px; }

/* ── Log ── */
.log-count { color: var(--soil-700); font-weight: 400; font-size: 0.875rem; }
.empty-log  { text-align: center; padding: 4rem 0; color: var(--soil-700); font-style: italic; }

/* ── Footer ── */
footer {
  border-top: 1px solid rgba(127,72,21,0.25);
  margin-top: 6rem;
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--soil-700);
  font-size: 0.8125rem;
  position: relative;
  z-index: 10;
}
footer a { color: inherit; text-decoration: none; transition: color 0.15s; }
footer a:hover { color: var(--soil-500); }
footer .sub { font-size: 0.75rem; color: rgba(127,72,21,0.4); margin-top: 0.3rem; }

/* ── Misc ── */
.text-center   { text-align: center; }
.text-white    { color: #fff; }
.text-soil-300 { color: var(--soil-300); }
.text-soil-500 { color: var(--soil-500); }
.italic        { font-style: italic; }
.font-bold     { font-weight: 700; }

.link-muted {
  color: var(--harvest-600);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
  letter-spacing: -0.01em;
}
.link-muted:hover { color: var(--harvest-400); }

/* ── 2-stat hero numbers ── */
.stats-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 44rem;
  margin: 0 auto;
}

.stat-card-lg { padding: 2rem 1.5rem; }

/* ── Manifesto strip (full-bleed) ── */
.manifesto-strip {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 3.5rem 2rem;
  background: rgba(4, 2, 1, 0.75);
  border-top: 1px solid rgba(127,72,21,0.2);
  border-bottom: 1px solid rgba(127,72,21,0.2);
}

.manifesto-inner {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

@media (max-width: 768px) {
  .manifesto-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.pillar-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--harvest-500);
  letter-spacing: -0.01em;
  margin-bottom: 0.625rem;
}

.pillar-text {
  font-size: 0.875rem;
  color: var(--soil-500);
  line-height: 1.7;
}

/* ── Pull quote ── */
.quote-mark {
  font-size: 5rem;
  line-height: 0.5;
  color: rgba(127,72,21,0.3);
  font-family: Georgia, serif;
  font-weight: 400;
}

.pull-quote {
  font-size: clamp(1.5rem, 3.5vw, 2.375rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: rgba(255,255,255,0.88);
  max-width: 44rem;
  margin: 0 auto;
}

.pull-attr {
  font-size: 0.8125rem;
  color: var(--soil-700);
  font-style: italic;
  margin-top: 0.25rem;
}

/* ── Section meta ── */
.section-kicker {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--harvest-600);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--soil-600);
  font-size: 0.875rem;
  margin-top: 0.375rem;
  line-height: 1.6;
}

.section-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Photo placeholders ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

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

.photo-slot {
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.photo-slot-live {
  background: linear-gradient(150deg, rgba(30,15,8,0.9), rgba(15,8,4,0.8));
  border: 1px solid rgba(127,72,21,0.5);
}

.photo-slot-pending {
  background: rgba(10,5,2,0.5);
  border: 1px dashed rgba(127,72,21,0.25);
}

.photo-slot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1.5rem;
  color: var(--soil-400);
}

.photo-location {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--soil-300);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.photo-date {
  font-size: 0.75rem;
  color: var(--soil-600);
}

.photo-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--harvest-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.photo-note-sm {
  font-size: 0.8125rem;
  color: var(--soil-700);
  text-align: center;
}

.photo-note-sm a { color: var(--soil-600); text-decoration: none; transition: color 0.15s; }
.photo-note-sm a:hover { color: var(--soil-400); }

/* ── Inline quote ── */
.inline-quote {
  border-left: 2px solid rgba(127,72,21,0.4);
  padding: 0.5rem 1.5rem;
}

.inline-quote p {
  font-style: italic;
  font-size: 1rem;
  color: var(--soil-400);
  line-height: 1.7;
}

/* ── Bottom saying ── */
.bottom-saying {
  font-size: clamp(1.125rem, 2.5vw, 1.625rem);
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.bottom-saying-attr {
  font-size: 0.8125rem;
  color: var(--harvest-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* ── Sacred section ── */
.sacred-section {
  text-align: center;
  padding: 1rem 0;
}

.sacred-body {
  max-width: 44rem;
  margin: 1.75rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sacred-body p {
  font-size: 1.0625rem;
  color: var(--soil-400);
  line-height: 1.8;
}

.sacred-body em {
  color: var(--soil-300);
  font-style: italic;
}

.sacred-body strong {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
}

.sacred-stat-row {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.sacred-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.sacred-num {
  font-size: 6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--harvest-400);
  filter: drop-shadow(0 0 32px rgba(132,204,22,0.45));
}

.sacred-label {
  font-size: 0.875rem;
  color: var(--soil-600);
  font-weight: 500;
  max-width: 20rem;
  line-height: 1.4;
}

/* ── Quotes grid ── */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

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

.quote-card {
  border-left: 2px solid rgba(132,204,22,0.25);
  padding: 1.25rem 1.5rem;
  background: rgba(10,5,2,0.5);
  border-radius: 0 1rem 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-text {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  font-style: italic;
}

.quote-credit {
  font-size: 0.6875rem;
  color: var(--soil-700);
  margin-top: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ── Hero desc ── */
.hero-desc {
  color: var(--soil-500);
  font-size: 1rem;
  max-width: 36rem;
  margin: 1.25rem auto 0;
  line-height: 1.7;
}
