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

:root {
  --bg: #FFFBF5;
  --bg-alt: #FFF4E6;
  --fg: #1C1917;
  --fg-muted: #78716C;
  --accent: #F97316;
  --accent-dark: #EA580C;
  --teal: #0D9488;
  --teal-dark: #0F766E;
  --cream: #FEF3E2;
  --border: rgba(28,25,23,0.08);
  --card-bg: #FFFFFF;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,251,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo svg { color: var(--accent); }
.nav-tagline {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* ===== SECTION LABELS ===== */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 12px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
}
.hero-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg-svg {
  width: 100%;
  height: 100%;
}
.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}
.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-lede {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card-bg);
  width: fit-content;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(28,25,23,0.05);
}
.stat {
  padding: 20px 32px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg);
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ===== PROOF ===== */
.proof {
  background: var(--bg-alt);
  padding: 96px 0;
}
.proof-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}
.proof-header {
  margin-bottom: 48px;
}
.proof-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.2;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.dream-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dream-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dream-icon svg { display: block; }
.dream-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
}
.dream-status.funded { background: #DCFCE7; color: #15803D; }
.dream-status.in-progress { background: #FEF9C3; color: #A16207; }
.dream-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
}
.dream-story {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  flex: 1;
}
.dream-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.dream-amount {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
}
.dream-category {
  font-size: 0.75rem;
  color: var(--fg-muted);
  background: var(--cream);
  padding: 3px 10px;
  border-radius: 99px;
}
.dream-progress {
  height: 4px;
  background: var(--cream);
  border-radius: 99px;
  overflow: hidden;
}
.dream-progress-bar {
  height: 100%;
  background: var(--teal);
  border-radius: 99px;
}
.proof-note {
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-align: center;
}

/* ===== DREAMS / HOW IT WORKS ===== */
.dreams {
  padding: 96px 0;
  background: var(--bg);
}
.dreams-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.dreams-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  position: sticky;
  top: 80px;
}
.dreams-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.step { display: flex; flex-direction: column; gap: 10px; }
.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}
.step-heading {
  font-weight: 600;
  font-size: 1rem;
  color: var(--fg);
}
.step-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== CATEGORIES ===== */
.categories {
  padding: 96px 0;
  background: var(--fg);
  color: var(--bg);
}
.categories-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}
.categories .section-label { color: var(--accent); }
.categories-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--bg);
  margin-bottom: 48px;
  line-height: 1.2;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.category-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s;
}
.category-card:hover { background: rgba(255,255,255,0.09); }
.cat-icon { color: var(--accent); }
.cat-icon svg { display: block; }
.cat-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bg);
}
.cat-desc {
  font-size: 0.8125rem;
  color: rgba(255,251,245,0.55);
  line-height: 1.5;
}

/* ===== SPONSOR ===== */
.sponsor {
  padding: 96px 0;
  background: var(--cream);
}
.sponsor-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sponsor-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 16px;
}
.sponsor-lede {
  color: var(--fg-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.sponsor-tiers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tier {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.tier-bronze { border-left: 3px solid #CD7F32; }
.tier-silver { border-left: 3px solid #C0C0C0; }
.tier-gold { border-left: 3px solid #F97316; }
.tier-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  flex-shrink: 0;
}
.tier-bronze .tier-badge { background: #FEF3C2; color: #92400E; }
.tier-silver .tier-badge { background: #F1F5F9; color: #475569; }
.tier-gold .tier-badge { background: #FFF7ED; color: #C2410C; }
.tier-amount {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  flex-shrink: 0;
}
.tier-amount span { font-size: 0.8125rem; font-weight: 400; color: var(--fg-muted); }
.tier-perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  flex: 1;
}
.tier-perks li {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  position: relative;
  padding-left: 14px;
}
.tier-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* ===== CLOSING ===== */
.closing {
  padding: 112px 0;
  background: var(--bg);
}
.closing-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.closing-quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 32px;
}
.closing-body {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 48px;
}
.closing-cta { }
.cta-block {
  background: var(--fg);
  color: var(--bg);
  border-radius: 20px;
  padding: 40px 48px;
  display: inline-block;
  text-align: left;
}
.cta-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.cta-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.4;
  max-width: 420px;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg);
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--fg);
}
.footer-logo svg { color: var(--accent); }
.footer-tagline {
  font-size: 0.875rem;
  color: var(--fg-muted);
  font-style: italic;
  flex: 1;
}
.footer-meta {
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr; }
  .dreams-inner { grid-template-columns: 1fr; gap: 32px; }
  .dreams-title { position: static; }
  .dreams-steps { grid-template-columns: 1fr; }
  .sponsor-inner { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat { padding: 16px 20px; }
}

@media (max-width: 600px) {
  .nav-inner, .proof-inner, .hero-inner, .dreams-inner,
  .categories-inner, .sponsor-inner, .closing-inner, .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero { padding: 64px 0 56px; }
  .proof, .dreams, .categories, .sponsor { padding: 64px 0; }
  .closing { padding: 72px 0; }
  .categories-grid { grid-template-columns: 1fr; }
  .tier { flex-direction: column; align-items: flex-start; }
  .cta-block { padding: 28px 32px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}