/* =========================================================
   Robert Deno Ministries — mobile-first design system
   Breakpoints (min-width, progressive enhancement):
     base     0–519px  — phones (the primary experience)
     520px+            — large phones / small tablets
     760px+            — tablets
     1024px+           — desktop
   ========================================================= */

:root {
  --ivory:      #f5efe3;
  --ivory-alt:  #ede5d3;
  --cream:      #fffdf7;
  --navy:       #0e2a44;
  --navy-deep:  #061a2e;
  --clay:       #b05a3c;
  --clay-deep:  #8f4830;
  --gold:       #a88548;
  --gold-soft:  #cdb180;
  --ink:        #1a1815;
  --ink-muted:  #5a5449;
  --line:       #d9cfb9;

  --t-display:  'Fraunces', Georgia, 'Times New Roman', serif;
  --t-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius:     6px;
  --radius-lg:  12px;
  --shadow-sm:  0 2px 8px rgba(14, 42, 68, 0.06);
  --shadow-md:  0 10px 30px rgba(14, 42, 68, 0.10);
  --shadow-lg:  0 24px 60px rgba(14, 42, 68, 0.14);
  --ease:       cubic-bezier(.2,.7,.2,1);

  --container:  1200px;
  --container-narrow: 780px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--t-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--clay); }
button { font-family: inherit; }

/* ---------- Typography (fluid via clamp, works at every size) ---------- */
h1, h2, h3, h4 {
  font-family: var(--t-display);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 1rem;
}
h1 {
  font-size: clamp(2rem, 7vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.8rem);
  font-weight: 400;
}
h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  font-weight: 500;
}
h4 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--t-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1rem;
}
.lede {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-muted);
  font-weight: 300;
  font-family: var(--t-display);
  font-style: italic;
}
.scripture {
  font-family: var(--t-display);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
  color: var(--navy);
  border-left: 2px solid var(--clay);
  padding: .25rem 0 .25rem 1.25rem;
  margin: 2rem 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 1.25rem;
}
section { padding: 3.5rem 0; }
.mt-2 { margin-top: 1.5rem; }

/* ---------- Nav (mobile-first: hamburger visible, menu is slide-in) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 227, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: .85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--t-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.005em;
  min-width: 0;
}
.nav-brand span {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.footer .nav-brand-mark {
  background: var(--cream);
  border-radius: 50%;
  padding: 3px;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 2rem 1.5rem 2.5rem;
  position: fixed;
  inset: 58px 0 0 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  background: var(--ivory);
  border-top: 1px solid var(--line);
  transform: translateY(-120%);
  transition: transform .4s var(--ease);
  height: calc(100dvh - 58px);
  overflow-y: auto;
  display: flex;
}
.nav-menu.open { transform: translateY(0); }
.nav-menu li { width: 100%; }
.nav-menu a {
  display: block;
  padding: .7rem 0;
  font-size: 1.1rem;
  color: var(--navy);
  position: relative;
}
.nav-menu a.active {
  color: var(--clay);
}
.nav-cta {
  background: var(--clay);
  color: var(--cream) !important;
  padding: .85rem 1.5rem !important;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: 0.02em;
  display: inline-flex !important;
  align-self: flex-start;
  margin-top: .75rem;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.nav-cta:hover { background: var(--clay-deep); color: var(--cream) !important; transform: translateY(-1px); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--t-body);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
  cursor: pointer;
  line-height: 1;
  min-height: 44px; /* tap target */
  white-space: nowrap;
}
.btn-primary {
  background: var(--clay);
  color: var(--cream);
}
.btn-primary:hover { background: var(--clay-deep); color: var(--cream); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--cream); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--cream); border-color: var(--navy); color: var(--navy); }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 3rem 0 2.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(176, 90, 60, 0.10), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(14, 42, 68, 0.08), transparent 55%),
    var(--ivory);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.15;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.hero .container { position: relative; }
.hero .eyebrow { margin-bottom: 1.5rem; }
.hero h1 {
  max-width: 22ch;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--clay);
  font-weight: 300;
}
.hero .lede {
  max-width: 56ch;
  margin-bottom: 2rem;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: stretch;
}
.hero-cta .btn { width: 100%; }
.hero-meta {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.hero-meta-item .num {
  font-family: var(--t-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: .3rem;
}
.hero-meta-item .lbl {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
}

/* ---------- Page header (subpages) ---------- */
.page-header {
  padding: 3rem 0 2rem;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(176, 90, 60, 0.08), transparent 60%),
    var(--ivory);
  border-bottom: 1px solid var(--line);
}
.page-header h1 { margin-bottom: .85rem; max-width: 20ch; }
.page-header .lede { max-width: 58ch; }

/* ---------- Section head ---------- */
.section-head {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }

/* ---------- Pillars (mobile-first: 1 col) ---------- */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
/* Pillars modifier: 3 columns max (for About page + Donate page) */
.pillars--three {
  max-width: 960px;
  margin: 0 auto;
}
.pillar {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
.pillar-num {
  font-family: var(--t-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--clay);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.pillar h3 {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: .85rem;
  font-family: var(--t-body);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .75rem;
}
.pillar p {
  font-size: .95rem;
  color: var(--ink-muted);
  margin: 0;
}

/* ---------- Region cards (mobile-first: 1 col) ---------- */
.regions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 520px;
  margin: 0 auto;
}
.region-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.region-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.region-img {
  aspect-ratio: 16/10;
  background: var(--navy);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.region-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 26, 46, 0.55) 100%);
  pointer-events: none;
}
.region-img-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 253, 247, 0.08), transparent 50%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--clay));
  display: grid;
  place-items: center;
  color: var(--cream);
  font-family: var(--t-display);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  opacity: 0.95;
}
.region-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.region-country {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: .6rem;
}
.region-body h3 {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: .75rem;
  color: var(--navy);
}
.region-body p {
  color: var(--ink-muted);
  font-size: .95rem;
  margin-bottom: 1.25rem;
  flex: 1;
}
.region-link {
  color: var(--navy);
  font-weight: 500;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  letter-spacing: 0.01em;
}
.region-link .arrow { transition: transform .25s var(--ease); }
.region-card:hover .region-link .arrow { transform: translateX(4px); }

/* ---------- Feature split (mobile-first: stacked) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.feature-img {
  aspect-ratio: 4/3;
  max-width: 520px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--navy);
  width: 100%;
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-body h2 { margin-bottom: 1rem; }

/* ---------- Stat band (mobile-first: stacked) ---------- */
.stat-band {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 3rem 0;
}
.stat-band .stat-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}
.stat-band .big-number {
  font-family: var(--t-display);
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 300;
  color: var(--clay);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-band h2 { color: var(--cream); margin-bottom: .85rem; }
.stat-band p { color: rgba(255, 253, 247, 0.75); margin: 0; }

/* ---------- Donate banner ---------- */
.donate-banner {
  background: var(--navy);
  color: var(--cream);
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.donate-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(176, 90, 60, 0.20), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(168, 133, 72, 0.15), transparent 50%);
  pointer-events: none;
}
.donate-banner > .container { position: relative; }
.donate-banner .eyebrow { color: var(--gold-soft); }
.donate-banner h2 { color: var(--cream); max-width: 22ch; margin: 0 auto 1rem; }
.donate-banner p {
  max-width: 52ch;
  margin: 0 auto 1.5rem;
  color: rgba(255, 253, 247, 0.82);
  font-size: .98rem;
}

.flex-center {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: stretch;
}
.flex-center .btn { width: 100%; }

/* ---------- Footer (mobile-first: single col) ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 253, 247, 0.75);
  padding: 2.5rem 0 1.5rem;
  font-size: .9rem;
}
.footer a { color: rgba(255, 253, 247, 0.75); }
.footer a:hover { color: var(--clay); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--t-display);
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: .85rem;
}
.footer h4 {
  color: var(--cream);
  font-family: var(--t-body);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: .85rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: .5rem; }
.footer ul li a {
  display: inline-block;
  padding: .15rem 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 253, 247, 0.10);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255, 253, 247, 0.55);
}

/* ---------- Video sections ---------- */
.video-feature {
  background: var(--navy-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
}
.video-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(176, 90, 60, 0.18), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(168, 133, 72, 0.12), transparent 50%);
  pointer-events: none;
}
.video-feature > .container { position: relative; }
.video-feature .section-head h2 { color: var(--cream); }
.video-feature .section-head .eyebrow { color: var(--gold-soft); }
.video-feature .section-head .lede { color: rgba(255, 253, 247, 0.78); }
.video-wrap {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.video-wrap video {
  width: 100%;
  height: auto;
  max-height: 60vh;
  display: block;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #000;
}
.video-caption {
  text-align: center;
  margin-top: 1.25rem;
  font-family: var(--t-display);
  font-style: italic;
  color: var(--gold-soft);
  font-size: .95rem;
}

.video-inline {
  max-width: 960px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
}
.video-inline video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #000;
}

/* ---------- Person profile block (Pakistan) ---------- */
.person-block {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}
.person-block:last-child { border-bottom: 0; }
.person-block .person-head {
  margin-bottom: 1.5rem;
  max-width: 60ch;
}
.person-block .person-head .eyebrow { margin-bottom: .6rem; }
.person-block .person-head h2 { margin-bottom: .75rem; }
.person-block .person-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-top: 1.5rem;
}
.person-block .person-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .35s var(--ease);
}
.person-block .person-gallery img:hover { transform: scale(1.02); }
/* Person gallery modifier: 2-col everywhere (for 2-photo sets) */
.person-gallery--pair {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Blog ---------- */
.post-body {
  padding: 2.5rem 0 3rem;
}
.post-body p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.post-body p:first-of-type {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink);
  font-family: var(--t-display);
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.post-hero {
  max-width: var(--container-narrow);
  margin: 0 auto 1.75rem;
  padding: 0 1.25rem;
}
.post-hero img {
  width: 100%;
  max-height: 55vh;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.post-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-top: 2rem;
}
.post-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: zoom-in;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-gallery img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}
/* Gallery modifier: locked 2-col (for featured photo sets of 2-4 images) */
.post-gallery--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
/* Gallery modifier: 2 col mobile, stays 3 col on tablet+ (archives / larger sets) */
.post-gallery--three {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.post-meta {
  font-size: .75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: .85rem;
  font-weight: 500;
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.post-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  text-decoration: none;
  color: var(--ink);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.post-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--navy);
}
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-img.no-img {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 253, 247, 0.08), transparent 50%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--clay));
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  font-family: var(--t-display);
  font-style: italic;
  font-size: 1.25rem;
}
.post-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card-body h3 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: .65rem;
  color: var(--navy);
}
.post-card-body p {
  color: var(--ink-muted);
  font-size: .95rem;
  margin-bottom: .85rem;
  flex: 1;
}
.post-card-more {
  font-size: .85rem;
  font-weight: 500;
  color: var(--clay);
  letter-spacing: 0.01em;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =============================================================
   520px+  (large phones / small tablets)
   ============================================================= */
@media (min-width: 520px) {
  .container, .container-narrow { padding: 0 1.5rem; }
  .hero-cta { flex-direction: row; align-items: center; }
  .hero-cta .btn { width: auto; }
  .flex-center { flex-direction: row; justify-content: center; }
  .flex-center .btn { width: auto; }

  .pillars { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .person-block .person-gallery { grid-template-columns: repeat(3, 1fr); }
  .post-gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .hero-meta-item .num { font-size: 2.1rem; }
}

/* =============================================================
   760px+  (tablets)
   ============================================================= */
@media (min-width: 760px) {
  section { padding: 4.5rem 0; }
  .page-header { padding: 4.5rem 0 3rem; }
  .section-head { margin-bottom: 3rem; }

  .hero {
    padding: 5rem 0 4rem;
  }
  .hero::before { background-size: 80px 80px; }
  .hero .eyebrow { margin-bottom: 2rem; }
  .hero h1 { margin-bottom: 1.75rem; }
  .hero .lede { margin-bottom: 2.5rem; }
  .hero-meta {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
  }
  .hero-meta-item .num { font-size: 2.5rem; }

  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .feature.reverse .feature-img { order: 2; }
  .feature-img { aspect-ratio: 4/5; max-width: none; }

  .stat-band {
    padding: 4.5rem 0;
  }
  .stat-band .stat-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    text-align: left;
  }

  .donate-banner { padding: 4.5rem 0; }

  .video-feature { padding: 4.5rem 0; }
  .video-wrap video { max-height: 70vh; }

  .person-block { padding: 3.5rem 0; }
  .person-block .person-head h2 { margin-bottom: 1rem; }

  .post-hero img { max-height: 65vh; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .post-body { padding: 3.5rem 0 4.5rem; }
  .post-body p:first-of-type { font-size: 1.2rem; line-height: 1.7; }
}

/* =============================================================
   900px+  (wide tablet / small desktop — horizontal nav kicks in)
   ============================================================= */
@media (min-width: 900px) {
  .nav-inner { padding: 1rem 1.5rem; gap: 1.5rem; }
  .nav-brand { font-size: 1.1rem; gap: .75rem; }
  .nav-brand-mark { width: 38px; height: 38px; }
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    inset: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 1.75rem;
    padding: 0;
    background: transparent;
    border-top: 0;
    transform: none;
    height: auto;
    overflow: visible;
    transition: none;
    flex: 1;
  }
  .nav-menu li { width: auto; }
  .nav-menu a {
    padding: .25rem 0;
    font-size: .925rem;
  }
  .nav-menu a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 1px;
    background: var(--clay);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .nav-menu a:not(.nav-cta).active::after,
  .nav-menu a:not(.nav-cta):hover::after { transform: scaleX(1); }
  .nav-menu a.active { color: var(--navy); }
  .nav-cta {
    padding: .6rem 1.2rem !important;
    font-size: .9rem;
    margin-top: 0;
    align-self: auto;
  }
}

/* =============================================================
   1024px+  (desktop — four-col pillars, three-col regions, etc.)
   ============================================================= */
@media (min-width: 1024px) {
  section { padding: clamp(5rem, 7vw, 7rem) 0; }
  .page-header { padding: clamp(5rem, 9vw, 8rem) 0 clamp(3rem, 5vw, 5rem); }
  .section-head { margin-bottom: clamp(3rem, 5vw, 4rem); }

  .hero { padding: clamp(6rem, 10vw, 10rem) 0 clamp(5rem, 8vw, 8rem); }

  .pillars { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .pillars--three { grid-template-columns: repeat(3, 1fr); }
  .pillar { padding: 2.25rem 1.75rem; }
  .pillar-num { margin-bottom: 2rem; font-size: 1.1rem; }
  .pillar h3 { font-size: .95rem; margin-bottom: .9rem; }

  .regions {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: none;
  }
  .region-img { aspect-ratio: 4/3; }
  .region-body { padding: 1.75rem; }
  .region-body h3 { font-size: 1.55rem; }

  .feature { gap: 4rem; }

  .person-block .person-gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
  .footer { padding: 4rem 0 2rem; }
}
