/* =========================================================
   Blessed Hope Uganda — Design System
   ========================================================= */
:root {
  --bg: #F7F2E8;
  --bg-alt: #EFE8D6;
  --surface: #FFFFFF;
  --ink: #1C1C18;
  --ink-soft: #4A4942;
  --ink-mute: #7C7B73;
  --line: #E3DBC8;
  --primary: #2C4B3E;
  --primary-dark: #1E362C;
  --accent: #B6704B;
  --accent-warm: #D9A066;
  --gold: #C79A4E;
  --max: 1240px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(28,28,24,.06);
  --shadow-md: 0 8px 24px rgba(28,28,24,.08);
  --shadow-lg: 0 24px 60px rgba(28,28,24,.14);
  --t-serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --t-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--t-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--t-serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.015em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 300; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 400; }
h4 { font-size: 1.125rem; font-weight: 500; letter-spacing: .02em; }
p { margin-bottom: 1.25rem; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--t-sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: .75rem;
  transform: translateY(-2px);
}

.lede {
  font-family: var(--t-serif);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 300;
  font-style: italic;
}

/* Container */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.75rem; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 1.75rem; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: rgba(247, 242, 232, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand {
  font-family: var(--t-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: .005em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.nav-brand img { display: none; }
.nav-brand span { line-height: 1; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-menu a {
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
  padding: .25rem 0;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
}
.nav-menu .has-sub { position: relative; }
.nav-menu .submenu {
  position: absolute;
  top: 140%;
  left: -1rem;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .75rem 0;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .25s var(--ease);
  list-style: none;
}
.nav-menu .has-sub:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .submenu a {
  display: block;
  padding: .55rem 1.25rem;
  text-transform: none;
  letter-spacing: normal;
  font-size: .92rem;
  color: var(--ink-soft);
}
.nav-menu .submenu a::after { display: none; }
.nav-menu .submenu a:hover { background: var(--bg-alt); color: var(--primary); }

.nav-menu .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary);
  color: #fff !important;
  padding: .65rem 1.4rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.nav-menu .nav-cta::after { display: none !important; }
.nav-menu .nav-cta:hover { background: var(--primary-dark); color: #fff !important; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: all .25s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 1rem 1.75rem 3rem;
    background: var(--bg);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 95;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid var(--line);
    display: block;
  }
  .nav-menu > li > a {
    display: block;
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--ink);
  }
  .nav-menu .submenu {
    display: block;
    position: static;
    width: 100%;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 .5rem .75rem;
    margin: 0;
    list-style: none;
  }
  .nav-menu .submenu li {
    width: 100%;
    border: none;
    display: block;
  }
  .nav-menu .submenu a {
    display: block;
    padding: .55rem 0;
    font-size: .92rem;
    color: var(--ink-mute);
    text-transform: none;
    letter-spacing: normal;
  }
  .nav-menu .nav-cta {
    display: inline-flex;
    padding: .85rem 1.6rem;
    width: auto;
    align-self: flex-start;
    margin-top: 1.25rem;
  }
  .nav-toggle { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 4rem;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img, .hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,28,24,.3) 0%, rgba(28,28,24,.55) 70%, rgba(28,28,24,.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.75rem;
  width: 100%;
  color: #fff;
}
.hero-content .eyebrow { color: var(--accent-warm); }
.hero-content .eyebrow::before { background: var(--accent-warm); }
.hero-content h1 {
  color: #fff;
  max-width: 14ch;
  margin-bottom: 1.5rem;
}
.hero-content .lede {
  color: rgba(255,255,255,.88);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  font-style: normal;
  font-weight: 300;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .7;
  writing-mode: vertical-rl;
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: translate(-50%, 0); opacity: .6; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* Page header (non-home) */
.page-header {
  position: relative;
  padding: 10rem 0 5rem;
  background: var(--primary);
  color: #fff;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 120%, rgba(198,154,78,.14), transparent 50%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header .eyebrow { color: var(--accent-warm); }
.page-header .eyebrow::before { background: var(--accent-warm); }
.page-header h1 { color: #fff; max-width: 20ch; }
.page-header .lede { color: rgba(255,255,255,.82); max-width: 60ch; margin-top: 1.5rem; font-style: normal; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-family: var(--t-sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .28s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: #a6613d; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,.45);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--primary) !important;
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff !important; }
.btn-dark { background: var(--primary); color: #fff !important; }
.btn-dark:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn .arrow { transition: transform .28s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* Sections */
section { padding: 6rem 0; }
@media (max-width: 760px) { section { padding: 4rem 0; } }

.section-head {
  text-align: center;
  margin-bottom: 4rem;
}
.section-head.left { text-align: left; }
.section-head h2 { margin-bottom: 1.25rem; }
.section-head .lede { max-width: 62ch; margin: 0 auto; }
.section-head.left .lede { margin: 0; }

/* Values (home 3 pillars) */
.values {
  background: var(--bg-alt);
  position: relative;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-card {
  background: var(--surface);
  padding: 3rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: all .35s var(--ease);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.value-card .icon {
  width: 48px; height: 48px;
  margin: 0 auto 1.5rem;
  opacity: .9;
}
.value-card h3 {
  font-family: var(--t-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.value-card p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 760px) {
  .values-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* Feature (text + image side by side) */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.feature.reverse > *:first-child { order: 2; }
.feature-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.feature-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.feature-img:hover img { transform: scale(1.04); }
.feature-body h2 { margin-bottom: 1.5rem; }
.feature-body .scripture {
  margin-top: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
  font-family: var(--t-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--primary);
}
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature.reverse > *:first-child { order: 0; }
  .feature-img { aspect-ratio: 4/3; max-width: 520px; }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery.four { grid-template-columns: repeat(4, 1fr); }
.gallery.masonry { grid-auto-rows: 10px; }
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  position: relative;
  background: var(--bg-alt);
  aspect-ratio: 1/1;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .3s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); filter: brightness(.92); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(28,28,24,.18), transparent 60%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item.tall { aspect-ratio: 3/4; }
.gallery-item.wide { aspect-ratio: 4/3; }

@media (max-width: 860px) { .gallery, .gallery.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery, .gallery.four { grid-template-columns: 1fr; } }

/* Era / chronological section (beginnings) */
.era {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
}
.era:last-child { border-bottom: none; }
.era-label {
  font-family: var(--t-serif);
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 400;
  position: sticky;
  top: 110px;
}
.era-label .num {
  display: block;
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .25rem;
}
.era-body .gallery { margin-top: 1.5rem; }
@media (max-width: 760px) {
  .era { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0; }
  .era-label { position: static; }
}

/* Book section */
.book-feature {
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.book-feature::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(198,154,78,.1), transparent 60%);
}
.book-feature .container { position: relative; z-index: 1; }
.book-feature h2, .book-feature h3 { color: #fff; }
.book-feature p { color: rgba(255,255,255,.8); }
.book-feature .eyebrow { color: var(--accent-warm); }
.book-feature .eyebrow::before { background: var(--accent-warm); }
.book-flex {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 5rem;
  align-items: center;
}
.book-cover {
  aspect-ratio: 2/3;
  box-shadow: var(--shadow-lg);
  border-radius: 2px;
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg);
  transition: transform .5s var(--ease);
}
.book-cover:hover { transform: perspective(1200px) rotateY(0); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-meta {
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 1rem;
}
.book-title {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 300;
  margin-bottom: .5rem;
}
.book-author {
  font-family: var(--t-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent-warm);
  margin-bottom: 2rem;
}
@media (max-width: 860px) {
  .book-flex { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .book-cover { max-width: 280px; margin: 0 auto; transform: none; }
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .35s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-img { aspect-ratio: 4/5; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.team-img img[src*="IMG_7406"],
.feature-img img[src*="IMG_7406"] { object-position: center top; }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-body { padding: 1.75rem; }
.team-body h3 { color: var(--primary); margin-bottom: .3rem; }
.team-role {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.team-body p { font-size: .95rem; }

/* Video section */
.video-feature {
  position: relative;
  background: #000;
  overflow: hidden;
}
.video-feature video {
  width: 100%;
  display: block;
  max-height: 85vh;
  object-fit: cover;
}
.video-wrap {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.video-wrap video {
  width: 100%;
  display: block;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}

/* Journey feature — home page cinematic video section */
.journey-feature {
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.journey-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(198,154,78,.14), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(182,112,75,.12), transparent 50%);
  pointer-events: none;
}
.journey-feature .container { position: relative; z-index: 1; }
.journey-feature h2 { color: #fff; max-width: 18ch; margin: 0 auto 1.25rem; }
.journey-feature .eyebrow { color: var(--accent-warm); }
.journey-feature .eyebrow::before { background: var(--accent-warm); }
.journey-feature .lede {
  color: rgba(255,255,255,.82);
  font-style: normal;
  max-width: 60ch;
  margin: 0 auto;
}
.journey-feature .video-wrap {
  margin-top: 3.5rem;
  max-width: 1040px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.journey-feature .video-wrap video {
  max-height: 72vh;
}
.journey-feature .journey-cta {
  margin-top: 3rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 760px) {
  .journey-feature .video-wrap {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
  }
  .journey-feature .video-wrap video { max-height: 55vh; }
  .journey-feature .journey-cta {
    margin-top: 0;
    padding-top: .5rem;
  }
  .journey-feature .journey-cta .btn {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-alt);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.75rem 1.75rem 2rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}
.blog-card h3 {
  font-size: 1.35rem;
  margin-bottom: .75rem;
  color: var(--ink);
}
.blog-card p { font-size: .95rem; flex: 1; }
.blog-card .read-more {
  margin-top: 1.25rem;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--primary);
}
.blog-card .read-more .arrow { transition: transform .25s var(--ease); display: inline-block; }
.blog-card:hover .read-more .arrow { transform: translateX(4px); }

/* Single blog post */
.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 1.75rem;
}
.post-meta {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.post-body h1 { margin-bottom: 2.5rem; }
.post-body p { font-size: 1.08rem; line-height: 1.8; color: var(--ink-soft); }
.post-body p + p { margin-top: 1.2rem; }
.post-body .post-images {
  margin: 3rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.post-body .post-images img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .4s var(--ease);
}
.post-body .post-images img:hover { transform: scale(1.02); }
.post-body blockquote {
  border-left: 2px solid var(--accent);
  padding: .5rem 0 .5rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--t-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--primary);
}

/* Donate CTA banner */
.donate-banner {
  background: var(--primary);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.donate-banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(198,154,78,.18), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(182,112,75,.15), transparent 50%);
}
.donate-banner .container { position: relative; z-index: 1; }
.donate-banner h2 { color: #fff; max-width: 22ch; margin: 0 auto 1.25rem; }
.donate-banner p { color: rgba(255,255,255,.82); max-width: 56ch; margin: 0 auto 2.5rem; }

/* Contact form */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-form .field label {
  display: block;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .5rem;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .9rem 1rem;
  font-family: var(--t-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .btn { align-self: flex-start; }

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer h4 {
  color: #fff;
  font-family: var(--t-sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.footer-brand {
  font-family: var(--t-serif);
  font-size: 1.4rem;
  color: var(--accent-warm);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.footer-brand img { display: none; }
.footer p { color: rgba(255,255,255,.6); font-size: .92rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: .55rem; }
.footer ul a {
  color: rgba(255,255,255,.6);
  font-size: .92rem;
}
.footer ul a:hover { color: var(--accent-warm); }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: var(--accent-warm); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,10,8,.94);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--radius);
  animation: fadeIn .25s var(--ease);
}
.lightbox-close {
  position: fixed;
  top: 1.5rem; right: 1.5rem;
  color: #fff;
  background: none;
  border: none;
  width: 44px; height: 44px;
  cursor: pointer;
  font-size: 1.5rem;
  opacity: .75;
  transition: opacity .2s var(--ease);
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.08);
  color: #fff;
  border: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease);
}
.lightbox-nav:hover { background: rgba(255,255,255,.18); }
.lightbox-nav.prev { left: 1.5rem; }
.lightbox-nav.next { right: 1.5rem; }
@keyframes fadeIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: scale(1); } }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}
.back-link:hover { color: var(--primary); }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.flex-center { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Responsive polish */
@media (max-width: 860px) {
  .page-header { padding: 7.5rem 0 3.5rem; }
  .hero { min-height: 88vh; padding: 7rem 0 3rem; }
  .hero-scroll { display: none; }
  .book-flex { gap: 2rem; }
  .post-body { padding: 3.5rem 1.5rem; }
  .post-body h1 { margin-bottom: 1.75rem; }
  .post-body p { font-size: 1rem; line-height: 1.75; }
  .video-wrap video { max-height: 55vh; }
  section { padding: 4rem 0; }
}

@media (max-width: 520px) {
  .container, .container-narrow { padding: 0 1.25rem; }
  .nav { padding: .85rem 0; }
  .nav-inner { padding: 0 1.25rem; }
  .nav-brand { font-size: 1.05rem; }
  .page-header { padding: 6.5rem 0 3rem; }
  .hero { min-height: 82vh; padding: 6rem 0 3rem; }
  .hero-content h1 { max-width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .btn { padding: .9rem 1.5rem; font-size: .78rem; }
  .value-card { padding: 2rem 1.5rem; }
  .era-label .num { font-size: 2rem; }
  .feature-body .scripture { font-size: 1rem; padding-left: 1rem; }
  .book-cover { max-width: 220px; }
  .blog-card-body { padding: 1.25rem 1.25rem 1.5rem; }
  .post-body .post-images { grid-template-columns: 1fr; }
  .donate-banner { padding: 3.5rem 0; }
  .footer { padding: 3rem 0 1.5rem; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-nav.prev { left: .5rem; }
  .lightbox-nav.next { right: .5rem; }
}

@media (max-width: 380px) {
  html { font-size: 15px; }
  .nav-brand { font-size: .98rem; }
  .hero-content .lede { font-size: 1rem; }
}
