/* ==========================================================================
   RCCG Living Hope Derby — site styles
   ========================================================================== */

:root {
  --navy-950: #070f26;
  --navy-900: #0d1b3e;
  --navy-800: #142755;
  --navy-700: #1d3470;
  --indigo: #3b3a9e;
  --green: #2a9d55;
  --green-600: #218447;
  --green-50: #e9f6ee;
  --gold: #f2b544;
  --gold-600: #d99a22;
  --cream: #fbf8f2;
  --sand: #f3ede2;
  --ink: #111831;
  --body: #3d4561;
  --muted: #6b7390;
  --line: #e7e1d5;
  --white: #fff;
  --red: #d9363e;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 62, .06), 0 2px 8px rgba(13, 27, 62, .05);
  --shadow: 0 2px 6px rgba(13, 27, 62, .05), 0 18px 40px -18px rgba(13, 27, 62, .25);
  --shadow-lg: 0 30px 70px -25px rgba(7, 15, 38, .45);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-600); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--navy-900); }

.container { width: 100%; max-width: var(--container); 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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.6em; height: 1.6em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy-900); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.45em; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: .98rem; line-height: 1.1;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(13, 27, 62, .5); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { --bg: var(--green); }
.btn--primary:hover { --bg: var(--green-600); }
.btn--gold { --bg: var(--gold); --fg: var(--navy-900); }
.btn--gold:hover { --bg: #f6c463; }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--outline { --bg: transparent; --fg: var(--navy-900); border-color: var(--navy-900); }
.btn--outline:hover { --bg: var(--navy-900); --fg: #fff; }
.btn--sm { padding: .65em 1.15em; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--live { --bg: rgba(217, 54, 62, .1); --fg: var(--red); padding: .6em 1em; font-size: .9rem; }
.btn--live:hover { --bg: var(--red); --fg: #fff; box-shadow: none; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 54, 62, .55); } 70% { box-shadow: 0 0 0 8px rgba(217, 54, 62, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 54, 62, 0); } }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--green-600); text-decoration: none; font-size: .95rem; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--navy-900); }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--green-600); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--gold); }

.chip { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); background: var(--green-50); padding: .35em .8em; border-radius: 999px; margin: 0 0 .7rem; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--navy-950); color: #dfe5f7; font-size: .88rem; position: relative; z-index: 51; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: .35rem .6rem; padding-block: .6rem; text-align: center; flex-wrap: wrap; }
.announce .icon { color: var(--gold); }
.announce__link { color: var(--gold); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .3em; }
.announce__link:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 242, .9); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13, 27, 62, .4); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy-900); flex: none; }
.brand__mark { width: 46px; height: 46px; filter: drop-shadow(0 3px 8px rgba(13, 27, 62, .2)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.42rem; letter-spacing: -.01em; color: var(--navy-900); transition: color .3s; }
.brand__sub { font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--green-600); margin-top: .35rem; }
.brand__logo { display: block; height: 52px; width: auto; }
.brand__logo--light { display: none; }
.footer-brand .brand__logo { height: 64px; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: var(--gold); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: .25rem; }
.nav__link { display: block; padding: .55rem .9rem; border-radius: 999px; color: var(--navy-900); font-weight: 600; font-size: .97rem; text-decoration: none; transition: background-color .2s, color .2s; }
.nav__link:hover { background: rgba(13, 27, 62, .06); color: var(--navy-900); }
.nav__link.is-active { background: var(--navy-900); color: #fff; }
.nav__link.is-active:hover { color: #fff; background: var(--navy-800); }
.nav__cta-mobile { display: none; }
.site-header__actions { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy-900); align-items: center; justify-content: center; }
.nav-toggle .icon--close { display: none; }
.nav-open .nav-toggle .icon--close { display: block; }
.nav-open .nav-toggle .icon--open { display: none; }

/* Transparent header over the home hero */
.home .site-header { position: fixed; left: 0; right: 0; top: var(--announce-h, 0px); }
.home .site-header.is-scrolled { top: 0; }
.home .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home .site-header:not(.is-scrolled) .brand__name,
.home .site-header:not(.is-scrolled) .nav__link { color: #fff; }
.home .site-header:not(.is-scrolled) .brand__sub { color: var(--gold); }
.home .site-header:not(.is-scrolled) .brand__logo--dark,
.nav-open .site-header .brand__logo--dark { display: none; }
.home .site-header:not(.is-scrolled) .brand__logo--light,
.nav-open .site-header .brand__logo--light { display: block; }
.home .site-header:not(.is-scrolled) .nav__link:hover { background: rgba(255, 255, 255, .14); }
.home .site-header:not(.is-scrolled) .nav__link.is-active { background: rgba(255, 255, 255, .95); color: var(--navy-900); }
.home .site-header:not(.is-scrolled) .btn--live { --bg: rgba(255, 255, 255, .14); --fg: #fff; }
.home .site-header:not(.is-scrolled) .nav-toggle { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; }

@media (max-width: 1080px) {
  .hide-sm { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    background: var(--navy-900); padding: calc(var(--header-h) + 28px) var(--gutter) 32px;
    display: flex; flex-direction: column; justify-content: space-between;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    overflow-y: auto;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: .2rem; }
  .nav__link, .home .site-header:not(.is-scrolled) .nav__link { color: #fff; font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; padding: .4rem 0; border-radius: 0; background: none !important; }
  .nav__link.is-active, .home .site-header:not(.is-scrolled) .nav__link.is-active { color: var(--gold); }
  .nav__cta-mobile { display: grid; gap: 1.25rem; margin-top: 2rem; }
  .nav__social { display: flex; gap: .75rem; }
  .nav__social a { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; }
  body.nav-open { overflow: hidden; }
  .nav-open .site-header { background: var(--navy-900) !important; top: 0 !important; }
  .nav-open .site-header .brand__name { color: #fff; }
  .nav-open .site-header .brand__sub { color: var(--gold); }
  .nav-open .site-header .btn--live { --bg: rgba(255, 255, 255, .14); --fg: #fff; }
  .nav-open .nav-toggle { background: rgba(255, 255, 255, .14); border-color: transparent; color: #fff; }
}
@media (max-width: 420px) {
  .brand__mark { width: 40px; height: 40px; }
  .brand__logo { height: 40px; }
  .brand__name { font-size: 1.2rem; }
  .brand__sub { letter-spacing: .14em; }
  .btn--live { padding: .55em .8em; }
  .site-header__inner { gap: .75rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--sand { background: var(--sand); }
.section--white { background: #fff; }
.section--navy { background: var(--navy-900); color: #c9d2ec; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem 2rem; margin-bottom: clamp(32px, 4vw, 52px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 20ch; text-wrap: balance; }
.section-head p { max-width: 46ch; margin: .75rem 0 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; background: var(--navy-950); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(7, 15, 38, .78) 0%, rgba(7, 15, 38, .3) 32%, rgba(7, 15, 38, .6) 62%, rgba(7, 15, 38, .97) 100%),
  radial-gradient(80% 60% at 12% 88%, rgba(42, 157, 85, .38), transparent 70%); }
.hero__content { padding-top: calc(var(--header-h) + 140px); padding-bottom: 170px; max-width: 920px; }
.hero__title { color: #fff; margin-bottom: 1.25rem; font-weight: 600; text-wrap: balance; }
.hero__title em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero__text { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: rgba(255, 255, 255, .9); max-width: 56ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.service-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.service-strip__inner { display: flex; align-items: center; gap: 1rem clamp(1rem, 3vw, 2.5rem); background: #fff; color: var(--navy-900); border-radius: var(--radius) var(--radius) 0 0; padding: 1.25rem clamp(1.25rem, 3vw, 2rem); box-shadow: 0 -10px 40px -20px rgba(0, 0, 0, .4); flex-wrap: wrap; }
.service-strip__item { display: flex; align-items: center; gap: .8rem; }
.service-strip__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; flex: none; }
.service-strip__label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.service-strip__value { display: block; font-weight: 700; line-height: 1.3; }
.service-strip .link-arrow { margin-left: auto; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
@media (max-width: 760px) {
  .hero__content { padding-bottom: 290px; padding-top: calc(var(--header-h) + 100px); }
  .service-strip__inner { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .service-strip .link-arrow { margin-left: 0; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy-900); isolation: isolate; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 15, 38, .95) 0%, rgba(13, 27, 62, .8) 45%, rgba(13, 27, 62, .4) 100%); }
.page-hero__inner { padding-block: clamp(72px, 10vw, 140px) clamp(56px, 7vw, 96px); max-width: 780px; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); text-wrap: balance; }
.page-hero p { color: rgba(255, 255, 255, .86); font-size: 1.15rem; max-width: 56ch; margin: 0; }
.breadcrumb { display: flex; gap: .5rem; font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: 1.25rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Welcome ---------- */
.welcome { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.welcome__title { font-size: clamp(2.1rem, 4.4vw, 3.5rem); max-width: 15ch; }
.welcome__title em { color: var(--green); font-style: italic; }
.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage__img { position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.collage__img img { width: 100%; height: 100%; object-fit: cover; }
.collage__img--a { inset: 0 18% 22% 0; }
.collage__img--b { width: 50%; aspect-ratio: 4 / 5; right: 0; bottom: 0; border: 6px solid var(--cream); }
.collage__badge { position: absolute; left: 5%; bottom: 3%; background: var(--navy-900); color: #fff; border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow); display: flex; gap: .85rem; align-items: center; max-width: 250px; }
.collage__badge strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--gold); }
.collage__badge span { font-size: .85rem; line-height: 1.35; }

.quick-links { display: grid; gap: .85rem; margin-top: 2rem; }
.quick-link { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.quick-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.quick-link__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); flex: none; }
.quick-link:nth-child(2) .quick-link__icon { background: #fff4de; color: var(--gold-600); }
.quick-link:nth-child(3) .quick-link__icon { background: #eceefe; color: var(--indigo); }
.quick-link__text strong { display: block; font-size: 1.05rem; }
.quick-link__text span { font-size: .92rem; color: var(--muted); }
.quick-link > .icon { margin-left: auto; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.quick-link:hover > .icon { transform: translateX(4px); color: var(--green-600); }

@media (max-width: 900px) {
  .welcome { grid-template-columns: 1fr; }
  .collage { max-width: 560px; width: 100%; }
}

/* ---------- Events ---------- */
.events-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.event-spotlight { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); color: #fff; min-height: 540px; display: flex; align-items: flex-end; isolation: isolate; box-shadow: var(--shadow-lg); text-decoration: none; }
.event-spotlight:hover { color: #fff; }
.event-spotlight__bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 90% at 85% 10%, rgba(242, 181, 68, .35), transparent 55%), radial-gradient(100% 80% at 0% 100%, rgba(42, 157, 85, .45), transparent 60%), linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.event-spotlight__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.event-spotlight:hover .event-spotlight__bg img { transform: scale(1.04); }
.event-spotlight::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 15, 38, 0) 15%, rgba(7, 15, 38, .94) 82%); }
.event-spotlight__fallback { opacity: .35; filter: saturate(.6); }
.event-spotlight__mark { position: absolute; top: 32px; right: 32px; width: 92px; height: 92px; opacity: .9; }
.event-spotlight__body { padding: clamp(24px, 3.5vw, 40px); width: 100%; }
.event-spotlight h3 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: .6rem; }
.event-spotlight p { color: rgba(255, 255, 255, .86); max-width: 48ch; }
.event-spotlight .chip { background: var(--gold); color: var(--navy-900); }
.event-spotlight__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0 0 1.25rem; font-weight: 600; font-size: .95rem; }
.event-spotlight__meta li { display: flex; align-items: center; gap: .45rem; }
.event-spotlight__meta .icon { color: var(--gold); }

.countdown { display: flex; gap: .6rem; margin: 0 0 1.5rem; }
.countdown__unit { min-width: 64px; text-align: center; padding: .55rem .4rem; border-radius: 12px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .15); }
.countdown__num { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; }
.countdown__label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }

.event-list { display: grid; gap: 1rem; align-content: start; }
.event-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 1.1rem; align-items: center; padding: 1rem 1.15rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.event-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.event-row__thumb { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--navy-900); position: relative; }
.event-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.event-row__date { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; background: linear-gradient(140deg, var(--navy-700), var(--navy-900)); }
.event-row__date strong { font-family: var(--font-display); font-size: 1.8rem; line-height: 1; }
.event-row__date span { font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; color: var(--gold); font-weight: 800; }
.event-row h3 { font-size: 1.15rem; margin: 0 0 .3rem; }
.event-row__meta { font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .25rem .9rem; }
.event-row__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.event-row > .icon { color: var(--muted); }
.event-row:hover > .icon { color: var(--green-600); }
.events-empty { padding: 2.25rem; border-radius: var(--radius); background: #fff; border: 1px dashed var(--line); text-align: center; }

@media (max-width: 900px) {
  .events-feature { grid-template-columns: 1fr; }
  .event-spotlight { min-height: 460px; }
}
@media (max-width: 480px) {
  .event-row { grid-template-columns: 64px 1fr; }
  .event-row__thumb { width: 64px; height: 64px; }
  .event-row > .icon { display: none; }
  .countdown__unit { min-width: 54px; }
  .event-spotlight__fallback { opacity: .35; filter: saturate(.6); }
.event-spotlight__mark { width: 64px; height: 64px; top: 20px; right: 20px; }
}

/* Event cards (grid) */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.event-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.event-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-900); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.event-card:hover .event-card__media img { transform: scale(1.04); }
.event-card__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 2rem; text-align: center; color: #fff; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15;
  background: radial-gradient(120% 90% at 85% 10%, rgba(242, 181, 68, .35), transparent 55%), radial-gradient(100% 80% at 0% 100%, rgba(42, 157, 85, .5), transparent 60%), linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.event-card__placeholder-mark { width: 64px; height: 64px; }
.date-badge { position: absolute; top: 14px; left: 14px; background: #fff; border-radius: 14px; padding: .45rem .7rem; text-align: center; box-shadow: var(--shadow-sm); line-height: 1; min-width: 54px; }
.date-badge__day { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: var(--navy-900); }
.date-badge__month { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); margin-top: .2rem; }
.event-card__body { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.event-card__title { font-size: 1.3rem; margin-bottom: .6rem; }
.event-card__title a { color: inherit; text-decoration: none; }
.event-card__title a:hover { color: var(--green-600); }
.event-card__meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .88rem; color: var(--muted); margin-bottom: .75rem; }
.event-card__meta li { display: inline-flex; align-items: center; gap: .35rem; }
.event-card__summary { font-size: .95rem; margin-bottom: 1rem; }
.event-card .link-arrow { margin-top: auto; }

/* Events page tabs */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.tabs { display: inline-flex; gap: .25rem; padding: .3rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.tabs a { padding: .6rem 1.2rem; border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--navy-900); font-size: .95rem; }
.tabs a.is-active { background: var(--navy-900); color: #fff; }
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--navy-900); }
.pagination .is-current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* Event detail */
.event-detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.event-detail__poster { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-900); margin-bottom: 2rem; cursor: zoom-in; }
.event-detail__poster img { width: 100%; }
.event-detail__content { font-size: 1.08rem; }
.event-detail__content > p:first-child { font-size: 1.22rem; color: var(--ink); }
.info-card { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.info-card h2 { font-size: 1.4rem; }
.info-list { display: grid; gap: 1.1rem; margin: 1.25rem 0 1.75rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.icon-box { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); flex: none; }
.info-list strong { display: block; color: var(--ink); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.info-card .btn { width: 100%; margin-top: .6rem; }
.past-note { display: flex; gap: .6rem; align-items: center; padding: .85rem 1rem; border-radius: 12px; background: #fff4de; color: #7a5410; font-weight: 600; font-size: .92rem; margin-bottom: 1.25rem; }
@media (max-width: 900px) { .event-detail { grid-template-columns: 1fr; } .info-card { position: static; } }

/* ---------- Watch / YouTube ---------- */
.watch { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; box-shadow: var(--shadow-lg); }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .45)); pointer-events: none; }
.yt:hover img { transform: scale(1.03); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.is-playing::after { display: none; }
.yt__play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(217, 54, 62, .25); transition: transform .2s var(--ease), box-shadow .2s; }
.yt__play .icon { width: 30px; height: 30px; margin-left: 4px; }
.yt:hover .yt__play { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 14px rgba(217, 54, 62, .22); }
.yt--sm { box-shadow: none; border-radius: 12px; }
.yt--sm .yt__play { width: 54px; height: 54px; box-shadow: 0 0 0 6px rgba(217, 54, 62, .25); }
.yt--sm .yt__play .icon { width: 20px; height: 20px; }
.yt__fallback { position: absolute; inset: auto 0 0 0; padding: 1rem; color: #fff; z-index: 3; }
.watch__featured h3 { margin: 1.2rem 0 .3rem; font-size: 1.5rem; }
.watch__featured time { font-size: .9rem; color: var(--muted); }
.section--navy .watch__featured time { color: #8f9bc4; }
.video-list { display: grid; gap: .6rem; }
.video-list__title { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 .6rem .55rem; }
.video-item { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; align-items: center; padding: .55rem; border-radius: 16px; text-decoration: none; color: inherit; transition: background-color .2s; }
.video-item:hover { background: rgba(255, 255, 255, .07); color: inherit; }
.section:not(.section--navy) .video-item:hover { background: #fff; }
.video-item__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.video-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-item__thumb .icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; color: #fff; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.video-item h4 { font-family: var(--font-body); font-size: .97rem; font-weight: 700; line-height: 1.35; margin: 0 0 .25rem; color: var(--ink); }
.section--navy .video-item h4 { color: #fff; }
.video-item time { font-size: .82rem; color: var(--muted); }
.section--navy .video-item time { color: #8f9bc4; }
.watch__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 2rem 1.6rem; }
.video-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: .9rem 0 .2rem; line-height: 1.35; }
.video-card time { font-size: .85rem; color: var(--muted); }
.live-panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.live-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.live-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--red); color: #fff; font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1rem; }
@media (max-width: 900px) {
  .watch, .live-panel { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .video-item { grid-template-columns: 116px 1fr; gap: .75rem; } }

/* ---------- Ministries ---------- */
.ministry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.ministry-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; isolation: isolate; background: var(--navy-800); }
.ministry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.ministry-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 15, 38, 0) 25%, rgba(7, 15, 38, .93) 100%); }
.ministry-card:hover img { transform: scale(1.06); }
.ministry-card:hover { color: #fff; }
.ministry-card__body { padding: 1.5rem; }
.ministry-card__tag { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ministry-card h3 { color: #fff; font-size: 1.5rem; margin: .35rem 0 .45rem; }
.ministry-card p { font-size: .93rem; color: rgba(255, 255, 255, .84); margin: 0 0 .9rem; }
.ministry-card .link-arrow { color: #fff; }
.ministry-card--wide { grid-column: 1 / -1; min-height: 340px; align-items: center; }
.ministry-card--wide .ministry-card__body { max-width: 620px; padding: clamp(1.5rem, 4vw, 3rem); }
.ministry-card--wide::before { background: linear-gradient(90deg, rgba(7, 15, 38, .95) 0%, rgba(7, 15, 38, .6) 55%, rgba(7, 15, 38, .1) 100%); }
.ministry-card--wide h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
@media (max-width: 1024px) { .ministry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ministry-grid { grid-template-columns: 1fr; } .ministry-card { min-height: 360px; } }

.ministry-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.ministry-detail:last-child { border-bottom: 0; }
.ministry-detail:nth-child(even) .ministry-detail__media { order: 2; }
.ministry-detail__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.ministry-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.ministry-detail h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.ticks { display: grid; gap: .55rem; margin: 1.25rem 0 1.5rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks .icon { color: var(--green); margin-top: .25em; }
@media (max-width: 820px) { .ministry-detail { grid-template-columns: 1fr; } .ministry-detail:nth-child(even) .ministry-detail__media { order: 0; } }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.value { background: #fff; border-radius: var(--radius); padding: 2rem 1.75rem; border: 1px solid var(--line); }
.value__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold); margin-bottom: 1.25rem; }
.value__icon .icon { width: 26px; height: 26px; }
.value h3 { font-size: 1.35rem; }
.value p { margin: 0; font-size: .98rem; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

.quote-band { position: relative; text-align: center; padding-block: clamp(80px, 11vw, 140px); background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.quote-band__bg { position: absolute; inset: 0; z-index: -2; }
.quote-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.quote-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(13, 27, 62, .55), rgba(7, 15, 38, .95)); }
.quote-band blockquote { margin: 0 auto; max-width: 900px; font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.25; font-weight: 500; color: #fff; text-wrap: balance; }
.quote-band blockquote::before { content: "\201C"; display: block; font-size: 5rem; line-height: .6; color: var(--gold); margin-bottom: .25em; }
.quote-band cite { display: block; margin-top: 1.5rem; font-style: normal; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; color: var(--gold); }
.quote-band .btn { margin-top: 2.25rem; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--wide { aspect-ratio: 16 / 11; }
.split--reverse .split__media { order: 2; }
.pastor-frame { position: relative; z-index: 0; max-width: 440px; padding: 14px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); outline: 2px solid var(--gold); outline-offset: -8px; }
.pastor-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 2px solid var(--gold); border-radius: 20px; transform: translate(18px, 18px); }
.pastor-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; border-radius: 10px; display: block; }
@media (max-width: 860px) { .pastor-frame { margin: 0 auto 18px; max-width: 360px; } }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

.timeline { position: relative; display: grid; gap: 2rem; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--green), var(--gold)); border-radius: 2px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -2.2rem; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--green); }
.timeline time { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); }
.timeline h3 { font-size: 1.3rem; margin: .25rem 0 .35rem; }
.timeline p { margin: 0; }

.beliefs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; }
.beliefs li { padding: 1.35rem 0; border-top: 1px solid var(--line); }
.beliefs h3 { font-size: 1.18rem; margin-bottom: .35rem; }
.beliefs p { margin: 0; font-size: .98rem; }
@media (max-width: 720px) { .beliefs { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.stat { padding: 1.25rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--navy-900); line-height: 1.1; }
.stat span { font-size: .88rem; color: var(--muted); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 12px; }
.gallery a { position: relative; border-radius: 14px; overflow: hidden; display: block; background: var(--navy-900); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.gallery a:hover img { transform: scale(1.05); opacity: .88; }
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(n+7) { display: none; }
@media (min-width: 861px) { .gallery a:nth-child(n+7) { display: block; } }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 130px; } }
@media (max-width: 480px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; } .gallery a:nth-child(n+6) { display: none; } }

.social-cta { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.social-cta p { margin: 0; font-weight: 600; color: var(--ink); }
.social-pills { display: flex; gap: .6rem; flex-wrap: wrap; }
.social-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy-900); font-weight: 700; font-size: .92rem; transition: transform .2s var(--ease), box-shadow .2s; }
.social-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--navy-900); }
.social-pill--yt .icon { color: #e62117; }
.social-pill--fb .icon { color: #1877f2; }
.social-pill--ig .icon { color: #c13584; }

/* ---------- Visit / map ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.25fr; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.visit__info { padding: clamp(26px, 4vw, 48px); }
.visit__info h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.visit__map { min-height: 440px; background: var(--sand); }
.visit__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; }
.visit__building { border-radius: var(--radius); overflow: hidden; margin-top: 1.5rem; aspect-ratio: 16 / 7; }
.visit__building img { width: 100%; height: 100%; object-fit: cover; }
.visit__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .visit__map, .visit__map iframe { min-height: 320px; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(42, 157, 85, .15); }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--green); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: 12px; font-weight: 600; margin-bottom: 1.25rem; display: flex; gap: .6rem; align-items: flex-start; }
.alert--success { background: var(--green-50); color: #17603a; }
.alert--error { background: #fdecec; color: #9d1f26; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-methods { display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
.contact-method { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.contact-method:hover { color: var(--ink); border-color: var(--green); }
.contact-method small { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--muted); }
.contact-method strong { font-weight: 700; word-break: break-word; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.give-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2rem; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #c9d2ec; }
.give-card h2 { color: #fff; margin: 0 0 .35rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.give-card p { margin: 0; max-width: 60ch; }
.give-card__icon { width: 72px; height: 72px; border-radius: 20px; background: rgba(242, 181, 68, .15); color: var(--gold); display: grid; place-items: center; }
.give-card__icon .icon { width: 34px; height: 34px; }
@media (max-width: 760px) { .give-card { grid-template-columns: 1fr; } .give-card .btn { justify-self: start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #aab4d4; padding-top: clamp(56px, 7vw, 88px); font-size: .97rem; }
.site-footer a { color: #dfe5f7; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-cta { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 1.5rem 2.5rem; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: linear-gradient(115deg, var(--navy-800), var(--navy-700)); margin-bottom: clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.footer-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 181, 68, .25), transparent 70%); pointer-events: none; }
.footer-cta__title { color: #fff; margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.footer-cta .eyebrow { margin-bottom: .5rem; }
.footer-cta__meta { display: grid; gap: .5rem; color: #dfe5f7; font-weight: 600; }
.footer-cta__meta span { display: flex; align-items: center; gap: .55rem; }
.footer-cta__meta .icon { color: var(--gold); }
.site-footer .footer-cta .btn:hover { color: var(--navy-900); }
@media (max-width: 900px) { .footer-cta { grid-template-columns: 1fr; } .footer-cta .btn { justify-self: start; } }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.15fr .8fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { margin: 1.1rem 0 0; max-width: 36ch; }
.footer-verse { font-family: var(--font-display); font-style: italic; color: #dfe5f7; font-size: 1.05rem; }
.footer-verse span { font-family: var(--font-body); font-style: normal; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.footer-title { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-list { display: grid; gap: .85rem; }
.footer-list li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-list li > a, .footer-list li > span { min-width: 0; overflow-wrap: anywhere; }
.footer-list .icon { color: var(--gold); margin-top: .2em; }
.footer-links { display: grid; gap: .55rem; }
.social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s, transform .2s; }
.social a:hover { background: var(--gold); color: var(--navy-900); transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.7rem; margin-top: 2rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s !important; }
.reveal-delay-2 { transition-delay: .2s !important; }
.reveal-delay-3 { transition-delay: .3s !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(7, 15, 38, .94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 90vh; max-width: min(1100px, 100%); width: auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; }

/* ---------- Kids & Teens ---------- */
.kt-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff7e6 0%, var(--cream) 100%); padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px); }
.kt-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(42, 157, 85, .16), transparent 70%); }
.kt-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.kt-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); text-wrap: balance; }
.kt-hero h1 em { font-style: italic; color: var(--gold-600); }
.kt-verse { margin: 1.75rem 0 0; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--ink); }
.kt-verse span { font-family: var(--font-body); font-style: normal; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); margin-left: .4rem; }
.breadcrumb--dark { color: var(--muted); }
.breadcrumb--dark a { color: var(--navy-700); }
.kt-hero__art { position: relative; aspect-ratio: 1 / .95; }
.kt-blob { position: absolute; border-radius: 42% 58% 63% 37% / 43% 38% 62% 57%; }
.kt-blob--1 { inset: 4% 8% 10% 2%; background: var(--gold); opacity: .9; transform: rotate(-6deg); }
.kt-blob--2 { width: 34%; aspect-ratio: 1; right: 0; bottom: 0; background: var(--green); opacity: .85; }
.kt-photo { position: absolute; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-lg); border: 6px solid #fff; background: #fff; }
.kt-photo img { width: 100%; height: 100%; object-fit: cover; }
.kt-photo--main { inset: 9% 14% 20% 6%; transform: rotate(-2deg); }
.kt-photo--small { width: 38%; aspect-ratio: 4 / 5; right: 3%; bottom: 2%; transform: rotate(4deg); }
.kt-sticker { position: absolute; padding: .55rem 1rem; border-radius: 999px; font-weight: 800; font-size: .9rem; box-shadow: var(--shadow); background: #fff; color: var(--navy-900); }
.kt-sticker--a { left: 0; bottom: 14%; transform: rotate(-5deg); }
.kt-sticker--b { right: 6%; top: 2%; background: var(--navy-900); color: #fff; transform: rotate(4deg); }
@media (max-width: 900px) { .kt-hero__grid { grid-template-columns: 1fr; } .kt-hero__art { max-width: 520px; width: 100%; } }

.age-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 32px); }
.age-card { border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); position: relative; overflow: hidden; }
.age-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -70px; bottom: -90px; background: rgba(255, 255, 255, .18); }
.age-card--kids { background: linear-gradient(140deg, #ffd46e, var(--gold)); color: #4a3300; }
.age-card--teens { background: linear-gradient(140deg, var(--navy-700), var(--navy-900)); color: #c9d2ec; }
.age-card h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 1.1rem 0 .6rem; }
.age-card--kids h3 { color: var(--navy-900); }
.age-card--teens h3 { color: #fff; }
.age-card__top { display: flex; justify-content: space-between; align-items: center; }
.age-card__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .5); color: var(--navy-900); }
.age-card--teens .age-card__icon { background: rgba(255, 255, 255, .1); color: var(--gold); }
.age-card__icon .icon { width: 28px; height: 28px; }
.age-card__age { font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding: .4rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .55); color: var(--navy-900); }
.age-card--teens .age-card__age { background: var(--gold); }
.age-card--kids .ticks .icon { color: var(--navy-900); }
.age-card--teens .ticks .icon { color: var(--gold); }
.age-card .ticks { margin-bottom: 0; position: relative; z-index: 1; }
@media (max-width: 760px) { .age-grid { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px); counter-reset: none; }
.steps li { background: #fff; border-radius: var(--radius); padding: 1.6rem 1.4rem; border: 1px solid var(--line); }
.steps li > span { width: 46px; height: 46px; border-radius: 14px; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin-bottom: 1rem; }
.steps li:nth-child(2) > span { background: var(--gold); color: var(--navy-900); }
.steps li:nth-child(3) > span { background: var(--indigo); }
.steps li:nth-child(4) > span { background: var(--navy-900); }
.steps h3 { font-size: 1.25rem; }
.steps p { margin: 0; font-size: .97rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Home: kids & teens feature band */
.kids-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(120deg, #ffd46e 0%, var(--gold) 55%, #f0a52b 100%); display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; box-shadow: var(--shadow-lg); }
.kids-band__text { padding: clamp(28px, 5vw, 64px); color: #4a3300; position: relative; z-index: 1; }
.kids-band__text h2 { color: var(--navy-900); font-size: clamp(2rem, 4vw, 3.2rem); }
.kids-band__text .eyebrow { color: var(--navy-900); }
.kids-band__text p { max-width: 50ch; font-size: 1.08rem; }
.kids-band__pills { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 1.75rem; }
.kids-band__pills span { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; background: rgba(255, 255, 255, .55); font-weight: 700; color: var(--navy-900); font-size: .92rem; }
.kids-band__media { position: relative; min-height: 360px; }
.kids-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kids-band__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #f6b73f 0%, rgba(246, 183, 63, 0) 35%); }
@media (max-width: 860px) { .kids-band { grid-template-columns: 1fr; } .kids-band__media { min-height: 280px; order: -1; } .kids-band__media::before { background: linear-gradient(0deg, #f6b73f 0%, rgba(246, 183, 63, 0) 40%); } }

/* Local development only: floating "switch user" button */
.dev-switch { position: fixed; left: 12px; bottom: 12px; z-index: 999; background: #9d1f26; color: #fff; font-size: .8rem; font-weight: 800; padding: .45rem .8rem; border-radius: 999px; text-decoration: none; box-shadow: var(--shadow); }
.dev-switch:hover { color: #fff; filter: brightness(1.1); }

/* ---------- Fundraising pledge page (/give/...) ---------- */
.page-hero--appeal .page-hero__inner { padding-block: clamp(56px, 8vw, 110px) clamp(44px, 6vw, 80px); }
.appeal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .appeal-grid { grid-template-columns: 1fr; } }
.appeal-progress { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-sm); margin-bottom: 1.75rem; }
.appeal-progress__big { margin: 0; font-size: 1.05rem; color: var(--body); }
.appeal-progress__big strong { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.6rem); color: var(--navy-900); line-height: 1.1; margin-right: .2rem; }
.appeal-progress__big span { white-space: nowrap; }
.meter { --h: 14px; position: relative; height: var(--h); background: var(--sand); border-radius: 999px; overflow: hidden; margin: 1rem 0; }
.meter span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; max-width: 100%; }
.meter__received { background: linear-gradient(90deg, var(--green), #5cc58a); }
.meter__pledged { background: #cfd7ee; }
.meter__pending { background: repeating-linear-gradient(45deg, #f5c96e 0 6px, #f9dc9f 6px 12px); }
.meter--sm { --h: 10px; margin: .8rem 0 .4rem; }
.appeal-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .95rem; }
.appeal-facts strong { color: var(--navy-900); }
.appeal-desc { margin-bottom: 1.75rem; }
.appeal-how { background: var(--sand); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.appeal-how h3 { font-size: 1.3rem; }
.appeal-how ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; }
.appeal-side { display: grid; gap: 1.25rem; min-width: 0; }
.appeal-side > .alert { margin: 0; }
.appeal-card { padding: clamp(22px, 3.5vw, 36px); }
.appeal-card h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.appeal-card .eyebrow { margin-bottom: .5rem; }
.appeal-card--find { background: var(--cream); box-shadow: none; }
.appeal-card--find h2 { font-size: 1.35rem; }
.appeal-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.appeal-card__head form { margin: 0; }
.appeal-card__sub { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; margin: 1.75rem 0 .9rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.appeal-card__foot { margin: 1.25rem 0 0; }
.linkish { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; font-size: .9rem; color: var(--navy-800); text-decoration: underline; cursor: pointer; }
.my-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1rem; }
.my-stats div { background: var(--cream); border-radius: 12px; padding: .7rem .85rem; display: grid; min-width: 0; }
.my-stats small { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--muted); }
.my-stats strong { font-size: clamp(1.05rem, 2.6vw, 1.35rem); color: var(--navy-900); overflow-wrap: anywhere; }
.my-stats .is-green { color: var(--green-600); }
.ref-box { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.25rem; padding: .9rem 1.1rem; border: 2px dashed var(--gold); border-radius: 14px; background: #fffaf0; }
.ref-box small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--muted); }
.ref-box strong { font-size: 1.5rem; letter-spacing: .12em; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.pay-info { margin-top: 1rem; padding: 1rem 1.1rem; background: var(--green-50); border-radius: 14px; }
.pay-info h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; margin-bottom: .4rem; }
.pay-info p { margin: 0 0 .4rem; }
.pay-info p:last-child { margin: 0; }
.appeal-thanks { margin-top: 1rem; padding: 1rem 1.1rem; background: var(--green-50); border-radius: 14px; color: #17603a; font-weight: 600; }
.pay-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.pay-list li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 12px; flex-wrap: wrap; }
.pay-list small { color: var(--muted); margin-left: .3rem; }
.pay-status { font-style: normal; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: .2rem .55rem; border-radius: 6px; white-space: nowrap; }
.pay-status--pending { background: #fff4de; color: #8a5b00; }
.pay-status--confirmed { background: var(--green-50); color: var(--green-600); }
.pay-status--rejected { background: #fdecec; color: #9d1f26; }
.appeal-more { margin-top: 1.25rem; }
.appeal-more summary { cursor: pointer; font-weight: 700; color: var(--navy-800); }
.appeal-more[open] summary { margin-bottom: 1rem; }
.amount-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.amount-chip { font: inherit; font-weight: 800; font-size: 1rem; padding: .65rem 1.1rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy-900); cursor: pointer; transition: border-color .15s, background-color .15s; }
.amount-chip:hover { border-color: var(--green); }
.amount-chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.form-hint { margin: -.5rem 0 0; }
.appeal-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.appeal-cards__title { font-size: clamp(1.5rem, 3vw, 2rem); margin: clamp(36px, 5vw, 56px) 0 1.25rem; }
.appeal-tile-public { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--body); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.appeal-tile-public:hover { color: var(--body); transform: translateY(-3px); box-shadow: var(--shadow); }
.appeal-tile-public__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.appeal-tile-public__media img { width: 100%; height: 100%; object-fit: cover; }
.appeal-tile-public__body { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem 1.35rem 1.4rem; flex: 1; }
.appeal-tile-public__body h3 { font-size: 1.35rem; margin: 0; }
.appeal-tile-public__body p { margin: 0; font-size: .95rem; }
.appeal-tile-public__body .meter { margin: .6rem 0 .1rem; }
.appeal-tile-public__body small { color: var(--muted); font-weight: 600; }
.appeal-tile-public__body .btn { align-self: flex-start; margin-top: auto; }
.appeal-tile-public__body > :nth-last-child(2) { margin-bottom: 1rem; }
.appeal-help { margin: 0; text-align: center; }
@media (max-width: 480px) { .ref-box { flex-wrap: wrap; } .my-stats div { padding: .6rem; } }
