:root {
    --bg: #fff8ec;
    --bg-soft: #f5ead7;
    --ink: #17120d;
    --muted: #61584d;

    --brand: #4b1d70;
    --brand-dark: #2b123f;
    --gold: #d6a63a;

    --card: #ffffff;
    --line: #e7d8bf;
    --shadow: 0 24px 70px rgba(23, 18, 13, 0.12);
    --radius: 24px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: var(--brand);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

img {
    max-width: 100%;
    height: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 1rem;
    background: var(--brand);
    color: #ffffff;
    padding: 0.75rem 1rem;
    z-index: 999;
}

.skip-link:focus {
    left: 1rem;
}

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 248, 236, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.nav-container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.75rem 1rem 0.65rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    font-weight: 900;
    letter-spacing: 0.015em;
    text-decoration: none;
    text-transform: uppercase;
}

.brand {
    justify-content: center;
    gap: 14px;
    width: 100%;
    text-align: center;
}

.footer-brand {
    gap: 0.65rem;
}

.brand-mark {
    width: 58px;
    max-height: 58px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    flex-shrink: 0;
}

.brand-text,
.brand span,
.brand-name,
.brand-title,
.logo-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.015em;
    white-space: nowrap;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    flex-wrap: wrap;
    width: 100%;
}

.nav-link {
    color: var(--ink);
    text-decoration: none;
    padding: 0.45rem 0.68rem;
    border-radius: 999px;
    font-size: 0.92rem;
}

.nav-link:hover,
.nav-link.active {
    background: var(--brand);
    color: #ffffff;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #ffffff;
    border-radius: 12px;
    padding: 0.8rem;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    content: "";
}

.hamburger::before {
    transform: translateY(-7px);
}

.hamburger::after {
    transform: translateY(5px);
}

/* General Hero/Page Hero */

.hero {
    max-width: var(--max);
    margin: 0 auto;
    padding: 6.5rem 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 2rem;
    align-items: center;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin: 0.2rem 0 1rem;
}

.hero-lead,
.page-hero p {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    color: var(--muted);
    max-width: 760px;
}

/* Homepage Hero */

.hero-home {
    display: block;
    max-width: var(--max);
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
    min-height: auto;
    position: relative;
    text-align: center;
}

.hero-home::before {
    content: "";
    position: absolute;
    inset: 1rem;
    z-index: -1;
    border-radius: 36px;
    background:
        radial-gradient(circle at 20% 28%, rgba(214, 166, 58, 0.22), transparent 30%),
        linear-gradient(135deg, rgba(75, 29, 112, 0.10), rgba(245, 234, 215, 0.72));
}

.hero-top {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto 2rem;
    text-align: left;
}

.hero-top .eyebrow {
    margin: 0 0 1rem;
}

.hero-welcome-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 30px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    margin: 0 auto;
}

.hero-main {
    display: block;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.hero-home .hero-content {
    display: block;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.hero-home h1 {
    font-size: clamp(2.2rem, 5vw, 4.15rem);
    line-height: 1;
    letter-spacing: -0.045em;
    margin: 0 auto 1rem;
    max-width: 860px;
    text-align: center;
}

.hero-home .hero-lead {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-home .button-row {
    justify-content: center;
    margin: 1.5rem auto 2rem;
}

.hero-home .hero-card {
    max-width: 680px;
    margin: 2rem auto 0;
    text-align: left;
}

/* Shared Components */

.eyebrow {
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 800;
    font-size: 0.78rem;
    margin: 0 0 0.7rem;
}

.hero-card,
.feature-panel,
.scripture-card,
.video-placeholder,
.map-placeholder {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.hero-card h2,
.feature-panel h3 {
    margin-top: 0;
}

.small,
.form-note {
    font-size: 0.92rem;
    color: var(--muted);
}

/* Buttons */

.button-row {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1.5rem;
}

.center {
    justify-content: center;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: 800;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--brand);
    color: #ffffff;
    border-color: var(--brand);
}

.btn-secondary {
    background: #ffffff;
    color: var(--brand);
    border-color: var(--brand);
}

.btn-light {
    background: #ffffff;
    color: var(--brand);
}

.btn-outline-light {
    border-color: #ffffff;
    color: #ffffff;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-light:hover,
.btn-outline-light:hover,
button:hover,
input[type="submit"]:hover {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
    transform: translateY(-1px);
}

/* Sections */

.section,
.split-section,
.cta-section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 4.5rem 1rem;
}

.page-hero {
    max-width: var(--max);
    margin: 0 auto;
    padding: 5rem 1rem 3rem;
    text-align: center;
}

.page-hero h1,
.page-hero p {
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 2rem;
    text-align: center;
}

.section-heading h2,
.split-section h2,
.prose h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin: 0 0 1rem;
}

.muted {
    background: var(--bg-soft);
    border-radius: 36px;
}

.card-grid {
    display: grid;
    gap: 1rem;
}

.card-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 12px 40px rgba(23, 18, 13, 0.06);
}

.card h2,
.card h3 {
    line-height: 1.05;
    margin-top: 0;
}

.compact {
    min-height: 190px;
}

.ministry-card {
    min-height: 230px;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.split-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 2rem;
    align-items: center;
}

.check-list {
    padding-left: 0;
    list-style: none;
}

.check-list li {
    margin: 0.65rem 0;
    padding-left: 2rem;
    position: relative;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 900;
}

.large-time {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1;
    font-weight: 900;
    color: var(--brand);
    margin: 0.5rem 0 0;
}

/* CTA */

.cta-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #ffffff;
    border-radius: 36px;
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1;
    margin: 0 0 1rem;
}

/* Services */

.service-list {
    display: grid;
    gap: 1rem;
}

.service-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.service-time {
    background: var(--brand);
    color: #ffffff;
    border-radius: 20px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1.3rem;
    font-weight: 800;
    min-height: 150px;
}

.service-time span {
    font-size: 1.8rem;
    display: block;
}

.scripture {
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    line-height: 1.15;
    margin: 0 0 1rem;
}

/* Video / Map */

.video-placeholder,
.map-placeholder {
    min-height: 330px;
    display: grid;
    place-items: center;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(43, 18, 63, 0.94), rgba(75, 29, 112, 0.88)),
        var(--brand);
    color: #ffffff;
}

.play-icon {
    display: inline-grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--brand);
    margin-bottom: 1rem;
}

/* Giving */

.giving-list {
    display: grid;
    gap: 0.8rem;
}

.giving-option {
    display: block;
    padding: 1rem 1.2rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    font-weight: 800;
    text-decoration: none;
}

.giving-option:hover {
    border-color: var(--gold);
    background: #fff8ec;
}

/* Leadership */

.leader-grid {
    display: grid;
    gap: 1rem;
}

.leader-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    align-items: center;
}

.leader-card.featured {
    grid-template-columns: 180px 1fr;
}

.leader-photo {
    aspect-ratio: 1;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 900;
    overflow: hidden;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder {
    background: linear-gradient(135deg, var(--brand), var(--gold));
    color: #ffffff;
}

.info-list p {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

/* Forms */

.contact-form {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    margin-top: 0;
}

label {
    display: block;
    margin-top: 1rem;
    font-weight: 800;
}

input,
textarea,
select {
    width: 100%;
    margin-top: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font: inherit;
    background: #fffdf9;
}

input:focus,
textarea:focus,
select:focus {
    outline: 3px solid rgba(214, 166, 58, 0.35);
    border-color: var(--gold);
}

.narrow {
    max-width: 820px;
}

.prose {
    font-size: 1.08rem;
}

code {
    background: rgba(75, 29, 112, 0.08);
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
}

/* Footer */

.site-footer {
    background: #17120d;
    color: #ffffff;
    padding: 3rem 1rem 1.5rem;
}

.site-footer a {
    color: #ffffff;
}

.footer-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2rem;
}

.footer-grid h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
}

.footer-bottom {
    max-width: var(--max);
    margin: 2rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 980px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .brand {
        justify-content: flex-start;
        width: auto;
        text-align: left;
    }

    .brand-mark {
        width: 48px;
        max-height: 48px;
    }

    .brand-text,
    .brand span,
    .brand-name,
    .brand-title,
    .logo-text {
        font-size: 17px;
        white-space: normal;
        line-height: 1.05;
        max-width: 260px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 0.8rem;
        box-shadow: var(--shadow);
        width: auto;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-link {
        padding: 0.9rem 1rem;
    }

    .hero,
    .split-section,
    .split-content,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-home {
        min-height: auto;
    }

    .card-grid.two,
    .card-grid.three,
    .card-grid.four {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .brand-mark {
        width: 42px;
        max-height: 42px;
    }

    .brand-text,
    .brand span,
    .brand-name,
    .brand-title,
    .logo-text {
        font-size: 14px;
        max-width: 205px;
    }

    .hero,
    .section,
    .split-section,
    .cta-section {
        padding: 3rem 1rem;
    }

    .hero-home {
        padding: 1.25rem 1rem 3rem;
    }

    .page-hero {
        padding: 3.5rem 1rem 2rem;
    }

    .hero-top {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .hero-welcome-image {
        border-radius: 22px;
    }

    .hero-home h1 {
        font-size: clamp(2.1rem, 10vw, 3.2rem);
    }

    .card-grid.two,
    .card-grid.three,
    .card-grid.four,
    .service-item,
    .leader-card,
    .leader-card.featured {
        grid-template-columns: 1fr;
    }

    .service-time {
        min-height: 110px;
    }

    .footer-bottom {
        display: block;
    }
}