/* ===========================================================================
   ROC 2026 — ADVANCE  |  Manna Church  |  Stakeholder review build
   Palette & type from the ROC26 "ADVANCE" Digital kit.
   =========================================================================== */

:root {
  --bg:        #101317;
  --bg-alt:    #14181d;
  --card:      #1A2029;
  --card-2:    #1e2530;
  --card-border: #262f40;
  --card-border-hi: #33415c;
  --text:      #E6E3D6;
  --heading:   #EAE7DB;
  --muted:     #8f949d;
  --accent:    #4370DA;   /* brand blue — fills, date bar, decorative ▶▶ */
  --accent-text: #6E93EA; /* lighter blue — small accent TEXT, ≥4.5:1 on all surfaces */
  --cream:     #E8E4D6;
  --gold:      #d9b25a;   /* placeholder flag */

  --wrap: 1160px;
  --radius: 16px;
  --radius-sm: 10px;
  --gutter: 20px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.62;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dot { color: var(--card-border-hi); padding-inline: .3em; }
.muted { color: var(--muted); font-weight: 400; }

/* ---- Headings ---- */
h1, h2, h3 { color: var(--heading); margin: 0 0 .4em; line-height: 1.04; }
.section-title, h1 {
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-stretch: 125%; text-transform: uppercase; letter-spacing: .005em;
}
h3 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 125%; }

.pp { color: var(--accent); font-style: normal; letter-spacing: -.1em; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: .78em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1; white-space: nowrap;
  transition: transform .14s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn .pp { color: inherit; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px -8px rgba(67,112,218,.8); }
.btn-primary:hover { background: #3a63c4; }
.btn-ghost { background: rgba(255,255,255,.03); color: var(--heading); border-color: var(--card-border-hi); }
.btn-ghost:hover { border-color: var(--accent-text); color: #fff; }
.btn-link {
  background: none; border: 0; padding: .4em 0; color: var(--accent-text);
  font-weight: 600; font-size: .92rem; cursor: pointer; display: inline-flex; gap: .45em; align-items: center;
}
.btn-link:hover { transform: none; gap: .7em; text-decoration: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ===========================================================================
   Sticky header
   =========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(13,16,20,.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--card-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand-logo {
  display: block; width: auto; height: clamp(16px, 4.6vw, 22px); max-width: 62vw;
  filter: brightness(0) invert(1);  /* render the monochrome mark pure white */
}

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 40px; padding: 0 10px; background: transparent;
  border: 1px solid var(--card-border-hi); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { height: 2px; background: var(--heading); border-radius: 2px; transition: .22s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column;
  background: rgba(13,16,20,.98); border-bottom: 1px solid var(--card-border); padding: .5rem var(--gutter) 1.1rem;
}
.primary-nav.open { display: flex; }
.primary-nav a { color: var(--text); font-weight: 500; padding: .85rem .2rem; border-bottom: 1px solid rgba(255,255,255,.05); }
.primary-nav a:last-child { border-bottom: 0; }
.primary-nav a.active { color: var(--accent-text); }
.primary-nav a:hover { color: #fff; text-decoration: none; }
.nav-cta { color: var(--accent-text); font-weight: 600; }

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; position: static; background: none; border: 0; padding: 0; gap: .3rem; align-items: center; }
  .primary-nav a { border: 0; padding: .5rem .9rem; border-radius: 999px; font-size: .94rem; }
  .primary-nav a:hover { background: rgba(255,255,255,.06); }
  .primary-nav a.active { background: rgba(67,112,218,.16); color: var(--accent-text); }
  .nav-cta { background: var(--accent); color: #fff; }
  .nav-cta:hover { background: #3a63c4; color: #fff; }
  .nav-cta.active { background: var(--accent) !important; color: #fff !important; }
}

/* ===========================================================================
   Section shell + heads
   =========================================================================== */
.section { padding: clamp(3.4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-title { font-size: clamp(2rem, 6.5vw, 3.5rem); margin: 0; }
.section-title::before {
  content: "▶▶"; display: inline-block; color: var(--accent); font-style: normal;
  font-family: var(--font-body); font-weight: 700; letter-spacing: -.12em;
  font-size: .4em; vertical-align: .5em; margin-right: .5em; transform: translateY(-.15em);
}
.section-sub { margin: .7rem 0 0; color: var(--muted); font-size: 1.02rem; }
.section-sub strong { color: var(--accent-text); }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); line-height: 1.5; color: var(--text); max-width: 62ch; }

/* Card base */
.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--card-border); border-radius: var(--radius);
}

/* ===========================================================================
   1. Hero
   =========================================================================== */
.hero {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center;
  min-height: 86svh; padding: 5rem 0 0; overflow: hidden;
  /* Fallback if WebGL is unavailable */
  background:
    repeating-linear-gradient(0deg, rgba(67,112,218,.06) 0 2px, transparent 2px 4px),
    radial-gradient(120% 80% at 50% 38%, #1a2744 0%, #0f1627 55%, #0b0e14 100%);
}
.hero-canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; }
.hero-overlay { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 60% at 50% 38%, rgba(16,19,23,.35), rgba(16,19,23,.72) 70%, rgba(16,19,23,.95) 100%),
    linear-gradient(180deg, rgba(16,19,23,.5) 0%, rgba(16,19,23,.6) 60%, rgba(16,19,23,.98) 100%);
}
.hero-inner { position: relative; flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 2.5rem; }
.hero-inner::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 40%;
  width: min(720px, 92%); aspect-ratio: 1 / 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(67,112,218,.30), rgba(67,112,218,0) 62%);
  filter: blur(26px); pointer-events: none;
  animation: glowPulse 7s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.09); }
}
.hero-lockup { width: min(88%, 640px); margin-bottom: 1.4rem; filter: drop-shadow(0 10px 34px rgba(0,0,0,.55)); animation: heroUp 1s cubic-bezier(.2,.7,.2,1) both; }
.hero-title { font-size: clamp(1.5rem, 5.5vw, 2.7rem); margin: 0 0 1.1rem; color: var(--heading); animation: heroUp 1s .12s cubic-bezier(.2,.7,.2,1) both; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.date-bar {
  display: inline-block; margin: 0 0 1.7rem; background: var(--accent); color: #fff;
  font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  font-size: clamp(.9rem, 3.2vw, 1.12rem); padding: .6em 1.2em; border-radius: 8px;
  box-shadow: 0 10px 30px -10px rgba(67,112,218,.9);
}
.date-bar .dot { color: rgba(255,255,255,.72); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.hero .date-bar { animation: heroUp 1s .24s cubic-bezier(.2,.7,.2,1) both; }
.hero .hero-cta { animation: heroUp 1s .36s cubic-bezier(.2,.7,.2,1) both; }

/* Hero marquee ticker */
.hero-ticker {
  position: relative; z-index: 1; overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border);
  background: rgba(10,12,15,.6); padding: .7rem 0;
}
.ticker-track { display: inline-flex; animation: ticker 26s linear infinite; }
.ticker-track span {
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 125%;
  text-transform: uppercase; letter-spacing: .04em; color: var(--heading);
  font-size: 1.1rem; padding-right: .4rem;
}
.ticker-track .pp { color: var(--accent); margin: 0 .6rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (min-width: 1201px) { .hero { min-height: 80svh; } }

/* ===========================================================================
   2. Overview
   =========================================================================== */
.overview-grid { display: grid; gap: clamp(1.8rem, 4vw, 2.6rem); }
.overview-text { display: grid; gap: 1.2rem; align-content: start; }
.callouts { display: grid; gap: 1rem; }
.callout {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--card-border); border-radius: var(--radius);
  border-top: 3px solid var(--accent); padding: 1.5rem 1.4rem;
}
.callout-num {
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 125%;
  font-size: clamp(2.6rem, 7vw, 3.4rem); line-height: .8; color: var(--accent-text); flex: none;
}
.callout-day { margin: .1rem 0 .25rem; font-weight: 700; color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.callout-head { margin: 0 0 .5rem; font-size: 1.15rem; }
.callout-text { margin: 0; color: var(--text); font-size: .96rem; }

@media (min-width: 900px) {
  .overview-grid { grid-template-columns: 1fr 1.05fr; gap: 3.2rem; align-items: start; }
  .overview-text { position: sticky; top: 92px; }
}

/* ===========================================================================
   3. Scripture + letter
   =========================================================================== */
/* Scripture — standalone light-blue band, centered, ~60% width */
.scripture-section {
  background: linear-gradient(180deg, #dbe5fb 0%, #cdddf8 100%); color: #132038;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0; text-align: center;
}
.scripture { margin: 0 auto; max-width: 68%; }
.scripture p {
  margin: 0 0 1.2rem; font-family: var(--font-display); font-style: italic; font-stretch: 100%; font-weight: 600;
  font-size: clamp(1.8rem, 4.4vw, 3.1rem); line-height: 1.28; color: #132038;
}
.scripture .w { transition: opacity .18s linear; }
.scripture cite { font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; color: #3a5bbf; }
@media (max-width: 760px) { .scripture { max-width: 100%; } }

.letter-grid { display: grid; gap: 2rem; }
.letter-body .section-title { font-size: clamp(1.7rem, 5vw, 2.7rem); margin-bottom: 1.2rem; }
.letter-body p { margin: 0 0 1.05rem; }
.signoff { color: var(--muted); margin-top: 1.4rem; }
.signoff strong { color: var(--heading); font-weight: 700; }
.letter-photos { display: grid; gap: 1.1rem; }
.letter-photo { margin: 0; }
.letter-photo img { border-radius: var(--radius); border: 1px solid var(--card-border); width: 100%; box-shadow: 0 18px 40px -22px rgba(0,0,0,.8); }

@media (min-width: 860px) {
  .letter-grid { grid-template-columns: 1.35fr 1fr; align-items: start; gap: 3rem; }
  .letter-photos { position: sticky; top: 90px; }
  .letter-photo-a { transform: translateX(6%); }
  .letter-photo-b { transform: translateX(-6%); margin-top: -.4rem; }
}

/* ===========================================================================
   4. Schedule — bento
   =========================================================================== */
.schedule-bento { display: grid; gap: 1.2rem; }
.day { padding: 1.5rem 1.5rem 1.6rem; }
.day-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--card-border); }
.day-num {
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: 1.05rem; color: #fff; background: var(--accent); border-radius: 10px; padding: .4em .6em; margin: 0; flex: none;
}
.day-head h3 { margin: 0; font-size: 1.3rem; }
.day-loc { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; }
.day-stack { display: grid; gap: 1.2rem; }

.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.agenda li { display: grid; grid-template-columns: 5rem 1fr; gap: 1.1rem; }
.agenda li + li { border-top: 1px solid rgba(255,255,255,.05); padding-top: 1.2rem; }
.slot-time { margin: 0; font-weight: 700; color: var(--accent-text); font-size: .92rem; line-height: 1.3; white-space: nowrap; }
.slot-time .to { color: var(--muted); }
.slot-title { margin: 0 0 .3rem; font-weight: 600; color: var(--heading); }
.slot-desc { margin: 0; color: var(--text); font-size: .94rem; }
.tag {
  display: inline-block; vertical-align: middle; margin-right: .5em; font-size: .68rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--accent-text);
  background: rgba(67,112,218,.14); border: 1px solid rgba(110,147,234,.35); border-radius: 6px; padding: .22em .55em;
}

@media (min-width: 900px) {
  .schedule-bento { grid-template-columns: 1fr 1fr; align-items: start; }
  .day-feature { align-self: stretch; }
}

/* ===========================================================================
   5. Guest speaker
   =========================================================================== */
.speaker-grid { display: grid; gap: 2rem; }
.speaker-photo { margin: 0; }
.speaker-photo img { border-radius: var(--radius); border: 1px solid var(--card-border); width: 100%; box-shadow: 0 20px 50px -26px rgba(0,0,0,.85); }
.speaker-name { font-size: clamp(2rem, 6vw, 3.2rem); margin: 0 0 .25rem; }
.speaker-role { margin: 0 0 1.3rem; color: var(--accent-text); font-weight: 600; letter-spacing: .02em; font-size: 1.05rem; }
.speaker-body p + p { margin-top: 1rem; }

@media (min-width: 820px) {
  .speaker-grid { grid-template-columns: 380px 1fr; align-items: center; gap: 3rem; }
  .speaker-photo img { max-width: 380px; }
}

/* ===========================================================================
   6. Who We're With — logo wall
   =========================================================================== */
.logo-wall {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--card-border); border-radius: var(--radius); overflow: hidden;
  background: var(--card);
}
.logo-cell {
  position: relative; min-height: 132px; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 1.5rem 1.3rem;
  border-right: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border);
  transition: background .18s ease;
}
.logo-cell img {
  max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain;
  background: #fff; border-radius: 10px; padding: 12px 16px;
}
.logo-cell span {
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  letter-spacing: .01em; font-size: 1rem; line-height: 1.1; color: var(--muted); transition: color .18s ease;
}
.logo-cell:hover { background: rgba(255,255,255,.03); }
.is-pending span { color: var(--muted); }
.pend-flag {
  position: absolute; top: 12px; right: 12px; width: 1.4em; height: 1.4em; display: inline-grid; place-items: center;
  border-radius: 50%; background: var(--card-border-hi); color: #fff; font-size: .7rem; font-weight: 700; font-style: normal;
}
.wall-note { margin: 1rem 0 0; color: var(--muted); font-size: .85rem; font-style: italic; }

@media (min-width: 620px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .logo-wall { grid-template-columns: repeat(6, 1fr); } }

/* ---- Light-mode partners section + larger logo cards ---- */
.section-light { background: #eceef3; color: #18212f; }
.section-light .section-title { color: #16202f; }
.section-light .logo-wall {
  background: transparent; border: 0; border-radius: 0; overflow: visible;
  gap: 1.1rem; grid-template-columns: repeat(2, 1fr);
}
.section-light .logo-cell {
  border: 1px solid #e0e4ec; border-radius: 16px; background: #fff;
  min-height: 160px; padding: 1.8rem 1.6rem;
  box-shadow: 0 2px 12px -5px rgba(20,30,50,.14);
  transition: transform .16s ease, box-shadow .16s ease;
}
.section-light .logo-cell:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -8px rgba(20,30,50,.22); background: #fff; }
.section-light .logo-cell img { background: transparent; padding: 0; border-radius: 0; max-height: 86px; }
.section-light .logo-cell span { color: #58627a; }
.section-light .is-pending { border-style: dashed; border-color: #c4ccd8; }
.section-light .pend-flag { background: #9aa3b2; }
.section-light .wall-note { color: #5a6475; }
@media (min-width: 640px) { .section-light .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .section-light .logo-wall { grid-template-columns: repeat(4, 1fr); } }

/* ===========================================================================
   7. Where We've Been — trip cards
   =========================================================================== */
.trip-grid { display: grid; gap: 1.3rem; }
.trip { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .16s ease, border-color .16s ease; }
.trip:hover { transform: translateY(-3px); border-color: var(--card-border-hi); }
.trip-photo { aspect-ratio: 16 / 11; overflow: hidden; background: #0e1116; }
.trip-photo img { width: 100%; height: 100%; object-fit: cover; }
.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 7px),
    radial-gradient(120% 120% at 30% 20%, #243350 0%, #19202b 55%, #121720 100%);
  color: var(--muted);
}
.tile .pp { font-size: 1.6rem; color: var(--accent-text); }
.tile-label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.trip-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.trip-body h3 { margin: 0; font-size: 1.3rem; }
.trip-meta { margin: 0; color: var(--muted); font-size: .88rem; }
.trip-note { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; font-style: italic; }
.trip .btn-link { margin-top: auto; align-self: flex-start; padding-top: .5rem; }
.badge {
  align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text); background: rgba(67,112,218,.14); border: 1px solid rgba(110,147,234,.35);
  border-radius: 6px; padding: .25em .6em; margin-bottom: .1rem;
}

@media (min-width: 640px) { .trip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trip-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===========================================================================
   8. Go Moments — uniform gallery
   =========================================================================== */
.moment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.moment {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-sm); background: #0e1116;
  transition: transform .16s ease;
}
.moment img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.moment::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.2) 55%, rgba(8,10,13,.92) 100%);
}
.moment-label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: .9rem .9rem 1rem; text-align: left;
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 125%;
  color: #fff; font-size: .98rem; line-height: 1.12;
}
.moment:hover img { transform: scale(1.05); }
.moment:hover { transform: translateY(-3px); }
.moment:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }

.more-stories {
  margin-top: 2.6rem; display: grid; gap: 1.2rem; align-items: center;
  background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2rem);
}
.more-stories h3 { margin: 0 0 .5rem; font-size: 1.4rem; }
@media (min-width: 560px) { .moment-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 920px) {
  .moment-grid { grid-template-columns: repeat(5, 1fr); }
  .more-stories { grid-template-columns: 1fr auto; }
}

/* ===========================================================================
   9. Where We're Going — budget
   =========================================================================== */
.budget-grid { display: grid; gap: 1.3rem; }
.budget { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.budget-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--card-border);
  background: rgba(67,112,218,.07);
}
.budget-head h3 { margin: 0; font-size: 1.15rem; }
.budget-total { margin: 0; color: var(--accent-text); font-weight: 700; font-size: 1.2rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.budget-lines { list-style: none; margin: 0; padding: 1.1rem 1.4rem 1.4rem; display: grid; gap: .9rem; flex: 1; }
.budget-lines li { display: grid; grid-template-columns: 1fr auto; gap: .8rem; align-items: baseline; font-size: .92rem; }
.budget-lines li + li { border-top: 1px dashed rgba(255,255,255,.07); padding-top: .9rem; }
.bl-name { color: var(--text); }
.bl-amt { color: var(--heading); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.budget-grand {
  position: relative; overflow: hidden;
  margin: 1.4rem 0 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: #141b2a; color: #fff; border: 1px solid var(--card-border-hi);
  border-radius: var(--radius); padding: 1.1rem 1.5rem;
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
}
.grand-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0; z-index: 0;
  background: linear-gradient(90deg, #3a63c4, var(--accent) 70%, var(--accent-text));
  box-shadow: 0 0 40px -6px rgba(67,112,218,.7);
  transition: width 1.8s cubic-bezier(.2,.7,.2,1);
}
.budget-grand.filled .grand-fill { width: 100%; }
.grand-label, .budget-grand .bl-amt { position: relative; z-index: 1; }
.budget-grand .bl-amt { color: #fff; font-size: clamp(1.3rem, 3.2vw, 1.8rem); font-variant-numeric: tabular-nums; }

@media (min-width: 900px) { .budget-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

/* ===========================================================================
   10. Give
   =========================================================================== */
.give-grid { display: grid; gap: 1.3rem; }
.give-online, .give-commit { padding: clamp(1.5rem, 4vw, 2rem); }
.give-online h3, .give-commit h3 { margin: 0 0 .9rem; font-size: 1.5rem; }
.give-online { align-self: start; }
.give-commit p { margin-top: 0; }
.form-note { color: var(--muted); font-size: .85rem; font-style: italic; }
.form-progress { margin-bottom: 1rem; }
.step-label { margin: 0 0 .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.form-progress-track { height: 5px; background: var(--card-border); border-radius: 999px; overflow: hidden; }
.form-progress-fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width .4s cubic-bezier(.2,.7,.2,1); }
.form-actions { display: flex; gap: .7rem; justify-content: flex-end; margin-top: 1.1rem; }
.commit-form fieldset { border: 1px solid var(--card-border); border-radius: var(--radius-sm); margin: 0 0 1.1rem; padding: 1rem 1.1rem 1.2rem; }
.commit-form legend {
  padding: 0 .5em; font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 125%;
  color: var(--accent-text); font-size: .92rem; text-transform: uppercase; letter-spacing: .03em;
}
.field { margin-bottom: .85rem; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: .32rem; }
.field input { width: 100%; padding: .7em .85em; border-radius: 8px; background: #0e1116; border: 1px solid var(--card-border); color: var(--text); font: inherit; font-size: .95rem; }
.field input:disabled { opacity: .7; }
.field-row { display: grid; grid-template-columns: 1fr 72px 92px; gap: .7rem; }

@media (min-width: 840px) { .give-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }

/* ===========================================================================
   11. Short Term Missions
   =========================================================================== */
.stm-inner .lead, .stm-inner .placeholder { max-width: 62ch; }
.stm-copy { max-width: 62ch; }
.stm-copy p + p { margin-top: 1rem; }
.stm-inner .btn { margin-top: 1.4rem; }

/* ===========================================================================
   Placeholder styling (bracketed copy)
   =========================================================================== */
.placeholder {
  color: var(--gold); font-style: italic; font-size: .92rem;
  background: rgba(217,178,90,.08); border: 1px dashed rgba(217,178,90,.5);
  border-radius: 8px; padding: .55em .85em; display: inline-block;
}
.day-loc.placeholder { font-size: .8rem; }

/* ===========================================================================
   12. Closing band
   =========================================================================== */
.closing {
  position: relative; isolation: isolate; text-align: center; padding: clamp(3.5rem, 10vw, 7rem) 0;
  background-image: url("assets/hero-background-1000.jpg"); background-size: cover; background-position: center;
}
.closing-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,19,23,.82), rgba(16,19,23,.94)); }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing-lockup { width: min(78%, 460px); margin-bottom: 1.3rem; filter: drop-shadow(0 10px 30px rgba(0,0,0,.5)); }
@media (min-width: 1201px) { .closing { background-image: url("assets/hero-background.jpg"); } }

/* ===========================================================================
   Modal / lightbox
   =========================================================================== */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: clamp(.8rem, 3vw, 2rem); }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6,8,11,.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .2s ease; }
.modal-dialog {
  position: relative; z-index: 1; width: min(880px, 100%); max-height: 90svh; overflow: auto;
  background: var(--card); border: 1px solid var(--card-border-hi); border-radius: var(--radius);
  display: grid; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); animation: pop .22s ease;
}
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(10,12,15,.6); border: 1px solid var(--card-border-hi); color: #fff; font-size: 1.6rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
}
.modal-close:hover { background: var(--accent); }
.modal-media { background: #0e1116; }
.modal-media img { width: 100%; max-height: 46svh; object-fit: cover; }
.modal-media .tile { aspect-ratio: 16/9; }
.modal-content { padding: clamp(1.4rem, 4vw, 2rem); }
.modal-content h3 { margin: 0 0 .8rem; font-size: clamp(1.4rem, 4vw, 2rem); }
.modal-content p { margin: 0 0 1rem; }
.modal-content .placeholder { margin-top: .3rem; }
body.modal-open { overflow: hidden; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* ===========================================================================
   Scroll reveal (added by JS; absent = fully visible)
   =========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
