/* Christ Healing Centre — site styles (rebuilt from the Framer design: purple gradients, glass buttons, orange Donate) */
:root {
    /* ===== Base colours. Editable in Admin → Colours (saved values are written over these). Every shade below is calculated from them. ===== */
    /* Brand */
    --c-brand: #8023f1;
    --c-brand-light: #9e6eff;
    --c-brand-deep: #4f12a6;
    --c-brand-tint: #f6f0ff;
    --c-brand-tint-border: #e1ccfc;
    --c-brand-dark: #6611cf;
    --c-nav: #864aff;
    --c-video-card: #dad1ff;
    --c-service-label: #dad1ff;
    --c-testimony: #9d4dff;
    /* Call to action */
    --c-accent: #ff9900;
    --c-highlight: #ffda8f;
    --c-highlight-text: #000000;
    --c-link-on-dark: #ffda8f;
    /* Text */
    --c-text: #000000;
    --c-text-muted: #5d5470;
    --c-text-strong: #000000;
    --c-text-on-dark: #ffffff;
    /* Backgrounds */
    --c-surface: #ffffff;
    --c-surface-dark: #1a1a1a;
    --c-surface-grey: #4d4d4d;
    --c-field: #f5f5f5;
    --c-button-dark: #222222;
    --c-faq-item: #e6e6e6;
    --c-faq-border: #d7d7da;
    --c-card-grey: #f2f2f3;
    --c-card-grey-border: #d7d7da;
    /* Footer */
    --c-footer: #8023f1;
    /* Donate page */
    --c-donate-blue: #4f84ff;
    --c-donate-tint: #ccdbff;
    --c-membership: #ff6e75;
    --c-membership-end: #cf046d;
    --c-ribbon: #ff2929;
    /* Messages */
    --c-success: #135c2c;
    --c-error: #8a1c1c;

    /* ===== Shades used by the styles below (calculated, do not edit) ===== */
    --purple: var(--c-brand);
    --purple-600: color-mix(in srgb, var(--c-brand), black 15%);
    --purple-700: var(--c-brand-deep);
    --purple-800: color-mix(in srgb, var(--c-brand-deep), black 25%);
    --purple-300: color-mix(in srgb, var(--c-brand-light), white 25%);
    --purple-200: color-mix(in srgb, var(--c-brand), white 70%);
    --purple-50: var(--c-brand-tint);
    --lavender: color-mix(in srgb, var(--c-brand-light), white 15%);
    --orange: var(--c-accent);
    --orange-600: color-mix(in srgb, var(--c-accent), black 12%);
    --yellow: var(--c-highlight);
    --ink: var(--c-text);
    --muted: var(--c-text-muted);
    --dark: var(--c-surface-dark);
    --dark-2: color-mix(in srgb, var(--c-surface-dark), white 11%);
    --white: var(--c-surface);
    --radius: 22px;
    --radius-sm: 12px;
    --shadow: 0 18px 40px -18px color-mix(in srgb, var(--c-brand-deep) 55%, transparent);
    --wrap: 1180px;
    --header-h: 64px;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--banner-h, 0px) + 12px); }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--c-surface);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-600); }
a:hover { color: var(--purple-800); }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-align: justify; }
/* Paragraphs inside centred blocks stay centred; every other paragraph is justified (straight edges on both sides). */
:is(.center, .callout, .air-box, .hero-inner, .share-panel, .faq-intro, .page-hero, .services-empty, .contact-band,
    .qr-card, .video-card, [style*="text-align:center"], [style*="text-align: center"]) p { text-align: center; }
/* No italics anywhere on the website (quotes, scripture, FAQ answers written with *stars*). */
*, *::before, *::after { font-style: normal !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.stack > * + * { margin-top: 28px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--c-surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.hp { position: absolute !important; left: -5000px !important; height: 0; overflow: hidden; }

/* ---------- header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--c-brand-light);
}
/* notice strip above the menu (Admin → Admin → Banner); site.js puts its height in --banner-h for the mobile menu */
.site-banner { background: var(--c-highlight); color: var(--c-highlight-text); }
.site-banner p { margin: 0 auto; padding: 7px 16px; max-width: 1366px; text-align: center; font-size: 14px; font-weight: 600; line-height: 1.4; }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 14px; width: min(1366px, 100% - 32px); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--c-text-on-dark); text-decoration: none; margin-right: auto; }
.brand img { width: 34px; height: auto; }
.brand-name { font-weight: 700; font-size: 15px; white-space: nowrap; }
.main-nav > ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; align-items: center; }
.main-nav li { position: relative; }
.nav-pill {
    display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13.5px; font-weight: 600;
    color: var(--c-text-on-dark); text-decoration: none; padding: 6px 11px; border-radius: 9px; cursor: pointer;
    background: var(--c-nav); border: 0;
    transition: background .15s;
}
.nav-pill:hover, .nav-pill.active, .has-menu.open > .nav-pill { background: color-mix(in srgb, var(--c-nav), white 18%); color: var(--c-text-on-dark); }
.chev { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.has-menu.open .chev { transform: rotate(-135deg) translate(-1px, -1px); }
.submenu {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px;
    background: var(--c-brand-light); border: 0; border-radius: 12px; box-shadow: var(--shadow);
    display: none;
}
.has-menu.open > .submenu { display: block; }
@media (hover: hover) and (min-width: 1101px) {
    .has-menu:hover > .submenu, .has-menu:focus-within > .submenu { display: block; }
    .has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; } /* hover bridge */
}
.submenu a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--c-text-on-dark); text-decoration: none; font-size: 14px; font-weight: 500; background: var(--c-nav); margin: 4px 0; }
.submenu a:hover { background: color-mix(in srgb, var(--c-nav), white 18%); }
.btn-donate {
    flex: none; background: var(--c-accent); color: var(--c-text-on-dark); font-weight: 700; font-size: 14px;
    text-decoration: none; padding: 8px 18px; border-radius: 999px; 
}
.btn-donate:hover { color: var(--c-text-on-dark); background: color-mix(in srgb, var(--c-accent), white 12%); }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; height: 3px; background: var(--c-surface); border-radius: 3px; margin: 6px 0; transition: transform .2s; }
.menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1260px) { .brand-name { display: none; } }
@media (max-width: 1100px) {
    .menu-toggle { display: block; }
    .main-nav {
        position: fixed; inset: calc(var(--header-h) + var(--banner-h, 0px)) 0 auto 0; max-height: calc(100vh - var(--header-h) - var(--banner-h, 0px)); overflow: auto;
        background: var(--c-brand-light); padding: 12px 16px 20px; display: none; box-shadow: var(--shadow);
    }
    .menu-open .main-nav { display: block; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 8px; }
    .nav-pill { width: 100%; justify-content: flex-start; font-size: 16px; padding: 10px 14px; }
    .submenu { position: static; box-shadow: none; margin-top: 6px; background: rgba(255,255,255,.1); }
    .brand-name { display: inline; }
}

/* ---------- buttons ---------- */
.btn-purple, .btn-glass, .btn-dark, .btn-outline-light, .hero-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700;
    border-radius: 10px; padding: 10px 18px; font-size: 15px; cursor: pointer; border: 0; font-family: inherit; line-height: 1.2; text-align: center;
}
.btn-purple { background: var(--c-brand); color: var(--c-text-on-dark); }
.btn-purple:hover { color: var(--c-text-on-dark); background: color-mix(in srgb, var(--c-brand), white 12%); }
.btn-glass { background: rgba(255, 255, 255, .1); color: var(--c-text-on-dark); border: 2px solid rgba(255, 255, 255, .85); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); color: var(--c-text-on-dark); }
.btn-glass.wide { display: flex; width: 100%; margin-top: 14px; }
.btn-dark { background: var(--c-button-dark); color: var(--c-text-on-dark); width: 100%; padding: 12px; }
.btn-dark:hover { background: color-mix(in srgb, var(--c-button-dark), black 45%); color: var(--c-text-on-dark); }
.btn-outline-light { border: 2px solid var(--c-text-on-dark); color: var(--c-text-on-dark); border-radius: 999px; padding: 6px 16px; font-size: 14px; }
.btn-outline-light:hover { background: rgba(255,255,255,.2); color: var(--c-text-on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- panels ---------- */
.panel { border-radius: var(--radius); padding: 32px; }
.panel-purple { background: var(--c-brand); color: var(--c-text-on-dark); }
.panel-light { background: var(--purple-50); border: 6px solid var(--c-brand-tint-border); }
.panel-dark { background: var(--dark); color: var(--c-text-on-dark); }
/* the only two gradients on the live site */
.panel-purple.books { background: linear-gradient(180deg, var(--c-brand-light), color-mix(in srgb, var(--c-brand-deep), black 22%)); }
.panel-grey { background: var(--c-card-grey); border: 6px solid var(--c-card-grey-border); }
.panel-video { background: var(--c-video-card); color: var(--c-text); }
.panel-video .panel-title, .panel-video h2, .panel-video .captioned figcaption { color: var(--c-brand); }
.panel-video a { color: var(--c-brand); }
.panel-title { text-align: center; font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin-bottom: 24px; }
.panel-heading { display: flex; align-items: center; gap: 12px; font-size: 24px; }
.section-title { text-align: center; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--ink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } .panel { padding: 22px; } }
.ticks { padding-left: 1.1em; margin: 0; }
.ticks li { margin: 4px 0; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--c-surface-dark); color: var(--c-text-on-dark); padding: 40px 0 40px; min-height: 560px; }
.hero-video { position: absolute; inset: -2px; pointer-events: none; overflow: hidden; filter: brightness(.5) blur(2px); container-type: size; }
/* cover the hero area exactly (16:9 video scaled to fill it, edges cropped) */
.hero-video iframe { position: absolute; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); border: 0; }
.hero-inner { position: relative; }
.hero-title { margin: 0 0 14px; text-align: center; font-size: clamp(38px, 6.5vw, 96px); font-weight: 900; line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; color: var(--c-text-on-dark); }
.hero-quote { margin: 0 auto 32px; max-width: 1120px; text-align: center; font-size: clamp(15px, 1.35vw, 18px); font-weight: 400; font-style: normal; }
/* home page: the hero fills the first screen (behind the see-through menu) with the countdown bar at the bottom, as on the live site */
@media (min-width: 901px) {
    .home .hero { min-height: calc(100vh - 68px - var(--banner-h, 0px)); min-height: calc(100svh - 68px - var(--banner-h, 0px)); margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + 40px); display: flex; flex-direction: column; justify-content: center; }
}
.home .countdown-bar { min-height: 68px; padding-top: 8px; padding-bottom: 8px; }
.home .countdown-bar + .stack { padding-top: 22px; }
.home .site-header { transition: background .25s; }
@media (min-width: 1101px) {
    .home .site-header.over-hero { background: transparent; }
    .home .site-header.over-hero .nav-pill:not(:hover) { background: transparent; }
}
.hero-grid { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.hero-links { display: flex; flex-direction: column; gap: 10px; }
.hero-btn { background: rgba(255, 255, 255, .1); color: var(--c-text-on-dark); border: 2px solid rgba(255, 255, 255, .75); font-size: 14px; padding: 10px 14px; backdrop-filter: blur(6px); }
.hero-btn:hover { background: rgba(255, 255, 255, .25); color: var(--c-text-on-dark); }
.hero-btn.highlight { background: var(--c-highlight); color: var(--c-highlight-text); border-color: var(--c-highlight); box-shadow: 0 6px 0 color-mix(in srgb, var(--c-highlight), black 28%); }
.hero-btn.highlight:hover { color: var(--c-highlight-text); background: color-mix(in srgb, var(--c-highlight), white 15%); }
.services-empty { background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.6); border-radius: var(--radius-sm); padding: 28px; text-align: center; font-weight: 600; }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-links { order: 2; }
    .hero { min-height: 0; }
}

/* ---------- service cards ---------- */
.service-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-row.count-1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.service-row.count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1000px) { .service-row, .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .service-row, .service-row.count-2, .service-list { grid-template-columns: 1fr; } }
.service-card {
    background: var(--c-brand); border: 3px solid color-mix(in srgb, var(--c-brand), white 45%); border-radius: 16px; padding: 8px; color: var(--c-text-on-dark);
    display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow);
}
.service-poster { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: color-mix(in srgb, var(--c-brand), black 70%); }
.service-poster img { width: 100%; height: 100%; object-fit: cover; }
.poster-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--c-brand-dark); font-weight: 800; font-size: 20px; text-align: center; padding: 12px; }
.poster-placeholder img { width: 64px; }
.service-type { background: var(--c-brand-dark); color: var(--c-service-label); border: 0; border-radius: 8px; text-align: center; font-weight: 800; font-size: 20px; padding: 6px; }
.service-when { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.service-when span { background: var(--c-brand-dark); color: var(--c-service-label); border: 0; border-radius: 8px; text-align: center; font-weight: 700; padding: 6px; font-size: 15px; }
.service-btn { display: block; text-align: center; font-weight: 800; color: var(--c-text-on-dark); text-decoration: none; border: 2px solid var(--c-text-on-dark); border-radius: 8px; padding: 7px; font-size: 16px; background: rgba(255,255,255,.08); }
.service-btn:hover { background: rgba(255,255,255,.25); color: var(--c-text-on-dark); }
.service-btn.disabled { opacity: .95; cursor: default; }

/* ---------- countdown ---------- */
.countdown-bar {
    display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 16px; flex-wrap: wrap;
    background: var(--c-brand-light); color: var(--c-text-on-dark); font-size: clamp(20px, 2.6vw, 30px); font-weight: 800;
}
.cd-time { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 520px) { .countdown-bar { gap: 6px; font-size: clamp(13px, 4.1vw, 18px); padding-left: 10px; padding-right: 10px; } }
.cd-arrow { font-weight: 400; }

/* ---------- books ---------- */
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.book { position: relative; display: flex; flex-direction: column; gap: 12px; }
.book img { border-radius: 12px; border: 2px solid rgba(255,255,255,.85); aspect-ratio: 5 / 8; object-fit: cover; width: 100%; }
.ribbon { position: absolute; top: 10px; right: -6px; background: var(--c-ribbon); color: var(--c-text-on-dark); font-weight: 800; font-size: 12px; padding: 3px 12px; transform: rotate(35deg); z-index: 1; box-shadow: 0 2px 6px rgba(0,0,0,.3); }

/* ---------- videos ---------- */
.videos .video-group + .video-group { margin-top: 26px; }
.video-group-title { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.panel-dark .video-group { background: var(--dark-2); border-radius: 16px; padding: 16px; }
.video-grid { display: grid; gap: 16px; }
.video-grid.cols-1 { grid-template-columns: minmax(0, 820px); justify-content: center; }
.video-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .video-grid.cols-3, .video-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .video-grid.cols-2, .video-grid.cols-3, .video-grid.cols-4 { grid-template-columns: 1fr; } }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.yt-play:hover img { transform: scale(1.03); }
.yt-play:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.yt-icon { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; transform: translate(-50%, -50%); background: rgba(20,20,20,.75); border-radius: 12px; transition: background .2s; }
.yt-icon::after { content: ""; position: absolute; left: 26px; top: 13px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--c-text-on-dark); }
.yt-play:hover .yt-icon { background: #ff0000; }
.content .video-group { margin: 22px 0; }

/* ---------- impact ---------- */
.impact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.impact-grid h3 { color: var(--c-text); font-size: 19px; }
.impact-grid .panel { background: var(--c-card-grey); border-color: var(--c-card-grey-border); }
.impact-grid p { font-size: 15px; }
@media (max-width: 960px) { .impact-grid { grid-template-columns: 1fr; } }

/* ---------- newsletter ---------- */
.newsletter-form { max-width: 420px; margin: 0 auto; display: grid; gap: 12px; }
.newsletter-form label, .contact-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.newsletter-form input, .contact-form input, .contact-form textarea {
    font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.25); color: var(--c-text-on-dark);
}
.newsletter-form input::placeholder, .contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.7); }
.newsletter { margin-bottom: 40px; }

/* ---------- inner pages ---------- */
.page-hero { background: var(--c-brand-light); color: var(--c-brand-tint); text-align: center; padding: 34px 16px; }
.page-hero h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); font-weight: 800; text-transform: none; }
.page-body { padding: 36px 0 56px; }
.content.panel-light { border-radius: var(--radius); }
.content > :last-child { margin-bottom: 0; }
.content h1, .content .h1-style { font-size: clamp(24px, 3vw, 34px); color: var(--c-text); margin-top: 1.2em; }
.content h2 { font-size: clamp(22px, 2.6vw, 28px); color: var(--c-text); margin-top: 1.2em; }
.content h3 { font-size: 21px; color: var(--c-text); margin-top: 1.1em; }
.content h4, .content h5, .content h6 { font-size: 18px; margin-top: 1em; }
.content > h1:first-child, .content > h2:first-child, .content > h3:first-child { margin-top: 0; }
.content img { border-radius: 14px; margin: 18px auto; max-height: 720px; width: auto; }
.content ul, .content ol { padding-left: 1.3em; }
.content blockquote { margin: 1em 0; padding: 12px 18px; border-left: 4px solid var(--purple-300); background: var(--purple-50); border-radius: 0 12px 12px 0; }
.content a.btn-purple, .content a.btn-purple:hover { color: var(--c-text-on-dark); }
.callout { background: var(--c-brand); color: var(--c-text-on-dark); border-radius: var(--radius); padding: 26px 30px; text-align: center; }
.callout h2, .callout h3, .callout h4 { color: var(--c-text-on-dark) !important; }
.callout a { color: var(--c-text-on-dark); }
.notice { border-radius: 10px; padding: 12px 16px; margin-bottom: 14px; font-weight: 600; }
.notice.ok { background: color-mix(in srgb, var(--c-success), white 90%); color: var(--c-success); border: 1px solid color-mix(in srgb, var(--c-success), white 55%); }
.notice.error { background: color-mix(in srgb, var(--c-error), white 90%); color: var(--c-error); border: 1px solid color-mix(in srgb, var(--c-error), white 55%); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--c-faq-item); border: 1px solid var(--c-faq-border); border-radius: 10px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 14px 16px 14px 48px; position: relative; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "+"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 6px; background: var(--c-surface); border: 1px solid var(--c-faq-border); display: grid; place-items: center; font-weight: 700; color: var(--purple-700); line-height: 1; }
.faq-item[open] summary::before { content: "–"; }
.faq-answer { padding: 0 18px 16px 48px; }
.faq-intro { text-align: center; }
.faq-intro h2 { color: var(--c-text-on-dark); font-size: clamp(18px, 2vw, 22px); }
.faq-intro p { font-size: 13px; margin: 6px 0 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--c-footer); color: var(--c-text-on-dark); padding: 44px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; }
.footer-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.footer-card { background: rgba(0,0,0,.2); border: 0; border-radius: 14px; padding: 16px; }
.footer-card h4 { font-size: 17px; }
.footer-card p { margin: 0 0 6px; }
.footer-card a { color: var(--c-text-on-dark); }
.footer-blurb { font-size: 15px; }
.donate-qr { background: rgba(0,0,0,.2); border-radius: 16px; padding: 16px; }
.donate-qr h4 { font-size: 18px; }
.qr-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.qr-card { background: var(--c-donate-blue); border: 0; border-radius: 12px; padding: 8px; text-align: center; }
.qr-card h3 { font-size: 20px; margin: 0 0 6px; }
.qr-card img { background: var(--c-surface); border-radius: 6px; width: 100%; aspect-ratio: 1; object-fit: contain; }
.qr-card a { display: block; margin-top: 8px; color: var(--c-text-on-dark); border: 1px solid var(--c-text-on-dark); border-radius: 6px; padding: 3px; font-size: 13px; font-weight: 600; text-decoration: none; }
.footer-form .contact-form { display: grid; gap: 12px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input, .contact-form textarea { background: rgba(255,255,255,.5); border-color: transparent; color: var(--c-text); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: color-mix(in srgb, var(--c-text) 55%, transparent); }
.footer-bottom { display: flex; justify-content: space-between; padding: 26px 0; font-size: 13px; opacity: .85; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.2); }
.footer-bottom a { color: var(--c-text-on-dark); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer-cards, .form-row.two { grid-template-columns: 1fr; } .qr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- donate ---------- */
.center { text-align: center; }
.panel-title.dark { color: var(--ink); }
.panel-title.left { text-align: left; }
.partner-form { background: var(--c-surface); border: 2px solid var(--c-button-dark); }
.partner-form .thanks { color: var(--c-error); font-size: 14px; margin: 14px 0 0; }
.light-form { display: grid; gap: 12px; }
.light-form label.row { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.light-form .grid-3 label.row { grid-template-columns: auto 1fr; }
.light-form input, .light-form select, .light-form textarea { font: inherit; font-size: 15px; padding: 9px 12px; border: 0; border-radius: 8px; background: var(--c-field); color: var(--ink); width: 100%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .light-form label.row, .light-form .grid-3 label.row { grid-template-columns: 1fr; gap: 4px; } }
.donation-methods { display: grid; grid-template-columns: 1fr 1fr; background: var(--c-donate-tint); border-radius: var(--radius); overflow: hidden; }
.dm-list { background: var(--c-donate-blue); color: var(--c-text-on-dark); padding: 22px 16px; border-radius: var(--radius); }
.dm-list h2 { font-size: 24px; display: flex; gap: 10px; align-items: center; }
.dm-list h2 span { width: 30px; height: 30px; border: 2px solid var(--c-text-on-dark); border-radius: 50%; display: grid; place-items: center; font-size: 16px; }
.dm-list [role=tablist] { display: grid; gap: 8px; }
.dm-list [role=tab] { font: inherit; font-weight: 700; text-align: left; padding: 10px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.08); color: var(--c-text-on-dark); cursor: pointer; }
.dm-list [role=tab][aria-selected=true] { background: var(--c-surface); color: var(--ink); }
.dm-panels { padding: 22px 26px; }
.dm-panels h3 { font-size: 22px; border-bottom: 2px solid var(--c-text-muted); padding-bottom: 10px; margin-bottom: 18px; color: var(--ink); }
.dm-panels .bank { font-size: 17px; }
.dm-panels .small { font-size: 13px; }
.dm-panels .qr { width: 130px; background: var(--c-surface); border-radius: 6px; margin-bottom: 14px; }
.dm-panels .donorbox-form { display: block; width: 100%; max-width: 500px; min-width: 250px; height: 900px; max-height: none; border: 0; margin: 0 auto 10px; }
.pay-btn { display: inline-block; border: 1px solid var(--c-text-strong); background: var(--c-surface); color: var(--ink); text-decoration: none; font-weight: 700; padding: 7px 16px; border-radius: 8px; font-size: 14px; }
.pay-btn:hover { background: var(--c-field); color: var(--ink); }
@media (max-width: 760px) { .donation-methods { grid-template-columns: 1fr; } }
.panel-red { background: linear-gradient(180deg, var(--c-membership), var(--c-membership-end)); color: var(--c-text-on-dark); box-shadow: var(--shadow); }
.panel-purple a { color: var(--c-text-on-dark); }
.gift { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; }
.gift .panel-title { margin-bottom: 10px; }
@media (max-width: 700px) { .gift { grid-template-columns: 1fr; } .gift img { margin: 0 auto; } }
.funds ul { padding-left: 1.2em; }
.funds li { margin: 4px 0; }
.align-center { align-items: center; }

/* ---------- invite & shared form/layout helpers ---------- */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.split .portrait { border-radius: 20px; margin: 0; max-height: 520px; object-fit: contain; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.stack-form { display: grid; gap: 14px; }
.stack-form label { display: grid; gap: 4px; font-weight: 700; font-size: 14px; }
.stack-form label small { font-weight: 500; color: var(--muted); font-size: 12px; }
.stack-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.stack-form legend { font-weight: 700; font-size: 14px; padding: 0; margin-bottom: 4px; }
.stack-form input, .stack-form textarea, .stack-form select { font: inherit; font-size: 15px; padding: 9px 12px; border: 0; border-radius: 8px; background: var(--c-field); color: var(--ink); width: 100%; }
.stack-form .q { font-weight: 700; font-size: 14px; margin: 0 0 6px; }
.donation-yes { display: flex; gap: 12px; align-items: center; }
.donation-yes label.inline { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.donation-yes input[type=checkbox] { width: 18px; height: 18px; }
.donation-yes input[name=DonationAmount] { max-width: 240px; }
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.quote-grid blockquote { margin: 0; background: var(--c-card-grey); border-radius: 16px; padding: 20px; border: 1px solid var(--c-card-grey-border); font-size: 15px; }
.quote-grid footer { display: grid; margin-top: 8px; }
.quote-grid footer strong { color: var(--purple-700); }
.quote-grid footer span { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
@media (max-width: 800px) { .quote-grid { grid-template-columns: 1fr; } }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.school-row { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 22px; }
.school-row + .video-caption { margin: -12px 0 22px; }
@media (max-width: 860px) { .card-grid, .school-row { grid-template-columns: 1fr; } }
.panel-purple h2, .panel-purple h3, .panel-purple h4 { color: var(--c-text-on-dark); }
.video-caption { text-align: center; font-weight: 700; margin: 8px 0 0; color: var(--purple-700); }
.captioned { margin: 0 0 22px; }
.captioned figcaption { text-align: center; font-weight: 700; color: var(--c-brand); margin-top: 8px; }
.panel-purple .captioned figcaption { color: var(--c-text-on-dark); }
.captioned .video-group { margin: 0; }
.three-up { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.three-up .video-grid { grid-template-columns: 1fr !important; }
@media (max-width: 860px) { .three-up { grid-template-columns: 1fr; } }
.school-channel .video-group-title { text-align: center; color: var(--c-brand); }
.columns-2 { column-count: 2; column-gap: 36px; }
.columns-2 > * { break-inside: avoid; }
.columns-2 h4 { margin-top: 0; color: inherit; font-size: 19px; }
@media (max-width: 860px) { .columns-2 { column-count: 1; } }
.split.top { align-items: start; }
.shout { font-size: clamp(28px, 4vw, 46px); font-weight: 800; line-height: 1.05; color: var(--c-text); margin: 0; }
.muted-label { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.info-panel { font-size: 15px; }
.info-panel h3 { color: var(--c-text-on-dark); font-size: clamp(18px, 2vw, 24px); margin-top: 0; }
.info-panel a { color: var(--c-text-on-dark); }
.info-panel strong { color: var(--c-text-on-dark); }
.share-panel { text-align: center; margin-bottom: 28px; }
.share-panel .panel-title { margin-bottom: 12px; }
.stack-top > * + * { margin-top: 0; }
.content blockquote, .content h5 + p { }
.content h5 { color: var(--purple-700); margin-bottom: 0; font-size: 17px; }
.content h5 + p { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.narrow-text { max-width: 980px; margin-inline: auto; }
.content.center img { margin-inline: auto; }
.content.center ul { text-align: left; display: inline-block; }
.content img.icon-img { width: 200px; max-height: none; margin: 10px auto; } .content img.icon-img.small { width: 72px; }

/* ---------- about us ---------- */
/* The text is sized by site.js so it ends level with the bottom of the video. If it is still taller (narrower screens),
   the photo stretches so both columns end together. */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 32px; align-items: stretch; }
.about-media { display: flex; flex-direction: column; gap: 16px; }
.about-photo { width: 100%; aspect-ratio: 4 / 3; flex: 1 0 auto; object-fit: cover; object-position: center 25%; border-radius: 16px; margin: 0; }
.about-media .video-group { margin: 0; flex: none; }
.about-media .video-grid { grid-template-columns: 1fr !important; }
.about-text { font-size: 18px; line-height: 1.6; align-self: start; }
@media (max-width: 860px) { .about-text { font-size: 17px; } .about-photo { flex: none; } }
.beliefs .panel-title { font-size: clamp(28px, 3.4vw, 40px); }
.beliefs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; font-size: 14.5px; }
.beliefs-cols p { margin: 0 0 18px; }
@media (max-width: 860px) { .about-grid, .beliefs-cols { grid-template-columns: 1fr; } .beliefs-cols { gap: 0; } }

/* ---------- our vision: video cards with captions ---------- */
.vision-intro { max-width: 1060px; margin-inline: auto; font-size: 15px; }
.vision-intro h2 { color: var(--ink); font-size: clamp(22px, 2.4vw, 28px); }
.vision-intro a { color: var(--purple); }
.video-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.video-card { margin: 0; background: var(--c-video-card); border-radius: 16px; padding: 6px 6px 0; overflow: hidden; }
.video-card .video-group { margin: 0; }
.video-card .video-grid { grid-template-columns: 1fr !important; }
.video-card .yt { border-radius: 12px; }
.video-card figcaption { text-align: center; color: var(--purple); font-weight: 600; padding: 10px 8px 12px; }
@media (max-width: 860px) { .video-cards { grid-template-columns: 1fr; } }

/* ---------- private deliverance: full-width poster, landscape (web) / portrait (mobile) ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.private-page { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 20px; }
.btn-pill { display: inline-block; border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 22px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; background: var(--c-surface); }
.btn-pill:hover { background: var(--purple-50); color: var(--ink); }
.private-poster, .private-poster img { display: block; width: 100%; height: auto; }
/* web: like the live site, the poster fits the window height (window minus 84px) and is centred, so it never runs wider than it can show in full */
@media (min-width: 810px) {
    .private-poster img { height: calc(100vh - 84px); height: calc(100dvh - 84px); object-fit: contain; }
}

/* ---------- donate airline points: solid purple and grey boxes, as on the live site ---------- */
.airline { width: min(1336px, 100% - 30px); margin: 30px auto 48px; display: grid; gap: 22px; }
.air-box { border-radius: 18px; padding: 26px 30px; color: var(--c-text-on-dark); text-align: center; }
.air-box.purple { background: var(--c-brand); }
.air-box.grey { background: var(--c-surface-grey); }
.air-box h2 { font-size: 22px; font-weight: 700; margin: 0 0 14px; color: var(--c-text-on-dark); }
.air-box h3 { font-size: 26px; font-weight: 700; margin: 0; color: var(--c-text-on-dark); }
.air-box h2:last-child, .air-box p:last-child { margin-bottom: 0; }
.air-box p { margin: 0 0 12px; }
.air-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 22px; }
.air-side { display: grid; gap: 22px; align-content: start; }
.air-main { display: flex; flex-direction: column; justify-content: center; }
.air-numbers { display: grid; grid-template-columns: auto auto; justify-content: center; column-gap: 40px; row-gap: 4px; margin: 0; font-weight: 700; }
.air-numbers dt { text-align: left; }
.air-numbers dd { margin: 0; text-align: left; }
.air-box .air-note { margin: -6px 0 12px; opacity: .85; text-align: center; }
@media (max-width: 809px) { .air-row { grid-template-columns: 1fr; } .air-box { padding: 22px 18px; } }

/* ---------- contact: purple bands and lavender panels, as on the live site ---------- */
.contact-page { width: min(1311px, 100% - 30px); margin: 40px auto 56px; display: grid; gap: 30px; }
.contact-band { background: var(--c-brand); color: var(--c-text-on-dark); border-radius: 24px; padding: 36px 50px; display: flex; align-items: center; gap: 16px; }
.contact-band.usa { justify-content: center; }
.contact-band img { width: 242px; height: auto; flex: none; margin: 0; }
.contact-band h2 { font-size: 30px; font-weight: 700; margin: 0; color: var(--c-text-on-dark); line-height: 1.3; }
.contact-band a:not(.pill) { color: var(--c-link-on-dark); text-decoration: none; }
.contact-band.usa h2 { margin-bottom: 10px; }
.contact-panel { background: var(--c-brand-tint); border: 6px solid var(--c-brand-tint-border); border-radius: 24px; padding: 34px 44px; }
.contact-panel h2 { display: flex; align-items: center; gap: 10px; font-size: 30px; font-weight: 600; margin: 0 0 14px; color: var(--c-text-strong); }
.contact-panel h2 img { width: 52px; height: 52px; margin: 0; }
.contact-panel ul { margin: 0 0 14px; padding-left: 20px; }
.contact-panel p { margin: 0 0 6px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pill { display: inline-block; border: 1.5px solid var(--c-text-strong); border-radius: 999px; padding: 9px 19px; color: var(--c-text-strong); text-decoration: none; font-size: 20px; line-height: 1.2; }
.pill:hover { background: color-mix(in srgb, var(--c-brand-tint-border), white 30%); color: var(--c-text-strong); }
.pill.light { border-color: var(--c-text-on-dark); color: var(--c-text-on-dark); }
.pill.light:hover { background: rgba(255,255,255,.18); color: var(--c-text-on-dark); }
@media (max-width: 809px) {
    .contact-band { flex-direction: column; text-align: center; padding: 28px 20px; }
    .contact-band img { width: 110px; }
    .contact-band h2 { font-size: 18px; }
    .contact-panel h2 { font-size: 20px; }
    .contact-panel h2 img { width: 36px; height: 36px; }
    .contact-panel { font-size: 14px; }
    .pill { font-size: 16px; }
    .contact-panel { padding: 24px 20px; }
    .contact-band .pill-row, .contact-band.usa div { justify-content: center; }
}

/* ---------- monthly partnership form: one line per row, labels left and vertically centred (as on the live site) ---------- */
.light-form { gap: 18px; }
.pf-line { display: flex; gap: 44px; align-items: center; }
.pf { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink); }
.pf > span { flex: none; width: 118px; }
.pf.auto > span { width: auto; white-space: nowrap; }
.pf.top { align-items: flex-start; }
.pf.top > span { padding-top: 8px; }
.pf input, .pf select, .pf textarea { flex: 1 1 auto; min-width: 0; font: inherit; font-size: 14px; padding: 10px 12px; border: 0; border-radius: 8px; background: var(--c-field); color: var(--ink); }
@media (max-width: 809px) {
    .pf-line { flex-direction: column; align-items: stretch; gap: 18px; }
    .pf > span, .pf.auto > span { width: 92px; white-space: normal; }
    .pf.long { flex-direction: column; align-items: stretch; gap: 6px; }
    .pf.long > span { width: auto; padding-top: 0; }
}

/* donation method icons (copied from the live site) */
.dm-list [role=tab] { display: flex; align-items: center; gap: 12px; }
.dm-list [role=tab] img { width: 24px; height: 24px; flex: none; }
.pay-btn { display: inline-flex; align-items: center; gap: 8px; }
.pay-btn img { width: 20px; height: 20px; }

/* written testimonies: purple cards, as on the live site */
.testimony-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
.testimony { background: var(--c-testimony); color: var(--c-text-on-dark); border-radius: 16px; padding: 20px; font-size: 14.5px; }
.testimony p { margin: 0 0 10px; }
.testimony h5 { color: var(--c-text-on-dark) !important; margin: 10px 0 0; font-size: 17px; }
.testimony h5 + p { color: color-mix(in srgb, var(--c-text-on-dark) 80%, transparent) !important; margin: 0; }
@media (max-width: 960px) { .testimony-grid { grid-template-columns: 1fr; } }
.members-caption { background: color-mix(in srgb, var(--c-surface-grey), black 20%); color: var(--c-text-on-dark) !important; border-radius: 10px; padding: 6px 10px; }

/* "I'm not a robot" captcha on the forms (Pages/Shared/_Captcha.cshtml) */
altcha-widget.captcha { display: block; margin: 4px 0 12px; --altcha-max-width: 320px; --altcha-border-radius: 8px; color: var(--ink, #222); }
