/* ============================================
   LIFESOURCE — CSS
   Multi-page layout
   ============================================ */

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

:root {
  --dark: #181818;
  --dark-soft: #222;
  --text: #3a3a3a;
  --text-mid: #666;
  --text-light: #999;
  --white: #fff;
  --warm-bg: #f7f4f0;
  --warm-bg-deep: #eee9e2;
  --border: rgba(0,0,0,0.08);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--warm-bg);
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== SHARED LABEL ===== */
.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* ===== NAV ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: 0.4s var(--ease);
}

.navbar.scrolled,
.navbar--inner {
  background: rgba(247, 244, 240, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  z-index: 10;
}

.logo-img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: 0.4s var(--ease);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.navbar.scrolled .logo-img,
.navbar--inner .logo-img {
  filter: brightness(0);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.7);
  transition: 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.nav-active {
  color: var(--white);
}

.navbar.scrolled .nav-link,
.navbar--inner .nav-link {
  color: var(--text-mid);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.nav-active,
.navbar--inner .nav-link:hover,
.navbar--inner .nav-link.nav-active {
  color: var(--dark);
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > .nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 180px;
  padding: 12px 0;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown-link {
  display: block;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.02em;
  transition: 0.2s var(--ease);
  white-space: nowrap;
}

.nav-dropdown-link:hover {
  color: var(--dark);
  background: var(--warm-bg);
}

.nav-dropdown-link.dropdown-active {
  color: var(--dark);
  font-weight: 600;
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--dark);
  background: var(--white);
  padding: 10px 24px;
  border-radius: 4px;
  transition: 0.3s var(--ease);
}

.nav-cta:hover {
  opacity: 0.85;
}

.navbar.scrolled .nav-cta,
.navbar--inner .nav-cta {
  background: var(--dark);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s var(--ease);
  border-radius: 2px;
}

.navbar.scrolled .nav-toggle span,
.navbar--inner .nav-toggle span {
  background: var(--dark);
}

/* ===== HERO (Home page only) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 24, 24, 0.82);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 32px;
}

.hero-scripture {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.hero-cta {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 16px 40px;
  transition: 0.3s var(--ease);
}

.hero-cta:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

/* ===== PAGE HEADER (Inner pages) ===== */
.page-header {
  padding: 180px 0 80px;
  background: var(--white);
  text-align: center;
}

.page-header .label {
  margin-bottom: 24px;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.15;
  max-width: 700px;
  margin: 0 auto 24px;
}

.page-header-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== SECTIONS ===== */
.section {
  padding: 120px 0;
}

.section--alt {
  background: var(--white);
}

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

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-heading {
  text-align: center;
  margin-bottom: 72px;
}

.section-heading .label {
  margin-bottom: 20px;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-heading p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ===== SPLIT LAYOUT ===== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-layout--reverse {
  direction: rtl;
}

.split-layout--reverse > * {
  direction: ltr;
}

.split-image {
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.split-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 28px;
}

.split-text p {
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.9;
  font-size: 1rem;
}

.split-text p:last-of-type {
  margin-bottom: 0;
}

/* ===== TEXT LINK ===== */
.text-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.02em;
  margin-top: 28px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--dark);
  transition: 0.3s var(--ease);
}

.text-link:hover {
  opacity: 0.6;
}

/* ===== HOME: INTRO ===== */
.intro {
  background: var(--white);
}

.intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-text .label {
  margin-bottom: 20px;
}

.intro-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 28px;
}

.intro-text p {
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.9;
  font-size: 1rem;
}

.intro-image {
  overflow: hidden;
}

.intro-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* ===== SCRIPTURE BANNER ===== */
.scripture {
  padding: 100px 0;
  background: var(--dark);
  text-align: center;
}

.scripture blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto 20px;
  font-weight: 300;
}

.scripture blockquote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===== HOME: PILLARS ===== */
.pillars {
  background: var(--warm-bg);
}

.pillars-header {
  text-align: center;
  margin-bottom: 72px;
}

.pillars-header .label {
  margin-bottom: 20px;
}

.pillars-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.15;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
}

.pillar {
  padding: 0;
}

.pillar-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--warm-bg-deep);
  margin-bottom: 12px;
  line-height: 1;
}

.pillar h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 12px;
}

.pillar p {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 0.95rem;
}

.pillars-cta {
  text-align: center;
  margin-top: 60px;
}

/* ===== HOME: MISSION BANNER ===== */
.mission-banner,
.mission-full-image {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}

.mission-bg {
  position: absolute;
  inset: 0;
}

.mission-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 24, 24, 0.88);
}

.mission-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.mission-banner-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto 28px;
}

.mission-banner-content p {
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  margin: 0 auto 0;
  line-height: 1.8;
  font-size: 1.1rem;
}

.banner-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-top: 32px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: 0.3s var(--ease);
}

.banner-link:hover {
  border-color: var(--white);
}

/* ===== HOME: VOICE PREVIEW ===== */
.voice-preview {
  background: var(--white);
}

.voice-preview-content {
  text-align: center;
}

.voice-preview-content .label {
  margin-bottom: 32px;
}

.voice-preview-content blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--dark);
  line-height: 1.65;
  margin-bottom: 24px;
  font-weight: 400;
}

.voice-preview-content cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--dark);
  padding: 120px 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}

.cta-band p {
  color: rgba(255,255,255,0.5);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  transition: 0.3s var(--ease);
  background: transparent;
}

.cta-btn:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.cta-btn-primary {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.cta-btn-primary:hover {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}

/* ===== ABOUT: FACILITIES ===== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.facility-card {
  padding: 40px 32px;
  background: var(--warm-bg);
  border: 1px solid var(--border);
}

.facility-card--has-image {
  padding: 0;
  overflow: hidden;
}

.facility-card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.facility-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s var(--ease);
}

.facility-card--has-image:hover .facility-card-image img {
  transform: scale(1.04);
}

.facility-card-body {
  padding: 28px 32px 32px;
}

.facility-subtitle {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
}

.facility-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--dark);
}

.facility-icon svg {
  width: 100%;
  height: 100%;
}

.facility-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 12px;
}

.facility-card p {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ===== PROGRAM: PILLARS DETAIL ===== */
.program-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
}

.program-pillar {
  padding: 40px;
  background: var(--warm-bg);
  border: 1px solid var(--border);
}

.program-pillar .pillar-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--warm-bg-deep);
  margin-bottom: 16px;
  line-height: 1;
}

.program-pillar h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 16px;
}

.program-pillar p {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.program-pillar ul {
  list-style: none;
  padding: 0;
}

.program-pillar ul li {
  font-size: 0.9rem;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 16px;
  position: relative;
}

.program-pillar ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--dark);
  border-radius: 50%;
  transform: translateY(-50%);
}

.program-pillar ul li:last-child {
  border-bottom: none;
}

/* ===== PROJECTS: PHOTO GALLERY ===== */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.photo-gallery-item {
  overflow: hidden;
  aspect-ratio: 1;
}

.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.photo-gallery-item:hover img {
  transform: scale(1.05);
}

.photo-gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: auto;
}

/* ===== PROJECTS: SPONSOR ===== */
.sponsor-callout {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
}

.sponsor-logo {
  flex-shrink: 0;
  width: 160px;
}

.sponsor-logo img {
  width: 100%;
  height: auto;
}

.sponsor-callout p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .photo-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .photo-gallery-item--wide {
    grid-column: span 2;
  }

  .sponsor-callout {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .sponsor-logo {
    width: 140px;
  }
}

@media (max-width: 480px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .photo-gallery-item--wide {
    grid-column: span 1;
  }
}

/* ===== PROGRAM: TIMELINE ===== */
.timeline {
  margin-top: 48px;
}

.timeline-item {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-item:first-child {
  border-top: 1px solid var(--border);
}

.timeline-marker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.timeline-item h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 12px;
}

.timeline-item p {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 1rem;
  max-width: 620px;
}

/* ===== MISSION: PROSE ===== */
.prose {
  max-width: 660px;
  margin: 0 auto;
}

.prose-lead {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 32px;
}

.prose p {
  color: var(--text-mid);
  line-height: 1.9;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* ===== MISSION: BELIEFS ===== */
.beliefs-list {
  max-width: 780px;
  margin: 0 auto;
}

.belief-item {
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}

.belief-item:first-child {
  border-top: 1px solid var(--border);
}

.belief-item h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 12px;
}

.belief-item p {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 1rem;
  max-width: 620px;
}

/* ===== STORIES: FEATURED ===== */
.story-featured {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.story-featured-quote blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-style: italic;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 400;
}

.story-featured-quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 24px;
}

/* ===== STORIES: GRID ===== */
.stories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.story-card {
  padding: 40px;
  background: var(--warm-bg);
  border: 1px solid var(--border);
}

.story-card blockquote p {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 0;
}

.story-card cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 20px;
}

/* ===== CONTACT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 20px;
}

.contact-text > p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border-radius: 50%;
  color: var(--white);
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
}

.contact-detail div strong {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-detail a,
.contact-detail span {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 500;
}

.contact-detail a:hover {
  opacity: 0.6;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--dark);
  transition: 0.3s var(--ease);
}

.social-link:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.contact-form-card {
  background: var(--white);
  padding: 44px;
  border: 1px solid rgba(0,0,0,0.06);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--warm-bg);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 0;
  transition: 0.3s var(--ease);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--dark);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8.825L0.675 3.5l0.85-0.85L6 7.125l4.475-4.475l0.85 0.85L6 8.825z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--dark);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: 0.3s var(--ease);
}

.btn-submit:hover {
  opacity: 0.8;
}

/* ===== STAFF ===== */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.staff-card {
  background: var(--warm-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: 0.3s var(--ease);
}

.staff-card:hover {
  border-color: rgba(0,0,0,0.14);
}

.staff-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--warm-bg-deep);
  position: relative;
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s var(--ease);
}

.staff-card:hover .staff-photo img {
  transform: scale(1.03);
}

.staff-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-bg-deep);
  color: rgba(0,0,0,0.12);
}

.staff-photo-placeholder svg {
  width: 64px;
  height: 64px;
}

.staff-info {
  padding: 24px 28px 28px;
}

.staff-info h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 4px;
}

.staff-role {
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.staff-bio {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===== CONTRIBUTE: DONATE BAND ===== */
.donate-band {
  background: var(--dark);
  padding: 140px 0;
  text-align: center;
}

.donate-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.donate-band > .container-narrow > p {
  color: rgba(255, 255, 255, 0.5);
  max-width: 540px;
  margin: 0 auto 52px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.donate-band-btn {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 24px 64px;
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--white);
  transition: all 0.3s var(--ease);
}

.donate-band-btn:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.donate-band-btn:active {
  transform: translateY(0);
}

.donate-band-trust {
  display: block;
  margin-top: 32px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .donate-band {
    padding: 100px 0;
  }

  .donate-band-btn {
    padding: 20px 48px;
  }
}

/* ===== CONTRIBUTE: IMPACT LIST ===== */
.impact-list {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.impact-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.impact-item:first-child {
  border-top: 1px solid var(--border);
}

.impact-item p {
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  padding-left: 20px;
  position: relative;
}

.impact-item p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--dark);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* ===== CONTACT: MAP ===== */
.map-section {
  position: relative;
  background: var(--dark);
}

.map-embed {
  width: 100%;
  height: 480px;
  position: relative;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.leaflet-marker-custom {
  background: none !important;
  border: none !important;
}

.ls-popup .leaflet-popup-content-wrapper {
  background: var(--dark);
  color: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
}

.ls-popup .leaflet-popup-tip {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: none;
  border-right: none;
}

.ls-popup .leaflet-popup-content {
  margin: 14px 16px;
  line-height: 1.5;
}

.ls-popup .leaflet-popup-close-button {
  color: rgba(255,255,255,0.4);
}

.ls-popup .leaflet-popup-close-button:hover {
  color: var(--white);
}

.map-locations {
  position: relative;
  z-index: 2;
  padding: 56px 0;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.map-locations-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.map-location-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.3s var(--ease);
}

.map-location-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}

.map-location-icon {
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
  padding-top: 2px;
}

.map-location-icon svg {
  width: 100%;
  height: 100%;
}

.map-location-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
}

.map-location-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 4px;
}

.map-location-type {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}

.map-location-address {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

.map-location-card span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.03em;
}

/* ===== CONTACT: INVOLVE GRID ===== */
.involve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.involve-card {
  padding: 40px 32px;
  background: var(--warm-bg);
  border: 1px solid var(--border);
}

.involve-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 12px;
}

.involve-card p {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.involve-card .text-link {
  margin-top: 20px;
  font-size: 0.85rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  padding: 60px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer .logo-img {
  height: 22px;
  filter: brightness(0) invert(1);
}

.footer-links-row {
  display: flex;
  gap: 32px;
}

.footer-links-row a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.03em;
  transition: 0.3s var(--ease);
}

.footer-links-row a:hover {
  color: var(--white);
}

.footer-bottom {
  width: 100%;
  text-align: center;
  padding-top: 32px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin-bottom: 12px;
}

.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-contact a,
.footer-contact span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  transition: 0.3s var(--ease);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.4);
  transition: 0.3s var(--ease);
}

.footer-social a:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .split-layout,
  .intro-layout,
  .contact-layout {
    gap: 48px;
  }

  .pillars-grid,
  .program-pillars {
    gap: 32px 40px;
  }

  .facilities-grid {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .page-header {
    padding: 140px 0 60px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--warm-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transition: 0.5s var(--ease);
    z-index: 5;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links .nav-link {
    color: var(--dark);
    font-size: 1.15rem;
  }

  .nav-links .nav-cta {
    background: var(--dark);
    color: var(--white);
    font-size: 1rem;
    padding: 14px 32px;
  }

  .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .nav-dropdown > .nav-link {
    justify-content: center;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: auto;
    padding: 4px 0 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown .dropdown-arrow {
    stroke: var(--dark);
  }

  .nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
  }

  .nav-dropdown-link {
    text-align: center;
    padding: 8px 24px;
    font-size: 0.95rem;
    color: var(--text-mid);
  }

  .nav-dropdown-link:hover {
    background: transparent;
    color: var(--dark);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--dark);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--dark);
  }

  .split-layout,
  .intro-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-layout--reverse {
    direction: ltr;
  }

  .split-image img,
  .intro-image img {
    height: 380px;
  }

  .pillars-grid,
  .program-pillars,
  .stories-grid,
  .involve-grid {
    grid-template-columns: 1fr;
  }

  .facilities-grid,
  .staff-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .map-locations-inner {
    grid-template-columns: 1fr;
  }

  .map-embed {
    height: 360px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: clamp(2.8rem, 10vw, 4rem);
  }

  .mission-banner,
  .mission-full-image {
    padding: 100px 0;
  }

  .footer-links-row {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 28px 20px;
  }

  .story-card {
    padding: 28px 24px;
  }

  .facility-card {
    padding: 28px 24px;
  }

  .program-pillar {
    padding: 28px 24px;
  }

  .involve-card {
    padding: 28px 24px;
  }
}
