/* =========================================================================
   Christian Life Center — inner-page components.
   Shares tokens, buttons, marks, stages, chrome with clc.css. Each ministry
   page sets --tint / --on (its own brand colour) on <main>.
   ========================================================================= */

main { --tint: var(--red); --on: #fff; }

/* ---------- page hero ---------- */
.ph { position: relative; overflow: hidden; background: #000; color: #fff; min-height: clamp(540px, 74svh, 860px); display: grid; align-items: end; padding: calc(var(--hdr) + 8vh) 0 7vh; }
.ph-bg { position: absolute; inset: 0; }
.ph-bg img, .ph-bg video { width: 100%; height: 100%; object-fit: cover; }
.ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.35) 100%); }
.ph-bg.soft::after { background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 60%); }
.ph .wrap { position: relative; }
.ph-title { margin: 0; font-size: clamp(44px, 11vw, 190px); overflow-wrap: anywhere; font-weight: 700; line-height: .86; text-transform: uppercase; letter-spacing: -.025em; }
.ph-title .red { color: var(--red); }
.ph-sub { margin: 26px 0 0; max-width: 60ch; font-size: clamp(17px, 1.4vw, 21px); color: rgba(255,255,255,.86); }
.ph-sub + .row-btns { margin-top: 24px; }
.ph-times { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.ph-times b { margin-right: 8px; }
.ph-light { background: var(--paper); color: var(--ink); }
.ph-light .ph-sub { color: var(--ink-2); }
.ph-tint { background: var(--tint); color: var(--on); }
.ph-tint .ph-sub, .ph-light .ph-sub, .on-light .ph-sub { color: inherit; opacity: .9; }
.ph-logo { width: min(640px, 76vw); height: auto; margin: 0 0 22px; }
.ph-center .ph-sub { font-size: 14px !important; letter-spacing: .14em !important; }
.ph-center .row-btns { margin-top: 20px; }
.ph-center { text-align: center; align-items: center; }
.ph-center .ph-sub, .ph-center .ph-logo { margin-left: auto; margin-right: auto; }
.ph-center .ph-times, .ph-center .row-btns { justify-content: center; }
/* decorations (stickers/flowers) float on the hero */
.deco { position: absolute; width: var(--w, 120px); height: auto; pointer-events: none; will-change: transform; filter: drop-shadow(0 12px 18px rgba(0,0,0,.18)); }
.deco-flat { filter: none; }
@media (max-width: 820px) { .deco.m-hide { display: none; } .ph-center .deco { --w: 64px; } }

/* ---------- sections ---------- */
.sec { padding: clamp(56px, 8vw, 120px) 0; }
.sec-tight { padding: clamp(32px, 5vw, 72px) 0; }
.sec-dark { background: #000; color: #fff; }
.sec-dark .eyebrow { color: rgba(255,255,255,.7); }
.sec-grey { background: var(--grey); }
.sec-tint { background: var(--tint); color: var(--on); }
.sec-tint .eyebrow { color: inherit; opacity: .8; }
.sec-h { margin-bottom: clamp(24px, 3.4vw, 48px); }
.sec-h .h-xl { margin-bottom: .2em; }
/* inner-page section headings: editorial, never display-size inside a column */
main .sec .h-xl, main .min .h-xl, .two .h-xl, .pillars-l .h-xl { font-size: clamp(34px, 3.9vw, 64px); line-height: .94; letter-spacing: -.015em; }
.cta-band .h-xl { font-size: clamp(40px, 5.4vw, 88px); }
main:has(.ph) .gallery .h-xl { font-size: clamp(34px, 3.9vw, 64px); }
.sec-h.two { align-items: end; }
.sec-h.two .h-xl { margin-bottom: 0; }
.sec-h.center { text-align: center; }
.sec-h p { max-width: 62ch; font-size: clamp(16px, 1.25vw, 19px); }
.sec-h.center p { margin-left: auto; margin-right: auto; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.two > .vid:first-child { order: 0; }
.two:has(> .vid:first-child) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.two-top { align-items: start; }
.two .h-xl { margin-bottom: .35em; }
.prose p { max-width: 58ch; }
.prose p.lede { font-size: clamp(19px, 1.6vw, 23px); }
.sec-dark .prose p { color: rgba(255,255,255,.86); }
.vid { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: #111; }
.vid img { width: 100%; height: 100%; object-fit: cover; }
.vid-cap { position: absolute; left: 22px; top: 18px; bottom: auto; z-index: 2; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.ph-media { position: relative; z-index: 1; margin-top: 7vh; }
.quote { margin: 0; font-size: clamp(22px, 2.6vw, 40px); font-weight: 700; line-height: 1.15; text-transform: uppercase; letter-spacing: -.01em; }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 12px; letter-spacing: .24em; color: var(--red); font-weight: 600; }
.sec-dark .quote cite, .sec-tint .quote cite { color: inherit; opacity: .7; }
.rule { height: 1px; background: currentColor; opacity: .18; margin: 10vh 0; }

/* spec strip: ages · when · where · lead */
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 24px; margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.sec-dark .spec, .sec-tint .spec { border-top-color: rgba(127,127,127,.35); }
.spec dt { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; opacity: .6; margin-bottom: 5px; }
.spec dd { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; }
.spec .lead { margin: 0; grid-template-columns: 44px 1fr; gap: 12px; }
.spec .lead img { width: 44px; height: 44px; }
.spec .lead b { font-size: 14px; } .spec .lead span { font-size: 10px; }

/* stat / fact strip */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2px; }
.fact { padding: 22px 22px; background: rgba(127,127,127,.12); }
.fact b { display: block; font-size: clamp(28px, 2.6vw, 40px); font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: -.02em; }
.fact span { display: block; margin-top: 10px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }

/* ---------- pillar ledger (about mission) ---------- */
.pillars { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.pillars-l { position: sticky; top: calc(var(--hdr) + 6vh); }
.pillar { padding: 7vh 0; border-top: 1px solid rgba(255,255,255,.2); }
.pillar:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.pillar h3 { margin: 0 0 6px; font-size: clamp(40px, 5vw, 80px); font-weight: 700; line-height: .9; text-transform: uppercase; letter-spacing: -.02em; display: flex; align-items: center; gap: .14em; }
.pillar h3 .arrow { width: .6em; height: .6em; }
.pillar h3 .arrow path { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
/* one colour per pillar: "Reach" stays white on the left, the whole title takes the colour on the right */
.pillars { --c-up: #50AB65; --c-out: var(--red); --c-in: #3EA8F2; }
.pillars .c-up { color: var(--c-up); }
.pillars .c-out { color: var(--c-out); }
.pillars .c-in { color: var(--c-in); }
.pillar-k { margin: 0 0 20px; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.pillar p { color: rgba(255,255,255,.86); max-width: 58ch; }
.verses { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.verses li { padding-left: 18px; border-left: 2px solid var(--pc, var(--red)); font-size: 15px; font-style: italic; color: rgba(255,255,255,.72); }
.verses b { display: block; margin-top: 4px; font-style: normal; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* ---------- belief cards ---------- */
.beliefs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.belief { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: #111; color: #fff; display: flex; align-items: flex-end; padding: 28px; text-decoration: none; cursor: pointer; }
.belief img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.belief::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,.05) 60%); }
.belief:hover img { transform: scale(1.06); }
.belief > div { position: relative; z-index: 1; }
.belief .n { font-size: 12px; letter-spacing: .24em; color: #FF4B4B; font-weight: 600; }
.belief h3 { margin: 6px 0 0; font-size: clamp(30px, 3vw, 46px); font-weight: 700; line-height: .95; text-transform: uppercase; }
.belief .play { left: auto; right: 24px; top: 24px; margin: 0; width: 58px; height: 58px; }
.belief .play svg { width: 22px; height: 22px; }

/* ---------- team ---------- */
.team-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6vh; }
.team-tabs [role=tab] { padding: 12px 20px; border-radius: 999px; border: 1.5px solid currentColor; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .7; transition: opacity .25s, background-color .25s, color .25s; }
.team-tabs [role=tab][aria-selected="true"] { opacity: 1; background: currentColor; }
.team-tabs [role=tab][aria-selected="true"] span { color: #000; }
.sec-dark .team-tabs [role=tab][aria-selected="true"] span { color: #000; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 34px 20px; }
.tm { text-align: center; }
.tm figure { margin: 0 auto 14px; width: min(100%, 170px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #222; }
.tm img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transform: scale(1.02); transition: filter .5s, transform .8s var(--ease); }
.tm:hover img { filter: none; transform: scale(1.08); }
.tm b { display: block; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.tm span { display: block; margin-top: 5px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .62; }
.team-grid-lg { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 50px 30px; }
.team-grid-lg .tm figure { width: min(100%, 260px); }
.team-grid-lg .tm b { font-size: 18px; }
/* stagger children on reveal */
html[data-anim] [data-stagger] > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
html[data-anim] [data-stagger].is-in > * { opacity: 1; transform: none; }

/* leader card (ministry life) */
.lead { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; margin: 22px 0 0; }
.lead img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.lead b { display: block; font-size: 15px; font-weight: 700; text-transform: uppercase; }
.lead span { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.lead-k { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .7; margin: 0 0 10px; }

/* ---------- chapters (what to expect) ---------- */
.chapters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.chap-fig { position: sticky; top: calc(var(--hdr) + 5vh); height: calc(100svh - var(--hdr) - 10vh); border-radius: var(--r-card); overflow: hidden; background: #111; }
.chap-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 1.6s var(--ease); }
.chap-fig img.on { opacity: 1; transform: none; }
.chap-fig .n { position: absolute; left: 26px; top: 24px; z-index: 2; color: #fff; font-size: 12px; letter-spacing: .24em; font-weight: 600; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.chap { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; padding: 6vh 0; opacity: .32; transition: opacity .5s; }
.chap.on { opacity: 1; }
.chap:first-child { min-height: 60svh; }
.chap .n { font-size: 12px; letter-spacing: .24em; color: var(--red); font-weight: 600; margin-bottom: 14px; }
.chap h3 { margin: 0 0 20px; font-size: clamp(30px, 3.4vw, 54px); font-weight: 700; line-height: .95; text-transform: uppercase; letter-spacing: -.015em; }
.chap p { max-width: 54ch; font-size: 16px; }
.chap img { display: none; }
html:not([data-anim]) .chap, html:not([data-anim]) .chap-fig img:first-child { opacity: 1; }

/* ---------- steps (A/B/C) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { border-radius: var(--r-card); padding: 30px 28px; background: #fff; color: #000; }
.step .n { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 24px; font-weight: 700; margin-bottom: 18px; }
.step h3 { margin: 0 0 14px; font-size: clamp(24px, 2.2vw, 34px); font-weight: 700; text-transform: uppercase; line-height: .95; }
.step ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14px; }
.step li { padding-left: 18px; position: relative; }
.step li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--tint); }
.step img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: 18px; }

/* ---------- curriculum / month cards ---------- */
.cur { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.cur article { border-radius: 24px; overflow: hidden; background: #fff; color: #000; }
.cur img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cur div { padding: 18px 20px 22px; }
.cur .k { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: .6; }
.cur h3 { margin: 4px 0 0; font-size: 22px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.cur p { margin: 8px 0 0; font-size: 14px; }

/* ---------- checklist ---------- */
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; font-size: clamp(16px, 1.25vw, 19px); }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--tint); }
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(.2em + 5px); width: 6px; height: 11px; border: solid var(--on); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.checks b { font-weight: 700; }

/* ---------- numbered list (10 reasons) ---------- */
.nlist { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.nlist li { counter-increment: n; display: grid; grid-template-columns: 58px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.nlist li::before { content: counter(n, decimal-leading-zero); font-size: 30px; font-weight: 700; line-height: 1; color: var(--red); }
.nlist b { display: block; font-size: 17px; font-weight: 700; text-transform: uppercase; line-height: 1.1; margin-bottom: 4px; }
.nlist p { margin: 0; font-size: 15px; opacity: .85; }

/* ---------- ways to give ---------- */
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.way { border-radius: var(--r-card); padding: 30px 26px; background: #fff; color: #000; min-height: 300px; display: flex; flex-direction: column; }
.way img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 22px; mix-blend-mode: multiply; }
.way .n { font-size: 44px; font-weight: 700; line-height: 1; color: var(--red); -webkit-text-stroke: 1.5px #000; margin-bottom: 10px; }
.way h3 { margin: 0 0 10px; font-size: 24px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.way p { font-size: 15px; margin: 0 0 18px; }
.way .btn { margin-top: auto; align-self: flex-start; }

/* ---------- campaign ---------- */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.phase { border-radius: 24px; padding: 26px 24px; color: #fff; }
.phase .k { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.phase b { display: block; margin: 8px 0 4px; font-size: clamp(30px, 3vw, 44px); font-weight: 700; line-height: 1; text-transform: uppercase; }
.phase .g { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.phase p { font-size: 14px; margin: 12px 0 0; opacity: .92; }
.phase-1 { background: #B8860B; } .phase-2 { background: #1E5B38; } .phase-3 { background: #000; }
.pattern { margin: 26px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 30px; font-size: 15px; }
.pattern li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.pattern b { font-weight: 700; }

/* ---------- FAQ (reuse .acc) ---------- */
.acc-light details { border-color: rgba(255,255,255,.3); }
.acc-light details p, .acc-light summary em { color: rgba(255,255,255,.85); }
.acc-light details a { color: #FF4B4B; }
.acc-wide summary { font-size: clamp(16px, 1.4vw, 21px); text-transform: none; letter-spacing: 0; padding: 24px 0; }

/* ---------- products ---------- */
.prods { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 300px)); justify-content: center; gap: 22px; }   /* a short row of products sits centred, not stranded on the left */
.prod { text-align: center; }
.prod { display: block; text-decoration: none; color: inherit; }
.prod figure { margin: 0 0 14px; border-radius: 24px; background: color-mix(in srgb, var(--ink) 6%, var(--paper)); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 10%; overflow: hidden; }
.sec-dark .prod figure { background: #161616; }
.prod img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.prod:hover img { transform: scale(1.06) rotate(-2deg); }
.prod b { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.25; }
.prod span { display: block; margin-top: 4px; font-size: 13px; opacity: .65; }
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.cat { display: flex; align-items: flex-end; min-height: 200px; padding: 22px; border-radius: 24px; color: #fff; text-decoration: none; font-size: clamp(22px, 2vw, 30px); font-weight: 700; text-transform: uppercase; line-height: .95; letter-spacing: -.01em; transition: transform .4s var(--ease); }
.cat:hover { transform: translateY(-4px); }

/* ---------- gallery grid ---------- */
.gal { columns: 4 240px; column-gap: 14px; }
.gal img { width: 100%; height: auto; border-radius: 18px; margin-bottom: 14px; break-inside: avoid; display: block; }
.gal-row img:nth-child(3n) { aspect-ratio: auto; border-radius: 24px; }

/* ---------- events widgets ---------- */
.dce-wrap { min-height: 360px; border-radius: var(--r-card); overflow: hidden; background: #fff; color: #000; padding: 20px; }
.sec-dark .dce-wrap { background: #fff; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(72px, 11vw, 150px) 0; text-align: center; }
.cta-band .h-xl { margin-bottom: .3em; }
.cta-band .row-btns { justify-content: center; }

/* ---------- utility ---------- */
.on-dark { color: #fff; }
.max-60 { max-width: 60ch; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.sticker-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.sticker-row img { height: 64px; width: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .beliefs { grid-template-columns: minmax(0, 1fr); }
  .belief { aspect-ratio: 16 / 9; }
  .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .phases { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .ph { min-height: 68svh; padding-top: calc(var(--hdr) + 7vh); }
  .two, .two:has(> .vid:first-child), .pillars, .chapters { grid-template-columns: minmax(0, 1fr); }
  .two > .vid:first-child { order: -1; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars-l { position: static; }
  .chap-fig { display: none; }
  .chap { min-height: 0; opacity: 1; padding: 5vh 0; }
  .chap img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; margin-bottom: 20px; }
  .nlist, .pattern { grid-template-columns: minmax(0, 1fr); }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .team-grid-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deco { --w: 70px; }
  .gal { columns: 2 140px; }
  .lead { grid-template-columns: 80px 1fr; }
  .lead img { width: 80px; height: 80px; }
}


/* =========================================================================
   Motion system additions — theme toggle, hero intro, cards, chips, search,
   page transitions. Values come from clc-motion.js tokens (--ease-std …).
   ========================================================================= */

/* ---------- theme toggle (sliding indicator) ---------- */
.theme-tog { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; width: 64px; height: 34px; padding: 0 5px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.theme-tog svg { position: relative; z-index: 1; width: 16px; height: 16px; justify-self: center; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: color var(--t-control, .24s); }
.theme-tog i { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: transform var(--t-control, .24s) var(--ease-std, ease); }
.theme-tog[aria-pressed="true"] i { transform: translateX(30px); }
.theme-tog svg:first-child { color: #000; } .theme-tog[aria-pressed="true"] svg:first-child { color: #fff; }
.theme-tog svg:last-child { color: #fff; } .theme-tog[aria-pressed="true"] svg:last-child { color: #000; }
.theme-tog:hover { border-color: #fff; }
.menu-theme { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hdr-logo { flex: none; }

/* ---------- hero intro: masked lines, settling image, staggered rise ---------- */
html[data-anim] .ph-bg img { animation: settle 1.6s var(--ease-soft, ease) both; }
@keyframes settle { from { transform: scale(1.06); } }
html[data-anim] .ph .ph-logo { animation: settle-in 1.1s var(--ease-std, ease) both; }
@keyframes settle-in { from { opacity: 0; transform: scale(1.06) translateY(10px); } }
html[data-anim] .ph .eyebrow, html[data-anim] .ph .ph-sub, html[data-anim] .ph .ph-times, html[data-anim] .ph .row-btns { animation: rise 1s var(--ease-std, ease) both; }
html[data-anim] .ph .eyebrow { animation-delay: .1s; }
html[data-anim] .ph .ph-sub { animation-delay: .45s; }
html[data-anim] .ph .ph-times { animation-delay: .55s; }
html[data-anim] .ph .row-btns { animation-delay: .65s; }
html[data-anim] .ph .lines .ln > span { transform: translateY(112%); }
html[data-anim] .ph .lines.is-in .ln > span { transform: none; }
.ph .deco { transition: opacity 1s; }

/* ---------- ministry cards ---------- */
.min-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: clamp(.9rem, 2vw, 1.5rem); }
.mcard { --c: var(--red); max-width: 640px; position: relative; display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; background: var(--paper-2); color: var(--ink); text-decoration: none; isolation: isolate; transition: transform .5s var(--ease-std, ease), box-shadow .5s var(--ease-std, ease), opacity .3s, filter .3s; }
.mcard figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c); }
.mcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-soft, ease); }
.mcard-b { position: relative; padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.mcard-b::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: var(--c); }
.mcard-k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; opacity: .62; }
.mcard h3 { margin: 2px 0 0; font-size: clamp(22px, 1.8vw, 28px); font-weight: 700; line-height: .95; text-transform: uppercase; letter-spacing: -.01em; display: inline-block; align-self: flex-start; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 2px; transition: background-size .5s var(--ease-std, ease); }
.mcard-d { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.mcard-x { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease-std, ease), opacity .35s; }
.mcard-x > div { overflow: hidden; }
.mcard-x dl { margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 12px; }
.mcard-x dt { letter-spacing: .14em; text-transform: uppercase; opacity: .6; } .mcard-x dd { margin: 0; }
.mcard-more { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; }
.mcard-more::after { content: "→"; transition: transform var(--t-control, .24s) var(--ease-std, ease); }
.mcard:hover, .mcard:focus-visible { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,.18); }
.mcard:hover img, .mcard:focus-visible img { transform: scale(1.03); }
.mcard:hover h3, .mcard:focus-visible h3 { background-size: 100% 2px; }
.mcard:hover .mcard-x, .mcard:focus-visible .mcard-x, .mcard.open .mcard-x { grid-template-rows: 1fr; opacity: 1; }
.mcard:hover .mcard-more::after { transform: translateX(4px); }
.mcard.out { opacity: 0; transform: scale(.96); pointer-events: none; }
.mcard[hidden] { display: none; }
@media (hover: none) { .mcard .mcard-x { grid-template-rows: 1fr; opacity: 1; } }   /* no hover: the detail is simply there */

/* ---------- directory: search + chips ---------- */
.dir-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; margin-bottom: 34px; }
.search { position: relative; }
.search input { width: 100%; height: 56px; padding: 0 52px 0 50px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: 500 16px/1 var(--font); transition: border-color var(--t-control, .24s), box-shadow var(--t-control, .24s); }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(62,168,242,.35); }
.search svg { position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; margin-top: -9px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search-x { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; line-height: 1; opacity: 0; transition: opacity var(--t-control, .24s), background-color var(--t-control, .24s); }
.search.has-q .search-x { opacity: 1; }
.search-x:hover { background: var(--paper-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip-group + .chip-group { margin-top: 10px; }
.chip-k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-right: 6px; }
.chip { position: relative; isolation: isolate; height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font: 600 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); transition: border-color var(--t-control, .24s), color var(--t-control, .24s), transform var(--t-feedback, .16s); }
.chip::before { content: ""; position: absolute; inset: -1.5px; z-index: -1; border-radius: inherit; background: var(--ink); transform: scale(.6); opacity: 0; transition: transform var(--t-control, .24s) var(--ease-std, ease), opacity var(--t-control, .24s); }
.chip[aria-pressed="true"] { color: var(--paper); border-color: var(--ink); }
.chip[aria-pressed="true"]::before { transform: scale(1); opacity: 1; }
.chip:active { transform: scale(.96); }
.dir-status { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 22px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.dir-status b { color: var(--ink); font-weight: 700; }
.dir-reset { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; opacity: 0; transition: opacity var(--t-control, .24s); }
.dir-tools.is-filtered .dir-reset, .dir-status.is-filtered .dir-reset { opacity: 1; }
.dir-empty { padding: 60px 24px; border-radius: var(--r-card); border: 1.5px dashed var(--line); text-align: center; }
.dir-empty h3 { margin: 0 0 8px; font-size: 26px; font-weight: 700; text-transform: uppercase; }
.dir-empty p { margin: 0 0 18px; color: var(--ink-2); }
@media (max-width: 820px) { .dir-tools { grid-template-columns: minmax(0, 1fr); } }

/* ---------- editorial community composition ---------- */
.edit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); align-items: start; }
.edit figure { margin: 0; overflow: hidden; border-radius: 24px; background: var(--paper-2); }
.edit img { width: 100%; height: 100%; object-fit: cover; display: block; }
.edit .e1 { grid-column: 1 / span 7; aspect-ratio: 16 / 10; }
.edit .e2 { grid-column: 8 / span 5; aspect-ratio: 4 / 5; margin-top: 14vh; }
.edit .e3 { grid-column: 2 / span 4; aspect-ratio: 1; margin-top: -8vh; }
.edit .e4 { grid-column: 6 / span 7; aspect-ratio: 16 / 9; margin-top: 4vh; }
.edit .e-q { grid-column: 1 / span 12; padding: 6vh 0 2vh; max-width: 24ch; }
@media (max-width: 820px) { .edit .e1, .edit .e2, .edit .e3, .edit .e4 { grid-column: 1 / span 12; margin-top: 0; } }

/* ---------- page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s var(--ease-std, ease) both; }
::view-transition-new(root) { animation: vt-in .36s var(--ease-std, ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
.vt-hero { view-transition-name: ministry-hero; }
::view-transition-group(ministry-hero) { animation-duration: .5s; animation-timing-function: var(--ease-std, ease); }
html.leaving main, html.leaving footer { opacity: 0; transform: translateY(-10px); transition: opacity .22s var(--ease-std, ease), transform .22s var(--ease-std, ease); }
html[data-anim]:not(.vt) main { animation: page-in .5s var(--ease-std, ease) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root), ::view-transition-group(ministry-hero) { animation: none; } }

/* ---------- ministry mission layout (option 2): centred heading, video | copy, facts strip ---------- */
.mz-head { text-align: center; margin-bottom: clamp(28px, 3.6vw, 52px); }
.mz-head h2 { margin-left: auto; margin-right: auto; }
.mz-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.2vw, 48px); align-items: center; }
.mz-copy { display: grid; gap: 18px; align-content: center; }
.mz-copy p { margin: 0; }
.mz-copy .row-btns { margin-top: 6px; }
.mz-strip { list-style: none; margin: clamp(22px, 2.8vw, 36px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.mz-strip > li { padding: clamp(18px, 1.8vw, 26px); border-radius: 22px; display: grid; gap: 8px; align-content: center; min-height: 92px; }
.mz-strip dt, .mz-strip b.k { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; opacity: .7; }
.mz-strip dd, .mz-strip span.v { margin: 0; font-size: 16px; line-height: 1.3; }
.mz-strip .lead { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; }
.mz-strip .lead img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.mz-strip .lead b { display: block; font-size: 13px; line-height: 1.15; }
.mz-strip .lead span { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: 2px; }
@media (max-width: 1024px) { .mz-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .mz-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; } .mz-copy { text-align: left; } }
@media (max-width: 480px) { .mz-strip { grid-template-columns: minmax(0, 1fr); } }

/* video players contain their own iframe stacking, so a mascot parked beside the player stays in front once it plays */
[data-yt] { isolation: isolate; }
:has(> [data-yt]) > .deco { z-index: 2; }
/* in the mission grid the player fills the height of the copy column (phones keep 16:9) */
.mz-grid { align-items: stretch; }
.mz-grid > :first-child { position: relative; display: grid; }
.mz-grid > :first-child > [data-yt] { aspect-ratio: auto; height: 100%; min-height: 340px; }
.mz-grid > :first-child > [data-yt] img { object-fit: cover; }
.mz-copy { align-content: center; }
@media (max-width: 820px) { .mz-grid > :first-child > [data-yt] { aspect-ratio: 16 / 9; height: auto; min-height: 0; } }

/* ---------- THRIVE devotion page: the app sits in a borderless frame under a slim edition bar ---------- */
.thv-top { padding: calc(var(--hdr) + 20px) 0 18px; background: var(--paper); }
.thv-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.thv-bar .eyebrow { margin: 0; }
.thv-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.thv-tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line, rgba(0,0,0,.15)); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: inherit; transition: background .25s, color .25s, border-color .25s; }
.thv-tabs a:hover { border-color: var(--ink); }
.thv-tabs a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.thv-shell { position: relative; background: var(--paper); }
.thv-shell iframe { display: block; width: 100%; height: 1600px; border: 0; background: var(--paper); }
.thv-shell.is-contained iframe { height: calc(100svh - var(--hdr)); }
.thv-shell.is-overlay iframe { position: fixed; inset: 0; width: 100%; height: 100% !important; z-index: 300; }
html.thrive-lock { overflow: hidden; }
@media (max-width: 600px) { .thv-bar { justify-content: center; } .thv-bar .eyebrow { width: 100%; text-align: center; justify-content: center; } }

/* belief videos: the card takes the thumbnail's own 16:9 shape, with the title below it */
.belief { aspect-ratio: auto; display: grid; grid-template-rows: auto auto; align-items: stretch; padding: 0; text-align: left; }
.belief img { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; }
.belief::after { display: none; }
.belief:hover img { transform: none; filter: brightness(1.08); }
.belief > div { padding: 18px 22px 22px; }
.belief h3 { font-size: clamp(24px, 2.2vw, 34px); }
.belief .play { right: 16px; top: 16px; width: 52px; height: 52px; }
@media (max-width: 820px) { .belief { aspect-ratio: auto; } }

/* ---------- church calendar (events page): built from the live events feed ---------- */
.cal-head .cal-k { margin: 0; max-width: 46ch; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; color: var(--ink-3); justify-self: end; }
.cal-up { margin: 0 0 clamp(40px, 5vw, 64px); }
.cal-up .eyebrow { margin-bottom: 16px; }
.cal-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.cal-nav { display: flex; align-items: center; gap: 10px; }
.cal-month { margin: 0 8px; min-width: 9ch; font-size: clamp(26px, 2.8vw, 42px); font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; line-height: 1; }
.cal-arrow, .cal-today, .cal-views button, .cal-filters button { font: inherit; color: inherit; cursor: pointer; background: transparent; border: 1.5px solid var(--line); border-radius: 999px; transition: background .2s, color .2s, border-color .2s; }
.cal-arrow { width: 44px; height: 44px; font-size: 24px; line-height: 1; display: grid; place-items: center; padding-bottom: 3px; }
.cal-today { min-height: 40px; padding: 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cal-arrow:hover, .cal-today:hover, .cal-views button:hover, .cal-filters button:hover { border-color: var(--ink); }
.cal-views { display: inline-flex; gap: 6px; }
.cal-views button { min-height: 40px; padding: 0 18px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cal-views button[aria-pressed="true"], .cal-filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cal-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cal-filters button { min-height: 36px; padding: 0 14px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.cal-filters button b { width: 9px; height: 9px; border-radius: 50%; background: var(--mc); }
.cal-status { margin: 0 0 14px; font-size: 13px; color: var(--ink-3); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.cal-dow { padding: 12px 10px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-2); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cal-day { min-height: 124px; padding: 8px 7px 8px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.cal-day.is-out { background: color-mix(in srgb, var(--paper-2) 55%, transparent); }
.cal-day.is-out .cal-num { opacity: .35; }
.cal-num { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; font-weight: 700; flex: none; }
.cal-day.is-today .cal-num { background: var(--red); color: #fff; }
.cal-ev { display: flex; gap: 6px; align-items: baseline; width: 100%; min-width: 0; text-align: left; border: 0; border-left: 3px solid var(--mc); border-radius: 6px; background: color-mix(in srgb, var(--mc) 12%, transparent); padding: 5px 7px; font: inherit; font-size: 12px; font-weight: 600; line-height: 1.25; color: inherit; cursor: pointer; transition: background .2s; }
.cal-ev:hover { background: color-mix(in srgb, var(--mc) 24%, transparent); }
.cal-ev i { font-style: normal; font-weight: 800; color: var(--mc); flex: none; }
.cal-ev span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-ev.is-featured { background: var(--mc); color: #fff; } .cal-ev.is-featured i { color: #fff; }
.cal-day.is-past .cal-ev { opacity: .5; }
.cal-more { border: 0; background: none; padding: 2px 7px; text-align: left; font: inherit; font-size: 11px; font-weight: 700; color: var(--ink-3); cursor: pointer; }
.cal-more:hover { color: var(--ink); }
.cal[data-view="month"] .cal-list, .cal[data-view="list"] .cal-grid, .cal[data-view="tiles"] .cal-grid, .cal[data-view="tiles"] .cal-list, .cal:not([data-view="tiles"]) .cal-tiles { display: none; }
.cal-filters button small { font-size: 11px; font-weight: 700; opacity: .6; margin-left: 2px; }
.cal-filters button[aria-pressed="true"] small { opacity: .8; }
.cal-tiles { margin-top: 8px; }
.cal-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hdr) + 20px); }
.cal-row:last-child { border-bottom: 1px solid var(--line); }
.cal-date b { display: block; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.cal-date span { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.cal-row.is-today .cal-date b { color: var(--red); }
.cal-row.is-past { opacity: .55; }
.cal-items { display: grid; gap: 10px; }
.cal-item { display: block; width: 100%; text-align: left; border: 0; border-left: 4px solid var(--mc); border-radius: 12px; background: var(--paper-2); padding: 14px 18px; font: inherit; color: inherit; cursor: pointer; transition: transform .2s, background .2s; }
.cal-item:hover { transform: translateX(3px); background: color-mix(in srgb, var(--mc) 10%, var(--paper-2)); }
.cal-item-t { display: block; font-size: 18px; font-weight: 800; line-height: 1.2; }
.cal-item-m { display: block; margin-top: 5px; font-size: 13px; color: var(--ink-3); }
.cal-empty { margin: 0; padding: 40px 20px; text-align: center; border: 1.5px dashed var(--line); border-radius: 20px; color: var(--ink-3); }
@media (max-width: 820px) { .cal-head .cal-k { justify-self: start; } }
@media (max-width: 720px) {
  .cal-month { font-size: 26px; min-width: 0; }
  .cal-dow { padding: 8px 2px; text-align: center; letter-spacing: .06em; }
  .cal-day { min-height: 62px; padding: 4px 3px; align-items: center; }
  .cal-num { width: 26px; height: 26px; font-size: 13px; }
  .cal-ev { height: 6px; padding: 0; border: 0; border-radius: 3px; background: var(--mc); }
  .cal-ev i, .cal-ev span { display: none; }
  .cal-more { display: none; }
  .cal-row { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
  .cal-date b { font-size: 30px; }
}

/* our story: the documentary starts larger than the home tour, sized to fit under the title */
@media (min-width: 821px) {
  .tour-lg .tour-frame {
    --tf0: min(64vw, calc((100svh - var(--hdr) - 7vh - clamp(76px, 12.8vw, 210px) - 56px) * 1.7778));
    transform: translateY(calc((1 - var(--tf, 1)) * (var(--hdr) + 7vh + clamp(76px, 12.8vw, 210px) + 24px - (100svh - var(--tf0) * .5625) / 2)));
  }
}

/* portrait hero photo (plan a visit): keep the face in frame; on desktop the photo takes the right side and fades into the black behind the title */
.ph-bg.ph-side img { object-position: 50% 12%; }
@media (min-width: 821px) {
  .ph-bg.ph-side img { position: absolute; top: 0; right: 0; width: 56%; object-position: 50% 4%; }
  .ph-bg.ph-side::after { background: linear-gradient(90deg, #000 0%, #000 44%, rgba(0,0,0,.35) 60%, rgba(0,0,0,0) 78%), linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 45%); }
}
/* ministry pages set their own ink but not --paper-2: give their explore cards a fixed light card so names never vanish in dark mode */
:is(.zine, .stand, .garden, .found) .mcard { background: #fff; color: #1a1a1a; }
:is(.zine, .stand, .garden, .found) .mcard-d { color: rgba(26, 26, 26, .74); }
:is(.zine, .stand, .garden, .found) .mcard-x dl { border-top-color: rgba(0, 0, 0, .12); }

.invite-bar { position: relative; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 16px; padding: calc(var(--hdr) + 14px) 56px 14px; background: var(--red); color: #fff; text-align: center; }
.invite-bar p { margin: 0; font-size: 15px; } .invite-bar b { margin-right: 6px; }
.invite-bar button { position: absolute; right: 16px; bottom: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(0,0,0,.2); color: #fff; font-size: 20px; cursor: pointer; }

/* About · Our Story: a compact two-column intro under the documentary */
#story { background: #000; color: #fff; }
#story .si { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 6vw, 110px); align-items: start; padding: clamp(56px, 9vh, 110px) var(--gut) clamp(80px, 12vh, 140px); }
#story .si-h { margin: 0; font-size: clamp(44px, 6vw, 100px); line-height: .88; font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; color: #fff; position: sticky; top: calc(var(--hdr) + 40px); }
#story .si-copy { display: grid; gap: 18px; max-width: 58ch; }
#story .si-copy p { margin: 0; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.72); }
#story .si-copy .si-lede { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: #fff; }
#story .si-facts { list-style: none; margin: 10px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
#story .si-facts li { display: grid; gap: 6px; padding: 18px 14px 18px 0; }
#story .si-facts li + li { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.16); }
#story .si-facts b { font-size: clamp(30px, 3vw, 44px); line-height: 1; font-weight: 800; color: var(--red); letter-spacing: -.02em; }
#story .si-facts span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
#story .si-facts em { font-style: normal; color: #fff; }
@media (max-width: 860px) { #story .si { grid-template-columns: minmax(0, 1fr); } #story .si-h { position: static; } }
@media (max-width: 480px) { #story .si-facts { grid-template-columns: minmax(0, 1fr); } #story .si-facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); } }

/* About · Our mission: pinned, the word after "Reach" turns up → out → in with the scroll */
.ms { --up: #50AB65; --out: #EB1515; --in: #3EA8F2; --c: var(--up); position: relative; height: 300vh; background: #050505; color: #fff; }
.ms[data-at="out"] { --c: var(--out); } .ms[data-at="in"] { --c: var(--in); }
.ms-pin { position: sticky; top: 0; height: 100svh; min-height: 680px; display: grid; align-items: center; padding: calc(var(--hdr) + 10px) 0 30px; overflow: hidden; }
.ms-pin::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 30%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%); transition: background .6s; pointer-events: none; }
.ms .wrap { position: relative; }
.ms-h { margin: 8px 0 10px; display: flex; flex-wrap: wrap; gap: .22em; font-size: clamp(64px, 11vw, 176px); line-height: .84; font-weight: 900; text-transform: uppercase; letter-spacing: -.05em; }
.ms-word { position: relative; display: inline-grid; color: var(--c); transition: color .4s; }
.ms-word b { grid-area: 1 / 1; font-weight: inherit; opacity: 0; transform: translateY(.3em); transition: opacity .45s, transform .55s var(--ease); }
.ms-word b.on { opacity: 1; transform: none; }
.ms-intro { margin: 0 0 22px; max-width: 70ch; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.72); }
.ms-intro strong { color: #fff; }
.ms-tabs { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; padding-bottom: 14px; }
.ms-tabs button { padding: 12px 22px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: transparent; border: 2px solid rgba(255,255,255,.2); cursor: pointer; transition: background-color .3s, border-color .3s, color .3s; }
.ms-tabs button.on { background: var(--c); border-color: var(--c); color: #000; }
.ms[data-at="out"] .ms-tabs button.on, .ms[data-at="in"] .ms-tabs button.on { color: #fff; }
.ms-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.12); }
.ms-prog i { position: absolute; inset: 0; background: var(--c); transform-origin: 0 50%; transform: scaleX(0); }
.ms-panels { display: grid; }
.ms-panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 16%, transparent), rgba(255,255,255,.02)); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .45s, transform .55s var(--ease), visibility .45s; }
.ms-panel.on { opacity: 1; visibility: visible; transform: none; }
.ms-kick { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--c); }
.ms-lead { margin: 0 0 12px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: #fff; }
.ms-close { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.7); }
.ms-verses { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.ms-verses li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-style: italic; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.88); }
.ms-verses li:last-child { border-bottom: 0; }
.ms-verses cite { display: block; margin-top: 6px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--c); }
@media (max-height: 820px) and (min-width: 821px) { .ms-h { font-size: clamp(56px, 8vw, 120px); } .ms-intro { display: none; } .ms-verses li:nth-child(n+3) { display: none; } }
@media (max-width: 820px) {
  .ms { height: auto; } .ms-pin { position: relative; height: auto; min-height: 0; padding: 80px 0; }
  .ms-panel { grid-template-columns: minmax(0, 1fr); }
  .ms-panel:not(.on) { display: none; }
}
