/* ============================================================
   MHR — Museum of Healing and Reconciliation
   Main Stylesheet
   ============================================================ */

:root {
  --earth:        #8B4513;
  --earth-deep:   #5C2E0A;
  --earth-light:  #C4793A;
  --gold:         #C9A84C;
  --gold-light:   #E8CC7A;
  --green-dark:   #1A2E1A;
  --green-mid:    #2D4A2D;
  --sand:         #F5EFE0;
  --sand-dark:    #EDE5CF;
  --cream:        #FAF7F0;
  --text-dark:    #1A1208;
  --text-mid:     #4A3520;
  --white:        #FFFFFF;
  --transition:   cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}


/* ============================================================
   LOADER
   ============================================================ */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--green-dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo {
  width: 90px; height: 90px;
  margin-bottom: 2rem;
  animation: logoPulse 2s ease-in-out infinite;
}
.loader-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.loader-text {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}
.loader-bar {
  width: 200px; height: 1px;
  background: rgba(201,168,76,0.2);
  margin-top: 1.5rem;
  position: relative; overflow: hidden;
}
.loader-bar::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--gold);
  animation: loadBar 2s ease forwards;
}

@keyframes loadBar  { to { left: 0; } }
@keyframes logoPulse {
  0%,100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.06); opacity: 1; }
}


/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s var(--transition);
}
nav.scrolled {
  background: rgba(26,46,26,0.97);
  backdrop-filter: blur(14px);
  padding: 0.75rem 4rem;
  box-shadow: 0 2px 40px rgba(0,0,0,0.4);
}

.nav-logo {
  display: flex; align-items: center; gap: 0.9rem;
  cursor: pointer; text-decoration: none;
}
.nav-logo img {
  height: 42px; width: auto;
  border-radius: 3px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}
.nav-logo-text {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
  font-weight: 500;
}

.nav-links {
  display: flex; gap: 2.5rem;
  align-items: center; list-style: none;
}
.nav-links a {
  font-family: 'Jost', sans-serif;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover              { color: var(--gold-light); }
.nav-links a:hover::after       { width: 100%; }

.nav-cta {
  background: var(--gold) !important;
  color: var(--green-dark) !important;
  padding: 0.55rem 1.5rem !important;
  font-weight: 500 !important;
  transition: background 0.3s ease !important;
  letter-spacing: 0.15em !important;
}
.nav-cta::after  { display: none !important; }
.nav-cta:hover   { background: var(--gold-light) !important; }

/* Hamburger */
.hamburger {
  display: none; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.hamburger span {
  width: 24px; height: 1.5px;
  background: var(--gold-light);
  display: block;
  transition: all 0.3s ease;
}

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(26,46,26,0.98);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  text-decoration: none;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-close {
  position: absolute; top: 2rem; right: 2rem;
  background: none; border: none;
  color: var(--gold-light); font-size: 1.5rem;
  cursor: pointer;
}


/* ============================================================
   PAGES
   ============================================================ */
.page         { display: none; }
.page.active  { display: block; }


/* ============================================================
   HERO (Home)
   ============================================================ */
.hero {
  min-height: 100vh;
  background-image: url('../images/museum-render.jpeg');
  background-size: cover; background-position: center;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,46,26,0.60) 0%,
    rgba(26,18,8,0.50) 50%,
    rgba(26,46,26,0.88) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 900px; padding: 2rem;
}

.hero-eyebrow {
  font-family: 'Jost', sans-serif;
  color: var(--gold);
  font-size: 0.68rem; letter-spacing: 0.5em;
  text-transform: uppercase; font-weight: 400;
  margin-bottom: 2rem;
  animation: fadeUp 1s ease 0.5s both;
}
.hero-eyebrow::before,
.hero-eyebrow::after { content: '——'; margin: 0 1rem; opacity: 0.45; }

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--white);
  font-weight: 300; line-height: 1.1;
  margin-bottom: 0.3rem;
  animation: fadeUp 1s ease 0.7s both;
}
.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: rgba(255,255,255,0.82);
  font-weight: 300; font-style: italic;
  margin-bottom: 2.5rem;
  animation: fadeUp 1s ease 0.9s both;
}

.hero-tagline {
  font-family: 'Jost', sans-serif;
  color: var(--sand);
  font-size: 1rem; font-weight: 300;
  max-width: 580px; margin: 0 auto 3.5rem;
  line-height: 1.9; letter-spacing: 0.02em; opacity: 0.9;
  animation: fadeUp 1s ease 1.1s both;
}

.hero-buttons {
  display: flex; gap: 1.5rem;
  justify-content: center; flex-wrap: wrap;
  animation: fadeUp 1s ease 1.3s both;
}

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.62rem; letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: fadeUp 1s ease 1.8s both;
  cursor: pointer;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  margin-top: 0.8rem;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.45; transform: scaleY(1); }
  50%      { opacity: 1;    transform: scaleY(1.2); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--gold); color: var(--green-dark);
  padding: 1rem 2.5rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.25em;
  text-transform: uppercase; font-weight: 500;
  border: none; cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.4);
}

.btn-outline {
  background: transparent; color: var(--white);
  padding: 1rem 2.5rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.25em;
  text-transform: uppercase; font-weight: 400;
  border: 1px solid rgba(255,255,255,0.45);
  cursor: pointer; transition: all 0.3s ease;
  text-decoration: none; display: inline-block;
}
.btn-outline:hover {
  border-color: var(--gold); color: var(--gold);
  transform: translateY(-2px);
}


/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section { padding: 7rem 0; }

.section-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 4rem;
}

.section-label {
  font-family: 'Jost', sans-serif;
  color: var(--earth-light);
  font-size: 0.63rem; letter-spacing: 0.5em;
  text-transform: uppercase; font-weight: 400;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--green-dark); font-weight: 400;
  line-height: 1.15; margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--earth); }

.section-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; line-height: 1.9;
  color: var(--text-mid); font-weight: 400;
}

.divider {
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 2rem 0;
}


/* ============================================================
   WHAT-WE-ARE CARDS
   ============================================================ */
.what-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2rem; margin-top: 4rem;
}
.what-card {
  background: var(--white);
  border: 1px solid rgba(139,69,19,0.12);
  padding: 3rem 2.5rem;
  position: relative; overflow: hidden;
  transition: all 0.4s ease; cursor: default;
}
.what-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.what-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(26,46,26,0.1);
}
.what-card:hover::before { transform: scaleX(1); }

.card-number {
  font-family: 'Cinzel', serif;
  font-size: 3rem; color: rgba(139,69,19,0.1);
  font-weight: 700; line-height: 1;
  margin-bottom: 1.5rem;
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; color: var(--green-dark);
  font-weight: 500; margin-bottom: 1rem;
}
.card-text {
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem; line-height: 1.85;
  color: var(--text-mid); font-weight: 300;
}


/* ============================================================
   MISSION DARK BAND
   ============================================================ */
.mission-bg {
  background: var(--green-dark);
  padding: 8rem 0;
  position: relative; overflow: hidden;
}
.mission-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../images/museum-render.jpeg');
  background-size: cover; background-position: center;
  opacity: 0.07;
}
.mission-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
  position: relative; z-index: 1;
}
.mission-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--sand); font-weight: 300;
  line-height: 1.55; font-style: italic;
}
.mission-quote span { color: var(--gold-light); }

.mission-pillars { display: flex; flex-direction: column; gap: 2rem; }
.pillar {
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
}
.pillar-label {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem; letter-spacing: 0.3em;
  color: var(--gold-light); text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.pillar-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: rgba(245,239,224,0.72);
  line-height: 1.7;
}


/* ============================================================
   QUOTE BANNER
   ============================================================ */
.quote-banner {
  background: var(--earth-deep);
  padding: 5rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.quote-banner::before {
  content: '"';
  position: absolute; top: -2rem; left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20rem; line-height: 1;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
}
.banner-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.8vw, 2.3rem);
  color: var(--sand); font-style: italic;
  font-weight: 300; line-height: 1.65;
  max-width: 820px; margin: 0 auto 1.5rem;
  padding: 0 2rem; position: relative; z-index: 1;
}
.banner-attr {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.3em;
  color: var(--gold); text-transform: uppercase;
  position: relative; z-index: 1;
}


/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  height: 55vh; min-height: 400px;
  background-image: url('../images/museum-render.jpeg');
  background-size: cover; background-position: center top;
  position: relative;
  display: flex; align-items: flex-end;
  padding-bottom: 4rem;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,46,26,0.25), rgba(26,18,8,0.85));
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 0 4rem; max-width: 1200px;
  margin: 0 auto; width: 100%;
}
.page-hero-label {
  font-family: 'Cinzel', serif;
  font-size: 0.63rem; letter-spacing: 0.5em;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 1rem;
}
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--white); font-weight: 300;
  line-height: 1.1;
}
.page-hero-title em { font-style: italic; color: var(--gold-light); }


/* ============================================================
   BELIEFS GRID (Mission page)
   ============================================================ */
.beliefs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; margin-top: 4rem;
  border: 1px solid rgba(139,69,19,0.14);
}
.belief-item {
  padding: 3.5rem;
  border-right: 1px solid rgba(139,69,19,0.14);
  border-bottom: 1px solid rgba(139,69,19,0.14);
  transition: background 0.3s ease;
}
.belief-item:hover { background: rgba(139,69,19,0.04); }
.belief-icon  { font-size: 2.2rem; margin-bottom: 1.5rem; }
.belief-title {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem; letter-spacing: 0.25em;
  color: var(--earth); text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.belief-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; line-height: 1.75; color: var(--text-mid);
}


/* ============================================================
   TWO FAMILIES
   ============================================================ */
.families {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: 3rem;
}
.family-card {
  padding: 5rem 4rem;
  position: relative; overflow: hidden;
}
.family-card--green  { background: var(--green-dark); }
.family-card--earth  { background: var(--earth-deep); }
.family-card-bg {
  position: absolute; inset: 0;
  background-image: url('../images/museum-render.jpeg');
  background-size: cover; background-position: center;
  opacity: 0.06;
}
.family-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.63rem; letter-spacing: 0.4em;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 1.5rem; position: relative; z-index: 1;
}
.family-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 300;
  color: var(--sand); margin-bottom: 1.5rem;
  line-height: 1.3; position: relative; z-index: 1;
}
.family-text {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem; line-height: 1.95;
  color: rgba(245,239,224,0.72);
  font-weight: 300; position: relative; z-index: 1;
}


/* ============================================================
   ADVISORS GRID (About page)
   ============================================================ */
.advisors-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5rem; margin-top: 4rem;
}
.advisor-card {
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid rgba(139,69,19,0.12);
  transition: all 0.3s ease;
}
.advisor-card:hover {
  box-shadow: 0 12px 40px rgba(26,46,26,0.08);
  transform: translateY(-4px);
}
.advisor-role {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem; letter-spacing: 0.25em;
  color: var(--earth-light); text-transform: uppercase;
  margin-bottom: 0.6rem; font-weight: 400;
}
.advisor-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; line-height: 1.65; color: var(--text-dark);
}


/* ============================================================
   VISION LAYOUT (Museum page)
   ============================================================ */
.vision-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start; margin-top: 4rem;
}
.vision-image { position: relative; }
.vision-image img {
  width: 100%; height: 450px;
  object-fit: cover; display: block;
}
.vision-image-label {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--gold);
  padding: 1.2rem 1.8rem;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--green-dark);
}
.features-list { list-style: none; margin-top: 2.5rem; }
.features-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(139,69,19,0.12);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem; color: var(--text-mid);
  display: flex; align-items: center; gap: 1rem;
}
.features-list li::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}


/* ============================================================
   DONATE PAGE
   ============================================================ */
.donate-hero {
  min-height: 60vh;
  background: var(--green-dark);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 10rem 2rem 6rem; text-align: center;
}
.donate-hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/museum-render.jpeg');
  background-size: cover; background-position: center;
  opacity: 0.1;
}
.donate-hero-content { position: relative; z-index: 1; max-width: 700px; }
.donate-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--sand); font-weight: 300;
  margin-bottom: 1.5rem; line-height: 1.1;
}
.donate-hero h1 em { font-style: italic; color: var(--gold-light); }
.donate-hero p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; color: rgba(245,239,224,0.72);
  font-style: italic; max-width: 560px;
  margin: 0 auto 3rem; line-height: 1.65;
}

/* Tiers */
.donate-tiers {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}
.tier-card {
  border: 1px solid rgba(139,69,19,0.2);
  padding: 3.5rem 2.5rem;
  text-align: center; background: var(--white);
  transition: all 0.4s ease; cursor: default;
  position: relative; overflow: hidden;
}
.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(26,46,26,0.14);
}
.tier-card--featured {
  background: var(--green-dark);
  border-color: var(--gold);
}
.tier-badge {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.55rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--green-dark);
  padding: 0.3rem 1.2rem; white-space: nowrap;
}
.tier-amount {
  font-family: 'Cinzel', serif;
  font-size: 0.63rem; letter-spacing: 0.4em;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 1rem;
}
.tier-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 500;
  color: var(--text-dark); margin-bottom: 1.5rem;
}
.tier-card--featured .tier-name { color: var(--sand); }
.tier-desc {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem; line-height: 1.75;
  color: var(--text-mid); font-weight: 300;
}
.tier-card--featured .tier-desc { color: rgba(245,239,224,0.68); }
.tier-btn {
  margin-top: 2rem; width: 100%; padding: 0.9rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem; letter-spacing: 0.25em;
  text-transform: uppercase; font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--earth);
  background: transparent; color: var(--earth);
  transition: all 0.3s ease;
}
.tier-btn:hover,
.tier-card--featured .tier-btn {
  background: var(--gold); color: var(--green-dark);
  border-color: var(--gold);
}
.tier-card--featured .tier-btn:hover { background: var(--gold-light); }


/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  max-width: 700px; margin: 4rem auto 0;
  background: var(--white);
  border: 1px solid rgba(139,69,19,0.15);
  padding: 4rem;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-bottom: 0;
}
.form-group {
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.form-group label {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--earth);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid rgba(139,69,19,0.2);
  padding: 0.9rem 1.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem; color: var(--text-dark);
  background: transparent; outline: none;
  transition: border-color 0.3s ease;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--earth); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit {
  width: 100%; padding: 1.2rem;
  background: var(--green-dark); color: var(--gold-light);
  border: none; cursor: pointer;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem; letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: background 0.3s ease;
}
.form-submit:hover { background: var(--earth-deep); }


/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--text-dark);
  color: var(--sand);
  padding: 6rem 0 3rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 4rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem; margin-bottom: 4rem;
}
.footer-brand img {
  height: 60px; margin-bottom: 1.5rem;
  opacity: 0.9; border-radius: 3px;
}
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: rgba(245,239,224,0.55);
  line-height: 1.75; font-style: italic;
}
.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.63rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem; color: rgba(245,239,224,0.5);
  text-decoration: none; font-weight: 300;
  transition: color 0.3s ease;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(245,239,224,0.1);
  padding-top: 2rem;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-copy,
.footer-location {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem; color: rgba(245,239,224,0.28);
  font-weight: 300;
}
.footer-location { letter-spacing: 0.08em; }


/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible         { opacity: 1; transform: translateY(0); }
.reveal-delay-1         { transition-delay: 0.12s; }
.reveal-delay-2         { transition-delay: 0.24s; }
.reveal-delay-3         { transition-delay: 0.36s; }


/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: var(--green-dark); color: var(--gold-light);
  padding: 1rem 2rem;
  font-family: 'Jost', sans-serif; font-size: 0.85rem;
  transform: translateY(120px); opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .what-grid,
  .donate-tiers      { grid-template-columns: 1fr 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .mission-grid,
  .vision-layout      { grid-template-columns: 1fr; gap: 3rem; }
  .vision-image-label { right: 0; bottom: 0; }
}

@media (max-width: 768px) {
  nav            { padding: 1rem 1.5rem; }
  nav.scrolled   { padding: 0.75rem 1.5rem; }
  .nav-links     { display: none; }
  .hamburger     { display: flex; }

  .section-inner,
  .page-hero-content,
  .footer-inner  { padding: 0 1.5rem; }

  .section { padding: 5rem 0; }

  .what-grid,
  .beliefs,
  .families,
  .advisors-grid,
  .donate-tiers  { grid-template-columns: 1fr; }

  .family-card   { padding: 3.5rem 2rem; }

  .form-row      { grid-template-columns: 1fr; }

  .footer-grid   { grid-template-columns: 1fr; gap: 2.5rem; }

  .contact-form  { padding: 2rem 1.5rem; }

  .vision-layout { grid-template-columns: 1fr; gap: 2rem; }
}


/* ============================================================
   POPUPS / MODALS
   ============================================================ */
.popup-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(26,18,8,0.75);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
  padding: 2rem;
}
.popup-overlay.open { display: flex; }

.popup-box {
  background: var(--cream);
  max-width: 620px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  padding: 3.5rem;
  border-top: 4px solid var(--gold);
  animation: popupIn 0.35s var(--transition) both;
}
@keyframes popupIn {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.popup-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; cursor: pointer;
  color: var(--text-mid); font-size: 1.5rem;
  width: 36px; height: 36px; display: flex;
  align-items: center; justify-content: center;
  transition: color 0.3s ease;
}
.popup-close:hover { color: var(--earth); }
.popup-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem; letter-spacing: 0.45em;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.popup-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 400;
  color: var(--green-dark); line-height: 1.2;
  margin-bottom: 0.75rem;
}
.popup-title em { font-style: italic; color: var(--earth); }
.popup-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; line-height: 1.75;
  color: var(--text-mid); margin-bottom: 2rem;
}
.popup-divider {
  width: 50px; height: 2px;
  background: var(--gold); margin-bottom: 2rem;
}

/* Donation level selector */
.donation-levels {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0.75rem; margin-bottom: 1.75rem;
}
.donation-level {
  border: 1px solid rgba(139,69,19,0.2);
  padding: 1rem 0.75rem; text-align: center;
  cursor: pointer; transition: all 0.3s ease;
  background: transparent;
}
.donation-level:hover,
.donation-level.selected {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.donation-level.selected { border-width: 2px; }
.dl-label {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem; letter-spacing: 0.25em;
  color: var(--gold); text-transform: uppercase;
  display: block; margin-bottom: 0.3rem;
}
.dl-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: var(--green-dark); font-weight: 500;
}

/* Popup form uses same .form-group styles, just inline */
.popup-box .form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.popup-box .form-group { margin-bottom: 1.25rem; }
.popup-box .form-submit {
  width: 100%; margin-top: 0.5rem;
}

/* Newsletter popup specifics */
.newsletter-icon {
  font-size: 2.5rem; margin-bottom: 1rem;
}

/* Success state */
.popup-success {
  display: none;
  text-align: center; padding: 2rem 0;
}
.popup-success .success-icon {
  font-size: 3rem; margin-bottom: 1rem;
}
.popup-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; color: var(--green-dark);
  margin-bottom: 0.75rem;
}
.popup-success p {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.7;
}

@media (max-width: 600px) {
  .popup-box { padding: 2.5rem 1.5rem; }
  .donation-levels { grid-template-columns: 1fr; }
  .popup-box .form-row { grid-template-columns: 1fr; }
}

/* Active nav link */
.nav-links a.active-page {
  color: var(--gold-light);
}
.nav-links a.active-page::after { width: 100%; }


/* ============================================================
   MISSING UTILITIES
   ============================================================ */
.section-sand {
  background: var(--sand);
}

.btn-outline-dark {
  background: transparent; color: var(--text-dark);
  padding: 1rem 2.5rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.25em;
  text-transform: uppercase; font-weight: 400;
  border: 1px solid rgba(26,46,26,0.3);
  cursor: pointer; transition: all 0.3s ease;
  text-decoration: none; display: inline-block;
}
.btn-outline-dark:hover {
  border-color: var(--earth); color: var(--earth);
  transform: translateY(-2px);
}

.btn-group {
  display: flex; gap: 1.5rem;
  justify-content: center; flex-wrap: wrap;
}
