/* Grace Pavilion Church — site styles
   Brand: navy + gold from the Grace Pavilion logo. */

:root {
  --navy-900: #061f47;
  --navy-800: #0a2c62;
  --navy-700: #0b3a80;
  --navy-600: #1a4f9c;
  --navy-100: #e6edf8;
  --navy-50: #f2f6fc;
  --gold-600: #d08d0c;
  --gold-500: #f2aa1f;
  --gold-300: #f8cd73;
  --gold-100: #fdf1d8;
  --cream: #fbf8f2;
  --paper: #ffffff;
  --ink: #13213a;
  --ink-soft: #46546d;
  --line: #e3e0d8;
  --success: #1d7a4c;
  --danger: #b3261e;

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

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(6, 31, 71, .06), 0 1px 1px rgba(6, 31, 71, .04);
  --shadow: 0 10px 30px -12px rgba(6, 31, 71, .22);
  --shadow-lg: 0 30px 60px -25px rgba(6, 31, 71, .35);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[id] { scroll-margin-top: 96px; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-600); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold-500); color: var(--navy-900); padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--tight { padding: clamp(40px, 6vw, 70px) 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy-900); color: #dfe7f5; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--gold { background: var(--gold-100); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section--navy .eyebrow { color: var(--gold-300); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 .98rem/1 var(--font-body);
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 8px 20px -10px rgba(208, 141, 12, .8); }
.btn--gold:hover { background: var(--gold-300); color: var(--navy-900); }
.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-600); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--navy-700); background: transparent; }
.btn--ghost:hover { background: var(--navy-50); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn--sm { padding: 10px 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.text-link::after { content: "→"; transition: transform .15s ease; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Top bar + header ---------- */
.topbar {
  background: var(--navy-900); color: #c9d5ea; font-size: .86rem;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold-300); }
.topbar__next { display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar__next strong { color: var(--gold-300); font-weight: 700; }
.topbar__links { display: flex; gap: 18px; flex: none; }
.topbar__msg { min-width: 0; overflow: hidden; text-overflow: ellipsis; transition: opacity .25s ease, transform .25s ease; }
.topbar__msg.is-out { opacity: 0; transform: translateY(-6px); }
.topbar__msg a { color: #fff; font-weight: 600; }
.topbar__msg a span { color: var(--gold-300); }
.topbar__pause {
  flex: none; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; margin-left: 2px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: none; color: #c9d5ea; cursor: pointer;
}
.topbar__pause:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.topbar__pause svg { width: 11px; height: 11px; fill: currentColor; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Announcement popup: a small card in the corner, never a blocking modal */
.announce {
  position: fixed; left: 18px; bottom: 18px; z-index: 60; width: min(360px, calc(100vw - 36px));
  padding: 22px 22px 18px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold-500);
  border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(6,31,71,.45);
  opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s ease;
}
.announce.is-in { opacity: 1; transform: none; }
.announce__label { font: 700 .72rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }
.announce h2 { font-size: 1.2rem; margin: 6px 28px 8px 0; }
.announce p { margin: 0 0 14px; font-size: .92rem; color: var(--ink-soft); }
.announce__actions { display: flex; align-items: center; gap: 14px; }
.announce__later { border: 0; background: none; padding: 6px 2px; font: 600 .88rem var(--font-body); color: var(--navy-700); cursor: pointer; }
.announce__later:hover { text-decoration: underline; }
.announce__close {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--ink-soft); cursor: pointer;
}
.announce__close:hover { background: var(--navy-50); color: var(--navy-900); }
.announce__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
@media (max-width: 720px) { .announce { left: 12px; right: 12px; width: auto; bottom: 84px; } }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); flex: none; box-shadow: 0 0 0 4px rgba(242,170,31,.2); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  /* Solid, no backdrop-filter: a filter would trap the fixed mobile menu inside the header. */
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; mix-blend-mode: multiply; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav__list a {
  display: block; padding: 10px 12px; border-radius: 10px;
  font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none;
}
.nav__list a:hover { background: var(--navy-50); color: var(--navy-700); }
.nav__list a[aria-current="page"] { color: var(--navy-700); box-shadow: inset 0 -3px 0 var(--gold-500); border-radius: 10px 10px 0 0; }
/* Ministries dropdown: opens on hover, focus or its arrow button; always open in the mobile menu */
.nav__group { position: relative; display: flex; align-items: center; }
.nav__group > a { padding-right: 4px; }
.nav__group:has(.nav__sub [aria-current="page"]) > a { color: var(--navy-700); box-shadow: inset 0 -3px 0 var(--gold-500); border-radius: 10px 10px 0 0; }
.nav__sub-toggle {
  display: grid; place-items: center; width: 26px; height: 32px; padding: 0; border: 0; border-radius: 8px;
  background: none; color: var(--ink-soft); cursor: pointer;
}
.nav__sub-toggle:hover { background: var(--navy-50); color: var(--navy-700); }
.nav__sub-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.nav__sub {
  position: absolute; top: 100%; left: 0; z-index: 65; min-width: 210px; margin: 0; padding: 8px; list-style: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* keeps hover alive across the gap */
.nav__group:hover .nav__sub, .nav__sub-toggle[aria-expanded="true"] + .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__group:hover .nav__sub-toggle svg, .nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__list .nav__sub a { padding: 10px 12px; border-radius: 8px; font-weight: 600; }
.nav__list .nav__sub a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold-500); border-radius: 0 8px 8px 0; background: var(--navy-50); }
.nav__cta { display: flex; gap: 8px; margin-left: 10px; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer;
  color: var(--navy-900); border-radius: 10px;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw);
    flex-direction: column; align-items: stretch; gap: 20px;
    background: var(--paper); padding: 90px 24px 32px; box-shadow: var(--shadow-lg);
    transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s; overflow-y: auto; z-index: 60;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; }
  .nav__list a { padding: 14px 12px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold-500); border-radius: 0; }
  .nav__group { flex-wrap: wrap; }
  .nav__group > a { flex: 1; padding-right: 12px; }
  .nav__group:has(.nav__sub [aria-current="page"]) > a { box-shadow: none; border-radius: 0; }
  .nav__sub-toggle { display: none; }
  .nav__sub { position: static; flex-basis: 100%; min-width: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; }
  .nav__sub::before { display: none; }
  .nav__list .nav__sub a { padding: 12px 12px 12px 30px; font-size: 1rem; font-weight: 500; border-radius: 0; }
  .nav__list .nav__sub a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold-500); border-radius: 0; }
  .nav__cta { flex-direction: column; margin: 0; }
  .nav__cta .btn { width: 100%; padding: 15px 24px; font-size: 1rem; }
  .nav-close { position: absolute; top: 20px; right: 16px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(6,31,71,.45); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
}
@media (min-width: 1081px) { .nav-close, .nav-backdrop { display: none; } }
@media (max-width: 640px) {
  .topbar__links { display: none; }
  .brand img { height: 44px; }
  .site-header .wrap { min-height: 66px; }
}

/* ---------- Hero ---------- */
/* Home hero: one photo, one line of mission, two actions. Details live in "This week" below. */
.hero {
  position: relative; display: grid; align-items: center; min-height: min(84vh, 760px); color: #fff; overflow: hidden;
  background: var(--navy-900) url("../img/worship-center.jpg") center 35% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,31,71,.62) 0%, rgba(6,31,71,.72) 55%, rgba(6,31,71,.94) 100%),
    radial-gradient(ellipse at 50% 42%, rgba(242,170,31,.14), transparent 60%);
}
.hero__inner {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: clamp(72px, 11vw, 132px); padding-bottom: clamp(88px, 12vw, 148px);
}
.hero .eyebrow { color: var(--gold-300); margin-bottom: 22px; }
.hero .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 7.4vw, 5.4rem); line-height: 1.02; letter-spacing: -.01em; margin: 0 0 22px; }
.hero h1 em { font-style: italic; color: var(--gold-300); font-weight: 500; }
.hero__tag { margin: 0; max-width: 34ch; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: #d4def0; }
.hero .btn-row { margin-top: 34px; justify-content: center; }
.hero__more {
  position: absolute; left: 50%; bottom: 22px; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -22px;
  border-radius: 50%; color: #fff; opacity: .75; animation: hero-bob 2.4s ease-in-out infinite;
}
.hero__more:hover { opacity: 1; color: var(--gold-300); }
.hero__more svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes hero-bob { 50% { transform: translateY(5px); } }
@media (max-width: 640px) {
  .hero { min-height: 74svh; }
  .hero h1 { font-size: clamp(2.9rem, 12.5vw, 3.6rem); }
  .hero .eyebrow { font-size: .7rem; letter-spacing: .12em; }
}
.this-week { scroll-margin-top: 80px; }
.this-week .verse { margin-top: 26px; padding-left: 16px; border-left: 3px solid var(--gold-500); font-size: 1.15rem; }

/* Page hero (interior pages) */
.page-hero {
  background: var(--navy-900);
  background-image: radial-gradient(circle at 90% 0%, rgba(242,170,31,.22), transparent 45%), radial-gradient(circle at 0% 100%, rgba(26,79,156,.6), transparent 55%);
  color: #d4def0; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.page-hero .lead { color: #c4d1e8; }
.page-hero .eyebrow { color: var(--gold-300); }
.page-hero .btn-row { margin-top: 26px; }

/* ---------- Next gathering card ---------- */
.next-card {
  background: var(--paper); color: var(--ink); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 28px; position: relative;
}
.next-card__label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-600); display: flex; align-items: center; gap: 10px; }
.next-card__title { font-family: var(--font-display); font-size: 1.7rem; color: var(--navy-900); margin: 10px 0 4px; line-height: 1.15; }
.next-card__when { font-weight: 700; color: var(--navy-700); font-size: 1.05rem; }
.next-card__where { color: var(--ink-soft); font-size: .95rem; margin: 6px 0 18px; }
.next-card__countdown { display: inline-block; background: var(--gold-100); color: #8a5b00; font-weight: 700; font-size: .82rem; padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.next-card .btn-row { gap: 10px; }
.next-card .cal .btn { padding: 15px 22px; font-size: .98rem; }
.next-card__also { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.next-card__also ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.next-card__also li { display: flex; justify-content: space-between; gap: 12px; }
.next-card__also b { color: var(--ink); font-weight: 600; }

/* ---------- Grid + cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-sm); position: relative;
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); }
.card > :last-child { margin-bottom: 0; }
.card .text-link, .card .btn { margin-top: auto; align-self: flex-start; }
.card--hover { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--navy-100); }
.card--feature { border-top: 4px solid var(--gold-500); }
.card--navy { background: var(--navy-800); border-color: var(--navy-700); color: #d4def0; }
.card--navy h3 { color: #fff; }
.card--navy p { color: #c4d1e8; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy-50); color: var(--navy-700); margin-bottom: 18px; flex: none;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--gold { background: var(--gold-100); color: var(--gold-600); }

.pillar__meta { font-size: .88rem; font-weight: 600; color: var(--navy-700); background: var(--navy-50); padding: 8px 12px; border-radius: 10px; margin: 4px 0 18px; }

/* ---------- Support band ---------- */
.support-card {
  border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 38px); display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: inherit; position: relative; overflow: hidden; min-height: 280px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.support-card h3 { font-size: 1.8rem; margin-bottom: .2em; }
.support-card p { margin-bottom: 18px; }
.support-card .text-link { margin-top: auto; }
.support-card--give { background: var(--gold-500); color: var(--navy-900); }
.support-card--give h3 { color: var(--navy-900); }
.support-card--give .text-link { color: var(--navy-900); }
.support-card--serve { background: var(--navy-700); color: #dfe7f5; }
.support-card--serve h3, .support-card--serve .text-link { color: #fff; }
.support-card--pray { background: var(--paper); border: 1px solid var(--line); }
.support-card .big-icon { position: absolute; right: -14px; bottom: -14px; width: 140px; height: 140px; opacity: .14; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--navy-900); padding: 26px 22px; }
.stat__num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold-300); line-height: 1; margin-bottom: 8px; }
.stat__label { font-size: .92rem; color: #c4d1e8; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.quote {
  margin: 0; padding: 28px 30px; background: rgba(255,255,255,.06); border-radius: var(--radius);
  border-left: 4px solid var(--gold-500);
}
.quote p { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.4; color: #fff; font-style: italic; }
.quote footer { font-size: .9rem; color: #aebbd4; }
.quote footer b { color: #fff; }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Building fund ---------- */
.building {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: #d4def0;
  border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden;
}
.building h2 { color: #fff; }
.building::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 40px solid rgba(242,170,31,.12);
}
.building > * { position: relative; z-index: 1; }
.building__goal { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4rem); color: var(--gold-300); line-height: 1; }
.progress { height: 14px; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; margin: 18px 0 10px; }
.progress__bar { height: 100%; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); border-radius: inherit; width: 0; transition: width 1.2s ease; }
.progress__meta { display: flex; justify-content: space-between; font-size: .9rem; color: #c4d1e8; }

/* ---------- Schedule / events ---------- */
.schedule { display: grid; gap: 14px; }
.schedule-item {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 18px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
}
.date-chip {
  text-align: center; border-radius: 12px; background: var(--navy-50); color: var(--navy-800); padding: 8px 4px; line-height: 1.1;
}
.date-chip__m { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }
.date-chip__d { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }
.date-chip__w { display: block; font-size: .72rem; font-weight: 600; color: var(--ink-soft); }
.schedule-item h3 { font-size: 1.12rem; margin: 0 0 2px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.schedule-item p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
.schedule-item__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; background: var(--navy-50); color: var(--navy-700); margin-right: 6px; vertical-align: middle;
}
.tag--online { background: #e7f5ee; color: var(--success); }
.tag--outreach { background: var(--gold-100); color: #8a5b00; }
.tag--past { background: #eee; color: #666; }
.schedule { container-type: inline-size; }
@container (max-width: 680px) {
  .schedule-item { grid-template-columns: 64px 1fr; }
  .schedule-item__actions { grid-column: 2 / -1; justify-content: flex-start; }
}
@container (max-width: 380px) {
  .schedule-item__actions { grid-column: 1 / -1; }
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-btn {
  font: 600 .9rem var(--font-body); padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
}
.filter-btn[aria-pressed="true"] { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

/* Add-to-calendar menu */
.cal { position: relative; }
.cal__menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 200px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 6px; display: none;
}
.cal.is-open .cal__menu { display: block; }
.cal__menu a, .cal__menu button {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; border: 0; background: none;
  font: 600 .9rem var(--font-body); color: var(--ink); text-decoration: none; cursor: pointer;
}
.cal__menu a:hover, .cal__menu button:hover { background: var(--navy-50); }
@container (max-width: 680px) { .cal__menu { left: 0; right: auto; } }

/* ---------- Info rows, details, lists ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; color: var(--gold-600); flex: none; margin-top: 3px; }
.info-list b { display: block; color: var(--navy-900); }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { padding-left: 32px; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b37400' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Plan a Visit: service times at a glance ---------- */
.rhythm-sundays { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: stretch; }
@media (max-width: 860px) { .rhythm-sundays { grid-template-columns: 1fr; } }
.sunday {
  display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 96px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.sunday__media { position: relative; height: clamp(170px, 19vw, 230px); overflow: hidden; background: var(--navy-100); }
.sunday__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
@media (max-width: 860px) { .sunday__media--icon { height: 120px; } .sunday__media--icon svg { width: 56px; height: 56px; } }
.sunday__media--icon { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, var(--navy-600), var(--navy-800) 70%); color: var(--gold-300); }
.sunday__media--icon svg { width: 76px; height: 76px; stroke-width: 1.5; }
.sunday__now {
  position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px;
  background: var(--gold-500); color: var(--navy-900); font-weight: 700; font-size: .8rem; box-shadow: var(--shadow);
}
.sunday__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex: 1; padding: 24px 26px 26px; }
.sunday__body .tag { margin: 0; }
.sunday h3 { margin: 0; font-size: 1.55rem; }
.sunday__times { display: flex; flex-wrap: wrap; gap: 14px 34px; }
.big-time b { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3rem); line-height: 1; color: var(--navy-900); font-weight: 600; }
.big-time small { margin-left: 4px; font-weight: 700; font-size: .95rem; color: var(--gold-600); }
.big-time span { display: block; margin-top: 4px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.sunday__where { display: flex; gap: 10px; margin: 0; font-size: .93rem; color: var(--ink-soft); }
.sunday__where svg { width: 20px; height: 20px; flex: none; color: var(--gold-600); margin-top: 2px; }
.sunday__where b { color: var(--ink); }
.sunday .btn-row { margin-top: auto; }
.sunday--online { background: var(--navy-900); border-color: var(--navy-800); color: #dfe7f5; }
.sunday--online h3, .sunday--online .big-time b { color: #fff; }
.sunday--online .big-time small { color: var(--gold-300); }
.sunday--online .big-time span { color: #aebbd4; }
.sunday--online .zoom-more summary { color: #c4d1e8; }

.zoom-more { width: 100%; }
.zoom-more summary { cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--navy-700); }
.zoom-more .zoom-box { margin: 10px 0 0; }

.sunday-strip { margin-top: 26px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.sunday-strip h3 { margin: 0 0 14px; font: 700 .8rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }
.sunday-strip ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.week {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  padding: 16px 6px 14px; border-radius: 14px; border: 2px solid transparent;
}
.week svg { width: 26px; height: 26px; }
.week b { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; color: var(--navy-900); }
.week span { font-size: .8rem; font-weight: 600; color: var(--ink-soft); line-height: 1.25; }
.week small { display: block; font-weight: 400; font-size: .72rem; }
.week--here { background: var(--gold-100); }
.week--here svg { color: var(--gold-600); }
.week--online { background: var(--navy-50); }
.week--online svg { color: var(--navy-700); }
.week.is-now { border-color: var(--gold-500); box-shadow: 0 8px 20px -12px rgba(208,141,12,.9); }
.week__now {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 2px 8px; border-radius: 999px; background: var(--gold-500); color: var(--navy-900) !important; font-size: .66rem !important; font-weight: 700;
}
@media (max-width: 520px) {
  .sunday-strip { padding: 18px 12px; }
  .sunday-strip ol { gap: 6px; }
  .week { padding: 14px 2px 10px; }
  .week b { font-size: 1.1rem; }
  .week span { font-size: .7rem; }
  .week small { display: none; }
}

.rhythm-more__title { margin: 44px 0 16px; font-size: 1.35rem; }
.rhythm-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.rhythm-tile .icon-badge { margin-bottom: 8px; }
.rhythm-tile__when { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); }
.rhythm-tile__time { margin: 0; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; color: var(--navy-900); font-weight: 600; }
.rhythm-tile h3 { margin: 2px 0 4px; font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.rhythm-tile .tag { margin: 0 0 8px; }
.rhythm-tile .btn-row { margin-top: auto; }

.zoom-box { background: var(--navy-50); border-radius: 12px; padding: 14px 16px; margin: 6px 0 18px; font-size: .93rem; }
.zoom-box dl { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 12px; margin: 0; align-items: center; }
.zoom-box dt { font-weight: 600; color: var(--ink-soft); }
.zoom-box dd { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; color: var(--navy-900); }
.copy-btn { font: 600 .78rem var(--font-body); border: 1px solid var(--navy-100); background: var(--paper); color: var(--navy-700); padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.copy-btn.is-copied { background: var(--success); color: #fff; border-color: var(--success); }

.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--navy-900);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--gold-600); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: 18px; color: var(--ink-soft); }

.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); background: var(--navy-50); }

.callout { background: var(--gold-100); border-radius: var(--radius); padding: 20px 22px; border-left: 4px solid var(--gold-500); }
.callout p:last-child { margin-bottom: 0; }
.note { font-size: .88rem; color: var(--ink-soft); }

/* ---------- Teens ---------- */
.teen-glance { box-shadow: var(--shadow-lg); border: 0; color: var(--ink-soft); }
.page-hero .teen-glance .eyebrow { color: var(--gold-600); }
.teen-glance .info-list svg { color: var(--navy-600); }
.journey {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px;
  position: relative;
}
.journey::before {
  content: ""; position: absolute; top: 24px; left: 24px; right: 24px; height: 2px;
  background: linear-gradient(90deg, var(--gold-500), rgba(242,170,31,.15));
}
.journey li { position: relative; }
.journey__num {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold-500); color: var(--navy-900); font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  margin-bottom: 18px; box-shadow: 0 0 0 6px var(--navy-900);
}
.journey h3 { font-size: 1.2rem; }
.journey p { color: #c4d1e8; font-size: .95rem; margin: 0; }
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; gap: 26px; }
  .journey::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--gold-500), rgba(242,170,31,.15)); }
  .journey li { padding-left: 70px; }
  .journey__num { position: absolute; left: 0; top: -4px; }
}
.video-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.video-card__media, .video-card__frame {
  display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: var(--navy-900);
}
.video-card__media { position: relative; cursor: pointer; }
.video-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease, opacity .3s; opacity: .92; }
.video-card__media:hover img { transform: scale(1.03); opacity: 1; }
.video-card__play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold-500); color: var(--navy-900); display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); transition: transform .2s ease;
}
.video-card__play svg { width: 28px; height: 28px; margin-left: 3px; }
.video-card__media:hover .video-card__play { transform: scale(1.08); }
.video-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.video-card__body .tag { align-self: flex-start; margin-bottom: 10px; }
.video-card__body h3 { font-size: 1.15rem; margin-bottom: 2px; }
.video-card__body .note { margin-bottom: 10px; font-weight: 600; }
.video-card__body p:not(.note) { color: var(--ink-soft); font-size: .95rem; }
.video-card__body .text-link { margin-top: auto; font-size: .92rem; }

.leader { align-items: center; text-align: center; }
.leader h3 { margin: 0 0 4px; }
.leader__avatar {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--navy-700); color: #fff; font-family: var(--font-display); font-size: 2rem; font-weight: 600;
  box-shadow: 0 0 0 6px var(--navy-50);
}
.leader__avatar--gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 0 0 6px var(--gold-100); }
.leader__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.lesson__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.lesson .btn { margin-top: auto; }

/* ---------- Giving ---------- */
.fund-card { border-radius: var(--radius-lg); }
.fund-card__amounts { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.fund-card .btn { margin-top: auto; }
.give-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.give-steps li { counter-increment: step; padding-left: 52px; position: relative; }
.give-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-700); color: #fff; font-weight: 700; display: grid; place-items: center;
}
.give-steps b { display: block; color: var(--navy-900); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy-900); }
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 10px;
  border: 1.5px solid #d6d2c8; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(26,79,156,.15); }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.choice {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid #d6d2c8; border-radius: 10px;
  background: #fff; cursor: pointer; font-size: .95rem; transition: border-color .15s, background-color .15s;
}
.choice:hover { border-color: var(--navy-600); }
.choice { align-items: center; }
.choice input { margin: 0; accent-color: var(--navy-700); width: 18px; height: 18px; flex: none; }
.choice:has(input:checked) { border-color: var(--navy-700); background: var(--navy-50); }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { padding: 14px 16px; border-radius: 10px; font-weight: 600; display: none; }
.form-status.is-success { display: block; background: #e7f5ee; color: var(--success); }
.form-status.is-error { display: block; background: #fbeae9; color: var(--danger); }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }

.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input {
  flex: 1 1 220px; font: inherit; padding: 14px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff;
}
.inline-form input::placeholder { color: #aebbd4; }
.inline-form input:focus { outline: none; border-color: var(--gold-300); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c6dd; font-size: .95rem; }
.site-footer a { color: #dfe7f5; text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,.1); padding: 48px 0; }
.footer-cta .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.footer-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.footer-cta p { margin: 0; }
@media (max-width: 860px) { .footer-cta .wrap { grid-template-columns: 1fr; } }
.footer-main { padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-brand { font-family: var(--font-display); font-size: 1.6rem; color: #fff; line-height: 1.1; margin-bottom: 10px; }
.footer-brand span { color: var(--gold-300); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--gold-500); color: var(--navy-900); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .85rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Misc ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }
.hide { display: none !important; }
.verse { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--navy-800); }
.verse cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .85rem; font-weight: 700; color: var(--gold-600); margin-top: 6px; }
.logo-panel { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.logo-panel img { width: 100%; max-width: 420px; margin: 0 auto; mix-blend-mode: multiply; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.sticky-give {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: none;
}
@media (max-width: 720px) {
  .sticky-give { display: inline-flex; }
  body.page-give .sticky-give { display: none; }
}

/* ---------- "Ask Grace" receptionist ---------- */
.gp-r-launch {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--navy-800); color: #fff; font: 700 .95rem var(--font-body);
  box-shadow: 0 14px 34px -12px rgba(6,31,71,.6);
  transition: transform .15s ease, background-color .15s ease;
}
.gp-r-launch:hover { transform: translateY(-2px); background: var(--navy-700); }
.gp-r-launch[aria-expanded="true"] { display: none; }
.gp-r-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--gold-500); color: var(--navy-900); font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
}

.gp-r {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  width: min(400px, calc(100vw - 36px)); height: min(640px, calc(100vh - 36px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(6,31,71,.55);
  border: 1px solid var(--line);
}
.gp-r[hidden] { display: none; }
.gp-r__head {
  display: flex; align-items: center; gap: 10px; padding: 14px 12px 14px 16px;
  background: var(--navy-900); color: #fff;
}
.gp-r__title { flex: 1; min-width: 0; line-height: 1.25; }
.gp-r__title b { display: block; font-size: 1.02rem; }
.gp-r__title span { font-size: .8rem; color: #aebbd4; }
.gp-r__icon {
  width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: #dfe7f5;
  display: grid; place-items: center; cursor: pointer; flex: none;
}
.gp-r__icon:hover { background: rgba(255,255,255,.1); }
.gp-r__icon svg { width: 20px; height: 20px; }
.gp-r__icon[aria-pressed="true"] { background: var(--gold-500); color: var(--navy-900); }

.gp-r__log { flex: 1; overflow-y: auto; padding: 16px 14px 8px; background: var(--cream); display: flex; flex-direction: column; gap: 10px; }
.gp-r__msg { display: flex; flex-direction: column; max-width: 88%; }
.gp-r__msg--bot { align-self: flex-start; }
.gp-r__msg--user { align-self: flex-end; }
.gp-r__bubble { padding: 10px 14px; border-radius: 16px; font-size: .94rem; line-height: 1.5; overflow-wrap: anywhere; }
.gp-r__msg--bot .gp-r__bubble { background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.gp-r__msg--user .gp-r__bubble { background: var(--navy-700); color: #fff; border-bottom-right-radius: 4px; }
.gp-r__msg--alert .gp-r__bubble { background: #fff4f2; border-color: #f2c4bd; }
.gp-r__bubble a { color: inherit; font-weight: 600; }
.gp-r__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.gp-r__chip {
  font: 600 .82rem var(--font-body); padding: 7px 12px; border-radius: 999px; cursor: pointer; text-decoration: none;
  border: 1.5px solid var(--navy-100); background: var(--paper); color: var(--navy-700);
}
.gp-r__chip:hover { border-color: var(--navy-700); background: var(--navy-50); color: var(--navy-800); }
.gp-r__typing .gp-r__bubble { display: inline-flex; gap: 4px; padding: 14px; }
.gp-r__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--navy-100); animation: gpr-dot 1s infinite ease-in-out; }
.gp-r__typing span:nth-child(2) { animation-delay: .15s; }
.gp-r__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes gpr-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; background: var(--navy-600); } }

.gp-r__form { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--paper); }
.gp-r__input {
  flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 11px 14px; border-radius: 999px;
  border: 1.5px solid #d6d2c8; background: #fff; color: var(--ink);
}
.gp-r__input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(26,79,156,.15); }
.gp-r__mic, .gp-r__send {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; flex: none;
}
.gp-r__mic { background: var(--navy-50); color: var(--navy-700); }
.gp-r__mic[hidden] { display: none; }
.gp-r__mic.is-listening { background: #d93025; color: #fff; animation: gpr-pulse 1.2s infinite; }
@keyframes gpr-pulse { 0% { box-shadow: 0 0 0 0 rgba(217,48,37,.45); } 100% { box-shadow: 0 0 0 14px rgba(217,48,37,0); } }
.gp-r__send { background: var(--gold-500); color: var(--navy-900); }
.gp-r__mic svg, .gp-r__send svg { width: 20px; height: 20px; }
.gp-r__foot { margin: 0; padding: 0 14px 10px; font-size: .72rem; color: var(--ink-soft); background: var(--paper); line-height: 1.4; }

@media (max-width: 720px) {
  .sticky-give { right: auto; left: 18px; }
  body.gp-r-open .sticky-give { display: none; }
  .gp-r { right: 0; bottom: 0; width: 100vw; height: 100dvh; max-height: 100vh; border-radius: 0; border: 0; }
  .gp-r-launch { padding-right: 14px; }
}

/* ---------- Outreach history timeline ---------- */
.stats--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 980px) { .stats--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats--5 .stat:last-child { grid-column: 1 / -1; } }

.history__filters { margin-bottom: 12px; }
.history__years {
  position: sticky; top: 76px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 12px;
  background: var(--cream); margin-bottom: 18px; scrollbar-width: thin;
}
.history__years a {
  flex: none; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); color: var(--navy-800);
}
.history__years a:hover { border-color: var(--navy-700); background: var(--navy-50); }
@media (max-width: 640px) { .history__years { top: 66px; } }

.history__list { list-style: none; margin: 0; padding: 0; position: relative; }
.history__list::before { content: ""; position: absolute; left: 47px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--gold-500), var(--navy-100)); }
.history-year { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 24px; margin-bottom: 28px; scroll-margin-top: 150px; }
.history-year__marker { position: relative; display: flex; justify-content: center; padding-top: 18px; }
.history-year__marker span {
  display: grid; place-items: center; width: 96px; height: 40px; border-radius: 999px;
  background: var(--navy-800); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  box-shadow: 0 0 0 6px var(--cream);
}
.history-year:first-child .history-year__marker span { background: var(--gold-500); color: var(--navy-900); }
.history-year__card {
  display: grid; grid-template-columns: 1fr 260px; gap: 28px; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-sm);
}
.history-year__label { display: none; font-family: var(--font-display); font-size: 1.8rem; color: var(--gold-600); line-height: 1; margin-bottom: 6px; }
.history-year__body h3 { font-size: 1.45rem; margin-bottom: 14px; }
.history-year__stats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.history-year__stats span { background: var(--gold-100); color: #7a4f00; border-radius: 999px; padding: 6px 12px; font-size: .88rem; }
.history-year__stats b { font-size: 1rem; color: var(--navy-900); }
.history-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.history-items li { padding-left: 16px; border-left: 3px solid var(--navy-100); }
.history-items li[data-type="backtoschool"] { border-left-color: var(--gold-500); }
.history-item__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.history-item__meta time { font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.history-items h4 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 0 0 4px; color: var(--navy-900); letter-spacing: 0; }
.history-items p { margin: 0 0 6px; color: var(--ink-soft); font-size: .95rem; }
.history-item__place { font-weight: 600; color: var(--navy-700) !important; }
.history-item__partners { font-size: .88rem !important; }
.history-item__partners b { color: var(--navy-900); }
.tag--backtoschool { background: var(--gold-100); color: #8a5b00; }
.tag--health { background: #fde8ef; color: #a3134b; }
.tag--dental { background: #e7f5ee; color: var(--success); }
.tag--community { background: var(--navy-50); color: var(--navy-700); }
.history-year__flyer { margin: 0; }
.history-year__flyer img { width: 100%; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s ease; }
.history-year__flyer a:hover img { transform: scale(1.02); }
.history-year__flyer figcaption { font-size: .8rem; color: var(--ink-soft); text-align: center; margin-top: 8px; }
.history-ongoing { margin-top: 12px; }

@media (max-width: 900px) {
  .history-year__card { grid-template-columns: 1fr; }
  .history-year__flyer { max-width: 360px; }
}
@media (max-width: 640px) {
  .history__list::before { display: none; }
  .history-year { grid-template-columns: 1fr; gap: 0; }
  .history-year__marker { display: none; }
  .history-year__label { display: block; }
}

/* ---------- About: narrative & story ---------- */
.narrative p { font-size: 1.06rem; color: var(--ink); }
.narrative em { color: var(--navy-800); }
.narrative__lead { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.5rem) !important; line-height: 1.45; color: var(--navy-900) !important; }
.narrative__aside { display: grid; gap: 22px; position: sticky; top: 110px; }
@media (max-width: 900px) { .narrative__aside { position: static; } }
.pull-quote { margin: 0; padding: 30px 30px 26px; border-radius: var(--radius-lg); background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.pull-quote::before { content: "”"; position: absolute; right: 14px; bottom: -78px; font-family: var(--font-display); font-size: 9rem; color: rgba(242,170,31,.25); }
.pull-quote blockquote { margin: 0 0 12px; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; line-height: 1.4; position: relative; }
.pull-quote figcaption { color: var(--gold-300); font-weight: 700; font-size: .9rem; }
.name-meaning h3 { color: var(--navy-900); }
.name-meaning p { font-size: .97rem; }
.purpose .verse { font-size: 1.02rem; margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); }

.statement { border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px); background: var(--gold-100); }
.statement p { font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.28rem); line-height: 1.55; color: var(--navy-900); margin: 0; }
.statement--navy { background: var(--navy-800); }
.statement--navy p { color: #fff; }
.statement--navy .eyebrow { color: var(--gold-300); }

.milestones { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 4px; }
.milestones::before { content: ""; position: absolute; left: 35px; top: 16px; bottom: 16px; width: 2px; background: linear-gradient(var(--navy-100), var(--gold-500)); }
.milestones li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; padding: 10px 0; }
.milestones__year {
  position: relative; display: grid; place-items: center; height: 34px; border-radius: 999px; background: var(--paper);
  border: 2px solid var(--navy-700); color: var(--navy-800); font-weight: 700; font-size: .92rem;
}
.milestones li:nth-child(2) .milestones__year, .milestones li:last-child .milestones__year { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.milestones li > div { padding-top: 5px; color: var(--ink-soft); }
.milestones b { color: var(--navy-900); }

.pastor-card { border-top: 4px solid var(--gold-500); }
.pastor-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.pastor-card__avatars { display: flex; margin-bottom: 18px; }
.pastor-card__avatars .leader__avatar { margin: 0; width: 76px; height: 76px; font-size: 1.6rem; }
.pastor-card__avatars .leader__avatar + .leader__avatar { margin-left: -14px; }

.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.org-band { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.org-band img { width: 110px; mix-blend-mode: multiply; }
.org-band div { display: grid; gap: 2px; color: var(--ink-soft); font-size: .95rem; }
.org-band b { color: var(--navy-900); font-size: 1.05rem; }

/* ---------- Church home: service area ---------- */
.areas { display: grid; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px); }
.areas h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin: 0 0 4px; }
.areas p { margin: 0; color: var(--ink); font-size: .96rem; }
.areas > div + div { padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Photos ---------- */
.photo { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-100); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px);
  background: rgba(6,31,71,.78); color: #fff; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.photo--wide { max-height: 560px; }
.hero-photo .photo { box-shadow: var(--shadow-lg); border: 4px solid rgba(255,255,255,.12); }
.hero-photo .photo img { max-height: 520px; }
.page-hero .hero-photo { align-self: center; }
/* GPCO at a glance (Outreach hero): logo badge plus key facts */
.gpco-card {
  justify-self: end; width: 100%; max-width: 440px; padding: clamp(20px, 3vw, 28px);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
}
.gpco-card__logo { background: #fff; border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow); }
.gpco-card__logo img { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto; }
.gpco-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; margin: 24px 0 0; }
.gpco-card__facts dt { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; color: var(--gold-300); }
.gpco-card__facts dd { margin: 4px 0 0; font-size: .85rem; color: #c4d1e8; }
@media (max-width: 900px) { .gpco-card { justify-self: start; } }
.holiday-foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-top: 36px; }
.holiday-foot .verse { max-width: 46ch; }

/* Photo carousel (home page): swipe, arrows, dots; autoplay handled in main.js */
.carousel { position: relative; max-width: 980px; margin: 0 auto; }
.carousel__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.carousel .photo--slide { flex: 0 0 100%; aspect-ratio: 4 / 3; max-height: 72vh; scroll-snap-align: start; border-radius: 0; box-shadow: none; }
.carousel .photo--portrait { background: var(--navy-900); }
.carousel .photo--portrait img { object-fit: contain; }
.carousel__arrow {
  position: absolute; top: calc(50% - 40px); display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy-900); box-shadow: var(--shadow); cursor: pointer;
}
.carousel__arrow:hover { background: var(--gold-500); }
.carousel__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.carousel__arrow--prev { left: 14px; }
.carousel__arrow--next { right: 14px; }
.carousel__bar { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.carousel__dots { display: flex; gap: 4px; }
.carousel__dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.carousel__dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--navy-100); transition: background .2s, transform .2s; }
.carousel__dots button[aria-current="true"]::before { background: var(--gold-500); transform: scale(1.3); }
.carousel__pause { font: 600 .82rem var(--font-body); color: var(--navy-700); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
@media (max-width: 560px) {
  .carousel__arrow { width: 38px; height: 38px; top: calc(50% - 36px); }
  .carousel__arrow--prev { left: 8px; } .carousel__arrow--next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) { .carousel__track { scroll-behavior: auto; } .carousel__pause { display: none; } }

/* ---------- Worship: hymn library ---------- */
.hymn-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.hymn-search { flex: 1 1 320px; }
.hymn-search input {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 14px 18px; border-radius: 999px;
  border: 1.5px solid #d6d2c8; background: #fff; color: var(--ink);
}
.hymn-search input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(26,79,156,.15); }
.hymn-size { display: flex; gap: 6px; }
.hymn-topics { margin-bottom: 6px; }
.hymn-list { --hymn-size: 1; display: grid; gap: 10px; margin-top: 10px; }
.hymn { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 100px; }
.hymn[open] { box-shadow: var(--shadow); border-color: var(--navy-100); }
.hymn summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px;
}
.hymn summary::-webkit-details-marker { display: none; }
.hymn summary:hover .hymn__title { color: var(--navy-600); }
.hymn__num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50);
  color: var(--navy-800); font-weight: 700; font-size: .9rem;
}
.hymn[open] .hymn__num { background: var(--gold-500); color: var(--navy-900); }
.hymn__head { display: grid; min-width: 0; }
.hymn__title { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy-900); font-weight: 600; }
.hymn__first { font-size: .9rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hymn__topic { white-space: nowrap; }
@media (max-width: 640px) { .hymn__topic { display: none; } .hymn summary { grid-template-columns: 40px 1fr; } }
.hymn__body { padding: 4px 22px 22px 76px; }
@media (max-width: 640px) { .hymn__body { padding: 4px 18px 20px; } }
.hymn__verses { list-style: none; margin: 0 0 18px; padding: 0; counter-reset: verse; display: grid; gap: 18px; }
.hymn__verses p { margin: 0; font-size: calc(1.08rem * var(--hymn-size)); line-height: 1.7; color: var(--ink); }
.hymn__verse { counter-increment: verse; position: relative; }
.hymn__verse::before {
  content: counter(verse); position: absolute; left: -32px; top: 2px; font-weight: 700; color: var(--gold-600); font-size: .95rem;
}
@media (max-width: 640px) { .hymn__verse { padding-left: 26px; } .hymn__verse::before { left: 0; } }
.hymn__refrain { padding-left: 18px; border-left: 3px solid var(--gold-500); }
.hymn__refrain p { font-style: italic; color: var(--navy-800); }
.hymn__refrain--repeat { padding-top: 0; }
.hymn__label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 4px; }
.hymn__meta { display: grid; gap: 4px; margin: 0 0 16px; padding: 14px 16px; background: var(--cream); border-radius: 12px; font-size: .88rem; }
.hymn__meta div { display: grid; grid-template-columns: 84px 1fr; gap: 8px; }
.hymn__meta dt { font-weight: 700; color: var(--navy-900); }
.hymn__meta dd { margin: 0; color: var(--ink-soft); }
.hymn__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hymn-empty { padding: 24px; text-align: center; background: var(--paper); border-radius: var(--radius); border: 1px dashed var(--line); }
.hymn-az { margin-top: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.hymn-az summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--navy-900); }
.hymn-az__list { columns: 3 220px; column-gap: 24px; padding-bottom: 18px; }
.hymn-az__list a { display: block; padding: 4px 0; text-decoration: none; break-inside: avoid; }
.hymn-credit { margin-top: 18px; }

/* Presentation mode (for projecting during worship) */
.present {
  position: fixed; inset: 0; z-index: 200; background: #04122b; color: #fff;
  display: grid; grid-template-rows: auto 1fr auto; padding: clamp(14px, 3vw, 32px);
}
.present[hidden] { display: none; }
.present__top { display: flex; align-items: center; gap: 16px; color: #aebbd4; font-size: 1rem; }
.present__title { font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.6rem); color: var(--gold-300); flex: 1; }
.present__slide { display: grid; place-content: center; text-align: center; cursor: pointer; padding: 2vh 4vw; }
.present__slide p { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 4.6vw, 3.6rem); line-height: 1.35; font-weight: 500; }
.present__slide.is-refrain p { font-style: italic; color: var(--gold-300); }
.present__label { display: block; margin-bottom: 2vh; font-size: clamp(.8rem, 1.4vw, 1rem); letter-spacing: .2em; text-transform: uppercase; color: #8193b5; }
.present__nav { display: flex; justify-content: space-between; }
.present__btn {
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  padding: 10px 20px; font: 600 1rem var(--font-body); cursor: pointer;
}
.present__btn:hover { background: rgba(255,255,255,.18); }

/* ---------- Welcome video (home) ---------- */
.welcome-video__frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-900); }
.welcome-video__frame .video-card__media, .welcome-video__frame .video-card__frame { aspect-ratio: 16 / 9; }
.welcome-video__frame .video-card__play { width: 80px; height: 80px; }

/* ---------- New building renderings ---------- */
.building__renders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.building__renders .photo { box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.12); }
.vision__grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.vision__grid .photo:first-child { grid-row: span 2; }
@media (max-width: 760px) {
  .building__renders, .vision__grid { grid-template-columns: 1fr; }
  .vision__grid .photo:first-child { grid-row: auto; }
}

/* ---------- Building fund progress ---------- */
.campaign__label { color: #c4d1e8; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .82rem; }
.campaign__num { margin: 4px 0 2px; }
.campaign__target { color: #dfe7f5; font-size: 1.02rem; }
.campaign__target b { color: #fff; }
.progress--lg {
  position: relative; height: 30px; margin: 18px 0 10px; border-radius: 999px;
  background: rgba(255,255,255,.12); box-shadow: inset 0 1px 3px rgba(0,0,0,.35);
}
.progress--lg::after { /* milestone markers at 25 / 50 / 75% */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, transparent calc(25% - 1px), rgba(255,255,255,.22) 25%, transparent calc(25% + 1px),
    transparent calc(50% - 1px), rgba(255,255,255,.22) 50%, transparent calc(50% + 1px),
    transparent calc(75% - 1px), rgba(255,255,255,.22) 75%, transparent calc(75% + 1px));
}
.progress--lg .progress__bar {
  position: relative; display: flex; align-items: center; justify-content: flex-end; min-width: 0;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-500) 60%, var(--gold-300));
  box-shadow: 0 0 18px rgba(242,170,31,.45); transition: width 1.6s cubic-bezier(.22,.61,.36,1); overflow: hidden;
}
.progress--lg .progress__bar::before { /* gentle shine */
  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-100%); animation: gp-shine 3.2s ease-in-out 1.8s infinite;
}
@keyframes gp-shine { to { transform: translateX(100%); } }
.progress__pct { position: relative; padding-right: 12px; font-weight: 800; font-size: .95rem; color: var(--navy-900); }
.progress--lg + .progress__meta span:first-child { color: #fff; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .progress--lg .progress__bar::before { animation: none; } }

/* ---------- Sermons: podcast-style covers and a "Now playing" bar ---------- */
@keyframes gp-pulse { 50% { opacity: .6; } }
.ep-cover {
  text-align: left; position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px; color: #fff; border-radius: 16px;
  background:
    radial-gradient(circle at var(--x) var(--y), var(--glow), transparent 62%),
    linear-gradient(var(--angle), var(--navy-700), var(--navy-900) 72%);
}
.ep-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(4,15,38,.75)); }
.ep-cover__icon { position: absolute; left: 16px; top: 14px; color: var(--accent); }
.ep-cover__icon svg { width: 26px; height: 26px; stroke-width: 1.7; filter: drop-shadow(0 2px 8px var(--glow)); }
.ep-cover__brand { position: absolute; right: 14px; top: 16px; font: 700 .6rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ep-cover__kind { font: 700 .68rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.ep-cover__title { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font: 600 1.15rem/1.15 var(--font-display); }
.ep-cover--big { padding: 28px; border-radius: 22px; }
.ep-cover--big .ep-cover__icon { left: 28px; top: 26px; }
.ep-cover--big .ep-cover__icon svg { width: 40px; height: 40px; }
.ep-cover--big .ep-cover__brand { right: 26px; top: 30px; font-size: .7rem; }
.ep-cover--big .ep-cover__title { font-size: clamp(1.6rem, 3vw, 2.2rem); -webkit-line-clamp: 3; }

.ep-playbtn {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold-500); color: var(--navy-900); box-shadow: 0 10px 22px -8px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s;
}
.ep-playbtn svg { width: 22px; height: 22px; margin-left: 2px; }
.ep-playbtn--big { right: 24px; bottom: 24px; width: 64px; height: 64px; opacity: 1; transform: none; }
.ep-playbtn--big svg { width: 30px; height: 30px; }
.ep-eq { display: none; gap: 3px; align-items: flex-end; height: 18px; }
.ep-eq i { width: 4px; background: currentColor; border-radius: 2px; animation: ep-eq 1s ease-in-out infinite; }
.ep-eq i:nth-child(2) { animation-delay: .2s; } .ep-eq i:nth-child(3) { animation-delay: .4s; }
@keyframes ep-eq { 0%, 100% { height: 5px; } 50% { height: 18px; } }

/* Featured episode (hero) */
.ep-feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; justify-self: end; width: 100%; max-width: 360px; }
.ep-feature .ep-cover--big .ep-cover__title { display: none; } /* the title sits below the art */
.ep-feature .ep-cover--big .ep-cover__icon { left: 50%; top: 42%; transform: translate(-50%, -50%); }
.ep-feature .ep-cover--big .ep-cover__icon svg { width: 96px; height: 96px; stroke-width: 1.2; }
.ep-feature__art { position: relative; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 22px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.7); transition: transform .25s; }
.ep-feature__art:hover { transform: translateY(-4px); }
.ep-feature__label { font: 700 .74rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.ep-feature h2 { margin: 4px 0 4px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); color: #fff; }
.ep-feature__meta { margin: 0 0 10px; color: #aebbd4; font-size: .9rem; }
.ep-feature .ep-refs { margin-bottom: 14px; }
.ep-feature .ep-refs .tag { background: rgba(255,255,255,.12); color: #dfe7f5; }
.ep-feature.is-playing .ep-playbtn--big { background: #fff; }
@media (max-width: 900px) { .ep-feature { justify-self: start; grid-template-columns: 150px 1fr; max-width: none; align-items: center; } .ep-feature .ep-playbtn--big { width: 46px; height: 46px; right: 10px; bottom: 10px; } .ep-feature .ep-cover--big { padding: 14px; border-radius: 16px; } .ep-feature .ep-cover--big .ep-cover__title, .ep-feature .ep-cover--big .ep-cover__brand { display: none; } }

/* Episode grid */
.ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px 20px; margin-top: 10px; }
@media (max-width: 560px) { .ep-grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; } .ep-cover__title { font-size: .98rem; } .ep-cover__brand { display: none; } }
.ep { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 100px; }
.ep__art { position: relative; display: block; color: #fff; text-decoration: none; border-radius: 16px; box-shadow: 0 16px 30px -20px rgba(6,31,71,.8); transition: transform .25s, box-shadow .25s; }
.ep__art:hover, .ep__art:focus-visible { transform: translateY(-4px); box-shadow: 0 24px 40px -22px rgba(6,31,71,.9); }
.ep__art:hover .ep-playbtn, .ep__art:focus-visible .ep-playbtn, .ep.is-current .ep-playbtn { opacity: 1; transform: none; }
@media (hover: none) { .ep-playbtn { opacity: 1; transform: none; width: 40px; height: 40px; } }
.ep.is-playing .ep-playbtn .i-play { display: none; }
.ep.is-playing .ep-eq { display: flex; }
.ep.is-current .ep__art { box-shadow: 0 0 0 3px var(--gold-500), 0 16px 30px -20px rgba(6,31,71,.8); }
.ep__progress { position: absolute; left: 14px; right: 14px; bottom: 8px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.2); overflow: hidden; display: none; }
.ep__progress i { display: block; height: 100%; width: 0; background: var(--gold-500); }
.ep.is-started .ep__progress { display: block; }
.ep.is-started .ep-playbtn { bottom: 20px; }
.ep__body h3 { margin: 0 0 4px; font-size: 1.05rem; line-height: 1.25; }
.ep__meta { margin: 0 0 6px; font-size: .82rem; color: var(--ink-soft); }
.ep-refs { display: flex; flex-wrap: wrap; gap: 6px; }
.ep-refs .tag { margin: 0; }

/* "Now playing" bar */
.nowbar {
  position: fixed; left: 50%; bottom: 14px; z-index: 75; transform: translateX(-50%); width: min(1100px, calc(100vw - 24px));
  display: grid; grid-template-columns: 52px minmax(0, 1.2fr) auto minmax(0, 1.4fr) auto auto auto; align-items: center; gap: 14px;
  padding: 10px 14px; border-radius: 18px; color: #fff; background: rgba(6,31,71,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -18px rgba(0,0,0,.6); animation: nowbar-in .3s ease;
}
.nowbar[hidden] { display: none; }
@keyframes nowbar-in { from { opacity: 0; transform: translate(-50%, 20px); } }
.nowbar__art .ep-cover { width: 52px; padding: 0; border-radius: 10px; }
.nowbar__art .ep-cover > span:not(.ep-cover__icon) { display: none; }
.nowbar__art .ep-cover__icon { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.nowbar__art .ep-cover__icon svg { width: 22px; height: 22px; }
.nowbar__info { min-width: 0; }
.nowbar__title { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .95rem; }
.nowbar__when { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .78rem; color: #aebbd4; }
.nowbar__controls { display: flex; align-items: center; gap: 6px; }
.nowbar__btn {
  min-width: 38px; height: 38px; padding: 0 8px; border: 0; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff;
  font: 700 .8rem var(--font-body); cursor: pointer; text-decoration: none; display: inline-grid; place-items: center;
}
.nowbar__btn:hover { background: rgba(255,255,255,.2); color: #fff; }
.nowbar__play { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); cursor: pointer; }
.nowbar__play svg { width: 22px; height: 22px; }
.nowbar__play .i-pause, .nowbar.is-playing .nowbar__play .i-play { display: none; }
.nowbar.is-playing .nowbar__play .i-pause { display: block; }
.nowbar.is-loading .nowbar__play { animation: gp-pulse 1s ease-in-out infinite; }
.nowbar__seek { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: .76rem; font-variant-numeric: tabular-nums; color: #c4d1e8; }
.nowbar__seek input { width: 100%; min-width: 0; accent-color: var(--gold-500); }
/* Lift the floating buttons above the bar while it's showing */
body.has-nowbar .gp-r-launch, body.has-nowbar .sticky-give, body.has-nowbar .announce { bottom: 104px; }
body.has-nowbar .site-footer { padding-bottom: 96px; }
@media (max-width: 900px) {
  .nowbar { grid-template-columns: 44px minmax(0, 1fr) auto auto; grid-template-areas: "art info controls close" "seek seek seek seek"; row-gap: 8px; bottom: 10px; padding: 10px 12px; }
  .nowbar__art { grid-area: art; } .nowbar__art .ep-cover { width: 44px; }
  .nowbar__info { grid-area: info; } .nowbar__controls { grid-area: controls; } .nowbar__close { grid-area: close; }
  .nowbar__seek { grid-area: seek; }
  .nowbar__speed, .nowbar__ext { display: none; }
  .nowbar__controls [data-skip] { display: none; }
  body.has-nowbar .gp-r-launch, body.has-nowbar .sticky-give, body.has-nowbar .announce { bottom: 128px; }
}

/* ---------- Bible study ---------- */
.study-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; align-items: start; }
.study {
  display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); scroll-margin-top: 96px;
}
.study:target, .study:has(.study__more[open]) { border-color: var(--gold-500); }
.study__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink-soft); }
.study__meta .tag { margin: 0; }
.study h3 { margin: 0; font-size: 1.2rem; }
.study__why { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.study__why b { color: var(--navy-800); }
.study__more summary { cursor: pointer; font-weight: 700; color: var(--navy-700); padding: 6px 0; }
.study__more summary:hover { color: var(--navy-600); }
.study__more h4 {
  margin: 18px 0 6px; font: 700 .78rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600);
}
.study__more ul, .study__more ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .95rem; }
.study__more p { margin: 0; font-size: .95rem; }
.study__prayers li::marker { color: var(--gold-600); font-weight: 700; }
.study__refs { display: flex; flex-wrap: wrap; gap: 6px; }
.study__refs .tag { margin: 0; text-decoration: none; }
.study__refs .tag:hover { background: var(--navy-100); }
.study__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.study-credit { margin-top: 28px; }

/* Without JavaScript the full studies show as cards; with it, poster rows replace them. */
html:not(.no-js) .study-library { display: none; }
.no-js .shelves { display: none; }
#study-print { display: none; }

/* ---------- Bible study posters (Netflix-style rows) ---------- */
.shelves { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; margin-top: 8px; } /* rows scroll inside, never widen the page */
.shelf__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.shelf__head h3 { margin: 0; font-size: 1.3rem; }
.shelf__head h3 span { margin-left: 6px; font: 600 .85rem var(--font-body); color: var(--ink-soft); }
.shelf__all { border: 0; background: none; padding: 4px 0; font: 700 .88rem var(--font-body); color: var(--navy-700); cursor: pointer; }
.shelf__all:hover { text-decoration: underline; }
.shelf__viewport { position: relative; margin: 0 calc(var(--gutter) * -1); }
.shelf__track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 10px var(--gutter) 22px; scroll-padding: 0 var(--gutter);
}
.shelf__track::-webkit-scrollbar { display: none; }
.shelf__arrow {
  position: absolute; top: 10px; bottom: 22px; z-index: 3; width: 48px; border: 0; cursor: pointer;
  font-size: 2.2rem; line-height: 1; color: #fff; opacity: 0; transition: opacity .2s;
}
.shelf__arrow--prev { left: 0; background: linear-gradient(90deg, rgba(6,31,71,.75), transparent); }
.shelf__arrow--next { right: 0; background: linear-gradient(270deg, rgba(6,31,71,.75), transparent); }
.shelf__viewport:hover .shelf__arrow { opacity: 1; }
@media (hover: none) { .shelf__arrow { display: none; } }

.poster {
  position: relative; flex: 0 0 clamp(220px, 24vw, 290px); aspect-ratio: 16 / 10; overflow: hidden; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 18px; border-radius: 14px;
  color: #fff; text-decoration: none; isolation: isolate;
  background:
    radial-gradient(circle at var(--x) var(--y), var(--glow), transparent 62%),
    linear-gradient(var(--angle), var(--navy-700), var(--navy-900) 70%);
  box-shadow: 0 10px 24px -14px rgba(6,31,71,.7);
  transition: transform .25s ease, box-shadow .25s ease;
}
.poster::before { /* soft vignette so the title always reads */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(4,15,38,.85));
}
.poster:hover, .poster:focus-visible { transform: translateY(-4px) scale(1.04); box-shadow: 0 22px 40px -18px rgba(6,31,71,.85); color: #fff; z-index: 2; }
.poster:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.poster__num {
  position: absolute; right: -6px; top: -14px; z-index: -1; font-family: var(--font-display); font-weight: 600;
  font-size: 6.2rem; line-height: 1; color: rgba(255,255,255,.07); letter-spacing: -.03em;
}
.poster__icon { position: absolute; left: 16px; top: 14px; color: var(--accent); }
.poster__icon svg { width: 28px; height: 28px; stroke-width: 1.7; filter: drop-shadow(0 2px 8px var(--glow)); }
.poster__text { display: block; transition: transform .25s ease; }
.poster__series { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.1; }
.poster__sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: .86rem; color: #d4def0; line-height: 1.3; }
.poster__teaser {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  max-height: 0; opacity: 0; margin-top: 0; font-size: .78rem; line-height: 1.35; color: #c4d1e8;
  transition: max-height .25s ease, opacity .25s ease, margin-top .25s ease;
}
.poster:hover .poster__teaser, .poster:focus-visible .poster__teaser { max-height: 3em; opacity: 1; margin-top: 8px; }
.poster.is-seen::after { /* "you've opened this" bar, like a watched progress bar */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold-500);
}

/* Searching or filtering: rows become a wrapped grid of matches */
.shelves.is-grid .shelf__viewport { margin: 0; }
.shelves.is-grid .shelf__track { flex-wrap: wrap; overflow: visible; padding: 4px 0 8px; }
.shelves.is-grid .shelf__arrow, .shelves.is-grid .shelf__all { display: none; }
.shelves.is-grid .poster { flex: 0 0 calc((100% - 28px) / 3); }
@media (max-width: 900px) { .shelves.is-grid .poster { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 560px) { .shelves.is-grid .poster { flex-basis: 100%; } }

/* Worship hero: featured cards fanned out like album covers */
.worship-hero .hero__verse {
  margin: 30px 0 0; max-width: 46ch; padding-left: 14px; border-left: 2px solid var(--gold-500); font-size: .92rem; color: #aebbd4;
}
.worship-hero .hero__verse cite { display: block; margin-top: 4px; font-style: normal; font-weight: 700; color: var(--gold-300); }
.fan { position: relative; height: 430px; }
.fan .poster--fan { position: absolute; width: 51%; flex: none; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
.fan .poster--fan:nth-child(1) { left: 0; top: 24px; transform: rotate(-7deg); }
.fan .poster--fan:nth-child(2) { right: 0; top: 0; transform: rotate(6deg); }
.fan .poster--fan:nth-child(3) { left: 4%; top: 225px; transform: rotate(4deg); }
.fan .poster--fan:nth-child(4) { right: 2%; top: 240px; transform: rotate(-4deg); }
.fan .poster--fan:hover, .fan .poster--fan:focus-visible { transform: rotate(0) scale(1.06); z-index: 3; }
@media (max-width: 900px) {
  .fan { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .fan .poster--fan:nth-child(n) { position: relative; inset: auto; width: auto; transform: none; }
  .fan .poster--fan .poster__series { font-size: 1.05rem; }
  .fan .poster--fan .poster__sub { display: none; }
}

/* Worship at a glance: four tappable tiles */
.wtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .wtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wtile {
  display: flex; flex-direction: column; gap: 2px; padding: 20px; border-radius: var(--radius); text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.wtile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.wtile__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 14px; background: var(--gold-100); color: var(--gold-600); }
.wtile__icon svg { width: 24px; height: 24px; }
.wtile__big { font: 600 2.6rem/1 var(--font-display); color: var(--navy-900); margin-bottom: 8px; }
.wtile b { font-size: 1.02rem; color: var(--navy-900); }
.wtile span:last-child { font-size: .86rem; color: var(--ink-soft); }

/* A single row opened up with "See all" (contemporary songs) */
.shelf.is-open .shelf__viewport { margin: 0; }
.shelf.is-open .shelf__track { flex-wrap: wrap; overflow: visible; padding: 10px 0 8px; }
.shelf.is-open .shelf__arrow { display: none; }
.shelf.is-open .poster { flex: 0 0 calc((100% - 28px) / 3); }
@media (max-width: 900px) { .shelf.is-open .poster { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 560px) { .shelf.is-open .poster { flex-basis: 100%; } }

/* Contemporary songs (Worship page) */
.song { display: flex; flex-direction: column; gap: 10px; }
.song h3 { margin: 0; }
.song__artist { margin: 0; color: var(--ink-soft); font-weight: 600; }
.song__verse { margin: 0; padding-left: 16px; border-left: 3px solid var(--gold-500); }
.song__verse p { margin: 0; font: italic 500 1.1rem/1.5 var(--font-display); color: var(--navy-800); }
.song__verse cite { display: block; margin-top: 6px; font: 700 .85rem var(--font-body); font-style: normal; }
.song__verse cite a { color: var(--gold-600); }
.song__why { margin: 0; color: var(--ink-soft); }
.song__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.song-modal__content { display: grid; gap: 16px; padding-top: 22px; }
.song-modal__video, .song-modal .video-card__frame { border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(6,31,71,.7); }
.poster__badge {
  position: absolute; right: 12px; top: 12px; padding: 3px 9px; border-radius: 999px;
  background: rgba(255,255,255,.16); backdrop-filter: blur(4px); font-size: .72rem; font-weight: 700; letter-spacing: .02em;
}
.song-modal__content .song__verse p { font-size: 1.3rem; }
.song-modal__content .song__why { font-size: 1.05rem; }
.song-modal__content .song__why b { color: var(--navy-800); }

/* ---------- Study dialog ---------- */
html.modal-open { overflow: hidden; }
.study-modal {
  width: min(860px, calc(100vw - 24px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 20px;
  background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(4,15,38,.8); overflow-y: auto;
}
.study-modal::backdrop { background: rgba(4,15,38,.72); backdrop-filter: blur(4px); }
.study-modal[open] { animation: study-in .25s ease; }
@keyframes study-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.study-modal__art {
  position: relative; isolation: isolate; overflow: hidden; min-height: 240px; display: flex; align-items: flex-end;
  padding: 28px clamp(20px, 4vw, 40px); color: #fff;
  background:
    radial-gradient(circle at var(--x) var(--y), var(--glow), transparent 65%),
    linear-gradient(var(--angle), var(--navy-700), var(--navy-900) 70%);
}
.study-modal__art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(4,15,38,.8)); }
.study-modal__art .poster__num { font-size: 11rem; right: 10px; top: -24px; }
.study-modal__art .poster__icon { left: clamp(20px, 4vw, 40px); top: 26px; }
.study-modal__art .poster__icon svg { width: 40px; height: 40px; }
.study-modal__close {
  position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(4,15,38,.55); color: #fff; font-size: 1.7rem; line-height: 1;
}
.study-modal__close:hover { background: rgba(4,15,38,.85); }
.study-modal__theme { font: 700 .74rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.study-modal__title h2 { color: #fff; margin: 6px 0 6px; font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.study-modal__meta { margin: 0; font-size: .85rem; color: #c4d1e8; }
.study-modal__body { padding: 24px clamp(20px, 4vw, 40px) 34px; }
.study-modal__why { margin: 0 0 16px; font-size: 1.05rem; color: var(--ink-soft); }
.study-modal__why b { color: var(--navy-800); }
.study-modal__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.study-modal__step { display: flex; gap: 8px; margin-left: auto; }
.study-modal__actions [data-read] svg { width: 18px; height: 18px; }
/* Hymn dialog (Worship page) reuses the study dialog; lyrics keep their verse numbers in the gutter */
.hymn-modal { --hymn-size: 1; }
.hymn-modal__size { display: flex; gap: 6px; }
.hymn-modal__lyrics .hymn__body { padding: 22px 0 0 34px; }
.hymn-modal__lyrics .hymn__verse::before { left: -32px; }
@media (max-width: 640px) {
  .hymn-modal__lyrics .hymn__body { padding: 20px 0 0; }
  .hymn-modal__lyrics .hymn__verse { padding-left: 26px; }
  .hymn-modal__lyrics .hymn__verse::before { left: 0; }
}
.study-modal__actions [data-read][aria-pressed="true"] { box-shadow: 0 0 0 4px rgba(242,170,31,.3); }
.reader-rate {
  min-width: 44px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--navy-700); font: 700 .82rem var(--font-body); cursor: pointer;
}
.reader-rate:hover { border-color: var(--navy-600); }
/* The sentence being read aloud */
.study-modal .is-reading { background: var(--gold-100); border-radius: 8px; box-shadow: 0 0 0 6px var(--gold-100); transition: background .2s, box-shadow .2s; }
.study-modal__title.is-reading { background: none; box-shadow: none; }
.study-modal__title.is-reading h2 { text-decoration: underline 3px var(--gold-500); text-underline-offset: 6px; }
.study-modal__step .btn[disabled] { opacity: .4; pointer-events: none; }
.study-modal__content h4 { margin: 24px 0 8px; font: 700 .78rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); }
.study-modal__content ul, .study-modal__content ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.study-modal__content p { margin: 0; }
.study-modal__more-title { margin: 34px 0 6px; font-size: 1.15rem; }
.study-modal__more-title span { color: var(--gold-600); }
.study-modal__more { display: flex; gap: 12px; overflow-x: auto; padding: 8px 2px 14px; scrollbar-width: thin; }
.study-modal__more .poster { flex-basis: 220px; }
@media (max-width: 560px) {
  .study-modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .study-modal__art { min-height: 200px; }
  .study-modal__step { margin-left: 0; }
}

@media print {
  body.print-study > *:not(main), body.print-study dialog { display: none !important; }
  body.print-study main > section:not(#studies), body.print-study #studies .wrap > *:not(#study-print) { display: none !important; }
  body.print-study #study-print { display: block !important; }
  body.print-study, body.print-study #studies { background: #fff; padding: 0; }
  body.print-study .study { border: 0; box-shadow: none; padding: 0; }
  body.print-study .study__more summary, body.print-study .study__actions { display: none !important; }
  body.print-study .study__refs .tag { border: 1px solid #999; }
}

/* ---------- Monthly prayer theme (Prayer page) ---------- */
.ptheme-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ptheme-nav [hidden] { display: none; }
.ptheme-nav [data-ptheme-print] { margin-left: auto; }
.ptheme {
  padding: clamp(22px, 4vw, 36px); background: var(--paper); border: 1px solid var(--line);
  border-top: 4px solid var(--gold-500); border-radius: var(--radius); box-shadow: var(--shadow-sm); scroll-margin-top: 96px;
}
.ptheme__year { margin: 0 0 12px; font-size: .9rem; color: var(--ink-soft); }
.ptheme__year b { color: var(--navy-800); }
.ptheme__head h3 { margin: 10px 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); }
.ptheme__focus { margin: 0; color: var(--ink-soft); max-width: 70ch; }
.ptheme__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); margin-top: 24px; }
@media (max-width: 820px) { .ptheme__body { grid-template-columns: 1fr; } }
.ptheme h4 { margin: 0 0 12px; font: 700 .78rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); }
.ptheme__verse { margin: 0 0 16px; padding-left: 14px; border-left: 3px solid var(--gold-300); }
.ptheme__verse p { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--navy-800); }
.ptheme__verse cite { display: block; margin-top: 4px; font-style: normal; font-size: .85rem; font-weight: 700; }
.ptheme__verse cite a { color: var(--gold-600); }
.ptheme__points { margin: 0; padding-left: 1.2em; display: grid; gap: 12px; }
.ptheme__points li::marker { color: var(--gold-600); font-weight: 700; }
.ptheme__points b { color: var(--navy-800); }

@media print {
  body.print-ptheme .site-header, body.print-ptheme .site-footer, body.print-ptheme > *:not(main),
  body.print-ptheme main > section:not(#prayer-theme), body.print-ptheme #prayer-theme .section-head,
  body.print-ptheme .ptheme-nav, body.print-ptheme .ptheme[hidden] { display: none !important; }
  body.print-ptheme, body.print-ptheme #prayer-theme { background: #fff; padding: 0; }
  body.print-ptheme .ptheme { border: 0; box-shadow: none; padding: 0; }
  body.print-ptheme .ptheme__body { grid-template-columns: 1fr 1fr; }
}

/* ---------- Follow the podcast (Sermons) ---------- */
.follow-band { background: linear-gradient(135deg, var(--navy-50), #fff7e6); border-bottom: 1px solid var(--line); }
.follow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; align-items: center; }
.follow__text h2 { margin: 6px 0 10px; }
.follow__text p { margin: 0; color: var(--ink-soft); }
.follow__apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.follow__app {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--navy-900); text-decoration: none; font-weight: 700; font-size: 1.05rem;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
a.follow__app:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--navy-100); color: var(--navy-900); }
.follow__app svg { width: 30px; height: 30px; flex: none; }
.follow__app span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.follow__app small { font-weight: 500; font-size: .74rem; color: var(--ink-soft); }
.follow__app svg { color: var(--app, var(--navy-700)); }
.follow__app--rss { --app: #f26522; }
.follow__app--rss .copy-btn { margin-left: auto; }
.follow__how { margin: 16px 0 0; }
@media (max-width: 860px) {
  .follow { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 420px) {
  .follow__apps { grid-template-columns: 1fr; }
}

/* ---------- Teens page: a social-app feel ---------- */
.teen-app, .tviewer, .tshare, .lplay {
  --t-grad: linear-gradient(135deg, #f2aa1f, #ff5a6e 50%, #8b5cf6);
  --t-ring: conic-gradient(from 200deg, #f2aa1f, #ff5a6e, #8b5cf6, #3b82f6, #f2aa1f);
  --t-bg: #f6f4fb; --t-soft: #efeaf8;
}
.teen-app { background: var(--t-bg); }
.tprofile {
  color: #fff; padding: clamp(40px, 7vw, 76px) 0 clamp(34px, 5vw, 50px);
  background:
    radial-gradient(circle at 12% 18%, rgba(139,92,246,.5), transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(242,170,31,.38), transparent 45%),
    radial-gradient(circle at 70% 10%, rgba(255,90,110,.28), transparent 40%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
}
.tprofile__row { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); }
.tprofile__avatar { flex: none; width: clamp(108px, 16vw, 168px); aspect-ratio: 1; border-radius: 50%; padding: 5px; background: var(--t-ring); }
.tprofile__avatar span {
  display: grid; place-content: center; text-align: center; width: 100%; height: 100%; border-radius: 50%;
  background: var(--navy-900); border: 4px solid var(--navy-900);
  font: 600 clamp(2rem, 4.4vw, 3rem)/1 var(--font-display); color: #fff;
}
.tprofile__avatar small { display: block; margin-top: 4px; font: 700 .68rem var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); }
.tprofile__kicker { font: 700 .76rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.tprofile h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); margin: 6px 0 8px; }
.tprofile__bio { margin: 0; max-width: 48ch; font-size: 1.05rem; color: #d4def0; }
.tprofile__stats { list-style: none; display: flex; gap: clamp(18px, 4vw, 34px); padding: 0; margin: 18px 0 22px; }
.tprofile__stats b { display: block; font-size: 1.25rem; color: #fff; }
.tprofile__stats span { font-size: .8rem; color: #aebbd4; }
.tprofile__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tlive {
  display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 0; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); font-weight: 700; font-size: .92rem;
}
.tlive::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ff5a6e; box-shadow: 0 0 0 0 rgba(255,90,110,.7); animation: tpulse 1.8s infinite; }
@keyframes tpulse { 70% { box-shadow: 0 0 0 10px rgba(255,90,110,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,110,0); } }
@media (max-width: 640px) {
  .tprofile__row { flex-direction: column; align-items: flex-start; }
  .tprofile__avatar { width: 96px; }
  .tprofile__avatar span { font-size: 1.7rem; }
}

.tbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 0; border-radius: 12px;
  background: rgba(255,255,255,.14); color: #fff; font: 700 .92rem var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.tbtn:hover { background: rgba(255,255,255,.24); color: #fff; }
.tbtn:active { transform: scale(.96); }
.tbtn svg { width: 18px; height: 18px; }
.tbtn--glow, .tbtn--glow:hover { background: var(--t-grad); color: #fff; box-shadow: 0 10px 24px -12px rgba(255,90,110,.9); }
.tbtn--glow:hover { transform: translateY(-1px); }
.tbtn--icon { padding: 11px 13px; }
.tbtn--icon svg { transform: rotate(-45deg); }
.tbtn.is-pop { animation: tpop .6s ease; }
@keyframes tpop { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }

/* Stories */
.tstories { display: flex; gap: 16px; overflow-x: auto; padding: 22px 2px 14px; scrollbar-width: none; }
.tstories::-webkit-scrollbar { display: none; }
.tstory {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 80px; padding: 0;
  background: none; border: 0; cursor: pointer; text-decoration: none; color: var(--ink); font: 600 .8rem var(--font-body);
}
.tstory__ring { display: grid; width: 74px; height: 74px; padding: 3px; border-radius: 50%; background: var(--t-ring); transition: transform .2s; }
.tstory:hover .tstory__ring { transform: scale(1.06); }
.tstory__ring--quiet { background: linear-gradient(135deg, var(--gold-300), var(--navy-600)); }
.tstory__ring.is-seen { background: #cdd3df; }
.tstory__img { display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--t-bg); background: #fff; color: var(--navy-700); }
.tstory__img svg { width: 28px; height: 28px; }
.tstory__img--today { background: radial-gradient(circle at 30% 25%, #8b5cf6, var(--navy-900)); color: var(--gold-300); }

/* Sticky tabs */
.ttabs { position: sticky; top: 76px; z-index: 30; background: rgba(246,244,251,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #e3ddef; }
.ttabs .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ttabs .wrap::-webkit-scrollbar { display: none; }
.ttabs a { flex: none; padding: 14px 14px 12px; font: 700 .9rem var(--font-body); color: var(--ink-soft); text-decoration: none; border-bottom: 3px solid transparent; }
.ttabs a:hover { color: var(--navy-900); }
.ttabs a.is-active { color: var(--navy-900); border-image: var(--t-grad) 1; border-bottom: 3px solid; }

/* Sections and posts */
.tsection { padding: clamp(28px, 5vw, 48px) 0; scroll-margin-top: 130px; }
.tsection__head { margin-bottom: 18px; }
.tsection__head h2 { margin: 0 0 4px; font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
.tsection__head p { margin: 0; color: var(--ink-soft); }
.tfeed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 1000px) { .tfeed { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tfeed { grid-template-columns: 1fr; } }
.tpost {
  display: flex; flex-direction: column; gap: 14px; padding: 18px; scroll-margin-top: 140px;
  background: #fff; border: 1px solid #ebe5f5; border-radius: 22px; box-shadow: 0 14px 30px -24px rgba(6,31,71,.55);
}
.tpost:target { box-shadow: 0 0 0 3px #ff5a6e, 0 14px 30px -24px rgba(6,31,71,.55); }
.tpost__head { display: flex; align-items: center; gap: 10px; }
.tpost__head b { display: block; font-size: .95rem; color: var(--navy-900); }
.tpost__head div span { font-size: .8rem; color: var(--ink-soft); }
.tpost__av {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy-900); color: #fff; font: 600 .85rem var(--font-display); box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ff5a6e;
}
.tpost__text { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.tpost__title { margin: 0; font-size: 1.3rem; }
.tpost__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tpost .tbtn:not(.tbtn--glow) { background: var(--t-soft); color: var(--navy-900); }
.tpost .tbtn:not(.tbtn--glow):hover { background: #e2daf3; }

.tverse {
  display: flex; flex-direction: column; justify-content: center; min-height: 260px; padding: 28px 24px; border-radius: 16px; color: #fff; text-align: center;
  background:
    radial-gradient(circle at 15% 15%, rgba(139,92,246,.6), transparent 50%),
    radial-gradient(circle at 90% 90%, rgba(242,170,31,.5), transparent 50%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
}
.tverse__text { margin: 0; font: 600 clamp(1.25rem, 2.4vw, 1.5rem)/1.35 var(--font-display); }
.tverse__ref { margin: 14px 0 0; font-weight: 700; color: var(--gold-300); font-size: .9rem; }
.tchallenge { margin: 0; padding: 22px 20px; border-radius: 16px; background: linear-gradient(135deg, #fff4dc, #ffe3ea 60%, #ece2ff); font: 600 1.35rem/1.35 var(--font-display); color: var(--navy-900); }
.tstreak { margin-left: auto; padding: 5px 10px; border-radius: 999px; background: #fff1e0; color: #a14a00; font-weight: 700; font-size: .8rem; white-space: nowrap; }
.tpost [data-done][aria-pressed="true"] { background: #e7f5ee; color: var(--success); box-shadow: none; }
.tlive-big { margin: 0; font: 600 1.6rem/1.2 var(--font-display); background: var(--t-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tlive-big small { display: block; margin-top: 6px; font: 600 .9rem var(--font-body); color: var(--ink-soft); -webkit-text-fill-color: var(--ink-soft); }
.tpost .schedule-item { grid-template-columns: 60px 1fr; padding: 12px; border-radius: 14px; }
.tpost .schedule-item p:not(:first-of-type), .tpost .schedule-item .schedule-item__actions .btn--navy { display: none; }
.tpost .schedule-item__actions { grid-column: 1 / -1; justify-content: flex-start; }
.tzoom { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: var(--ink-soft); }
.tzoom b { color: var(--navy-900); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Reels */
.treels { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.treels::-webkit-scrollbar { display: none; }
.treel {
  position: relative; flex: 0 0 clamp(220px, 26vw, 270px); scroll-snap-align: start; overflow: hidden;
  background: var(--navy-900); color: #fff; border-radius: 20px; box-shadow: 0 14px 30px -20px rgba(6,31,71,.8);
}
.treel__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; cursor: pointer; background: #000; }
.treel__media img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s, transform .3s; }
.treel__media:hover img { opacity: 1; transform: scale(1.04); }
.treel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(4,15,38,.9)); }
.treel__play { position: absolute; left: 50%; top: 42%; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.treel__play svg { width: 26px; height: 26px; margin-left: 3px; }
.treel .video-card__frame { display: block; width: 100%; aspect-ratio: 4 / 5; border: 0; }
.treel__body { position: absolute; left: 0; right: 52px; bottom: 0; z-index: 1; padding: 14px 16px; pointer-events: none; }
.treel__body b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .95rem; line-height: 1.25; }
.treel__body span { font-size: .78rem; color: #c4d1e8; }
.treel__share {
  position: absolute; right: 10px; bottom: 12px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; cursor: pointer; backdrop-filter: blur(6px);
}
.treel__share:hover { background: var(--t-grad); }
.treel__share svg { width: 18px; height: 18px; transform: rotate(-45deg); }
.treel:has(iframe) .treel__body, .treel:has(iframe) .treel__share { display: none; }

/* Learn */
.tsteps { list-style: none; margin: 0 0 22px; padding: 4px 2px 14px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; counter-reset: none; }
.tsteps::-webkit-scrollbar { display: none; }
.tsteps li { flex: 0 0 clamp(200px, 22vw, 230px); scroll-snap-align: start; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid #ebe5f5; font-size: .9rem; color: var(--ink-soft); }
.tsteps li span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: var(--t-grad); color: #fff; font-weight: 700; }
.tsteps li b { display: block; margin-bottom: 4px; color: var(--navy-900); font-size: 1rem; }
.tlearn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.tlearn .tlesson--wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .tlearn { grid-template-columns: 1fr; } }
.tchips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tchips li { padding: 6px 12px; border-radius: 999px; background: var(--t-soft); color: var(--navy-800); font-weight: 600; font-size: .82rem; }
.tquote { margin: 0; padding-left: 12px; border-left: 3px solid #ff5a6e; font: italic 500 1rem/1.4 var(--font-display); color: var(--navy-800); }
.tquote cite { display: block; margin-top: 4px; font: 700 .8rem var(--font-body); font-style: normal; color: var(--gold-600); }

/* Interactive baptismal class: streak bar, lesson cards with a part path, and the player */
.tlearnbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 18px; padding: 14px 18px; border-radius: 20px; background: #fff; border: 1px solid #ebe5f5; }
.tlearnbar[hidden] { display: none; }
.tlearnbar__flame, .tlearnbar__xp { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-soft); }
.tlearnbar__flame b, .tlearnbar__xp b { font-size: 1.5rem; line-height: 1; }
.tlearnbar__flame:not(.is-lit) b { filter: grayscale(1); opacity: .45; }
.tlearnbar__flame strong, .tlearnbar__xp strong { font: 700 1.25rem var(--font-display); color: var(--navy-900); }
.tlearnbar__week { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.tlearnbar__week li { display: grid; justify-items: center; gap: 3px; font-size: .7rem; font-weight: 700; color: var(--ink-soft); }
.tlearnbar__week b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--t-soft); font-size: .85rem; }
.tlearnbar__week li.is-on b { background: var(--t-grad); }
.tlearnbar__week li.is-today span { color: #ff5a6e; }
.tlearnbar__hint { flex: 1 1 220px; margin: 0; font-size: .88rem; color: var(--ink-soft); }
.tlesson__meter { height: 8px; border-radius: 8px; background: var(--t-soft); overflow: hidden; }
.tlesson__meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--t-grad); transition: width .6s ease; }
.tpath { list-style: none; margin: 0; padding: 4px 0; display: grid; grid-template-columns: repeat(var(--parts, 4), minmax(0, 1fr)); gap: 6px; }
@media (max-width: 400px) { .tpath { --node: 44px; } }
.tpath:empty { display: none; }
.tpath li { display: grid; justify-items: center; gap: 6px; text-align: center; position: relative; }
.tpath li + li::before { content: ""; position: absolute; top: calc(var(--node, 52px) / 2 - 1px); right: calc(50% + var(--node, 52px) / 2); width: calc(100% + 6px - var(--node, 52px)); height: 3px; border-radius: 3px; background: var(--t-soft); }
.tpath small { font-size: .72rem; line-height: 1.25; color: var(--ink-soft); }
.tpath__node { display: grid; place-items: center; width: var(--node, 52px); height: var(--node, 52px); border: 0; border-radius: 50%; background: var(--t-soft); font-size: 1.4rem; cursor: pointer; box-shadow: inset 0 -4px 0 rgba(6,31,71,.08); transition: transform .15s; }
.tpath__node:hover { transform: translateY(-2px); }
.tpath__node:active { transform: scale(.94); }
.tpath__node.is-done { background: var(--t-grad); color: #fff; font-size: 1.25rem; font-weight: 700; box-shadow: inset 0 -4px 0 rgba(0,0,0,.15); }
.tpath__node.is-next { background: #fff; box-shadow: 0 0 0 3px #ff5a6e, inset 0 -4px 0 rgba(6,31,71,.08); animation: tnext 1.8s ease-in-out infinite; }
@keyframes tnext { 50% { box-shadow: 0 0 0 6px rgba(255,90,110,.35), inset 0 -4px 0 rgba(6,31,71,.08); } }
.tlesson .tbtn[data-lesson-start][hidden] { display: none; }

/* Bible trivia: game cards and the in-game HUD (the player reuses .lplay) */
.tgames { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .tgames { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tgames { gap: 12px; } }
.tgame { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 250px; padding: 20px; border-radius: 24px; color: #fff; overflow: hidden; box-shadow: 0 18px 36px -24px rgba(6,31,71,.7); }
.tgame::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.14); }
.tgame--jesus { background: linear-gradient(150deg, #f2aa1f, #ff5a6e); }
.tgame--characters { background: linear-gradient(150deg, #8b5cf6, #3b82f6); }
.tgame--church { background: linear-gradient(150deg, #ff5a6e, #c2410c); }
.tgame--family { background: linear-gradient(150deg, #0ea5a4, #15803d); }
.tgame__emoji { position: relative; z-index: 1; font-size: 2.6rem; line-height: 1; filter: drop-shadow(0 6px 10px rgba(0,0,0,.2)); }
.tgame h3 { position: relative; z-index: 1; margin: 6px 0 0; color: #fff; font-size: 1.25rem; line-height: 1.2; }
.tgame p { position: relative; z-index: 1; margin: 0; font-size: .9rem; color: rgba(255,255,255,.9); }
.tgame__foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.tgame__best { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.92); }
.tgame__play { padding: 10px 16px; border: 0; border-radius: 999px; background: #fff; color: var(--navy-900); font: 700 .9rem var(--font-body); cursor: pointer; box-shadow: 0 4px 0 rgba(0,0,0,.18); transition: transform .1s; }
.tgame__play:hover { transform: translateY(-1px); }
.tgame__play:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,.18); }
@media (max-width: 480px) { .tgame { min-height: 220px; padding: 16px; } .tgame h3 { font-size: 1.05rem; } .tgame p { font-size: .82rem; } }
.ltrivia .lplay__frame { grid-template-rows: auto auto minmax(0, 1fr) auto; }
.ltrivia__lives { display: flex; gap: 2px; font-size: 1.05rem; }
.ltrivia__lives span.is-lost { filter: grayscale(1); opacity: .3; }
.ltrivia__lives.is-hit { animation: lshake .4s; }
.ltrivia__count { flex: 1; text-align: center; font-weight: 700; font-size: .9rem; color: var(--ink-soft); }
.ltrivia__score::before { content: "⭐ "; }
.ltrivia__timer { height: 6px; margin: 0 16px 6px; border-radius: 6px; background: #e4ddf1; overflow: hidden; }
.ltrivia__timer i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--t-grad); transition: width .1s linear; }
.ltrivia__timer.is-low i { background: #ff3b52; }
.ltrivia__intro, .ltrivia .lplay__done { justify-items: center; text-align: center; }
.ltrivia__big { font-size: 4.5rem; line-height: 1; animation: lflame .8s ease; }
.ltrivia__relax { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #ebe5f5; font-weight: 600; font-size: .92rem; color: var(--navy-900); cursor: pointer; }
.ltrivia__relax input { width: 20px; height: 20px; accent-color: #8b5cf6; }
.ltrivia__how { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.ltrivia__ref { font-weight: 700; color: var(--gold-600); white-space: nowrap; }
.ltrivia__streak { margin: 0; color: var(--navy-900); }
.ltrivia__review { width: 100%; text-align: left; border-radius: 16px; background: #fff; border: 1px solid #ebe5f5; }
.ltrivia__review summary { padding: 12px 16px; font-weight: 700; color: var(--navy-900); cursor: pointer; }
.ltrivia__review ul { list-style: none; margin: 0; padding: 0 16px 12px; display: grid; gap: 10px; }
.ltrivia__review li { display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid #f0ebf8; font-size: .9rem; }
.ltrivia__review li span { color: #136b3f; font-weight: 600; }
.ltrivia__review li small { color: var(--gold-600); font-weight: 700; }
.ltrivia__note { margin: 0; padding: 12px 14px; border-radius: 14px; background: #eef6ff; color: var(--navy-900); font-size: .88rem; text-align: left; }
@media (prefers-reduced-motion: reduce) { .ltrivia__big, .ltrivia__lives.is-hit { animation: none; } }

html.lplay-open { overflow: hidden; }
.lplay { position: fixed; inset: 0; z-index: 220; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; background: rgba(4,10,24,.78); }
.lplay[hidden] { display: none; }
.lplay__frame { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; width: min(560px, 100%); height: min(820px, 100%); border-radius: 26px; background: var(--t-bg); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
@media (max-width: 600px) { .lplay__frame { border-radius: 0; height: 100%; height: 100dvh; } }
.lplay__top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.lplay__close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--ink-soft); font-size: 2rem; line-height: 1; cursor: pointer; }
.lplay__close:hover { background: var(--t-soft); color: var(--navy-900); }
.lplay__bar { flex: 1; height: 12px; border-radius: 12px; background: #e4ddf1; overflow: hidden; }
.lplay__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--t-grad); transition: width .45s cubic-bezier(.3,1.4,.6,1); }
.lplay__xp { flex: none; font-weight: 700; color: var(--gold-600); }
.lplay__xp.is-pop { animation: tpop .6s ease; }
.lplay__body { overflow-y: auto; padding: 6px 22px 18px; outline: none; }
.lplay__slide { display: grid; gap: 14px; animation: lin .35s ease; }
@keyframes lin { from { transform: translateX(24px); } }
.lplay__kicker { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ff5a6e; }
.lplay__title { margin: 0; font-size: clamp(1.35rem, 4.6vw, 1.7rem); line-height: 1.2; color: var(--navy-900); }
.lplay__slide > p { margin: 0; font-size: 1.05rem; line-height: 1.55; color: var(--navy-800); }
.lplay__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.lplay__list li { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #ebe5f5; font-size: .98rem; color: var(--navy-800); }
.lplay__verse { margin: 0; padding: 16px 18px; border-radius: 18px; background: #fff; border-left: 4px solid #ff5a6e; }
.lplay__verse p { margin: 0; font: italic 500 1.08rem/1.5 var(--font-display); color: var(--navy-900); }
.lplay__verse cite { display: block; margin-top: 8px; font: 700 .82rem var(--font-body); font-style: normal; color: var(--gold-600); }
.lplay__verse--fill p { font-size: 1.15rem; }
.lplay__blank { display: inline-block; min-width: 4em; padding: 0 6px; border-bottom: 3px solid #8b5cf6; font-style: normal; font-weight: 700; color: #6d3fe0; text-align: center; }
.lplay__opts { display: grid; gap: 10px; }
.lplay__opt, .lplay__chip, .lplay__m, .lplay__bin { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 2px solid #e4ddf1; border-radius: 16px; background: #fff; color: var(--navy-900); font: 600 1rem/1.35 var(--font-body); text-align: left; cursor: pointer; box-shadow: 0 3px 0 #e4ddf1; transition: transform .1s, border-color .15s, background .15s; }
.lplay__opt:active, .lplay__chip:active, .lplay__m:active, .lplay__bin:active { transform: translateY(2px); box-shadow: 0 1px 0 #e4ddf1; }
.lplay__opt kbd, .lplay__bin kbd { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid #e4ddf1; border-radius: 8px; font: 700 .78rem var(--font-body); color: var(--ink-soft); }
.lplay__opt.is-picked, .lplay__m.is-picked, .lplay__chip.is-picked { border-color: #8b5cf6; background: #f3edff; box-shadow: 0 3px 0 #8b5cf6; }
.lplay__opt.is-right, .lplay__m.is-right, .lplay__chip.is-right { border-color: #2fb06f; background: #e8f8ef; color: #136b3f; box-shadow: 0 3px 0 #2fb06f; }
.lplay__opt.is-wrong, .lplay__m.is-wrong, .lplay__chip.is-wrong, .lplay__bin.is-wrong { border-color: #ff5a6e; background: #fff0f2; animation: lshake .4s; }
.lplay__opt:disabled, .lplay__m:disabled { cursor: default; }
.lplay__opt.is-wrong:disabled { opacity: .55; }
@keyframes lshake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.lplay__slots { list-style: none; margin: 0; padding: 10px; display: grid; gap: 8px; min-height: 120px; border: 2px dashed #d9cff0; border-radius: 18px; counter-reset: slot; }
.lplay__slots:empty::after { content: "Tap the steps below in order"; align-self: center; text-align: center; color: var(--ink-soft); font-size: .9rem; }
.lplay__slots .lplay__chip { counter-increment: slot; }
.lplay__slots .lplay__chip::before { content: counter(slot); display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--t-grad); color: #fff; font-size: .8rem; }
.lplay__chips { display: grid; gap: 8px; }
.lplay__sort { display: grid; gap: 12px; justify-items: center; }
.lplay__card { margin: 0; width: 100%; min-height: 96px; display: grid; place-items: center; padding: 18px; border-radius: 20px; background: var(--t-grad); color: #fff; font: 600 1.15rem/1.35 var(--font-display); text-align: center; box-shadow: 0 16px 30px -18px rgba(255,90,110,.9); }
.lplay__card.is-in { animation: lpop .35s ease; }
@keyframes lpop { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
.lplay__count { font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.lplay__bins { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.lplay__bin { flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 120px; text-align: center; }
.lplay__bin kbd { align-self: center; }
.lplay__bin ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lplay__bin li { padding: 5px 8px; border-radius: 8px; background: var(--t-soft); font-size: .78rem; font-weight: 600; color: var(--navy-800); animation: lpop .3s ease; }
.lplay__match { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lplay__match > div { display: grid; gap: 10px; align-content: start; }
.lplay__m { justify-content: center; min-height: 60px; padding: 10px; text-align: center; font-size: .92rem; }
.lplay__prayer { padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid #ebe5f5; }
.lplay__prayer p { margin: 0 0 10px; font: 500 1rem/1.6 var(--font-display); color: var(--navy-900); }
.lplay__prayer p:last-child { margin: 0; }
.lplay__foot { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #e4ddf1; background: #fff; transition: background .2s; }
.lplay[data-fb="good"] .lplay__foot { background: #e3f7ec; border-color: #bfe9d1; }
.lplay[data-fb="bad"] .lplay__foot { background: #ffecef; border-color: #ffc9d1; }
.lplay__fb:empty { display: none; }
.lplay__fb { margin-bottom: 10px; }
.lplay__fb b { display: block; font-size: 1.05rem; }
.lplay[data-fb="good"] .lplay__fb b { color: #136b3f; }
.lplay[data-fb="bad"] .lplay__fb b { color: #b3263a; }
.lplay__fb p { margin: 4px 0 0; font-size: .92rem; color: var(--navy-800); }
.lplay__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.lplay__btn { flex: 1 1 auto; padding: 15px 18px; border: 0; border-radius: 16px; background: var(--t-grad); color: #fff; font: 700 1rem var(--font-body); cursor: pointer; box-shadow: 0 4px 0 #c53a5a; transition: transform .1s; }
.lplay__btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #c53a5a; }
.lplay__btn:disabled { background: #e4ddf1; color: #9b90b5; box-shadow: none; cursor: default; }
.lplay[data-fb="good"] .lplay__btn:not(.lplay__btn--ghost) { background: #2fb06f; box-shadow: 0 4px 0 #1d7a4c; }
.lplay__btn--ghost { flex: 0 1 auto; background: var(--t-soft); color: var(--navy-900); box-shadow: 0 4px 0 #ddd3ef; }
.lplay__done { justify-items: center; text-align: center; position: relative; padding-top: 18px; }
.lplay__flame { position: relative; display: grid; place-items: center; width: 120px; height: 120px; }
.lplay__flame b { font-size: 6rem; line-height: 1; }
.lplay__flame strong { position: absolute; bottom: 8px; display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 20px; background: #fff; color: #ff5a6e; font: 700 1.3rem var(--font-display); box-shadow: 0 6px 16px -6px rgba(255,90,110,.7); }
.lplay__flame.is-new b { animation: lflame 1.1s ease; }
@keyframes lflame { 0% { transform: scale(.2); filter: grayscale(1); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
.lplay__burst { position: absolute; top: 70px; left: 50%; width: 0; height: 0; pointer-events: none; }
.lplay__burst i { position: absolute; font-style: normal; font-size: 1.4rem; opacity: 0; animation: lburst 1.2s ease-out .15s; }
@keyframes lburst { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) rotate(calc(-1 * var(--a))); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-130px) rotate(calc(-1 * var(--a))); } }
.lplay__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.lplay__stats li { display: grid; padding: 12px 6px; border-radius: 16px; background: #fff; border: 1px solid #ebe5f5; }
.lplay__stats b { font: 700 1.35rem var(--font-display); color: var(--navy-900); }
.lplay__stats span { font-size: .75rem; color: var(--ink-soft); }
.lplay__week { justify-content: center; }
.lplay__badge { margin: 0; padding: 12px 16px; border-radius: 16px; background: #fff7e3; color: var(--navy-900); font-size: .95rem; }
.lplay__note { margin: 0; font-size: .92rem; color: var(--navy-800); }
@media (prefers-reduced-motion: reduce) {
  .lplay__slide, .lplay__card.is-in, .lplay__flame.is-new b, .lplay__burst i, .tpath__node.is-next, .lplay__bin li { animation: none; }
}

/* Crew */
.tcrew { display: flex; gap: clamp(18px, 4vw, 40px); flex-wrap: wrap; margin-bottom: 22px; }
.tcrew__person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; width: 120px; }
.tcrew__ring { display: grid; width: 92px; height: 92px; padding: 3px; margin-bottom: 6px; border-radius: 50%; background: var(--t-ring); }
.tcrew__ring span { display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--t-bg); background: var(--navy-800); color: #fff; font: 600 1.5rem var(--font-display); }
.tcrew__person b { font-size: .9rem; color: var(--navy-900); line-height: 1.25; }
.tcrew__person small { color: var(--ink-soft); }
.tpost--photo { max-width: 620px; }
.tpost--photo .photo { box-shadow: none; border-radius: 14px; }

/* Share menu (when the device has no share sheet) */
.tshare {
  position: absolute; z-index: 90; width: 200px; padding: 8px; background: #fff; border: 1px solid #e3ddef; border-radius: 16px;
  box-shadow: 0 24px 50px -20px rgba(6,31,71,.55);
}
.tshare__title { margin: 4px 10px 6px; font: 700 .72rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.tshare a, .tshare button {
  display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; text-align: left;
  font: 600 .92rem var(--font-body); color: var(--navy-900); text-decoration: none; cursor: pointer;
}
.tshare a:hover, .tshare button:hover { background: var(--t-soft); }

/* "Today" story viewer */
.tviewer { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; background: rgba(4,10,24,.92); }
.tviewer[hidden] { display: none; }
.tviewer__frame {
  position: relative; width: min(420px, 100vw); height: min(780px, 100dvh); overflow: hidden; border-radius: 22px; color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(139,92,246,.6), transparent 50%),
    radial-gradient(circle at 90% 85%, rgba(242,170,31,.5), transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(255,90,110,.35), transparent 45%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
}
@media (max-width: 480px) { .tviewer__frame { border-radius: 0; } }
.tviewer__bars { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 3; display: flex; gap: 4px; }
.tviewer__bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.tviewer__bars i { display: block; height: 100%; width: 0; background: #fff; }
.tviewer__top { position: absolute; left: 14px; right: 10px; top: 26px; z-index: 3; display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.tviewer__top span:not(.tpost__av) { color: #c4d1e8; }
.tviewer__close { margin-left: auto; width: 40px; height: 40px; border: 0; background: none; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.tviewer__slide { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 90px 30px 60px; pointer-events: none; }
.tviewer__slide .tbtn, .tviewer__slide a { pointer-events: auto; }
.tviewer__nav { position: absolute; top: 80px; bottom: 0; z-index: 1; width: 40%; border: 0; background: none; cursor: pointer; }
.tviewer__nav--prev { left: 0; }
.tviewer__nav--next { right: 0; width: 60%; }
.tslide { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.tslide__kicker { font: 700 .78rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.tslide__big { margin: 0; font: 600 clamp(1.5rem, 6vw, 2rem)/1.3 var(--font-display); }
.tslide__ref { margin: -6px 0 0; font-weight: 700; color: var(--gold-300); }

/* Outreach: why GPCO exists */
.why-gpco__verse { margin: 26px 0 0; padding: 22px 24px; border-radius: var(--radius); background: var(--navy-900); color: #fff; }
.why-gpco__verse blockquote { margin: 0; font: italic 500 clamp(1.4rem, 2.6vw, 1.8rem)/1.3 var(--font-display); }
.why-gpco__verse figcaption { margin-top: 8px; font-weight: 700; font-size: .9rem; color: var(--gold-300); }
.why-gpco__cards { display: grid; gap: 14px; }
.why-card {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 20px 22px;
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold-500); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.why-card .icon-badge { margin: 0; }
.why-card h3 { margin: 0 0 4px; font-size: 1.15rem; }
.why-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.why-card cite { display: block; margin-top: 4px; font-style: normal; font-weight: 700; font-size: .85rem; color: var(--gold-600); }
.why-goals { list-style: none; margin: 34px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; font-size: .92rem; color: var(--ink-soft); }
.why-goals b { color: var(--navy-900); }
@media (max-width: 760px) { .why-goals { grid-template-columns: 1fr; } }

/* Outreach: partners & supporters */
.partners-intro { margin-bottom: 30px; }
.partners-video { margin: 0; }
.partners-video .video-card__media, .partners-video .video-card__frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.partners-video figcaption { margin-top: 10px; font-size: .88rem; color: var(--ink-soft); }
.partner-years { margin-bottom: 6px; }
.partner-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 14px; align-items: start; }
@media (max-width: 980px) { .partner-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .partner-groups { grid-template-columns: 1fr; } }
.partner-group { padding: 20px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold-500); border-radius: var(--radius); }
.partner-group h3 { margin: 0 0 12px; font-size: 1.05rem; }
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.partner-list li { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--ink); }
.partner-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.partner-list small { flex: none; font-size: .76rem; font-weight: 700; color: var(--gold-600); }
.partners-banner { margin: 30px auto 0; max-width: 960px; }
.partners-banner img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.partners-banner figcaption { margin-top: 8px; text-align: center; font-size: .88rem; color: var(--ink-soft); }

/* Prayer page: learn to intercede */
.isteps { list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .isteps { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; } .isteps li { flex: 0 0 230px; scroll-snap-align: start; } }
.isteps li { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.istep__n { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 6px; border-radius: 50%; background: var(--navy-900); color: var(--gold-300); font-weight: 700; }
.isteps b { color: var(--navy-900); }
.isteps li > span:not(.istep__n) { font-size: .88rem; color: var(--ink-soft); }
.isteps q { margin-top: 8px; font: italic 500 .9rem/1.4 var(--font-display); color: var(--navy-800); quotes: "“" "”"; }
.isteps cite { font-style: normal; font-weight: 700; font-size: .78rem; }
.isteps cite a { color: var(--gold-600); }
.itabs { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: none; }
.itabs::-webkit-scrollbar { display: none; }
.itab {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper); color: var(--navy-900); font: 600 .92rem var(--font-body);
}
.itab svg { width: 18px; height: 18px; color: var(--gold-600); }
.itab:hover { border-color: var(--navy-600); }
.itab[aria-selected="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.itab[aria-selected="true"] svg { color: var(--gold-300); }
.ipanels { display: grid; gap: 18px; }
.ipanel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 44px); scroll-margin-top: 100px;
  padding: clamp(22px, 4vw, 36px); background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold-500); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
@media (max-width: 860px) { .ipanel { grid-template-columns: 1fr; } }
.ipanel[hidden] { display: none; }
.ipanel__nav { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.ipanel__nav button {
  max-width: 48%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font: 600 .88rem var(--font-body); color: var(--navy-700); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ipanel__nav button:hover { border-color: var(--navy-600); }

/* Phones: compact steps, every topic visible as a tile grid, roomy tap targets */
@media (max-width: 640px) {
  .isteps { display: grid; grid-template-columns: 1fr; gap: 0; overflow: visible; margin-bottom: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
  .isteps li { display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; row-gap: 2px; padding: 14px 16px; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .isteps li:last-child { border-bottom: 0; }
  .istep__n { grid-row: span 3; margin: 0; }
  .isteps q { display: none; }
  .isteps cite { margin-top: 2px; }
  .isteps cite a::after { content: " · read verse ›"; font-weight: 600; }
  .itabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; padding: 0 0 14px; }
  .itab { justify-content: flex-start; min-height: 52px; padding: 10px 12px; border-radius: 14px; font-size: .88rem; line-height: 1.2; text-align: left; white-space: normal; }
  .itab svg { flex: none; }
  .ipanel { padding: 20px 18px; gap: 6px; scroll-margin-top: 90px; }
  .ipanel h3 { font-size: 1.3rem; }
  .ipoints { gap: 12px; }
  .iprayer { margin-top: 18px; padding: 18px; }
  .iprayer__actions .btn { flex: 1; justify-content: center; min-height: 44px; }
  .ipanel__nav { margin-top: 12px; }
  .ipanel__nav button { min-height: 44px; font-size: .84rem; }
}
.ipanel h3 { margin: 12px 0 6px; font-size: 1.5rem; }
.ipanel__why > p { margin: 0 0 6px; color: var(--ink-soft); }
.ipanel h4 { margin: 20px 0 10px; font: 700 .78rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); }
.iverse { margin: 0 0 12px; padding-left: 14px; border-left: 3px solid var(--gold-300); }
.iverse p { margin: 0; font: italic 500 1rem/1.45 var(--font-display); color: var(--navy-800); }
.iverse cite { display: block; margin-top: 4px; font-style: normal; font-weight: 700; font-size: .82rem; }
.iverse cite a { color: var(--gold-600); }
.ipoints { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.ipoints li::marker { color: var(--gold-600); font-weight: 700; }
.iprayer { margin-top: 22px; padding: 20px 22px; border-radius: var(--radius); background: var(--navy-50); }
.iprayer h4 { margin-top: 0; }
.iprayer p { margin: 0 0 14px; font: italic 500 1.05rem/1.55 var(--font-display); color: var(--navy-900); }
.iprayer__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Give page: give in seconds (QR, Zelle, check) */
.give-quick-band { background: linear-gradient(180deg, var(--navy-50), transparent); }
.give-quick { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; align-items: stretch; }
@media (max-width: 1000px) { .give-quick { grid-template-columns: 1fr 1fr; } .gq--scan { grid-row: span 2; } }
@media (max-width: 680px) { .give-quick { grid-template-columns: 1fr; } .gq--scan { grid-row: auto; } }
.gq {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.gq--scan { align-items: center; text-align: center; background: var(--navy-900); border-color: var(--navy-900); color: #dfe7f5; }
.gq__label { display: inline-flex; align-items: center; gap: 8px; font: 700 .76rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.gq__label svg { width: 18px; height: 18px; }
.gq--scan .gq__label { color: var(--gold-300); }
.gq h3 { margin: 0; font-size: 1.25rem; }
.gq__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.gq__tabs button {
  padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: none; color: #dfe7f5;
  font: 600 .82rem var(--font-body); cursor: pointer;
}
.gq__tabs button[aria-selected="true"] { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.gq__qr { display: block; padding: 14px; background: #fff; border-radius: 18px; box-shadow: 0 18px 40px -20px rgba(0,0,0,.7); transition: transform .2s; }
.gq__qr:hover { transform: scale(1.02); }
.gq__qr img { display: block; width: min(240px, 60vw); height: auto; }
.gq__hint { margin: 0; max-width: 34ch; font-size: .88rem; color: #c4d1e8; }
.gq__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gq--scan .btn--navy { background: #fff; color: var(--navy-900); }
.gq--scan .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.gq__big { margin: 0; font: 600 clamp(1.15rem, 2.2vw, 1.4rem) var(--font-display); color: var(--navy-900); word-break: break-all; }
.gq__steps { margin: 4px 0 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-soft); }
.gq__payees { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; }
.gq__payees li { display: grid; padding: 12px 14px; border-radius: 12px; background: var(--navy-50); }
.gq__payees b { font: 600 1.1rem var(--font-display); color: var(--navy-900); }
.gq__payees span { font-size: .82rem; color: var(--ink-soft); }
.gq__small { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.gq__addr { font-style: normal; font-weight: 600; font-size: .92rem; color: var(--navy-900); }

/* Ministries: worship & praise team */
.worship-team { scroll-margin-top: 80px; }
.wt-verse { margin: 4px 0 26px; padding-left: 16px; border-left: 3px solid var(--gold-500); }
.wt-verse blockquote { margin: 0; font: italic 500 1.25rem/1.4 var(--font-display); color: #fff; }
.wt-verse figcaption { margin-top: 6px; font-weight: 700; font-size: .85rem; color: var(--gold-300); }
.wt-heading { margin: 0 0 14px; font: 700 .8rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300) !important; }
.wt-roles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wt-roles li {
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px;
  border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.wt-roles svg { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(242,170,31,.15); color: var(--gold-300); }
.wt-roles b { color: #fff; }
.wt-roles span { font-size: .82rem; color: #aebbd4; }
@media (max-width: 480px) { .wt-roles { grid-template-columns: 1fr; } }
.wt-qualities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
@media (max-width: 860px) { .wt-qualities { grid-template-columns: 1fr; } }
.wt-qualities div { padding: 18px 20px; border-radius: var(--radius); border-top: 3px solid var(--gold-500); background: rgba(255,255,255,.05); }
.wt-qualities b { display: block; margin-bottom: 4px; color: #fff; }
.wt-qualities span { font-size: .9rem; color: #c4d1e8; }
.wt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
@media (max-width: 860px) { .wt-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .wt-steps { grid-template-columns: 1fr; } }
.wt-steps li { padding: 18px; border-radius: var(--radius); background: rgba(255,255,255,.06); font-size: .9rem; color: #c4d1e8; }
.wt-steps li span { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); font-weight: 700; }
.wt-steps li b { display: block; margin-bottom: 4px; color: #fff; }
.wt-form { position: relative; max-width: 820px; margin: 44px auto 0; scroll-margin-top: 90px; color: var(--ink); }
.wt-form[hidden] { display: none; }
.wt-form:not([hidden]) { animation: wt-open .3s ease; }
@keyframes wt-open { from { transform: translateY(12px); } }
.wt-form__close {
  position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--navy-50); color: var(--navy-900); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.wt-form__close:hover { background: var(--navy-100); }
.no-js .wt-form__close, .no-js .wt-open { display: none; }
.wt-open { margin: 36px 0 0; text-align: center; }
.wt-open[hidden] { display: none; }
.wt-form h3 { color: var(--navy-900) !important; margin: 0 0 4px; }
.wt-more-periods { margin-top: 10px; }
.wt-more-periods[hidden] { display: none; }
.wt-default { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--gold-100); color: var(--gold-600); font-size: .75rem; font-weight: 700; }
.wt-more { justify-self: start; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--navy-700); font: 600 .92rem var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wt-more[hidden] { display: none; }

/* Worship page: invitation to the worship & praise team */
.wt-card {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 44px); align-items: center;
  padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); color: #c4d1e8;
  background:
    radial-gradient(circle at 90% 10%, rgba(242,170,31,.22), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(139,92,246,.25), transparent 45%),
    var(--navy-900);
}
@media (max-width: 860px) { .wt-card { grid-template-columns: 1fr; } }
.wt-card .eyebrow { color: var(--gold-300); }
.wt-card h2 { color: #fff; margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.wt-card p { margin: 0 0 20px; max-width: 52ch; }
.wt-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wt-chips li {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff; font-weight: 600; font-size: .92rem;
}
.wt-chips svg { flex: none; width: 22px; height: 22px; color: var(--gold-300); }

/* Worship page: praise beats */
.beat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 6px; }
.beat[hidden] { display: none; }
.beat { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.beat__media { position: relative; }
.beat__media .video-card__media, .beat__media .video-card__frame { border-radius: 0; }
.beat__bpm {
  position: absolute; left: 12px; top: 12px; display: grid; justify-items: center; min-width: 62px; padding: 6px 10px 5px; border-radius: 12px;
  background: rgba(6,31,71,.88); color: #c4d1e8; font: 700 .62rem var(--font-body); letter-spacing: .12em; line-height: 1.1; pointer-events: none;
}
.beat__bpm b { font: 600 1.55rem/1 var(--font-display); letter-spacing: 0; color: var(--gold-300); }
.beat--slow .beat__bpm b { color: #b49cff; }
.beat--mid .beat__bpm b { color: #3ad1b5; }
.beat__media:has(iframe) .beat__bpm { display: none; }
.beat__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.beat__body h3 { margin: 0; font-size: 1.1rem; }
.beat__bpm-text { font: 600 .85rem var(--font-body); color: var(--gold-600); }
.beat__body p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.beat__by { margin-top: 4px; font-size: .78rem; color: var(--ink-soft); }

/* About: ministry director roles under "How we're led" */
.led-roles { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.led-roles li { padding: 5px 11px; border-radius: 999px; background: var(--navy-50); color: var(--navy-800); font-size: .82rem; font-weight: 600; }
.led-roles a { color: inherit; text-decoration: none; }
.led-roles a:hover { text-decoration: underline; }

/* Floating "Share this site" tab (home page) */
.share-site { position: fixed; left: 0; top: 50%; z-index: 58; transform: translateY(-50%); }
.share-site__tab {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 9px 12px 7px; border: 0; cursor: pointer;
  border-radius: 0 14px 14px 0; background: var(--navy-900); color: #fff; font: 700 .72rem var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 12px 30px -12px rgba(6,31,71,.6); transition: padding .2s, background .2s;
}
.share-site__tab:hover { background: var(--navy-700); padding-left: 11px; }
.share-site__tab svg { width: 22px; height: 22px; color: var(--gold-300); }
.share-site__tab span { writing-mode: vertical-rl; transform: rotate(180deg); }
.share-site.is-open .share-site__tab { background: var(--gold-500); color: var(--navy-900); }
.share-site.is-open .share-site__tab svg { color: var(--navy-900); }
.share-site__card {
  position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); width: min(300px, calc(100vw - 80px));
  display: grid; justify-items: center; gap: 8px; padding: 22px 20px 20px; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold-500); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  animation: share-in .2s ease;
}
.share-site__card[hidden] { display: none; }
@keyframes share-in { from { transform: translate(-8px, -50%); } }
.share-site__close { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--navy-50); color: var(--navy-900); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.share-site__label { font: 700 .74rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.share-site__hint { margin: 0; font-size: .86rem; color: var(--ink-soft); }
.share-site__qr { width: 200px; height: auto; padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.share-site__url { margin: 0; font-weight: 700; color: var(--navy-900); word-break: break-all; }
.share-site__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
@media (max-width: 640px) {
  .share-site { top: auto; bottom: 150px; transform: none; }
  .share-site__tab { padding: 10px 7px 10px 5px; }
  .share-site__card { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(320px, calc(100vw - 32px)); }
  .share-site__card { animation: none; }
}
@media print { .share-site { display: none; } }

/* Children's Ministry */
.kids-hero { background-image: radial-gradient(circle at 92% 8%, rgba(255,90,110,.28), transparent 42%), radial-gradient(circle at 70% 100%, rgba(242,170,31,.28), transparent 45%), radial-gradient(circle at 0% 100%, rgba(26,79,156,.6), transparent 55%); }
.kids-hero__visual { position: relative; padding: 18px 0; }
.kids-hero__visual .photo { box-shadow: var(--shadow-lg); border: 4px solid rgba(255,255,255,.14); transform: rotate(1.5deg); }
.kids-hero__visual .photo img { max-height: 460px; }
.kids-chip { position: absolute; z-index: 2; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--navy-900); font-weight: 700; font-size: .92rem; box-shadow: 0 14px 30px -14px rgba(0,0,0,.55); white-space: nowrap; animation: kfloat 5s ease-in-out infinite; }
.kids-chip--a { top: 0; left: -14px; }
.kids-chip--b { top: 44%; right: -16px; animation-delay: -1.6s; }
.kids-chip--c { bottom: 24%; left: -14px; animation-delay: -3.2s; }
@keyframes kfloat { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) { .kids-chip--a, .kids-chip--c { left: 6px; } .kids-chip--b { right: 6px; } }
@media (max-width: 480px) { .kids-chip { font-size: .8rem; padding: 8px 12px; } }

.kids-tracks { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.kids-track { position: relative; display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: 26px; overflow: hidden; }
.kids-track--parents { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #d4def0; }
.kids-track--parents h3 { color: #fff; }
.kids-track--kids { background: linear-gradient(160deg, #fff4dc, #ffe1e6); color: var(--navy-900); }
.kids-track__tag { justify-self: start; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kids-track--kids .kids-track__tag { background: #fff; color: #d6455b; }
.kids-track__emoji { font-size: 3rem; line-height: 1; }
.kids-track h3 { margin: 0; font-size: 1.45rem; }
.kids-track ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.kids-track li { padding-left: 26px; position: relative; }
.kids-track li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--gold-300); }
.kids-track--kids li::before { color: #d6455b; }
.kids-tracks__mid { display: grid; place-items: center; }
.kids-tracks__mid span { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); font-weight: 700; font-size: .82rem; line-height: 1.2; text-align: center; padding: 10px; box-shadow: 0 12px 26px -12px rgba(208,141,12,.9); }
@media (max-width: 860px) {
  .kids-tracks { grid-template-columns: 1fr; gap: 0; }
  .kids-tracks__mid { margin: -14px 0; position: relative; z-index: 2; }
  .kids-tracks__mid span { width: auto; height: auto; border-radius: 999px; padding: 8px 18px; }
}
.kids-reunite { display: flex; align-items: center; gap: 16px; max-width: 760px; margin: 26px auto 0; padding: 18px 22px; border-radius: 20px; background: var(--gold-100); }
.kids-reunite span { font-size: 2rem; }
.kids-reunite p { margin: 0; color: var(--navy-900); }

.kids-gifts { background: linear-gradient(180deg, #fff, #fff7ea); }
.kids-stage { display: grid; grid-template-columns: 1fr 1.2fr; border-radius: 28px; overflow: hidden; background: var(--navy-900); color: #d4def0; box-shadow: var(--shadow-lg); }
.kids-stage__art { position: relative; min-height: 300px; background: radial-gradient(ellipse at 50% 110%, #f2aa1f 0%, rgba(242,170,31,.35) 30%, transparent 60%), linear-gradient(160deg, #3b2a8f, #12224f); overflow: hidden; }
.kids-stage__light { position: absolute; left: 50%; top: -20%; width: 70%; height: 130%; transform: translateX(-50%); background: linear-gradient(180deg, rgba(255,255,255,.35), transparent 75%); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); }
.kids-stage__mic { position: absolute; left: 50%; bottom: 18%; transform: translateX(-50%); font-size: 5rem; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
.kids-note { position: absolute; color: #ffd27a; font-size: 2.2rem; animation: knote 4s ease-in-out infinite; }
.kids-note--1 { left: 18%; top: 30%; }
.kids-note--2 { right: 18%; top: 22%; animation-delay: -1.3s; font-size: 2.8rem; }
.kids-note--3 { right: 28%; bottom: 30%; animation-delay: -2.6s; }
@keyframes knote { 50% { transform: translateY(-14px) rotate(-8deg); } }
.kids-stage__text { display: grid; gap: 12px; align-content: center; padding: clamp(24px, 4vw, 44px); }
.kids-stage__kicker { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-300); }
.kids-stage__text h3 { margin: 0; color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.kids-stage__text p { margin: 0; }
.kids-stage .verse { color: #fff; }
@media (max-width: 760px) { .kids-stage { grid-template-columns: 1fr; } .kids-stage__art { min-height: 200px; } }
.kids-giftgrid { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kids-giftgrid li { display: grid; gap: 4px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid #f1e6d2; font-size: .92rem; color: var(--ink-soft); box-shadow: 0 10px 24px -22px rgba(6,31,71,.5); }
.kids-giftgrid span { font-size: 1.8rem; line-height: 1; margin-bottom: 4px; }
.kids-giftgrid b { color: var(--navy-900); font-size: 1rem; }
@media (max-width: 860px) { .kids-giftgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .kids-giftgrid { gap: 10px; } .kids-giftgrid li { padding: 14px; } }

.kids-ages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .kids-ages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .kids-ages { grid-template-columns: 1fr; } }
.kids-age { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 22px; color: var(--navy-900); text-decoration: none; }
.kids-age h3 { margin: 0; font-size: 1.2rem; }
.kids-age p { margin: 0; font-size: .93rem; color: var(--ink-soft); }
.kids-age__emoji { font-size: 2.2rem; line-height: 1; }
.kids-age--1 { background: #fff1d6; }
.kids-age--2 { background: #e3f6ea; }
.kids-age--3 { background: #e5edfb; }
.kids-age--teens { background: linear-gradient(150deg, #f2aa1f, #ff5a6e 55%, #8b5cf6); transition: transform .15s; }
.kids-age--teens h3, .kids-age--teens p, .kids-age--teens .text-link { color: #fff; }
.kids-age--teens:hover { transform: translateY(-3px); }

.kids-teach { background-image: radial-gradient(circle at 100% 0%, rgba(242,170,31,.2), transparent 45%); }
.kids-teach .lead { color: #dfe7f5; }
.kids-teach__card { padding: 28px; border-radius: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.kids-teach__card h3 { margin-top: 0; }
.kids-teach__card .verse { margin-top: 18px; color: #fff; }
@media (prefers-reduced-motion: reduce) { .kids-chip, .kids-note { animation: none; } }
.kids-safe { padding-top: 0; }
.kids-safe__box { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: #e9f6ef; border: 1px solid #cdeadb; }
.kids-safe__head { display: flex; gap: 18px; align-items: flex-start; }
.kids-safe__icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #fff; font-size: 2rem; box-shadow: 0 10px 22px -16px rgba(29,122,76,.8); }
.kids-safe__head h2 { margin: 4px 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); }
.kids-safe__head p { margin: 0; color: var(--ink-soft); }
.kids-safe .eyebrow { color: var(--success); }
.kids-safe__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.kids-safe__list li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; font-size: .93rem; color: var(--ink-soft); }
.kids-safe__list span { grid-row: span 2; font-size: 1.4rem; line-height: 1.2; }
.kids-safe__list b { color: var(--navy-900); }
@media (max-width: 860px) { .kids-safe__box { grid-template-columns: 1fr; } }


/* Volunteer (Workers): three ways to serve and what we ask */
.serve-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .serve-ways { grid-template-columns: 1fr; } }
.serve-way { position: relative; display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line, #e6e9f0); box-shadow: var(--shadow); overflow: hidden; }
.serve-way h3 { margin: 4px 0 0; }
.serve-way p { margin: 0; color: var(--ink-soft); }
.serve-way__no { position: absolute; right: 18px; top: 6px; font: 700 4.5rem/1 var(--font-display); color: var(--gold-100); }
.serve-way__tag { justify-self: start; margin-top: 6px; padding: 5px 12px; border-radius: 999px; background: var(--gold-100); color: var(--gold-600); font-size: .78rem; font-weight: 700; }
.serve-way--feature { background: var(--navy-900); border-color: var(--navy-900); color: #d4def0; }
.serve-way--feature h3 { color: #fff; }
.serve-way--feature p { color: #c4d1e8; }
.serve-way--feature .serve-way__no { color: rgba(255,255,255,.08); }
.serve-way--feature .serve-way__tag { background: rgba(242,170,31,.18); color: var(--gold-300); }
.worker-expect__card { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.worker-expect__card h3 { margin: 4px 0 0; }
.worker-expect__card p { margin: 0; }
.worker-expect__card .verse { margin-top: 6px; color: #fff; }
.worker-pledge { margin: 4px 0 16px; align-items: flex-start; line-height: 1.45; }
.section--navy .lead { color: #c4d1e8; }
