/* ============================================================
   La Comunidad SDA Church — premium rebuild
   Brand: church navy + signal blue (from lacomunidad.church) on warm paper
   Type: Madefor Display / Madefor Text / Azeret Mono (self-hosted)
   Motion: reveal, parallax, magnetic — all gated by prefers-reduced-motion
   ============================================================ */

@font-face { font-family:'Madefor Display'; src:url('../fonts/madefor-display.woff2') format('woff2'); font-weight:400 800; font-display:swap; }
@font-face { font-family:'Madefor Text';    src:url('../fonts/madefor-text.woff2') format('woff2');    font-weight:400 700; font-display:swap; }
@font-face { font-family:'Azeret Mono';     src:url('../fonts/azeret-mono-400.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Azeret Mono';     src:url('../fonts/azeret-mono-700.woff2') format('woff2'); font-weight:700; font-display:swap; }

:root {
  --paper:#F6F4EF; --paper-2:#EEEAE1; --white:#FFFFFF;
  --navy:#071A33; --navy-2:#0B2547; --navy-3:#123463;
  --ink:#121826; --ink-2:#384152; --muted:#566070;
  --line:rgba(18,24,38,.11); --line-2:rgba(18,24,38,.22);
  --blue:#116DFF; --blue-deep:#0A4FD1; --blue-dark:#083CA6; --blue-text:#0A45C0;
  --blue-soft:#BFD3FF; --blue-tint:#E8EFFF; --blue-faint:#F3F6FF;
  --on-dark:rgba(255,255,255,.88); --on-dark-2:rgba(255,255,255,.74);
  --serif:'Madefor Display', Georgia, serif;
  --sans:'Madefor Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:'Azeret Mono', ui-monospace, Menlo, monospace;
  --r-lg:28px; --r:20px; --r-sm:14px; --pill:999px;
  --header-h:84px; --max:1240px;
  --sh-1:0 1px 2px rgba(7,26,51,.06), 0 4px 14px rgba(7,26,51,.06);
  --sh-2:0 2px 6px rgba(7,26,51,.06), 0 18px 44px rgba(7,26,51,.12);
  --sh-3:0 30px 80px rgba(7,26,51,.24);
  --ease:cubic-bezier(.22,.61,.36,1); --ease-out:cubic-bezier(.16,1,.3,1); --spring:cubic-bezier(.34,1.56,.64,1);
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { -webkit-text-size-adjust:100%; scroll-padding-top:calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion:no-preference){ html { scroll-behavior:smooth; } }
body { font-family:var(--sans); font-size:17px; line-height:1.65; color:var(--ink); background:var(--paper); -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; overflow-x:hidden; }
img,svg,iframe { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
button,input,select,textarea { font:inherit; color:inherit; }
button { cursor:pointer; border:0; background:none; }
ul,ol { list-style:none; }
h1,h2,h3,h4 { font-family:var(--serif); font-weight:700; line-height:1.1; letter-spacing:-.022em; text-wrap:balance; }
p { text-wrap:pretty; }
::selection { background:var(--blue); color:#fff; }
[hidden] { display:none !important; }
:focus-visible { outline:3px solid var(--blue); outline-offset:3px; border-radius:6px; }
.site-footer :focus-visible,.hero :focus-visible,.discover :focus-visible,.evd-hero :focus-visible,.live-page :focus-visible,.event-strip :focus-visible,.thanks :focus-visible,.visit-cta :focus-visible,.mobile-menu :focus-visible,.site-header :focus-visible,.post-head :focus-visible,.calling :focus-visible { outline-color:#fff; }
main:focus { outline:none; }
.sr-only { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.ico { width:1.15em; height:1.15em; flex-shrink:0; }

.skip-link { position:fixed; top:14px; left:14px; z-index:1000; background:#fff; color:var(--navy); font-weight:700; font-size:15px; padding:12px 22px; border-radius:var(--pill); box-shadow:var(--sh-2); transform:translateY(-200%); transition:transform .25s var(--ease); }
.skip-link:focus-visible { transform:none; outline-color:var(--blue); }

/* ---------- layout ---------- */
.container { width:100%; max-width:var(--max); margin:0 auto; padding:0 clamp(20px,4vw,48px); }
.container.narrow { max-width:880px; }
.section { padding:clamp(80px,10vw,140px) 0; position:relative; }
.center { text-align:center; display:flex; justify-content:center; margin-top:clamp(36px,4vw,56px); }
.muted { color:var(--muted); }

.eyebrow { display:inline-flex; align-items:center; gap:12px; font-family:var(--mono); font-size:12.5px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--blue-text); margin-bottom:18px; }
.eyebrow::before { content:''; width:30px; height:2px; border-radius:2px; background:currentColor; opacity:.8; }
.eyebrow.on-dark { color:#CFE0FF; }
.center-eyebrow { display:flex; justify-content:center; }
.lead { font-size:clamp(18px,1.6vw,21px); line-height:1.6; color:var(--ink-2); }
.display { font-size:clamp(40px,5.6vw,76px); }
.statement { font-family:var(--serif); font-size:clamp(26px,3.4vw,44px); line-height:1.3; letter-spacing:-.015em; text-align:center; max-width:980px; margin:0 auto; color:var(--ink); }
.statement.small { font-size:clamp(22px,2.4vw,30px); }
.section-head { margin-bottom:clamp(40px,5vw,64px); }
.section-head h2 { font-size:clamp(36px,4.6vw,60px); }
.section-head.center { text-align:center; display:block; margin-top:0; }
.split-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; }

.link-arrow { display:inline-flex; align-items:center; gap:10px; font-weight:600; font-size:16px; color:var(--blue-text); padding:6px 0; background:linear-gradient(currentColor,currentColor) 0 100%/0 2px no-repeat; transition:background-size .35s var(--ease), gap .25s var(--ease); }
.link-arrow:hover { background-size:100% 2px; gap:14px; }

/* ---------- buttons ---------- */
.btn { position:relative; display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:14px 28px; border-radius:var(--pill); border:1.5px solid transparent; font-family:var(--sans); font-size:16px; font-weight:600; line-height:1.1; white-space:nowrap; isolation:isolate; overflow:hidden; transition:transform .3s var(--ease-out), background-color .2s, border-color .2s, color .2s, box-shadow .3s; }
.btn .ico { width:18px; height:18px; transition:transform .3s var(--ease-out); }
.btn:hover .ico { transform:translateX(3px); }
.btn:active { transform:scale(.98); }
.btn-primary { background:var(--blue-deep); color:#fff; box-shadow:0 10px 26px -8px rgba(10,79,209,.6); }
.btn-primary::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.28) 50%,transparent 70%); transform:translateX(-120%); transition:transform .8s var(--ease); }
.btn-primary:hover { background:var(--blue-dark); box-shadow:0 18px 36px -10px rgba(10,79,209,.7); }
.btn-primary:hover::before { transform:translateX(120%); }
.btn-ghost { background:transparent; color:var(--ink); border-color:var(--line-2); }
.btn-ghost:hover { border-color:var(--ink); background:rgba(18,24,38,.04); }
.btn-glass { background:rgba(255,255,255,.1); color:#fff; border-color:rgba(255,255,255,.38); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
.btn-glass:hover { background:rgba(255,255,255,.2); border-color:#fff; }
.btn-lg { min-height:56px; padding:17px 34px; font-size:17px; }
.btn-sm { min-height:44px; padding:10px 20px; font-size:14.5px; }
.btn-block { width:100%; }

/* ============================================================ HEADER */
.site-header { position:fixed; inset:0 0 auto; z-index:200; height:var(--header-h); display:flex; align-items:center; color:#fff; transition:background-color .4s var(--ease), box-shadow .4s, height .35s var(--ease), transform .45s var(--ease); }
.site-header::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(4,14,30,.6),rgba(4,14,30,0)); transition:opacity .4s; }
.site-header.is-solid,.site-header.is-scrolled { background:rgba(7,26,51,.9); -webkit-backdrop-filter:blur(18px) saturate(1.4); backdrop-filter:blur(18px) saturate(1.4); box-shadow:0 1px 0 rgba(255,255,255,.08), 0 12px 32px rgba(4,14,30,.28); }
.site-header.is-solid::before,.site-header.is-scrolled::before { opacity:0; }
.site-header.is-scrolled { height:70px; }
.site-header.is-hidden { transform:translateY(-100%); }
.header-inner { width:100%; max-width:1440px; margin:0 auto; padding:0 clamp(18px,3vw,40px); display:flex; align-items:center; gap:24px; }
.brand img { height:50px; width:auto; transition:height .35s var(--ease); }
.is-scrolled .brand img { height:42px; }
.main-nav { margin-left:auto; }
.main-nav ul { display:flex; gap:clamp(4px,.8vw,10px); }
.main-nav a { position:relative; display:block; padding:10px 12px; font-size:15.5px; font-weight:500; color:var(--on-dark); border-radius:var(--pill); transition:color .2s, background-color .2s; }
.main-nav a::after { content:''; position:absolute; left:12px; right:12px; bottom:4px; height:2px; border-radius:2px; background:var(--blue); transform:scaleX(0); transform-origin:left; transition:transform .35s var(--ease-out); }
.main-nav a:hover { color:#fff; background:rgba(255,255,255,.08); }
.main-nav a[aria-current="page"] { color:#fff; }
.main-nav a[aria-current="page"]::after,.main-nav a:hover::after { transform:scaleX(1); }
.header-actions { display:flex; align-items:center; gap:12px; }
.lang-switch { display:flex; padding:3px; gap:2px; border-radius:var(--pill); background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); }
.lang-btn { font-family:var(--mono); font-size:12px; font-weight:700; letter-spacing:.06em; padding:8px 11px; min-width:40px; min-height:34px; text-align:center; border-radius:var(--pill); color:var(--on-dark); transition:background-color .2s, color .2s; }
.lang-btn:hover { color:#fff; background:rgba(255,255,255,.12); }
.lang-btn.active { background:#fff; color:var(--navy); }
.btn-donate { display:inline-flex; align-items:center; min-height:44px; padding:0 22px; border-radius:var(--pill); background:var(--blue-deep); color:#fff; font-weight:600; font-size:15px; box-shadow:0 8px 22px -6px rgba(17,109,255,.7); transition:background-color .2s, transform .25s var(--ease-out); }
.btn-donate:hover { background:var(--blue-dark); transform:translateY(-1px); }
.icon-btn { width:44px; height:44px; border-radius:50%; display:grid; place-items:center; color:#fff; border:1px solid rgba(255,255,255,.22); transition:background-color .2s; }
.icon-btn:hover { background:rgba(255,255,255,.12); }
.icon-btn .ico { width:20px; height:20px; }
.nav-toggle { display:none; width:46px; height:46px; border-radius:50%; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22); flex-direction:column; align-items:center; justify-content:center; gap:5px; }
.nav-toggle span { width:18px; height:2px; border-radius:2px; background:#fff; }

/* mobile menu */
.mobile-menu { position:fixed; inset:0; z-index:300; background:radial-gradient(120% 70% at 100% 0%,rgba(17,109,255,.35),transparent 60%), var(--navy); color:#fff; display:flex; flex-direction:column; padding:20px clamp(20px,6vw,40px) 32px; overflow-y:auto; visibility:hidden; opacity:0; clip-path:circle(0% at calc(100% - 44px) 42px); transition:clip-path .6s var(--ease-out), opacity .3s, visibility 0s linear .6s; }
.mobile-menu.open { visibility:visible; opacity:1; clip-path:circle(150% at calc(100% - 44px) 42px); transition:clip-path .7s var(--ease-out), opacity .2s, visibility 0s; }
.mm-head { display:flex; align-items:center; justify-content:space-between; }
.mm-head img { height:44px; width:auto; }
.mm-close { width:48px; height:48px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.28); color:#fff; }
.mm-close svg { width:22px; height:22px; }
.mm-nav { margin:clamp(28px,7vh,64px) 0 auto; }
.mm-nav a { display:flex; align-items:baseline; gap:18px; padding:12px 0; font-family:var(--serif); font-size:clamp(32px,8vw,44px); font-weight:700; letter-spacing:-.02em; border-bottom:1px solid rgba(255,255,255,.1); opacity:0; transform:translateY(16px); transition:opacity .5s var(--ease-out), transform .5s var(--ease-out), color .2s; }
.mm-nav a[aria-current="page"] { color:#9DBEFF; }
.mm-n { font-family:var(--mono); font-size:13px; font-weight:400; color:rgba(255,255,255,.65); letter-spacing:.1em; }
.mobile-menu.open .mm-nav a { opacity:1; transform:none; }
.mobile-menu.open .mm-nav li:nth-child(2) a{transition-delay:.05s}.mobile-menu.open .mm-nav li:nth-child(3) a{transition-delay:.1s}.mobile-menu.open .mm-nav li:nth-child(4) a{transition-delay:.15s}.mobile-menu.open .mm-nav li:nth-child(5) a{transition-delay:.2s}.mobile-menu.open .mm-nav li:nth-child(6) a{transition-delay:.25s}
.mm-foot { display:flex; flex-direction:column; gap:18px; margin-top:36px; }
.mm-lang { display:flex; gap:8px; flex-wrap:wrap; }
.mm-lang .lang-btn { font-family:var(--sans); font-size:15px; letter-spacing:0; padding:10px 18px; min-height:44px; display:inline-flex; align-items:center; border:1px solid rgba(255,255,255,.35); }
.mm-lang .lang-btn.active { border-color:#fff; }

/* chat */
.chat-bubble { position:fixed; right:22px; bottom:22px; z-index:150; width:58px; height:58px; border-radius:50%; display:grid; place-items:center; background:var(--blue-deep); box-shadow:0 14px 34px -6px rgba(10,79,209,.6); transition:transform .3s var(--spring), background-color .2s; }
.chat-bubble::after { content:''; position:absolute; inset:0; border-radius:50%; border:2px solid var(--blue); animation:ping 2.8s var(--ease) infinite; pointer-events:none; }
.chat-bubble:hover { transform:scale(1.08); background:var(--blue-dark); }
.chat-bubble svg { width:26px; height:26px; fill:#fff; }
@keyframes ping { 0%{transform:scale(1);opacity:.7} 70%,100%{transform:scale(1.55);opacity:0} }

/* ============================================================ HERO */
.hero { position:relative; isolation:isolate; overflow:hidden; color:#fff; display:flex; align-items:center; justify-content:center; text-align:center; background:var(--navy); }
.hero-bg { position:absolute; inset:-10% 0; z-index:-2; background-size:cover; background-position:center; background-color:var(--navy); transform:scale(1.06); }
.hero-overlay { position:absolute; inset:0; z-index:-1; background:radial-gradient(90% 70% at 50% 110%,rgba(17,109,255,.38),transparent 60%), linear-gradient(180deg,rgba(4,14,30,.74) 0%,rgba(6,22,48,.58) 45%,rgba(4,14,30,.9) 100%); }
.hero-content { max-width:980px; padding:0 24px; }
.hero h1 { color:#fff; text-shadow:0 4px 30px rgba(0,0,0,.35); }
.hero .lead { color:var(--on-dark); margin:22px auto 0; max-width:640px; font-family:var(--serif); font-weight:400; text-shadow:0 2px 16px rgba(0,0,0,.4); }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:38px; }
.hero-home { min-height:100svh; padding:calc(var(--header-h) + 40px) 0 160px; }
.hero-home h1 { font-size:clamp(52px,9vw,124px); line-height:.98; letter-spacing:-.035em; }
.hero-page { min-height:clamp(420px,62vh,620px); padding:calc(var(--header-h) + 60px) 0 90px; }
.hero-page h1 { font-size:clamp(48px,7.4vw,104px); line-height:1; letter-spacing:-.035em; }
.hero-page .eyebrow,.hero-home .eyebrow { justify-content:center; }
.scroll-cue { position:absolute; left:50%; bottom:122px; width:28px; height:46px; margin-left:-14px; border:2px solid rgba(255,255,255,.6); border-radius:20px; }
.scroll-cue span { position:absolute; left:50%; top:9px; width:4px; height:9px; margin-left:-2px; border-radius:2px; background:#fff; animation:cue 1.8s var(--ease) infinite; }
@keyframes cue { 0%{transform:translateY(0);opacity:1} 80%,100%{transform:translateY(16px);opacity:0} }

/* split headline (word stagger) */
.split .w { display:inline-block; overflow:hidden; vertical-align:bottom; padding-bottom:.08em; }
.split .w > span { display:inline-block; }
html.js .split.anim .w > span { transform:translateY(105%); transition:transform 1s var(--ease-out); transition-delay:calc(var(--i) * 80ms + 150ms); }
html.js .split.anim.in .w > span { transform:none; }

/* ============================================================ EVENT STRIP (home) */
.event-strip { position:relative; z-index:5; margin-top:-96px; }
.es-inner { display:flex; align-items:center; gap:clamp(18px,3vw,36px); padding:22px 28px; border-radius:var(--r-lg); color:#fff; background:linear-gradient(120deg,rgba(9,32,66,.94),rgba(7,26,51,.92)); -webkit-backdrop-filter:blur(18px) saturate(1.3); backdrop-filter:blur(18px) saturate(1.3); border:1px solid rgba(255,255,255,.14); box-shadow:var(--sh-3); }
.es-date { flex-shrink:0; width:88px; padding:12px 0; text-align:center; border-radius:var(--r-sm); background:var(--blue-deep); box-shadow:0 10px 24px -6px rgba(17,109,255,.7); display:flex; flex-direction:column; }
.es-dow,.es-mon { font-family:var(--mono); font-size:11.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
.es-day { font-family:var(--serif); font-size:38px; font-weight:700; line-height:1; margin:4px 0; }
.es-info { flex:1; min-width:0; }
.es-label { display:flex; align-items:center; gap:10px; font-family:var(--mono); font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:#C7DAFF; }
.pulse { width:9px; height:9px; border-radius:50%; background:#4ADE80; animation:pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(74,222,128,.6)} 70%{box-shadow:0 0 0 10px rgba(74,222,128,0)} 100%{box-shadow:0 0 0 0 rgba(74,222,128,0)} }
.es-info h2 { font-size:clamp(22px,2.4vw,30px); color:#fff; margin:6px 0 4px; }
.es-meta { font-size:15px; color:var(--on-dark); display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; }
.sep { width:4px; height:4px; border-radius:50%; background:currentColor; opacity:.5; display:inline-block; }

/* ============================================================ HOME */
.welcome-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:clamp(32px,6vw,90px); align-items:end; }
.welcome-side .lead { margin-bottom:18px; }
.stats { display:grid; grid-template-columns:repeat(4,1fr); margin-top:clamp(56px,7vw,96px); border-top:1px solid var(--line-2); }
.stat { padding:28px 24px 0 0; display:flex; flex-direction:column; gap:6px; }
.stat + .stat { padding-left:24px; border-left:1px solid var(--line); }
.stat-n { font-family:var(--serif); font-weight:700; font-size:clamp(40px,4.6vw,64px); line-height:1; letter-spacing:-.03em; color:var(--navy); font-variant-numeric:tabular-nums; }
.stat-l { font-size:15px; color:var(--muted); }

.post-mosaic { display:grid; grid-template-columns:1.25fr 1fr 1fr; gap:24px; }
.post-mosaic .pc-feature { grid-row:span 2; }
.post-card { position:relative; display:flex; flex-direction:column; background:var(--white); border-radius:var(--r); overflow:hidden; box-shadow:var(--sh-1); border:1px solid var(--line); transition:transform .45s var(--ease-out), box-shadow .45s var(--ease-out), opacity .9s var(--ease-out); }
.post-card:hover { transform:translateY(-6px); box-shadow:var(--sh-2); }
.post-card:focus-within { box-shadow:0 0 0 3px var(--blue), var(--sh-2); }
.pc-media { position:relative; aspect-ratio:3/2; overflow:hidden; background:var(--paper-2); }
.pc-media img { width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease-out); }
.post-card:hover .pc-media img { transform:scale(1.06); }
.pc-none { background:linear-gradient(135deg,var(--navy-2),var(--blue-deep)); }
.pc-body { display:flex; flex-direction:column; gap:10px; padding:22px 24px 24px; flex:1; }
.pc-meta { display:flex; align-items:center; gap:10px; font-family:var(--mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.pc-meta .dot { width:4px; height:4px; border-radius:50%; background:currentColor; }
.pc-title { font-size:21px; line-height:1.25; }
.pc-title a::after { content:''; position:absolute; inset:0; z-index:1; }
.pc-title a:focus-visible { outline:none; }
.pc-excerpt { font-size:15px; color:var(--ink-2); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.pc-more { margin-top:auto; padding-top:6px; display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:15px; color:var(--blue-text); }
.pc-more .ico { transition:transform .3s var(--ease-out); }
.post-card:hover .pc-more .ico { transform:translateX(4px); }
.pc-feature .pc-title { font-size:clamp(24px,2.4vw,32px); }
.pc-feature .pc-media { aspect-ratio:4/3; }
.pc-compact .pc-media { aspect-ratio:16/9; }
.pc-compact .pc-excerpt { -webkit-line-clamp:2; }
.pc-compact .pc-title { font-size:18.5px; }

.needs { background:var(--white); }
.needs-grid { display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(40px,6vw,96px); align-items:center; }
.needs-copy h2 { font-size:clamp(36px,4.4vw,58px); margin-bottom:18px; }
.need-list { margin:30px 0 34px; display:grid; gap:12px; }
.need { display:flex; align-items:center; gap:16px; padding:16px 20px; border-radius:var(--r-sm); background:var(--paper); border:1px solid var(--line); font-weight:600; font-size:17px; transition:transform .3s var(--ease-out), border-color .3s, background-color .3s, opacity .9s var(--ease-out); }
.need:hover { transform:translateX(6px); border-color:var(--blue-soft); background:var(--blue-faint); }
.need-ico { width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:var(--blue-deep); color:#fff; flex-shrink:0; }
.need-ico .ico { width:22px; height:22px; }
.fan { position:relative; height:clamp(380px,42vw,560px); }
.fan img { position:absolute; width:52%; aspect-ratio:3/4; height:auto; object-fit:cover; border-radius:var(--r); box-shadow:var(--sh-3); border:6px solid #fff; transition:transform .8s var(--ease-out); }
.fan-1 { left:0; top:12%; transform:rotate(-7deg); }
.fan-2 { left:24%; top:0; z-index:2; transform:rotate(1deg); }
.fan-3 { right:0; top:14%; transform:rotate(8deg); }
.fan:hover .fan-1 { transform:rotate(-10deg) translateX(-14px); }
.fan:hover .fan-3 { transform:rotate(11deg) translateX(14px); }
.fan:hover .fan-2 { transform:translateY(-10px); }

.discover { position:relative; isolation:isolate; overflow:hidden; color:#fff; padding:clamp(90px,11vw,150px) 0; background:var(--navy); border-radius:clamp(36px,6vw,80px) clamp(36px,6vw,80px) 0 0; }
.discover-bg { position:absolute; inset:0; z-index:-1; background-size:cover; background-position:center; opacity:.14; filter:grayscale(.3); }
.discover::after { content:''; position:absolute; inset:0; z-index:-1; background:radial-gradient(70% 60% at 85% 0%,rgba(17,109,255,.35),transparent 60%), radial-gradient(60% 50% at 0% 100%,rgba(17,109,255,.18),transparent 60%); }
.discover-head { max-width:760px; margin-bottom:clamp(44px,5vw,64px); }
.discover-head h2 { font-size:clamp(38px,5vw,66px); color:#fff; }
.discover-head .lead { color:var(--on-dark); margin-top:18px; }
.g-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.g-card { position:relative; border-radius:var(--r); overflow:hidden; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); transition:transform .45s var(--ease-out), background-color .3s, border-color .3s, opacity .9s var(--ease-out); }
.g-card:hover { transform:translateY(-6px); background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.26); }
.g-media { aspect-ratio:16/10; overflow:hidden; background:var(--navy-2); }
.g-media img { width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease-out); }
.g-card:hover .g-media img { transform:scale(1.06); }
.g-body { padding:20px 22px 22px; display:flex; flex-direction:column; gap:12px; align-items:flex-start; }
.g-body h3,.g-name { font-size:21px; line-height:1.25; }
.g-card:not(.light) .btn-ghost { color:#fff; border-color:rgba(255,255,255,.45); }
.g-card:not(.light) .btn-ghost:hover { background:#fff; color:var(--navy); border-color:#fff; }
.g-card.light { background:var(--white); border-color:var(--line); box-shadow:var(--sh-1); color:var(--ink); }
.g-card.light:hover { box-shadow:var(--sh-2); background:var(--white); border-color:var(--line-2); }
.g-desc { font-size:15px; line-height:1.5; color:var(--ink-2); }
.g-members { display:flex; align-items:center; gap:8px; font-size:14.5px; color:var(--muted); }

/* ============================================================ ABOUT */
.serve .statement { margin-bottom:30px; }
.serve .center { margin-top:0; }
.collage { display:grid; grid-template-columns:1fr 1.5fr 1fr; gap:22px; align-items:center; margin-top:clamp(60px,7vw,90px); }
.collage img { width:100%; height:auto; object-fit:cover; border-radius:var(--r); box-shadow:var(--sh-2); }
.collage .c1 { aspect-ratio:3/4; transform:translateY(30px); }
.collage .c2 { aspect-ratio:4/3; }
.collage .c3 { aspect-ratio:3/4; transform:translateY(-30px); }
.calling { background:var(--navy); color:#fff; overflow:hidden; }
.calling-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(40px,6vw,90px); align-items:center; }
.calling-media img { width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; border-radius:var(--r-lg); box-shadow:var(--sh-3); }
.vm + .vm { margin-top:44px; padding-top:44px; border-top:1px solid rgba(255,255,255,.14); }
.vm h2 { font-family:var(--mono); font-size:13px; letter-spacing:.2em; text-transform:uppercase; color:#AFC9FF; margin-bottom:16px; }
.vm blockquote p { font-family:var(--serif); font-size:clamp(22px,2.3vw,30px); line-height:1.4; letter-spacing:-.01em; }
.vm blockquote p::before { content:'\201C'; color:#6FA0FF; }
.vm blockquote p::after { content:'\201D'; color:#6FA0FF; }
.vm .ref { margin-top:14px; font-family:var(--mono); font-size:13px; letter-spacing:.1em; color:var(--on-dark-2); }
.values-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.value-card { background:var(--white); border-radius:var(--r); overflow:hidden; border:1px solid var(--line); box-shadow:var(--sh-1); transition:transform .45s var(--ease-out), box-shadow .45s, opacity .9s var(--ease-out); }
.value-card:hover { transform:translateY(-8px); box-shadow:var(--sh-2); }
.vc-media { aspect-ratio:4/3; overflow:hidden; background:var(--paper-2); }
.vc-media img { width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease-out); }
.value-card:hover .vc-media img { transform:scale(1.07); }
.vc-body { padding:22px 24px 26px; }
.vc-n { font-family:var(--mono); font-size:12px; letter-spacing:.14em; color:var(--blue-text); font-weight:700; }
.vc-body h3 { font-size:24px; margin:8px 0; }
.vc-body p { font-size:15.5px; color:var(--ink-2); }
.leaders { background:var(--paper-2); }
.leaders-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.leader-card { display:flex; align-items:center; gap:18px; padding:20px; background:var(--white); border-radius:var(--r); border:1px solid var(--line); transition:transform .4s var(--ease-out), box-shadow .4s, opacity .9s var(--ease-out); }
.leader-card:hover { transform:translateY(-4px); box-shadow:var(--sh-2); }
.leader-img { width:84px; height:84px; border-radius:50%; overflow:hidden; flex-shrink:0; background:var(--paper-2); box-shadow:0 0 0 3px #fff, 0 0 0 4px var(--line), 0 8px 18px rgba(7,26,51,.14); }
.leader-img img { width:100%; height:100%; object-fit:cover; }
.leader-info { min-width:0; }
.leader-info h3 { font-family:var(--sans); font-size:18px; letter-spacing:0; }
.leader-role { font-size:14.5px; color:var(--blue-text); font-weight:600; margin:2px 0 6px; }
.leader-mail { display:inline-flex; align-items:center; gap:6px; font-size:13.5px; color:var(--muted); overflow-wrap:anywhere; min-height:24px; }
.leader-mail .ico { flex:none; }
.leader-mail:hover { color:var(--blue-text); text-decoration:underline; text-underline-offset:3px; }
.visit-cta { position:relative; isolation:isolate; overflow:hidden; color:#fff; padding:clamp(90px,11vw,150px) 0; background:var(--navy); }
.visit-inner { display:flex; align-items:center; justify-content:space-between; gap:36px; flex-wrap:wrap; }
.visit-inner h2 { font-size:clamp(38px,5vw,66px); color:#fff; }
.visit-inner p { color:var(--on-dark); margin-top:12px; font-size:18px; }

/* ============================================================ EVENTS */
.hero-events .hero-overlay { background:radial-gradient(70% 70% at 50% 120%,rgba(17,109,255,.45),transparent 60%), linear-gradient(180deg,rgba(4,14,30,.8),rgba(7,26,51,.8)); }
.hero-events { padding-bottom:150px; }
.ev-feature { position:relative; z-index:3; margin-top:-90px; padding-bottom:clamp(50px,6vw,80px); }
.ev-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.ev-card { position:relative; display:flex; flex-direction:column; background:var(--white); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--sh-2); transition:transform .5s var(--ease-out), box-shadow .5s; }
.ev-card:hover { box-shadow:var(--sh-3); }
.ev-media { display:block; aspect-ratio:16/10; overflow:hidden; background:var(--navy); }
.ev-media img { width:100%; height:100%; object-fit:cover; transition:transform 1.1s var(--ease-out); }
.ev-card:hover .ev-media img { transform:scale(1.06); }
.ev-noimg { display:grid; place-items:center; width:100%; height:100%; background:radial-gradient(80% 80% at 70% 20%,var(--blue-deep),var(--navy)); }
.ev-noimg img { width:42%; height:auto; object-fit:contain; opacity:.9; }
.ev-card.is-past .ev-media img { filter:grayscale(.6) brightness(.9); }
.ev-body { display:flex; flex-direction:column; align-items:flex-start; gap:12px; padding:22px 26px 26px; flex:1; }
.ev-chips { display:flex; flex-wrap:wrap; gap:8px; }
.chip { display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border-radius:var(--pill); font-size:13px; font-weight:600; line-height:1.2; background:var(--blue-tint); color:var(--blue-dark); }
.chip .ico { width:14px; height:14px; }
.chip-live { background:#E3F5E9; color:#0F5A2B; }
.chip-muted { background:var(--paper-2); color:var(--ink-2); }
.chip-dark { background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.24); }
.chip-dark.chip-muted { color:#fff; background:rgba(255,255,255,.08); }
.ev-title { font-size:clamp(22px,2vw,27px); line-height:1.2; }
.ev-title a:hover { color:var(--blue-text); }
.ev-when { display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; font-size:15px; color:var(--ink-2); font-weight:500; }
.ev-toggle { display:inline-flex; align-items:center; gap:6px; font-weight:600; font-size:15px; color:var(--blue-text); padding:6px 0; min-height:36px; }
.ev-toggle .ico { transition:transform .35s var(--ease-out); }
.ev-toggle[aria-expanded="true"] .ico { transform:rotate(180deg); }
.ev-desc { font-size:15px; color:var(--ink-2); animation:fadeDown .4s var(--ease-out); }
@keyframes fadeDown { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:none} }
.ev-cta { margin-top:auto; }
.ev-more { display:flex; justify-content:center; margin-top:40px; }
@keyframes cardIn { from{opacity:0;transform:translateY(24px) scale(.98)} to{opacity:1;transform:none} }

.ev-cal-sec { background:var(--white); border-top:1px solid var(--line); }
.cal-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom:28px; }
.cal-head h2 { font-size:clamp(34px,4.2vw,54px); }
.cal-hint { color:var(--muted); margin-top:8px; font-size:15.5px; }
.cal-nav { display:flex; align-items:center; gap:10px; }
.cal-btn { width:44px; height:44px; border-radius:50%; display:grid; place-items:center; border:1.5px solid var(--line-2); transition:background-color .2s, border-color .2s, color .2s; }
.cal-btn:hover { background:var(--navy); border-color:var(--navy); color:#fff; }
.cal-btn .ico { width:20px; height:20px; }
.cal-month { min-width:190px; text-align:center; font-family:var(--serif); font-size:22px; font-weight:700; }
.cal-wrap { border-radius:var(--r); border:1px solid var(--line); overflow:hidden; box-shadow:var(--sh-1); background:var(--white); }
.cal { width:100%; border-collapse:collapse; table-layout:fixed; }
.cal th { padding:14px 8px; font-family:var(--mono); font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); background:var(--paper); border-bottom:1px solid var(--line); }
.cal th abbr { text-decoration:none; }
.cal-day { vertical-align:top; height:124px; padding:8px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.cal tr td:last-child { border-right:0; }
.cal tbody tr:last-child td { border-bottom:0; }
.cal-day.is-weekend { background:#FAFAF8; }
.cal-day.is-other { background:repeating-linear-gradient(135deg,#FBFAF7 0 6px,#F4F2EC 6px 7px); }
.cal-day.is-other .cal-num { color:#545B66; }
.cal-num { display:inline-grid; place-items:center; min-width:30px; height:30px; padding:0 6px; border-radius:var(--pill); font-weight:600; font-size:14.5px; color:var(--ink-2); }
.cal-day.is-today .cal-num { background:var(--blue-deep); color:#fff; }
.cal-evs { display:grid; grid-template-columns:minmax(0,1fr); gap:4px; margin-top:6px; } /* long titles stay inside their day */
.cal-ev { display:block; min-width:0; overflow:hidden; padding:5px 8px; border-radius:8px; font-size:12.5px; line-height:1.25; border-left:3px solid var(--blue-deep); background:var(--blue-tint); color:var(--blue-dark); transition:transform .2s var(--ease-out), box-shadow .2s, background-color .2s; }
.cal-ev:hover { transform:translateY(-1px); box-shadow:var(--sh-1); background:#DCE7FF; }
.cal-ev-t { display:block; font-family:var(--mono); font-size:10.5px; font-weight:700; letter-spacing:.04em; }
.cal-ev-n { display:block; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cal-ev--prayer-meeting { border-left-color:#6A3CC9; background:#F1ECFC; color:#45238F; }
.cal-ev--prayer-meeting:hover { background:#E7DEFA; }
.cal-ev--camp-meeting,.cal-ev--night-of-worship,.cal-ev--business-meeting,.cal-ev--choir-sabbath,.cal-ev--other { border-left-color:#0E7C66; background:#E3F4F0; color:#0A5546; }
.cal-ev.is-past { filter:saturate(.35); } /* faded look without dropping text contrast (opacity failed AA) */
.cal-legend { display:flex; flex-wrap:wrap; gap:18px; margin-top:18px; font-size:14px; color:var(--muted); }
.cal-legend li { display:flex; align-items:center; gap:8px; }
.lg { width:12px; height:12px; border-radius:4px; background:var(--blue-deep); }
.lg-prayer-meeting { background:#6A3CC9; }
.lg-other { background:#0E7C66; }
.cal-swap { animation:calIn .45s var(--ease-out); }
@keyframes calIn { from{opacity:0;transform:translateX(var(--dx,16px))} to{opacity:1;transform:none} }
.cal-empty-msg { display:none; padding:28px; text-align:center; color:var(--muted); }

/* ============================================================ EVENT DETAIL */
.evd-hero { position:relative; isolation:isolate; overflow:hidden; color:#fff; padding:calc(var(--header-h) + 50px) 0 clamp(150px,16vw,220px); background:var(--navy); }
.evd-hero-bg { position:absolute; inset:0; z-index:-1; background:radial-gradient(80% 90% at 90% 0%,rgba(17,109,255,.45),transparent 60%), radial-gradient(60% 60% at 0% 100%,rgba(122,76,217,.25),transparent 60%); }
.evd-hero-bg::after { content:''; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.07) 1px,transparent 1px); background-size:24px 24px; -webkit-mask-image:linear-gradient(180deg,#000,transparent); mask-image:linear-gradient(180deg,#000,transparent); }
.back-link { display:inline-flex; align-items:center; gap:8px; color:var(--on-dark); font-weight:600; font-size:15px; margin-bottom:30px; padding:8px 0; transition:gap .25s var(--ease-out), color .2s; }
.back-link:hover { color:#fff; gap:12px; }
.evd-hero h1 { font-size:clamp(44px,6.6vw,92px); line-height:1; letter-spacing:-.035em; margin:20px 0 18px; max-width:16ch; }
.evd-when { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; font-size:clamp(17px,1.6vw,20px); color:var(--on-dark); font-weight:500; }
.evd-hero .lead { color:var(--on-dark-2); max-width:680px; margin-top:16px; }
.evd-hero .hero-actions { justify-content:flex-start; margin-top:30px; }
.evd-hero .hero-actions:empty { display:none; }
.evd-hero.no-media { padding-bottom:clamp(60px,7vw,96px); }
.evd-media { margin-top:calc(-1 * clamp(110px,12vw,170px)); position:relative; z-index:2; border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--sh-3); aspect-ratio:16/8; background:var(--navy-2); }
.evd-media img { width:100%; height:100%; object-fit:cover; }
.evd-body { padding-top:clamp(56px,6vw,84px); }
.evd-grid { display:grid; grid-template-columns:minmax(0,1fr) 400px; gap:clamp(36px,5vw,72px); align-items:start; }
.evd-block + .evd-block { margin-top:52px; padding-top:52px; border-top:1px solid var(--line); }
.evd-block > h2 { font-size:clamp(26px,2.6vw,34px); margin-bottom:20px; }
.tl-list { display:grid; gap:18px; }
.tl-row { display:flex; gap:16px; align-items:flex-start; }
.tl-row dt { width:46px; height:46px; border-radius:14px; display:grid; place-items:center; background:var(--blue-tint); color:var(--blue-dark); flex-shrink:0; }
.tl-row dt .ico { width:22px; height:22px; }
.tl-row dd { font-size:17.5px; font-weight:500; padding-top:10px; }
.tl-row .link-arrow { font-size:15px; margin-top:4px; }
.date-chips { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.date-chip { display:flex; flex-direction:column; align-items:flex-start; gap:2px; padding:12px 16px; min-width:118px; border-radius:var(--r-sm); border:1.5px solid var(--line-2); background:var(--white); text-align:left; transition:border-color .2s, background-color .2s, transform .25s var(--ease-out), box-shadow .2s; }
.date-chip:hover { border-color:var(--blue); transform:translateY(-2px); }
.date-chip.is-selected { border-color:var(--blue-deep); background:var(--blue-deep); color:#fff; box-shadow:0 10px 22px -8px rgba(10,79,209,.6); }
.dc-d { font-weight:700; font-size:15px; }
.dc-t { font-family:var(--mono); font-size:12px; }
.prose { font-size:17.5px; line-height:1.75; color:var(--ink-2); }
.prose > * + * { margin-top:1.05em; }
.prose h2 { font-size:clamp(24px,2.4vw,30px); color:var(--ink); margin-top:1.6em; }
.prose h3 { font-size:clamp(20px,2vw,24px); color:var(--ink); margin-top:1.5em; }
.prose > :first-child { margin-top:0; }
.prose ul,.prose ol { padding-left:1.4em; }
.prose ul { list-style:disc; } .prose ol { list-style:decimal; }
.prose li + li { margin-top:.4em; }
.prose li::marker { color:var(--blue); }
.prose a { color:var(--blue-text); text-decoration:underline; text-underline-offset:3px; }
.prose blockquote { border-left:3px solid var(--blue); padding-left:22px; font-family:var(--serif); font-size:1.15em; color:var(--ink); }
.prose img { border-radius:var(--r); height:auto; }
.prose figure figcaption { font-size:14px; color:var(--muted); margin-top:8px; text-align:center; }
.evd-map { position:relative; display:block; border-radius:var(--r); overflow:hidden; border:1px solid var(--line); aspect-ratio:2/1; background:var(--paper-2); box-shadow:var(--sh-1); }
.evd-map img { width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease-out); }
.evd-map:hover img { transform:scale(1.04); }
.map-cta { position:absolute; left:18px; bottom:18px; display:inline-flex; align-items:center; gap:8px; padding:12px 18px; border-radius:var(--pill); background:var(--white); color:var(--ink); font-weight:600; font-size:15px; box-shadow:var(--sh-2); transition:transform .3s var(--ease-out); }
.map-cta .ico:first-child { color:var(--blue-deep); }
.evd-map:hover .map-cta { transform:translateY(-3px); }
.map-credit { margin-top:8px; font-size:12.5px; color:var(--muted); }
.map-credit a { text-decoration:underline; }
.share-row { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.share-btn { width:46px; height:46px; border-radius:50%; display:grid; place-items:center; border:1.5px solid var(--line-2); color:var(--ink); background:var(--white); transition:background-color .2s, color .2s, border-color .2s, transform .3s var(--spring); }
.share-btn svg { width:19px; height:19px; fill:currentColor; }
.share-btn svg.ico { fill:none; }
.share-btn:hover { background:var(--navy); color:#fff; border-color:var(--navy); transform:translateY(-3px); }
.share-status { font-size:14px; color:#0F5A2B; font-weight:600; }
.evd-side { position:sticky; top:calc(var(--header-h) + 10px); }
.rsvp-card { background:var(--white); border-radius:var(--r-lg); border:1px solid var(--line); box-shadow:var(--sh-2); padding:30px; }
.rsvp-card h2 { font-size:28px; }
.rc-sub { color:var(--muted); font-size:15px; margin:6px 0 22px; }
.rsvp-card.is-ended { text-align:center; display:flex; flex-direction:column; align-items:center; gap:12px; }
.rc-ico { width:58px; height:58px; border-radius:50%; display:grid; place-items:center; background:var(--blue-tint); color:var(--blue-dark); }
.rc-ico .ico { width:28px; height:28px; }
.rc-ico.ok { background:#E3F5E9; color:#0F5A2B; animation:pop .6s var(--spring); }
@keyframes pop { from{transform:scale(.4);opacity:0} to{transform:none;opacity:1} }
.field { display:flex; flex-direction:column; gap:6px; margin-bottom:14px; min-width:0; }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.field label { font-size:14px; font-weight:600; color:var(--ink-2); }
.field input,.select-wrap select { width:100%; min-height:50px; padding:12px 14px; border:1.5px solid #7D8594; border-radius:12px; background:var(--white); font-size:16px; transition:border-color .2s, box-shadow .2s; }
.field input:focus,.select-wrap select:focus { outline:none; border-color:var(--blue-deep); box-shadow:0 0 0 4px rgba(17,109,255,.22); }
.field input[aria-invalid="true"] { border-color:#B42318; box-shadow:0 0 0 3px rgba(180,35,24,.14); }
.select-wrap { position:relative; }
.select-wrap select { appearance:none; -webkit-appearance:none; padding-right:44px; cursor:pointer; }
.select-wrap .ico { position:absolute; right:14px; top:50%; transform:translateY(-50%); pointer-events:none; width:20px; height:20px; }
.form-msg { margin-top:12px; font-size:14.5px; font-weight:600; color:#B42318; }
.form-msg:empty { display:none; }
.rsvp-done { text-align:center; display:flex; flex-direction:column; align-items:center; gap:10px; padding:10px 0; outline:none; }
.rsvp-done h3 { font-size:24px; }
.rsvp-done p { color:var(--ink-2); }
.rsvp-closed { text-align:center; display:flex; flex-direction:column; align-items:center; gap:10px; padding:6px 0 4px; }
.rsvp-closed h3 { font-size:22px; }
.rsvp-closed p { color:var(--ink-2); }
.ev-desc p, .evd-hero .lead { white-space:pre-line; }
/* dashboard-driven pages: loading + not-found states */
main.is-loading [data-x-title] { color:transparent; background:linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.22), rgba(255,255,255,.08)); background-size:200% 100%; border-radius:14px; max-width:14ch; animation:lc-shimmer 1.4s linear infinite; }
main.is-loading .post-title[data-x-title] { background:linear-gradient(90deg, var(--paper-2), #fff, var(--paper-2)); background-size:200% 100%; }
@keyframes lc-shimmer { to { background-position:-200% 0; } }
.evd-nf { text-align:center; }
.evd-nf .container { display:flex; flex-direction:column; align-items:center; gap:16px; }
.evd-nf .thanks-ico { background:var(--blue-tint); border-color:transparent; color:var(--blue-dark); margin-bottom:6px; animation:none; }
.evd-nf .thanks-ico .ico { fill:none; }
.evd-nf .lead { max-width:52ch; color:var(--ink-2); }
.addcal { margin-top:22px; padding-top:20px; border-top:1px solid var(--line); }
.addcal-h { font-weight:600; font-size:14.5px; margin-bottom:10px; color:var(--ink-2); }
.addcal-row { display:flex; flex-wrap:wrap; gap:8px; }
.btn[aria-busy="true"] { pointer-events:none; opacity:.85; }
.btn[aria-busy="true"]::after { content:''; width:16px; height:16px; border-radius:50%; border:2px solid rgba(255,255,255,.4); border-top-color:#fff; animation:spin .8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }

/* ============================================================ LIVE */
.live-page { background:radial-gradient(90% 60% at 100% 0%,rgba(17,109,255,.28),transparent 60%), radial-gradient(70% 50% at 0% 40%,rgba(122,76,217,.14),transparent 60%), var(--navy); color:#fff; }
.live-hero { padding:calc(var(--header-h) + clamp(50px,7vw,90px)) 0 40px; }
.live-stage { display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(30px,5vw,70px); align-items:center; }
.ls-status h1 { font-size:clamp(40px,5.2vw,72px); color:#fff; letter-spacing:-.03em; }
.ls-status .lead { color:var(--on-dark); margin-top:18px; }
.ls-status .hero-actions { justify-content:flex-start; }
.live-dot { width:10px; height:10px; border-radius:50%; background:#FF5C5E; box-shadow:0 0 0 4px rgba(255,92,94,.25); }
.ls-status .eyebrow::before { display:none; }
.ls-label { font-family:var(--mono); font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:#AFC9FF; margin-bottom:12px; }
.yt-lite { position:relative; aspect-ratio:16/9; border-radius:var(--r-lg); overflow:hidden; background:#000; box-shadow:0 40px 90px rgba(0,0,0,.5); border:1px solid rgba(255,255,255,.14); }
.yt-lite img { width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease-out); }
.yt-lite:hover img { transform:scale(1.03); }
.yt-lite iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.yt-play { position:absolute; inset:0; margin:auto; width:84px; height:84px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.95); color:var(--blue-deep); box-shadow:0 14px 40px rgba(0,0,0,.4); transition:transform .35s var(--spring); }
.yt-play .ico { width:30px; height:30px; margin-left:4px; }
.yt-play:hover { transform:scale(1.1); }
.yt-play::before { content:''; position:absolute; inset:-10px; border-radius:50%; border:2px solid rgba(255,255,255,.5); animation:ping 2.4s var(--ease) infinite; }
.ls-title { margin-top:14px; font-weight:600; color:var(--on-dark); }
.sermons { padding-top:clamp(50px,6vw,80px); }
.sermons h2 { color:#fff; font-size:clamp(32px,3.8vw,48px); }
.sermon-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px 22px; }
.sermon-card { position:relative; transition:opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.sc-thumb { position:relative; display:block; aspect-ratio:16/9; border-radius:var(--r); overflow:hidden; background:#0A0F1A; border:1px solid rgba(255,255,255,.1); }
.sc-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .9s var(--ease-out); }
.sermon-card:hover .sc-thumb img { transform:scale(1.06); }
.sc-play { position:absolute; inset:0; display:grid; place-items:center; background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.45)); }
.sc-play .ico { width:52px; height:52px; padding:15px 13px 15px 17px; border-radius:50%; background:rgba(255,255,255,.94); color:var(--blue-deep); transform:scale(.9); transition:transform .35s var(--spring); }
.sermon-card:hover .sc-play .ico { transform:scale(1.05); }
.sc-title { margin-top:14px; font-family:var(--sans); font-size:16px; font-weight:600; line-height:1.4; letter-spacing:0; color:var(--on-dark); }
.sermon-card.is-more { display:none; }
.sermon-grid.show-all .sermon-card.is-more { display:block; animation:cardIn .6s var(--ease-out) both; }
.ccl-note { margin-top:clamp(56px,6vw,80px); padding:30px 32px; border-radius:var(--r); background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); max-width:900px; }
.ccl-note h2 { font-size:22px; color:#fff; margin-bottom:10px; }
.ccl-note p { color:var(--on-dark-2); font-size:15px; }
.ccl-note p + p { margin-top:8px; }
.ccl-note a { color:#C7DAFF; text-decoration:underline; text-underline-offset:3px; }

/* ============================================================ BLOG */
.tabs { margin-bottom:clamp(36px,4vw,52px); border-bottom:1px solid var(--line); }
.tabs ul { display:flex; gap:6px; }
.tab { display:inline-block; padding:14px 18px; font-weight:600; color:var(--muted); border-bottom:3px solid transparent; margin-bottom:-1px; transition:color .2s, border-color .2s; }
.tab:hover { color:var(--ink); }
.tab.is-active { color:var(--blue-text); border-bottom-color:var(--blue-deep); }
.post-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.post-grid .pc-wide { grid-column:1 / -1; display:grid; grid-template-columns:1.2fr 1fr; }
.post-grid .pc-wide .pc-media { aspect-ratio:auto; min-height:380px; }
.post-grid .pc-wide .pc-body { padding:clamp(28px,4vw,52px); justify-content:center; }
.post-grid .pc-wide .pc-title { font-size:clamp(28px,3vw,40px); }
.post-grid .pc-wide .pc-excerpt { -webkit-line-clamp:4; font-size:16.5px; }

/* post */
.post-head { background:var(--navy); color:#fff; padding:calc(var(--header-h) + clamp(40px,6vw,80px)) 0 clamp(130px,12vw,180px); position:relative; isolation:isolate; overflow:hidden; }
.post-head::before { content:''; position:absolute; inset:0; z-index:-1; background:radial-gradient(70% 90% at 100% 0%,rgba(17,109,255,.4),transparent 60%); }
.breadcrumbs ol { display:flex; flex-wrap:wrap; gap:8px; font-size:14.5px; color:var(--on-dark-2); }
.breadcrumbs li + li::before { content:'/'; margin-right:8px; opacity:.6; }
.breadcrumbs a:hover { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.breadcrumbs [aria-current] { color:#fff; }
.post-title { font-size:clamp(36px,5vw,64px); line-height:1.06; letter-spacing:-.03em; color:#fff; margin:22px 0 18px; }
.post-meta { display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-family:var(--mono); font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--on-dark-2); }
.post-meta .dot { width:4px; height:4px; border-radius:50%; background:currentColor; }
.post-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:clamp(40px,5vw,72px); align-items:start; margin-top:calc(-1 * clamp(100px,9vw,140px)); position:relative; z-index:2; padding-bottom:clamp(80px,9vw,120px); }
.post-cover { border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--sh-3); margin-bottom:clamp(36px,4vw,52px); background:var(--paper-2); }
.post-cover img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.post-body { font-size:18.5px; }
.post-foot { margin-top:48px; padding-top:28px; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:18px; flex-wrap:wrap; }
.recent-posts { position:sticky; top:calc(var(--header-h) + 12px); background:var(--white); border-radius:var(--r); border:1px solid var(--line); padding:24px; box-shadow:var(--sh-1); }
.recent-posts h2 { font-size:22px; margin-bottom:6px; }
.rp-item { display:flex; gap:14px; align-items:center; padding:14px 0; border-bottom:1px solid var(--line); }
.rp-item img,.rp-none { width:84px; height:62px; border-radius:10px; object-fit:cover; flex-shrink:0; background:var(--paper-2); }
.rp-txt strong { display:block; font-size:15px; line-height:1.35; }
.rp-txt span { display:block; font-family:var(--mono); font-size:11.5px; color:var(--muted); margin-top:4px; letter-spacing:.06em; }
.rp-item:hover strong { color:var(--blue-text); }
.recent-posts .link-arrow { margin-top:12px; }

/* ============================================================ DONATE */
.donate-split { display:grid; grid-template-columns:1fr 1.1fr; min-height:100vh; padding-top:var(--header-h); background:var(--navy); }
.ds-img { position:sticky; top:var(--header-h); height:calc(100vh - var(--header-h)); overflow:hidden; background:var(--navy); }
.ds-img img { width:100%; height:100%; object-fit:cover; }
.ds-veil { position:absolute; inset:0; background:linear-gradient(200deg,rgba(17,109,255,.18),rgba(7,26,51,.55)); }
.ds-form { padding:clamp(48px,6vw,90px) clamp(24px,5vw,80px); background:var(--white); }
.ds-form h1 { font-size:clamp(40px,4.8vw,64px); letter-spacing:-.03em; margin-bottom:20px; }
.ds-form .intro { color:var(--ink-2); font-size:16.5px; }
.ds-form .intro + .intro { margin-top:12px; }
.ds-links { display:flex; flex-wrap:wrap; gap:10px; margin:26px 0 8px; }
.donate-form { margin-top:12px; }
.f-label { display:block; font-family:var(--mono); font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-2); margin:28px 0 12px; }
.seg { display:flex; padding:4px; gap:4px; border-radius:var(--pill); background:var(--paper); border:1px solid var(--line-2); }
.seg-btn { flex:1; min-height:46px; padding:0 10px; border-radius:var(--pill); font-weight:600; font-size:15px; color:var(--ink-2); transition:background-color .25s, color .25s, box-shadow .25s; }
.seg-btn:hover { color:var(--ink); background:rgba(18,24,38,.05); }
.seg-btn.selected { background:var(--navy); color:#fff; box-shadow:var(--sh-1); }
.amount-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.amount-btn { min-height:56px; border-radius:var(--r-sm); border:1.5px solid #7D8594; background:var(--white); font-weight:700; font-size:17px; transition:background-color .2s, border-color .2s, color .2s, transform .25s var(--spring); }
.amount-btn:hover { border-color:var(--blue-deep); background:var(--blue-faint); transform:translateY(-2px); }
.amount-btn.selected { background:var(--blue-deep); border-color:var(--blue-deep); color:#fff; box-shadow:0 10px 22px -8px rgba(10,79,209,.65); }
.custom-amt .f-label { margin-top:18px; }
.input-prefix { position:relative; }
.input-prefix span { position:absolute; left:16px; top:50%; transform:translateY(-50%); font-weight:700; color:var(--ink-2); }
.custom-input { width:100%; min-height:54px; padding:12px 16px 12px 34px; border:1.5px solid #7D8594; border-radius:var(--r-sm); font-size:17px; background:var(--white); }
.custom-input:focus,.comment-box textarea:focus { outline:none; border-color:var(--blue-deep); box-shadow:0 0 0 4px rgba(17,109,255,.22); }
.fee-check { display:flex; align-items:flex-start; gap:12px; margin:24px 0 0; font-size:15.5px; color:var(--ink-2); cursor:pointer; position:relative; }
.fee-check input { position:absolute; opacity:0; width:24px; height:24px; margin:0; cursor:pointer; }
.check-box { width:24px; height:24px; border-radius:7px; border:1.5px solid #7D8594; display:grid; place-items:center; flex-shrink:0; background:var(--white); color:transparent; transition:background-color .2s, border-color .2s, color .2s; }
.check-box .ico { width:16px; height:16px; stroke-width:2.6; }
.fee-check input:checked + .check-box { background:var(--blue-deep); border-color:var(--blue-deep); color:#fff; }
.fee-check input:focus-visible + .check-box { outline:3px solid var(--blue); outline-offset:3px; }
.comment-box { position:relative; }
.comment-box textarea { width:100%; min-height:100px; resize:vertical; padding:14px 16px 30px; border:1.5px solid #7D8594; border-radius:var(--r-sm); font-size:16px; background:var(--white); }
.comment-count { position:absolute; right:14px; bottom:10px; font-size:12.5px; color:var(--muted); }
.donate-submit { margin-top:30px; font-variant-numeric:tabular-nums; }
.donate-secure { display:flex; align-items:flex-start; justify-content:center; gap:8px; margin-top:14px; font-size:14px; line-height:1.45; color:var(--muted); text-align:left; }
.donate-secure .ico { flex:none; margin-top:2px; }
.ds-share { margin-top:30px; padding-top:24px; border-top:1px solid var(--line); }

/* thanks */
.thanks { position:relative; isolation:isolate; overflow:hidden; min-height:100svh; display:flex; align-items:center; padding:calc(var(--header-h) + 60px) 0 90px; background:var(--navy); color:#fff; text-align:center; }
.thanks-bg { position:absolute; inset:0; z-index:-1; background:radial-gradient(60% 60% at 50% 30%,rgba(17,109,255,.45),transparent 70%); }
.thanks-inner { max-width:820px; }
.thanks-ico { display:inline-grid; place-items:center; width:84px; height:84px; border-radius:50%; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25); color:#FF9BAE; margin-bottom:26px; animation:beat 2.4s var(--ease) infinite; }
.thanks-ico .ico { width:38px; height:38px; fill:currentColor; }
@keyframes beat { 0%,100%{transform:scale(1)} 12%{transform:scale(1.12)} 24%{transform:scale(1)} 36%{transform:scale(1.08)} 48%{transform:scale(1)} }
.thanks .eyebrow { justify-content:center; }
.thanks h1 { font-size:clamp(40px,6vw,80px); letter-spacing:-.03em; }
.thanks .lead { color:var(--on-dark); margin:20px auto 12px; }
.thanks p { color:var(--on-dark-2); }

/* ============================================================ MINISTRIES */
.min-top { display:flex; flex-direction:column; align-items:center; gap:30px; margin-bottom:clamp(40px,5vw,60px); }
.min-search { position:relative; width:100%; max-width:560px; }
.min-search .ico { position:absolute; left:20px; top:50%; transform:translateY(-50%); width:20px; height:20px; color:var(--muted); }
.min-search input { width:100%; min-height:58px; padding:14px 22px 14px 54px; border-radius:var(--pill); border:1.5px solid #7D8594; background:var(--white); font-size:17px; box-shadow:var(--sh-1); transition:border-color .2s, box-shadow .2s; }
.min-search input:focus { outline:none; border-color:var(--blue-deep); box-shadow:0 0 0 5px rgba(17,109,255,.18); }

/* ============================================================ FOOTER */
.site-footer { position:relative; isolation:isolate; overflow:hidden; background:var(--navy); color:#fff; }
.footer-bg { position:absolute; inset:0; z-index:-2; background:radial-gradient(60% 80% at 100% 0%,rgba(17,109,255,.28),transparent 60%), linear-gradient(180deg,var(--navy-2),var(--navy) 60%); }
.footer-emblem { position:absolute; left:50%; bottom:-40px; width:320px; height:auto; transform:translateX(-50%); opacity:.06; z-index:-1; pointer-events:none; }
.footer-top { display:grid; grid-template-columns:1.5fr 1fr 1fr 1.3fr; gap:44px; padding-top:clamp(70px,8vw,100px); padding-bottom:40px; }
.footer-logo { height:58px; width:auto; margin-bottom:20px; }
.footer-tagline { color:var(--on-dark-2); max-width:300px; font-size:15.5px; }
.footer-social { display:flex; gap:10px; margin-top:24px; }
.soc { width:44px; height:44px; border-radius:50%; display:grid; place-items:center; border:1px solid rgba(255,255,255,.25); transition:background-color .2s, border-color .2s, transform .3s var(--spring); }
.soc svg { width:18px; height:18px; fill:#fff; }
.soc:hover { background:var(--blue-deep); border-color:var(--blue-deep); transform:translateY(-3px); }
.footer-h { font-family:var(--mono); font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:#AFC9FF; margin-bottom:18px; }
.footer-col ul { display:grid; gap:4px; }
.footer-col a { display:inline-flex; align-items:center; gap:10px; padding:6px 0; color:var(--on-dark); font-size:15.5px; transition:color .2s, transform .25s var(--ease-out); }
.footer-col a:hover { color:#fff; transform:translateX(3px); }
.footer-contact .ico { color:#AFC9FF; }
.footer-watermark { font-family:var(--serif); font-weight:800; font-size:clamp(56px,12.4vw,190px); line-height:.86; letter-spacing:-.04em; white-space:nowrap; text-align:center; color:transparent; -webkit-text-stroke:1px rgba(255,255,255,.14); padding:10px 0 0; user-select:none; overflow:hidden; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding-top:22px; padding-bottom:28px; padding-right:90px; border-top:1px solid rgba(255,255,255,.12); font-size:14px; color:var(--on-dark-2); }
.footer-bottom a { display:inline-block; padding:4px 0; color:#fff; text-decoration:underline; text-underline-offset:3px; }

/* ============================================================ MOTION */
html.js [data-reveal] { opacity:0; transform:translateY(30px); transition:opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay:var(--d,0ms); }
html.js [data-reveal].in { opacity:1; transform:none; }
html.js .ev-card { opacity:0; transform:translateY(40px); transition:opacity .9s var(--ease-out), transform .9s var(--ease-out), box-shadow .5s; transition-delay:var(--d,0ms); }
html.js .ev-card.in { opacity:1; transform:none; }
html.js .ev-card.in:hover { transform:translateY(-8px); transition-delay:0ms; }
html.js .post-card.in:hover,html.js .g-card.in:hover,html.js .value-card.in:hover { transition-delay:0ms; }
[data-parallax] { will-change:transform; }

@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; transition-delay:0ms !important; }
  html.js [data-reveal], html.js .ev-card, html.js .split.anim .w > span { opacity:1 !important; transform:none !important; }
  [data-parallax] { transform:none !important; }
  .chat-bubble::after,.yt-play::before,.pulse { animation:none !important; }
}

/* ============================================================ RESPONSIVE */
@media (max-width:1180px) {
  .main-nav a { padding:10px 8px; font-size:15px; }
  .values-grid { grid-template-columns:repeat(2,1fr); }
  .evd-grid { grid-template-columns:minmax(0,1fr) 360px; }
}
@media (max-width:1100px) {
  .main-nav,.header-actions .lang-switch,.header-actions .icon-btn { display:none; }
  .nav-toggle { display:inline-flex; }
  .header-actions { margin-left:auto; }
  .post-mosaic { grid-template-columns:1fr 1fr; }
  .post-mosaic .pc-feature { grid-column:1 / -1; grid-row:auto; }
  .ev-cards,.g-grid,.post-grid,.sermon-grid,.leaders-grid { grid-template-columns:repeat(2,1fr); }
  .evd-grid,.post-layout { grid-template-columns:1fr; }
  .evd-side,.recent-posts { position:static; }
  .evd-grid { display:flex; flex-direction:column; gap:0; }
  .evd-main { display:contents; }
  .evd-main > .evd-block { order:2; }
  .evd-main > .evd-block:first-child { order:0; }
  .evd-side { order:1; margin:44px 0 0; }
  .evd-side + * , .evd-main > .evd-block:nth-child(2) { margin-top:52px; }
  .footer-top { grid-template-columns:1fr 1fr; }
  .live-stage { grid-template-columns:1fr; }
}
@media (max-width:760px) {
  [data-bgsm] { background-image:var(--bg-sm) !important; }
}
@media (max-width:600px) {
  .hero-page .eyebrow::before { display:none; }
  .hero-page .eyebrow { text-align:center; line-height:1.6; }
  .seg { display:grid; grid-auto-flow:column; grid-auto-columns:1fr; }
  .seg-btn { padding:0 4px; font-size:14px; white-space:nowrap; }
}
@media (max-width:820px) {
  :root { --header-h:72px; }
  .stats { grid-template-columns:1fr 1fr; }
  .stat:nth-child(3) { padding-left:0; border-left:0; }
  .brand img { height:42px; }
  .welcome-grid,.needs-grid,.calling-grid,.donate-split { grid-template-columns:1fr; }
  .fan { height:clamp(320px,80vw,460px); max-width:520px; margin:0 auto; width:100%; }
  .collage { grid-template-columns:1fr 1fr; }
  .collage .c2 { grid-column:1 / -1; order:-1; }
  .collage .c1,.collage .c3 { transform:none; }
  .ds-img { position:relative; top:0; height:clamp(260px,50vw,380px); }
  .es-inner { flex-wrap:wrap; }
  .es-cta { width:100%; }
  .post-grid .pc-wide { grid-template-columns:1fr; }
  .post-grid .pc-wide .pc-media { min-height:0; aspect-ratio:3/2; }
  /* calendar becomes an agenda list */
  .cal thead { display:none; }
  .cal,.cal tbody,.cal tr,.cal td { display:block; width:100%; }
  .cal-day { height:auto; border-right:0; padding:0; }
  .cal-day:not(.has-ev) { display:none; }
  .cal-day.has-ev { padding:14px 16px; }
  .cal-day.is-other.has-ev { background:#FAFAF8; }
  .cal-num { display:inline-block; height:auto; padding:4px 12px; background:var(--paper-2); font-size:13.5px; }
  .cal-num .sr-only { position:static !important; width:auto; height:auto; margin:0; clip:auto; overflow:visible; white-space:normal; }
  .cal-num > [aria-hidden] { display:none; }
  .cal-day.is-today .cal-num { background:var(--blue-deep); color:#fff; }
  .cal-day.is-other .cal-num { color:var(--ink-2); }
  .cal-ev { font-size:15px; padding:10px 12px; }
  .cal-ev-n { white-space:normal; }
  .cal-wrap.is-empty .cal-empty-msg { display:block; }
}
@media (max-width:640px) {
  body { font-size:16.5px; }
  .ev-cards,.g-grid,.post-grid,.sermon-grid,.leaders-grid,.values-grid,.post-mosaic { grid-template-columns:1fr; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-actions .btn { width:100%; }
  .hero-home { padding-bottom:170px; }
  .scroll-cue { display:none; }
  .event-strip { margin-top:-120px; }
  .es-inner { padding:18px; }
  .ev-feature { margin-top:-70px; }
  .footer-top { grid-template-columns:1fr; gap:32px; }
  .footer-bottom { padding-right:0; padding-bottom:96px; flex-direction:column; }
  .field-row { grid-template-columns:1fr; }
  .amount-grid { grid-template-columns:repeat(2,1fr); }
  .seg { flex-wrap:wrap; border-radius:var(--r-sm); }
  .rsvp-card { padding:22px; }
  .cal-head { align-items:stretch; }
  .cal-nav { flex-wrap:wrap; }
  .cal-month { min-width:0; flex:1; font-size:19px; }
  .btn-donate { padding:0 16px; }
  .evd-media { aspect-ratio:4/3; }
  .header-inner { gap:12px; }
}
@media print {
  .site-header,.chat-wrap,.mobile-menu,.site-footer,.hero-actions,.share-row { display:none !important; }
  html.js [data-reveal], html.js .ev-card { opacity:1 !important; transform:none !important; }
}

/* ---------- Giving: Wix Donations campaigns (live-donate.js) ---------- */
.donate-msg { margin-top:14px; padding:12px 16px; border-radius:var(--r-sm); background:#FDECEC; color:#8A1C1C; font-size:15px; font-weight:500; }
.donate-submit[aria-busy="true"] { cursor:progress; opacity:.85; }
.donate-submit:disabled { opacity:.55; cursor:not-allowed; }
.funds { background:var(--paper); }
.fund-grid { list-style:none; margin:40px 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:22px; }
.fund-card { border-radius:var(--r); background:var(--white); box-shadow:var(--sh-1); overflow:hidden; transition:transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.fund-card:hover { transform:translateY(-4px); box-shadow:var(--sh-2); }
.fund-card:focus-within { box-shadow:0 0 0 3px var(--blue), var(--sh-2); }
.fund-link { display:flex; flex-direction:column; height:100%; color:inherit; text-decoration:none; outline:none; }
.fund-media { display:block; aspect-ratio:16/10; overflow:hidden; background:var(--blue-tint); }
.fund-media img { width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease-out); }
.fund-card:hover .fund-media img { transform:scale(1.04); }
.fund-body { display:flex; flex-direction:column; gap:12px; padding:20px 22px 22px; flex:1; }
.fund-name { font-family:var(--display, inherit); font-size:20px; font-weight:600; letter-spacing:-.01em; line-height:1.25; }
.fund-body .link-arrow { margin-top:auto; }
.fund-goal { display:flex; flex-direction:column; gap:8px; }
.fund-goal[hidden] { display:none; }
.fund-bar { display:block; height:8px; border-radius:99px; background:var(--blue-tint); overflow:hidden; }
.fund-bar > span { display:block; height:100%; width:2%; border-radius:inherit; background:linear-gradient(90deg,var(--blue-deep),var(--blue)); transition:width 1.1s var(--ease-out); }
.fund-raised { font-size:14px; color:var(--ink-2); }
.fund-goal-lg { margin:4px 0 26px; }
.give-missing h2 { font-size:clamp(26px,3vw,34px); margin:8px 0 12px; }
.give-missing .btn { margin-top:20px; }
.give-loading:empty { display:none; }
[data-give] [data-give-loading] { min-height:2px; }
.receipt-line { font-size:18px; font-weight:600; margin:6px 0 12px; }
.receipt-no { display:inline-block; font-family:var(--mono); font-size:13px; font-weight:500; letter-spacing:.06em; opacity:.8; }
@media (prefers-reduced-motion:reduce) { .fund-card, .fund-media img, .fund-bar > span { transition:none; } .fund-card:hover { transform:none; } }
.funds .statement { text-align:left; margin:14px 0 0; max-width:62ch; font-size:clamp(17px,1.5vw,19px); color:var(--ink-2); }

/* ---------- "Message us" panel (message.js) ---------- */
.chat-bubble svg.cb-close { position:absolute; width:22px; height:22px; fill:none; stroke:#fff; stroke-width:2.4; stroke-linecap:round; opacity:0; transform:rotate(-90deg) scale(.6); }
.chat-bubble svg { transition:opacity .25s var(--ease), transform .35s var(--spring); }
.chat-bubble.is-open svg.cb-chat { opacity:0; transform:rotate(90deg) scale(.6); }
.chat-bubble.is-open svg.cb-close { opacity:1; transform:none; }
.chat-bubble.is-open::after { animation:none; opacity:0; }
.msg-panel { position:fixed; right:22px; bottom:94px; z-index:151; width:min(390px, calc(100vw - 32px)); max-height:calc(100vh - 124px); overflow:auto; overscroll-behavior:contain;
  background:var(--white); color:var(--ink); border-radius:22px; border:1px solid var(--line); box-shadow:0 30px 80px -20px rgba(7,26,51,.45), 0 8px 24px -8px rgba(7,26,51,.18);
  transform-origin:calc(100% - 29px) calc(100% + 36px); opacity:0; transform:translateY(14px) scale(.9); transition:opacity .28s var(--ease), transform .42s var(--ease-out); }
.msg-panel.is-open { opacity:1; transform:none; }
.msg-head { position:sticky; top:0; z-index:1; display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:start; padding:20px 18px 18px 20px; background:linear-gradient(135deg,var(--navy) 0%,var(--navy-3) 100%); color:#fff; border-radius:21px 21px 0 0; }
.msg-logo { width:40px; height:40px; border-radius:12px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.22); padding:6px; object-fit:contain; }
.msg-title { font-size:19px; line-height:1.2; letter-spacing:-.01em; color:#fff; margin:2px 0 6px; }
.msg-sub { font-size:14px; line-height:1.45; color:rgba(255,255,255,.82); margin:0; }
.msg-x { width:44px; height:44px; margin:-8px -6px 0 0; border:0; border-radius:50%; background:transparent; display:grid; place-items:center; cursor:pointer; transition:background-color .2s; }
.msg-x:hover { background:rgba(255,255,255,.12); }
.msg-x svg { width:20px; height:20px; fill:none; stroke:#fff; stroke-width:2.2; stroke-linecap:round; }
.msg-x:focus-visible { outline-color:#fff; }
.msg-form { padding:18px 20px 20px; }
.msg-form .field { margin-bottom:12px; }
.msg-form .field input { min-height:46px; }
.field textarea { width:100%; min-height:96px; padding:12px 14px; border:1.5px solid #7D8594; border-radius:12px; background:var(--white); font:inherit; font-size:16px; resize:vertical; transition:border-color .2s, box-shadow .2s; }
.field textarea:focus { outline:none; border-color:var(--blue-deep); box-shadow:0 0 0 4px rgba(17,109,255,.22); }
.field textarea[aria-invalid="true"] { border-color:#B42318; box-shadow:0 0 0 3px rgba(180,35,24,.14); }
.field-err { font-size:13.5px; font-weight:600; color:#B42318; min-height:0; }
.field-err:empty { display:none; }
.msg-alert { margin:0 0 14px; padding:10px 14px; border-radius:12px; background:#FDECEC; color:#8A1C1C; font-size:14.5px; font-weight:500; }
.msg-hp { position:absolute !important; left:-9999px; width:1px; height:1px; overflow:hidden; }
.msg-send { margin-top:4px; }
.msg-send[aria-busy="true"] { cursor:progress; opacity:.85; }
.msg-privacy { margin:10px 0 0; font-size:13px; color:var(--muted); text-align:center; }
.msg-done { padding:34px 24px 28px; text-align:center; }
.msg-done h3 { font-size:22px; margin:16px 0 8px; outline:none; }
.msg-done p { color:var(--ink-2); margin:0 0 22px; }
.msg-done-actions { display:flex; flex-direction:column; align-items:center; gap:10px; }
.msg-done-actions .link-arrow { border:0; background:none; cursor:pointer; font:inherit; font-weight:600; }
.msg-check { display:inline-grid; place-items:center; width:72px; height:72px; }
.msg-check svg { width:72px; height:72px; fill:none; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.msg-check circle { stroke:var(--blue-soft); }
.msg-check path { stroke:var(--blue-deep); stroke-dasharray:40; stroke-dashoffset:0; }
.msg-done.play .msg-check circle { stroke-dasharray:151; animation:msgDraw .6s var(--ease-out) both; }
.msg-done.play .msg-check path { animation:msgDrawCheck .45s .45s var(--ease-out) both; }
.msg-done.play h3, .msg-done.play p, .msg-done.play .msg-done-actions { animation:msgUp .5s .25s var(--ease-out) both; }
@keyframes msgDraw { from { stroke-dashoffset:151; } to { stroke-dashoffset:0; } }
@keyframes msgDrawCheck { from { stroke-dashoffset:40; } to { stroke-dashoffset:0; } }
@keyframes msgUp { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
@media (max-width:560px) {
  .msg-panel { right:10px; left:10px; width:auto; bottom:86px; max-height:calc(100dvh - 86px - var(--header-h, 72px) - 12px); }
  .msg-head { padding:16px 14px 14px 16px; }
  .msg-sub { font-size:13.5px; }
}
@media (prefers-reduced-motion:reduce) {
  .msg-panel { transform:none !important; transition:opacity .15s linear; }
  .chat-bubble svg { transition:opacity .15s linear; transform:none !important; }
  .msg-done.play .msg-check circle, .msg-done.play .msg-check path, .msg-done.play h3, .msg-done.play p, .msg-done.play .msg-done-actions { animation:none; }
}
@media print { .msg-panel { display:none !important; } }

/* ============================================================
   Ministry pages, Online Programs, account
   ============================================================ */
.g-card { cursor:pointer; }
.g-link { color:inherit; }
.g-link::after { content:""; position:absolute; inset:0; z-index:1; border-radius:inherit; }
.g-card:focus-within { outline:3px solid var(--blue); outline-offset:3px; }
.g-card:not(.light):focus-within { outline-color:#fff; }
.g-link:focus-visible { outline:none; }
.min-more { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:44px; }

.hero-ministry .hero-content { max-width:980px; }
.hero-ministry .lead { color:var(--on-dark); max-width:720px; margin:22px auto 0; }
.min-bar { position:relative; z-index:2; background:var(--white); border-bottom:1px solid var(--line); box-shadow:0 1px 0 rgba(255,255,255,.6) inset; }
.min-bar-in { display:flex; align-items:center; gap:18px; min-height:76px; flex-wrap:wrap; padding-top:12px; padding-bottom:12px; }
.min-back { display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:15px; color:var(--ink-2); padding:10px 0; }
.min-back:hover { color:var(--ink); }
.min-back.on-dark { color:var(--on-dark); }
.min-back.on-dark:hover { color:#fff; }
.ico.flip { transform:scaleX(-1); }
.min-cta { margin-left:auto; display:flex; gap:10px; flex-wrap:wrap; }
.min-cta .btn { min-height:46px; padding:12px 22px; font-size:15px; }
.btn.is-done { background:#E3F5E9; color:#0F5A2B; box-shadow:none; cursor:default; }
.btn.is-busy { opacity:.7; pointer-events:none; }

.min-about-grid { display:grid; grid-template-columns:1.25fr .9fr; gap:clamp(36px,6vw,90px); align-items:center; }
.min-lede { font-family:var(--serif); font-size:clamp(22px,2.3vw,29px); line-height:1.45; letter-spacing:-.01em; color:var(--ink); }
.min-who { margin-top:34px; padding:22px 24px; border-left:3px solid var(--blue); background:var(--white); border-radius:0 var(--r-sm) var(--r-sm) 0; box-shadow:var(--sh-1); }
.min-who h2 { font-family:var(--mono); font-size:12.5px; letter-spacing:.2em; text-transform:uppercase; color:var(--blue-text); margin-bottom:8px; }
.min-who p { color:var(--ink-2); }
.min-verse { position:relative; margin:0; padding:clamp(34px,4vw,52px); border-radius:var(--r-lg); background:linear-gradient(150deg,var(--navy) 0%,var(--navy-3) 100%); color:#fff; overflow:hidden; box-shadow:var(--sh-3); }
.min-verse::after { content:""; position:absolute; right:-80px; top:-80px; width:260px; height:260px; border-radius:50%; background:radial-gradient(circle, rgba(17,109,255,.45), transparent 70%); }
.min-verse-mark { font-family:var(--serif); font-size:120px; line-height:.6; color:var(--blue-soft); display:block; height:52px; }
.min-verse blockquote p { font-family:var(--serif); font-size:clamp(21px,2vw,26px); line-height:1.45; position:relative; z-index:1; }
.min-verse figcaption { margin-top:20px; font-family:var(--mono); font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--on-dark-2); }

.min-expect { background:var(--white); }
.min-hl-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:6px; }
.min-hl { padding:28px 24px 30px; border-radius:var(--r); background:var(--paper); border:1px solid var(--line); transition:transform .45s var(--ease-out), box-shadow .3s, opacity .9s var(--ease-out); }
.min-hl:hover { transform:translateY(-4px); box-shadow:var(--sh-2); }
.min-hl-ico { width:52px; height:52px; border-radius:16px; display:grid; place-items:center; background:var(--blue-tint); color:var(--blue-deep); margin-bottom:20px; }
.min-hl-ico .ico { width:24px; height:24px; }
.min-hl h3 { font-size:20px; line-height:1.25; margin-bottom:8px; }
.min-hl p { font-size:15.5px; color:var(--ink-2); }
.min-hl:nth-child(2) { --d:80ms; } .min-hl:nth-child(3) { --d:160ms; } .min-hl:nth-child(4) { --d:240ms; }

.min-board-head { text-align:center; margin-bottom:34px; }
.min-board-head h2,.min-h2 { font-size:clamp(32px,4vw,52px); }
.min-board-head p { color:var(--ink-2); margin-top:10px; }
.min-gate { text-align:center; padding:44px 28px; border:1.5px dashed var(--line-2); border-radius:var(--r); background:var(--white); display:flex; flex-direction:column; gap:18px; align-items:center; color:var(--ink-2); }
.min-board[aria-busy="true"] { opacity:.6; transition:opacity .3s; }
.mb-list { display:flex; flex-direction:column; gap:20px; }
.mb-post { background:var(--white); border:1px solid var(--line); border-radius:var(--r); padding:26px 28px; box-shadow:var(--sh-1); animation:mbIn .6s var(--ease-out) both; animation-delay:calc(var(--i,0) * 70ms); }
.mb-post.is-pinned { border-color:var(--blue-soft); box-shadow:0 0 0 1px var(--blue-soft), var(--sh-1); }
@keyframes mbIn { from { opacity:0; transform:translateY(14px); } }
.mb-pin { display:inline-flex; align-items:center; gap:6px; font-family:var(--mono); font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--blue-text); margin-bottom:8px; }
.mb-pin .ico { width:15px; height:15px; }
.mb-head h3 { font-size:23px; line-height:1.25; }
.mb-who { display:flex; align-items:center; flex-wrap:wrap; gap:6px 8px; font-size:14px; color:var(--muted); margin-top:8px; }
.mb-who strong { color:var(--ink); font-weight:600; }
.mb-role { padding:2px 8px; border-radius:var(--pill); background:var(--blue-tint); color:var(--blue-dark); font-size:12px; font-weight:600; }
.mb-av { width:36px; height:36px; border-radius:50%; flex-shrink:0; display:grid; place-items:center; background:var(--navy-3); color:#fff; font-size:13px; font-weight:700; object-fit:cover; }
.mb-av.sm { width:28px; height:28px; font-size:11px; }
.mb-txt { margin-top:14px; color:var(--ink-2); }
.mb-txt p + p { margin-top:10px; }
.mb-thread { margin-top:20px; padding-top:18px; border-top:1px solid var(--line); }
.mb-count { font-size:13.5px; font-weight:600; color:var(--muted); margin-bottom:10px; }
.mb-replies { display:flex; flex-direction:column; gap:14px; margin-bottom:14px; }
.mb-reply { display:flex; gap:12px; animation:mbIn .45s var(--ease-out) both; }
.mb-reply .mb-who { margin-top:0; }
.mb-reply .mb-txt { margin-top:4px; font-size:15.5px; }
.mb-reply-form { display:flex; gap:10px; align-items:flex-end; }
.mb-reply-form textarea { flex:1; min-height:46px; resize:none; padding:11px 16px; border:1.5px solid var(--line-2); border-radius:22px; background:var(--paper); font-size:15.5px; line-height:1.45; transition:border-color .2s, background-color .2s; }
.mb-reply-form textarea:focus { outline:none; border-color:var(--blue); background:var(--white); }
.mb-del { margin-top:10px; font-size:13px; font-weight:600; color:#8A1C1C; padding:6px 0; min-height:32px; }
.mb-del:hover { text-decoration:underline; }
.mb-compose,.mb-requests { background:var(--white); border:1px solid var(--line); border-radius:var(--r); padding:24px 26px; margin-bottom:22px; box-shadow:var(--sh-1); }
.mb-compose h3,.mb-requests h3 { font-size:20px; margin-bottom:14px; }
.mb-field { display:flex; flex-direction:column; gap:6px; margin-bottom:12px; }
.mb-field label { font-size:14px; font-weight:600; }
.mb-field input,.mb-field textarea { padding:12px 14px; border:1.5px solid var(--line-2); border-radius:12px; background:var(--paper); font-size:16px; }
.mb-field input:focus,.mb-field textarea:focus { outline:none; border-color:var(--blue); background:var(--white); }
.mb-row { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.mb-check { display:inline-flex; align-items:center; gap:10px; font-size:15px; min-height:44px; cursor:pointer; }
.mb-check input { width:20px; height:20px; accent-color:var(--blue-deep); }
.mb-requests ul { display:flex; flex-direction:column; gap:10px; }
.mb-requests li { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.mb-req-who { flex:1; min-width:160px; font-size:15px; }
.mb-req-who span { color:var(--muted); font-size:13.5px; display:block; }

.min-involved { background:var(--white); }
.min-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin:34px 0 44px; counter-reset:none; }
.min-step { position:relative; padding:30px 26px; border-radius:var(--r); border:1px solid var(--line); background:var(--paper); }
.min-step:nth-child(2) { --d:90ms; } .min-step:nth-child(3) { --d:180ms; }
.min-step-n { font-family:var(--mono); font-size:13px; font-weight:700; letter-spacing:.18em; color:var(--blue-text); display:block; margin-bottom:14px; }
.min-step h3 { font-size:21px; margin-bottom:8px; }
.min-step p { color:var(--ink-2); font-size:15.5px; }
.min-give { display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; padding:32px 36px; border-radius:var(--r-lg); background:linear-gradient(135deg,var(--blue-deep),var(--navy-3)); color:#fff; box-shadow:var(--sh-2); }
.min-give h3 { font-size:clamp(24px,2.4vw,30px); }
.min-give p { color:var(--on-dark); margin-top:6px; }
.min-give .btn-primary { background:#fff; color:var(--navy); box-shadow:none; }
.min-give .btn-primary:hover { background:var(--blue-tint); }
.min-give :focus-visible { outline-color:#fff; }
.min-others .g-grid { margin-top:34px; }

/* Programs */
.prog-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:26px; margin-top:54px; }
.prog-loading { grid-column:1/-1; text-align:center; color:var(--muted); padding:40px 0; }
.prog-card { position:relative; display:flex; flex-direction:column; background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--sh-1); transition:transform .45s var(--ease-out), box-shadow .3s, opacity .9s var(--ease-out); }
.prog-card:hover { transform:translateY(-6px); box-shadow:var(--sh-2); }
.prog-card:focus-within { outline:3px solid var(--blue); outline-offset:3px; }
.prog-card-media { aspect-ratio:7/4; background:var(--navy-2); overflow:hidden; }
.prog-card-media img { width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease-out); }
.prog-card:hover .prog-card-media img { transform:scale(1.05); }
.prog-card-body { padding:26px 28px 30px; display:flex; flex-direction:column; gap:12px; align-items:flex-start; }
.prog-chips { display:flex; gap:8px; flex-wrap:wrap; }
.prog-card h2 { font-size:clamp(23px,2.2vw,28px); line-height:1.2; }
.prog-card-txt { color:var(--ink-2); font-size:15.5px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.prog-card-meta { font-size:14px; color:var(--muted); }
.prog-hero { background:linear-gradient(150deg,var(--navy) 0%,var(--navy-2) 60%,var(--navy-3) 100%); color:#fff; padding:calc(var(--header-h) + 40px) 0 70px; }
.prog-hero-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(30px,5vw,70px); align-items:center; margin-top:22px; }
.prog-hero h1 { font-size:clamp(36px,4.6vw,64px); line-height:1.05; letter-spacing:-.03em; }
.prog-meta { margin-top:16px; color:var(--on-dark-2); font-size:15px; }
.prog-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:28px; }
.prog-hero .btn-primary { background:#fff; color:var(--navy); box-shadow:none; }
.prog-hero .btn-primary:hover { background:var(--blue-tint); }
.prog-hero :focus-visible { outline-color:#fff; }
.prog-enrolled { display:inline-flex; align-items:center; gap:8px; font-weight:600; color:#A7F0C0; }
.prog-progress { margin-top:24px; max-width:440px; }
.prog-bar { height:8px; border-radius:var(--pill); background:rgba(255,255,255,.16); overflow:hidden; }
.prog-bar span { display:block; height:100%; width:0; border-radius:inherit; background:linear-gradient(90deg,#7FB0FF,#fff); transition:width .8s var(--ease-out); }
.prog-progress p { margin-top:8px; font-size:14px; color:var(--on-dark-2); }
.prog-cover img { width:100%; border-radius:var(--r-lg); box-shadow:var(--sh-3); aspect-ratio:7/4; object-fit:cover; }
.prog-layout { display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(36px,5vw,80px); align-items:start; }
.prog-outline h2 { font-size:clamp(26px,2.6vw,34px); margin-bottom:20px; }
.prog-outline { position:sticky; top:calc(var(--header-h) + 24px); }
.po-sec { position:relative; background:var(--white); border:1px solid var(--line); border-radius:var(--r); margin-bottom:10px; overflow:hidden; transition:box-shadow .3s, border-color .3s; }
.po-sec::before { content:""; position:absolute; left:0; top:0; height:3px; width:var(--pct,0%); background:linear-gradient(90deg,var(--blue),var(--blue-deep)); transition:width .6s var(--ease-out); }
.po-sec.is-open { box-shadow:var(--sh-1); border-color:var(--line-2); }
.po-sec.is-done::before { background:#2E9E5B; }
.po-h { margin:0; font-size:inherit; }
.po-toggle { width:100%; display:flex; align-items:center; gap:14px; padding:16px 18px; min-height:64px; text-align:left; font-family:var(--serif); font-weight:700; font-size:17.5px; line-height:1.25; letter-spacing:-.01em; color:var(--ink); }
.po-toggle:hover { background:var(--blue-faint); }
.po-n { width:34px; height:34px; border-radius:50%; flex-shrink:0; display:grid; place-items:center; font-family:var(--mono); font-size:12px; font-weight:700; letter-spacing:.06em; color:var(--blue-text); background:var(--blue-tint); }
.po-n .ico { width:16px; height:16px; }
.po-sec.is-done .po-n { background:#E3F5E9; color:#0F5A2B; }
.po-sec-title { flex:1; }
.po-sec-meta { font-family:var(--sans); font-size:13px; font-weight:600; color:var(--muted); white-space:nowrap; }
.po-chev { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; color:var(--ink-2); transition:transform .35s var(--ease-out), background-color .2s; }
.po-sec.is-open .po-chev { transform:rotate(180deg); }
.po-panel { display:grid; grid-template-rows:0fr; transition:grid-template-rows .4s var(--ease-out); }
.po-sec.is-open .po-panel { grid-template-rows:1fr; }
.po-steps { overflow:hidden; min-height:0; display:flex; flex-direction:column; padding:0 10px; }
.po-sec.is-open .po-steps { padding-bottom:10px; }
.po-step + .po-step button { border-top:1px solid var(--line); }
.po-step button { width:100%; display:flex; align-items:center; gap:12px; text-align:left; padding:8px 10px; min-height:48px; border-radius:0; transition:background-color .2s; }
.po-step button:hover:not([aria-disabled="true"]) { background:var(--paper); border-radius:10px; }
.po-step button[aria-disabled="true"] { cursor:default; }
.po-ico { width:28px; height:28px; border-radius:50%; display:grid; place-items:center; background:var(--blue-faint); color:var(--blue-deep); flex-shrink:0; }
.po-ico .ico { width:14px; height:14px; }
.po-step.is-done .po-ico { background:#E3F5E9; color:#0F5A2B; }
.po-title { flex:1; font-weight:600; font-size:15px; line-height:1.3; }
.po-step.is-done .po-title { color:var(--ink-2); }
.po-type { font-size:12.5px; color:var(--muted); white-space:nowrap; }
@media (max-width:820px) { .prog-outline { position:static; } }
@media (prefers-reduced-motion:reduce) { .po-panel,.po-chev,.po-sec::before { transition:none; } }
html.step-open { overflow:hidden; }
.step-view { position:fixed; inset:0; z-index:300; background:rgba(7,26,51,.55); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); display:grid; place-items:center; padding:20px; animation:fadeIn .3s var(--ease-out); }
.step-card { width:min(820px,100%); max-height:calc(100vh - 40px); overflow:auto; overscroll-behavior:contain; background:var(--white); border-radius:var(--r-lg); padding:clamp(24px,4vw,44px); box-shadow:var(--sh-3); animation:stepIn .45s var(--ease-out); }
@keyframes stepIn { from { opacity:0; transform:translateY(24px) scale(.98); } }
@keyframes fadeIn { from { opacity:0; } }
.step-top { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:10px; }
.step-type { font-family:var(--mono); font-size:12.5px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--blue-text); }
.step-close { display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:14.5px; color:var(--ink-2); min-height:44px; padding:0 4px; }
.step-card h2 { font-size:clamp(26px,3vw,38px); margin-bottom:20px; }
.step-card h2:focus { outline:none; }
.step-video { width:100%; border-radius:var(--r); background:#000; margin-bottom:20px; aspect-ratio:16/9; }
.step-soon { padding:20px 22px; border-radius:var(--r-sm); background:var(--paper); color:var(--ink-2); }
.step-foot { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; margin-top:30px; padding-top:22px; border-top:1px solid var(--line); }
.step-foot .btn:disabled { opacity:.4; cursor:default; }
.step-finish { margin-top:22px; padding:24px; border-radius:var(--r); background:#E3F5E9; color:#0F5A2B; animation:stepIn .5s var(--ease-out); }
.step-finish h3 { font-size:22px; margin-bottom:6px; }

/* Account */
.acct-out,.acct-in { background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(28px,4vw,48px); box-shadow:var(--sh-1); }
.acct-out { text-align:center; }
.acct-out h2 { font-size:clamp(26px,3vw,36px); margin-bottom:12px; }
.acct-out p { color:var(--ink-2); max-width:560px; margin:0 auto; }
.acct-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:28px; }
.acct-hello { display:flex; align-items:center; gap:16px; flex-wrap:wrap; padding-bottom:24px; border-bottom:1px solid var(--line); }
.acct-hello h2 { flex:1; font-size:clamp(26px,3vw,36px); }
.acct-avatar { width:56px; height:56px; border-radius:50%; overflow:hidden; display:grid; place-items:center; background:linear-gradient(135deg,var(--blue-deep),var(--navy-3)); color:#fff; font-weight:700; font-size:22px; }
.acct-avatar img { width:100%; height:100%; object-fit:cover; }
.acct-block { padding-top:24px; }
.acct-block h3 { font-size:21px; margin-bottom:10px; }
.acct-block p { color:var(--ink-2); }
.acct-list { display:flex; flex-direction:column; gap:8px; margin-bottom:10px; }
.acct-list a,.acct-list span:not(.chip) { display:flex; align-items:center; gap:10px; padding:12px 16px; border-radius:12px; background:var(--paper); font-weight:600; }
.acct-list a:hover { background:var(--blue-faint); }
.acct-none { color:var(--muted); }
.mm-acct { display:inline-flex; align-items:center; gap:10px; color:#fff; font-weight:600; min-height:44px; }

@media (max-width:1024px) {
  .min-hl-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:820px) {
  .min-about-grid,.prog-hero-grid,.prog-layout { grid-template-columns:1fr; }
  .min-steps { grid-template-columns:1fr; }
  .prog-grid { grid-template-columns:1fr; }
  .prog-cover { order:-1; }
}
@media (max-width:640px) {
  .min-bar-in { gap:8px 14px; }
  .min-cta { margin-left:0; width:100%; flex-direction:column; }
  .min-cta .btn { width:100%; white-space:normal; }
  .min-hl-grid { grid-template-columns:1fr; }
  .mb-post { padding:22px 20px; }
  .mb-reply-form { flex-direction:column; align-items:stretch; }
  .min-give { padding:26px 22px; }
  .step-view { padding:0; place-items:end stretch; }
  .step-card { border-radius:var(--r-lg) var(--r-lg) 0 0; max-height:92vh; }
}
@media (prefers-reduced-motion:reduce) {
  .mb-post,.mb-reply,.step-view,.step-card,.step-finish { animation:none; }
  .prog-bar span { transition:none; }
}
/* ministry cards: keep "Learn more" on one line across each row */
.g-card { display:flex; flex-direction:column; }
.g-card .g-body { flex:1; }
.g-card .g-body > .btn { margin-top:auto; }
.step-embed { position:relative; aspect-ratio:16/9; border-radius:var(--r); overflow:hidden; background:#000; margin-bottom:22px; box-shadow:var(--sh-2); }
.step-embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ============================================================ Site search */
html.srch-open { overflow:hidden; }
.srch-dialog { position:fixed; inset:0; z-index:400; background:rgba(7,26,51,.5); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); display:flex; justify-content:center; align-items:flex-start; padding:clamp(16px,9vh,110px) 16px 16px; opacity:0; transition:opacity .22s var(--ease-out); }
.srch-dialog.is-open { opacity:1; }
.srch-panel { width:min(720px,100%); max-height:calc(100vh - clamp(32px,12vh,140px)); display:flex; flex-direction:column; background:var(--white); border-radius:var(--r-lg); box-shadow:var(--sh-3); overflow:hidden; transform:translateY(-14px) scale(.985); transition:transform .32s var(--ease-out); }
.srch-dialog.is-open .srch-panel { transform:none; }
.srch-top { display:flex; flex-direction:column; min-height:0; flex:1; position:relative; }
.srch-form { position:relative; display:flex; align-items:center; border-bottom:1px solid var(--line); }
.srch-ico { position:absolute; left:22px; color:var(--blue-deep); display:grid; }
.srch-ico .ico { width:22px; height:22px; }
.srch-form input { width:100%; min-height:68px; padding:0 64px 0 58px; border:0; background:transparent; font-size:19px; color:var(--ink); }
.srch-form input:focus { outline:none; }
.srch-form:focus-within { box-shadow:inset 0 -2px 0 var(--blue); }
.srch-form input::-webkit-search-cancel-button { display:none; }
.srch-x { position:absolute; right:12px; top:12px; width:44px; height:44px; border-radius:50%; display:grid; place-items:center; color:var(--ink-2); z-index:1; }
.srch-x:hover { background:var(--paper); }
.srch-x svg { width:20px; height:20px; }
.srch-results { overflow:auto; overscroll-behavior:contain; padding:10px 12px 16px; }
.srch-hint,.srch-none { padding:18px 14px; color:var(--muted); font-size:15px; }
.srch-group + .srch-group { margin-top:6px; }
.srch-gh { display:flex; align-items:center; gap:8px; padding:12px 12px 6px; font-family:var(--mono); font-size:11.5px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--blue-text); }
.srch-gh span { font-family:var(--sans); letter-spacing:0; font-size:11.5px; padding:1px 7px; border-radius:var(--pill); background:var(--blue-tint); color:var(--blue-dark); }
.srch-hit { display:flex; gap:14px; align-items:flex-start; padding:12px; border-radius:14px; transition:background-color .15s; }
.srch-hit:hover,.srch-hit:focus-visible { background:var(--blue-faint); }
.srch-hit:focus-visible { outline:2px solid var(--blue); outline-offset:-2px; }
.srch-hit-ico { width:36px; height:36px; flex-shrink:0; border-radius:10px; display:grid; place-items:center; background:var(--paper); color:var(--blue-deep); }
.srch-hit-ico .ico { width:18px; height:18px; }
.srch-hit-txt { display:flex; flex-direction:column; gap:2px; min-width:0; }
.srch-hit-title { font-weight:600; font-size:15.5px; line-height:1.3; color:var(--ink); }
.srch-hit-meta { font-size:13px; font-weight:600; color:var(--blue-text); }
.srch-hit-desc { font-size:14px; line-height:1.45; color:var(--ink-2); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.srch-hit mark { background:#FFF1B8; color:inherit; border-radius:3px; padding:0 1px; }
.srch-page { padding-top:calc(var(--header-h) + 60px); }
.srch-h1 { font-size:clamp(40px,5vw,64px); margin-bottom:24px; }
.srch-inline { background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--sh-1); overflow:hidden; }
.srch-inline .srch-results { max-height:none; }
@media (max-width:820px) {
  .header-actions .search-btn { display:grid; }
}
@media (max-width:640px) {
  .srch-dialog { padding:0; }
  .srch-panel { width:100%; max-height:100vh; height:100%; border-radius:0; }
  .srch-form input { min-height:62px; font-size:17px; }
}
@media (prefers-reduced-motion:reduce) {
  .srch-dialog,.srch-panel { transition:none; }
}

/* ============================================================ Cookie consent + privacy */
.consent { position:fixed; left:22px; bottom:22px; z-index:160; width:min(440px, calc(100vw - 120px)); display:flex; flex-direction:column; gap:14px; padding:20px 22px; background:var(--white); color:var(--ink); border:1px solid var(--line); border-radius:var(--r); box-shadow:var(--sh-3); opacity:0; transform:translateY(16px); transition:opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.consent.is-in { opacity:1; transform:none; }
.consent-h { font-size:18px; margin-bottom:6px; }
.consent .consent-now { display:inline-flex; align-items:center; gap:8px; margin-bottom:8px; padding:4px 10px; border-radius:var(--pill); background:var(--paper-2); color:var(--ink-2); font-size:13px; font-weight:600; }
.consent .consent-now.is-on { background:#E3F5E9; color:#0F5A2B; }
.consent p { font-size:14.5px; line-height:1.5; color:var(--ink-2); }
.consent p a { color:var(--blue-text); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.consent-btns { display:flex; gap:10px; justify-content:flex-end; }
.consent-btns .btn { flex:1; }
.footer-legal { display:inline-flex; gap:18px; flex-wrap:wrap; align-items:center; }
.footer-cookie { color:#fff; text-decoration:underline; text-underline-offset:3px; font-size:14px; padding:4px 0; min-height:24px; }
.pp { padding-top:calc(var(--header-h) + 64px); }
.pp-h1 { font-size:clamp(40px,5vw,64px); }
.pp-updated { margin-top:10px; color:var(--muted); font-size:14px; }
.pp-intro { margin:26px 0 10px; }
.pp-sec { padding-top:30px; margin-top:30px; border-top:1px solid var(--line); }
.pp-sec h2 { font-size:clamp(22px,2.2vw,28px); margin-bottom:10px; }
.pp-sec p { color:var(--ink-2); }
.pp-sec p + p { margin-top:12px; }
.pp-cta { margin-top:40px; }
@media (max-width:640px) {
  .consent { left:12px; right:12px; bottom:12px; width:auto; padding:18px; }
  html.consent-open .chat-bubble { bottom:calc(var(--consent-h, 0px) + 24px); }
}
@media (prefers-reduced-motion:reduce) { .consent { transition:none; transform:none; } }
@media print { .consent { display:none !important; } }
.consent.is-nudge { animation:consentNudge .7s var(--ease-out); }
@keyframes consentNudge { 0%{ transform:none; box-shadow:var(--sh-3); } 30%{ transform:translateY(-8px); box-shadow:0 0 0 4px var(--blue-soft), var(--sh-3); } 100%{ transform:none; box-shadow:var(--sh-3); } }

/* ============================================================ Live: site-wide bar + live page states */
.site-header { top:var(--live-h, 0px); }
.live-banner { position:fixed; top:0; left:0; right:0; z-index:210; display:flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:6px 56px 6px 16px; background:linear-gradient(90deg,#C81E3A,#E5394F); color:#fff; transform:translateY(-100%); transition:transform .4s var(--ease-out); }
.live-banner.is-in { transform:none; }
.live-banner-link { display:inline-flex; align-items:center; flex-wrap:wrap; justify-content:center; gap:4px 10px; font-size:15px; line-height:1.3; text-align:center; }
.live-banner-link strong { font-weight:700; }
.live-banner-title::before { content:"·"; margin-right:10px; opacity:.7; }
.live-banner-title { opacity:.92; max-width:46ch; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.live-banner-btn { padding:4px 12px; border-radius:var(--pill); background:rgba(255,255,255,.2); font-weight:700; font-size:14px; }
.live-banner-link:hover .live-banner-btn { background:#fff; color:#B0182F; }
.live-banner :focus-visible { outline-color:#fff; }
.live-banner-x { position:absolute; right:8px; top:50%; transform:translateY(-50%); width:40px; height:40px; border-radius:50%; display:grid; place-items:center; color:#fff; }
.live-banner-x:hover { background:rgba(255,255,255,.18); }
.live-banner-x svg { width:18px; height:18px; }
.live-pulse { position:relative; width:10px; height:10px; border-radius:50%; background:#fff; flex-shrink:0; }
.live-pulse::after { content:""; position:absolute; inset:-5px; border-radius:50%; border:2px solid currentColor; opacity:.7; animation:livePulse 1.6s var(--ease-out) infinite; }
@keyframes livePulse { from { transform:scale(.5); opacity:.8; } to { transform:scale(1.6); opacity:0; } }
.btn[data-live-cta].is-live { background:#D62845; border-color:#D62845; color:#fff; }
.btn[data-live-cta].is-live .ico { animation:liveBlink 1.6s ease-in-out infinite; }
@keyframes liveBlink { 50% { opacity:.45; } }
.live-stage.is-live .eyebrow .live-dot { animation:liveBlink 1.2s ease-in-out infinite; }
.ls-label.is-live { display:inline-flex; align-items:center; gap:10px; color:#FF8A9A; }
.ls-label.is-live .live-pulse { background:#FF5C72; color:#FF5C72; }
.yt-lite.is-live-player { box-shadow:0 0 0 2px rgba(255,92,114,.55), 0 40px 90px rgba(0,0,0,.5); }
.ls-video { position:absolute; inset:0; width:100%; height:100%; background:#000; }
.sc-thumb { position:relative; }
.sc-chip { position:absolute; left:10px; top:10px; padding:4px 10px; border-radius:var(--pill); background:rgba(7,26,51,.82); color:#fff; font-size:12px; font-weight:700; letter-spacing:.02em; }
@media (max-width:640px) {
  .live-banner { padding-right:48px; }
  .live-banner-title { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .live-banner { transition:none; }
  .live-pulse::after,.btn[data-live-cta].is-live .ico,.live-stage.is-live .eyebrow .live-dot,.consent.is-nudge { animation:none; }
}
.ls-note { margin-top:4px; font-size:13.5px; color:var(--on-dark-2); }

/* ============================================================ Live: theater player for sermon cards */
html.th-open { overflow:hidden; }
.theater { position:fixed; inset:0; z-index:400; display:grid; place-items:center; padding:clamp(12px,3vw,40px); }
.theater[hidden] { display:none; }
.th-backdrop { position:absolute; inset:0; background:rgba(4,14,30,.86); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); opacity:0; transition:opacity .45s var(--ease-out); }
.theater.is-open .th-backdrop { opacity:1; }
.th-panel { position:relative; width:min(1180px, 100%, calc((100vh - 170px) * 16 / 9)); min-width:min(100%, 320px); }
.th-media { position:relative; aspect-ratio:16/9; border-radius:var(--r); overflow:hidden; background:#000; box-shadow:0 50px 120px rgba(0,0,0,.6); transform-origin:center; will-change:transform; }
.th-media .th-poster,.th-media iframe,.th-media video { position:absolute; inset:0; width:100%; height:100%; border:0; object-fit:cover; }
.th-media video { object-fit:contain; background:#000; }
.th-media.is-swap { animation:thSwap .45s var(--ease-out); }
@keyframes thSwap { from { opacity:.35; transform:scale(.985); } to { opacity:1; transform:none; } }
.th-bar { display:flex; align-items:flex-end; justify-content:space-between; gap:16px 24px; margin-top:18px; color:#fff; opacity:0; transform:translateY(10px); transition:opacity .45s var(--ease-out) .2s, transform .45s var(--ease-out) .2s; }
.theater.is-open .th-bar { opacity:1; transform:none; }
.th-kicker { font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#9DBBFF; }
.th-title { margin-top:4px; font-size:clamp(20px,2.4vw,28px); color:#fff; }
.th-title:focus { outline:none; }
.th-title:focus-visible { outline:3px solid #9DBBFF; }
.th-actions { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.th-btn { width:46px; height:46px; display:grid; place-items:center; border-radius:50%; background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.18); transition:background .2s, transform .25s var(--spring); }
.th-btn:hover:not(:disabled) { background:rgba(255,255,255,.24); transform:scale(1.06); }
.th-btn:disabled { opacity:.35; cursor:default; }
.th-btn .ico { width:20px; height:20px; }
.th-close { background:#fff; color:var(--navy); }
.th-close:hover:not(:disabled) { background:#fff; }
.th-yt { display:inline-flex; align-items:center; gap:8px; height:46px; padding:0 18px; border-radius:var(--pill); border:1px solid rgba(255,255,255,.3); color:#fff; font-weight:600; font-size:15px; }
.th-yt:hover { background:rgba(255,255,255,.12); }
.th-yt .ico { width:16px; height:16px; }
.th-yt[hidden] { display:none; }
.theater :focus-visible { outline-color:#9DBBFF; }
@media (max-width:720px) {
  .theater { place-items:center stretch; padding:12px; }
  .th-panel { width:100%; }
  .th-bar { flex-direction:column; align-items:stretch; }
  .th-actions { justify-content:space-between; }
  .th-yt { flex:1; justify-content:center; }
}
@media (prefers-reduced-motion:reduce) {
  .th-backdrop,.th-bar { transition:none; }
  .th-media.is-swap { animation:none; }
}
.th-sub { display:block; margin-top:4px; font-family:var(--sans); font-size:clamp(15px,1.4vw,18px); font-weight:500; letter-spacing:0; color:var(--on-dark-2); }
/* Mux Player (casting) inside the hero, live and theater frames */
mux-player.ls-mux { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; display:block; background:#000; --media-object-fit:contain; --media-accent-color:var(--blue); }

/* ============================================================ Live page: loading skeleton */
.js [data-live-page][data-loading] .ls-status > *,
.js [data-live-page][data-loading] .ls-label,
.js [data-live-page][data-loading] .ls-title,
.js [data-live-page][data-loading] .sc-title { color:transparent !important; border-color:transparent !important; box-shadow:none !important; width:fit-content; max-width:100%; border-radius:10px; background:var(--skel); background-size:300% 100%; animation:skel 1.8s ease-in-out infinite; user-select:none; pointer-events:none; }
.js [data-live-page][data-loading] .ls-status > * *,
.js [data-live-page][data-loading] .ls-label * { visibility:hidden; }
.js [data-live-page][data-loading] .ls-status h1 { border-radius:16px; }
.js [data-live-page][data-loading] .ls-status .hero-actions { background:none; animation:none; display:flex; }
.js [data-live-page][data-loading] .ls-status .hero-actions .btn { visibility:visible; color:transparent; border-color:transparent; background:var(--skel); background-size:300% 100%; animation:skel 1.8s ease-in-out infinite; }
.js [data-live-page][data-loading] .ls-status .hero-actions .btn * { visibility:hidden; }
.js [data-live-page][data-loading] .ls-title,
.js [data-live-page][data-loading] .sc-title { min-width:62%; }
.js [data-live-page][data-loading] .ls-player .yt-lite,
.js [data-live-page][data-loading] .sc-thumb { background:var(--skel-block); background-size:300% 100%; animation:skel 1.8s ease-in-out infinite; pointer-events:none; }
.js [data-live-page][data-loading] .ls-player .yt-lite > *,
.js [data-live-page][data-loading] .sc-thumb > * { opacity:0; }
.js [data-live-page][data-loading] .ls-player .yt-lite::after { content:""; position:absolute; left:50%; top:50%; width:84px; height:84px; margin:-42px 0 0 -42px; border-radius:50%; background:rgba(255,255,255,.07); box-shadow:0 0 0 14px rgba(255,255,255,.025); }
.js [data-live-page][data-loading] .sermon-card.is-more,
.js [data-live-page][data-loading] .sermon-more { display:none; }
.js [data-live-page][data-loading] .sermon-card { opacity:1; transform:none; }
[data-live-page] { --skel:linear-gradient(100deg, rgba(255,255,255,.06) 30%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.06) 70%); --skel-block:linear-gradient(100deg, rgba(255,255,255,.04) 30%, rgba(255,255,255,.10) 50%, rgba(255,255,255,.04) 70%), #0B2547; }
@keyframes skel { from { background-position:100% 0; } to { background-position:0 0; } }
/* stagger the cards so the shimmer travels across the grid */
.js [data-live-page][data-loading] .sermon-card:nth-child(3n+2) :is(.sc-thumb,.sc-title) { animation-delay:.12s; }
.js [data-live-page][data-loading] .sermon-card:nth-child(3n+3) :is(.sc-thumb,.sc-title) { animation-delay:.24s; }
/* reveal */
[data-live-page].is-loaded .ls-status > *,
[data-live-page].is-loaded .ls-player,
[data-live-page].is-loaded .sermon-card { animation:liveIn .7s var(--ease-out) both; }
[data-live-page].is-loaded .ls-status > :nth-child(2) { animation-delay:.05s; }
[data-live-page].is-loaded .ls-status > :nth-child(3) { animation-delay:.1s; }
[data-live-page].is-loaded .ls-status > :nth-child(4) { animation-delay:.15s; }
[data-live-page].is-loaded .ls-player { animation-delay:.08s; }
[data-live-page].is-loaded .sermon-card:nth-child(3n+2) { animation-delay:.07s; }
[data-live-page].is-loaded .sermon-card:nth-child(3n+3) { animation-delay:.14s; }
@keyframes liveIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce) {
  .js [data-live-page][data-loading] * { animation:none !important; }
  [data-live-page].is-loaded .ls-status > *, [data-live-page].is-loaded .ls-player, [data-live-page].is-loaded .sermon-card { animation:none; }
}
/* multi-line text reads as lines, not slabs (mask = one bar per line of text) */
.js [data-live-page][data-loading] :where(.ls-status h1, .ls-status .lead, .ls-title, .sc-title) {
  border-radius:0 !important; width:auto;
  -webkit-mask:repeating-linear-gradient(to bottom, transparent 0 10%, #000 10% 76%, transparent 76% 100%) 0 0 / 100% 1lh;
          mask:repeating-linear-gradient(to bottom, transparent 0 10%, #000 10% 76%, transparent 76% 100%) 0 0 / 100% 1lh;
}
.js [data-live-page][data-loading] .ls-status h1 { -webkit-mask-size:100% 1lh; mask-size:100% 1lh; -webkit-mask-image:repeating-linear-gradient(to bottom, transparent 0 12%, #000 12% 70%, transparent 70% 100%); mask-image:repeating-linear-gradient(to bottom, transparent 0 12%, #000 12% 70%, transparent 70% 100%); }
.js [data-live-page][data-loading] .ls-status .hero-actions .btn { box-shadow:none !important; }
.js [data-live-page][data-loading] .ls-status .hero-actions .btn::before,
.js [data-live-page][data-loading] .ls-status .hero-actions .btn::after { display:none; }
/* last line shorter (stripes ∩ (all lines but the last ∪ 58% of the last)) */
@supports (mask-composite:intersect) {
  .js [data-live-page][data-loading] :where(.ls-status .lead, .ls-title, .sc-title) {
    mask-image:repeating-linear-gradient(to bottom, transparent 0 10%, #000 10% 76%, transparent 76% 100%), linear-gradient(#000,#000), linear-gradient(#000,#000);
    mask-size:100% 1lh, 100% calc(100% - 1lh), 58% 1lh;
    mask-position:0 0, 0 0, 0 100%;
    mask-repeat:repeat, no-repeat, no-repeat;
    mask-composite:intersect, add;
  }
  .js [data-live-page][data-loading] .ls-status h1 {
    mask-image:repeating-linear-gradient(to bottom, transparent 0 12%, #000 12% 70%, transparent 70% 100%), linear-gradient(#000,#000), linear-gradient(#000,#000);
    mask-size:100% 1lh, 100% calc(100% - 1lh), 72% 1lh;
    mask-position:0 0, 0 0, 0 100%;
    mask-repeat:repeat, no-repeat, no-repeat;
    mask-composite:intersect, add;
  }
}
@supports (mask-composite:intersect) {
  /* the heading is two lines at every width: full first line, shorter second */
  .js [data-live-page][data-loading] .ls-status h1 { mask-size:100% 1lh, 100% 1lh, 72% 1lh; mask-position:0 0, 0 0, 0 1lh; }
}
.min-empty { margin:8px 0 24px; padding:28px 24px; border:1px dashed var(--line, #D5DCE8); border-radius:var(--r); text-align:center; color:var(--muted); font-size:17px; }
.min-retired { flex:1 1 100%; margin:0; padding:10px 14px; border-radius:var(--r-sm); background:var(--blue-faint); color:var(--ink-2); font-size:15px; }
/* program quizzes */
.quiz { display:grid; gap:18px; }
.quiz-intro { color:var(--ink-2); }
.quiz-q { border:1px solid var(--line); border-radius:var(--r); padding:18px 20px 16px; margin:0; background:var(--white); transition:border-color .2s, background-color .2s; }
.quiz-q legend { float:left; width:100%; padding:0; margin:0 0 6px; font-weight:700; font-size:17px; line-height:1.4; color:var(--ink); }
.quiz-q legend + * { clear:both; }
.quiz-n { display:block; font-family:var(--mono); font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--blue-text); margin-bottom:4px; }
.quiz-opt { display:flex; align-items:flex-start; gap:12px; padding:10px 12px; margin-top:6px; border-radius:var(--r-sm); cursor:pointer; transition:background-color .15s; }
.quiz-opt:hover { background:var(--paper); }
.quiz-opt input { width:20px; height:20px; margin:2px 0 0; accent-color:var(--blue-deep); flex:none; }
.quiz-opt input:disabled + span { color:var(--ink-2); }
.quiz-q.is-right { border-color:#2E8B57; background:#F1FAF4; }
.quiz-q.is-wrong { border-color:#C2410C; background:#FFF6F0; }
.quiz-fb { margin:12px 0 0; padding:10px 12px; border-radius:var(--r-sm); font-size:15px; line-height:1.5; }
.quiz-q.is-right .quiz-fb { background:#E3F5E9; color:#0F5A2B; }
.quiz-q.is-wrong .quiz-fb { background:#FDEBDD; color:#7A2E0B; }
.quiz-fb strong { display:inline-flex; align-items:center; gap:6px; }
.quiz-fb .ico { width:16px; height:16px; }
.quiz-msg { color:#9A3412; font-weight:600; }
.quiz-result { padding:18px 20px; border-radius:var(--r); background:var(--blue-tint); color:var(--blue-dark); font-weight:700; font-size:17px; }
.quiz-result:focus { outline:2px solid var(--blue-deep); outline-offset:3px; }
.quiz-result .step-finish { font-weight:400; }

/* ---------- member account tabs ---------- */
.acct-wrap { max-width:1080px; }
.acct-in { padding:clamp(22px,3.4vw,40px); }
.acct-tabs { margin:6px 0 28px; border-bottom:1px solid var(--line); overflow-x:auto; scrollbar-width:none; }
.acct-tabs::-webkit-scrollbar { display:none; }
.acct-tabs ul { display:flex; gap:4px; min-width:max-content; }
.acct-tabs a { display:inline-flex; align-items:center; gap:8px; min-height:52px; padding:14px 16px; font-weight:600; color:var(--muted); border-bottom:3px solid transparent; margin-bottom:-1px; transition:color .2s, border-color .2s; }
.acct-tabs a .ico { width:18px; height:18px; }
.acct-tabs a:hover { color:var(--ink); }
.acct-tabs a[aria-current="page"] { color:var(--blue-text); border-bottom-color:var(--blue-deep); }
.acct-panel:focus { outline:none; }
.acct-panel-h { font-size:clamp(22px,2.4vw,28px); margin-bottom:18px; }
.acct-panel-h:focus { outline:none; }
.acct-intro { color:var(--ink-2); max-width:640px; margin:-6px 0 24px; }
.acct-sub { font-size:19px; margin:30px 0 12px; }
[data-panel=events] .acct-sub:first-of-type { margin-top:6px; }
[data-panel=requests] .acct-sub { margin-top:40px; }
.acct-form [data-rq-show=prayer]:has(.acct-check) { margin-bottom:18px; }
.acct-form .acct-check { margin-top:4px; }
.acct-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:start; }
.acct-card { border:1px solid var(--line); border-radius:var(--r); padding:22px; background:var(--white); min-width:0; display:flex; flex-direction:column; gap:10px; }
.acct-card-wide { grid-column:1 / -1; }
.acct-card h3 { font-size:18px; margin:0 0 4px; }
.acct-card .acct-list { margin-bottom:0; }
.acct-card > .link-arrow { margin-top:auto; align-self:flex-start; }
.acct-empty { display:flex; flex-direction:column; align-items:flex-start; gap:10px; color:var(--ink-2); }
.acct-empty p { margin:0; }
.acct-err { display:flex; flex-direction:column; align-items:flex-start; gap:10px; color:#9A3412; }
.acct-err p { margin:0; }
.acct-skel { display:grid; gap:10px; }
.acct-skel span { display:block; height:16px; border-radius:8px; background:linear-gradient(90deg,var(--paper) 0%,var(--paper-2) 50%,var(--paper) 100%); background-size:200% 100%; animation:acctShimmer 1.4s linear infinite; }
.acct-skel span:nth-child(2) { width:82%; } .acct-skel span:nth-child(3) { width:60%; }
@keyframes acctShimmer { to { background-position:-200% 0; } }
@media (prefers-reduced-motion: reduce) { .acct-skel span { animation:none; } }
.acct-live { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:14px 18px; margin-bottom:18px; border-radius:var(--r); background:#F1FAF4; border:1px solid #BFE3CB; font-weight:600; color:#0F5A2B; }
.acct-live[hidden] { display:none; }
.acct-live-go { display:inline-flex; align-items:center; gap:8px; }
.acct-live .live-dot { margin-right:4px; }

.ev-list { display:flex; flex-direction:column; gap:10px; }
.ev-row { display:flex; gap:16px; align-items:flex-start; padding:16px; border-radius:var(--r-sm); background:var(--paper); }
.ev-row.is-past { opacity:.85; }
.ev-date { flex:none; width:58px; padding:8px 0 10px; border-radius:12px; background:var(--white); border:1px solid var(--line); text-align:center; line-height:1.1; }
.ev-date span { display:block; font-family:var(--mono); font-size:11.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--blue-text); }
.ev-date strong { display:block; font-size:24px; color:var(--ink); }
.ev-row-body { min-width:0; flex:1; display:flex; flex-direction:column; gap:4px; }
.ev-row-body h4 { font-size:17px; margin:0 0 2px; line-height:1.35; }
.ev-row-body h4 a:hover { color:var(--blue-text); text-decoration:underline; }
.ev-meta { display:flex; align-items:flex-start; gap:8px; margin:0; font-size:15px; color:var(--ink-2); }
.ev-meta .ico { width:16px; height:16px; flex:none; margin-top:3px; }
.ev-chips { margin:6px 0 0; }
.ev-row-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.ev-cal { position:relative; }
.ev-cal summary { list-style:none; display:inline-flex; align-items:center; gap:8px; }
.ev-cal summary::-webkit-details-marker { display:none; }
.ev-cal summary .ico { width:16px; height:16px; }
.ev-cal-menu { position:absolute; z-index:5; top:calc(100% + 6px); left:0; min-width:200px; padding:6px; border-radius:12px; background:var(--white); border:1px solid var(--line); box-shadow:var(--sh-2); display:flex; flex-direction:column; }
.ev-cal-menu a { padding:10px 12px; border-radius:8px; font-weight:600; font-size:15px; }
.ev-cal-menu a:hover { background:var(--paper); color:var(--blue-text); }
.acct-confirm { margin-top:12px; padding:16px; border-radius:var(--r-sm); background:var(--white); border:1px solid var(--line); }
.acct-confirm p { margin:0 0 12px; }
.acct-confirm:focus { outline:2px solid var(--blue-deep); outline-offset:2px; }
.acct-btns-left { justify-content:flex-start; margin-top:0; }
.acct-note { margin-top:18px; color:var(--ink-2); font-size:15px; }

.acct-posts,.acct-progs { display:flex; flex-direction:column; gap:10px; }
.acct-posts a,.acct-progs a { display:flex; flex-direction:column; gap:4px; padding:14px 16px; border-radius:var(--r-sm); background:var(--paper); transition:background-color .2s; }
.acct-posts a:hover,.acct-progs a:hover { background:var(--blue-faint); }
.acct-post-min { font-family:var(--mono); font-size:11.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--blue-text); }
.acct-post-body { color:var(--ink-2); font-size:15px; }
.acct-post-date { color:var(--muted); font-size:13.5px; }
.acct-bar { display:block; height:8px; border-radius:99px; background:var(--white); border:1px solid var(--line); overflow:hidden; margin:6px 0 2px; }
.acct-bar span { display:block; height:100%; border-radius:inherit; background:var(--blue-deep); }
.acct-prog-meta { font-size:14.5px; color:var(--ink-2); }
.acct-prog-meta b { color:var(--blue-text); }
.acct-post { display:flex; flex-direction:column; gap:8px; }
.acct-post img { width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; border-radius:var(--r-sm); }
.acct-post strong { font-size:17px; line-height:1.35; }
.acct-post:hover strong { color:var(--blue-text); }

.acct-form { max-width:640px; }
.acct-form .field label .req { color:#B42318; margin-left:2px; }
.acct-form .field label .opt { font-weight:400; color:var(--muted); }
.field-note { margin:0; font-size:14px; color:var(--muted); }
.acct-form .field input[readonly] { background:var(--paper); color:var(--ink-2); }
.acct-form select[aria-invalid="true"] { border-color:#B42318; box-shadow:0 0 0 3px rgba(180,35,24,.14); }
.acct-form fieldset { border:0; padding:0; margin:0 0 14px; min-width:0; }
.acct-form legend { font-size:14px; font-weight:600; color:var(--ink-2); margin-bottom:8px; padding:0; }
.acct-bday .field { margin-bottom:6px; }
.acct-bday .field label { font-weight:500; font-size:13.5px; }
.acct-prefs { padding:18px 20px !important; border:1px solid var(--line) !important; border-radius:var(--r-sm); margin-top:8px !important; }
.acct-prefs legend { font-size:17px; color:var(--ink); padding:0 6px !important; margin-left:-6px; }
.acct-check { margin:14px 0 0; color:var(--ink); }
.acct-radios label { display:flex; align-items:center; gap:10px; min-height:44px; cursor:pointer; }
.acct-radios input { width:20px; height:20px; accent-color:var(--blue-deep); }
.acct-callout { display:flex; gap:10px; align-items:flex-start; padding:12px 14px; margin:0 0 14px; border-radius:var(--r-sm); background:var(--blue-tint); color:var(--blue-dark); font-size:15px; }
.acct-callout .ico { width:18px; height:18px; flex:none; margin-top:2px; }
.acct-form [hidden] { display:none !important; }
.acct-ok { font-weight:600; color:#0F5A2B; margin:10px 0 0; }
.acct-ok:empty { display:none; }
.acct-done { display:flex; gap:12px; align-items:flex-start; padding:16px 18px; margin:18px 0 0; max-width:640px; border-radius:var(--r-sm); background:#F1FAF4; border:1px solid #BFE3CB; color:#0F5A2B; font-weight:600; }
.acct-done[hidden] { display:none; }
.acct-done .ico { width:20px; height:20px; flex:none; margin-top:2px; }
.acct-done p { margin:0; }
.acct-done:focus { outline:2px solid #2E8B57; outline-offset:2px; }
.rq-list { display:flex; flex-direction:column; gap:8px; max-width:640px; }
.rq-list li { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; padding:14px 16px; border-radius:var(--r-sm); background:var(--paper); }
.rq-list strong { display:block; }
.rq-date { font-size:14px; color:var(--muted); }
.rq-note { margin:6px 0 0; font-size:15px; color:var(--ink-2); }
.acct-danger { margin-top:40px; padding-top:26px; border-top:1px solid var(--line); max-width:640px; }
.acct-danger h3 { font-size:19px; margin-bottom:14px; }
.acct-del { color:#B42318; }
.acct-confirm[hidden] { display:none; }

@media (max-width:760px) {
  .acct-grid { grid-template-columns:1fr; }
  .acct-tabs { margin-left:calc(-1 * clamp(22px,3.4vw,40px)); margin-right:calc(-1 * clamp(22px,3.4vw,40px)); padding:0 clamp(12px,3vw,24px); }
  .acct-tabs a { padding:12px 12px; }
  .ev-row { padding:14px; gap:12px; }
  .ev-date { width:52px; }
  .acct-card { padding:18px; }
}

/* saved sermons + continue watching (live page) */
.th-btn.th-save[aria-pressed="true"],.th-btn.th-save[aria-pressed="true"]:hover:not(:disabled) { background:#fff; color:var(--navy); border-color:#fff; }
.th-save[aria-pressed="true"] .ico { fill:currentColor; }
.th-save[hidden] { display:none; }
.sc-progress { position:absolute; left:0; right:0; bottom:0; height:5px; background:rgba(255,255,255,.28); }
.sc-progress span { display:block; height:100%; background:#FF5C5E; }

/* account: giving + saved */
.acct-panel-h2 { margin-top:40px; }
.gv-year { display:flex; flex-direction:column; gap:2px; padding:18px 22px; margin:0 0 8px; border-radius:var(--r); background:var(--blue-tint); color:var(--blue-dark); max-width:640px; }
.gv-year strong { font-size:28px; line-height:1.2; font-variant-numeric:tabular-nums; }
.gv-list,.sv-list { display:flex; flex-direction:column; gap:10px; max-width:760px; }
.gv-row { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; padding:16px 18px; border-radius:var(--r-sm); background:var(--paper); }
.gv-row > div:first-child { min-width:0; display:flex; flex-direction:column; gap:4px; align-items:flex-start; }
.gv-meta { font-size:14.5px; color:var(--ink-2); }
.gv-side { display:flex; flex-direction:column; align-items:flex-end; gap:8px; flex:none; }
.gv-amt { font-size:19px; font-variant-numeric:tabular-nums; }
.gv-msg { margin:0; font-size:14.5px; font-weight:600; color:#0F5A2B; }
.gv-msg:empty { display:none; }
.acct-callout-muted { background:var(--paper); color:var(--ink-2); margin-top:24px; max-width:760px; }
.acct-callout-muted a { color:var(--blue-text); font-weight:600; text-decoration:underline; }
.sv-row { display:flex; gap:16px; align-items:flex-start; padding:12px; border-radius:var(--r-sm); background:var(--paper); }
.sv-thumb { position:relative; flex:none; width:200px; aspect-ratio:16/9; border-radius:12px; overflow:hidden; background:#0A0F1A; }
.sv-thumb img { width:100%; height:100%; object-fit:cover; }
.sv-body { min-width:0; display:flex; flex-direction:column; gap:4px; padding-top:2px; }
.sv-title { font-weight:700; font-size:17px; line-height:1.35; color:var(--ink); }
.sv-title:hover { color:var(--blue-text); text-decoration:underline; }
.sv-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
@media (max-width:640px) {
  .gv-row { flex-direction:column; }
  .gv-side { flex-direction:row; align-items:center; justify-content:space-between; width:100%; }
  .sv-row { flex-direction:column; }
  .sv-thumb { width:100%; }
}
.th-yt { white-space:nowrap; }
@media (max-width:480px) {
  .th-actions { gap:8px; }
  .th-actions .th-yt { flex:0 0 46px; width:46px; padding:0; justify-content:center; }
  .th-yt-txt { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
  .th-yt .ico { width:20px; height:20px; }
}

/* header account button: member photo / initial */
.acct-face { width:32px; height:32px; border-radius:50%; overflow:hidden; display:grid; place-items:center; background:linear-gradient(135deg,var(--blue-deep),var(--navy-3)); color:#fff; font-weight:700; font-size:15px; line-height:1; flex:none; }
.acct-face img { width:100%; height:100%; object-fit:cover; display:block; }
.icon-btn.is-member { border-color:rgba(255,255,255,.5); }
.mm-acct .acct-face { width:28px; height:28px; font-size:13px; }

/* account: ministries tab */
.mn-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
.mn-card { border:1px solid var(--line); border-radius:var(--r); padding:20px; background:var(--white); display:flex; flex-direction:column; gap:12px; min-width:0; }
.mn-head { display:flex; gap:14px; align-items:center; }
.mn-cover { width:72px; height:54px; border-radius:10px; object-fit:cover; flex:none; background:var(--paper-2); }
.mn-cover-none { display:block; background:linear-gradient(135deg,var(--blue-tint),var(--paper-2)); }
.mn-title { display:flex; flex-direction:column; align-items:flex-start; gap:6px; min-width:0; }
.mn-title h3 { font-size:18px; margin:0; line-height:1.3; }
.mn-title h3 a:hover,.mn-other h3 a:hover { color:var(--blue-text); text-decoration:underline; }
.mn-sub { font-family:var(--mono); font-size:11.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin:2px 0 -4px; }
.mn-posts { display:flex; flex-direction:column; gap:8px; }
.mn-posts a { display:flex; flex-direction:column; gap:3px; padding:12px 14px; border-radius:var(--r-sm); background:var(--paper); font-size:15px; color:var(--ink-2); }
.mn-posts a strong { color:var(--ink); font-size:16px; }
.mn-posts a:hover { background:var(--blue-faint); }
.mn-note { margin:0; color:var(--ink-2); font-size:15px; }
.mn-leader-note { font-size:14px; color:var(--muted); flex-basis:100%; }
.mn-waiting { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:10px 12px; border-radius:var(--r-sm); background:var(--blue-tint); }
.mn-actions { display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; }
.mn-card .acct-confirm { flex-basis:100%; margin-top:4px; }
.mn-others { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.mn-other { display:flex; gap:14px; align-items:flex-start; padding:16px; border-radius:var(--r-sm); background:var(--paper); min-width:0; overflow-wrap:anywhere; }
.mn-other-body { min-width:0; display:flex; flex-direction:column; gap:6px; }
.mn-other h3 { font-size:17px; margin:0; }
.mn-other p { margin:0; font-size:15px; color:var(--ink-2); }
.mn-other .mn-actions { margin-top:4px; }
.acct-transfer { padding:18px 20px; border-radius:var(--r-sm); background:var(--blue-tint); margin:0 0 16px; }
.acct-transfer p { margin:0 0 14px; color:var(--blue-dark); }
.acct-transfer .btn .ico { width:16px; height:16px; margin-left:8px; }
@media (max-width:760px) { .mn-list,.mn-others { grid-template-columns:minmax(0,1fr); } }
.rsvp-as { margin:4px 0 16px; padding:12px 14px; border-radius:var(--r-sm); background:var(--blue-tint); color:var(--blue-dark); font-size:15px; font-weight:600; }
.rsvp-as[hidden],[data-rsvp-fields][hidden] { display:none; }
.rsvp-done .link-arrow { margin-top:6px; }

/* ministry page: the group's own content (Wix Groups) */
.min-leave { font-size:14px; font-weight:600; color:var(--muted); text-decoration:underline; text-underline-offset:3px; min-height:44px; padding:0 4px; align-self:center; }
.min-leave:hover { color:var(--ink); }
.mg-tabs { display:flex; gap:4px; margin:0 0 24px; border-bottom:1px solid var(--line); overflow-x:auto; scrollbar-width:none; }
.mg-tabs::-webkit-scrollbar { display:none; }
.mg-tabs [role=tab] { flex:none; min-height:50px; padding:12px 16px; font-weight:600; color:var(--muted); border-bottom:3px solid transparent; margin-bottom:-1px; transition:color .2s, border-color .2s; }
.mg-tabs [role=tab]:hover { color:var(--ink); }
.mg-tabs [role=tab][aria-selected="true"] { color:var(--blue-text); border-bottom-color:var(--blue-deep); }
.mg-panel:focus-visible { outline:2px solid var(--blue); outline-offset:6px; border-radius:6px; }
.mg-panel[aria-busy="true"] { opacity:.6; }
.mb-gate-top { margin-bottom:22px; }
.mb-note { font-size:14.5px; color:var(--muted); margin:18px 0 0; text-align:center; }
.mg-panel > .mb-note:first-child { margin:0 0 14px; text-align:left; }
.mb-topicbar { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 20px; }
.mb-chip { min-height:40px; padding:8px 16px; border-radius:var(--pill); border:1.5px solid var(--line-2); background:var(--white); font-size:14.5px; font-weight:600; color:var(--ink-2); transition:background-color .2s, border-color .2s, color .2s; }
.mb-chip:hover { border-color:var(--blue); }
.mb-chip[aria-pressed="true"] { background:var(--blue-deep); border-color:var(--blue-deep); color:#fff; }
.mb-head .mb-who { margin-top:0; font-size:14px; line-height:1.35; }
.mb-head .mb-who > span:not(.mb-av) { display:block; }
.mb-head h3 { margin-top:14px; }
.mb-topics { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.mb-topics span { padding:3px 10px; border-radius:var(--pill); background:var(--paper-2); color:var(--ink-2); font-size:12.5px; font-weight:600; }
.rc figure { margin:16px 0; }
.rc img,.rc video { max-width:100%; height:auto; border-radius:12px; display:block; }
.rc video { width:100%; background:#000; }
.rc ul,.rc ol { padding-left:1.3em; margin:10px 0; }
.rc ul { list-style:disc; }
.rc ol { list-style:decimal; }
.rc a { color:var(--blue-text); text-decoration:underline; text-underline-offset:2px; }
.rc .mention { color:var(--blue-text); font-weight:600; }
.rc-gallery { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:8px; margin:14px 0; }
.rc-gallery img { aspect-ratio:1; object-fit:cover; width:100%; }
.rc-file a,.rc-link a { display:flex; align-items:center; gap:12px; padding:12px 14px; border:1px solid var(--line); border-radius:12px; background:var(--paper); color:var(--ink); text-decoration:none; }
.rc-file a:hover,.rc-link a:hover { border-color:var(--blue); }
.rc-file-ico { flex:none; min-width:44px; height:44px; padding:0 6px; border-radius:8px; display:grid; place-items:center; background:var(--blue-tint); color:var(--blue-dark); font-family:var(--mono); font-size:11.5px; font-weight:700; }
.rc-link img { width:72px; height:72px; object-fit:cover; border-radius:8px; flex:none; }
.rc-link a > span { display:flex; flex-direction:column; gap:4px; min-width:0; }
.rc-link a > span > span { font-size:14px; color:var(--ink-2); }
.rc-poll { padding:14px 16px; border-radius:12px; background:var(--paper); margin:12px 0; }
.mb-foot { display:flex; align-items:center; flex-wrap:wrap; gap:6px 14px; margin-top:18px; padding-top:14px; border-top:1px solid var(--line); }
.mb-like,.mb-cmt-toggle { display:inline-flex; align-items:center; gap:7px; min-height:44px; padding:8px 12px; border-radius:var(--pill); font-size:14.5px; font-weight:600; color:var(--ink-2); transition:background-color .2s, color .2s; }
.mb-like .ico,.mb-cmt-toggle .ico { width:19px; height:19px; }
.mb-like:hover,.mb-cmt-toggle:hover { background:var(--paper); color:var(--ink); }
.mb-like[aria-pressed="true"] { color:#B4233A; }
.mb-like[aria-pressed="true"] .ico { fill:currentColor; }
.mb-likes { font-size:14px; color:var(--muted); }
.mb-tools { margin-left:auto; display:flex; gap:6px 14px; flex-wrap:wrap; }
.mb-tool { font-size:13.5px; font-weight:600; color:var(--muted); min-height:44px; padding:0 2px; text-decoration:underline; text-underline-offset:3px; }
.mb-tool:hover { color:var(--ink); }
.mb-danger { color:#8A1C1C; }
.mb-post .mb-thread { margin-top:8px; padding-top:16px; }
.mb-reply .mb-tool { min-height:36px; }
.mb-more { text-align:center; margin-top:22px; }
.mb-compose .mb-field { margin-bottom:10px; }
.mb-inline { flex-direction:row; align-items:center; gap:10px; margin:0; }
.mb-inline select { min-height:44px; padding:8px 12px; border:1.5px solid var(--line-2); border-radius:12px; background:var(--paper); font-size:15px; }
.mb-empty { padding:34px 24px; }
.mg-media { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:10px; }
.mg-media li { aspect-ratio:1; border-radius:12px; overflow:hidden; background:var(--paper-2); }
.mg-media a { display:block; height:100%; }
.mg-media img,.mg-media video { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s var(--ease-out); }
.mg-media a:hover img { transform:scale(1.04); }
.mg-files { display:flex; flex-direction:column; gap:10px; }
.mg-files li { display:flex; align-items:center; gap:14px; padding:14px 16px; border:1px solid var(--line); border-radius:12px; background:var(--white); }
.mg-files li > .ico { width:24px; height:24px; color:var(--blue-text); flex:none; }
.mg-file-name { flex:1; min-width:0; font-weight:600; overflow-wrap:anywhere; }
.mg-file-name span { display:block; font-weight:400; font-size:13.5px; color:var(--muted); }
.mg-people { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:10px; }
.mg-people li { display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:12px; background:var(--white); border:1px solid var(--line); font-weight:600; }
.mg-about { background:var(--white); border:1px solid var(--line); border-radius:var(--r); padding:24px 26px; color:var(--ink-2); }
.mg-about p + p { margin-top:10px; }
.mg-rules { margin-top:22px; }
.mg-rules h3 { font-size:20px; margin-bottom:12px; }
.mg-rules ol { display:flex; flex-direction:column; gap:10px; counter-reset:rule; }
.mg-rules li { padding:14px 16px 14px 52px; position:relative; border-radius:12px; background:var(--white); border:1px solid var(--line); counter-increment:rule; }
.mg-rules li::before { content:counter(rule); position:absolute; left:16px; top:14px; width:24px; height:24px; border-radius:50%; background:var(--blue-tint); color:var(--blue-dark); font-size:13px; font-weight:700; display:grid; place-items:center; }
.mg-rules li p { margin-top:4px; color:var(--ink-2); }
.min-q { border:none; border-radius:var(--r); padding:0; max-width:min(560px, calc(100vw - 32px)); width:100%; box-shadow:var(--sh-3, 0 30px 80px rgba(0,0,0,.25)); }
.min-q::backdrop { background:rgba(10,20,40,.55); }
.min-q-form { padding:28px; display:flex; flex-direction:column; gap:12px; }
.min-q-form h2 { font-size:26px; }
.min-q-form > p { color:var(--ink-2); }
.min-q-form textarea { padding:12px 14px; border:1.5px solid var(--line-2); border-radius:12px; background:var(--paper); font-size:16px; resize:vertical; }
.min-q-form textarea:focus { outline:none; border-color:var(--blue); background:var(--white); }
.min-q-err { color:#8A1C1C; font-size:14px; min-height:0; }
.min-q-err:empty { display:none; }
@media (max-width:600px) {
  .mb-post { padding:20px 18px; }
  .mb-tools { margin-left:0; width:100%; }
  .mg-media { grid-template-columns:repeat(2,1fr); }
}
@media (prefers-reduced-motion: reduce) { .mg-media img { transition:none; } }

/* account: comments on My week, join requests on the Ministries tab */
.acct-post-on { display:block; font-size:13.5px; color:var(--muted); margin-top:4px; padding-left:10px; border-left:2px solid var(--line-2); }
.mn-reqs { border-radius:var(--r-sm); background:var(--blue-faint, var(--paper)); padding:14px; }
.mn-reqs .mn-sub { margin:0 0 10px; display:flex; align-items:center; gap:8px; }
.mn-reqs ul { display:flex; flex-direction:column; gap:10px; }
.mn-req { display:grid; grid-template-columns:40px minmax(0,1fr); gap:6px 12px; align-items:start; padding:12px; border-radius:var(--r-sm); background:var(--white); border:1px solid var(--line); }
.mn-req-av { width:40px; height:40px; border-radius:50%; object-fit:cover; display:grid; place-items:center; background:var(--navy-3); color:#fff; font-weight:700; }
.mn-req-body { min-width:0; display:flex; flex-direction:column; gap:2px; font-size:15px; overflow-wrap:anywhere; }
.mn-req-body > span { font-size:13.5px; color:var(--muted); }
.mn-req-body dl { margin:6px 0 0; font-size:14px; }
.mn-req-body dt { color:var(--muted); font-weight:600; }
.mn-req-body dd { margin:0 0 4px; color:var(--ink-2); }
.mn-req-btns { grid-column:2; display:flex; gap:8px; flex-wrap:wrap; }
.mn-req .form-msg { grid-column:2; margin:0; }
.mn-req .form-msg:empty { display:none; }

/* account: one-time age check; parent approval page */
.acct-age { max-width:640px; }
.acct-age h2 { font-size:clamp(26px,3vw,34px); margin-bottom:10px; }
.acct-age h2:focus { outline:none; }
.acct-age > div > p { color:var(--ink-2); margin-bottom:20px; }
.age-dob { border:0; padding:0; margin:0 0 16px; min-width:0; }
.age-dob legend { font-weight:600; margin-bottom:8px; padding:0; }
.age-row { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:12px; }
.age-form .acct-confirm { margin:4px 0 16px; }
.age-change { margin-top:16px; }
.field-hint { font-size:14px; color:var(--muted); margin-top:6px; }
.parent-page .lead { margin-top:14px; }
.parent-page .pa-btns { margin:26px 0 8px; }
.parent-page .acct-confirm { margin-top:12px; }
.pa-privacy { margin-top:30px; font-size:15px; }
.pa-privacy a { color:var(--blue-text); text-decoration:underline; text-underline-offset:3px; }
.pp-h1:focus { outline:none; }
@media (max-width:480px) { .age-row { grid-template-columns:1fr 1fr; } .age-row .field:first-child { grid-column:1 / -1; } }

/* ministry page: this ministry's upcoming events; note for parents */
.min-events .min-h2 { text-align:center; }
.min-events .ev-list { list-style:none; padding:0; margin:30px 0 20px; }
.min-events .ev-row { background:var(--white); border:1px solid var(--line); }
.min-events .ev-row-body h3 { font-size:18px; margin:0 0 2px; line-height:1.35; }
.min-events .ev-row-body h3 a:hover { color:var(--blue-text); text-decoration:underline; }
.min-events .ev-row-body p { color:var(--ink-2); font-size:15.5px; }
.min-ev-all { text-align:center; }
.min-who .min-kids { margin-top:12px; font-weight:600; color:var(--ink); }

/* Ministry featured video (Wix Media Manager) */
.min-video { background:radial-gradient(120% 90% at 50% 0%, var(--navy-3) 0%, var(--blue-deep) 55%, #06142A 100%); color:#fff; overflow:hidden; }
.min-video-in { max-width:1040px; text-align:center; }
.min-video-head { max-width:720px; margin:0 auto clamp(32px,4vw,48px); }
.min-video-head h2 { font-size:clamp(32px,4.2vw,52px); line-height:1.08; letter-spacing:-.02em; color:#fff; margin:.3em 0 .45em; }
.min-video-p { font-size:clamp(17px,1.5vw,19px); line-height:1.6; color:rgba(255,255,255,.82); }
.min-video-frame { position:relative; aspect-ratio:16/9; border-radius:var(--r-lg); overflow:hidden; background:#000; box-shadow:0 40px 90px rgba(0,0,0,.5); border:1px solid rgba(255,255,255,.14); }
.min-video-frame video { display:block; width:100%; height:100%; object-fit:cover; background:#000; }
.min-video-frame.is-playing video { object-fit:contain; }
.min-video-play { z-index:2; }
.min-video-play[hidden] { display:none; }
.min-video-note { margin-top:14px; font-size:14px; color:rgba(255,255,255,.7); }
.min-video-cta { margin-top:clamp(24px,3vw,36px); }
