/* ===========================
   GLOBAL RESET & VARIABLES
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --accent: #0069AA;
    --accent-dark: #004d7d;
    --accent-light: #e8f2f9;
    --accent-rule: rgba(0,105,170,0.18);
    --cream: #F5F1E8;
    --tan: #D9CFC0;
    --gold: #B8963E;
    --gold-accent: #EEB111;
    --text: #1A1A1A;
    --text-mid: #4A4848;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--cream);
    color: var(--text);
}

a { text-decoration: none; }
img { display: block; }

/* ===========================
   NAVIGATION
=========================== */
.site-nav {
    background: var(--accent);
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.site-logo-cross {
    width: 26px;
    height: 26px;
    position: relative;
    flex-shrink: 0;
}

.site-logo-cross::before,
.site-logo-cross::after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,0.85);
}

.site-logo-cross::before {
    width: 2.5px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.site-logo-cross::after {
    width: 70%;
    height: 2.5px;
    top: 33%;
    left: 15%;
}

.site-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.site-logo-text span {
    display: block;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.58);
}

.site-nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.site-nav-links a {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.site-nav-links a:hover {
    color: white;
}

.site-nav-give {
    background: var(--gold) !important;
    color: white !important;
    padding: 9px 22px;
    font-weight: 700 !important;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    padding: 4px;
    color: inherit;
}

/* ===========================
   HERO
=========================== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}

.hero-text {
    background: var(--cream);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-text::after {
    content: '';
    position: absolute;
    right: 0;
    top: 12%;
    height: 76%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--accent-rule) 20%, var(--accent-rule) 80%, transparent);
}

.eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
}

.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: 62px;
    font-weight: 700;
    line-height: 1.06;
    color: var(--text);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

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

.hero-body {
    font-size: 17px;
    line-height: 1.72;
    color: var(--text-mid);
    max-width: 400px;
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 13px 28px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-text {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 7px;
}

.btn-text::after {
    content: '\2192';
    transition: transform 0.2s;
}

.btn-text:hover::after {
    transform: translateX(4px);
}

.hero-img {
    position: relative;
    overflow: hidden;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.hero-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,105,170,0.12), transparent 50%);
}

/* ===========================
   SERVICE TIMES STRIP
=========================== */
.services-strip {
    background: var(--accent);
    padding: 0 60px;
}

.services-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
    border-left: 1px solid rgba(255,255,255,0.12);
}

.services-label {
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.service-time {
    padding: 18px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    border-left: 1px solid rgba(255,255,255,0.12);
}

.service-time-num {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.service-time-label {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.services-special {
    padding: 18px 32px;
    border-left: 1px solid rgba(255,255,255,0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    background: rgba(255,255,255,0.07);
}

.services-special-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-accent);
}

.services-special-text {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
}

/* ===========================
   LIVE STREAM BANNER
=========================== */
.livestream.livestream-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--accent);
    color: #fff;
    padding: 20px 60px;
    position: relative;
}

.livestream-pill {
    display: inline-block;
    background: var(--gold-accent);
    color: #000;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-variant: small-caps;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.livestream-headline {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.livestream-body {
    font-size: 14px;
    color: #fff;
    margin: 0;
    line-height: 1.5;
}

.livestream-cta {
    font-size: 14px;
    color: #fff;
    text-decoration: underline;
    white-space: nowrap;
    flex-shrink: 0;
}

.livestream-cta:hover {
    opacity: 0.85;
}

.livestream-dismiss {
    position: absolute;
    top: 10px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s;
}

.livestream-dismiss:hover {
    color: #fff;
}

/* ===========================
   EVENTS (row list w/ accordion)
=========================== */
.events {
    background: var(--cream);
    padding: 80px 60px;
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.event-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 880px;
    border-top: 1px solid var(--accent-rule);
}

.event-row {
    border-bottom: 1px solid var(--accent-rule);
    background: #fff;
}

.event-row-summary {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 18px 22px;
    background: transparent;
    border: none;
    text-align: left;
    font-family: inherit;
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s;
}

.event-row-summary:hover {
    background: #fafafa;
}

.event-row-summary--static {
    cursor: default;
}

.event-row-summary--static:hover {
    background: transparent;
}

.event-row-date {
    text-align: center;
    line-height: 1;
    border-right: 1px solid var(--accent-rule);
    padding-right: 18px;
}

.event-row-day {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--accent);
}

.event-row-month {
    display: block;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-top: 4px;
}

.event-row-main {
    min-width: 0;
}

.event-row-title {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 4px;
    line-height: 1.25;
}

.event-row-meta {
    font-size: 13px;
    color: var(--text-mid);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.event-row-time {
    font-weight: 600;
    color: var(--text);
}

.event-row-sep {
    color: #bbb;
}

.event-row-chevron {
    color: var(--accent);
    font-size: 18px;
    transition: transform 0.2s;
    padding: 0 4px;
}

.event-row-summary[aria-expanded="true"] .event-row-chevron {
    transform: rotate(180deg);
}

.event-row-detail {
    padding: 0 22px 22px 118px;
    color: var(--text-mid);
}

.event-row-description {
    font-family: 'Lora', serif;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 12px;
}

.event-row-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.event-row-link:hover {
    color: var(--accent-dark);
}

/* ===========================
   FEATURE CARD (VBS)
=========================== */
.feature {
    background: var(--cream);
    padding: 0 60px 80px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--tan);
    border-left: 6px solid var(--accent);
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 48px;
    padding: 48px 56px;
    align-items: center;
}

.feature-card-body {
    min-width: 0;
}

.feature-card-eyebrow {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.feature-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px 0;
    line-height: 1.1;
}

.feature-card-dates {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 20px;
    color: var(--accent);
    margin: 0 0 16px 0;
}

.feature-card-desc {
    font-size: 16px;
    color: var(--text-mid);
    margin: 0 0 24px 0;
    max-width: 52ch;
}

.feature-card-cta {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 14px 28px;
    text-decoration: none;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 13px;
    transition: background 0.2s;
}

.feature-card-cta:hover {
    background: var(--accent-dark);
}

.feature-card-cta-pending {
    display: inline-block;
    color: var(--text-mid);
    font-family: 'Source Sans 3', sans-serif;
    font-style: italic;
    font-size: 14px;
}

.feature-card-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-card-qr img {
    width: 240px;
    height: 240px;
    background: #fff;
    border: 1px solid var(--tan);
    padding: 12px;
    box-sizing: border-box;
}

.feature-card-qr-caption {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-mid);
}

@media (max-width: 768px) {
    .feature {
        padding: 0 24px 60px;
    }
    .feature-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 24px;
        text-align: center;
    }
    .feature-card-qr {
        margin: 0 auto;
    }
    .feature-card-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .feature-card-title {
        font-size: 28px;
    }
}

/* ===========================
   MINISTRIES
=========================== */
.ministries {
    background: var(--cream);
    padding: 0 60px 80px;
}

.ministries-header {
    margin-bottom: 40px;
}

.ministries-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

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

.ministry-card {
    background: #fff;
    border: 1px solid var(--tan);
    border-top: 3px solid transparent;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-top-color 0.3s;
}

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

.ministry-img {
    height: 180px;
    overflow: hidden;
}

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

.ministry-img--color {
    height: 180px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
}

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

.ministry-name {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: var(--text);
    margin: 0 0 6px 0;
}

.ministry-desc {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.6;
    flex: 1;
    margin: 0;
}

.ministry-link {
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-top: 12px;
    display: inline-block;
}

.ministry-link::after {
    content: ' \2192';
}

.ministry-link:hover {
    color: var(--accent-dark);
}

/* ===========================
   STAFF
=========================== */
.staff {
    background: var(--cream);
    padding: 0 60px 80px;
    text-align: center;
}

.staff .section-label {
    text-align: center;
}

.staff .section-label::after {
    display: none;
}

.staff-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.staff-card {
    text-align: center;
}

.staff-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 18%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.staff-avatar-initials {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--accent);
}

.staff-name {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: var(--text);
    margin: 14px 0 4px 0;
}

.staff-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-mid);
    margin: 0;
}

.staff-cta {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 560px;
    margin: 40px auto 0;
}

/* ===========================
   CONNECT WITH US
=========================== */
.content-connect {
    padding: 80px 60px;
    max-width: 560px;
    margin: 0 auto;
}

.section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--accent-rule);
}

.section-h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 18px;
}

.section-p {
    font-size: 15px;
    line-height: 1.78;
    color: var(--text-mid);
    margin-bottom: 12px;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 32px;
}

.qlink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: white;
    border-left: 3px solid var(--accent);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s;
}

.qlink:hover {
    background: var(--accent-light);
    border-color: var(--accent-dark);
}

.qlink span {
    color: var(--accent);
    font-size: 14px;
}

/* ===========================
   CONTACT
=========================== */
.contact {
    background: var(--tan);
    padding: 60px 60px;
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    gap: 0;
}

.contact-rule {
    background: rgba(0,0,0,0.1);
    margin: 0 40px;
}

.contact-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 14px;
}

.contact-block p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--text-mid);
}

.contact-block a {
    color: var(--accent);
    font-weight: 500;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
    background: var(--accent-dark);
    padding: 22px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    color: rgba(255,255,255,0.75);
}

.site-footer-links {
    display: flex;
    gap: 22px;
}

.site-footer-links a {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.site-footer-links a:hover {
    color: rgba(255,255,255,0.85);
}

/* ===========================
   SUB-PAGE TEMPLATE
   Shared structure for non-home pages (Plan Your Visit, About, etc.).
   - .page-header        : page-top hero (eyebrow + headline + lede)
   - .page-section       : full-width content band (white)
   - .page-section--tan  : tan-background variant for visual rhythm
   - .page-section-inner : centered max-width content container
=========================== */
.page-header {
    padding: 80px 60px 60px;
    background: #fff;
    border-bottom: 1px solid var(--accent-rule);
}

.page-header-inner {
    max-width: 880px;
    margin: 0 auto;
}

.page-headline {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.08;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.page-lede {
    font-family: 'Lora', serif;
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-mid);
    max-width: 680px;
}

.page-section {
    padding: 72px 60px;
    background: #fff;
}

.page-section--tan {
    background: var(--tan);
}

.page-section-inner {
    max-width: 1080px;
    margin: 0 auto;
}

/* ===========================
   PLAN YOUR VISIT
=========================== */
.visit-times {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0 48px;
}

.visit-time {
    background: #fff;
    padding: 32px 28px;
    text-align: center;
    border-top: 3px solid var(--accent);
}

.visit-time--accent {
    background: var(--accent);
    color: #fff;
    border-top-color: var(--gold-accent);
}

.visit-time-num {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.visit-time-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.visit-time-note {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 14px;
    color: rgba(255,255,255,0.88);
}

.visit-location {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 16px;
}

.visit-location-block h3,
.visit-contact-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.visit-location-block p,
.visit-contact-block p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-mid);
    margin-bottom: 12px;
}

.visit-location-block a,
.visit-contact-block a,
.worship-notes a {
    color: var(--accent);
    font-weight: 600;
}

.visit-location-block a:hover,
.visit-contact-block a:hover,
.worship-notes a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.belief-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 48px;
    margin-top: 36px;
}

.belief {
    background: #fff;
    padding: 32px 32px 28px;
    border-left: 3px solid var(--accent);
}

.belief h3 {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.3;
}

.belief p {
    font-family: 'Lora', serif;
    font-size: 15px;
    line-height: 1.72;
    color: var(--text-mid);
    margin-bottom: 12px;
}

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

.worship-notes {
    margin-top: 28px;
    max-width: 820px;
}

.worship-notes p {
    font-family: 'Lora', serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 18px;
}

.worship-notes strong {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    color: var(--text);
}

.worship-notes ul.prose-list,
.belief ul.prose-list {
    font-family: 'Lora', serif;
    font-size: 16px;
    line-height: 1.72;
    color: var(--text-mid);
    margin: 0 0 18px 22px;
    padding: 0;
    list-style: disc;
}

.worship-notes ul.prose-list li,
.belief ul.prose-list li {
    margin-bottom: 6px;
}

.worship-notes code,
.belief code {
    font-family: 'Source Code Pro', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.88em;
    background: rgba(0,0,0,0.05);
    padding: 1px 6px;
    border-radius: 3px;
    color: var(--text);
    word-break: break-word;
}

.page-section-footnote {
    font-size: 13px;
    font-style: italic;
    color: #888;
    margin-top: 32px;
}

.visit-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 28px;
    max-width: 880px;
}

/* ===========================
   CONTACT MODAL
=========================== */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 20px;
    overflow-y: auto;
}

.contact-modal.is-open {
    display: flex;
}

.contact-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(2px);
}

.contact-modal-card {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 520px;
    border-radius: 4px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    border-top: 4px solid var(--accent);
    animation: contact-modal-in 0.22s ease-out;
}

@keyframes contact-modal-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.contact-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 6px 10px;
    transition: color 0.2s;
}

.contact-modal-close:hover {
    color: var(--text);
}

.contact-modal-body {
    padding: 40px 36px 36px;
}

.contact-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.contact-modal-lede {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-mid);
    margin-bottom: 24px;
}

.contact-modal-lede a {
    color: var(--accent);
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* HTML [hidden] needs an explicit override when display is set to anything
   other than block/inline — otherwise the form stays visible after success. */
.contact-form[hidden] {
    display: none;
}

.contact-field {
    display: flex;
    flex-direction: column;
}

.contact-field label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 6px;
}

.contact-field-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #999;
    font-size: 11px;
}

.contact-field input,
.contact-field textarea {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px;
    color: var(--text);
    background: #fafafa;
    border: 1px solid #d8d4cc;
    border-radius: 3px;
    padding: 10px 12px;
    transition: border-color 0.15s, background 0.15s;
    width: 100%;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
}

.contact-field textarea {
    resize: vertical;
    min-height: 110px;
    font-family: 'Lora', serif;
    line-height: 1.5;
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form-error {
    background: #fbeaea;
    border: 1px solid #e6b3b3;
    color: #8a1f1f;
    padding: 10px 12px;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.5;
}

.contact-submit {
    margin-top: 4px;
    border: none;
    cursor: pointer;
}

.contact-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

.contact-success {
    text-align: center;
    padding: 18px 0 8px;
}

.contact-success-icon {
    width: 56px;
    height: 56px;
    line-height: 56px;
    border-radius: 50%;
    background: #e8f5ec;
    color: #2f8a4c;
    font-size: 28px;
    margin: 0 auto 18px;
}

.contact-success h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--text);
    margin-bottom: 8px;
}

.contact-success p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.6;
}

/* Make .qlink work as both <a> and <button> */
button.qlink {
    width: 100%;
    text-align: left;
    font-family: 'Source Sans 3', sans-serif;
    cursor: pointer;
    border: none;
    border-left: 3px solid var(--accent);
}

/* ===========================
   RESPONSIVE: TABLET (900px)
=========================== */
@media (max-width: 900px) {
    .ministries-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-inner {
        grid-template-columns: 1fr 1fr;
        border-left: none;
    }

    .services-label {
        grid-column: 1 / -1;
    }

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

    .visit-location {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .visit-contact {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ===========================
   RESPONSIVE: MOBILE (768px)
=========================== */
@media (max-width: 768px) {
    /* Nav */
    .site-nav {
        padding: 0 20px;
        height: 60px;
        flex-wrap: wrap;
        position: relative;
    }

    .site-hamburger {
        display: block;
        color: white;
    }

    .site-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--accent);
        flex-direction: column;
        padding: 12px 0;
        z-index: 100;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .site-nav-links.open {
        display: flex;
    }

    .site-nav-links a {
        padding: 12px 24px;
        font-size: 13px;
    }

    .site-nav-give {
        margin: 8px 24px;
        text-align: center;
    }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-text {
        padding: 48px 24px;
    }

    .hero-text::after {
        display: none;
    }

    .hero-headline {
        font-size: 40px;
    }

    .hero-body {
        font-size: 15px;
    }

    .hero-img {
        height: 280px;
    }

    /* Services strip */
    .services-strip {
        padding: 0;
    }

    .services-inner {
        grid-template-columns: 1fr 1fr;
        border-left: none;
    }

    .services-label {
        grid-column: 1 / -1;
        padding: 16px 20px 8px;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        justify-content: flex-start;
    }

    .service-time {
        padding: 12px 20px;
        border-left: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .services-special {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    /* Livestream */
    .livestream.livestream-banner {
        padding: 16px 24px;
        flex-wrap: wrap;
        gap: 12px;
    }

    /* Events */
    .events {
        padding: 48px 24px;
    }

    .event-row-summary {
        grid-template-columns: 56px 1fr auto;
        gap: 14px;
        padding: 14px 14px;
    }

    .event-row-date {
        padding-right: 12px;
    }

    .event-row-day {
        font-size: 24px;
    }

    .event-row-title {
        font-size: 16px;
    }

    .event-row-detail {
        padding: 0 14px 18px 84px;
    }

    .events-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* Ministries */
    .ministries {
        padding: 0 24px 48px;
    }

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

    /* Staff */
    .staff {
        padding: 0 24px 48px;
    }

    .staff-grid {
        flex-wrap: wrap;
        gap: 32px;
    }

    .staff-card {
        width: calc(50% - 16px);
    }

    /* Connect with us */
    .content-connect {
        padding: 48px 24px;
    }

    /* Contact */
    .contact {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 28px;
    }

    .contact-rule {
        display: none;
    }

    /* Footer */
    .site-footer {
        padding: 18px 24px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .site-footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Sub-page template */
    .page-header {
        padding: 48px 24px 36px;
    }

    .page-headline {
        font-size: 38px;
    }

    .page-lede {
        font-size: 17px;
    }

    .page-section {
        padding: 48px 24px;
    }

    .visit-times {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .belief {
        padding: 24px;
    }
}
