:root {
    --church-primary: #1f3f8f;
    --church-secondary: #7a1f3d;
    --church-accent: #c9a227;
    --church-ink: #12203b;
    --church-muted: #5f6880;
    --church-surface: #f8fafc;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

html {
    overflow-y: auto;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--church-ink);
    background-color: #f4f6fb;
    background-image: radial-gradient(circle at 10% -20%, rgba(31, 63, 143, 0.13), transparent 52%), radial-gradient(circle at 90% 10%, rgba(122, 31, 61, 0.1), transparent 42%);
    min-height: 100%;
    overflow-y: visible !important;
}

main {
    overflow: visible;
}

.font-display {
    font-family: 'Playfair Display', serif;
}

.site-gradient {
    background-image: linear-gradient(130deg, #112a62 8%, #1f3f8f 50%, #7a1f3d 100%);
}

.section-shell {
    border-radius: 2rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #ffffff;
    box-shadow: 0 24px 50px -34px rgba(15, 23, 42, 0.35);
}

.glass-panel {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.card-lift {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card-lift:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 45px -30px rgba(17, 42, 98, 0.8);
    border-color: rgba(201, 162, 39, 0.45);
}

.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -140%;
    width: 120%;
    height: 140%;
    transform: rotate(12deg);
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.35) 48%, transparent 75%);
    transition: left 420ms ease;
}

.btn-shimmer:hover::after {
    left: 140%;
}

.nav-shell {
    box-shadow: 0 20px 45px -32px rgba(16, 24, 40, 0.5);
}

.hero-dot-pattern {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.42) 1px, transparent 1px);
    background-size: 18px 18px;
}

.prose-church {
    color: var(--church-muted);
    line-height: 1.8;
}

.prose-church p {
    margin-top: 0.9rem;
    margin-bottom: 0.9rem;
}

.prose-church a {
    color: var(--church-primary);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 420ms ease, transform 420ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tilt-bg {
    position: relative;
    overflow: hidden;
}

.tilt-bg::before {
    content: '';
    position: absolute;
    inset: auto -8% -38% -8%;
    background: linear-gradient(180deg, rgba(31, 63, 143, 0), rgba(31, 63, 143, 0.08));
    transform: skewY(-2.4deg);
    z-index: 0;
    pointer-events: none;
}

.footer-link {
    color: rgba(226, 232, 240, 0.86);
    transition: color 180ms ease;
}

.footer-link:hover {
    color: #ffffff;
}

.map-shell iframe {
    min-height: 300px;
    width: 100%;
    border: 0;
}

[x-cloak] {
    display: none !important;
}

@media (max-width: 768px) {
    .section-shell {
        border-radius: 1.35rem;
    }
}
