:root {
    --chapel-ink: #202b39;
    --chapel-muted: #68717d;
    --chapel-navy: #172b46;
    --chapel-gold: #c8a85a;
    --chapel-pale: #f5f2e9;
    --chapel-line: #e7e0cf;
    --chapel-white: #fff;
}

.chapel-site {
    margin: 0;
    color: var(--chapel-ink);
    background: var(--chapel-white);
    font: 500 16px/1.65 Montserrat, sans-serif;
}

.chapel-site button,
.chapel-site input,
.chapel-site select,
.chapel-site textarea {
    font: inherit;
}

.chapel-site *,
.chapel-site *::before,
.chapel-site *::after {
    box-sizing: border-box;
}

.chapel-site a {
    color: inherit;
}

.chapel-header {
    min-height: 76px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--chapel-white);
    border-bottom: 1px solid var(--chapel-line);
}

.chapel-brand {
    color: var(--chapel-navy);
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.chapel-brand span {
    color: #967b3f;
}

.chapel-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
}

.chapel-nav a {
    color: var(--chapel-muted);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.chapel-nav a:hover,
.chapel-nav a[aria-current="page"] {
    color: #967b3f;
}

.chapel-header-action {
    padding: 0.65rem 1rem;
    border: 1px solid var(--chapel-gold);
    color: var(--chapel-navy);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.chapel-header-action:hover {
    color: #fff;
    background: var(--chapel-navy);
    border-color: var(--chapel-navy);
}

.chapel-main {
    width: 100%;
}

.chapel-page {
    overflow: hidden;
}

.chapel-hero {
    position: relative;
    min-height: 450px;
    height: 78vh;
    max-height: 740px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--chapel-white);
    text-align: center;
    background: linear-gradient(135deg, #33445a, #172b46);
}

.chapel-hero-slides,
.chapel-hero-slide,
.chapel-hero-shade {
    position: absolute;
    inset: 0;
}

.chapel-hero-slides {
    z-index: 0;
}

.chapel-hero-slide {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.chapel-hero-slide.active {
    opacity: 1;
}

.chapel-hero-shade {
    z-index: 1;
    background: rgba(15, 25, 39, 0.42);
}

.chapel-hero-content {
    position: relative;
    z-index: 2;
    width: min(850px, 90%);
    padding: 2rem;
}

.chapel-eyebrow {
    display: block;
    margin: 0 0 0.65rem;
    color: #967b3f;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.chapel-hero .chapel-eyebrow {
    color: #ead9a9;
}

.chapel-hero h1,
.chapel-page-heading h1 {
    margin: 0 auto 1rem;
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
}

.chapel-hero-content > p {
    max-width: 650px;
    margin: 0 auto 1.7rem;
    color: rgba(255,255,255,0.94);
    font-size: clamp(1rem, 2vw, 1.15rem);
}

.chapel-button {
    display: inline-block;
    padding: 0.85rem 1.3rem;
    border: 1px solid var(--chapel-gold);
    color: #fff;
    background: var(--chapel-navy);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.chapel-button:hover {
    background: #293f5c;
}

.chapel-hero .chapel-button {
    color: #231f15;
    background: #e0c778;
}

.chapel-hero .chapel-button:hover {
    background: #f0dfa6;
}

.chapel-intro {
    max-width: 820px;
    margin: 0 auto;
    padding: 5rem 1.5rem 3rem;
    text-align: center;
}

.chapel-intro h2,
.chapel-gallery h2,
.chapel-callout h2,
.chapel-detail h2,
.chapel-contact-card h2 {
    margin: 0 0 0.8rem;
    color: var(--chapel-navy);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.2;
}

.chapel-intro p,
.chapel-callout p,
.chapel-detail p,
.chapel-contact-card p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--chapel-muted);
    line-height: 1.75;
}

.chapel-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1120px;
    margin: 0 auto 4rem;
    border: 1px solid var(--chapel-line);
}

.chapel-pillars article {
    padding: 1.7rem;
    background: #fff;
}

.chapel-pillars article + article {
    border-left: 1px solid var(--chapel-line);
}

.chapel-pillars article > span {
    color: #967b3f;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.chapel-pillars h2 {
    margin: 0.7rem 0 0.4rem;
    color: var(--chapel-navy);
    font-size: 1.1rem;
}

.chapel-pillars p {
    margin: 0;
    color: var(--chapel-muted);
    font-size: 0.9rem;
}

.chapel-gallery {
    padding: 4rem 5%;
    background: var(--chapel-pale);
    text-align: center;
}

.chapel-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1120px;
    margin: 1.8rem auto 0;
}

.chapel-gallery figure {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    background: var(--chapel-line);
}

.chapel-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chapel-gallery figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 1.6rem 1rem 0.7rem;
    color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,0.72));
    text-align: left;
}

.chapel-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1120px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.chapel-callout p {
    margin: 0;
}

.chapel-interior {
    min-height: 65vh;
    padding: 4rem 5% 6rem;
    background: var(--chapel-pale);
}

.chapel-page-heading {
    max-width: 850px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.chapel-page-heading h1 {
    color: var(--chapel-navy);
}

.chapel-page-heading p {
    color: var(--chapel-muted);
    font-size: 1.05rem;
}

.chapel-detail,
.chapel-contact-card {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(1.5rem, 5vw, 3rem);
    background: #fff;
    border: 1px solid var(--chapel-line);
}

.chapel-detail p {
    margin: 0 0 1rem;
}

.chapel-detail .chapel-button {
    margin-top: 0.75rem;
}

.chapel-contact-card {
    text-align: center;
}

.chapel-contact-card p {
    margin-bottom: 1rem;
}

.chapel-contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem 2rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.chapel-contact-links a {
    color: #80682f;
    font-weight: 700;
}

.chapel-contact-card .chapel-location {
    margin: 0;
    font-size: 0.9rem;
}

.chapel-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem 2rem;
    flex-wrap: wrap;
    padding: 1.5rem 5%;
    color: #e8e2d3;
    background: #172b46;
    font-size: 0.82rem;
}

.chapel-footer a {
    color: inherit;
    text-decoration: none;
}

.chapel-footer a:hover {
    color: #e0c778;
}

@media (max-width: 760px) {
    .chapel-header {
        flex-wrap: wrap;
        gap: 0.6rem 1rem;
        padding: 1rem 5%;
    }

    .chapel-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 1.25rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--chapel-line);
    }

    .chapel-hero {
        height: 70vh;
        min-height: 390px;
        max-height: 620px;
    }

    .chapel-pillars {
        grid-template-columns: 1fr;
        margin: 0 1rem 3rem;
    }

    .chapel-pillars article + article {
        border-top: 1px solid var(--chapel-line);
        border-left: 0;
    }

    .chapel-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chapel-callout {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .chapel-header-action {
        padding: 0.55rem 0.7rem;
        font-size: 0.74rem;
    }

    .chapel-nav {
        justify-content: space-between;
        gap: 0.5rem;
    }

    .chapel-nav a {
        font-size: 0.78rem;
    }

    .chapel-hero {
        height: 65vh;
        min-height: 360px;
    }

    .chapel-hero-content {
        width: 100%;
        padding: 1.25rem;
    }

    .chapel-intro {
        padding-top: 3.5rem;
    }

    .chapel-gallery-grid {
        grid-template-columns: 1fr;
    }

    .chapel-interior {
        padding: 3rem 1rem 4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chapel-hero-slide {
        transition: none;
    }
}
