/* ============================================
   FOUNTAIN OF LIFE - ULTRA PREMIUM STYLES
   Dark-first · Glassmorphism · Micro-interactions
   ============================================ */

/* ── Design Tokens ────────────────────────── */
:root {
    /* Dark theme (default) — Orange primary + Blue secondary */
    --bg-primary:    #030712;
    --bg-secondary:  #060d1f;
    --bg-tertiary:   #0d1630;
    --bg-card:       rgba(255,255,255,0.03);
    --bg-glass:      rgba(232,150,42,0.06);
    --bg-glass-hover:rgba(232,150,42,0.12);
    --border:        rgba(232,150,42,0.12);
    --border-hover:  rgba(232,150,42,0.28);
    --text-primary:  #eef2ff;
    --text-secondary:rgba(200,215,255,0.6);
    --text-tertiary: rgba(200,215,255,0.35);
    --accent:        #E8962A;
    --accent-light:  #F5B848;
    --accent-warm:   #43c0eb;
    --accent-warm-light: #67d1f2;
    --accent-dim:    rgba(232,150,42,0.12);
    --accent-glow:   rgba(232,150,42,0.3);
    --accent-glow-strong: rgba(232,150,42,0.55);
    --accent-gradient: #E8962A;
    --shadow-card:   0 8px 32px rgba(0,0,0,0.5);
    --shadow-glow:   0 0 60px var(--accent-glow);

    /* Typography */
    --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent:  'Bebas Neue', Impact, sans-serif;

    /* Motion */
    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur-fast:     0.25s;
    --dur-med:      0.5s;
    --dur-slow:     0.8s;

    /* Layout */
    --nav-height:   80px;
    --radius:       16px;
    --radius-sm:    10px;
    --radius-full:  100px;
}

/* ── Light Theme (Sky Blue + Orange accents on warm white) ── */
[data-theme="light"] {
    --bg-primary:    #f5f7fa;
    --bg-secondary:  #edf1f7;
    --bg-tertiary:   #e3e8ef;
    --bg-card:       #ffffff;
    --bg-glass:      rgba(67,192,235,0.05);
    --bg-glass-hover:rgba(67,192,235,0.10);
    --border:        #e2e8f0;
    --border-hover:  #43c0eb;
    --text-primary:  #2d3748;
    --text-secondary:#4a5568;
    --text-tertiary: #a0aec0;
    --accent:        #43c0eb;
    --accent-light:  #67d1f2;
    --accent-warm:   #E8962A;
    --accent-warm-light: #F5B848;
    --accent-dim:    rgba(67,192,235,0.12);
    --accent-glow:   rgba(67,192,235,0.20);
    --accent-glow-strong: rgba(67,192,235,0.35);
    --accent-gradient: #E8962A;
    --shadow-card:   0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.03);
    --shadow-glow:   0 0 60px var(--accent-glow);
}

[data-theme="light"] .hero-overlay {
    background:
        linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.08) 40%, rgba(0,0,0,0.45) 72%, rgba(232,242,253,0.55) 88%, var(--bg-primary) 100%),
        linear-gradient(90deg, rgba(0,0,0,0.32) 0%, transparent 55%);
}

[data-theme="light"] .hero-content,
[data-theme="light"] .hero-title,
[data-theme="light"] .hero-subtitle {
    color: #ffffff;
}

[data-theme="light"] .hero-cta .btn-primary,
[data-theme="light"] .hero-cta .btn-ghost {
    color: #ffffff;
}

[data-theme="light"] body {
    background-color: #e8f2fd;
    background-image:
        radial-gradient(ellipse 80% 50% at 15% 10%, rgba(67,192,235,0.22) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 85% 20%, rgba(30,120,200,0.14) 0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 50% 90%, rgba(67,192,235,0.16) 0%, transparent 65%),
        linear-gradient(175deg, #cce8fa 0%, #dff0fd 35%, #e8f2fd 65%, #d6eaf8 100%);
    background-attachment: fixed;
}

/* Primary button — real gradient + matched glow */
[data-theme="light"] .btn--primary {
    background: linear-gradient(135deg, #f5a83a 0%, #e8962a 60%, #d4801a 100%);
    box-shadow: 0 2px 12px rgba(232,150,42,0.30);
}
[data-theme="light"] .btn--primary:hover {
    opacity: 1;
    box-shadow: 0 6px 24px rgba(232,150,42,0.45);
}

/* Glass button — white fill, not near-invisible tint */
[data-theme="light"] .btn--glass {
    background: rgba(255,255,255,0.80);
    border-color: rgba(0,0,0,0.10);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
[data-theme="light"] .btn--glass:hover {
    background: rgba(255,255,255,1);
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

/* Outline button — stronger border so it reads on the blue bg */
[data-theme="light"] .btn--outline {
    border-color: #43c0eb;
    color: #1a6fa0;
}
[data-theme="light"] .btn--outline:hover {
    background: rgba(67,192,235,0.08);
    border-color: #2aadd4;
    color: #1a6fa0;
}

/* Glow — warm orange, not washed-out blue */
[data-theme="light"] .btn--glow {
    box-shadow: 0 0 20px rgba(232,150,42,0.35);
}
[data-theme="light"] .btn--glow:hover {
    box-shadow: 0 0 40px rgba(232,150,42,0.55);
}

[data-theme="light"] .grain-overlay {
    opacity: 0.015;
}

[data-theme="light"] .nav {
    color: #ffffff;
}

[data-theme="light"] .nav.scrolled {
    background: rgba(220, 238, 255, 0.82);
    backdrop-filter: blur(20px) saturate(160%);
    border-bottom-color: rgba(67,192,235,0.20);
    box-shadow: 0 1px 0 rgba(67,192,235,0.15), 0 4px 24px rgba(30,100,180,0.08);
    color: #1a3a5c;
}

[data-theme="light"] .nav.scrolled .nav-link {
    color: #1a3a5c;
}

[data-theme="light"] .nav.scrolled .nav-link:hover {
    color: #E8962A;
}

[data-theme="light"] .nav.scrolled .logo-text {
    color: #1a3a5c;
}

[data-theme="light"] .nav.scrolled .btn-primary {
    color: #ffffff;
}

[data-theme="light"] .nav.scrolled .theme-toggle {
    color: #1a3a5c;
    border-color: rgba(67,192,235,0.30);
    background: rgba(255,255,255,0.50);
}

[data-theme="light"] .nav-toggle span {
    background: #ffffff;
}

[data-theme="light"] .nav.scrolled .nav-toggle span {
    background: #2d3748;
}

[data-theme="light"] .quote-overlay {
    background: rgba(30,41,59,0.78);
}

[data-theme="light"] .quote-text {
    color: #ffffff;
}

[data-theme="light"] .section-label {
    color: #E8962A;
}

[data-theme="light"] .final-cta-bg {
    background: radial-gradient(ellipse at 50% 0%, var(--accent-dim) 0%, transparent 70%);
}

[data-theme="light"] .glass-card,
[data-theme="light"] .ministry-card,
[data-theme="light"] .give-card,
[data-theme="light"] .accordion-item,
[data-theme="light"] .event-card {
    background: #ffffff;
    border: 1px solid #e3e8ef;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.02);
}

[data-theme="light"] .timeline-marker {
    background: var(--bg-secondary);
    border-color: #E8962A;
    box-shadow: 0 1px 4px rgba(232,150,42,0.3);
}

[data-theme="light"] .footer {
    background: #1e293b;
    border-top-color: transparent;
    color: #ffffff;
}

[data-theme="light"] .footer .text-tertiary,
[data-theme="light"] .footer .footer-link {
    color: rgba(255,255,255,0.7);
}

[data-theme="light"] .footer .footer-link:hover {
    color: #E8962A;
}

[data-theme="light"] .footer .footer-heading {
    color: #ffffff;
}

[data-theme="light"] .footer .footer-logo-text,
[data-theme="light"] .footer .logo-text {
    color: #ffffff;
}

[data-theme="light"] .footer-bottom {
    border-top-color: rgba(255,255,255,0.1);
}
[data-theme="light"] .footer-bottom p,
[data-theme="light"] .footer-bottom a {
    color: rgba(255,255,255,0.55);
}

/* ── Reset ────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background: var(--bg-primary);
}

[data-theme="light"] html {
    background: #e8f2fd;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out);
}

a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }
button { font-family:inherit; }

::selection {
    background: var(--accent);
    color: var(--bg-primary);
}

/* ── Grain Overlay ────────────────────────── */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* ── Cursor Glow ──────────────────────────── */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,150,42,0.2) 0%, rgba(200,80,20,0.08) 50%, transparent 70%);
    pointer-events: none;
    z-index: 9997;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.6s;
    mix-blend-mode: screen;
}

@media (hover: hover) {
    body:hover .cursor-glow { opacity: 1; }
}

[data-theme="light"] .cursor-glow {
    background: radial-gradient(circle, rgba(67,192,235,0.15) 0%, rgba(67,192,235,0.06) 50%, transparent 70%);
}

/* ── Container ────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.container--narrow { max-width: 800px; }

/* ── Navigation ───────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: all var(--dur-med) var(--ease-out);
}

.nav.scrolled {
    height: 64px;
    background: rgba(5,5,7,0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 44px;
    width: auto;
    transition: all var(--dur-fast) var(--ease-out);
}

.nav.scrolled .logo-img { height: 36px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color var(--dur-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--dur-fast) var(--ease-out);
}

.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }

.nav-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.nav-btn {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    transition: all var(--dur-fast) var(--ease-out);
    white-space: nowrap;
}

.nav-btn--outline {
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
}

.nav-btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.nav-btn--solid {
    background: var(--accent-gradient);
    color: #fff;
    border: 1px solid transparent;
}

.nav-btn--solid:hover {
    opacity: 0.88;
    box-shadow: 0 4px 20px var(--accent-glow);
    transform: translateY(-1px);
}

@keyframes foodBoxPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(67, 192, 235, 0.5); }
    50%       { box-shadow: 0 0 0 7px rgba(67, 192, 235, 0); }
}

.nav-btn--green {
    background: var(--accent-warm);
    color: #fff;
    border: 1px solid transparent;
    animation: foodBoxPulse 2s ease-in-out infinite;
}

.nav-btn--green:hover {
    opacity: 0.88;
    box-shadow: 0 4px 20px rgba(67, 192, 235, 0.4);
    transform: translateY(-1px);
    animation-play-state: paused;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dur-fast);
    position: relative;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    color: var(--accent);
}

.theme-icon {
    width: 18px;
    height: 18px;
    position: absolute;
    transition: all var(--dur-fast);
}

[data-theme="dark"] .theme-icon--moon { opacity: 0; transform: rotate(90deg) scale(0); }
[data-theme="dark"] .theme-icon--sun  { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-icon--sun { opacity: 0; transform: rotate(-90deg) scale(0); }
[data-theme="light"] .theme-icon--moon { opacity: 1; transform: rotate(0) scale(1); }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all var(--dur-fast) var(--ease-out);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5.5px); }

/* ── HERO ─────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    animation: heroKen 25s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes heroKen {
    0% { transform: scale(1.08) translate(0, 0); }
    100% { transform: scale(1.15) translate(-1%, -1%); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(3,7,18,0.55) 0%, rgba(3,7,18,0.2) 35%, rgba(3,7,18,0.65) 75%, var(--bg-primary) 100%),
        linear-gradient(90deg, rgba(3,7,18,0.6) 0%, transparent 55%);
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
    animation: orbFloat 12s ease-in-out infinite alternate;
}

.hero-gradient-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,150,42,0.18) 0%, transparent 70%);
    bottom: -15%;
    left: -10%;
}

.hero-gradient-orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200,80,20,0.14) 0%, transparent 70%);
    top: 10%;
    right: -5%;
    animation-delay: -6s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.25rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    backdrop-filter: blur(12px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 9vw, 7.5rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.025em;
    margin-bottom: 1.75rem;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2.5s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.2; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ── Buttons ──────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease-out);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn--primary {
    background: var(--accent-gradient);
    color: #fff;
    border: 1px solid transparent;
}

.btn--primary:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--accent-glow);
}

.btn--glow {
    box-shadow: 0 0 24px var(--accent-glow);
}

.btn--glow:hover {
    box-shadow: 0 0 48px var(--accent-glow-strong);
}

.btn--glass {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-primary);
    backdrop-filter: blur(12px);
}

.btn--glass:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn--large {
    padding: 1.1rem 2.5rem;
    font-size: 0.88rem;
}

/* ── Sections ─────────────────────────────── */
.section {
    position: relative;
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    overflow: hidden;
}

.section--alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-warm);
    margin-bottom: 1rem;
}

.heading-2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.015em;
}

.heading-2 em {
    font-style: italic;
    color: var(--accent);
}

.body-text {
    font-size: 1rem;
    font-weight: 350;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 520px;
}

.body-text + .body-text { margin-top: 0.75rem; }
.body-text--center { text-align: center; margin-left: auto; margin-right: auto; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--accent);
    margin-top: 1.5rem;
    transition: gap var(--dur-fast) var(--ease-out);
}

.link-arrow:hover { gap: 0.6rem; }
.link-arrow--small { font-size: 0.78rem; margin-top: 1rem; }

/* ── Split Layout ─────────────────────────── */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 8vw, 7rem);
    align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__text { max-width: 480px; }
.split__text .heading-2 { margin-top: 0.25rem; }

.media-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.media-card img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out);
}

.media-card:hover img { transform: scale(1.04); }

.media-card__glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    box-shadow: inset 0 0 60px rgba(201,169,110,0.08);
    pointer-events: none;
}

/* Device Frame */
.device-frame {
    background: var(--bg-tertiary);
    border-radius: 20px;
    padding: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.device-frame__screen {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.device-frame__screen img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.device-frame__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity var(--dur-fast);
    cursor: pointer;
}

.device-frame__play svg {
    width: 48px;
    height: 48px;
    color: white;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.device-frame:hover .device-frame__play { opacity: 1; }

/* ── Metrics Bar ──────────────────────────── */
.section--metrics {
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.metrics-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.metric {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-number {
    font-family: var(--font-accent);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--accent);
    line-height: 1;
}

.metric-suffix {
    font-family: var(--font-accent);
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--accent);
    line-height: 1;
}

.metric-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 0.35rem;
}

.metric-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

/* ── Glass Cards ──────────────────────────── */
.cards-grid {
    display: grid;
    gap: 1.5rem;
}

.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }

.glass-card {
    position: relative;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--dur-med) var(--ease-out);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--dur-fast);
}

.glass-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.glass-card:hover::before { opacity: 1; }

.glass-card--featured {
    border-color: var(--accent-dim);
    background: var(--accent-dim);
}

.glass-card--featured:hover {
    background: rgba(201,169,110,0.12);
    border-color: rgba(201,169,110,0.3);
}

.glass-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    background: var(--accent-gradient);
    color: #fff;
}

.glass-card__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1.5rem;
    color: var(--accent);
}

.glass-card__icon svg { width: 100%; height: 100%; }

.glass-card__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.glass-card__highlight {
    font-family: var(--font-accent);
    font-size: 2rem;
    letter-spacing: 0.03em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.glass-card__desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Timeline ─────────────────────────────── */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent), var(--border));
}

.timeline-item {
    display: flex;
    gap: 2rem;
    padding-bottom: 3rem;
    position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    transition: all var(--dur-fast) var(--ease-out);
}

.timeline-marker span {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--accent-warm);
}

.timeline-item:hover .timeline-marker {
    background: var(--accent-dim);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0.25rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ── Quote Section ────────────────────────── */
.section--quote {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-bg {
    position: absolute;
    inset: 0;
}

.quote-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,5,7,0.78);
    backdrop-filter: blur(3px);
}

.quote-block {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.quote-icon {
    width: 56px;
    height: 56px;
    color: var(--accent);
    margin: 0 auto 1.5rem;
    opacity: 0.5;
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.quote-author-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.quote-author cite {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    font-style: normal;
}

/* ── Ministry Cards ───────────────────────── */
.ministry-card {
    position: relative;
    display: block;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-glass);
    transition: all var(--dur-med) var(--ease-out);
    overflow: hidden;
}

.ministry-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-dim) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--dur-fast);
}

.ministry-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.ministry-card:hover::before { opacity: 1; }

.ministry-card__number {
    font-family: var(--font-accent);
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 0.75rem;
    position: relative;
}

.ministry-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color var(--dur-fast);
    position: relative;
}

.ministry-card:hover h3 { color: var(--accent); }

.ministry-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    position: relative;
}

.ministry-card__arrow {
    display: block;
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--dur-fast) var(--ease-out);
    position: relative;
}

.ministry-card:hover .ministry-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── Give Cards ───────────────────────────── */
.give-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.give-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--dur-med) var(--ease-out);
    position: relative;
}

.give-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card);
}

.give-card--featured {
    border-color: var(--accent);
    background: var(--accent-dim);
    transform: scale(1.03);
}

.give-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.give-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    background: var(--accent);
    color: var(--bg-primary);
    white-space: nowrap;
}

.give-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.give-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ── Give Page ────────────────────────────── */
.give-options-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.give-option-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--dur-med) var(--ease-out);
    position: relative;
}

.give-option-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card);
}

.give-option-card--featured {
    border-color: var(--accent);
    background: var(--accent-dim);
    transform: scale(1.03);
}

.give-option-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.give-option-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    background: var(--accent);
    color: var(--bg-primary);
    white-space: nowrap;
}

.give-option-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-dim);
    color: var(--accent);
}

.give-option-icon svg {
    width: 24px;
    height: 24px;
}

.give-option-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.give-option-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Iframe container */
.give-iframe-wrap {
    max-width: 720px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.give-iframe {
    width: 100%;
    min-height: 700px;
    border: none;
    display: block;
}

/* Alternative giving methods */
.give-alt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.give-alt-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--dur-med) var(--ease-out);
}

.give-alt-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.give-alt-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    color: var(--accent);
}

.give-alt-icon svg {
    width: 100%;
    height: 100%;
}

.give-alt-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.give-alt-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Light mode overrides for give page cards */
[data-theme="light"] .give-option-card,
[data-theme="light"] .give-alt-card {
    background: #ffffff;
    border: 1px solid #e3e8ef;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.02);
}

[data-theme="light"] .give-iframe-wrap {
    border-color: #e3e8ef;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 768px) {
    .give-options-row { grid-template-columns: 1fr; max-width: 420px; }
    .give-option-card--featured { transform: none; }
    .give-option-card--featured:hover { transform: translateY(-4px); }
    .give-alt-grid { grid-template-columns: 1fr; max-width: 420px; }
    .give-iframe { min-height: 600px; }
}

/* ── Accordion ────────────────────────────── */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    overflow: hidden;
    transition: border-color var(--dur-fast);
}

.accordion-item[open] {
    border-color: var(--border-hover);
}

.accordion-item[open] .accordion-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    list-style: none;
    transition: color var(--dur-fast);
}

.accordion-trigger::-webkit-details-marker { display: none; }
.accordion-trigger::marker { display: none; content: ''; }

.accordion-trigger:hover { color: var(--accent); }

.accordion-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: all var(--dur-fast) var(--ease-out);
}

.accordion-content {
    padding: 0 1.5rem 1.25rem;
}

.accordion-content p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Newsletter ───────────────────────────── */
.newsletter-card {
    margin-top: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 3.5rem;
}

.newsletter-text .heading-3 { margin: 0.4rem 0 0.75rem; }
.newsletter-text .body-text { margin: 0; color: var(--text-secondary); }

/* Standalone newsletter section */
.section--newsletter-standalone {
    background: var(--bg-secondary);
}

.newsletter-standalone {
    text-align: center;
}

.newsletter-standalone__header {
    margin-bottom: 2.5rem;
}

.newsletter-standalone__header .heading-2 {
    margin: 0.5rem 0 1rem;
}

.newsletter-standalone__header .body-text {
    max-width: 540px;
    margin: 0 auto;
    color: var(--text-secondary);
}

[data-theme="light"] .section--newsletter-standalone {
    background: rgba(255,255,255,0.55);
    border-top: 1px solid rgba(67,192,235,0.12);
    border-bottom: 1px solid rgba(67,192,235,0.12);
}

.newsletter-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-width: 560px;
    margin: 0 auto;
}

.newsletter-input {
    font-family: var(--font-body);
    font-size: 0.875rem;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    outline: none;
    width: 100%;
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.newsletter-input::placeholder { color: var(--text-tertiary); }
.newsletter-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.newsletter-input--full { grid-column: 1 / -1; }

.newsletter-input--date {
    color: var(--text-tertiary);
    cursor: pointer;
}
.newsletter-input--date:valid { color: var(--text-primary); }

.newsletter-submit {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.newsletter-status {
    font-size: 0.82rem;
    margin-top: 0.75rem;
    min-height: 1.2em;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}
.newsletter-status.success { color: #22c55e; }
.newsletter-status.error   { color: #ef4444; }

/* Light mode */
[data-theme="light"] .newsletter-card-inline {
    border-top-color: rgba(67,192,235,0.20);
}
[data-theme="light"] .newsletter-prompt {
    color: #4a6580;
}
[data-theme="light"] .newsletter-input {
    background: rgba(255,255,255,0.90);
    border-color: rgba(67,192,235,0.30);
    color: #1a3a5c;
}
[data-theme="light"] .newsletter-input::placeholder { color: #94a3b8; }
[data-theme="light"] .newsletter-input:focus {
    border-color: #43c0eb;
    box-shadow: 0 0 0 3px rgba(67,192,235,0.12);
}

@media (max-width: 480px) {
    .newsletter-fields-grid { grid-template-columns: 1fr; }
    .newsletter-input--full,
    .newsletter-submit { grid-column: unset; }
}

/* ── Final CTA ────────────────────────────── */
.section--final-cta {
    text-align: center;
    position: relative;
}

.final-cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, var(--accent-dim) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
}

.final-cta .body-text { margin-bottom: 2.5rem; }

.final-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.final-cta__sub {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
}

/* ── Footer ───────────────────────────────── */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 4.5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--dur-fast) var(--ease-out);
}

.social-icon svg { width: 16px; height: 16px; }

.social-icon:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    transition: color var(--dur-fast);
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

/* ── Scroll Animations ────────────────────── */
.anim-fade,
.anim-reveal,
.anim-reveal-left,
.anim-reveal-right,
.anim-slide-up {
    opacity: 0;
    transition: all var(--dur-slow) var(--ease-out);
    transition-delay: var(--delay, 0s);
}

.anim-fade { transform: translateY(20px); }
.anim-reveal { transform: translateY(40px); }
.anim-reveal-left { transform: translateX(-50px); }
.anim-reveal-right { transform: translateX(50px); }
.anim-slide-up { transform: translateY(60px); }

.anim-fade.visible,
.anim-reveal.visible,
.anim-reveal-left.visible,
.anim-reveal-right.visible,
.anim-slide-up.visible {
    opacity: 1;
    transform: translate(0);
}

/* ── Scrollbar ────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-light); }

/* ── Responsive ───────────────────────────── */
/* ═══════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════ */

/* ── Tablet landscape (1024px) ───────────────── */
@media (max-width: 1024px) {
    .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .give-grid { grid-template-columns: 1fr; max-width: 420px; }
    .give-card--featured { transform: none; }
    .give-card--featured:hover { transform: translateY(-4px); }
    .split { grid-template-columns: 1fr; gap: 3rem; }
    .split--reverse { direction: ltr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .media-card img { height: 400px; }
    .device-frame__screen img { height: 320px; }
}

/* ── Tablet portrait / large mobile (768px) ──── */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(5,5,7,0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.25rem;
        transition: right var(--dur-med) var(--ease-out);
        z-index: 1000;
    }

    [data-theme="light"] .nav-links {
        background: rgba(220, 238, 255, 0.96);
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(67,192,235,0.20);
    }

    [data-theme="light"] .nav-links .nav-link {
        color: #1a3a5c;
    }

    .nav-links.open { right: 0; }

    .nav-link {
        font-size: 1.1rem;
        color: var(--text-primary);
    }

    .nav-actions {
        flex-direction: column;
        margin-left: 0;
        margin-top: 1rem;
        align-items: center;
    }

    .nav-toggle { display: flex; }

    /* Grids → single column */
    .cards-grid--3 { grid-template-columns: 1fr; }

    /* Metrics */
    .metrics-bar { gap: 2rem; flex-wrap: wrap; justify-content: center; }
    .metric-divider { display: none; }

    /* Footer */
    .footer { padding: 3rem 0 1.5rem; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.4rem; }

    /* Decorative */
    .cursor-glow { display: none; }
    .hero-gradient-orb { display: none; }

    /* Hero */
    .hero-title { font-size: clamp(2.5rem, 12vw, 4.5rem); }
    .hero-subtitle { font-size: 0.95rem; line-height: 1.65; }
    .hero-subtitle br { display: none; }
    .hero-scroll { display: none; }

    /* Media */
    .media-card img { height: 280px; }
    .device-frame__screen img { height: 240px; }

    /* Timeline */
    .timeline::before { left: 24px; }
    .timeline-marker { width: 48px; height: 48px; }
    .timeline-item { gap: 1.25rem; padding-bottom: 2rem; }
    .timeline-content h3 { font-size: 1.15rem; }

    /* Cards */
    .glass-card { padding: 2rem 1.5rem; }
    .ministry-card { padding: 1.5rem; }
    .give-card { padding: 2rem 1.5rem; }
    .belief-card { padding: 1.5rem; }
    .testimonial-card { padding: 1.5rem; }

    /* Accordion */
    .accordion-trigger { padding: 1rem 1.25rem; font-size: 0.92rem; }
    .accordion-content { padding: 0 1.25rem 1rem; }

    /* Final CTA */
    .final-cta__buttons { gap: 0.75rem; }

    /* Section spacing */
    .section { padding: clamp(3.5rem, 10vw, 9rem) 0; }
}

/* ── Small mobile (480px) ────────────────────── */
@media (max-width: 480px) {
    /* Hero */
    .hero { min-height: 90vh; min-height: 90dvh; }
    .hero-badge { font-size: 0.68rem; padding: 0.4rem 1rem; }
    .hero-title { font-size: clamp(2rem, 11vw, 3.5rem); margin-bottom: 1.25rem; }
    .hero-subtitle { margin-bottom: 1.75rem; }
    .hero-cta { gap: 0.6rem; flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; max-width: 280px; justify-content: center; }

    /* Buttons */
    .btn { padding: 0.75rem 1.5rem; font-size: 0.78rem; }
    .btn--large { padding: 0.85rem 1.75rem; font-size: 0.8rem; }

    /* Typography */
    .heading-2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    .body-text { font-size: 0.9rem; }
    .eyebrow { font-size: 0.65rem; }

    /* Cards — tighter on small screens */
    .glass-card { padding: 1.5rem 1.25rem; }
    .glass-card__icon { width: 42px; height: 42px; margin-bottom: 1rem; }
    .glass-card__title { font-size: 1.25rem; }
    .glass-card__highlight { font-size: 1.6rem; }

    .ministry-card { padding: 1.25rem; }
    .ministry-card__number { font-size: 1.6rem; }
    .ministry-card h3 { font-size: 1.15rem; }

    .give-card { padding: 1.5rem 1.25rem; }
    .give-card h3 { font-size: 1.25rem; }

    /* Media — scale heights for portrait screens */
    .media-card img { height: 220px; }
    .device-frame { padding: 8px; }
    .device-frame__screen img { height: 200px; }

    /* Timeline */
    .timeline::before { left: 18px; }
    .timeline-marker { width: 38px; height: 38px; }
    .timeline-marker span { font-size: 0.85rem; }
    .timeline-item { gap: 1rem; padding-bottom: 1.5rem; }
    .timeline-content h3 { font-size: 1.05rem; }
    .timeline-content p { font-size: 0.88rem; }

    /* Accordion */
    .accordion-trigger { padding: 0.85rem 1rem; font-size: 0.88rem; gap: 0.75rem; }
    .accordion-content { padding: 0 1rem 0.85rem; }
    .accordion-content p { font-size: 0.88rem; }

    /* Event cards (homepage) */
    .event-card__body { padding: 1.15rem; }
    .event-card__title { font-size: 1.05rem; }
    .event-card__img { height: 170px; }

    /* Final CTA */
    .final-cta .heading-2 { font-size: clamp(1.5rem, 7vw, 2rem); }
    .final-cta__buttons { flex-direction: column; align-items: center; }
    .final-cta__buttons .btn { width: 100%; max-width: 280px; justify-content: center; }
    .final-cta__sub { font-size: 0.72rem; }

    /* Footer */
    .footer { padding: 2.5rem 0 1.5rem; }
    .footer-top { gap: 1.5rem; }
    .footer-col h4 { font-size: 0.9rem; }
    .footer-col a { font-size: 0.85rem; }
    .footer-tagline { font-size: 0.8rem; }
    .footer-bottom p { font-size: 0.75rem; }

    /* Subpage hero */
    .subpage-hero { padding: calc(var(--nav-height) + 2rem) 0 2rem; }
    .subpage-hero .heading-1 { font-size: clamp(2rem, 9vw, 3rem); }
    .subpage-hero__content { padding: 0 1rem; }

    /* Subpage cards */
    .beliefs-grid { grid-template-columns: 1fr; gap: 1rem; }
    .staff-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .staff-mini-grid { grid-template-columns: 1fr; gap: 1rem; }
    .testimonial-grid { grid-template-columns: 1fr; gap: 1rem; }
    .info-cards { grid-template-columns: 1fr; gap: 0.75rem; }
    .ministry-grid-full { grid-template-columns: 1fr; gap: 1rem; }

    /* Forms */
    .form-group input, .form-group textarea { padding: 0.75rem 0.85rem; font-size: 0.9rem; }
    .form-group label { font-size: 0.85rem; }
    .form-note { font-size: 0.82rem; }
}

/* ── Photo Gallery ─────────────────────────── */
.gallery-section {
    overflow: hidden;
}

.gallery-section .section-header {
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 4px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,5,7,0.75) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__overlay span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 240px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 3px;
    }

    .gallery-item--wide {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-auto-rows: 160px;
    }
}

/* ── Hero Video ─────────────────────────────── */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

/* ── Video Showcase Section ─────────────────── */
.video-section {
    position: relative;
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(232,150,42,0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 50%, rgba(200,80,20,0.07) 0%, transparent 55%);
    pointer-events: none;
}

.video-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 6rem);
    align-items: center;
}

.video-showcase__text {
    position: relative;
    z-index: 1;
}

.video-showcase__text .heading-2 {
    margin-bottom: 1.25rem;
}

.video-showcase__text .body-text {
    margin-bottom: 1.5rem;
}

.video-player-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(3,7,18,0.6), 0 0 0 1px var(--border);
    z-index: 1;
}

.video-player-wrap::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: var(--accent-gradient);
    z-index: -1;
    opacity: 0.5;
}

.video-player {
    width: 100%;
    display: block;
    border-radius: 20px;
    aspect-ratio: 16/9;
    background: var(--bg-tertiary);
}

/* Fullscreen video section (alt layout) */
.video-full {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 75vh;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 32px 100px rgba(3,7,18,0.7), 0 0 0 1px var(--border);
}

.video-full video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-full::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: calc(var(--radius) + 3px);
    background: linear-gradient(135deg, rgba(232,150,42,0.4), rgba(200,80,20,0.4));
    z-index: -1;
}

/* Vibrant pulse dot (overrides green to blue) */
.pulse-dot {
    background: var(--accent-light);
    box-shadow: 0 0 8px var(--accent-glow);
}

/* Vibrant section alt background */
.section--alt {
    background: var(--bg-secondary);
}

/* Active filter pill gradient */
.filter-pill.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
}

@media (max-width: 768px) {
    .video-showcase {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ── Reduced Motion ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Keep the reveal elements visible without animation */
    .anim-fade,
    .anim-reveal,
    .anim-reveal-left,
    .anim-reveal-right,
    .anim-slide-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Hide the decorative motion elements entirely */
    .hero-canvas,
    .cursor-glow,
    .hero-gradient-orb,
    .hero-scroll-line,
    .loader-dots {
        display: none !important;
    }

    /* Keep hero video paused */
    .hero-video {
        animation: none !important;
    }
}

/* ── Page Loader ──────────────────────────── */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s var(--ease-out), visibility 0.5s var(--ease-out);
}

.page-loader.is-hiding {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-progress-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--bg-tertiary);
}

.loader-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    transition: width 0.38s var(--ease-out);
}

.loader-brand-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.loader-logo-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
}

.loader-brand-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.loader-brand-sub {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 2px;
}

.loader-dots {
    display: flex;
    gap: 8px;
}

.loader-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: loaderDot 1.2s ease-in-out infinite;
    opacity: 0.3;
}

.loader-dots span:nth-child(2) { animation-delay: 0.18s; }
.loader-dots span:nth-child(3) { animation-delay: 0.36s; }

@keyframes loaderDot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}

@media (hover: none), (max-width: 768px) {
    /* Disable hover transforms on touch — prevents scroll jank */
    .glass-card:hover,
    .ministry-card:hover,
    .give-card:hover,
    .event-card:hover,
    .belief-card:hover,
    .staff-card:hover {
        transform: none;
    }

    .give-card--featured:hover {
        transform: none;
    }
}

/* ── Event Cards ──────────────────────────── */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.event-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--dur-med) var(--ease-out);
}

.event-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.event-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out);
}

.event-card:hover .event-card__img {
    transform: scale(1.05);
}

.event-card__body {
    padding: 1.5rem;
}

.event-card__date {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.event-card__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.event-card__location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.event-card__location svg {
    flex-shrink: 0;
    color: var(--accent);
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .events-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .events-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SUBPAGE STYLES
   ============================================ */

/* ── Subpage Hero ────────────────────────────── */
.subpage-hero {
    position: relative;
    padding: calc(var(--nav-height) + 5rem) 0 4rem;
    text-align: center;
    overflow: hidden;
}

.subpage-hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 80%, var(--accent-dim) 0%, transparent 60%);
    pointer-events: none;
}

.subpage-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.subpage-hero .heading-1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.subpage-hero .heading-1 em {
    font-style: italic;
    color: var(--accent);
}

.subpage-hero .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ── Belief Cards ────────────────────────────── */
.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.belief-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: border-color var(--dur-fast) var(--ease-out),
                background var(--dur-fast) var(--ease-out),
                transform var(--dur-fast) var(--ease-out);
}

.belief-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-glass-hover);
    transform: translateY(-2px);
}

.belief-card__number {
    font-family: var(--font-accent);
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.belief-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.belief-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.belief-card .scripture {
    font-size: 0.82rem;
    color: var(--accent);
    font-style: italic;
    opacity: 0.8;
}

/* ── Staff Cards ─────────────────────────────── */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.staff-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--dur-fast) var(--ease-out),
                transform var(--dur-fast) var(--ease-out);
}

.staff-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.staff-card__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.staff-card__body {
    padding: 1.5rem;
}

.staff-card__name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.staff-card__role {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 500;
}

.staff-card__bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

.staff-card__email {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
    transition: opacity var(--dur-fast);
}

.staff-card__email:hover {
    opacity: 0.7;
}

/* Staff mini cards (for ministry staff) */
.staff-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.staff-mini-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    transition: border-color var(--dur-fast) var(--ease-out);
}

.staff-mini-card:hover {
    border-color: var(--border-hover);
}

.staff-mini-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.staff-mini-card .staff-card__role {
    font-size: 0.82rem;
    margin-bottom: 0.5rem;
}

/* ── Form Styles ─────────────────────────────── */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--dur-fast) var(--ease-out);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

/* ── Testimonial Cards ───────────────────────── */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 0.5rem;
    left: 1.25rem;
    line-height: 1;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    font-style: italic;
    padding-top: 1rem;
}

.testimonial-card cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 600;
    color: var(--accent);
}

/* ── Ministry cards grid (subpages) ──────────── */
.ministry-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

/* ── Info cards row ──────────────────────────── */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    text-align: center;
}

.info-card__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-card__value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
}

/* ── Subpage responsive ──────────────────────── */
@media (max-width: 768px) {
    .beliefs-grid { grid-template-columns: 1fr; }
    .staff-grid { grid-template-columns: 1fr; }
    .staff-mini-grid { grid-template-columns: 1fr; }
    .subpage-hero { padding: calc(var(--nav-height) + 3rem) 0 2.5rem; }
    .staff-card__body { padding: 1.25rem; }
    .belief-card { padding: 1.5rem; }
    .info-card { padding: 1.25rem; }
}
