:root {
    --sanctuary: #5a3b28;
    --sanctuary-deep: #3b2a1c;
    --gold: #c79a5b;
    --gold-light: #e0be8a;
    --ivory: #faf6ec;
    --ivory-dim: #f0e6d2;
    --wine: #8c5a2b;
    --ink: #2b2118;
    --ink-soft: #5c503f;
    --cream: #fffdf8;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: var(--ivory);
    color: var(--ink);
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
}
h1,
h2,
h3,
h4 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    color: var(--sanctuary);
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

.arch {
    border-radius: 50% 50% 0 0 / 42% 42% 0 0;
    overflow: hidden;
    position: relative;
}
.arch::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 3px rgba(199, 154, 91, 0.5);
    border-radius: inherit;
    pointer-events: none;
}
.arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- HEADER / NAV ---- */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--cream);
    border-bottom: 1px solid rgba(59, 42, 28, 0.12);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 32px;
    gap: 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}
.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.brand-name {
    font-family: "Playfair Display", serif;
    color: var(--sanctuary);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}
.brand-name span {
    display: block;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 0.68rem;
    color: var(--ink-soft);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-links > li {
    position: relative;
}
.nav-links > li > a,
.nav-links > li > .dropdown-trigger {
    display: block;
    color: var(--ink);
    font-family: "Poppins", sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 9px 12px;
    border-radius: 3px;
    transition: 0.2s;
    cursor: pointer;
    white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > .dropdown-trigger:hover {
    color: var(--sanctuary);
    background: rgba(59, 42, 28, 0.06);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--cream);
    min-width: 210px;
    padding: 8px 0;
    border: 1px solid rgba(59, 42, 28, 0.12);
    border-radius: 5px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    list-style: none;
}
.has-dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 0.82rem;
    color: var(--ink-soft);
    font-weight: 500;
}
.dropdown-menu li a:hover {
    color: var(--sanctuary);
    background: rgba(59, 42, 28, 0.05);
}

.nav-cta {
    background: var(--gold);
    color: var(--sanctuary) !important;
    font-weight: 600;
    margin-left: 8px;
    padding: 9px 20px !important;
    border-radius: 4px;
}
.nav-cta:hover {
    background: var(--gold-light) !important;
    color: var(--sanctuary) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--sanctuary);
    font-size: 1.6rem;
    cursor: pointer;
}
@media (max-width: 1080px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream);
        border-bottom: 1px solid rgba(59, 42, 28, 0.12);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 20px;
        gap: 2px;
        display: none;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-toggle {
        display: block;
    }
    .dropdown-menu {
        position: static;
        display: block;
        box-shadow: none;
        border: none;
        padding-left: 14px;
        background: transparent;
    }
    .nav-cta {
        margin-left: 0;
        margin-top: 10px;
        text-align: center;
    }
}

/* ---- HERO ---- */
.hero-photo {
    position: relative;
    background:
        linear-gradient(
            100deg,
            rgba(59, 42, 28, 0.55) 0%,
            rgba(45, 32, 21, 0.85) 100%
        ),
        url("/images/View_after_construction_202608181323.jpeg");
    background-size: cover;
    background-position: center 5%;
    color: var(--cream);
    padding: 160px 32px 120px;
    text-align: center;
}
.hero-photo .eyebrow {
    color: var(--gold-light);
}
.hero-photo h1 {
    color: var(--cream);
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 600;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.hero-photo p {
    color: var(--ivory-dim);
    max-width: 600px;
    margin: 16px auto 0;
    font-size: 1rem;
}

.page-hero {
    background: linear-gradient(180deg, var(--sanctuary-deep) 0%, #2c1f15 100%);
    color: var(--cream);
    padding: 56px 32px;
    text-align: center;
}
.page-hero .eyebrow {
    color: var(--gold-light);
}
.page-hero h1 {
    color: var(--cream);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.page-hero p {
    color: var(--ivory-dim);
    max-width: 560px;
    margin: 14px auto 0;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 4px;
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    font-weight: 600;
    transition: 0.25s;
    border: none;
    cursor: pointer;
}
.btn-gold {
    background: var(--gold);
    color: var(--sanctuary);
}
.btn-gold:hover {
    background: var(--gold-light);
}
.btn-outline {
    border: 1px solid rgba(252, 249, 240, 0.5);
    color: var(--cream);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
}
.btn-sanctuary {
    background: var(--sanctuary);
    color: var(--cream);
}
.btn-sanctuary:hover {
    background: var(--sanctuary-deep);
}

/* ---- SECTIONS ---- */
section {
    padding: 64px 0;
}
.section-head {
    max-width: 640px;
    margin-bottom: 40px;
}
.section-head h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    margin-bottom: 12px;
}
.section-head p {
    color: var(--ink-soft);
}
.eyebrow {
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--wine);
    display: block;
    margin-bottom: 8px;
}

/* ---- CARD GRID ---- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}
.card {
    background: var(--cream);
    border: 1px solid rgba(43, 33, 24, 0.1);
    border-radius: 14px;
    overflow: hidden;
}
.card-photo {
    height: 170px;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    background: linear-gradient(
        160deg,
        var(--sanctuary-deep),
        var(--sanctuary)
    );
}
.card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}
.card-body {
    padding: 20px;
}
.card-body h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.card-body p {
    color: var(--ink-soft);
    font-size: 0.9rem;
}
.schedule-card .card-body {
    text-align: center;
}
.card-grid.card-grid-center {
    justify-content: center;
}
.card-grid.card-grid-center .card {
    width: 260px;
}
.card-photo {
    overflow: hidden;
}
.card-photo img.zoom-in {
    object-fit: cover;
    transform: scale(1.35) translateY(-8%);
    transform-origin: center;
}
.card-photo img.zoom-pews {
    transform: scale(1.35) translateY(-10%);
}
.card-photo img.zoom-altar {
    object-fit: cover;
    transform: scale(1.35) translateY(-6%);
}
.card-photo img.zoom-sacred {
    object-fit: cover;
    transform: scale(1.35) translateY(-8%);
}
.card-photo img.zoom-instrument {
    object-fit: cover;
    transform: scale(1.35) translateY(-5%);
}
.card-photo-portrait {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-bottom: 1px solid rgba(43, 33, 24, 0.08);
}
.card-photo-portrait img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.card-photo-portrait.no-logo img {
    object-fit: cover;
    padding: 0;
}
.schedule-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px;
}
.schedule-grid .card {
    width: 260px;
}
/* ---- DIRECTORY CARD ---- */
.directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) {
    .directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .directory-grid {
        grid-template-columns: 1fr;
    }
}
.directory-card {
    display: block;
    background: var(--cream);
    border: 1px solid rgba(43, 33, 24, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
.directory-thumb {
    width: 100%;
    height: 220px;
    border-radius: 0;
    background: linear-gradient(
        160deg,
        var(--sanctuary-deep),
        var(--sanctuary)
    );
}
.directory-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.directory-body {
    padding: 18px 20px;
}
.directory-body h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}
.directory-meta {
    list-style: none;
    font-size: 0.83rem;
    color: var(--ink-soft);
    margin-bottom: 10px;
}
.directory-meta li {
    margin-bottom: 3px;
}
.directory-actions {
    display: flex;
    gap: 14px;
}
.directory-actions a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sanctuary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.directory-actions a:hover {
    color: var(--wine);
}

/* ---- FORMS ---- */
form.parish-form {
    max-width: 560px;
    background: var(--cream);
    border: 1px solid rgba(43, 33, 24, 0.1);
    border-radius: 6px;
    padding: 32px;
}
form.parish-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--sanctuary);
}
form.parish-form input,
form.parish-form select,
form.parish-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(43, 33, 24, 0.2);
    border-radius: 4px;
    margin-bottom: 18px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
}
form.parish-form textarea {
    resize: vertical;
}
.alert-success {
    background: #eaf2ea;
    border: 1px solid #3d7a4d;
    color: #1e4d2b;
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 24px;
}
.bank-box {
    background: var(--sanctuary-deep);
    color: var(--cream);
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 28px;
}
.bank-box h4 {
    color: var(--gold-light);
    font-size: 1rem;
    margin-bottom: 10px;
}
.bank-box p {
    margin-bottom: 4px;
    font-size: 0.95rem;
}

/* ---- EVENT STRIP ---- */
.event-strip {
    background: var(--ivory-dim);
    padding: 26px 0;
}
.event-strip .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.event-strip .es-label {
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--wine);
    font-size: 0.72rem;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}
.event-strip .es-title {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    color: var(--sanctuary);
    font-size: 1.25rem;
}
.event-strip .es-meta {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin-top: 4px;
}
.es-countdown {
    display: flex;
    gap: 10px;
}
.es-countdown div {
    background: var(--sanctuary);
    color: var(--cream);
    border-radius: 6px;
    padding: 10px 14px;
    text-align: center;
    min-width: 56px;
}
.es-countdown div strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 1.3rem;
    line-height: 1;
}
.es-countdown div span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold-light);
}
.event-strip .es-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sanctuary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.event-strip .es-link:hover {
    color: var(--wine);
}

/* ---- SPLIT WELCOME SECTION ---- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
@media (max-width: 860px) {
    .split-section {
        grid-template-columns: 1fr;
    }
}
.split-photos {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 14px;
    height: 360px;
}
.split-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.split-copy .eyebrow {
    margin-bottom: 8px;
}
.split-copy h2 {
    margin-bottom: 16px;
}
.split-copy p {
    color: var(--ink-soft);
    margin-bottom: 22px;
}
.split-list {
    list-style: none;
    margin-bottom: 24px;
}
.split-list li {
    padding: 6px 0;
    font-size: 0.95rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
}
.split-list li::before {
    content: "✓";
    color: var(--gold);
    font-weight: 700;
}

/* ---- PASTOR / CLERGY CARDS ---- */
.pastor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 900px) {
    .pastor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .pastor-grid {
        grid-template-columns: 1fr;
    }
}
.pastor-card {
    text-align: center;
}
.pastor-photo {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
    background: linear-gradient(
        160deg,
        var(--sanctuary-deep),
        var(--sanctuary)
    );
}
.pastor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}
.pastor-card h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}
.pastor-card p {
    font-size: 0.8rem;
    color: var(--wine);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

/* ---- FOOTER ---- */
footer {
    background: var(--sanctuary-deep);
    color: var(--ivory-dim);
    padding: 56px 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 40px;
}
@media (max-width: 760px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
footer h5 {
    font-family: "Playfair Display", serif;
    color: var(--gold-light);
    font-size: 1rem;
    margin-bottom: 14px;
}
footer ul {
    list-style: none;
}
footer li {
    margin-bottom: 8px;
    font-size: 0.88rem;
}
footer a:hover {
    color: var(--gold-light);
}
.footer-bottom {
    border-top: 1px solid rgba(199, 154, 91, 0.2);
    padding-top: 20px;
    font-size: 0.78rem;
    text-align: center;
    color: rgba(240, 230, 210, 0.55);
}

/* ---- FOOTER ICON STRIP ---- */
.footer-icons {
    background: var(--sanctuary-deep);
    border-bottom: 1px solid rgba(199, 154, 91, 0.15);
}
.footer-icons .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 36px 32px;
}
@media (max-width: 760px) {
    .footer-icons .wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}
.footer-icon-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.footer-icon-item .fi-mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(199, 154, 91, 0.15);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.footer-icon-item span {
    color: var(--ivory-dim);
    font-size: 0.85rem;
    font-weight: 500;
}
