:root {
  --bg: #FAF7F2;
  --bg-alt: #F0EDE6;
  --fg: #0F3D3E;
  --fg-muted: #4A7A7B;
  --accent: #F5A623;
  --accent-dim: #C88A1A;
  --teal: #0F3D3E;
  --teal-light: #1A5F61;
  --cream: #FAF7F2;
  --cream-dark: #EDE9E0;
  --white: #FFFFFF;
}

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

body {
  background: var(--cream);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  color: var(--teal);
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 61, 62, 0.06);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--teal);
  letter-spacing: -0.3px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--teal);
  padding: 100px 0 80px;
}
.hero-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-text { }
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(250, 247, 242, 0.75);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 460px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.stat-label { font-size: 12px; color: rgba(250, 247, 242, 0.6); }
.stat-divider { width: 1px; height: 40px; background: rgba(250, 247, 242, 0.15); }

/* RADAR VISUAL */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.radar-container {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 166, 35, 0.25);
}
.radar-ring-1 { width: 60px; height: 60px; }
.radar-ring-2 { width: 120px; height: 120px; }
.radar-ring-3 { width: 200px; height: 200px; }
.radar-ring-4 { width: 300px; height: 300px; border-color: rgba(245, 166, 35, 0.12); }
.radar-core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.8);
  position: relative;
  z-index: 2;
}
.radar-sweep {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(245,166,35,0.15) 30deg, transparent 60deg);
  animation: sweep 4s linear infinite;
  transform-origin: center;
}
@keyframes sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.radar-blip {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(245, 166, 35, 0.9);
}
.radar-blip-1 { top: 30px; left: 50%; transform: translateX(-50%); animation: blip-pulse 3s ease-in-out infinite; }
.radar-blip-2 { top: 50%; right: 20px; transform: translateY(-50%); animation: blip-pulse 3s ease-in-out infinite 1s; }
.radar-blip-3 { bottom: 50px; left: 40px; animation: blip-pulse 3s ease-in-out infinite 2s; }
@keyframes blip-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* GRANT CARDS */
.grant-card {
  position: absolute;
  background: var(--cream);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(15, 61, 62, 0.3);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 140px;
}
.grant-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.grant-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}
.grant-amount {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--teal);
}
.grant-card-1 { top: 0; right: 20px; animation: float 6s ease-in-out infinite; }
.grant-card-2 { bottom: 20px; right: 0; animation: float 6s ease-in-out infinite 2s; }
.grant-card-3 { top: 20px; left: -20px; animation: float 6s ease-in-out infinite 4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-gradient-overlay {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--cream) 0%, transparent 100%);
  z-index: 1;
}

/* ── PROBLEM ── */
.problem { padding: 100px 0; background: var(--cream); }
.problem-inner { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
}
.section-body {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 64px;
}
.problem-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.problem-col h3 { font-size: 20px; margin-bottom: 12px; }
.problem-col p { font-size: 15px; color: var(--fg-muted); line-height: 1.7; }
.problem-icon { margin-bottom: 16px; }

/* ── HOW IT WORKS ── */
.howitworks { padding: 100px 0; background: var(--cream-dark); }
.howitworks-inner { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.pipeline { display: flex; flex-direction: column; gap: 0; }
.pipeline-step {
  display: grid;
  grid-template-columns: 60px 1fr 220px;
  gap: 40px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid rgba(15, 61, 62, 0.1);
}
.pipeline-step:last-child { border-bottom: none; }
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--teal);
  opacity: 0.15;
  line-height: 1;
  padding-top: 4px;
}
.step-content h3 { font-size: 24px; margin-bottom: 12px; }
.step-content p { font-size: 15px; color: var(--fg-muted); line-height: 1.7; max-width: 520px; }
.pipeline-connector { width: 1px; height: 0; }

/* Step visuals */
.step-visual { display: flex; align-items: center; justify-content: center; }

.step-visual-discover {
  position: relative;
  width: 140px;
  height: 140px;
}
.discover-pulse {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: discover-expand 2.5s ease-out infinite;
}
.discover-pulse-delay { animation-delay: 1.25s; }
@keyframes discover-expand {
  0%   { width: 20px; height: 20px; opacity: 1; }
  100% { width: 140px; height: 140px; opacity: 0; }
}

.draft-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 180px;
}
.draft-line {
  height: 10px;
  background: var(--teal);
  border-radius: 3px;
  opacity: 0.15;
  animation: draft-type 3s ease-in-out infinite;
}
.draft-line:nth-child(2) { animation-delay: 0.3s; }
.draft-line:nth-child(3) { animation-delay: 0.6s; }
.draft-line:nth-child(4) { animation-delay: 0.9s; }
.draft-line:nth-child(5) { animation-delay: 1.2s; }
@keyframes draft-type {
  0%, 80%, 100% { opacity: 0.15; }
  40% { opacity: 0.7; }
}

.track-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.track-bar {
  height: 8px;
  background: linear-gradient(to right, var(--teal), var(--teal-light));
  border-radius: 4px;
  flex: 1;
  max-width: 160px;
}
.track-row span {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  opacity: 0.6;
  min-width: 30px;
}

/* ── OUTCOMES ── */
.outcomes { padding: 100px 0; background: var(--teal); }
.outcomes-inner { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.outcomes .section-eyebrow { color: var(--accent); }
.outcomes .section-headline { color: var(--cream); font-size: clamp(28px, 4vw, 42px); }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 64px 0;
}
.outcome { }
.outcome-number {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.outcome-desc { font-size: 14px; color: rgba(250,247,242,0.65); line-height: 1.6; }
.outcomes-quote {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin-top: 64px;
}
.outcomes-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--cream);
  font-style: italic;
  margin-bottom: 12px;
}
.outcomes-quote cite {
  font-size: 13px;
  color: rgba(250,247,242,0.5);
  font-style: normal;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 100px 0;
  background: var(--cream);
  text-align: center;
}
.manifesto-inner { max-width: 800px; margin: 0 auto; padding: 0 40px; }
.manifesto-headline {
  font-size: clamp(32px, 4.5vw, 54px);
  margin-bottom: 20px;
}
.manifesto-body { font-size: 18px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 12px; }
.manifesto-emphasis {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 24px;
}

/* ── CLOSING ── */
.closing {
  padding: 80px 0 100px;
  background: var(--cream);
  text-align: center;
}
.closing-inner { max-width: 800px; margin: 0 auto; padding: 0 40px; }
.closing-radar {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.closing-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 166, 35, 0.3);
}
.closing-ring-1 { width: 60px; height: 60px; }
.closing-ring-2 { width: 100px; height: 100px; }
.closing-ring-3 { width: 120px; height: 120px; border-color: rgba(245,166,35,0.15); }
.closing-core-glow {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 30px rgba(245,166,35,0.7);
}
.closing-headline {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 20px;
}
.closing-sub { font-size: 17px; color: var(--fg-muted); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ── FOOTER ── */
.footer {
  background: var(--teal);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  color: var(--cream);
}
.footer-tagline { font-size: 13px; color: rgba(250,247,242,0.5); }
.footer-info {
  font-size: 14px;
  color: rgba(250,247,242,0.6);
  max-width: 400px;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(250,247,242,0.1);
  padding-top: 24px;
  font-size: 12px;
  color: rgba(250,247,242,0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
  .hero-headline { font-size: 36px; }
  .problem-columns { grid-template-columns: 1fr; gap: 32px; }
  .pipeline-step { grid-template-columns: 40px 1fr; }
  .step-visual { display: none; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 20px; }
}
@media (max-width: 600px) {
  .nav-inner { padding: 0 20px; }
  .nav-tagline { display: none; }
  .hero-content { padding: 0 20px; }
  .problem-inner, .howitworks-inner, .outcomes-inner, .manifesto-inner, .closing-inner { padding: 0 20px; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .outcome-number { font-size: 38px; }
  .hero-stats { flex-wrap: wrap; }
  .stat-divider { display: none; }
}