:root {
  --bg-primary: #fbfbf9;
  --bg-dark: #1b1c1d;
  --bg-card: #ffffff;
  --text-main: #1e2022;
  --text-muted: #5e646a;
  --accent: #9a3412;
  --accent-hover: #7c2d12;
  --accent-soft: #ffedd5;
  --border-color: #e5e7eb;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-family); background-color: var(--bg-primary); color: var(--text-main); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { padding: 20px 0; border-bottom: 1px solid var(--border-color); background: #fff; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-title { font-weight: 800; font-size: 1.1rem; letter-spacing: 0.05em; display: block; }
.logo-sub { font-size: 0.8rem; color: var(--accent); font-weight: 600; text-transform: uppercase; }
nav a { text-decoration: none; color: var(--text-muted); margin-left: 20px; font-weight: 500; font-size: 0.95rem; }
nav a.nav-apply { color: var(--accent); font-weight: 700; }

/* Hero */
.hero { padding: 50px 0 60px; }
.goal-widget-container { max-width: 700px; margin: 0 auto 36px; text-align: center; }
.hero-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 2.2rem; line-height: 1.3; margin-bottom: 20px; font-weight: 800; }
.hero-description { color: var(--text-muted); font-size: 1.08rem; margin-bottom: 28px; line-height: 1.65; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-figure { margin: 0; }
.hero-img { width: 100%; height: 420px; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); display: block; background: #e5e7eb; }

/* Photo Credits */
.photo-credit { font-size: 0.75rem; color: var(--text-muted); margin-top: 6px; text-align: right; }
.credit-dark { color: #9ca3af; }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.95rem; text-align: center; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: #e5e7eb; color: var(--text-main); }
.btn-outline { border: 1.5px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }

/* Sections */
.section { padding: 70px 0; }
.section-alt { background: #f3f4f6; }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-tag { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 8px; }
.section h2 { font-size: 2rem; margin-bottom: 20px; }
.section-body { font-size: 1.08rem; color: var(--text-muted); margin-bottom: 18px; max-width: 840px; }

/* Metrics */
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.metric-card { background: #fff; padding: 24px; border-radius: 8px; border: 1px solid var(--border-color); }
.metric-number { font-size: 2.2rem; font-weight: 800; color: var(--accent); display: block; margin-bottom: 6px; }
.metric-label { font-size: 0.95rem; color: var(--text-muted); }

/* Pillar Section Banner & Cards */
.pillar-banner-wrap { margin: 24px 0 36px; }
.pillar-banner-img { width: 100%; height: 340px; object-fit: cover; border-radius: 10px; display: block; background: #27282a; }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.pillar-card { background: #27282a; padding: 26px; border-radius: 8px; display: flex; flex-direction: column; justify-content: flex-start; }
.card-tag { font-size: 0.75rem; color: var(--accent-soft); font-weight: 700; letter-spacing: 0.05em; margin-bottom: 8px; }
.pillar-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: #fff; }
.pillar-card p { font-size: 0.95rem; color: #9ca3af; }

/* Intake Banner & Grid */
.intake-banner-wrap { margin: 28px 0 36px; }
.banner-figure { margin: 0; }
.intake-banner-img { width: 100%; height: 320px; object-fit: cover; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.06); display: block; background: #e5e7eb; }

.intake-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.intake-card { background: #fff; padding: 26px; border-radius: 8px; border: 1px solid var(--border-color); display: flex; flex-direction: column; justify-content: space-between; }
.featured-phase-card { border: 2px solid var(--accent); background: #fffaf7; }
.status-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 14px; width: fit-content; }
.status-badge-open { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #ecfdf5; color: #047857; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 14px; width: fit-content; }
.phase-explainer { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 16px; }
.phase-meter { background: #fed7aa; padding: 8px 12px; border-radius: 4px; font-size: 0.82rem; font-weight: 700; color: #9a3412; margin-bottom: 20px; text-align: center; }

/* Columns for Donate & Ledger */
.grid-two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.embed-box { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 24px; }
.embed-box h3 { margin-bottom: 8px; }
.embed-box p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--border-color); padding: 40px 0; text-align: center; font-size: 0.9rem; }
.crisis-banner { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 12px 16px; border-radius: 6px; margin-bottom: 20px; display: inline-block; }
.copyright { color: var(--text-muted); }

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-img { height: 280px; }
  .pillar-banner-img { height: 220px; }
  .intake-banner-img { height: 200px; }
}
