/* ============================================================
   LIVING WORD LIVING WATER — one stylesheet for the whole site

   How it's organised
   1. Tokens      colors, fonts, sizes
   2. Themes      theme-light / -alt / -pale / -gold / -dark
   3. Base        reset and defaults
   4. Layout      section, container, split
   5. Components  type, buttons, nav, footer, carousel ...
   6. Pages       the parts unique to home / about / ministry
   7. Responsive  all breakpoints, widest first

   To change a section's colors, change its theme class in the
   HTML, e.g. <section class="section theme-dark"> -> theme-light.
   Everything inside (headings, text, lines, links, numbers)
   follows automatically.
   ============================================================ */

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
  --white:       #ffffff;
  --off-white:   #fafaf8;
  --gold:        #c8973a;
  --gold-light:  #e0b86a;
  --gold-pale:   #fdf6e9;
  --gold-border: #f0ddb0;
  --dark:        #1a1208;
  --dark-soft:   #2c2010;
  --gray:        #6b7280;
  --gray-light:  #f3f3f1;
  --gray-border: #e8e8e4;

  --font-serif: 'Montserrat', sans-serif;
  --font-sans:  'Inter', sans-serif;

  --radius:     4px;
  --transition: 0.25s ease;
  --max-w:      1140px;
  --pad:        clamp(1.25rem, 5vw, 2.5rem);
  --section-py: clamp(4rem, 8vw, 7rem);
  --nav-h:      90px;   /* keep in sync with .nav-inner height */
  --hero-bar-h: 68px;   /* the strip under the hero photos */

  --line-gold:  1px solid var(--gold-border);
  --focus:      2px solid var(--gold);
  --ease-pop:   cubic-bezier(0.3, 1.6, 0.5, 1);
  --ease-out:   cubic-bezier(0.2, 0.7, 0.2, 1);
  --drop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 16'%3E%3Cpath d='M6 0C6 0 0 7 0 10.5A6 6 0 0 0 12 10.5C12 7 6 0 6 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ============================================================
   2. THEMES
   Each theme sets the same few variables. Components only ever
   use these variables, so they adapt to whatever theme they're in.
     --bg         background
     --fg         headings and main text
     --fg-soft    paragraph text
     --fg-muted   secondary text (notes, labels, captions)
     --rule       divider lines
     --accent     gold details: numbers, bars, highlights
     --accent-text  gold text that must stay readable (citations)
     --link-hover color of text links on hover
   ============================================================ */
:root, .theme-light, .theme-alt, .theme-pale {
  --bg:          var(--white);
  --fg:          var(--dark);
  --fg-soft:     var(--dark-soft);
  --fg-muted:    var(--gray);
  --rule:        var(--gray-border);
  --accent:      var(--gold);
  --accent-text: var(--gold);
  --link-hover:  var(--gold);
}
.theme-alt  { --bg: var(--off-white); }
.theme-pale { --bg: var(--gold-pale); }
.theme-gold {
  --bg:          var(--gold);
  --fg:          var(--dark);
  --fg-soft:     rgba(26,18,8,0.82);
  --fg-muted:    rgba(26,18,8,0.65);
  --rule:        rgba(26,18,8,0.15);
  --accent:      var(--dark);
  --accent-text: var(--dark);
  --link-hover:  var(--white);
}
.theme-dark {
  --bg:          var(--dark);
  --fg:          var(--white);
  --fg-soft:     rgba(255,255,255,0.85);
  --fg-muted:    rgba(255,255,255,0.72);
  --rule:        rgba(255,255,255,0.14);
  --accent:      var(--gold);
  --accent-text: var(--gold-light);
  --link-hover:  var(--gold-light);
}
/* --line is rebuilt in every theme so it always uses that theme's --rule */
:root, .theme-light, .theme-alt, .theme-pale, .theme-gold, .theme-dark { --line: 1px solid var(--rule); }
.theme-light, .theme-alt, .theme-pale, .theme-gold, .theme-dark { background: var(--bg); color: var(--fg); }

/* ============================================================
   3. BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 20px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* scroll reveal (script.js adds .visible) */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

/* anchor jumps land below the fixed nav */
#mission, #explorer { scroll-margin-top: var(--nav-h); }
#story, #pray { scroll-margin-top: calc(var(--nav-h) + 1rem); }

/* ============================================================
   4. LAYOUT
   ============================================================ */
.section   { padding: var(--section-py) var(--pad); }
.container { max-width: var(--max-w); margin-left: auto; margin-right: auto; }

/* two columns side by side; set the column sizes with --cols */
.split {
  --cols: minmax(0, 1fr) minmax(0, 1fr);
  display: grid;
  grid-template-columns: var(--cols);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

/* centered heading block at the top of a section */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.section-head .section-body { margin: 0; }
.section-head .feature-bar  { margin: 0.75rem 0 1.5rem; }

/* ============================================================
   5. COMPONENTS
   ============================================================ */

/* ---------- type ---------- */
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1rem;
}
.section-body {
  font-size: 18px;
  line-height: 1.85;
  color: var(--fg-muted);
  max-width: 54ch;
  margin-bottom: 1rem;
}
/* the short thick gold bar under headings */
.feature-bar { width: 60px; height: 9px; background: var(--accent); margin: 1.75rem 0 1.5rem; }

/* bold text link with a › chevron */
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  transition: color var(--transition);
}
.feature-link::after {
  content: "\203A";
  font-size: 1.3em;
  line-height: 1;
  transform: translateY(-0.05em);
  transition: transform var(--transition);
}
.feature-link:hover { color: var(--link-hover); }
.feature-link:hover::after { transform: translate(3px, -0.05em); }
.feature-link:focus-visible { outline: var(--focus); outline-offset: 4px; }

/* list with a gold water-drop between items: <ul class="drop-list"> */
.drop-list > li:not(:last-child)::after {
  content: "";
  background: var(--accent);
  -webkit-mask: var(--drop);
          mask: var(--drop);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: var(--font-sans);
}
.btn:active { transform: scale(0.97); }
.btn-gold          { background: var(--gold); color: var(--dark); border: 1.5px solid var(--gold); }
.btn-gold:hover    { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline-gold  { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn-outline-gold:hover { background: var(--gold-pale); }
.btn-dark          { background: var(--dark); color: var(--white); border: 1.5px solid var(--dark); }
.btn-dark:hover    { background: var(--dark-soft); }
.btn-outline-dark  { background: transparent; color: var(--dark); border: 1.5px solid var(--dark); }
.btn-outline-dark:hover { background: var(--gray-light); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* round icon button (carousel arrows) */
.carousel-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--fg);
  background: var(--bg);
  color: var(--fg);
  font-size: 1.15rem;
  transition: all var(--transition);
  flex-shrink: 0;
}
.carousel-arrow:hover:not(:disabled) { background: var(--fg); color: var(--bg); }
.carousel-arrow:focus-visible { outline: var(--focus); outline-offset: 3px; }
.carousel-arrow:disabled { opacity: 0.3; cursor: default; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(26,18,8,0.08); }
.nav-inner {
  margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-img { height: 75px; width: auto; }
.nav-logo-mark { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--gold); }
.nav-logo-text {
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--gray);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 2.5rem; margin: 0 auto; }
.nav-link {
  position: relative;
  padding-bottom: 4px;
  font-size: 16px;
  color: var(--gray);
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--dark); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-donate {
  margin-left: 1rem;
  padding: 0.5rem 1.4rem;
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  background: var(--gold);
  border-radius: var(--radius);
  transition: background var(--transition);
  flex-shrink: 0;
}
.nav-donate:hover { background: var(--gold-light); }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 4px; margin-left: auto; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }
.nav-drawer { display: none; background: var(--white); border-top: 1px solid var(--gray-border); padding: 1.5rem var(--pad) 2rem; }
.nav-drawer ul { display: flex; flex-direction: column; gap: 1.2rem; }
.nav-drawer a { font-size: 1rem; color: var(--dark); }
.nav-drawer a:hover { color: var(--gold); }
.nav-drawer.open { display: block; }
.nav-drawer .drawer-sub { margin-top: 0.85rem; padding-left: 1rem; border-left: 2px solid var(--gold-border); gap: 0.75rem; }
.nav-drawer .drawer-sub a { font-size: 0.95rem; color: var(--gray); }
.nav-drawer .drawer-sub a:hover { color: var(--gold); }

/* Global Ministry dropdown */
.nav-item--dd { position: relative; display: flex; align-items: center; gap: 0.1rem; }
.nav-dd-toggle {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--gray);
  transition: color var(--transition), background var(--transition);
}
.nav-dd-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s ease; }
.nav-dd-toggle:hover { color: var(--dark); background: var(--off-white); }
.nav-dd-toggle:focus-visible { outline: var(--focus); outline-offset: 2px; }
.nav-dd {                      /* top padding = invisible bridge for the mouse */
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 1.6rem;
  transform: translate(-50%, 8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.nav-item--dd:hover .nav-dd,
.nav-item--dd.is-open .nav-dd { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.nav-item--dd.is-suppressed .nav-dd { opacity: 0; visibility: hidden; pointer-events: none; }
.nav-item--dd:hover .nav-dd-toggle svg,
.nav-item--dd.is-open .nav-dd-toggle svg { transform: rotate(180deg); }
.nav-item--dd.is-suppressed .nav-dd-toggle svg { transform: none; }
.nav-dd-panel {
  position: relative;
  min-width: 300px;
  padding: 0.5rem;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  box-shadow: 0 28px 56px -18px rgba(26,18,8,0.32);
}
.nav-dd-panel::before {
  content: "";
  position: absolute;
  top: -7px; left: 50%;
  width: 12px; height: 12px;
  background: var(--white);
  border-left: 1px solid var(--gray-border);
  border-top: 1px solid var(--gray-border);
  transform: translateX(-50%) rotate(45deg);
}
.nav-dd-list a {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.55rem 0.75rem 0.55rem 0.55rem;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.nav-dd-list a:hover, .nav-dd-list a:focus-visible, .nav-dd-list a[aria-current] { background: var(--gold-pale); outline: none; }
.nav-dd-thumb { width: 40px; height: 40px; border-radius: 8px; background-color: var(--off-white); background-size: cover; background-position: center; }
.nav-dd-name { font-family: var(--font-serif); font-size: 16px; font-weight: 700; color: var(--dark); }
.nav-dd-meta { font-size: 13px; color: var(--gray); white-space: nowrap; }
.nav-dd-all {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  padding: 0.85rem 0.75rem 0.4rem;
  border-top: 1px solid var(--gray-border);
  font-size: 15px;
  font-weight: 500;
  color: var(--gold);
  transition: color var(--transition);
}
.nav-dd-all:hover { color: var(--dark); }

/* ---------- footer ---------- */
.footer { background: var(--dark); padding: 3.5rem var(--pad) 1.5rem; }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p, .footer-links a, .footer-contact-line { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.footer-brand p { margin-top: 0.5rem; line-height: 1.6; }
.footer-col-label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-contact-line { margin-bottom: 0.4rem; }
.footer-contact-line a { color: var(--gold-light); }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

/* ---------- gold call-to-action strip ---------- */
.donate-strip { padding: clamp(3rem, 6vw, 4.5rem) var(--pad); text-align: center; }
.donate-strip h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--fg); margin-bottom: 0.6rem; }
.donate-strip p { font-size: 0.97rem; line-height: 1.75; color: var(--fg-muted); max-width: 48ch; margin: 0 auto 2rem; }
.donate-strip-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ---------- photo carousel ---------- */
.carousel-section { padding: var(--section-py) 0; overflow: hidden; }
.carousel-header {
  max-width: var(--max-w);
  margin: 0 auto 2.5rem;
  padding: 0 var(--pad);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.carousel-track-wrap {             /* native scrolling: touch, trackpad and keys all work */
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}
.carousel-track-wrap::-webkit-scrollbar { display: none; }
.carousel-track-wrap.is-gliding { scroll-snap-type: none; }      /* smooth glide: no snapping to cards */
.carousel-track-wrap.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.carousel-track-wrap:focus-visible { outline: var(--focus); outline-offset: 6px; }
.carousel-track { display: flex; gap: 1.2rem; width: max-content; padding: 0 var(--pad); }
.carousel-card {
  position: relative;
  flex-shrink: 0;
  width: 380px;
  height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  background-color: var(--dark-soft);
  background-size: cover;
  background-position: center;
}
.carousel-card-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 4rem 1.5rem 1.6rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 55%, transparent 100%);
}
.carousel-card-caption h4 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; line-height: 1.15; color: var(--white); margin-bottom: 0.35rem; }
.carousel-card-caption p { font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.25rem; padding: 0 var(--pad); }
.carousel-progress { position: relative; width: min(260px, 40vw); height: 3px; border-radius: 3px; background: var(--rule); overflow: hidden; }
.carousel-progress-bar { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: 3px; background: var(--accent); }

/* ---------- center image with blocks either side ("Ways to make a difference") ---------- */
.center-img-header { margin-bottom: 3rem; }
.center-img-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 3rem; align-items: center; }
.center-img-col--left, .center-img-col--right { display: flex; flex-direction: column; gap: 3rem; }
.center-img-col--center { width: 320px; flex-shrink: 0; }
.center-img-photo { width: 100%; height: 600px; object-fit: cover; border-radius: 200px; }
.cib { text-align: left; }
.cib-line { width: 40px; height: 1px; background: var(--rule); margin-bottom: 1.2rem; }
.cib-heading { font-family: var(--font-serif); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.2; color: var(--fg); margin-bottom: 0.7rem; }
.cib-body { font-size: 18px; line-height: 1.8; color: var(--fg-muted); }
.center-img-cta { margin-top: 3rem; text-align: center; }

/* ---------- big display numbers ---------- */
.stat-num {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}

/* ---------- photo frame (4:3, fills the box) ---------- */
.photo { position: relative; overflow: hidden; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ============================================================
   6a. HOME
   ============================================================ */

/* ---------- hero: photos slide in from the right; controls in the strip below ---------- */
.hm-hero { --hm-dur: 4.0s; margin-top: var(--nav-h); }      /* --hm-dur = time per hero slide (the JS reads it too) */
.hm-hero-frame {
  position: relative;
  overflow: hidden;
  height: calc(100vh - var(--nav-h) - var(--hero-bar-h));
  height: calc(100svh - var(--nav-h) - var(--hero-bar-h));
  min-height: 360px;
  background: var(--dark);
  touch-action: pan-y;
}
.hm-track { display: flex; height: 100%; transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1); will-change: transform; }
.hm-slide { flex: 0 0 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hm-hero-bar { height: var(--hero-bar-h); display: flex; align-items: center; border-bottom: var(--line); }
.hm-hero-controls {
  width: 100%;
  max-width: calc(var(--max-w) + 2 * var(--pad));
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.hm-count { font-size: 14px; font-weight: 500; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; color: var(--fg-muted); }
.hm-count span { color: var(--fg); }
.hm-bars { display: flex; gap: 6px; }
.hm-bar { position: relative; width: clamp(26px, 4.5vw, 54px); height: 22px; }   /* tall hit area; visible bar is 3px */
.hm-bar::before, .hm-bar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
}
.hm-bar::before { background: var(--rule); }
.hm-bar::after { background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hm-bar.is-done::after { transform: scaleX(1); }
.hm-bar.is-active::after { animation: hm-fill var(--hm-dur) linear forwards; }
.hm-hero.is-paused .hm-bar.is-active::after { animation-play-state: paused; }
@keyframes hm-fill { to { transform: scaleX(1); } }
.hm-bar:focus-visible { outline: var(--focus); outline-offset: 2px; border-radius: 4px; }
.hm-pause {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--rule);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.hm-pause:hover { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.hm-pause:focus-visible { outline: var(--focus); outline-offset: 3px; }
.hm-pause svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hm-icon-play { display: none; }
.hm-hero.is-paused .hm-icon-pause { display: none; }
.hm-hero.is-paused .hm-icon-play { display: block; fill: currentColor; }
/* label on each photo: activity between gold lines, country rising letter by letter */
.hm-slide { position: relative; }
.hm-tag {
  position: absolute;
  left: 50%;
  bottom: clamp(2rem, 6vh, 3.75rem);
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 2 * var(--pad));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  color: var(--white);
  isolation: isolate;
}
.hm-tag::before {                    /* soft shadow behind the words, not a full overlay */
  content: "";
  position: absolute;
  inset: -55% -30%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(14,10,4,0.62), rgba(14,10,4,0.28) 55%, transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hm-tag-activity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hm-tag-activity::before, .hm-tag-activity::after {   /* gold lines draw outward */
  content: "";
  width: clamp(24px, 4vw, 48px);
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.7s var(--ease-out);
}
.hm-tag-activity::before { transform-origin: right; }
.hm-tag-activity::after  { transform-origin: left; }
.hm-tag-country {
  display: flex;
  overflow: hidden;                 /* letters rise up from behind this edge */
  padding: 0 0.04em 0.08em;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 5.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.45);
  transition: color var(--transition);
}
.hm-ch { display: inline-block; transform: translateY(110%); transition: transform 0.75s var(--ease-out); }
.hm-tag-more {
  margin-top: 0.15rem;
  font-size: 17px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease, color var(--transition);
}
.hm-tag-more::after { content: " \203A"; color: var(--gold-light); }

/* the photo on screen: everything plays in, in order */
.hm-slide.is-current .hm-tag::before   { opacity: 1; transition-delay: 0.3s; }
.hm-slide.is-current .hm-tag-activity  { opacity: 1; transition-delay: 0.45s; }
.hm-slide.is-current .hm-tag-activity::before,
.hm-slide.is-current .hm-tag-activity::after { transform: scaleX(1); transition-delay: 0.55s; }
.hm-slide.is-current .hm-ch            { transform: none; transition-delay: calc(0.55s + var(--i) * 40ms); }
.hm-slide.is-current .hm-tag-more      { opacity: 1; transform: none; transition-delay: 1.1s; }
.hm-slide.no-anim .hm-tag *, .hm-slide.no-anim .hm-tag::before,
.hm-slide.no-anim .hm-tag-activity::before, .hm-slide.no-anim .hm-tag-activity::after { transition: none !important; }

/* linked labels */
a.hm-tag:hover .hm-tag-country, a.hm-tag:focus-visible .hm-tag-country { color: var(--gold-light); }
a.hm-tag:hover .hm-tag-more { color: var(--white); }
a.hm-tag:focus-visible { outline: var(--focus); outline-offset: 10px; border-radius: 4px; }

.hm-scroll {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color var(--transition);
}
.hm-scroll span { position: relative; width: 1px; height: 30px; background: var(--rule); overflow: hidden; }
.hm-scroll span::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 1px; height: 40%;
  background: var(--accent);
  animation: hm-drip 2s ease-in-out infinite;
}
@keyframes hm-drip { to { top: 100%; } }
.hm-scroll:hover { color: var(--fg); }
.hm-scroll:focus-visible { outline: var(--focus); outline-offset: 4px; }

/* ---------- mission ---------- */
.hm-mission-inner { max-width: 1060px; margin: 0 auto; }
.hm-mission-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.9rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.hm-mission-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: var(--line);
}
.hm-values { display: flex; flex-wrap: wrap; gap: 0.6rem 0; max-width: 760px; }
.hm-values li { display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; color: var(--fg-muted); }
.hm-values li::after { width: 7px; height: 9px; margin: 0 0.9rem; }

/* ---------- impact numbers ---------- */
.hm-impact-head { --cols: minmax(0, 1fr) minmax(0, 0.8fr); gap: 1.5rem 4rem; align-items: end; }
.hm-impact-head .section-heading { margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
.hm-impact-head p { font-size: 18px; line-height: 1.7; color: var(--fg-muted); max-width: 40ch; }
.hm-stats { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(3rem, 6vw, 4.5rem); border-top: var(--line); }
.hm-stat { padding: 2rem 1.25rem 0; border-left: var(--line); }
.hm-stat:first-child { border-left: 0; padding-left: 0; }
.hm-stat dt { font-size: clamp(3.2rem, 7vw, 6rem); letter-spacing: -0.045em; }
.hm-stat dd { margin-top: 0.75rem; font-size: 16px; line-height: 1.5; color: var(--fg-muted); max-width: 16ch; }
.hm-impact-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 3rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: var(--line);
}
.hm-impact-foot p { font-size: 17px; line-height: 1.7; color: var(--fg-muted); max-width: 56ch; }

/* ---------- where we serve ---------- */
.hm-places-head { gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.hm-places-head .feature-bar { margin: 0.75rem 0 0; }
.hm-places-head .section-body { margin: 0; }
.hm-places-list { border-top: 1px solid var(--fg); }
.hm-place {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 2.6vw, 1.9rem) 0;
  border-bottom: var(--line);
}
.hm-place-main { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.hm-place-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 5.6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
  transition: transform 0.45s var(--ease-out), color var(--transition);
}
.hm-place-note { font-size: 16px; color: var(--fg-muted); }
.hm-place-meta { font-size: 15px; font-weight: 500; color: var(--fg-soft); white-space: nowrap; }
.hm-place-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.hm-place:hover .hm-place-name, .hm-place:focus-visible .hm-place-name { transform: translateX(14px); color: var(--link-hover); }
.hm-place:hover .hm-place-arrow, .hm-place:focus-visible .hm-place-arrow { background: var(--fg); color: var(--bg); transform: rotate(-45deg); }
.hm-place:focus-visible { outline: var(--focus); outline-offset: 4px; }

/* ---------- give ---------- */
.hm-give-inner { --cols: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 2rem clamp(2.5rem, 6vw, 5rem); align-items: end; }
.hm-give-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--fg);
}
.hm-give-side > p:first-child { font-size: 18px; line-height: 1.7; color: var(--fg-soft); }
.hm-give-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.75rem; margin: 1.75rem 0 1.5rem; }
.hm-give-fine { font-size: 14px; line-height: 1.6; color: var(--fg-muted); }

/* ---------- closing verse ---------- */
.hm-verse { position: relative; overflow: hidden; padding: clamp(5rem, 12vw, 9rem) var(--pad); text-align: center; }
.hm-verse::before {                    /* faint drop behind the verse */
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: clamp(240px, 32vw, 420px);
  aspect-ratio: 12 / 16;
  transform: translate(-50%, -50%);
  background: var(--accent);
  opacity: 0.07;
  -webkit-mask: var(--drop);
          mask: var(--drop);
}
.hm-verse blockquote { position: relative; max-width: 920px; margin: 0 auto; }
.hm-verse p {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 3.2vw, 2.45rem);
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.hm-verse cite { display: inline-block; margin-top: 1.75rem; font-style: normal; font-weight: 500; font-size: 15px; letter-spacing: 0.06em; color: var(--accent-text); }

/* ============================================================
   6b. ABOUT
   ============================================================ */

/* ---------- hero: text on the site grid, photo bleeding to the edge ---------- */
.ab-hero {
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 100vh;
  min-height: 100svh;
}
.ab-hero-text {
  padding: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 4.5rem) clamp(3rem, 7vw, 6rem) clamp(4rem, 15vw, 100rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ab-hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--fg);
  max-width: 13ch;
}
.ab-hero .feature-bar { margin: 2rem 0 1.75rem; }
.ab-hero-lede { font-size: 19px; line-height: 1.7; color: var(--fg-soft); max-width: 44ch; margin-bottom: 2.25rem; }
.ab-hero-actions, .mn-trip-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem 2rem; }
.ab-hero-media { position: relative; min-height: 420px; }
.ab-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- our mission: pinned heading, four points ---------- */
.ab-mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
.ab-mission-head { position: sticky; top: calc(var(--nav-h) + 2.5rem); }
.ab-mission-head .feature-bar { margin: 0.75rem 0 1.75rem; }
.ab-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--fg);
  max-width: 26ch;
}
.ab-mission-list { list-style: none; border-top: var(--line); }
.ab-mission-item {
  position: relative;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0 clamp(1.75rem, 3.5vw, 2.5rem) 2.25rem;
  border-bottom: var(--line);
}
.ab-mission-item::before {            /* gold water drop beside each point */
  content: "";
  position: absolute;
  left: 0;
  top: calc(clamp(1.75rem, 3.5vw, 2.5rem) + 0.35em);
  width: 13px;
  height: 17px;
  background: var(--accent);
  -webkit-mask: var(--drop);
          mask: var(--drop);
}
.ab-item-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin-bottom: 0.6rem;
}
.ab-mission-item p { font-size: 17px; line-height: 1.75; color: var(--fg-soft); max-width: 52ch; }

/* ---------- our mission + our faith: two columns side by side ---------- */
/* the two columns share rows (heading, bar, intro, then each point),
   so everything lines up across them whatever length the text is */
.ab-mf-grid { display: grid; grid-template-columns: 1fr 1fr; }
.ab-mf-col {
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  align-content: start;
  padding-right: clamp(2rem, 5vw, 4.5rem);
}
.ab-mf-col + .ab-mf-col {
  padding-right: 0;
  padding-left: clamp(2rem, 5vw, 4.5rem);
  border-left: var(--line);
}
.ab-mf-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--fg);
}
.ab-mf-col .feature-bar { margin: 1.5rem 0 1.5rem; }

.ab-mf-list {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  margin-top: 0.5rem;
  border-top: 1px solid var(--fg);
}
.ab-mf-list li { padding: 1.4rem 0; border-bottom: var(--line); }
.ab-mf-list h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 0.4rem;
}
.ab-mf-list p { font-size: 17px; line-height: 1.7; color: var(--fg-soft); max-width: 50ch; }
.ab-mf-list cite { display: block; margin-top: 0.5rem; font-style: normal; font-weight: 500; font-size: 14px; color: var(--accent-text); }

/* ---------- what we live by (row across the bottom) ---------- */
.ab-commitments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: var(--line);
}
.ab-commitments li { display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; color: var(--fg-muted); }
.ab-commitments li::after { width: 7px; height: 9px; margin: 0 0.9rem; }

/* ---------- story timeline: gold line fills as you scroll (--progress set in JS) ---------- */
.timeline { --progress: 0; --line-x: 50%; position: relative; max-width: 1040px; margin: 0 auto; list-style: none; }
.timeline::before, .timeline::after {
  content: "";
  position: absolute;
  top: 0.6rem; bottom: 0;
  left: var(--line-x);
  width: 2px;
  margin-left: -1px;
}
.timeline::before { background: var(--rule); }
.timeline::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--progress)); }
.tl-item { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: start; }
.tl-item + .tl-item { margin-top: clamp(3rem, 7vw, 5.5rem); }
.tl-marker { grid-column: 2; grid-row: 1; display: flex; justify-content: center; padding-top: clamp(0.9rem, 2vw, 1.5rem); }
.tl-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--rule);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.tl-item.is-reached .tl-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--gold-pale); }
/* odd items: text on the right; even items: text on the left */
.tl-content { grid-column: 3; grid-row: 1; padding-left: 0.5rem; }
.tl-aside   { grid-column: 1; grid-row: 1; padding-right: 0.5rem; }
.tl-item:nth-child(even) .tl-content { grid-column: 1; text-align: right; padding: 0 0.5rem 0 0; }
.tl-item:nth-child(even) .tl-aside   { grid-column: 3; padding: 0 0 0 0.5rem; }
.tl-item:nth-child(even) .tl-text    { margin-left: auto; }
.tl-year {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--rule);
  transition: color 0.45s ease;
}
.tl-item.is-reached .tl-year, .timeline:not(.is-live) .tl-year { color: var(--accent); }
.tl-place { display: block; margin: 0.6rem 0 0.9rem; font-size: 15px; font-weight: 500; color: var(--fg-muted); }
.tl-title { font-family: var(--font-serif); font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; color: var(--fg); margin-bottom: 0.6rem; }
.tl-text { font-size: 17px; line-height: 1.75; color: var(--fg-soft); max-width: 42ch; }

/* ---------- the name: two scriptures side by side ---------- */
.ab-name-head .feature-bar { margin: 0.75rem 0 0; }
.ab-name-grid { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1fr 1fr; }
.ab-name-col { padding: 2rem clamp(1.5rem, 4vw, 3.5rem) 0 0; border-top: var(--line); }
.ab-name-col + .ab-name-col { padding: 2rem 0 0 clamp(1.5rem, 4vw, 3.5rem); border-left: var(--line); }
.ab-name-word { font-family: var(--font-serif); font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--fg); margin-bottom: 1.75rem; }
.ab-name-col blockquote p { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.8; color: var(--fg-soft); max-width: 46ch; margin-bottom: 1.25rem; }
.ab-name-col cite { font-style: normal; font-weight: 500; font-size: 15px; color: var(--accent-text); }

/* ---------- today: pastors (one dot per pastor) + impact card ---------- */
.ab-today-inner { --cols: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 6rem); align-items: start; }
.ab-pastors .feature-bar { margin: 0.75rem 0 1.5rem; }
.pastor-rows { margin-top: 2.5rem; }
.pastor-row {
  display: grid;
  grid-template-columns: 7.5rem 2.5rem 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: var(--line);
}
.pastor-row:last-child { border-bottom: var(--line); }
.pastor-country { font-weight: 500; font-size: 17px; color: var(--fg); }
.pastor-count { font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; color: var(--accent); text-align: right; }
.pastor-dots { display: flex; flex-wrap: wrap; gap: 7px; max-width: calc(15 * 16px + 14 * 7px); }
.pd {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.4s var(--ease-pop);
  transition-delay: calc(var(--i) * 40ms + 150ms);
}
.pastor-row.visible .pd { transform: scale(1); }
.ab-impact { border-top: 9px solid var(--gold); padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: 0 24px 50px -30px rgba(26,18,8,0.35); }
.ab-impact-title { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; margin-bottom: 1.25rem; }
.ab-impact-list div { display: flex; align-items: baseline; gap: 1.1rem; padding: 0.9rem 0; border-bottom: var(--line); }
.ab-impact-list div:last-child { border-bottom: 0; }
.ab-impact-list dt { font-family: var(--font-serif); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--fg); min-width: 2.2ch; }
.ab-impact-list dd { font-size: 16px; color: var(--fg-muted); }
.ab-impact-note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: var(--line);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-soft);
}

/* ---------- board ---------- */
.ab-board-inner, .mn-trip-inner { --cols: minmax(0, 1.1fr) minmax(0, 1fr); }
.ab-board-text .feature-bar { margin: 0.75rem 0 1.5rem; }
.board-list { margin: 1.5rem 0 1.75rem; border-top: var(--line); }
.board-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding: 0.95rem 0;
  border-bottom: var(--line);
}
.board-name { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: var(--fg); }
.board-note { font-size: 15px; color: var(--fg-muted); }
.board-legal { font-size: 14px; line-height: 1.7; color: var(--fg-muted); max-width: 52ch; }

/* ---------- pray with us ---------- */
.pray-grid { max-width: 880px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); }
.pray-card { display: flex; flex-direction: column; padding: clamp(1.75rem, 3.5vw, 2.75rem); border-bottom: 4px solid var(--gold); }
.pray-day { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--fg); }
.pray-time { margin: 0.6rem 0 1.5rem; font-weight: 500; font-size: 16px; color: var(--accent); }
.pray-card address { flex: 1; margin-bottom: 1.5rem; font-style: normal; font-size: 17px; line-height: 1.7; color: var(--fg-soft); }

/* ============================================================
   6c. GLOBAL MINISTRY
   ============================================================ */

/* ---------- hero: full-bleed photo, big type, country bar along the bottom ---------- */
.mn-hero {
  position: relative;
  isolation: isolate;
  min-height: 88vh;
  min-height: 88svh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
}
.mn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(26,18,8,0.75) 0%, rgba(26,18,8,0.35) 45%, rgba(26,18,8,0.1) 100%);
}
.mn-hero-content { width: 100%; padding: 4rem var(--pad) clamp(2.5rem, 5vw, 3.5rem); }
.mn-hero-heading { font-family: var(--font-serif); font-size: clamp(3rem, 7.5vw, 6.25rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.035em; color: var(--white); }
.mn-hero-lede { margin-top: 1.75rem; max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; color: rgba(255,255,255,0.82); }
.mn-hero-countries { width: 100%; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(5, 1fr); }
.mn-hero-country {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.4rem 1rem 1.6rem 0;
  border-top: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
  transition: border-color var(--transition);
}
.mn-hero-country::before {            /* gold bar grows on hover */
  content: "";
  position: absolute;
  top: -1px; left: 0;
  height: 3px;
  width: 0;
  background: var(--gold);
  transition: width 0.35s ease;
}
.mn-hero-country:hover::before, .mn-hero-country:focus-visible::before { width: calc(100% - 1rem); }
.mn-hero-country:focus-visible { outline: var(--focus); outline-offset: 2px; }
.mn-hc-name { font-family: var(--font-serif); font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 700; }
.mn-hc-meta { font-size: 14px; color: var(--gold-light); }

/* ---------- country explorer: sentence-style dropdown ---------- */
.explorer-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.explorer-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 6vw, 4.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.28em;
}
.country-select { position: relative; display: inline-block; }
.country-select-btn {
  font: inherit;
  letter-spacing: inherit;
  color: var(--accent);
  padding: 0 0 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.18em;
  border-bottom: 0.07em solid var(--accent);
  transition: color var(--transition), border-color var(--transition);
}
.country-select-btn:hover { color: #b0822c; border-color: #b0822c; }
.country-select-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; border-radius: 4px; }
.country-select-chev { width: 0.62em; height: 0.62em; transition: transform 0.3s ease; }
.country-select-btn[aria-expanded="true"] .country-select-chev { transform: rotate(180deg); }
.country-select-list {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 0;
  z-index: 20;
  min-width: 300px;
  padding: 0.5rem;
  border: var(--line);
  border-radius: 10px;
  box-shadow: 0 30px 60px -20px rgba(26,18,8,0.35);
  font-family: var(--font-sans);
  letter-spacing: 0;
  animation: list-in 0.22s ease;
}
.country-select-list:focus { outline: none; }
@keyframes list-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.country-select-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.country-select-list li.is-active { background: var(--off-white); }
.country-select-list li[aria-selected="true"] { background: var(--gold-pale); }
.opt-name { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--fg); }
.country-select-list li[aria-selected="true"] .opt-name::after { content: "\2713"; margin-left: 0.5rem; color: var(--accent); }
.opt-meta { font-size: 14px; color: var(--fg-muted); white-space: nowrap; }

/* ---------- country panels ---------- */
.country-panel.is-entering > * { animation: panel-in 0.6s var(--ease-out) both; }
.country-panel.is-entering > *:nth-child(2) { animation-delay: 0.08s; }
.country-panel.is-entering > *:nth-child(3) { animation-delay: 0.16s; }
@keyframes panel-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.country-panel + .country-panel { margin-top: var(--section-py); }      /* before JS runs, countries stack */
.country-panels.is-ready .country-panel + .country-panel { margin-top: 0; }

.cp-top { --cols: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2.5rem, 6vw, 5.5rem); }
.cp-tagline { font-family: var(--font-serif); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--fg); }
.cp-lede { margin-top: 1.25rem; font-size: 18px; line-height: 1.75; color: var(--fg-soft); max-width: 54ch; }
.cp-stats { display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; margin: 2rem 0; padding: 1.5rem 0; border-top: var(--line); border-bottom: var(--line); }
.cp-stat { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 0.75rem; }
.cp-stat-n { font-size: clamp(2.4rem, 4vw, 3.25rem); }
.cp-stat-l { font-size: 15px; font-weight: 500; color: var(--fg-muted); }
.cp-dots { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 5px; margin-top: 0.85rem; max-width: 260px; }
.cp-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.country-panel.is-entering .cp-dot { animation: dot-in 0.4s var(--ease-pop) both; animation-delay: 0.35s; }
@keyframes dot-in { from { transform: scale(0); } to { transform: scale(1); } }
.cp-sub { font-size: 15px; font-weight: 500; color: var(--fg-muted); margin-bottom: 0.85rem; }
.cp-tags { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.cp-tags li { padding: 0.5rem 1rem; border: var(--line-gold); background: var(--gold-pale); border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--dark); }
.cp-map { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--off-white); }
.cp-map img { width: 100%; height: 100%; object-fit: cover; }
.cp-map figcaption { position: absolute; left: 0; bottom: 0; padding: 0.6rem 1.1rem; background: var(--dark); color: var(--white); font-family: var(--font-serif); font-weight: 700; font-size: 0.95rem; }
.cp-gallery { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cp-gallery--1 { grid-template-columns: 1fr; }
.cp-gallery--1 .cp-photo img { aspect-ratio: 21 / 9; }
.cp-photo { background: var(--dark-soft); }
.cp-photo img { transition: transform 0.6s ease; }
.cp-photo:hover img { transform: scale(1.04); }
.cp-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
}
.cp-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: var(--line); }
.cp-nav-btn {
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition), gap var(--transition);
}
.cp-nav-btn:hover { color: var(--link-hover); gap: 0.8rem; }
.cp-nav-btn:focus-visible { outline: var(--focus); outline-offset: 4px; }
.cp-nav-btn--next { margin-left: auto; }

/* ---------- impact grid ---------- */
.mn-impact-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.mn-impact-head .feature-bar { margin: 0.75rem 0 1.5rem; }
.mn-impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: var(--line); }
.mn-tile { display: flex; flex-direction: column; padding: clamp(1.5rem, 2.5vw, 2.1rem); }
.mn-tile--feature { grid-row: span 3; justify-content: flex-end; }
.mn-tile--wide { grid-column: span 3; }
.mn-tile--wide p { max-width: 60ch; }
.mn-tile-n { font-size: clamp(2.5rem, 4vw, 3.4rem); color: var(--fg); }
.mn-tile--feature .mn-tile-n { font-size: clamp(5rem, 10vw, 8.5rem); color: var(--accent); }
.mn-tile-n--word { font-size: clamp(1.7rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; color: var(--accent); }
.mn-tile-l { margin-top: 0.75rem; font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--fg); }
.mn-tile--feature .mn-tile-l { font-size: 1.3rem; }
.mn-tile p { margin-top: 0.5rem; font-size: 15px; line-height: 1.6; color: var(--fg-muted); }
.mn-tile--feature p { font-size: 16px; max-width: 30ch; }

/* ---------- where we pray to go next ---------- */
.mn-next-inner { --cols: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.mn-next-head .feature-bar { margin: 0.75rem 0 1.5rem; }
.mn-next-head p { font-size: 18px; line-height: 1.7; color: var(--fg-muted); max-width: 40ch; }
.mn-next-list { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2em 0; }
.mn-next-list li { font-family: var(--font-serif); font-size: clamp(1.9rem, 4.2vw, 3.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; color: var(--fg-soft); }
.mn-next-list li::after { display: inline-block; width: 0.24em; height: 0.32em; margin: 0 0.42em; vertical-align: 0.12em; }

/* ---------- mission trips ---------- */
.mn-trip-media { background: var(--dark-soft); }
.mn-trip-text .feature-bar { margin: 0.75rem 0 1.5rem; }
.mn-trip-actions { margin-top: 2rem; }

/* ============================================================
   7. RESPONSIVE — widest first
   ============================================================ */
@media (max-width: 960px) {
  .split { --cols: 1fr; }

  .center-img-inner { grid-template-columns: 1fr; }
  .center-img-col--center { width: 100%; order: -1; }
  .center-img-photo { height: 400px; border-radius: 12px; }

  .hm-stats { grid-template-columns: repeat(3, 1fr); }
  .hm-stat:nth-child(4) { border-left: 0; padding-left: 0; }

  .ab-hero { grid-template-columns: 1fr; min-height: 0; }
  .ab-hero-text { padding: clamp(3rem, 8vw, 4rem) var(--pad); }
  .ab-hero-media { min-height: 0; aspect-ratio: 4 / 3; }

  .mn-hero-countries { grid-template-columns: repeat(3, 1fr); }
  .cp-map { aspect-ratio: 16 / 10; order: -1; }
  .mn-impact-grid { grid-template-columns: repeat(2, 1fr); }
  .mn-tile--feature { grid-column: 1 / -1; grid-row: auto; }
  .mn-tile--wide { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .nav-links, .nav-donate { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 760px) {
  /* timeline collapses to one column with the line on the left */
  .timeline { --line-x: 11px; }
  .tl-item, .tl-item:nth-child(even) { grid-template-columns: 22px minmax(0, 1fr); column-gap: 1.25rem; }
  .tl-marker { grid-column: 1; padding-top: 0.75rem; }
  .tl-content, .tl-item:nth-child(even) .tl-content { grid-column: 2; text-align: left; padding: 0; }
  .tl-aside, .tl-item:nth-child(even) .tl-aside { grid-column: 2; grid-row: 2; padding: 0; margin-top: 1.5rem; }
  .tl-item:nth-child(even) .tl-text { margin-left: 0; }

  .ab-name-grid, .pray-grid, .ab-pillars { grid-template-columns: 1fr; }
  .ab-name-col + .ab-name-col { border-left: 0; padding-left: 0; margin-top: 3rem; }
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .carousel-card { width: 280px; height: 360px; }
}
@media (max-width: 640px) {
  .hm-scroll { display: none; }
  .hm-pause { margin-left: auto; }
  .hm-stats { grid-template-columns: 1fr 1fr; }
  .hm-stat:first-child { grid-column: 1 / -1; }
  .hm-stat:nth-child(2), .hm-stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .hm-stat:nth-child(3), .hm-stat:nth-child(5) { border-left: var(--line); padding-left: 1.25rem; }
  .hm-place { grid-template-columns: minmax(0, 1fr) auto; }
  .hm-place-meta { display: none; }
  .hm-values li { font-size: 14px; }
}
@media (max-width: 600px) {
  .ab-commitments { flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
  .ab-commitments li::after { display: none; }
  .mn-hero-countries { grid-template-columns: repeat(2, 1fr); }
  .country-select-list { min-width: min(300px, calc(100vw - 2 * var(--pad))); }
  .cp-gallery { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .cp-gallery--1 { grid-template-columns: 1fr; }
  .cp-gallery--1 .cp-photo img { aspect-ratio: 4 / 3; }
  .cp-photo img { aspect-ratio: 1 / 1; }
  .cp-photo figcaption { font-size: 13px; padding: 2rem 0.7rem 0.6rem; }
  .mn-impact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .pastor-row { grid-template-columns: 1fr auto; row-gap: 0.75rem; }
  .pastor-dots { grid-column: 1 / -1; }
  .pd { width: 14px; height: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hm-track, .tl-dot, .tl-year, .hm-tag *, .hm-tag::before, .hm-tag-activity::before, .hm-tag-activity::after { transition: none !important; }
  .hm-ch { transform: none; }
  .hm-bar.is-active::after { animation: none; transform: scaleX(1); }
  .hm-scroll span::after { animation: none; }
  .hm-place-name, .hm-place-arrow { transition: none; }
  .pd { transform: scale(1); transition: none; }
  .country-panel.is-entering > *, .country-panel.is-entering .cp-dot, .country-select-list { animation: none; }
  .nav-dd, .nav-dd-toggle svg { transition: none; }
}

/* ============================================================
   COUNTRY PAGES (cambodia.html, and later india.html, nepal.html ...)
   Paste this whole block at the very end of style.css.
   ============================================================ */

/* ---------- hero: reuses .mn-hero, a little shorter, with a facts row ---------- */
.cty-hero { min-height: 72vh; min-height: 72svh; }
.cty-facts {
  width: 100%;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.cty-fact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.4rem 1rem 1.6rem 0;
  border-top: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
}
.cty-fact-n { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; line-height: 1; }
.cty-fact-l { font-size: 14px; color: var(--gold-light); }
.cty-fact--link { transition: color var(--transition); }
.cty-fact--link:hover .cty-fact-n { color: var(--gold-light); }
.cty-fact--link:focus-visible { outline: var(--focus); outline-offset: 2px; }

.cty-story { --cols: minmax(0, 1.1fr) minmax(0, 0.9fr); }

/* ---------- activity filter buttons ---------- */
.gal-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.gal-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border: 1.5px solid var(--rule);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-size: 15px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.gal-filter[hidden] { display: none; }
.gal-filter:hover { border-color: var(--fg); }
.gal-filter[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.gal-filter:focus-visible { outline: var(--focus); outline-offset: 3px; }
.gal-count { font-size: 13px; font-variant-numeric: tabular-nums; opacity: 0.6; }

/* ---------- photo grid ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.5rem, 1.2vw, 1rem); }
.gal-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark-soft);
  animation: gal-in 0.45s var(--ease-out) both;
}
.gal-item[hidden] { display: none; }
@keyframes gal-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gal-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gal-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.25rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition);
}
.gal-item:hover img, .gal-item:focus-visible img { transform: scale(1.04); }
.gal-item:hover .gal-cap, .gal-item:focus-visible .gal-cap { opacity: 1; transform: none; }
.gal-item:focus-visible { outline: var(--focus); outline-offset: 3px; }
@media (hover: none) { .gal-cap { opacity: 1; transform: none; } }   /* phones: captions always shown */

.gal-more { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 2.75rem); }
.gal-more .btn[hidden] { display: none; }

/* ---------- full-screen photo viewer ---------- */
.lb {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(14,10,4,0.98);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
}
.lb[open] { display: flex; animation: lb-in 0.25s ease; }
.lb::backdrop { background: transparent; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-figure {
  margin: 0;
  max-width: min(1200px, calc(100vw - 9rem));
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lb-img {
  max-width: 100%;
  max-height: calc(100dvh - 9rem);
  object-fit: contain;
  border-radius: var(--radius);
  touch-action: pan-y;
}
.lb-cap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}
.lb-pos { color: rgba(255,255,255,0.55); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.lb-btn:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.lb-btn:focus-visible { outline: var(--focus); outline-offset: 3px; }
.lb-close { top: 1.25rem; right: 1.25rem; font-size: 1.7rem; }
.lb-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-btn[hidden] { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cty-facts { grid-template-columns: 1fr 1fr; }
  /* buttons become one row you can swipe sideways */
  .gal-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin-left: calc(-1 * var(--pad));
    margin-right: calc(-1 * var(--pad));
    padding: 0.25rem var(--pad);
    scrollbar-width: none;
  }
  .gal-filters::-webkit-scrollbar { display: none; }
  .gal-filter { flex-shrink: 0; }
  .cty-fact--link { display: none; }
  .lb-figure { max-width: calc(100vw - 2rem); }
  .lb-img { max-height: calc(100dvh - 11rem); }
  .lb-prev, .lb-next { top: auto; bottom: 1.25rem; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}
@media (prefers-reduced-motion: reduce) {
  .gal-item, .lb[open] { animation: none; }
  .gal-item img, .gal-cap { transition: none; }
}
/* ============================================================
   GET INVOLVED (outreach.html)
   ============================================================ */
#give, #relief, #go, #pray, #contact { scroll-margin-top: calc(var(--nav-h) + 1rem); }

/* ---------- hero (reuses .mn-hero) with room for the path cards ---------- */
.gi-hero { min-height: 74vh; min-height: 74svh; padding-bottom: clamp(5rem, 10vw, 7rem); }
.gi-hero .mn-hero-heading { max-width: 14ch; }

/* ---------- four ways to help, straddling the hero's bottom edge ---------- */
.gi-paths-wrap { position: relative; z-index: 2; margin-top: calc(-1 * clamp(4rem, 8vw, 5.5rem)); padding: 0 var(--pad); }
.gi-paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.gi-path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 24px 50px -24px rgba(26,18,8,0.35);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.gi-path::after {                     /* gold line grows along the bottom on hover */
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 4px; width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.gi-path:hover { transform: translateY(-6px); box-shadow: 0 32px 60px -24px rgba(26,18,8,0.45); }
.gi-path:hover::after, .gi-path:focus-visible::after { transform: scaleX(1); }
.gi-path:focus-visible { outline: var(--focus); outline-offset: 3px; }
.gi-path-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.6rem;
  border-radius: 50%;
  background: var(--gold-pale);
  border: var(--line-gold);
}
.gi-path-icon svg, .gi-kicker svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gi-path-title { font-family: var(--font-serif); font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; color: var(--dark); }
.gi-path-text { font-size: 15px; line-height: 1.55; color: var(--gray); }
.gi-path-arrow {
  position: absolute;
  top: clamp(1.4rem, 2.4vw, 1.9rem); right: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform var(--transition);
}
.gi-path:hover .gi-path-arrow { transform: translateY(4px); }

/* ---------- shared section pieces ---------- */
.gi-section { padding-top: clamp(5rem, 10vw, 8rem); }
.gi-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-text);
}
.gi-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  max-width: 16ch;
}
.gi-section .feature-bar { margin: 1.5rem 0 1.5rem; }
.gi-sub { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; color: var(--fg); margin: 1.75rem 0 0.9rem; }
.gi-list { display: grid; gap: 0.7rem; }
.gi-list li { display: flex; align-items: baseline; gap: 0.8rem; font-size: 17px; line-height: 1.5; color: var(--fg-soft); }
.gi-list li::before {                 /* gold water drop */
  content: "";
  flex: 0 0 10px;
  width: 10px; height: 13px;
  background: var(--accent);
  -webkit-mask: var(--drop);
          mask: var(--drop);
  transform: translateY(1px);
}
.gi-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.gi-chips li {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--rule);
  background: var(--bg);
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}
.gi-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.75rem; margin-top: 2rem; }
.gi-actions--center { justify-content: center; }
.gi-fine { margin-top: 1.25rem; font-size: 14px; line-height: 1.6; color: var(--fg-muted); max-width: 48ch; }
.gi-split { --cols: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.gi-photo img { aspect-ratio: 4 / 5; border-radius: 8px; }

/* ---------- go: three steps ---------- */
.gi-go-head { --cols: minmax(0, 1fr) minmax(0, 0.9fr); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.gi-go-head .section-body { margin: 0; }
.gi-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--line); }
.gi-step { padding: 2rem clamp(1rem, 3vw, 2.5rem) 0 0; }
.gi-step + .gi-step { padding-left: clamp(1rem, 3vw, 2.5rem); border-left: var(--line); }
.gi-step-n {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.gi-step h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--fg); margin-bottom: 0.5rem; }
.gi-step p { font-size: 16px; line-height: 1.7; color: var(--fg-muted); max-width: 32ch; }
.gi-go-photo { margin-top: clamp(3rem, 6vw, 4.5rem); }
.gi-go-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 8px; }

/* ---------- pray ---------- */
.gi-pray { --cols: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
.gi-meet .gi-sub { margin-top: 0; }
.gi-meet-intro { font-size: 16px; line-height: 1.7; color: var(--fg-muted); margin-bottom: 1.25rem; }
.gi-meet-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gi-meet-cards .pray-card { border-radius: 8px 8px 0 0; box-shadow: 0 18px 40px -26px rgba(26,18,8,0.35); }

/* ---------- closing ---------- */
.gi-contact-inner { max-width: 760px; text-align: center; }
.gi-contact-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--fg);
  margin-bottom: 1.25rem;
}
.gi-contact-inner p { font-size: 18px; line-height: 1.7; color: var(--fg-soft); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  /* these set their own column sizes, so they need their own one-column rule */
  .gi-split, .gi-go-head, .gi-pray, .cty-story { --cols: 1fr; }
  .gi-paths { grid-template-columns: repeat(2, 1fr); }
  .gi-split--flip .gi-photo { order: 2; }
  .gi-photo img { aspect-ratio: 4 / 3; }
  .gi-steps { grid-template-columns: 1fr; }
  .gi-step, .gi-step + .gi-step { padding: 1.75rem 0; border-left: 0; border-bottom: var(--line); }
}
@media (max-width: 600px) {
  .gi-path { padding: 1.15rem; }
  .gi-path-text { font-size: 14px; }
  .gi-path-arrow { display: none; }
  .gi-meet-cards { grid-template-columns: 1fr; }
  .gi-go-photo img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .gi-path, .gi-path::after, .gi-path-arrow { transition: none; }
}

/* ---------- prayer request form (outreach.html) ---------- */
.gi-request {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 8px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 24px 50px -30px rgba(26,18,8,0.35);
}
.gi-request-title { font-family: var(--font-serif); font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 700; letter-spacing: -0.02em; color: var(--fg); }
.gi-request-intro { margin: 0.5rem 0 1.4rem; font-size: 16px; line-height: 1.65; color: var(--fg-muted); }
.gi-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.gi-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.9rem; }
.gi-field span { font-size: 14px; font-weight: 500; color: var(--fg); }
.gi-field em { font-style: normal; font-weight: 400; color: var(--fg-muted); }
.gi-field input, .gi-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  background: var(--white);
  font: inherit;
  font-size: 16px;                    /* 16px stops phones zooming in on tap */
  color: var(--fg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.gi-field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.gi-field input:focus, .gi-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-pale); }
.gi-request-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; margin-top: 0.4rem; }
.gi-request-note { font-size: 13px; line-height: 1.6; color: var(--fg-muted); }
.gi-request-mail { color: var(--fg); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.gi-request-mail:hover { color: var(--accent-text); }

.gi-meet-join { margin-top: clamp(1.75rem, 3vw, 2.25rem); }
.gi-meet-join .gi-sub { margin-top: 0; }
.gi-meet-card { flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem 2rem; border-radius: 8px 8px 0 0; box-shadow: 0 18px 40px -26px rgba(26,18,8,0.35); }
.gi-meet-card .pray-day, .gi-meet-card .pray-time { display: block; }
.gi-meet-card .pray-time { margin: 0.5rem 0 0.75rem; }
.gi-meet-card .gi-meet-intro { margin: 0; }
.gi-meet-card address { margin-bottom: 0.75rem; }

@media (max-width: 600px) {
  .gi-field-row { grid-template-columns: 1fr; gap: 0; }
  .gi-meet-card { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   DONATE (donate.html)
   ============================================================ */
#give, #contact { scroll-margin-top: calc(var(--nav-h) + 1rem); }

/* ---------- hero: message + Zelle card ---------- */
.dn-hero { min-height: 0; justify-content: center; padding-bottom: clamp(3rem, 6vw, 5rem); }
.dn-hero::before { background: linear-gradient(100deg, rgba(26,18,8,0.8) 0%, rgba(26,18,8,0.55) 45%, rgba(26,18,8,0.2) 100%); }
.dn-hero-grid {
  width: 100%;
  padding: clamp(3rem, 7vw, 5.5rem) var(--pad) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.dn-hero .mn-hero-heading { max-width: 12ch; }
.dn-hero-points { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.dn-hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}
.dn-hero-points li::before { content: ""; width: 7px; height: 9px; background: var(--gold); -webkit-mask: var(--drop); mask: var(--drop); }

/* the Zelle card */
.dn-give {
  position: relative;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: 12px;
  border-top: 5px solid var(--gold);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}
.dn-give-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--gold-pale);
  border: var(--line-gold);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-text);
}
.dn-give-title { margin: 0.9rem 0 1.5rem; font-family: var(--font-serif); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--fg); }
.dn-give-steps { list-style: none; display: grid; gap: 1.25rem; }
.dn-give-steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 1rem; align-items: start; }
.dn-step-n {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
}
.dn-give-steps h3 { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--fg); margin: 0.35rem 0 0.3rem; }
.dn-give-steps p { font-size: 15px; line-height: 1.6; color: var(--fg-muted); }
.dn-give-steps strong { color: var(--fg); font-weight: 600; }

/* email + copy button */
.dn-copy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding: 0.4rem 0.4rem 0.4rem 1rem;
  border: 1.5px solid var(--gold-border);
  border-radius: 10px;
  background: var(--gold-pale);
}
.dn-copy-value {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 700;
  color: var(--dark);
}
.dn-copy-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  border-radius: 7px;
  background: var(--dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  transition: background var(--transition);
}
.dn-copy-btn:hover { background: var(--dark-soft); }
.dn-copy-btn:focus-visible { outline: var(--focus); outline-offset: 2px; }
.dn-copy-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.dn-copy-icon--done { display: none; }
.dn-copy-btn.is-copied { background: #2f7a3e; }
.dn-copy-btn.is-copied .dn-copy-icon--copy { display: none; }
.dn-copy-btn.is-copied .dn-copy-icon--done { display: inline; }
.dn-give-thanks { margin-top: 1.5rem; padding-top: 1.25rem; border-top: var(--line); font-size: 15px; color: var(--fg-muted); }

/* ---------- impact (reuses the homepage number styles) ---------- */
.dn-impact .hm-impact-head { --cols: minmax(0, 1fr) minmax(0, 0.8fr); gap: 1.5rem 4rem; align-items: end; }

/* ---------- where your gift goes ---------- */
.dn-goes { --cols: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
.dn-goes-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--fg); }
.dn-goes-list li { padding: 1.4rem 1.25rem 1.4rem 0; border-bottom: var(--line); }
.dn-goes-list li:nth-child(even) { padding-left: 1.25rem; padding-right: 0; border-left: var(--line); }
.dn-goes-list h3 { display: flex; align-items: baseline; gap: 0.6rem; font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; color: var(--fg); margin-bottom: 0.4rem; }
.dn-goes-list h3::before { content: ""; flex: 0 0 9px; height: 12px; background: var(--accent); -webkit-mask: var(--drop); mask: var(--drop); }
.dn-goes-list p { font-size: 15px; line-height: 1.6; color: var(--fg-muted); padding-left: calc(9px + 0.6rem); }

/* ---------- other ways to give ---------- */
.dn-other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.dn-other-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border: var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.dn-other-card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out); }
.dn-other-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.28); }
.dn-other-card:hover::after, .dn-other-card:focus-visible::after { transform: scaleX(1); }
.dn-other-card:focus-visible { outline: var(--focus); outline-offset: 3px; }
.dn-other-icon { width: 50px; height: 50px; margin-bottom: 1.25rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(200,151,58,0.14); border: 1px solid rgba(200,151,58,0.4); }
.dn-other-icon svg, .dn-contact-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dn-other-card h3 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; color: var(--fg); margin-bottom: 0.6rem; }
.dn-other-card p { flex: 1; font-size: 16px; line-height: 1.7; color: var(--fg-muted); margin-bottom: 1.25rem; }
.dn-other-more { font-size: 15px; font-weight: 700; color: var(--fg); }
.dn-other-more::after { content: " \203A"; color: var(--gold-light); }
.dn-other-card:hover .dn-other-more { color: var(--gold-light); }

/* ---------- questions + tax ---------- */
.dn-info { --cols: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.dn-contact { display: grid; gap: 1rem; margin: 1.75rem 0 2rem; }
.dn-contact li { display: flex; align-items: flex-start; gap: 1rem; }
.dn-contact-icon { flex: 0 0 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gold-pale); border: var(--line-gold); }
.dn-contact-label { display: block; font-size: 14px; color: var(--fg-muted); margin-bottom: 0.15rem; }
.dn-contact a, .dn-contact address { font-style: normal; font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; line-height: 1.4; color: var(--fg); }
.dn-contact a:hover { color: var(--accent-text); }
.dn-tax { padding: 1.25rem 1.4rem; border-left: 4px solid var(--gold); background: var(--off-white); border-radius: 0 8px 8px 0; }
.dn-tax h3 { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--fg); margin-bottom: 0.4rem; }
.dn-tax p { font-size: 15px; line-height: 1.7; color: var(--fg-muted); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .dn-hero-grid { grid-template-columns: 1fr; }
  .dn-goes, .dn-info, .dn-impact .hm-impact-head { --cols: 1fr; }
  .dn-other-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .dn-goes-list { grid-template-columns: 1fr; }
  .dn-goes-list li, .dn-goes-list li:nth-child(even) { padding: 1.2rem 0; border-left: 0; }
  .dn-copy { flex-wrap: wrap; padding: 0.75rem; }
  .dn-copy-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .dn-other-card, .dn-other-card::after { transition: none; }
}

/* timeline photos: bigger box, whole photo shown at its own shape */
.tl-aside img { aspect-ratio: auto; height: auto; object-fit: initial; }      /* whole photo, never cropped */
.tl-aside { margin-left: calc(-1 * var(--pad) / 1); }                         /* odd items: grow toward the left edge */
.tl-item:nth-child(even) .tl-aside { margin-left: 0; margin-right: calc(-1 * var(--pad) / 1); }   /* even items: grow toward the right */
@media (max-width: 760px) {
  .tl-aside, .tl-item:nth-child(even) .tl-aside { margin-left: 0; margin-right: 0; }
}
@media (min-width: 1280px) {       /* big screens: photos reach further out beside the timeline */
  .tl-aside { margin-left: -6rem; }
  .tl-item:nth-child(even) .tl-aside { margin-left: 0; margin-right: -6rem; }
}

/* country story photos: show the whole photo at its own shape (no cropping) */
.cty-story .photo img { aspect-ratio: auto; height: auto; object-fit: initial; border-radius: var(--radius); }
/* country story: give the photo the bigger column */
.cty-story { --cols: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; }
@media (max-width: 960px) {
  .cty-story { --cols: 1fr; }
  .cty-story .photo img { width: auto; max-width: 100%; max-height: 80vh; margin: 0 auto; }   /* stacked: tall photos don't fill the whole screen */
}

/* ---------- homepage hero arrows ---------- */
.hm-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 56px;
  height: 56px;
  margin-top: -28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(26,18,8,0.35);
  border: 1.5px solid rgba(255,255,255,0.45);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  opacity: 0.85;
  transition: background var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition), transform 0.35s var(--ease-pop);
}
.hm-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hm-arrow--prev { left: clamp(0.75rem, 2.5vw, 2rem); }
.hm-arrow--next { right: clamp(0.75rem, 2.5vw, 2rem); }
.hm-hero-frame:hover .hm-arrow { opacity: 1; }
.hm-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.hm-arrow--prev:hover { transform: translateX(-3px); }
.hm-arrow--next:hover { transform: translateX(3px); }
.hm-arrow:active { transform: scale(0.94); }
.hm-arrow:focus-visible { outline: var(--focus); outline-offset: 3px; opacity: 1; }
@media (max-width: 640px) {
  .hm-arrow { width: 42px; height: 42px; margin-top: -21px; }
  .hm-arrow svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) { .hm-arrow { transition: none; } }

/* ---------- homepage carousel: photos are links to their country pages ---------- */
.carousel-card { display: block; color: inherit; text-decoration: none; isolation: isolate; }
.carousel-card::before {                     /* gold frame that appears on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 var(--gold);
  transition: box-shadow 0.35s var(--ease-out);
  pointer-events: none;
}

/* "See ..." link:  ——— SEE CAMBODIA (→) */
.carousel-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease-out);
}
.carousel-card-more::before {                /* gold line in front, grows on hover */
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.carousel-card-more::after {                 /* arrow in a gold circle, fills on hover */
  content: "\2192";
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--gold-light);
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s var(--ease-out);
}
.carousel-card:hover::before, .carousel-card:focus-visible::before { box-shadow: inset 0 0 0 3px var(--gold); }
.carousel-card:hover .carousel-card-more,
.carousel-card:focus-visible .carousel-card-more { opacity: 1; transform: none; }
.carousel-card:hover .carousel-card-more::before,
.carousel-card:focus-visible .carousel-card-more::before { width: 40px; }
.carousel-card:hover .carousel-card-more::after,
.carousel-card:focus-visible .carousel-card-more::after { background: var(--gold); color: var(--dark); transform: translateX(4px); }
.carousel-card:focus-visible { outline: var(--focus); outline-offset: 3px; }
/* phones and tablets (no hover): the link is always shown */
@media (hover: none) { .carousel-card-more { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .carousel-card::before, .carousel-card-more, .carousel-card-more::before, .carousel-card-more::after { transition: none; }
}

/* footer: logo + Pages + Countries + Contact */
.footer-logo-img { height: 64px; width: auto; display: block; }
.footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :last-child { grid-column: 1 / -1; }
}

/* ---------- caption under a timeline photo (about.html) ---------- */
.tl-caption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.9rem;
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
  color: var(--fg-muted);
}
.tl-caption::before {                      /* short gold line in front */
  content: "";
  flex: 0 0 28px;
  height: 1.5px;
  background: var(--gold);
}