/* Fellowship website theme. --primary / --accent come from each fellowship's branding. */
:root {
  --primary: #3b2a7a; --accent: #d4a017; --primary-soft: rgba(59,42,122,.08); --primary-mid: rgba(59,42,122,.18);
  --ink: #1d1d2b; --muted: #636478; --line: #e7e5ef; --bg: #fff; --bg-alt: #f7f6fb; --radius: 14px;
  --heading: 'Playfair Display', Georgia, serif;
  --shadow: 0 1px 2px rgba(20,16,50,.06), 0 8px 24px rgba(20,16,50,.07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; font: 16px/1.65 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--heading); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; font-family: 'Inter', system-ui, sans-serif; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.08rem; color: #3b3c4e; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: #fff; border: 0; border-radius: 999px; padding: 12px 24px; font: 600 15px 'Inter', sans-serif; cursor: pointer; transition: transform .15s, box-shadow .15s, filter .15s; text-decoration: none !important; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px var(--primary-mid); filter: brightness(1.08); }
.btn-accent { background: var(--accent); color: #1d1d2b; }
.btn-ghost { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary); }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.chip { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.chip.ok, .chip.verified { background: #e3f6ea; color: #17733d; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 700; color: var(--accent); margin-bottom: 6px; filter: brightness(.85); }

/* ---------- top bar & header ---------- */
.topbar { background: var(--primary); color: rgba(255,255,255,.88); font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 5px 0; }
.topbar a { color: #fff; margin-left: 16px; }
.tb-verse { font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-contact { white-space: nowrap; }
.header { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none !important; min-width: 0; }
.brand strong { display: block; font-family: var(--heading); font-size: 1.25rem; line-height: 1.15; }
.brand small { display: block; color: var(--muted); font-size: 12.5px; }
.brand-logo { height: 54px; width: auto; max-width: 160px; object-fit: contain; }
.brand-mark { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 24px; font-weight: 700; }
.brand-mark.big { width: 72px; height: 72px; font-size: 38px; margin: 0 auto 12px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav li { position: relative; }
.nav > ul > li > a { display: block; padding: 10px 13px; color: var(--ink); font-weight: 500; font-size: 15px; border-radius: 8px; text-decoration: none; }
.nav > ul > li > a:hover, .nav > ul > li.on > a { color: var(--primary); background: var(--primary-soft); }
.caret { font-size: 11px; opacity: .6; }
.sub { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; color: var(--ink); border-radius: 8px; font-size: 14.5px; }
.sub a:hover { background: var(--primary-soft); color: var(--primary); text-decoration: none; }
.nav-toggle, .sub-toggle { display: none; }

/* ---------- hero slider ---------- */
.hero { position: relative; height: clamp(420px, 70vh, 640px); overflow: hidden; background: var(--primary); }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; }
.slide.on { opacity: 1; z-index: 1; }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,8,30,.7), rgba(10,8,30,.15) 70%); }
.slide-text { position: relative; color: #fff; max-width: 1180px; }
.slide-text h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); max-width: 720px; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.slide-text p { font-size: clamp(1rem, 2vw, 1.25rem); max-width: 600px; opacity: .92; }
.slide.on .slide-text > * { animation: rise .9s ease both; }
.slide.on .slide-text > *:nth-child(2) { animation-delay: .12s; }
.slide.on .slide-text > *:nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.sl-arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 28px; cursor: pointer; backdrop-filter: blur(4px); }
.sl-arrow:hover { background: rgba(255,255,255,.35); }
.sl-arrow.prev { left: 18px; } .sl-arrow.next { right: 18px; }
.dots { position: absolute; bottom: 22px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: .25s; padding: 0; }
.dots button.on { width: 28px; background: var(--accent); }

/* ---------- sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: #15122b; color: #e9e7f5; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .card { background: #211d3d; border-color: #2e2950; }
.section.dark .meta { color: #a9a5c4; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.sec-head.center { justify-content: center; text-align: center; }
.more { font-weight: 600; white-space: nowrap; }
.sub-title { font-size: 1.5rem; margin: 40px 0 18px; }
.page-hero { background: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #000)); color: #fff; padding: 56px 0 46px; position: relative; overflow: hidden; }
.page-hero::after { content: '✝'; position: absolute; right: 6%; top: -30px; font-size: 220px; opacity: .06; line-height: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 6px; }
.crumbs { font-size: 14px; opacity: .85; }
.crumbs a { color: #fff; }
.crumbs span { margin: 0 6px; }

/* About page: formatted story text (# part, ## heading, ### sub-heading, * list, > verse) */
.about-grid .lead, .rich p { white-space: pre-line; }
.about-story { padding-top: 0; }
.rich { font-size: 1.04rem; color: #3b3c4e; line-height: 1.75; overflow-wrap: anywhere; }
.rich p { margin: 0 0 14px; }
.rich .rich-part { margin: 56px 0 18px; padding-top: 36px; border-top: 3px solid var(--accent); color: var(--primary); }
.rich > .rich-part:first-child { margin-top: 0; }
.rich .rich-h { font-family: var(--heading); font-size: 1.4rem; font-weight: 700; color: var(--primary); margin: 36px 0 12px; }
.rich .rich-sub { font-size: 1.08rem; font-weight: 700; color: #22232f; margin: 24px 0 6px; padding-left: 12px; border-left: 4px solid var(--primary-mid); }
.rich .rich-part, .rich .rich-h, .rich .rich-sub { clear: both; }
.rich::after { content: ""; display: block; clear: both; }
/* Photos inside the About text ([photo 1]): a centred circle with the caption below */
.rich-photo { width: 200px; margin: 10px auto 24px; text-align: center; }
.rich-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 0 0 3px var(--accent), 0 10px 26px rgba(20, 22, 40, .18); background: #eef0f6; }
.rich-photo figcaption { margin-top: 14px; font-size: .92rem; font-weight: 600; line-height: 1.45; color: var(--primary); }
@media (max-width: 600px) { .rich-photo { width: 170px; } }
.rich-list { margin: 0 0 18px; padding: 0; list-style: none; }
.rich-list li { position: relative; padding: 6px 0 6px 30px; }
.rich-list li::before { content: '✓'; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-top: 3px; }
.rich-verse { margin: 18px 0 22px; padding: 22px 26px; background: var(--primary-soft); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; }
.rich-verse p { margin: 0; font-style: italic; font-size: 1.1rem; color: #22232f; }
.rich-verse cite { display: block; margin-top: 10px; font-style: normal; font-weight: 600; color: var(--primary); }
@media (max-width: 600px) { .rich-verse { padding: 16px 18px; } .rich .rich-part { margin-top: 40px; padding-top: 26px; } }

/* About page language switcher (English / Telugu / Hindi) */
.lang-bar { background: var(--primary-soft); border-bottom: 1px solid var(--primary-mid); }
.lang-switch { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; padding: 10px 0; }
.lang-ic { font-size: 16px; margin-right: 4px; }
.lang-switch a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--primary-mid); background: #fff; color: var(--primary); font-weight: 600; font-size: 14px; text-decoration: none; line-height: 1.4; }
.lang-switch a:hover { border-color: var(--primary); }
.lang-switch a.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.lang-switch a[lang="te"] { font-family: 'Noto Sans Telugu', system-ui, sans-serif; }
.lang-switch a[lang="hi"] { font-family: 'Noto Sans Devanagari', system-ui, sans-serif; }
@media (max-width: 600px) { .lang-switch { justify-content: center; } }
/* Telugu / Hindi pages: script fonts, and no capital letters or letter spacing (these scripts have none) */
html[lang="te"] main, html[lang="te"] main h1, html[lang="te"] main h2, html[lang="te"] main h3, html[lang="te"] main h4 { font-family: 'Noto Sans Telugu', 'Inter', system-ui, sans-serif; }
html[lang="hi"] main, html[lang="hi"] main h1, html[lang="hi"] main h2, html[lang="hi"] main h3, html[lang="hi"] main h4 { font-family: 'Noto Sans Devanagari', 'Inter', system-ui, sans-serif; }
html[lang="te"] main .eyebrow, html[lang="hi"] main .eyebrow { letter-spacing: 0; font-size: 14px; }
html[lang="te"] main p, html[lang="te"] main li, html[lang="hi"] main p, html[lang="hi"] main li { line-height: 1.85; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.stack { display: grid; gap: 40px; }

/* ---------- cards ---------- */
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; transition: transform .2s, box-shadow .2s; text-decoration: none !important; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 18px 20px 20px; }
.card-body h3 { margin-bottom: 6px; }
.meta { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.ev-img { position: relative; aspect-ratio: 16/10; background: var(--primary-soft); }
.ev-img img { width: 100%; height: 100%; object-fit: cover; }
.date-badge { position: absolute; left: 14px; top: 14px; background: #fff; border-radius: 12px; text-align: center; padding: 6px 12px; box-shadow: var(--shadow); line-height: 1.1; }
.date-badge strong { display: block; font-size: 22px; color: var(--primary); }
.date-badge span { font-size: 12px; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.thumb { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--primary), #000); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--primary); font-size: 20px; padding-left: 4px; box-shadow: 0 6px 20px rgba(0,0,0,.3); transition: transform .2s; }
.sermon-card:hover .play { transform: scale(1.1); }

/* ---------- stats / cta ---------- */
.stats { background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 70%, var(--accent))); padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.stat { text-align: center; color: #fff; text-decoration: none !important; }
.stat strong { display: block; font-family: var(--heading); font-weight: 700; font-size: 2.6rem; line-height: 1.1; }
.stat span { opacity: .85; font-size: 14.5px; }
.cta { background: var(--primary-soft); padding: 44px 0; }
.cta-accent { background: color-mix(in srgb, var(--accent) 18%, #fff); }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.cta h2 { margin-bottom: 4px; }
.cta p { margin: 0; color: var(--muted); max-width: 640px; }

/* ---------- people ---------- */
.person { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 18px 22px; transition: .2s; }
.person:hover { box-shadow: var(--shadow); }
/* Any number of people, centred (e.g. 5 directors: 5 in a row on desktop, last row centred on smaller screens) */
.people-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.people-row .person { flex: 1 1 190px; max-width: 230px; }
@media (max-width: 600px) { .people-row { gap: 14px; } .people-row .person { flex-basis: 140px; } }
.avatar { width: 120px; height: 120px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--primary-mid); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 64px; height: 64px; margin: 0; flex: none; box-shadow: 0 0 0 3px var(--primary-soft); }
.avatar.xl { width: 160px; height: 160px; margin: 0; flex: none; }
.avatar-ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 40%, var(--accent))); color: #fff; font: 600 2rem 'Inter', sans-serif; }
.avatar.sm .avatar-ph { font-size: 1.2rem; }
.role { color: var(--primary); font-weight: 600; margin-bottom: 4px; }
.person .muted { font-size: 14px; margin-bottom: 0; }
.person .bio { font-size: 14.5px; color: #4a4b5c; margin-top: 10px; }
.person-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 10px; font-size: 14px; font-weight: 600; }
.church-card .person-links { justify-content: flex-start; }

/* ---------- directory ---------- */
.search-bar { display: flex; gap: 10px; max-width: 720px; margin: 0 auto 14px; flex-wrap: wrap; }
.search-bar input, .search-bar select { flex: 1 1 220px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: #fff; }
.search-bar select { flex: 0 1 200px; }
.dir { margin-top: 20px; }
.dir-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; color: inherit; transition: .2s; text-decoration: none !important; }
.dir-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.dir-card h3 { margin: 0 0 2px; font-size: 1.02rem; }
.dir-card p { margin: 0; font-size: 14px; }
.services { margin: 10px 0; padding-left: 18px; font-size: 14px; color: #4a4b5c; }
.profile { display: flex; gap: 32px; align-items: center; margin-bottom: 28px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 14px 0 0; font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }

/* ---------- details, forms ---------- */
.detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.detail-img { width: 100%; border-radius: var(--radius); margin-bottom: 24px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 14px; color: #3b3c4e; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 14px; border: 1px solid #d9d7e4; border-radius: 10px; font: 400 15px 'Inter', sans-serif; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--primary-mid); border-color: var(--primary); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.form .check input { width: auto; margin-top: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14.5px; }
.alert.ok { background: #e3f6ea; color: #17733d; }
.alert.err { background: #fde8e8; color: #b42318; }
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.about-pic img { border-radius: 20px; box-shadow: var(--shadow); }
.about-ph { aspect-ratio: 4/3; border-radius: 20px; display: grid; place-content: center; text-align: center; background: linear-gradient(140deg, var(--primary), var(--accent)); color: #fff; }
.about-ph span { font-size: 90px; line-height: 1; }
.about-ph p { font-family: var(--heading); font-weight: 600; font-size: 1.3rem; margin: 8px 0 0; }
.vm-card { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.vm-ic { font-size: 30px; }
.vm-text p { margin: 0 0 12px; }
.vm-text p:last-child { margin-bottom: 0; }
.vm-stack { max-width: 900px; margin-left: auto; margin-right: auto; }
.vm-stack .vm-text { text-align: left; line-height: 1.75; }
.faith-list { counter-reset: f; list-style: none; padding: 0; }
.faith-list li { counter-increment: f; position: relative; padding: 14px 0 14px 56px; border-bottom: 1px solid var(--line); }
.faith-list li::before { content: counter(f); position: absolute; left: 0; top: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.feature { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: center; }
.feature.rev img { order: 2; }
.feature img { border-radius: var(--radius); width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* ---------- lists, gallery, misc ---------- */
.list-rows { display: grid; gap: 10px; }
.row-item { display: flex; align-items: center; gap: 18px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none !important; }
.row-item:hover { border-color: var(--primary-mid); box-shadow: var(--shadow); }
.date-mini { text-align: center; min-width: 72px; font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.date-mini strong { display: block; font-size: 22px; color: var(--primary); }
.file-ic { flex: none; width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 12.5px; }
.dl { margin-left: auto; font-size: 20px; color: var(--primary); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.tabs a { padding: 8px 18px; border-radius: 999px; background: var(--bg-alt); color: var(--ink); font-weight: 500; font-size: 14.5px; }
.tabs a.on { background: var(--primary); color: #fff; }
.masonry { columns: 4 240px; column-gap: 14px; }
.masonry a { position: relative; display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 12px; overflow: hidden; }
.masonry img { width: 100%; transition: transform .4s; }
.masonry a:hover img { transform: scale(1.05); }
.masonry span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-size: 13.5px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,6,20,.92); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-height: 82vh; border-radius: 10px; }
.lightbox p { color: #fff; text-align: center; margin-top: 10px; }
.lightbox button { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 36px; cursor: pointer; }
.wall { display: grid; gap: 12px; }
.wall-item { background: var(--bg-alt); border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 16px; }
.wall-item p { margin-bottom: 6px; font-style: italic; }
.wall-item .muted { font-size: 13.5px; }
.give-grid { max-width: 900px; margin: 24px auto 0; }
.qr { width: 220px; margin: 0 auto 14px; border-radius: 12px; border: 1px solid var(--line); }
.copy-btn { border: 1px solid var(--line); background: #fff; border-radius: 6px; font-size: 12px; padding: 2px 8px; cursor: pointer; margin-left: 6px; }
.note { color: var(--muted); font-size: 14.5px; margin-top: 18px; }

/* ---------- footer ---------- */
.footer { background: #15122b; color: #b9b6cf; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px; }
.footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 15px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.f-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; color: #fff; font-family: var(--heading); font-weight: 600; font-size: 1.2rem; }
.f-brand img { height: 46px; width: auto; }
.footer a { color: #e2e0f0; }
.f-links, .f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.f-contact li { display: flex; gap: 10px; white-space: pre-line; }
.dark-text a { color: var(--primary); }
.social { display: flex; gap: 10px; margin-top: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; font-weight: 700; text-decoration: none; }
.social a:hover { background: var(--accent); color: #15122b; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; font-size: 13.5px; text-align: center; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 28px; box-shadow: 0 8px 24px rgba(0,0,0,.25); text-decoration: none !important; }

/* ---------- platform page / plain pages ---------- */
.platform-hero { background: linear-gradient(130deg, #3b2a7a, #a8325e); color: #fff; padding: 90px 0; text-align: center; }
.platform-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.3rem); max-width: 820px; margin: 0 auto 14px; }
.platform-hero p { max-width: 680px; margin: 0 auto; opacity: .9; font-size: 1.1rem; }
.plat-top { height: 120px; display: grid; place-items: center; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 50%, #000)); color: #fff; font-size: 46px; }
.plat-top img { max-height: 80px; width: auto; background: #fff; border-radius: 10px; padding: 6px; }
body.plain { display: grid; place-items: center; min-height: 100vh; background: var(--bg-alt); }
.plain-box { text-align: center; padding: 40px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: block; background: var(--primary-soft); color: var(--primary); border: 0; border-radius: 10px; width: 46px; height: 46px; font-size: 22px; cursor: pointer; flex: none; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff; box-shadow: -10px 0 40px rgba(0,0,0,.15); transform: translateX(105%); transition: transform .25s; overflow-y: auto; padding: 80px 16px 24px; z-index: 70; }
  body.nav-open .nav { transform: none; }
  body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 60; }
  .nav > ul { flex-direction: column; }
  .nav li { display: flex; flex-wrap: wrap; align-items: center; }
  .nav > ul > li > a { flex: 1; padding: 13px 14px; }
  .caret { display: none; }
  .sub-toggle { display: block; background: none; border: 0; font-size: 18px; padding: 10px 14px; cursor: pointer; color: var(--muted); }
  .sub { position: static; flex-basis: 100%; box-shadow: none; border: 0; padding: 0 0 0 14px; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub.open > .sub { display: block; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.open:hover > .sub { display: block; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .tb-verse { display: none; }
  .topbar .wrap { justify-content: center; }
  .header-in { min-height: 66px; }
  .brand strong { font-size: 1.05rem; }
  .brand small { display: none; }
  .brand-logo { height: 44px; }
  .g2, .g3, .about-grid, .detail-grid, .feature, .footer-grid, .two { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .feature.rev img { order: 0; }
  .cta-in, .sec-head { flex-direction: column; align-items: flex-start; }
  .profile { flex-direction: column; text-align: center; }
  .profile .facts { text-align: left; }
  .sl-arrow { display: none; }
  .avatar { width: 92px; height: 92px; }
  .person { padding: 20px 10px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media (max-width: 760px) {
  .tb-contact a[href^="mailto"] { display: none; }
  .topbar a { margin-left: 0; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* ---------- date & weather ---------- */
.tb-dw { display: inline-flex; flex-direction: column; white-space: nowrap; color: #fff; line-height: 1.25; padding: 1px 0; }
.tb-wx { font-size: 12px; opacity: .9; }
.tb-date { font-weight: 600; }
.tb-wx:empty { display: none; }
.date-weather { text-align: right; line-height: 1.35; }
.dw-date { display: block; font-weight: 600; color: var(--ink); }
.dw-wx { display: block; font-size: 14px; color: var(--muted); min-height: 1.35em; }
@media (max-width: 1080px) { .tb-verse { display: none; } }
@media (max-width: 760px) {
  .topbar .wrap { justify-content: space-between; }
  .tb-contact { display: none; }
  .date-weather { font-size: 13px; }
  .dw-wx { font-size: 12.5px; }
}

/* ---------- society title under the logo ---------- */
.brand-logo-wrap { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; flex: none; }
.society { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); white-space: nowrap; line-height: 1.1; }
@media (max-width: 760px) { .society { font-size: 9px; } }

/* ---------- platform page: society name as main title under the logo ---------- */
.brand-stack { flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; }
.brand .society-main { font-family: var(--heading); font-size: 1.35rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); line-height: 1; }
@media (max-width: 760px) { .brand .society-main { font-size: 1.05rem; } }

/* ---------- header row + navbar row (navbar under the header) ---------- */
.header { position: relative; backdrop-filter: none; background: #fff; border-bottom: 0; }
.header-in { min-height: 88px; }
.header .date-weather { margin-left: auto; }
.navbar { position: sticky; top: 0; z-index: 50; background: var(--primary); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.navbar .nav > ul { flex-wrap: wrap; justify-content: center; gap: 0; }
.navbar .nav > ul > li > a { color: #fff; font-size: 13.5px; font-weight: 600; letter-spacing: .03em; padding: 15px 12px; border-radius: 0; text-transform: uppercase; position: relative; }
.navbar .nav > ul > li > a:hover, .navbar .nav > ul > li.on > a { background: rgba(255,255,255,.12); color: #fff; }
.navbar .nav > ul > li.on > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--accent); border-radius: 3px 3px 0 0; }
.navbar .caret { opacity: .8; }
.navbar .sub { top: 100%; border-radius: 0 0 12px 12px; }
.navbar .sub a { text-transform: uppercase; font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.brand-stack .brand-logo { height: 48px; }

@media (max-width: 1080px) {
  .header-in { min-height: 72px; gap: 12px; }
  .navbar { position: static; background: none; box-shadow: none; }
  .navbar .nav > ul { flex-direction: column; flex-wrap: nowrap; }
  .navbar .nav > ul > li > a { color: var(--ink); padding: 13px 14px; border-radius: 8px; }
  .navbar .nav > ul > li > a:hover, .navbar .nav > ul > li.on > a { background: var(--primary-soft); color: var(--primary); }
  .navbar .nav > ul > li.on > a::after { display: none; }
  .nav-toggle { order: 3; }
}
@media (max-width: 760px) {
  .header .date-weather { font-size: 12px; }
  .header .dw-date { font-size: 12px; }
  .header .dw-wx { font-size: 11.5px; }
}
@media (max-width: 480px) {
  .header .date-weather { display: none; }
}

/* ---------- search ID, portal ---------- */
.search-pick { padding: 26px; text-align: center; }
.sp-ic { font-size: 40px; }
.verify { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 2px solid; }
.verify.ok { border-color: #2fa36b; }
.verify.bad { border-color: #e5484d; padding-bottom: 6px; }
.verify.bad p { padding: 0 20px; }
.verify-badge { padding: 10px 20px; font-weight: 700; color: #fff; background: #2fa36b; }
.verify.bad .verify-badge { background: #e5484d; margin-bottom: 14px; }
.verify-body { display: flex; gap: 28px; align-items: center; padding: 24px; }
.verify-body h2 { margin-bottom: 4px; }
.login-card { max-width: 440px; margin: 0 auto; }
.login-ic { font-size: 40px; text-align: center; }
.fs-block { margin-bottom: 56px; scroll-margin-top: 70px; }
.small { font-size: 13px; }
@media (max-width: 760px) { .verify-body { flex-direction: column; text-align: center; } .verify-body .facts { text-align: left; } }

/* ---------- home: About Us (picture + text + Read more) ---------- */
.home-about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.ha-pic { position: relative; }
.ha-pic img, .ha-pic .about-ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.ha-pic::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--accent); border-radius: 20px; z-index: -1; }
.home-about .wrap { position: relative; z-index: 0; }
.ha-badge { position: absolute; left: -14px; bottom: 24px; background: var(--primary); color: #fff; border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow); text-align: center; line-height: 1.15; }
.ha-badge strong { display: block; font-family: var(--heading); font-size: 1.7rem; color: var(--accent); }
.ha-badge span { font-size: 12.5px; opacity: .9; }
.ha-vision { border-left: 4px solid var(--accent); background: var(--primary-soft); padding: 12px 16px; border-radius: 0 10px 10px 0; color: #3b3c4e; }
.ha-text .btn { margin-top: 6px; }
@media (max-width: 760px) {
  .home-about-grid { grid-template-columns: 1fr; gap: 36px; }
  .ha-pic::before { inset: 12px -10px -12px 10px; }
  .ha-badge { left: 10px; }
}

/* ---------- home: TOTAL PASTORS · VILLAGES · DISTRICTS · STATES ---------- */
.stats { padding: 44px 0; }
.stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 8px 12px; position: relative; transition: transform .2s; }
.stat:hover { transform: translateY(-3px); }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(255,255,255,.25); }
.stat-ic { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 26px; }
.stat strong { color: var(--accent); }
.stat-label { display: block; font-size: 13.5px; font-weight: 700; letter-spacing: .12em; opacity: .95; margin-top: 4px; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .stat:nth-child(3)::before { display: none; }
  .stat strong { font-size: 2.1rem; }
}

/* ---------- NEWS PAPERS (clippings) ---------- */
.newspapers { background: linear-gradient(180deg, #faf7f0, #fff); }
.np-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.np-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px; }
.np-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: inherit; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.np-card:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--shadow); }
.np-img { position: relative; display: block; aspect-ratio: 4/5; background: #f4eedf; overflow: hidden; border-bottom: 1px solid var(--line); }
.np-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.np-card:hover .np-img img { transform: scale(1.04); }
.np-zoom { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; font-size: 16px; opacity: 0; transition: opacity .2s; }
.np-card:hover .np-zoom, .np-card:focus-visible .np-zoom { opacity: 1; }
.np-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.np-paper { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: 2px 9px; border-radius: 99px; }
.np-title { font-size: 14.5px; line-height: 1.35; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-date { margin-top: auto; font-size: 13px; color: var(--muted); }
.np-full { max-width: 900px; }
.np-full-img { display: block; margin: 10px auto 24px; max-width: 760px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); cursor: zoom-in; }
.np-full-img img { width: 100%; }
.np-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }

.np-viewer { position: fixed; inset: 0; z-index: 300; background: rgba(10,8,24,.94); display: flex; flex-direction: column; color: #fff; }
.npv-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.npv-title { display: block; font-size: 16.5px; }
.npv-meta { font-size: 13.5px; opacity: .75; }
.npv-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.npv-open { color: #fff; font-size: 14px; border: 1px solid rgba(255,255,255,.3); padding: 6px 12px; border-radius: 99px; }
.npv-close { background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.npv-stage { flex: 1; overflow: auto; display: grid; place-items: center; padding: 16px 70px; }
.npv-stage img { max-height: calc(100vh - 150px); max-width: 100%; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); cursor: zoom-in; background: #fff; }
.npv-stage.zoom { place-items: start center; }
.npv-stage.zoom img { max-height: none; max-width: none; width: min(1400px, 180%); cursor: zoom-out; }
.npv-note { text-align: center; margin: 0; padding: 0 20px 6px; opacity: .85; font-size: 14.5px; }
.npv-note:empty { display: none; }
.npv-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 30px; cursor: pointer; }
.npv-arrow:hover { background: rgba(255,255,255,.3); }
.npv-arrow.prev { left: 12px; } .npv-arrow.next { right: 12px; }
.npv-hint { text-align: center; font-size: 12.5px; opacity: .55; padding: 6px 0 12px; }
@media (max-width: 1080px) { .np-row { grid-template-columns: repeat(5, minmax(190px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; } .np-row .np-card { scroll-snap-align: start; } }
@media (max-width: 760px) {
  .np-row { grid-template-columns: repeat(5, 72%); }
  .np-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .npv-stage { padding: 10px; }
  .npv-arrow { top: auto; bottom: 14px; transform: none; }
  .npv-open { display: none; }
}

/* ---------- DNPF: 7 levels, photo size grows with the level ---------- */
.dnpf { --ph: 96px; }
.dnpf-intro { margin: 0 auto 28px; }
.dnpf-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 40px; max-width: 980px; }
.dnpf-steps a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--bg-alt); color: var(--ink); font-size: 13.5px; font-weight: 500; text-decoration: none; border: 1px solid var(--line); }
.dnpf-steps a:hover { border-color: var(--primary); color: var(--primary); }
.dnpf-steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; }
.dnpf-steps em { font-style: normal; font-size: 12px; color: var(--muted); }
.dnpf-level { position: relative; margin: 0 auto 30px; padding: 26px 20px 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line); scroll-margin-top: 80px; }
.dnpf-level::before { content: ''; position: absolute; left: 50%; top: -31px; height: 30px; border-left: 2px dashed var(--primary-mid); }
.dnpf-level:first-of-type::before { display: none; }
.dnpf-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; margin-bottom: 22px; }
.dnpf-head h2 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
.dnpf-badge { background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 14px; border-radius: 99px; }
.dnpf-count { font-size: 13.5px; color: var(--muted); }
.dnpf-people { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 22px; }
.dnpf-person { display: flex; flex-direction: column; align-items: center; text-align: center; width: calc(var(--ph) + 54px); color: inherit; text-decoration: none !important; }
.dnpf-photo { display: block; width: var(--ph); height: var(--ph); border-radius: 50%; overflow: hidden; margin-bottom: 10px; box-shadow: 0 0 0 4px #fff, 0 0 0 calc(4px + var(--ring, 2px)) var(--accent), var(--shadow); transition: transform .2s; }
.dnpf-person:hover .dnpf-photo { transform: scale(1.05); }
.dnpf-photo img { width: 100%; height: 100%; object-fit: cover; }
.dnpf-photo .avatar-ph { font-size: calc(var(--ph) * .3); }
.dnpf-person strong { font-size: calc(13px + var(--fs, 0px)); line-height: 1.3; }
.dnpf-id { margin-top: 5px; font: 700 12px ui-monospace, Consolas, monospace; color: var(--primary); background: var(--primary-soft); padding: 2px 9px; border-radius: 99px; }
.dnpf-place { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
/* Higher level = bigger photo, thicker ring, stronger background */
.dnpf-level.lv-7 { --ph: 180px; --ring: 5px; --fs: 5px; background: linear-gradient(160deg, var(--primary), color-mix(in srgb, var(--primary) 55%, #000)); border: 0; color: #fff; max-width: 640px; }
.dnpf-level.lv-7 h2, .dnpf-level.lv-7 .dnpf-person { color: #fff; }
.dnpf-level.lv-7 .dnpf-badge { background: var(--accent); color: #1d1d2b; }
.dnpf-level.lv-7 .dnpf-count, .dnpf-level.lv-7 .dnpf-place { color: rgba(255,255,255,.75); }
.dnpf-level.lv-7 .dnpf-id { background: rgba(255,255,255,.15); color: #fff; }
.dnpf-level.lv-6 { --ph: 150px; --ring: 4px; --fs: 3px; max-width: 860px; background: color-mix(in srgb, var(--primary) 9%, #fff); }
.dnpf-level.lv-5 { --ph: 132px; --ring: 3px; --fs: 2px; max-width: 980px; background: color-mix(in srgb, var(--primary) 6%, #fff); }
.dnpf-level.lv-4 { --ph: 118px; --ring: 3px; --fs: 1px; background: color-mix(in srgb, var(--accent) 7%, #fff); }
.dnpf-level.lv-3 { --ph: 104px; }
.dnpf-level.lv-2 { --ph: 92px; }
.dnpf-level.lv-1 { --ph: 80px; --ring: 1px; }
.dnpf-none { margin: 0; }
/* Level with a limit (General Pastor Member: first 7, the rest behind "Show all") */
.dnpf-more { margin-top: 22px; }
.dnpf-more summary { list-style: none; display: block; width: max-content; margin: 0 auto; cursor: pointer; padding: 9px 22px; border-radius: 999px; border: 1px solid var(--primary-mid); background: #fff; color: var(--primary); font-weight: 600; font-size: 14.5px; }
.dnpf-more summary::-webkit-details-marker { display: none; }
.dnpf-more summary:hover { border-color: var(--primary); }
.dnpf-more .dnpf-more-close, .dnpf-more[open] .dnpf-more-open { display: none; }
.dnpf-more[open] .dnpf-more-close { display: inline; }
.dnpf-more[open] summary { margin-bottom: 22px; }
@media (max-width: 760px) {
  .dnpf-level.lv-7 { --ph: 130px; } .dnpf-level.lv-6 { --ph: 112px; } .dnpf-level.lv-5 { --ph: 100px; }
  .dnpf-level.lv-4 { --ph: 90px; } .dnpf-level.lv-3 { --ph: 82px; } .dnpf-level.lv-2 { --ph: 74px; } .dnpf-level.lv-1 { --ph: 66px; }
  .dnpf-people { gap: 20px 10px; }
  .dnpf-level { padding: 22px 10px 24px; }
}

/* ---------- LOGIN menu item as a button, at the end of the menu ---------- */
.navbar .nav > ul > li.nav-login { margin-left: 10px; display: flex; align-items: center; }
.navbar .nav > ul > li.nav-login > a { background: var(--accent); color: #1d1d2b; border-radius: 99px; padding: 8px 18px; margin: 6px 0; box-shadow: 0 3px 10px rgba(0,0,0,.18); transition: transform .15s, filter .15s, box-shadow .15s; }
.navbar .nav > ul > li.nav-login > a:hover, .navbar .nav > ul > li.nav-login.on > a { background: var(--accent); color: #1d1d2b; filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.navbar .nav > ul > li.nav-login.on > a::after { display: none; }
@media (max-width: 1080px) {
  .navbar .nav > ul > li.nav-login { margin: 14px 0 0; }
  .navbar .nav > ul > li.nav-login > a { flex: 1; text-align: center; padding: 12px 18px; }
}

/* keep all menu items + LOGIN button on one row on desktop */
@media (min-width: 1081px) {
  .navbar .wrap { width: min(1340px, 100% - 24px); }
  .navbar .nav > ul { flex-wrap: nowrap; justify-content: center; }
  .navbar .nav > ul > li > a { padding: 15px 11px; white-space: nowrap; }
  .navbar .nav > ul > li.nav-login > a { padding: 8px 18px; }
}
@media (min-width: 1081px) and (max-width: 1320px) {
  .navbar .nav > ul > li > a { font-size: 12.5px; padding: 15px 8px; letter-spacing: .01em; }
  .navbar .nav > ul > li.nav-login { margin-left: 6px; }
  .navbar .nav > ul > li.nav-login > a { padding: 7px 14px; }
}
@media (min-width: 1081px) and (max-width: 1200px) {
  .navbar .wrap { width: calc(100% - 12px); }
  .navbar .nav > ul > li > a { font-size: 12px; padding: 15px 6px; letter-spacing: 0; }
  .navbar .nav > ul > li.nav-login > a { padding: 7px 12px; }
  .navbar .caret { display: none; }
}

/* About page: Our Vision / Our Mission with a round picture */
.vm-card.has-pic { text-align: center; padding-top: 34px; }
.vm-pic { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 16px;
          border: 5px solid #fff; box-shadow: 0 0 0 3px var(--accent), 0 10px 24px rgba(0,0,0,.14); background: var(--primary-soft); }
@media (max-width: 600px) { .vm-pic { width: 120px; height: 120px; } }

/* About page: Our Documents (view only) */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 250px)); justify-content: center; gap: 24px; }
.doc-card { display: flex; flex-direction: column; align-items: stretch; text-align: left; font: inherit; color: inherit; cursor: zoom-in;
            background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; transition: transform .2s, box-shadow .2s; }
.doc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.doc-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.doc-img { position: relative; display: block; aspect-ratio: 1 / 1.414; background: #f6f4ee; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.doc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; pointer-events: none; }
.doc-card:hover .doc-img img { transform: scale(1.04); }
.doc-card:hover .np-zoom, .doc-card:focus-visible .np-zoom { opacity: 1; }
.doc-title { font-family: var(--heading); font-size: 17px; line-height: 1.3; margin: 12px 2px 4px; }
.doc-date { font-size: 13.5px; color: var(--muted, #6b6b7b); margin: 0 2px; }
/* view-only full screen: no selecting, no long-press save on phones */
.doc-grid img, .np-viewer.protect img { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
@media (max-width: 600px) { .doc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .doc-title { font-size: 15px; } }

/* Notices & Announcements: type tag on each card */
.news-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; padding: 2px 8px; border-radius: 99px;
            background: var(--primary-soft); color: var(--primary); margin-right: 6px; }
.news-tag.notice { background: #fdecc8; color: #8a5a00; }

/* ---------- Member portal (after login): side menu + pages ---------- */
.alert.warn { background: #fff4d6; color: #7a5200; border: 1px solid #f3d27a; }
.portal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.portal-side { position: sticky; top: 76px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.ps-me { display: flex; align-items: center; gap: 12px; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.ps-me .avatar.sm { width: 48px; height: 48px; }
.ps-me > div:last-child > strong { display: block; font-size: 15px; line-height: 1.25; }
.ps-me > div:last-child > span { display: block; font: 600 12.5px ui-monospace, Consolas, monospace; color: var(--muted); }
.ps-nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.ps-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; color: var(--text, #1d1d2b); font-weight: 600; font-size: 15px; text-decoration: none; }
.ps-nav a:hover { background: var(--primary-soft); text-decoration: none; }
.ps-nav a.on { background: var(--primary); color: #fff; }
.ps-nav a small { margin-left: auto; opacity: .6; }
.ps-nav a.locked { opacity: .45; }
.portal-main { min-width: 0; }
.pm-title { font-size: 24px; margin: 0 0 8px; }
.pd-hero { display: flex; gap: 26px; align-items: center; }
.pd-hero h2 { margin: 2px 0 10px; }
.pd-desig { display: inline-flex; flex-direction: column; padding: 10px 18px; border-radius: 12px; margin-bottom: 12px;
            background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #000)); color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.pd-desig span { font-size: 11.5px; letter-spacing: .6px; text-transform: uppercase; opacity: .8; }
.pd-desig strong { font-size: 20px; font-family: var(--heading); color: var(--accent); }
.pd-who .chip { display: table; }
.facts.two-col { margin-top: 6px; margin-bottom: 12px; }
.pd-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.pd-head h3 { margin: 0; }
.pd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.pd-stats div { border-radius: 12px; padding: 12px; text-align: center; background: var(--primary-soft); }
.pd-stats b { display: block; font-size: 26px; color: var(--primary); }
.pd-stats span { font-size: 13px; color: var(--muted); }
.pd-stats .wait { background: #fff4d6; } .pd-stats .wait b { color: #9a6700; }
.pd-stats .ok { background: #e3f6ea; } .pd-stats .ok b { color: #17733d; }
.pd-stats .no { background: #fde8e8; } .pd-stats .no b { color: #b42318; }
.table-wrap { overflow-x: auto; }
.app-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.app-table th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); padding: 8px 10px; border-bottom: 2px solid var(--line); }
.app-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.app-st { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.app-st.wait { background: #fff4d6; color: #9a6700; }
.app-st.ok { background: #e3f6ea; color: #17733d; }
.app-st.no { background: #fde8e8; color: #b42318; }
.narrow-card { max-width: 520px; }
@media (max-width: 900px) {
  .portal-grid { grid-template-columns: 1fr; }
  .portal-side { position: static; }
  .ps-nav { flex-direction: row; flex-wrap: wrap; }
  .ps-nav a { flex: 1 1 auto; justify-content: center; padding: 9px 10px; font-size: 14px; }
  .pd-hero { flex-direction: column; text-align: center; }
  .pd-who .chip { margin: 0 auto; }
  .pd-stats { grid-template-columns: repeat(2, 1fr); }
}
.btn.btn-sm { padding: 8px 14px; font-size: 13.5px; }

/* Add Application form (bilingual) */
.app-form { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.app-form > label, .app-form > fieldset, .app-form > div { min-width: 0; }
.app-form .af-wide, .app-form .af-radio, .app-form .af-photo, .app-form .af-submit { grid-column: 1 / -1; }
.app-form b.req { color: #c0392b; }
.app-form label small, .af-photo small { display: block; font-weight: 400; font-size: 12.5px; margin-top: 6px; }
.af-photo { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.af-label { font-weight: 600; font-size: 14.5px; }
.app-form label.af-drop { position: relative; width: 132px; height: 160px; border: 2px dashed var(--line); border-radius: 12px; display: grid; place-items: center; cursor: pointer;
           background: var(--primary-soft); overflow: hidden; color: var(--primary); font-weight: 600; font-size: 14px; text-align: center; margin: 0; }
.app-form label.af-drop:hover { border-color: var(--primary); }
.app-form label.af-drop input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.app-form label.af-drop img { width: 100%; height: 100%; object-fit: cover; }
.af-radio { border: 0; padding: 0; margin: 4px 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.af-radio legend { font-weight: 600; font-size: 14.5px; margin-bottom: 8px; padding: 0; }
.pill-opt { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 99px; cursor: pointer; font-weight: 500 !important; font-size: 14px; background: #fff; }
.pill-opt input { width: auto !important; margin: 0 !important; accent-color: var(--primary); }
.pill-opt:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
[data-spouse][hidden] { display: none; }
.app-who { display: flex; gap: 10px; align-items: center; }
.app-who img { width: 40px; height: 48px; object-fit: cover; border-radius: 6px; flex: none; }
@media (max-width: 700px) { .app-form { grid-template-columns: 1fr; } }
.app-form label.af-drop img[hidden], .app-form label.af-drop [hidden] { display: none; }
.app-form label.af-drop > span { grid-area: 1 / 1; }
/* Add Application: square 512 photo, tick box, fields shown after an answer, family rows */
.app-form .af-photo label.af-drop { width: 160px; height: 160px; }
.app-form .af-check { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; font-weight: 600; cursor: pointer; }
.app-form .af-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--primary); flex: none; }
.app-form [data-when][hidden], .fam-row[hidden] { display: none; }
.af-family { margin-bottom: 14px; }
.af-family > label { max-width: 420px; }
.fam-rows { display: grid; gap: 10px; margin-top: 4px; }
.fam-row { display: grid; grid-template-columns: 34px 1fr 120px; gap: 12px; align-items: end; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--primary-soft); }
.fam-row label { margin: 0; font-size: 13.5px; }
.app-form .af-section { grid-column: 1 / -1; margin: 22px 0 10px; padding-top: 18px; border-top: 2px solid var(--line); }
.app-form .af-section h3 { margin: 0 0 4px; font-size: 1.2rem; color: var(--primary); }
.app-form .af-section p { margin: 0; }
.app-form textarea.is-copied { background: var(--primary-soft); color: var(--ink); }
.fam-n { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
@media (max-width: 520px) { .fam-row { grid-template-columns: 30px 1fr 84px; gap: 8px; padding: 10px; } }

/* ---------- Witness by pastors (Our Fellowship → Member Churches, and MY ACCOUNT → Witness) ---------- */
.wit-head { margin: 34px 0 16px; font-size: 1.3rem; color: var(--primary); }
.wit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.wit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.wit-card h4 { margin: 0; font-size: 1.12rem; line-height: 1.35; }
.wit-date { margin: 0; font-size: .85rem; color: var(--muted); }
.wit-text p { margin: 0 0 8px; line-height: 1.65; }
.wit-by { display: flex; gap: 12px; align-items: flex-start; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.wit-by .avatar { flex: none; }
.wit-by strong { display: block; color: var(--primary); margin-bottom: 4px; }
.wit-facts { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; font-size: .86rem; }
.wit-facts dt { color: var(--muted); }
.wit-facts dd { margin: 0; font-weight: 600; }
.wit-mine { display: grid; gap: 14px; }
.wit-item { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.wit-item h3 { margin: 0 0 4px; }
.wit-item form { margin-top: 6px; }
@media (max-width: 600px) { .wit-grid { grid-template-columns: 1fr; } }

/* ---------- Social Service: posts by pastors (public page + member portal) ---------- */
.center-tabs { justify-content: center; margin-bottom: 26px; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.sp-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.sp-card:hover { transform: translateY(-4px); }
/* 1–4 images as a collage */
.sp-imgs, .mp-imgs { display: grid; gap: 3px; aspect-ratio: 4 / 3; background: #eee; }
.sp-imgs a, .sp-imgs img, .mp-imgs img { display: block; width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.sp-imgs a { overflow: hidden; cursor: zoom-in; }
.sp-imgs a img { transition: transform .4s; }
.sp-imgs a:hover img { transform: scale(1.06); }
.n1 { grid-template-columns: 1fr; }
.n2 { grid-template-columns: 1fr 1fr; }
.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.n3 > :first-child { grid-row: 1 / 3; }
.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.sp-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sp-body h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.sp-date { margin: 0; font-size: 13.5px; color: var(--muted); }
.sp-by { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; }
.sp-church { font-weight: 600; color: var(--primary); width: 100%; }
.sp-pastor { color: #444; }

/* member portal: my posts */
.empty-box { text-align: center; padding: 30px 10px; border: 2px dashed var(--line); border-radius: 14px; }
.empty-box > span { font-size: 40px; }
.empty-box p { color: var(--muted); }
.my-posts { display: grid; gap: 14px; }
.my-post { display: grid; grid-template-columns: 200px 1fr; gap: 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.my-post .mp-imgs { aspect-ratio: auto; height: 100%; min-height: 140px; }
.mp-body { padding: 14px 16px 14px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.mp-body h3 { margin: 0; font-size: 17px; }
.mp-body p { margin: 0; }
.mp-body form { margin-top: auto; }
/* add form: 4 picture boxes */
.img4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 8px 0 16px; }
.app-form .img4 label.af-drop { width: 100%; height: auto; aspect-ratio: 1; }
@media (max-width: 700px) {
  .my-post { grid-template-columns: 1fr; }
  .mp-body { padding: 0 14px 14px; }
  .my-post .mp-imgs { aspect-ratio: 4 / 3; }
  .img4 { grid-template-columns: 1fr 1fr; }
}
.sp-imgs, .mp-imgs { grid-auto-rows: 1fr; overflow: hidden; }
.my-post .mp-imgs { height: 160px; min-height: 0; }
.pd-head .btn { white-space: nowrap; flex: none; }

/* "Pastors added" count: dashboard + public profile */
.pd-added { margin-left: auto; align-self: center; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 16px; text-decoration: none !important; color: var(--ink);
  background: linear-gradient(135deg, #fff8e1, #fdecc8); border: 1px solid #f3d27a; box-shadow: 0 6px 16px rgba(212,160,23,.18); flex: none; }
.pd-added b { font-family: var(--heading); font-weight: 800; font-size: 40px; line-height: 1; color: #9a6700; }
.pd-added span { font-weight: 700; font-size: 15px; line-height: 1.2; color: #6b4a00; }
.pd-added small { font-weight: 500; color: #8a6d2a; }
.added-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 8px 16px 8px 10px; border-radius: 99px; background: #fff4d6; border: 1px solid #f3d27a; }
.added-badge b { min-width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #d4a017; color: #fff; font-size: 16px; padding: 0 6px; }
.added-badge span { font-weight: 600; color: #6b4a00; font-size: 14.5px; }
@media (max-width: 900px) { .pd-added { margin: 6px auto 0; } }

/* ---------- Two logos: flip between them every 5 seconds ---------- */
.logo-flip { --lh: 54px; display: inline-block; width: var(--lh); height: var(--lh); perspective: 600px; flex: none; }
.logo-flip-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; animation: logo-flip 10s ease-in-out infinite; }
.logo-flip .logo-face { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.logo-flip .logo-face.back { transform: rotateY(180deg); }
/* 0–4.5 s first logo · flip · 5–9.5 s second logo · flip back */
@keyframes logo-flip {
  0%, 45% { transform: rotateY(0deg); }
  50%, 95% { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}
.brand-stack .logo-flip { --lh: 48px; }
@media (max-width: 900px) { .logo-flip { --lh: 44px; } }
/* people who prefer less motion: a gentle cross-fade instead of a flip */
@media (prefers-reduced-motion: reduce) {
  .logo-flip-in { animation: none; }
  .logo-flip .logo-face.back { transform: none; animation: logo-fade 10s step-end infinite; }
  @keyframes logo-fade { 0% { opacity: 0; } 50% { opacity: 1; } }
}

/* ---------- Bigger header logo ---------- */
.header-in { min-height: 100px; }
.brand-logo { height: 80px; max-width: 230px; }
.brand-stack .brand-logo { height: 72px; }
.logo-flip, .brand-stack .logo-flip { --lh: 80px; }
.brand-stack .logo-flip { --lh: 72px; }
.brand { gap: 16px; }
@media (max-width: 900px) { .logo-flip { --lh: 72px; } .brand-logo { height: 72px; } }
@media (max-width: 760px) { .header-in { min-height: 78px; } .brand-logo, .brand-stack .brand-logo { height: 58px; } .logo-flip, .brand-stack .logo-flip { --lh: 58px; } .brand { gap: 10px; } }
.brand-mark { width: 64px; height: 64px; font-size: 32px; border-radius: 16px; }
@media (max-width: 760px) { .brand-mark { width: 50px; height: 50px; font-size: 26px; } }

/* Home: certificate logos (Media → Certificates), above the numbers */
.certs { padding: 56px 0 60px; }
.certs .sec-head { margin-bottom: 28px; }
.cert-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.cert { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); text-decoration: none !important; transition: transform .2s, box-shadow .2s, border-color .2s; }
button.cert { font: inherit; cursor: pointer; width: 100%; }
a.cert:hover, button.cert:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 14px 30px rgba(20, 16, 50, .12); }
.cert-logo { width: 112px; height: 112px; display: block; flex: none; margin-bottom: 8px; }
.cert-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cert strong { font-size: 1rem; line-height: 1.35; color: var(--primary); }
.cert-no { font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 600px) { .cert-row { grid-template-columns: repeat(2, 1fr); gap: 12px; } .cert { padding: 18px 10px 16px; } .cert-logo { width: 84px; height: 84px; } .cert strong { font-size: .9rem; } }

/* ---------- Banner slide: Ministerial Progression & Ordination Hierarchy (animated) ---------- */
.hz { --gold: #e8b931; --gold-2: #f7dc7b; --gold-3: #b8860b;
  background: radial-gradient(900px 420px at 50% -8%, rgba(232,185,49,.22), transparent 62%),
              radial-gradient(700px 380px at 100% 110%, rgba(var(--hz-glow, 130,95,230), .32), transparent 60%),
              linear-gradient(160deg, var(--hz-1, #1d1758) 0%, var(--hz-2, #141238) 55%, var(--hz-3, #0b0a26) 100%);
  flex-direction: column; justify-content: center; color: #eef0ff; overflow: hidden; }
.hz-rays { position: absolute; left: 50%; top: -60%; width: 160vmax; height: 160vmax; transform: translateX(-50%); opacity: .12; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(247,220,123,.55) 0deg 3deg, transparent 3deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 0 18%, transparent 55%); mask: radial-gradient(circle, #000 0 18%, transparent 55%); }
.slide.on .hz-rays { animation: hz-spin 60s linear infinite; }
@keyframes hz-spin { to { transform: translateX(-50%) rotate(360deg); } }
.hz-sparks i { position: absolute; bottom: -10px; left: calc(var(--k) * 7.3% + 2%); width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-2); box-shadow: 0 0 8px var(--gold); opacity: 0; }
.slide.on .hz-sparks i { animation: hz-float calc(7s + var(--k) * .45s) linear calc(var(--k) * -.9s) infinite; }
@keyframes hz-float { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .8; } 100% { transform: translateY(-110vh); opacity: 0; } }

.hz-inner { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2.2vh; padding-bottom: 34px; }
.hz-head { max-width: 900px; }
.hz-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.hz-head h2 { margin: 0; font-size: clamp(1.45rem, 3.4vw, 2.6rem); line-height: 1.15; color: #fff;
  background: linear-gradient(180deg, #fff 35%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hz-sub { margin: 8px 0 0; color: #cdd0ee; font-size: clamp(.9rem, 1.6vw, 1.08rem); }

.hz-track { position: relative; width: 100%; max-width: 1080px; }
.hz-line { position: absolute; left: calc(50% / var(--n)); right: calc(50% / var(--n)); top: 44px; height: 4px; border-radius: 4px; background: rgba(232,185,49,.2); }
.hz-line span { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold)); box-shadow: 0 0 12px rgba(247,220,123,.8); }
.slide.on .hz-line span { animation: hz-fill var(--cycle) linear var(--start) infinite; }
@keyframes hz-fill { from { width: 0; } to { width: 100%; } }
.hz-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.hz-step { display: flex; flex-direction: column; align-items: center; gap: 16px; position: relative; }
.hz-medal { position: relative; width: 92px; height: 92px; border-radius: 50%; padding: 4px; flex: none;
  background: conic-gradient(from 210deg, var(--gold-3), var(--gold-2), var(--gold), #fff3c4, var(--gold-3), var(--gold-2), var(--gold-3));
  box-shadow: 0 0 0 3px rgba(232,185,49,.14), 0 10px 24px rgba(0,0,0,.45), 0 0 22px rgba(232,185,49,.22); opacity: 0; }
.slide.on .hz-medal { animation: hz-pop .6s cubic-bezier(.3,1.6,.5,1) calc(.35s + var(--i) * .16s) both, hz-lit var(--cycle) ease-in-out calc(var(--start) + var(--i) * var(--step)) infinite; }
@keyframes hz-pop { from { opacity: 0; transform: scale(.3) rotate(-30deg); } to { opacity: 1; transform: none; } }
.hz-disc { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; color: #1d1a5a;
  background: radial-gradient(circle at 35% 30%, #fff, #fbf3dc 60%, #f1dfa6); box-shadow: inset 0 2px 8px rgba(0,0,0,.18); }
.hz-disc svg { width: 44px; height: 44px; }
.hz-no { position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); white-space: nowrap; padding: 3px 11px; border-radius: 99px;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #2a1f00; background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 3px 8px rgba(0,0,0,.35); }
.hz-name { font-family: var(--heading); font-weight: 700; font-size: clamp(.82rem, 1.35vw, 1.05rem); line-height: 1.2; color: var(--gold-2); padding: 0 4px; opacity: 0; }
.slide.on .hz-name { animation: hz-rise .6s ease calc(.55s + var(--i) * .16s) both, hz-nm var(--cycle) ease-in-out calc(var(--start) + var(--i) * var(--step)) infinite; }
@keyframes hz-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hz-caps { position: relative; width: 100%; max-width: 820px; min-height: 4.6em; }
.hz-cap { position: absolute; inset: 0; margin: 0; opacity: 0; display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(232,185,49,.35); }
.hz-cap b { color: var(--gold-2); font-size: .95rem; letter-spacing: .02em; }
.hz-cap span { color: #e3e5fb; font-size: clamp(.86rem, 1.4vw, 1rem); line-height: 1.45; }
.slide.on .hz-cap { animation: hz-cap var(--cycle) ease calc(var(--start) + var(--i) * var(--step)) infinite both; }
.slide.on .hz-head > * { animation: rise .9s ease both; }
.slide.on .hz-head > *:nth-child(2) { animation-delay: .1s; }
.slide.on .hz-head > *:nth-child(3) { animation-delay: .2s; }

.hz-ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; overflow: hidden; padding: 9px 0; background: linear-gradient(90deg, var(--hz-t1, #7a1515), var(--hz-t2, #a62626) 50%, var(--hz-t1, #7a1515));
  border-top: 1px solid var(--gold); box-shadow: 0 -6px 20px rgba(0,0,0,.3); }
.hz-tick-run { display: flex; width: max-content; gap: 34px; padding-left: 34px; }
.slide.on .hz-tick-run { animation: hz-tick 40s linear infinite; }
.hz-tick-run span { white-space: nowrap; color: #fff3c4; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; }
@keyframes hz-tick { to { transform: translateX(-50%); } }
.hero:has(.hz.on) .dots { bottom: 48px; }

@media (max-width: 760px) {
  .hz-inner { gap: 14px; padding-bottom: 40px; }
  .hz-eyebrow { font-size: 10px; letter-spacing: .14em; }
  .hz-line { top: 25px; height: 3px; }
  .hz-medal { width: 54px; height: 54px; padding: 3px; }
  .hz-disc svg { width: 26px; height: 26px; }
  .hz-no { font-size: 8.5px; padding: 2px 6px; bottom: -9px; letter-spacing: .04em; }
  .hz-step { gap: 13px; }
  .hz-name { font-size: .68rem; }
  .hz-caps { min-height: 6.4em; }
  .hz-cap { padding: 8px 12px; }
  .hz-cap b { font-size: .82rem; }
  .hz-cap span { font-size: .8rem; }
  .hz-tick-run span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide.on .hz-medal, .slide.on .hz-name { animation: none; opacity: 1; }
  .slide.on .hz-rays, .slide.on .hz-sparks i, .slide.on .hz-tick-run, .slide.on .hz-line span { animation: none; }
  .slide.on .hz-cap { animation: none; }
  .slide.on .hz-cap:first-child { opacity: 1; }
}

/* ---------- Animated banner slides (Membership protection, benefits, theology, structure, district team) ---------- */
.hero:has(.hz) { height: clamp(560px, 82vh, 700px); }
.ab .hz-inner { gap: 1.8vh; }
.ab .hz-head h2 { font-size: clamp(1.3rem, 3vw, 2.3rem); }
.ab .hz-sub { max-width: 820px; margin-left: auto; margin-right: auto; }
/* pieces that pop in once (--i = order) */
.ab-pop, .ab-cyc, .ab-doc { opacity: 0; }
.slide.on .ab-pop { animation: hz-pop .6s cubic-bezier(.3,1.5,.5,1) calc(.4s + var(--i) * .14s) both; }
.slide.on .ab-doc { animation: ab-deal .7s cubic-bezier(.2,.9,.3,1.2) calc(.6s + var(--i) * .22s) both; }
@keyframes ab-deal { from { opacity: 0; transform: translateY(40px) rotate(-8deg) scale(.8); } to { opacity: 1; transform: none; } }
/* pieces that pop in, then light up in turn (timing from slides/_cycle.ejs) */
.slide.on .ab-cyc { animation: hz-pop .6s cubic-bezier(.3,1.5,.5,1) calc(.35s + var(--i) * .13s) both, var(--lit) var(--cycle) ease-in-out calc(var(--start) + var(--i) * var(--step)) infinite; }
.slide.on .ab-cap { animation: var(--cap) var(--cycle) ease calc(var(--start) + var(--i) * var(--step)) infinite both; }

.ab-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.04)); border: 1px solid rgba(232,185,49,.35); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.ab-card b { display: block; color: #fff6d6; font-size: .98rem; line-height: 1.25; }
.ab-card small { display: block; color: #c9cbe8; font-size: .8rem; margin-top: 2px; }
.ab-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #1d1a5a;
  background: radial-gradient(circle at 35% 30%, #fff, #fbf3dc 60%, #f1dfa6); box-shadow: 0 0 0 3px var(--gold), 0 4px 12px rgba(0,0,0,.35); }
.ab-ic svg { width: 26px; height: 26px; }
.ab-ic.sm { width: 38px; height: 38px; box-shadow: 0 0 0 2px var(--gold), 0 3px 8px rgba(0,0,0,.3); }
.ab-ic.sm svg { width: 21px; height: 21px; }
.ab-panel { position: relative; padding: 14px 16px 16px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(232,185,49,.28); }
.ab-ph { margin: 0 0 12px; font-family: var(--heading); font-size: 1.08rem; color: var(--gold-2); text-align: left; }
.ab-ph small { font-family: 'Inter', sans-serif; font-weight: 600; font-size: .75rem; color: #c9cbe8; margin-left: 6px; text-transform: uppercase; letter-spacing: .08em; }
.ab-mini { margin: 10px 0 0; font-size: .82rem; font-style: italic; color: var(--gold-2); text-align: left; }

/* 1. protection */
.ab-row { display: flex; align-items: center; gap: 28px; width: 100%; max-width: 1080px; }
.ab-grid { flex: 1; display: grid; gap: 14px; }
.ab-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ab-seal { flex: none; position: relative; width: 170px; height: 170px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px;
  background: radial-gradient(circle at 35% 30%, #c33232, #6a1010); color: #fff3c4; box-shadow: 0 0 0 6px var(--gold), 0 0 0 11px rgba(232,185,49,.25), 0 16px 34px rgba(0,0,0,.5); }
.ab-seal strong { font-family: var(--heading); font-size: 1rem; line-height: 1.15; }
.ab-seal em { font-style: normal; color: var(--gold-2); font-size: .8rem; letter-spacing: .2em; }
.ab-seal-crown { width: 34px; height: 34px; color: var(--gold-2); }
.ab-seal-ring { position: absolute; inset: -18px; border-radius: 50%; border: 2px dashed rgba(247,220,123,.6); }
.slide.on .ab-seal { animation: hz-pop .8s cubic-bezier(.3,1.5,.5,1) 1s both, ab-bob 4s ease-in-out 2s infinite; }
.slide.on .ab-seal-ring { animation: hz-spin 18s linear infinite; }
@keyframes ab-bob { 50% { transform: translateY(-6px) rotate(3deg); } }
.ab-caps { min-height: 4.4em; }

/* 2. membership */
.ab-memb-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; width: 100%; max-width: 1100px; }
.ab-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ab-stepcard { padding: 9px 12px; }
.ab-num { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #fff; background: linear-gradient(135deg, #c33232, #7a1515); box-shadow: 0 0 0 2px var(--gold); }
.ab-docs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ab-doc { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 10px 8px 12px; border-radius: 12px; color: var(--ink);
  background: linear-gradient(180deg, #fffaf0, #f6e7bd); border: 2px solid var(--gold); box-shadow: 0 10px 22px rgba(0,0,0,.35); }
.ab-doc.old { background: linear-gradient(180deg, #fff6f0, #f3d9c4); border-color: #c9862c; }
.ab-tag { font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; padding: 2px 7px; border-radius: 99px; background: #1d1a5a; }
.ab-doc.old .ab-tag { background: #7a1515; }
.ab-doc-ic { color: #1d1a5a; } .ab-doc-ic svg { width: 34px; height: 34px; }
.ab-doc b { font-size: .8rem; line-height: 1.2; color: #2a1f00; }
.ab-doc small { font-size: .7rem; color: #6b5a2a; line-height: 1.2; }
.ab-cta { margin-top: 14px; }
.slide.on .ab-cta { animation: rise .8s ease 2s both; }

/* 3. theology */
.ab-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.ab-stat { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 99px; text-align: left; color: inherit; text-decoration: none !important;
  background: rgba(255,255,255,.08); border: 1px solid rgba(232,185,49,.45); }
.ab-stat b { display: block; color: #fff; font-size: 1.05rem; } .ab-stat b i { font-style: normal; color: var(--gold-2); }
.ab-stat small { color: #c9cbe8; font-size: .75rem; }
a.ab-stat:hover { border-color: var(--gold); background: rgba(255,255,255,.14); }
.slide.on .ab-stat { animation: rise .7s ease both; } .slide.on .ab-stat:nth-child(2) { animation-delay: .15s; } .slide.on .ab-stat:nth-child(3) { animation-delay: .3s; }
.ab-stair-wrap { width: 100%; max-width: 1100px; }
.ab-stair { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 8px; align-items: end; }
.ab-lvl { flex-direction: column; text-align: center; gap: 6px; padding: 10px 6px; margin-bottom: calc(var(--i) * 9px); }
.ab-lvl b { font-size: .8rem; } .ab-lvl small { color: var(--gold-2); font-weight: 700; }
.ab-note { margin: 0; max-width: 980px; font-size: .74rem; line-height: 1.45; color: #d9dbf3; padding: 7px 14px; border-radius: 10px; background: rgba(0,0,0,.25); border: 1px solid rgba(232,185,49,.3); }

/* 4. structure */
.ab-strc-row { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 22px; align-items: center; width: 100%; max-width: 1120px; }
.ab-side { padding: 16px; border-radius: 18px; text-align: center; color: var(--ink); background: linear-gradient(180deg, #fffaf0, #f6e7bd); border: 2px solid var(--gold); box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.ab-side .ab-ic { margin: 0 auto 8px; }
.ab-side h3 { margin: 0; font-family: var(--heading); color: #1d1a5a; font-size: 1.05rem; }
.ab-big { display: inline-block; margin: 6px 0; padding: 3px 14px; border-radius: 99px; color: #2a1f00; background: linear-gradient(180deg, var(--gold-2), var(--gold)); font-size: .95rem; }
.ab-side p { margin: 0; font-size: .8rem; line-height: 1.45; color: #3d3550; }
.ab-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; position: relative; }
.ab-rung { padding: 7px 12px; margin: 0 calc((5 - var(--i)) * 7px); }
.ab-rung b { font-size: .92rem; } .ab-rung small { font-size: .74rem; }
.ab-rung .ab-ic.sm { width: 32px; height: 32px; } .ab-rung .ab-ic.sm svg { width: 18px; height: 18px; }
.slide.on .ab-rung { animation: ab-build .55s cubic-bezier(.2,.9,.3,1.2) calc(.3s + var(--i) * .17s) both, var(--lit) var(--cycle) ease-in-out calc(var(--start) + var(--i) * var(--step)) infinite; }
@keyframes ab-build { from { opacity: 0; transform: translateY(26px) scaleX(.7); } to { opacity: 1; transform: none; } }

/* 5. district team */
.ab-dist-row { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 20px; align-items: stretch; width: 100%; max-width: 1120px; }
.ab-team { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ab-role { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 10px; text-align: left; font-weight: 600; font-size: .86rem; color: #fff;
  background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 55%, var(--hz-2, #141238))); border: 1px solid rgba(255,255,255,.18); }
.ab-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.92); color: var(--c); flex: none; }
.ab-dot svg { width: 17px; height: 17px; }
.ab-center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.ab-count { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 16px; border-radius: 16px; text-align: left; background: rgba(255,255,255,.08); border: 1px solid rgba(232,185,49,.45); }
.ab-count.gold { background: linear-gradient(135deg, rgba(232,185,49,.28), rgba(232,185,49,.08)); }
.ab-count b { display: block; font-size: 1.55rem; line-height: 1.1; color: #fff; } .ab-count b i { font-style: normal; }
.ab-count small { display: block; color: #c9cbe8; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.ab-arrow { color: var(--gold); font-size: 1.4rem; transform: rotate(90deg); }
.slide.on .ab-arrow { animation: ab-nudge 1.4s ease-in-out infinite; }
@keyframes ab-nudge { 50% { transform: rotate(90deg) translateX(6px); } }
.ab-mission { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; text-align: left; color: var(--ink); background: linear-gradient(180deg, #fffaf0, #f6e7bd); border: 2px solid var(--gold); }
.ab-mission p { margin: 0; font-size: .85rem; line-height: 1.4; }
.ab-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; text-align: left; }
.ab-checks li { display: flex; gap: 9px; align-items: center; font-size: .9rem; color: #eef0ff; }
.ab-checks svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

@media (max-width: 980px) {
  .ab-seal, .ab-side, .ab-strc-row > .ab-side { display: none; }
  .ab-strc-row { grid-template-columns: 1fr; max-width: 560px; }
  .ab-dist-row { grid-template-columns: 1fr 1fr; } .ab-dist-row > .ab-panel:last-child { display: none; }
  .ab-memb-row { grid-template-columns: 1fr; } .ab-memb-row .ab-panel:first-child { display: none; }
}
@media (max-width: 760px) {
  .hero:has(.hz) { height: clamp(560px, 86vh, 660px); }
  .ab .hz-inner { gap: 10px; }
  .ab .hz-sub { font-size: .82rem; }
  .ab-card { padding: 8px; gap: 8px; } .ab-card b { font-size: .74rem; }
  .ab-grid.g3 { gap: 8px; } .ab-grid .ab-card { flex-direction: column; text-align: center; }
  .ab-ic { width: 36px; height: 36px; } .ab-ic svg { width: 20px; height: 20px; }
  .ab-caps { min-height: 6.8em; }
  .ab-docs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ab-doc small { display: none; } .ab-doc b { font-size: .7rem; }
  .ab-stats { gap: 8px; } .ab-stat { padding: 5px 12px 5px 6px; } .ab-stat small { display: none; } .ab-stat b { font-size: .85rem; }
  .ab-stair { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; } .ab-lvl { margin-bottom: 0; padding: 7px 4px; } .ab-lvl b { font-size: .66rem; }
  .ab-lvl .ab-ic.sm { width: 28px; height: 28px; } .ab-lvl .ab-ic.sm svg { width: 16px; height: 16px; }
  .ab-note { font-size: .64rem; padding: 5px 9px; }
  .ab-rung { margin: 0; } .ab-rung small { display: none; }
  .ab-dist-row { grid-template-columns: 1fr; } .ab-dist-row > .ab-panel:first-child { display: none; }
  .ab-count b { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .slide.on .ab-pop, .slide.on .ab-cyc, .slide.on .ab-doc, .slide.on .ab-rung, .slide.on .ab-seal, .slide.on .ab-stat, .slide.on .ab-cta { animation: none; opacity: 1; }
  .slide.on .ab-cap { animation: none; } .slide.on .ab-cap:first-child { opacity: 1; }
  .slide.on .ab-seal-ring, .slide.on .ab-arrow { animation: none; }
}

/* tighter spacing on the tallest animated slides so nothing runs into the ticker */
.ab-strc .hz-head, .ab-dist .hz-head, .ab-theo .hz-head { margin-top: -6px; }
.ab-strc .hz-sub, .ab-dist .hz-sub { margin-top: 4px; }
.ab-dist .ab-role { padding-top: 4px; padding-bottom: 4px; }
.ab-dist .ab-team { gap: 5px; }
.ab-dist .ab-panel { padding: 10px 14px 12px; }
.ab-dist .ab-ph { margin-bottom: 8px; }
.ab-ladder { gap: 5px; }
.ab-rung { padding: 5px 12px; }
@media (max-width: 760px) { .ab-theo .hz-eyebrow { display: none; } .ab-stair { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ab-theo .ab-ph { margin-bottom: 6px; font-size: .9rem; } .ab-theo .ab-panel { padding: 8px 10px 10px; } }

/* ---------- Maintenance mode ---------- */
.mt-preview { position: sticky; top: 0; z-index: 100; padding: 8px 16px; text-align: center; font-size: 14px; color: #5a3d00; background: #ffe9a8; border-bottom: 1px solid #e8b931; }
body.mt-page { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; overflow-x: hidden; color: #eef0ff;
  background: radial-gradient(900px 420px at 50% -10%, rgba(232,185,49,.22), transparent 62%), linear-gradient(160deg, #1d1758 0%, #141238 55%, #0b0a26 100%); }
.mt-rays { position: fixed; left: 50%; top: -40vh; width: 160vmax; height: 160vmax; transform: translateX(-50%); opacity: .1; pointer-events: none;
  background: repeating-conic-gradient(rgba(247,220,123,.6) 0deg 3deg, transparent 3deg 15deg); -webkit-mask: radial-gradient(circle, #000 0 15%, transparent 50%); mask: radial-gradient(circle, #000 0 15%, transparent 50%);
  animation: hz-spin 80s linear infinite; }
.mt-box { position: relative; max-width: 620px; text-align: center; padding: 34px 28px 30px; border-radius: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(232,185,49,.4); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.mt-logo { width: 112px; height: 112px; margin: -90px auto 14px; border-radius: 50%; display: grid; place-items: center; background: #fff; padding: 6px; box-shadow: 0 0 0 4px #e8b931, 0 12px 30px rgba(0,0,0,.45); }
.mt-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.mt-logo span { font-size: 54px; color: #3b2a7a; }
.mt-eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #e8b931; }
.mt-box h1 { margin: 0; color: #fff; font-size: clamp(1.4rem, 4vw, 2rem); }
.mt-box h2 { margin: 6px 0 10px; color: #f7dc7b; font-size: clamp(1.5rem, 4.5vw, 2.2rem); }
.mt-gears { position: relative; width: 120px; height: 84px; margin: 16px auto 4px; color: #e8b931; }
.mt-gears svg { position: absolute; }
.mt-gears .g1 { width: 70px; height: 70px; left: 6px; top: 0; animation: hz-spin 6s linear infinite; }
.mt-gears .g2 { width: 46px; height: 46px; right: 10px; bottom: 0; color: #f7dc7b; animation: hz-spin 4s linear infinite reverse; }
.mt-msg { margin: 0 auto; max-width: 480px; color: #d9dbf3; line-height: 1.65; }
.mt-until { margin: 14px 0 0; display: inline-block; padding: 6px 16px; border-radius: 99px; background: rgba(232,185,49,.15); border: 1px solid rgba(232,185,49,.5); color: #fff3c4; }
.mt-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.mt-contact a { padding: 8px 16px; border-radius: 99px; background: #fff; color: #1d1a5a; font-weight: 600; font-size: 14px; text-decoration: none; }
.mt-contact a:hover { background: #f7dc7b; }
.mt-verse { margin: 22px 0 0; font-style: italic; font-size: 14px; color: #b9bce0; }
@media (prefers-reduced-motion: reduce) { .mt-rays, .mt-gears svg { animation: none; } }
