@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;600&display=swap');

:root {
  --dark-green: #1B4332;
  --mid-green:  #2D6A4F;
  --light-green:#52B788;
  --pale-green: #D8F3DC;
  --gold:       #C8960C;
  --gold-light: #E8B84B;
  --cream:      #FAFAF5;
  --warm-white: #F5F3EE;
  --dark-text:  #1A1A1A;
  --mid-text:   #444444;
  --light-text: #777777;
  --white:      #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  color: var(--dark-text);
  background: var(--cream);
  line-height: 1.7;
}

/* ── NAVIGATION ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--dark-green);
  border-bottom: 3px solid var(--gold);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-brand span { color: var(--gold-light); }

.nav-links {
  display: flex;
  gap: 0.2rem;
  list-style: none;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  background: rgba(255,255,255,0.07);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--dark-green) !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  padding: 0.45rem 1rem !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── PAGE WRAPPER ───────────────────────────────────────── */
.page-content { padding-top: 68px; }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  background: var(--dark-green);
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem 5rem;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 38px,
      rgba(255,255,255,0.025) 38px,
      rgba(255,255,255,0.025) 39px
    );
}

.hero-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(232,184,75,0.4);
  padding: 0.3rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

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

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin: 0 auto 2.2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--dark-green);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn-green {
  background: var(--dark-green);
  color: var(--white);
}
.btn-green:hover { background: var(--mid-green); }

/* ── SECTIONS ───────────────────────────────────────────── */
section { padding: 4.5rem 2rem; }

.section-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--mid-text);
  max-width: 620px;
  margin-bottom: 3rem;
}

/* ── CARDS ──────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid #e0e8e3;
  border-radius: 8px;
  padding: 1.8rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(27,67,50,0.1); transform: translateY(-2px); }

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--dark-green);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--mid-text);
  line-height: 1.65;
}

.card-price {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
}

/* ── HIGHLIGHT BAND ─────────────────────────────────────── */
.band {
  background: var(--dark-green);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.band .section-title { color: var(--white); }
.band .section-sub   { color: rgba(255,255,255,0.75); margin: 0 auto 2rem; }

/* ── STAT ROW ───────────────────────────────────────────── */
.stat-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.5rem 0;
}

.stat {
  text-align: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(232,184,75,0.3);
  border-radius: 8px;
  padding: 1.4rem 2rem;
  min-width: 160px;
}

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── DIVIDER ────────────────────────────────────────────── */
.gold-divider {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 1rem 0 1.6rem;
}

/* ── PAGE HEADER (inner pages) ──────────────────────────── */
.page-header {
  background: var(--dark-green);
  padding: 4rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 38px,
    rgba(255,255,255,0.025) 38px, rgba(255,255,255,0.025) 39px
  );
}

.page-header-inner {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 0.6rem;
}

.page-header p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 560px;
}

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: #111f17;
  color: rgba(255,255,255,0.6);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.footer-brand span { color: var(--gold-light); }

.footer h4 {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.footer a {
  display: block;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}
.footer a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: 1060px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── CONTACT BLOCK ──────────────────────────────────────── */
.contact-block {
  background: var(--pale-green);
  border: 1px solid #b7dfc8;
  border-radius: 10px;
  padding: 2.5rem;
  max-width: 560px;
}

.contact-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--dark-green);
  margin-bottom: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-icon {
  font-size: 1.3rem;
  width: 2rem;
  text-align: center;
}

.contact-item a {
  color: var(--dark-green);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--gold); }

.contact-note {
  margin-top: 1.4rem;
  font-size: 0.88rem;
  color: var(--mid-text);
  font-style: italic;
  border-top: 1px solid #b7dfc8;
  padding-top: 1rem;
}

/* ── GRANT CARD ─────────────────────────────────────────── */
.grant-card {
  background: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 1.8rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(27,67,50,0.06);
}

.grant-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--dark-green);
  margin-bottom: 0.3rem;
}

.grant-tag {
  display: inline-block;
  background: var(--pale-green);
  color: var(--mid-green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 3px;
  margin-bottom: 0.8rem;
}

.grant-card p {
  font-size: 0.94rem;
  color: var(--mid-text);
  line-height: 1.7;
}

.grant-highlight {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.95rem;
}

/* ── TWO COL ────────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .nav-links { display: none; flex-direction: column; position: absolute;
    top: 68px; left: 0; right: 0; background: var(--dark-green);
    padding: 1rem; gap: 0.2rem; border-bottom: 3px solid var(--gold); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
}

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-2 { animation: fadeUp 0.6s 0.15s ease forwards; opacity: 0; }
.fade-up-3 { animation: fadeUp 0.6s 0.30s ease forwards; opacity: 0; }
