/* ============================================
   The River Church — Stylesheet (Refined Editorial)
   Drop-in replacement for css/styles.css
   Same class names; modernized visuals.
   ============================================ */

:root {
    --color-bg: #ffffff;
    --color-bg-light: #f7f4ee;
    --color-bg-dark: #0b0b0c;
    --color-bg-darker: #060607;
    --color-bg-accent: #3b4f4c;
    --color-bg-sage: #afc4bf;
    --color-text: #15161a;
    --color-text-muted: #5e6168;
    --color-text-light: #f5f2ec;
    --color-accent: #cfa861;
    --color-accent-hover: #b8924c;
    --color-accent-deep: #755827;
    --color-border: #e8e2d4;
    --max-width: 1200px;
    --radius: 10px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow: 0 14px 40px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.28);
    --transition: 250ms cubic-bezier(.2,.7,.2,1);
    --font-heading: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    --font-display: 'Abel', 'Oswald', sans-serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

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

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: 0.005em;
    color: inherit;
}

h1 {
    font-size: clamp(2.4rem, 5.2vw, 4.25rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.75rem);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.015em;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5em;
}

h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-family: var(--font-display);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   Announcement bar
   ============================================ */
.announcement-bar {
    background: linear-gradient(90deg, var(--color-accent-deep), var(--color-accent) 50%, var(--color-accent-deep));
    color: var(--color-bg-dark);
    text-align: center;
    padding: 0.65rem 1rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

    .announcement-bar a {
        color: var(--color-bg-dark);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

/* ============================================
   Header
   ============================================ */
.site-header {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: saturate(140%) blur(6px);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    min-height: 120px;
}

.logo {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo img {
        height: 96px;
        width: auto;
        max-height: 14vh;
        transition: transform var(--transition);
    }

    .logo:hover img {
        transform: scale(1.03);
    }

.main-nav {
    grid-column: 1;
}

    .main-nav ul {
        list-style: none;
        display: flex;
        gap: 2rem;
        align-items: center;
        flex-wrap: wrap;
    }

    .main-nav a {
        color: var(--color-text-light);
        font-family: var(--font-display);
        font-weight: 400;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        position: relative;
        padding: 0.4rem 0;
    }

        .main-nav a::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 1px;
            background: var(--color-accent);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform var(--transition);
        }

        .main-nav a:hover, .main-nav a.active {
            color: var(--color-accent);
        }

            .main-nav a:hover::after, .main-nav a.active::after {
                transform: scaleX(1);
            }

.header-right {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
}

.social-icons {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

    .social-icons a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.2);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--color-text-light);
        transition: var(--transition);
        transition-property: background, color, border-color, transform;
    }

        .social-icons a:hover {
            background: var(--color-accent);
            border-color: var(--color-accent);
            color: var(--color-bg-dark);
            transform: translateY(-2px);
        }

    .social-icons svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
    }

.header-cta {
    background: var(--color-accent);
    color: var(--color-bg-dark);
    padding: 0.8rem 1.75rem;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 0 8px 20px -8px rgba(207,168,97,0.6);
    transition: var(--transition);
    transition-property: background, transform, box-shadow;
}

    .header-cta:hover {
        background: var(--color-accent-hover);
        color: var(--color-bg-dark);
        transform: translateY(-2px);
        box-shadow: 0 12px 28px -10px rgba(207,168,97,0.7);
    }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

    .menu-toggle span {
        display: block;
        width: 26px;
        height: 2px;
        background: var(--color-text-light);
        border-radius: 2px;
        transition: var(--transition);
    }

/* ============================================
   Hero — clean overlay, no gold double-border frame
   ============================================ */
.hero {
    position: relative;
    background: linear-gradient(180deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0.65) 60%, rgba(10,10,12,0.85) 100%), url('../site/images/hero-river.png') center/cover no-repeat;
    color: var(--color-text-light);
    padding: 7rem 1.5rem 8rem;
    text-align: center;
    overflow: hidden;
}

.hero-home {
    min-height: 86vh;
    display: flex;
    align-items: center;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

/* Drop double border; keep selector for HTML compat */
.hero-frame {
    max-width: 880px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    backdrop-filter: none;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
}

    .hero-content > * {
        animation: fadeUp 800ms cubic-bezier(.2,.7,.2,1) both;
    }

        .hero-content > *:nth-child(2) {
            animation-delay: 120ms;
        }

        .hero-content > *:nth-child(3) {
            animation-delay: 240ms;
        }

    .hero-content h1 {
        font-size: clamp(2.6rem, 6.8vw, 5.25rem);
        font-weight: 600;
        letter-spacing: 0.04em;
        margin-bottom: 1.5rem;
        text-shadow: 0 2px 24px rgba(0,0,0,0.45);
    }

    .hero-content p {
        font-size: clamp(1.05rem, 1.3vw, 1.2rem);
        opacity: 0.94;
        margin: 0 auto 2.25rem;
        max-width: 620px;
        line-height: 1.7;
    }

.accent {
    color: var(--color-accent);
}

.hero-buttons {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: var(--transition);
    transition-property: background, color, border-color, transform, box-shadow;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg-dark);
    border-color: var(--color-accent);
    box-shadow: 0 8px 20px -8px rgba(207,168,97,0.6);
}

    .btn-primary:hover {
        background: var(--color-accent-hover);
        border-color: var(--color-accent-hover);
        color: var(--color-bg-dark);
        transform: translateY(-2px);
        box-shadow: 0 14px 30px -10px rgba(207,168,97,0.75);
    }

.btn-secondary {
    background: transparent;
    color: var(--color-text-light);
    border-color: rgba(255,255,255,0.65);
}

    .btn-secondary:hover {
        background: var(--color-text-light);
        color: var(--color-bg-dark);
        transform: translateY(-2px);
    }

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 6rem 0;
}

.section-light {
    background: var(--color-bg-light);
}

.section-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.section-accent {
    background: var(--color-bg-accent);
    color: var(--color-text-light);
}

    .section-dark h1, .section-dark h2, .section-dark h3,
    .section-accent h1, .section-accent h2, .section-accent h3 {
        color: var(--color-text-light);
    }

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

    .section-header .label,
    .label {
        display: inline-block;
        font-family: var(--font-display);
        text-transform: uppercase;
        letter-spacing: 0.24em;
        color: var(--color-accent);
        font-size: 0.8rem;
        font-weight: 600;
        margin-bottom: 0.85rem;
        position: relative;
        padding-bottom: 0.6rem;
    }

        .section-header .label::after,
        .label::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            width: 28px;
            height: 1px;
            background: var(--color-accent);
            transform: translateX(-50%);
        }

    .section-header p {
        color: var(--color-text-muted);
        font-size: 1.05rem;
    }

.section-dark .section-header p, .section-accent .section-header p {
    color: rgba(255,255,255,0.78);
}

/* ============================================
   Wave divider — softened, single subtle curve
   ============================================ */
:root {
    --wave-h: 48px;
}

.wave-divider {
    display: block;
    width: 100%;
    height: 0;
    margin: 0;
    position: relative;
    z-index: 4;
    pointer-events: none;
}

    .wave-divider svg {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(-1 * var(--wave-h));
        height: var(--wave-h);
        width: 100%;
        overflow: visible;
        opacity: 0.7;
    }

/* The wave is a true cut between adjacent sections: the upper section's
   bottom edge follows the wave curve, the lower section's top follows
   the inverse curve, and they slot together along the gold stroke. */
.wave-bottom {
    -webkit-mask-image:
        linear-gradient(black, black),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'><path d='M0,24 C240,48 480,0 720,24 C960,48 1200,0 1440,24 L1440,0 L0,0 Z' fill='black'/></svg>");
            mask-image:
        linear-gradient(black, black),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'><path d='M0,24 C240,48 480,0 720,24 C960,48 1200,0 1440,24 L1440,0 L0,0 Z' fill='black'/></svg>");
    -webkit-mask-position: top left, bottom left;
            mask-position: top left, bottom left;
    -webkit-mask-size: 100% calc(100% - var(--wave-h)), 100% var(--wave-h);
            mask-size: 100% calc(100% - var(--wave-h)), 100% var(--wave-h);
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    padding-bottom: calc(var(--wave-h) + 4rem);
}

.wave-top {
    -webkit-mask-image:
        linear-gradient(black, black),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'><path d='M0,24 C240,48 480,0 720,24 C960,48 1200,0 1440,24 L1440,48 L0,48 Z' fill='black'/></svg>");
            mask-image:
        linear-gradient(black, black),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'><path d='M0,24 C240,48 480,0 720,24 C960,48 1200,0 1440,24 L1440,48 L0,48 Z' fill='black'/></svg>");
    -webkit-mask-position: bottom left, top left;
            mask-position: bottom left, top left;
    -webkit-mask-size: 100% calc(100% - var(--wave-h)), 100% var(--wave-h);
            mask-size: 100% calc(100% - var(--wave-h)), 100% var(--wave-h);
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    margin-top: calc(-1 * var(--wave-h));
    padding-top: calc(var(--wave-h) + 4rem);
    position: relative;
    z-index: 0;
}

/* ============================================
   Curve shape-divider — per-shape mask overrides
   ============================================
   Behaves like wave_divider but with a curve path: the upper section's
   bottom edge follows the curve, the lower section's top edge follows
   the same curve (so they tile seamlessly), and the divider renders
   just a hairline gold stroke along the seam. No thick fill band. */
.wave-bottom.mask-shape-curve {
    --wave-h: 80px;
    -webkit-mask-image:
        linear-gradient(black, black),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0,0 L1440,0 L1440,80 Q720,0 0,80 Z' fill='black'/></svg>");
            mask-image:
        linear-gradient(black, black),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0,0 L1440,0 L1440,80 Q720,0 0,80 Z' fill='black'/></svg>");
}

/* Lower neighbor: mask covers only the area BELOW the same curve, so
   the form's top edge tiles perfectly against the hero's curved
   bottom — no gap, no thick fill band between them. */
.wave-top.mask-shape-curve {
    --wave-h: 80px;
    -webkit-mask-image:
        linear-gradient(black, black),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0,80 Q720,0 1440,80 L1440,80 L0,80 Z' fill='black'/></svg>");
            mask-image:
        linear-gradient(black, black),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0,80 Q720,0 1440,80 L1440,80 L0,80 Z' fill='black'/></svg>");
    -webkit-mask-position: bottom left, top left;
            mask-position: bottom left, top left;
    -webkit-mask-size: 100% calc(100% - var(--wave-h)), 100% var(--wave-h);
            mask-size: 100% calc(100% - var(--wave-h)), 100% var(--wave-h);
    margin-top: calc(-1 * var(--wave-h));
    padding-top: calc(var(--wave-h) + 4rem);
    position: relative;
    z-index: 0;
}

/* The curve divider renders just a thin gold stroke along the seam
   between the two masked sections — matches the wave_divider's
   visual language (decorative line, not a colored band). The
   shape-divider block emits the path with `fill="#cfa861"` by
   default; override to stroke-only here so the underlying mask
   cut-out tiles cleanly without a visible fill on top. */
.shape-divider-curve {
    height: 0;
    margin: 0;
    position: relative;
    z-index: 4;
    pointer-events: none;
}

    .shape-divider-curve svg {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(-1 * 80px);
        height: 80px;
        width: 100%;
        overflow: visible;
        opacity: 0.7;
    }

    .shape-divider-curve svg path {
        fill: none !important;
        stroke: #cfa861;
        stroke-width: 2;
    }

/* ============================================
   Service Times
   ============================================ */
.service-block {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 6rem 0 7rem;
}

.service-row {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 4.5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 5rem;
    padding: 0 1.5rem;
}

.service-row-flip {
    grid-template-columns: 6fr 5fr;
}

    .service-row-flip .service-row__media {
        order: 2;
    }

.live-card {
    display: block;
    text-align: center;
    text-decoration: none;
    color: var(--color-text-light);
}

    .live-card h3 {
        font-family: var(--font-heading);
        font-size: clamp(1.3rem, 1.9vw, 1.7rem);
        margin-bottom: 1.25rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-weight: 500;
    }

    .live-card .live-thumb {
        border-radius: 16px;
        overflow: hidden;
        aspect-ratio: 16 / 9;
        background: #000;
        box-shadow: var(--shadow-lg);
        transition: transform var(--transition), box-shadow var(--transition);
        position: relative;
    }

        .live-card .live-thumb::after {
            content: '';
            position: absolute;
            inset: 0;
            border: 1px solid rgba(207,168,97,0.25);
            border-radius: inherit;
            pointer-events: none;
        }

        .live-card .live-thumb img,
        .live-card .live-thumb iframe {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border: 0;
            display: block;
        }

    .live-card:hover .live-thumb {
        transform: translateY(-4px);
        box-shadow: 0 36px 90px rgba(0,0,0,0.45);
    }

    .live-card h3 a {
        color: inherit;
        text-decoration: none;
    }

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

.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-card {
    border: 1px solid rgba(207,168,97,0.35);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.025);
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

    .accordion-card:hover {
        border-color: rgba(207,168,97,0.6);
        background: rgba(255,255,255,0.04);
    }

    .accordion-card[open] {
        background: rgba(255,255,255,0.045);
    }

    .accordion-card summary {
        list-style: none;
        cursor: pointer;
        padding: 1.4rem 1.75rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

        .accordion-card summary::-webkit-details-marker {
            display: none;
        }

        .accordion-card summary h2 {
            font-family: var(--font-heading);
            font-size: clamp(1.2rem, 1.8vw, 1.5rem);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            font-weight: 500;
            margin: 0;
            color: var(--color-text-light);
        }

.accordion-chev {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    transform: rotate(45deg);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-right: 4px;
}

.accordion-card[open] .accordion-chev {
    transform: rotate(-135deg);
}

.accordion-body {
    padding: 0 1.75rem 1.5rem;
    color: rgba(255,255,255,0.82);
    border-top: 1px solid rgba(207,168,97,0.18);
    padding-top: 1.25rem;
}

    .accordion-body p {
        font-size: 0.98rem;
        line-height: 1.7;
        margin-bottom: 0.5rem;
    }

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

    .accordion-body .when {
        display: inline-block;
        margin-top: 0.85rem;
        font-family: var(--font-display);
        font-size: 0.9rem;
        color: var(--color-accent);
        text-transform: uppercase;
        letter-spacing: 0.14em;
    }

.rounded-photo {
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-lg);
    position: relative;
}

    .rounded-photo::after {
        content: '';
        position: absolute;
        inset: 0;
        border: 1px solid rgba(207,168,97,0.2);
        border-radius: inherit;
        pointer-events: none;
    }

    .rounded-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 700ms ease;
    }

    .rounded-photo:hover img {
        transform: scale(1.04);
    }

.inline-values {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

    .inline-values p {
        font-family: var(--font-heading);
        font-size: clamp(1.5rem, 2.6vw, 2.1rem);
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin: 0;
        line-height: 1.15;
        color: var(--color-text-light);
    }

        .inline-values p .sep {
            display: inline-block;
            margin: 0 0.5em;
            color: var(--color-accent);
            font-weight: 300;
        }

/* ============================================
   Invitation block — clean card, no double border
   ============================================ */
.section-river {
    position: relative;
    background: linear-gradient(rgba(10,10,12,0.6), rgba(10,10,12,0.78)), url('../site/images/hero-river.png') center/cover no-repeat;
    color: var(--color-text-light);
    padding: 7rem 1.5rem;
    overflow: hidden;
}

.invitation {
    max-width: 880px;
    margin: 0 auto;
    text-align: left;
    padding: 3.5rem 3rem;
    border: 0;
    outline: 0;
    background: rgba(10,10,12,0.4);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
    position: relative;
}

    .invitation::before {
        content: '';
        position: absolute;
        left: 3rem;
        top: 0;
        width: 48px;
        height: 2px;
        background: var(--color-accent);
    }

    .invitation h2,
    .invitation p {
        font-family: var(--font-heading);
        font-size: clamp(1.3rem, 2.2vw, 1.7rem);
        font-weight: 500;
        margin-bottom: 1rem;
        color: var(--color-text-light);
        text-transform: none;
        letter-spacing: 0.01em;
        line-height: 1.3;
    }

        .invitation h2 {
            font-size: clamp(1.9rem, 3.4vw, 2.75rem);
            font-weight: 600;
            margin-bottom: 1.5rem;
            letter-spacing: 0.005em;
        }

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

/* ============================================
   Galleries
   ============================================ */
.gallery-strip,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--color-bg-dark);
}

    .gallery-strip .gallery-item,
    .gallery-grid .gallery-item {
        overflow: hidden;
        aspect-ratio: 4 / 3;
        position: relative;
    }

        .gallery-strip .gallery-item img,
        .gallery-grid .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 600ms ease, filter 600ms ease;
            display: block;
            filter: saturate(0.95);
        }

        .gallery-strip .gallery-item:hover img,
        .gallery-grid .gallery-item:hover img {
            transform: scale(1.05);
            filter: saturate(1.05);
        }

/* ============================================
   Three-card section
   ============================================ */
.three-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.three-card {
    text-align: center;
    transition: transform var(--transition);
}

.three-card-icon {
    width: 168px;
    height: 168px;
    margin: 0 auto 1.75rem;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(207,168,97,0.6);
    transition: var(--transition);
    transition-property: transform, border-color, box-shadow;
    position: relative;
}

    .three-card-icon::after {
        content: '';
        position: absolute;
        inset: -8px;
        border: 1px solid rgba(207,168,97,0.15);
        border-radius: 50%;
        transition: inset var(--transition), border-color var(--transition);
    }

.three-card:hover .three-card-icon::after {
    inset: -12px;
    border-color: rgba(207,168,97,0.35);
}

.three-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

    .three-card-icon img.contain {
        object-fit: contain;
        padding: 1rem;
    }

.three-card-icon-blue {
    background: #2680C2;
    border-color: #2680C2;
}

.three-card-icon-gold {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg-dark);
}

.give-heart {
    font-size: 80px;
    line-height: 1;
    color: var(--color-text-light);
}

.three-card:hover .three-card-icon {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 18px 40px -18px rgba(207,168,97,0.6);
}

.three-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.three-card .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.8rem;
}

/* ============================================
   Calendar callout
   ============================================ */
.calendar-callout {
    text-align: center;
    padding: 1rem 0 2.5rem;
}

    .calendar-callout h1 {
        font-size: clamp(2rem, 4vw, 3rem);
        margin: 0;
        color: var(--color-accent);
        text-shadow: 0 2px 14px rgba(0,0,0,0.5);
        transition: color var(--transition);
        letter-spacing: 0.05em;
    }

    .calendar-callout a:hover h1 {
        color: var(--color-accent-hover);
    }

.calendar-embed {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(207,168,97,0.5);
    color: var(--color-text);
}

    .calendar-embed iframe {
        width: 100%;
        border: 0;
        display: block;
    }

/* ============================================
   Tagline
   ============================================ */
.tagline {
    text-align: center;
    padding: 3.5rem 0;
}

    .tagline h1 {
        font-size: clamp(2rem, 4.5vw, 3.25rem);
        color: var(--color-accent);
        margin: 0;
        letter-spacing: 0.06em;
    }

.section-light .tagline h1 {
    color: var(--color-bg-accent);
}

/* ============================================
   About page
   ============================================ */
.about-section {
    padding: 5.5rem 0;
}

    .about-section h1 {
        font-size: clamp(1.85rem, 3.2vw, 2.5rem);
        text-align: left;
        margin: 0 auto 2.5rem;
        max-width: 1100px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        font-weight: 500;
    }

.about-row {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 3.5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-row-reverse {
    grid-template-columns: 6fr 5fr;
}

    .about-row-reverse .about-image {
        order: 2;
    }

.about-image img {
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.section-dark .about-text p, .section-accent .about-text p {
    color: rgba(255,255,255,0.86);
}

.about-when {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.6rem 1.25rem;
    background: var(--color-accent);
    color: var(--color-bg-dark);
    font-family: var(--font-display);
    font-weight: 600;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
}

/* ============================================
   Beliefs grid
   ============================================ */
.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.belief-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.85rem;
    border-radius: 14px;
    transition: var(--transition);
    transition-property: background, border-color, transform;
}

    .belief-card:hover {
        background: rgba(255,255,255,0.06);
        border-color: rgba(207,168,97,0.4);
        transform: translateY(-2px);
    }

    .belief-card h2 {
        font-size: 1.15rem;
        color: var(--color-accent);
        margin-bottom: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        font-weight: 500;
    }

    .belief-card p {
        font-size: 0.95rem;
        opacity: 0.88;
        margin: 0;
        line-height: 1.65;
    }

/* ============================================
   Spotify
   ============================================ */
.spotify-block {
    padding: 3rem 0 2rem;
}

.spotify-embed {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .spotify-embed iframe {
        display: block;
        border: 0;
        border-radius: 14px;
    }

/* ============================================
   Sermons Page
   ============================================ */
.sermons-intro {
    text-align: center;
    padding: 5rem 1.5rem 5.5rem;
}

.sermons-h1 {
    color: var(--color-bg-dark);
    text-transform: uppercase;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.85rem;
    letter-spacing: 0.04em;
}

.sermons-h2 {
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    text-transform: none;
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
}

.sermons-platforms {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

    .sermons-platforms .btn {
        padding: 0.85rem 1.85rem;
        font-size: 0.8rem;
    }

.platform-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.platform-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 1.85rem 1.25rem;
    border-radius: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: var(--color-text-light);
    transition: var(--transition);
    transition-property: background, color, border-color, transform;
}

    .platform-card:hover {
        background: var(--color-accent);
        color: var(--color-bg-dark);
        border-color: var(--color-accent);
        transform: translateY(-3px);
    }

.platform-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.platform-cta {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.sermon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    max-width: 1280px;
    margin: 0 auto;
}

.sermon-card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-light);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    transition-property: transform, box-shadow;
    text-decoration: none;
    color: var(--color-text);
}

    .sermon-card:hover {
        transform: translateY(-5px);
        color: var(--color-text);
        box-shadow: var(--shadow);
    }

.sermon-thumb {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-bg-dark);
}

    .sermon-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 600ms ease;
    }

.sermon-card:hover .sermon-thumb img {
    transform: scale(1.05);
}

.sermon-meta {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
}

.sermon-category {
    font-family: var(--font-display);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-accent);
    font-weight: 600;
}

.sermon-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-bg-dark);
    line-height: 1.3;
}

.sermon-date {
    font-family: var(--font-display);
    font-size: 0.82rem;
    color: var(--color-text-muted);
    letter-spacing: 0.06em;
}

.sermon-readmore {
    display: none;
}

.archive-note {
    text-align: center;
    margin-top: 3rem;
}

    .archive-note a {
        font-family: var(--font-display);
        text-transform: uppercase;
        letter-spacing: 0.16em;
        font-weight: 600;
        font-size: 0.85rem;
    }

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--color-bg-darker);
    color: var(--color-text-light);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

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

.site-footer p, .site-footer a {
    font-size: 0.92rem;
    line-height: 1.7;
}

.site-footer h4 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
}

.site-footer a {
    color: rgba(255,255,255,0.78);
}

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

.social-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    opacity: 0.6;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1100px) {
    .sermon-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 960px) {
    .three-card-grid, .platform-row, .gallery-grid, .gallery-strip, .sermon-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .service-row, .service-row-flip {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 4rem;
    }

        .service-row-flip .service-row__media {
            order: 0;
        }

    .about-row, .about-row-reverse {
        grid-template-columns: 1fr;
    }

        .about-row-reverse .about-image {
            order: 0;
        }

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

    .header-inner {
        grid-template-columns: auto 1fr auto;
        min-height: 84px;
        padding: 0.6rem 1.25rem;
    }

    .logo {
        grid-column: 2;
        justify-content: center;
    }

        .logo img {
            height: 56px;
        }

    .main-nav {
        grid-column: 1;
    }

    .header-right {
        grid-column: 3;
    }

    .social-icons {
        display: none;
    }

    .section {
        padding: 4.5rem 0;
    }
}

@media (max-width: 720px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
        min-height: 72px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg-dark);
        padding: 1.25rem 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.35);
        grid-column: 1 / -1;
        border-top: 1px solid rgba(255,255,255,0.06);
    }

        .main-nav.is-open {
            display: block;
        }

        .main-nav ul {
            flex-direction: column;
            gap: 1rem;
            align-items: flex-start;
        }

        .main-nav a {
            font-size: 1.05rem;
        }

    .menu-toggle {
        display: flex;
        grid-column: 1;
    }

    .logo {
        grid-column: 2;
    }

        .logo img {
            height: 48px;
        }

    .header-cta-desktop {
        display: none;
    }

    .header-right {
        grid-column: 3;
        gap: 0.5rem;
    }

    .header-cta {
        padding: 0.65rem 1.25rem;
        font-size: 0.78rem;
    }

    .hero {
        padding: 4.5rem 1rem 5rem;
    }

    .hero-home {
        min-height: 70vh;
    }

    .hero-frame {
        padding: 0;
    }

    .three-card-grid, .platform-row, .gallery-grid, .gallery-strip, .sermon-grid {
        grid-template-columns: 1fr;
    }

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

    .invitation {
        padding: 2.25rem 1.5rem;
    }

        .invitation::before {
            left: 1.5rem;
        }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
