/* ===================================================================
   Feed the Need Industries — Shared Stylesheet
   Navy / Gold StoryBrand design system
   =================================================================== */

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

:root {
  --gold: #C9A84C;
  --gold-light: #F0D898;
  --gold-dark: #8B6914;
  --navy: #0D1B2A;
  --navy-mid: #1A2F45;
  --navy-light: #243B55;
  --cream: #FAF7F0;
  --cream-dark: #EDE8DC;
  --white: #FFFFFF;
  --text-dark: #0D1B2A;
  --text-mid: #3A4F63;
  --text-light: #6B8099;
  --green-accent: #2D7A4F;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 5%; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.nav-logo-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.nav-logo-text {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.nav-logo-text span {
  display: block;
  font-size: 10px;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 9px 20px;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-hamburger span { width: 22px; height: 2px; background: var(--gold); display: block; }

/* ── HERO (home, full) ── */
.hero {
  min-height: 92vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 5% 100px;
}

.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(45,122,79,0.06) 0%, transparent 40%);
}

.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { position: relative; max-width: 760px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  color: var(--gold);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 26px;
  letter-spacing: -0.02em;
}

.hero h1 em { font-style: normal; color: var(--gold); display: block; }

.hero-lead {
  font-size: 19px;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 44px;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 15px 32px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 15px 32px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats { position: relative; margin-top: 56px; display: flex; gap: 48px; flex-wrap: wrap; }
.hero-stat { text-align: left; }
.hero-stat-num { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--gold); display: block; }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── PAGE HERO (interior pages, smaller) ── */
.page-hero {
  background: var(--navy);
  padding: 150px 5% 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(201,168,76,0.1) 0%, transparent 45%);
}

.page-hero .container { position: relative; }

.page-hero .section-label { color: var(--gold); }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  max-width: 760px;
}

.page-hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.68);
  max-width: 640px;
  font-weight: 300;
  line-height: 1.65;
}

.page-hero .hero-actions { margin-top: 32px; }

/* ── SECTIONS / TYPE ── */
.section { padding: 90px 5%; }
.bg-cream-dark { background: var(--cream-dark); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy-mid { background: var(--navy-mid); color: var(--white); }
.tight { padding: 50px 5%; }

.section-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.bg-navy .section-label, .bg-navy-mid .section-label { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-dark);
  max-width: 720px;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}

.bg-navy .section-title, .bg-navy-mid .section-title { color: var(--white); }

.centered { text-align: center; }
.centered .section-title { margin-left: auto; margin-right: auto; }

.section-body {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 0 40px;
  font-weight: 300;
  line-height: 1.75;
}

.bg-navy .section-body, .bg-navy-mid .section-body { color: rgba(255,255,255,0.68); }
.centered .section-body { margin-left: auto; margin-right: auto; }

p.body-text { font-size: 17px; color: var(--text-mid); font-weight: 300; line-height: 1.8; margin-bottom: 20px; max-width: 680px; }
.bg-navy p.body-text, .bg-navy-mid p.body-text { color: rgba(255,255,255,0.7); }

.divider { width: 56px; height: 3px; background: var(--gold); margin-bottom: 24px; }

/* ── CARD GRIDS ── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--white);
  border-radius: 8px;
  padding: 34px 28px;
  text-align: left;
  border-left: 4px solid var(--gold);
}

.bg-navy .card, .bg-navy-mid .card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--gold);
}

.card-icon { font-size: 26px; margin-bottom: 14px; display: block; }

.card h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.bg-navy .card h3, .bg-navy-mid .card h3 { color: var(--white); }

.card p { font-size: 14.5px; color: var(--text-mid); line-height: 1.65; }
.bg-navy .card p, .bg-navy-mid .card p { color: rgba(255,255,255,0.62); }

.tag {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  color: var(--gold-dark);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  margin-top: 14px;
}

/* ── MISSION / GUIDE BLOCK ── */
.guide-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.mission-card {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 8px;
  padding: 30px;
}

.mission-card-title { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.mission-card blockquote { font-family: var(--font-display); font-size: 19px; font-style: italic; color: var(--white); line-height: 1.5; }

.cred-list { display: flex; flex-direction: column; gap: 26px; }
.cred-item { display: flex; align-items: flex-start; gap: 18px; }
.cred-icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%;
  background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.cred-text h4 { font-size: 15.5px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.cred-text p { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; }
.step { text-align: center; }
.step-number {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  font-family: var(--font-display); font-size: 23px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; border: 2px solid rgba(201,168,76,0.3);
}
.step h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--text-mid); line-height: 1.65; max-width: 270px; margin: 0 auto; }

/* numbered list variant (vertical, for how-to-apply / process pages) */
.numbered-list { counter-reset: step; display: flex; flex-direction: column; gap: 28px; max-width: 680px; }
.numbered-item { display: flex; gap: 22px; align-items: flex-start; }
.numbered-item::before {
  counter-increment: step; content: counter(step);
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.numbered-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.numbered-item p { font-size: 14.5px; color: var(--text-mid); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.testimonial {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 30px; position: relative;
}
.testimonial::before {
  content: '\201C'; font-family: var(--font-display); font-size: 70px;
  color: var(--gold); opacity: 0.25; position: absolute; top: 6px; left: 18px; line-height: 1;
}
.testimonial-text { font-size: 15.5px; color: rgba(255,255,255,0.8); line-height: 1.7; font-style: italic; margin-bottom: 20px; position: relative; z-index: 1; }
.testimonial-author { font-size: 12.5px; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; }

.impact-numbers { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; padding-top: 36px; margin-top: 40px; border-top: 1px solid rgba(201,168,76,0.2); }
.impact-num { text-align: center; }
.impact-num-val { font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--gold); display: block; line-height: 1; margin-bottom: 6px; }
.impact-num-label { font-size: 12.5px; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase; }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 32px; max-width: 700px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: rgba(201,168,76,0.35); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item::before { content: ''; position: absolute; left: -32px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--cream); }
.timeline-item .year { font-family: var(--font-display); font-weight: 700; color: var(--gold-dark); font-size: 15px; margin-bottom: 4px; }
.timeline-item h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.timeline-item p { font-size: 14.5px; color: var(--text-mid); line-height: 1.6; }

/* ── CHECKLIST ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-mid); }
.checklist li::before {
  content: '✓'; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* ── CTA BAND ── */
.cta-section { background: var(--navy); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(201,168,76,0.1) 0%, transparent 70%); }
.cta-inner { position: relative; max-width: 680px; margin: 0 auto; }
.cta-inner .section-title { color: var(--white); margin: 0 auto 18px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ── GIFT TABLE (donate page) ── */
.gift-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.gift-table th { text-align: left; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dark); padding: 14px 16px; border-bottom: 2px solid var(--cream-dark); }
.gift-table td { padding: 16px; border-bottom: 1px solid var(--cream-dark); font-size: 15px; color: var(--text-mid); }
.gift-amount { font-family: var(--font-display); font-weight: 700; color: var(--text-dark); font-size: 18px; white-space: nowrap; }

/* ── GIVE CARDS ── */
.give-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.give-card { background: var(--white); border-radius: 8px; padding: 30px 26px; border-left: 4px solid var(--gold); }
.give-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.give-card p { font-size: 14.5px; color: var(--text-mid); line-height: 1.6; }

/* ── LOGO GRID (supporters) ── */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; }
.logo-tile {
  background: var(--white); border-radius: 8px; padding: 26px 20px; text-align: center;
  border: 1px solid var(--cream-dark);
}
.logo-tile .name { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text-dark); margin-bottom: 4px; }
.logo-tile .role { font-size: 11.5px; color: var(--gold-dark); letter-spacing: 0.06em; text-transform: uppercase; }

/* ── FORMS ── */
.form-box { background: var(--white); border-radius: 8px; padding: 36px; border: 1px solid var(--cream-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px; border: 1px solid var(--cream-dark); border-radius: 5px;
  font-family: var(--font-body); font-size: 14.5px; color: var(--text-dark); background: var(--cream);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--text-light); margin-top: 6px; }

/* ── FOOTER ── */
footer { background: var(--navy); border-top: 1px solid rgba(201,168,76,0.15); padding: 60px 5% 36px; color: rgba(255,255,255,0.5); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-top: 16px; max-width: 300px; }
.footer-col h5 { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13.5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: rgba(255,255,255,0.3); max-width: 1100px; margin: 0 auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 5% 20px; display: none; border-bottom: 1px solid rgba(201,168,76,0.25); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-hamburger { display: flex; }
  .guide-inner { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
