/* ===========================
   CHRISTENSON FAMILY FOUNDATION
   Stylesheet — Brand-matched
   =========================== */

/* --- Variables --- */
:root {
  --green:       #256b48;
  --green-dark:  #1a4f35;
  --green-light: #e8f2ec;
  --teal:        #77b7b7;
  --taupe:       #736357;
  --taupe-light: #f2efed;
  --black:       #111111;
  --white:       #ffffff;
  --text:        #2d2d2d;
  --text-light:  #6b6b6b;
  --font-body:   'Montserrat', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Section Labels --- */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.section-label.light { color: var(--teal); }

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid rgba(37,107,72,0.12);
  backdrop-filter: blur(8px);
}

.nav-logo .logo-placeholder {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--green);
  border: 2px solid var(--green);
  padding: 0.3rem 0.7rem;
}

/* Replace .logo-placeholder with an actual img when ready: */
/* .nav-logo img { height: 48px; width: auto; } */

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--green);
}

/* ===========================
   HERO (Home)
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #3a8a60 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(119,183,183,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(0,0,0,0.2) 0%, transparent 50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 2.5rem 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.hero-headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subhead {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-quote-bar {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.2);
  padding: 1rem 2rem;
  text-align: center;
  margin-top: auto;
}
.churchill-quote {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.03em;
}

/* ===========================
   MISSION SECTION
   =========================== */
.mission-section {
  padding: 6rem 0;
  background: var(--white);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: start;
}

.mission-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.mission-text p {
  color: var(--text-light);
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
}

.btn-secondary {
  display: inline-block;
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem 1.8rem;
  margin-top: 1rem;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover {
  background: var(--green);
  color: var(--white);
}

.mission-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pillar {
  padding: 1.5rem;
  background: var(--green-light);
  border-left: 4px solid var(--green);
}

.pillar-icon {
  color: var(--green);
  font-size: 0.7rem;
  margin-bottom: 0.5rem;
}

.pillar h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pillar p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===========================
   QUOTE SECTION
   =========================== */
.quote-section {
  padding: 5rem 0;
  background: var(--taupe-light);
}

.quote-box {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-size: 6rem;
  line-height: 0.5;
  color: var(--taupe);
  opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: 1rem;
}

.quote-box blockquote {
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.quote-box cite {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ===========================
   IMPACT SECTION
   =========================== */
.impact-section {
  padding: 5rem 0;
  background: var(--green);
  text-align: center;
}

.impact-section .section-label { color: var(--teal); }

.impact-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.page-hero-content {
  max-width: 650px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  line-height: 1.8;
}

/* ===========================
   ABOUT — STORY
   =========================== */
.story-section {
  padding: 6rem 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.story-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.story-text p {
  color: var(--text-light);
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
}

.founder-card {
  background: var(--green);
  padding: 2rem;
  text-align: center;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.founder-photo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
  color: white;
}

.founder-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.founder-card p {
  font-size: 0.8rem;
  opacity: 0.8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.values-list {
  background: var(--taupe-light);
  padding: 1.5rem;
}

.values-list h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1rem;
}

.values-list li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(115,99,87,0.15);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.values-list li::before {
  content: '→';
  color: var(--green);
  font-weight: 700;
}

/* ===========================
   ABOUT — FAMILY / BOARD
   =========================== */
.family-section {
  padding: 6rem 0;
  background: var(--taupe-light);
}

.family-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 0.97rem;
  color: var(--text-light);
  max-width: 780px;
  margin-bottom: 1rem;
}

.board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.board-group {
  background: var(--white);
  padding: 2rem;
}

.board-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.3rem;
}

.board-group-sub {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  font-style: italic;
}

.board-members {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.board-member {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.member-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-light);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green-dark);
  flex-shrink: 0;
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.member-info strong {
  font-size: 0.9rem;
  color: var(--black);
}

.member-info span {
  font-size: 0.75rem;
  color: var(--text-light);
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #0077b5;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 3px;
  margin-top: 2px;
  transition: opacity 0.2s;
}
.linkedin-link:hover { opacity: 0.8; }

/* ===========================
   ABOUT — APPROACH
   =========================== */
.approach-section {
  padding: 6rem 0;
  background: var(--white);
}

.approach-inner {
  max-width: 720px;
  margin: 0 auto;
}

.approach-inner h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.approach-inner p {
  font-size: 0.97rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

/* ===========================
   GRANTEES
   =========================== */
.grantees-intro {
  padding: 3rem 0 1rem;
  background: var(--white);
}

.grantees-intro p {
  font-size: 0.97rem;
  color: var(--text-light);
  max-width: 780px;
  line-height: 1.8;
}

.grantees-section {
  padding: 3rem 0 6rem;
  background: var(--white);
}

.grantee-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(37,107,72,0.15);
  border-left: 1px solid rgba(37,107,72,0.15);
}

.grantee-item {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  border-right: 1px solid rgba(37,107,72,0.15);
  border-bottom: 1px solid rgba(37,107,72,0.15);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

a.grantee-item:hover {
  background: var(--green-light);
  color: var(--green);
}

.grantee-item.no-link {
  color: var(--text-light);
  cursor: default;
}

/* ===========================
   CONTACT
   =========================== */
.contact-section {
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.contact-info p {
  font-size: 0.97rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.2rem;
  color: var(--green);
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.2rem;
}

.contact-detail a,
.contact-detail span {
  font-size: 0.95rem;
  color: var(--text);
}
.contact-detail a:hover { color: var(--green); }

.notice-box {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  padding: 2.5rem;
}

.notice-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.notice-box p {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--black);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--white);
  border: 2px solid var(--green);
  padding: 0.3rem 0.7rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--teal); }

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .mission-grid,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .impact-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .board-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(37,107,72,0.12);
    gap: 1.2rem;
  }

  .nav-links.open { display: flex; }
  .hamburger { display: block; }

  .impact-stats {
    grid-template-columns: 1fr 1fr;
  }

  .grantees-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}
