/* =====================================================
   DIVINE CALL POWER BIBLE MINISTRY
   Light blue theme. To change the colours, edit the
   values in the :root block just below.
   ===================================================== */
:root {
    --white: #ffffff;
    --sky: #eef5ff;
    --sky-deep: #dfeaff;
    --line: #cfe0fb;
    --blue: #1d5fd0;
    --blue-dark: #164bb0;
    --blue-soft: #8fbaff;
    --navy: #0b1f4d;
    --navy-deep: #071433;
    --ink: #12254d;
    --muted: #46598a;
    --shadow: 0 8px 28px rgba(22, 75, 176, 0.12);
    --radius: 16px;
}

/* =====================================================
   BASICS
   ===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    margin: 0 0 14px;
}

p {
    margin: 0 0 14px;
}

a {
    color: var(--blue);
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid var(--blue-soft);
    outline-offset: 2px;
}

.wrap {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 22px;
}

.section {
    padding: 80px 0;
}

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

.section-dark {
    background: var(--navy);
    color: #fff;
}

.section-head {
    max-width: 700px;
    margin: 0 auto 44px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-dark .eyebrow {
    color: var(--blue-soft);
}

.title {
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    color: var(--navy);
}

.section-dark .title {
    color: #fff;
}

.lead {
    color: var(--muted);
    font-size: 1.05rem;
}

.section-dark .lead {
    color: #cfe0fb;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    margin: 0;
    background: var(--blue);
    color: #fff;
    border: 2px solid var(--blue);
    border-radius: 999px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

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

.btn-light {
    background: #fff;
    border-color: #fff;
    color: var(--navy);
}

.btn-light:hover {
    background: var(--sky-deep);
    border-color: var(--sky-deep);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--blue);
}

.btn-outline:hover {
    background: var(--sky);
    color: var(--blue-dark);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.88rem;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-row.center {
    justify-content: center;
}

/* =====================================================
   LOGO INTRO (home page only)
   ===================================================== */
#intro {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-deep);
    opacity: 1;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    animation: introFailsafe 0.6s ease 7s forwards;
}

#intro.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#intro video {
    display: block;
    width: min(72vw, 440px);
    height: auto;
    mix-blend-mode: screen;
    -webkit-mask-image: radial-gradient(closest-side, #000 64%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 64%, transparent 100%);
}

#intro .intro-fallback {
    display: none;
    width: min(55vw, 260px);
    height: auto;
    animation: introPop 1.2s ease both;
}

#intro.no-video video {
    display: none;
}

#intro.no-video .intro-fallback {
    display: block;
}

.skip-intro #intro {
    display: none;
}

@keyframes introPop {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes introFailsafe {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/* =====================================================
   HEADER AND MENU
   ===================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 0;
    transition: padding 0.3s;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(7, 20, 51, 0.72), rgba(7, 20, 51, 0));
    transition: background 0.3s;
    z-index: -1;
}

.site-header.scrolled {
    padding: 8px 0;
}

.site-header.scrolled::before {
    background: rgba(11, 31, 77, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(7, 20, 51, 0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: block;
    line-height: 0;
}

.brand img {
    height: 50px;
    width: auto;
    transition: height 0.3s;
}

.site-header.scrolled .brand img {
    height: 40px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    position: relative;
    padding: 8px 14px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    background: var(--blue-soft);
    transform: scaleX(0);
    transition: transform 0.25s;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.main-nav a.btn {
    margin-left: 10px;
    padding: 8px 20px;
    border: 2px solid var(--blue);
    color: #fff;
}

.main-nav a.btn::after {
    display: none;
}

.menu-toggle,
.menu-close,
.menu-overlay {
    display: none;
}

/* =====================================================
   HOME BANNER
   ===================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: min(80vh, 700px);
    padding: 130px 0 70px;
    color: #fff;
    background-color: var(--navy);
    background-image:
        linear-gradient(180deg, rgba(7, 20, 51, 0.6) 0%, rgba(7, 20, 51, 0.82) 100%),
        url("pics/anni.jpg");
    background-size: cover;
    background-position: center;
}

.hero .wrap {
    width: 100%;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: clamp(2.1rem, 5.2vw, 3.7rem);
    color: #fff;
}

.hero .hero-text {
    max-width: 560px;
    margin-bottom: 30px;
    color: #e3edff;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero h1,
.hero .hero-text,
.hero .btn-row {
    animation: fadeUp 0.9s ease both;
}

.hero .hero-text {
    animation-delay: 0.15s;
}

.hero .btn-row {
    animation-delay: 0.3s;
}

/* Banner for the inner pages */
.page-hero {
    padding: 130px 0 56px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #17449a 100%);
}

.page-hero h1 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 5vw, 3.1rem);
    color: #fff;
}

.page-hero p {
    max-width: 620px;
    margin: 0 auto;
    color: #d6e4ff;
    font-size: 1.05rem;
}

/* =====================================================
   SERVICE TIMES STRIP
   ===================================================== */
.times {
    padding: 34px 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.times-label {
    margin: 0 0 18px;
    text-align: center;
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.times-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.time {
    display: flex;
    flex-direction: column;
    padding: 6px 0 6px 16px;
    border-left: 3px solid var(--blue-soft);
    line-height: 1.45;
}

.time .day {
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.time strong {
    color: var(--navy);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.time .hrs {
    color: var(--muted);
    font-size: 0.88rem;
}

/* =====================================================
   CARDS AND GRIDS
   ===================================================== */
.card {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card h3 {
    color: var(--navy);
    font-size: 1.35rem;
}

.card p:last-child {
    margin-bottom: 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    background: var(--sky-deep);
    border-radius: 14px;
    color: var(--blue);
}

.icon svg {
    width: 26px;
    height: 26px;
}

.step-card .btn {
    margin-top: 8px;
}

/* =====================================================
   TWO-COLUMN BLOCKS (text beside a photo)
   ===================================================== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

.split.reverse .split-media {
    order: -1;
}

.split-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.split-media.portrait img {
    max-width: 380px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    object-position: center top;
}

.quote {
    margin: 22px 0;
    padding: 6px 0 6px 20px;
    border-left: 4px solid var(--blue);
    color: var(--navy);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    line-height: 1.4;
}

/* =====================================================
   MEET OUR LEADER
   ===================================================== */
.leader {
    max-width: 760px;
    margin: 0 auto;
}

.leader img {
    width: 300px;
    max-width: 100%;
    margin: 0 auto 26px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.leader h3 {
    margin-bottom: 18px;
    text-align: center;
    color: var(--navy);
    font-size: 1.8rem;
}

/* =====================================================
   VIDEO
   ===================================================== */
.video-frame {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--navy);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =====================================================
   EVENTS
   ===================================================== */
.event-soon {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.past-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.past-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.past-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(22, 75, 176, 0.2);
}

.past-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: center 20%;
}

.past-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.past-date {
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.past-body h3 {
    margin: 6px 0;
    color: var(--navy);
    font-size: 1.2rem;
}

.past-body p {
    color: var(--muted);
    font-size: 0.92rem;
}

.past-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

/* =====================================================
   12TH ANNIVERSARY GALLERY AND CAMP PHOTOS
   ===================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.gallery-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center 15%;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(22, 75, 176, 0.25);
}

.camp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.camp-grid img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: center 20%;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.camp-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(22, 75, 176, 0.25);
}

.camp-address {
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
    color: var(--muted);
}

.camp-address strong {
    color: var(--navy);
}

/* =====================================================
   PHOTO VIEWER
   ===================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(5, 12, 32, 0.95);
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.5);
}

.lightbox button {
    position: absolute;
    padding: 10px 18px;
    margin: 0;
    background: transparent;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

.lightbox button:hover {
    background: rgba(143, 186, 255, 0.25);
}

#lightbox-close {
    top: 18px;
    right: 22px;
}

#lightbox-prev {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

#lightbox-next {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

/* =====================================================
   WHO WE ARE
   ===================================================== */
.who-card {
    border-top: 4px solid var(--blue);
}

.who-card h3 {
    font-size: 1.5rem;
}

/* =====================================================
   GIVING
   ===================================================== */
.accounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 820px;
    margin: 36px auto 0;
    animation: fadeUp 0.5s ease both;
}

.account-card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--blue);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.account-card h3 {
    color: var(--navy);
    font-size: 1.4rem;
}

.account-card p {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.92rem;
}

.account-number {
    color: var(--navy);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.3;
}

.copy-btn {
    margin-top: 10px;
    padding: 7px 16px;
    background: transparent;
    color: var(--blue);
    border: 1.5px solid var(--blue);
    border-radius: 999px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.25s;
}

.copy-btn:hover {
    background: var(--sky);
}

.accounts-note {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.92rem;
}

/* =====================================================
   PRAYER, CONTACT, SOCIAL LINKS
   ===================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 920px;
    margin: 0 auto;
}

.contact-card p {
    color: var(--muted);
}

.contact-card strong {
    color: var(--navy);
}

.contact-card a {
    color: var(--blue);
    text-decoration: none;
    word-break: break-word;
}

.contact-card a:hover {
    text-decoration: underline;
}

.map-wrap {
    max-width: 920px;
    height: 360px;
    margin: 30px auto 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(143, 186, 255, 0.55);
    border-radius: 50%;
    color: #dbe8ff;
    text-decoration: none;
    transition: background-color 0.25s, color 0.25s;
}

.social-links a:hover {
    background: rgba(143, 186, 255, 0.22);
    color: #fff;
}

.cta-band {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.cta-box {
    padding: 34px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(143, 186, 255, 0.35);
    border-radius: var(--radius);
}

.cta-box h3 {
    color: #fff;
    font-size: 1.5rem;
}

.cta-box p {
    color: #cfe0fb;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    padding: 56px 0 24px;
    background: var(--navy-deep);
    color: #cfe0fb;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    height: 64px;
    width: auto;
    margin-bottom: 14px;
}

.site-footer h3 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 1.1rem;
}

.site-footer p {
    font-size: 0.92rem;
}

.site-footer a {
    color: #cfe0fb;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.copyright {
    margin: 40px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(143, 186, 255, 0.25);
    text-align: center;
    font-size: 0.85rem;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* =====================================================
   TABLETS (900px wide or less): the three-line menu
   ===================================================== */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 48px;
        height: 44px;
        padding: 0;
        margin: 0;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.55);
        border-radius: 10px;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
    }

    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 1;
        display: block;
        background: rgba(5, 12, 32, 0.55);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

    .menu-overlay.open {
        opacity: 1;
        visibility: visible;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 2;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 320px;
        max-width: 86vw;
        height: 100%;
        padding: 84px 26px 28px;
        overflow-y: auto;
        background: #fff;
        box-shadow: -12px 0 40px rgba(5, 12, 32, 0.3);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.35s ease, visibility 0.35s;
    }

    .main-nav.open {
        transform: none;
        visibility: visible;
    }

    .main-nav a {
        padding: 15px 4px;
        color: var(--navy);
        font-size: 1.05rem;
        border-bottom: 1px solid var(--line);
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a:hover,
    .main-nav a[aria-current="page"] {
        color: var(--blue);
    }

    .main-nav a.btn {
        margin: 22px 0 0;
        padding: 12px 20px;
        color: #fff;
        border: 2px solid var(--blue);
    }

    .main-nav a.btn:hover {
        color: #fff;
    }

    .menu-close {
        position: absolute;
        top: 18px;
        right: 18px;
        display: block;
        padding: 2px 12px;
        margin: 0;
        background: transparent;
        color: var(--navy);
        border: 0;
        border-radius: 8px;
        font-size: 36px;
        line-height: 1;
        cursor: pointer;
    }

    .menu-close:hover {
        background: var(--sky);
    }

    .past-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =====================================================
   SMALL TABLETS AND PHONES (800px wide or less)
   ===================================================== */
@media (max-width: 800px) {
    .split {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .split.reverse .split-media {
        order: 0;
    }

    /* Text beside the photo stays side by side */
    .split.keep {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .contact-grid,
    .cta-band {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   PHONES (600px wide or less)
   ===================================================== */
@media (max-width: 600px) {
    body {
        font-size: 15px;
    }

    .wrap {
        padding: 0 16px;
    }

    .section {
        padding: 52px 0;
    }

    .section-head {
        margin-bottom: 30px;
    }

    .brand img {
        height: 42px;
    }

    .site-header.scrolled .brand img {
        height: 36px;
    }

    /* Banner: height follows the content, so the photo is never stretched long */
    .hero {
        min-height: 0;
        padding: 104px 0 52px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .page-hero {
        padding: 104px 0 40px;
    }

    .btn-row .btn {
        padding: 11px 22px;
    }

    /* Service times: two columns, last one centered */
    .times {
        padding: 26px 0;
    }

    .times-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .time:last-child {
        grid-column: 1 / -1;
    }

    .time strong {
        font-size: 1rem;
    }

    /* Text beside the photo */
    .split.keep p {
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .split.keep .title {
        font-size: 1.4rem;
    }

    .split.keep .quote {
        font-size: 1rem;
    }

    /* Vision and Mission side by side, Target underneath */
    .who-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .who-grid .who-card:last-child {
        grid-column: 1 / -1;
    }

    .who-card {
        padding: 16px;
    }

    .who-card h3 {
        font-size: 1.15rem;
    }

    .who-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Events */
    .past-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .past-card img {
        height: 180px;
    }

    /* Anniversary gallery: 3 per row */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .gallery-grid img {
        height: 110px;
        border-radius: 6px;
    }

    /* Camp photos: 2 per row */
    .camp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .camp-grid img {
        height: 150px;
    }

    /* Account details side by side */
    .accounts {
        gap: 10px;
        margin-top: 26px;
    }

    .account-card {
        min-width: 0;
        padding: 14px 10px;
    }

    .account-card h3 {
        font-size: 1.05rem;
    }

    .account-card p {
        font-size: 0.74rem;
        line-height: 1.4;
    }

    .account-card .account-number {
        font-size: 1.02rem;
        letter-spacing: 0.4px;
    }

    .copy-btn {
        padding: 6px 10px;
        font-size: 0.7rem;
    }

    .card {
        padding: 22px;
    }

    .cta-box {
        padding: 24px;
    }

    .map-wrap {
        height: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .lightbox button {
        padding: 8px 12px;
        font-size: 30px;
    }

    #lightbox-prev {
        left: 4px;
    }

    #lightbox-next {
        right: 4px;
    }
}

/* =====================================================
   FOR VISITORS WHO PREFER LESS MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    #intro {
        display: none;
    }

    .reveal,
    .hero h1,
    .hero .hero-text,
    .hero .btn-row,
    .accounts {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* =====================================================
   BOOKS CAROUSEL
   ===================================================== */
.books {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 56px;
}

.books-window {
    overflow: hidden;
}

.books-track {
    display: flex;
    transition: transform 0.6s ease;
}

.book-slide {
    flex: 0 0 100%;
    text-align: center;
    padding: 4px 8px 8px;
}

.book-slide img {
    display: block;
    margin: 0 auto 18px;
    max-width: 100%;
    max-height: 380px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: zoom-in;
}

.book-slide h3 {
    margin-bottom: 4px;
    color: var(--navy);
}

.book-by {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 0.9rem;
}

.books-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--blue);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.books-arrow:hover {
    background: var(--blue);
    color: #fff;
}

.books-prev { left: 0; }
.books-next { right: 0; }

.books-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.books-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
}

.books-dots button.active {
    background: var(--blue);
    transform: scale(1.3);
}

@media (max-width: 600px) {
    .books { padding: 0 40px; }
    .books-arrow { width: 36px; height: 36px; font-size: 15px; }
    .book-slide img { max-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
    .books-track { transition: none; }
}

/* =====================================================
   UPCOMING EVENTS
   ===================================================== */
.up-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.up-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.up-card img {
    display: block;
    width: 100%;
    height: auto;
    cursor: zoom-in;
}

.up-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
}

.up-body h3 {
    margin: 6px 0 2px;
    color: var(--navy);
}

.up-sub {
    margin-bottom: 10px;
    color: var(--blue);
    font-weight: 600;
}

.up-info {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    color: var(--ink);
}

.up-info li {
    margin-bottom: 4px;
}

.up-online {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 0.9rem;
}

.up-body .btn {
    margin-top: auto;
}

.center-link {
    margin-top: 28px;
    text-align: center;
}

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

/* Round icons inside white cards */
.contact-card .social-links {
    margin-top: 14px;
}

.contact-card .social-links a {
    border-color: var(--line);
    background: var(--sky);
    color: var(--blue);
}

.contact-card .social-links a:hover {
    background: var(--blue);
    color: #fff;
}
