:root {
    --ink: #17233a;
    --ink-soft: #263751;
    --gold: #d0a15b;
    --gold-dark: #a8752e;
    --cream: #f6f2e9;
    --sand: #e9e0d2;
    --white: #fff;
    --text: #334155;
    --muted: #667085;
    --border: #dce0e5;
    --serif: "Newsreader", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
    --shadow: 0 22px 55px rgba(23, 35, 58, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: var(--white); }

.skip-link {
    position: fixed;
    z-index: 999;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    background: var(--white);
    color: var(--ink);
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.topbar { background: var(--ink); color: var(--white); font-size: .79rem; }
.topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar p { display: flex; align-items: center; gap: 10px; margin: 0; }
.topbar__label { color: #e0b978; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.topbar__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.topbar a { color: var(--white); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.topbar a:hover { border-color: var(--gold); }

.site-header {
    position: relative;
    z-index: 40;
    height: 88px;
    background: var(--white);
    border-bottom: 1px solid rgba(23,35,58,.08);
    transition: box-shadow .25s ease;
}
.site-header.is-sticky { position: sticky; top: 0; box-shadow: 0 8px 24px rgba(20, 31, 50, .09); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { flex: 0 0 auto; }
.brand img { width: 148px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.primary-nav > a,
.nav-group__trigger {
    position: relative;
    padding: 33px 0 29px;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: calc(.91rem + 1pt);
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}
.primary-nav > a:not(.button)::after,
.nav-group__trigger::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 23px;
    left: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}
.primary-nav > a:hover::after,
.primary-nav > a.is-active::after,
.nav-group:hover .nav-group__trigger::after { transform: scaleX(1); transform-origin: left; }
.nav-group.is-current .nav-group__trigger::after { transform: scaleX(1); transform-origin: left; }
.nav-group { position: relative; }
.nav-group__trigger { display: inline-flex; align-items: center; gap: 7px; }
.nav-group__trigger svg { width: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s ease; }
.nav-dropdown {
    position: absolute;
    top: calc(100% - 10px);
    left: -24px;
    width: 245px;
    padding: 12px;
    border-top: 3px solid var(--gold);
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.nav-dropdown a { display: block; padding: 10px 12px; color: var(--text); font-size: .88rem; font-weight: 500; }
.nav-dropdown a:hover { color: var(--gold-dark); background: var(--cream); }
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-group.is-open .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-group.is-open .nav-group__trigger svg { transform: rotate(180deg); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--border); background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span:not(.sr-only) { width: 20px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .02em;
    transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.primary-nav > .button--nav { min-height: 44px; padding: 0 22px !important; color: var(--white) !important; background: var(--ink); }
.button--nav::after { display: none; }
.primary-nav > .button--nav:hover { background: var(--gold-dark); }
.button--gold { color: var(--ink); background: var(--gold); }
.button--gold:hover { background: #e0b978; }
.button--ink { color: var(--white); background: var(--ink); }
.button--ink:hover { background: var(--ink-soft); }

.eyebrow { margin: 0 0 15px; color: var(--gold-dark); font-size: .75rem; font-weight: 700; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.eyebrow--light { color: #f0cf9e; }
h1, h2, h3 { margin-top: 0; color: var(--ink); font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -.025em; }
h1 { font-size: clamp(3.35rem, 6.5vw, 6.1rem); }
h2 { margin-bottom: 22px; font-size: clamp(2.45rem, 4vw, 4rem); }
h3 { font-size: 1.7rem; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: .9rem; font-weight: 700; }
.text-link svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }
.text-link--light { color: var(--white); }

.hero { position: relative; min-height: 720px; overflow: hidden; background: var(--ink); color: var(--white); }
.hero__image, .hero__shade { position: absolute; inset: 0; }
.hero__image { background: url("../images/chapel-hero.jpg") center / cover no-repeat; transform: scale(1.01); }
.hero__shade { background: linear-gradient(90deg, rgba(10,19,34,.92) 0%, rgba(10,19,34,.76) 55%, rgba(10,19,34,.44) 100%), linear-gradient(0deg, rgba(8,18,32,.48), transparent 48%); }
.hero__inner { position: relative; min-height: 720px; display: flex; align-items: center; padding-top: 66px; padding-bottom: 66px; }
.hero__content { width: 100%; max-width: none; }
.hero h1 { width: 100%; margin-bottom: 24px; color: var(--white); font-size: clamp(3.55rem, 6.1vw, 5.7rem); }
.hero__lead { width: 100%; max-width: none; margin: 0; color: rgba(255,255,255,.87); font-size: 1.18rem; line-height: 1.7; }
.hero__lower { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; margin-top: 45px; }
.hero__actions { min-height: 116px; display: flex; align-items: center; gap: 30px; padding-right: 40px; }
.hero__service {
    width: 100%;
    min-height: 116px;
    display: grid;
    grid-template-columns: 82px 1fr 56px;
    align-items: center;
    gap: 22px;
    padding: 18px 22px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
}
.hero__service-date { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--border); color: var(--gold-dark); text-align: center; text-transform: uppercase; }
.hero__service-date span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.hero__service-date strong { color: var(--ink); font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.hero__service-label { display: block; margin-bottom: 4px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero__service > div:nth-child(2) strong { font-size: 1rem; }
.hero__service > a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; transition: background .2s ease, color .2s ease; }
.hero__service > a:hover { background: var(--ink); color: var(--white); }
.hero__service svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.welcome__grid { display: grid; grid-template-columns: 1.03fr .8fr; gap: 120px; align-items: start; }
.welcome h2 { max-width: 650px; margin-bottom: 0; }
.welcome__copy { padding-top: 35px; }
.welcome__copy p { margin: 0 0 18px; color: var(--muted); font-size: 1.03rem; }
.welcome__copy .text-link { margin-top: 9px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 80px; margin-bottom: 54px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 430px; margin: 0 0 5px; color: var(--muted); }
.section-heading--light h2 { color: var(--white); }
.section-heading--light > p { color: rgba(255,255,255,.7); }
.pathways__grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #ded7cb; background: var(--white); }
.pathway-card { position: relative; min-height: 350px; padding: 38px 30px 30px; border-right: 1px solid #ded7cb; transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.pathway-card:last-child { border-right: 0; }
.pathway-card:hover { z-index: 2; background: var(--ink); transform: translateY(-8px); box-shadow: var(--shadow); }
.pathway-card__number { position: absolute; top: 21px; right: 22px; color: #adb3bb; font-family: var(--serif); font-size: .86rem; }
.pathway-card__icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 42px; border-radius: 50%; background: var(--cream); color: var(--gold-dark); }
.pathway-card__icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.pathway-card h3 { margin-bottom: 15px; }
.pathway-card p { margin: 0 0 25px; color: var(--muted); font-size: .91rem; line-height: 1.65; }
.card-link { position: absolute; bottom: 27px; left: 30px; color: var(--gold-dark); font-size: .83rem; font-weight: 700; }
.card-link span { padding-left: 6px; }
.pathway-card:hover h3, .pathway-card:hover .pathway-card__number { color: var(--white); }
.pathway-card:hover p { color: rgba(255,255,255,.68); }
.pathway-card:hover .pathway-card__icon { background: rgba(255,255,255,.1); color: #efc98f; }
.pathway-card:hover .card-link { color: #efc98f; }

.visit__grid { display: grid; grid-template-columns: 1fr .92fr; gap: 90px; align-items: center; }
.visit__image { position: relative; min-height: 650px; }
.visit__image > img { width: calc(100% - 54px); height: 610px; object-fit: cover; object-position: 52% center; }
.visit__quote { position: absolute; right: 0; bottom: 0; width: 300px; padding: 29px 30px 30px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); }
.visit__quote > span { color: var(--gold); font-family: var(--serif); font-size: 4rem; line-height: .6; }
.visit__quote p { margin: 10px 0 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; }
.visit__content > p:not(.eyebrow) { max-width: 550px; margin: 0 0 26px; color: var(--muted); }
.service-list { margin: 34px 0 28px; border-top: 1px solid var(--border); }
.service-list__item { display: grid; grid-template-columns: 122px 1fr; gap: 24px; align-items: center; padding: 19px 0; border-bottom: 1px solid var(--border); }
.service-list__time { color: var(--gold-dark); font-family: var(--serif); font-size: 1.65rem; font-weight: 600; }
.service-list__time small { font-family: var(--sans); font-size: .64rem; letter-spacing: .08em; }
.service-list__item div { display: flex; flex-direction: column; }
.service-list__item strong { color: var(--ink); }
.service-list__item div span { color: var(--muted); font-size: .85rem; }
.visit__address { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; }
.visit__address svg { width: 27px; flex: 0 0 auto; fill: none; stroke: var(--gold-dark); stroke-width: 1.5; }
.visit__address div { display: flex; flex-direction: column; }
.visit__address strong { color: var(--ink); }
.visit__address span { color: var(--muted); font-size: .87rem; }
.visit__actions { display: flex; align-items: center; gap: 25px; }

.events .section-heading { margin-bottom: 42px; }
.events__list { border-top: 1px solid rgba(255,255,255,.16); }
.event-row { min-height: 128px; display: grid; grid-template-columns: 95px 1.25fr 1fr .85fr 36px; align-items: center; gap: 28px; border-bottom: 1px solid rgba(255,255,255,.16); transition: background .2s ease, padding .2s ease; }
.event-row:hover { padding-inline: 18px; background: rgba(255,255,255,.045); }
.event-row__date { display: flex; flex-direction: column; color: #efc98f; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.event-row__date strong { color: var(--white); font-family: var(--serif); font-size: 2.7rem; line-height: .95; }
.event-row__title { display: flex; flex-direction: column; }
.event-row__title small { color: #efc98f; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.event-row__title strong { color: var(--white); font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.event-row__meta, .event-row__place { color: var(--white); font-size: .86rem; }
.event-row > svg { width: 22px; fill: none; stroke: var(--white); stroke-width: 1.5; }

.features__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.feature-card { position: relative; min-height: 500px; overflow: hidden; color: var(--white); }
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.feature-card--wide img { object-position: 50% 50%; }
.feature-card__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,21,35,.9), rgba(12,21,35,.08) 70%); }
.feature-card__content { position: absolute; right: 40px; bottom: 38px; left: 40px; }
.feature-card h3 { max-width: 440px; margin-bottom: 18px; color: var(--white); font-size: 2.4rem; }
.feature-card:hover img { transform: scale(1.045); }

.prayer-cta { position: relative; min-height: 565px; display: grid; place-items: center; overflow: hidden; text-align: center; color: var(--white); }
.prayer-cta__image, .prayer-cta__overlay { position: absolute; inset: 0; }
.prayer-cta__image { background: url("../images/prayer.jpg") center 46% / cover no-repeat; }
.prayer-cta__overlay { background: rgba(18,31,51,.77); }
.prayer-cta__inner { position: relative; max-width: 800px; }
.prayer-cta h2 { margin-bottom: 16px; color: var(--white); }
.prayer-cta p:not(.eyebrow) { margin: 0 auto 30px; color: rgba(255,255,255,.8); font-size: 1.08rem; }

.site-footer { padding-top: 82px; background: #101a2b; color: rgba(255,255,255,.66); }
.footer__top { display: grid; grid-template-columns: 1.6fr .7fr .7fr 1fr; gap: 65px; padding-bottom: 72px; }
.footer__brand img {
    display: block;
    width: 170px;
    padding: 10px;
    background: transparent;
}
.footer__brand p { max-width: 315px; margin: 25px 0 0; color: var(--white); font-size: .9rem; }
.footer__column, .footer__visit { display: flex; flex-direction: column; align-items: flex-start; }
.footer__column h2 { margin: 0 0 19px; color: var(--white); font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer__column a { margin: 4px 0; color: var(--white); font-size: .87rem; transition: color .2s ease; }
.footer__column a:hover { color: #efc98f; }
.footer__visit strong { margin-bottom: 15px; color: var(--white); font-family: var(--serif); font-size: 1.24rem; font-weight: 500; line-height: 1.4; }
.footer__visit span { font-size: .82rem; }
.footer__bottom { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .76rem; }
.footer__bottom p { margin: 0; color: var(--white); }
.footer__bottom a:hover { color: var(--white); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
    .topbar__inner { justify-content: center; }
    .topbar__inner > a { display: none; }
    .site-header { height: 78px; }
    .brand img { width: 132px; }
    .menu-toggle { display: flex; }
    .primary-nav {
        position: fixed;
        top: 116px;
        right: 0;
        bottom: 0;
        width: min(400px, 100%);
        display: block;
        padding: 22px 28px 40px;
        overflow-y: auto;
        background: var(--white);
        box-shadow: -15px 20px 40px rgba(20,31,50,.18);
        transform: translateX(105%);
        transition: transform .3s ease;
    }
    .primary-nav.is-open { transform: translateX(0); }
    .primary-nav > a, .nav-group__trigger { width: 100%; display: flex; justify-content: space-between; padding: 17px 4px; border-bottom: 1px solid var(--border); font-size: calc(1rem + 1pt); }
    .primary-nav > a::after, .nav-group__trigger::after { display: none; }
    .button--nav { width: 100%; margin-top: 22px; border-bottom: 0 !important; }
    .nav-dropdown { position: static; width: 100%; display: none; padding: 4px 0 10px 15px; border-top: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .nav-group.is-open .nav-dropdown { display: block; }
    .nav-dropdown a { padding: 10px 5px; }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
    .pathways__grid { grid-template-columns: repeat(2, 1fr); }
    .pathway-card:nth-child(2) { border-right: 0; }
    .pathway-card:nth-child(-n+2) { border-bottom: 1px solid #ded7cb; }
    .visit__grid { gap: 55px; }
    .visit__image { min-height: 560px; }
    .visit__image > img { height: 520px; }
    .event-row { grid-template-columns: 80px 1.4fr 1fr 30px; }
    .event-row__place { display: none; }
    .footer__top { grid-template-columns: 1.4fr .7fr .7fr; }
    .footer__visit { grid-column: 1 / -1; padding-top: 35px; border-top: 1px solid rgba(255,255,255,.12); }
}

@media (max-width: 760px) {
    .shell { width: min(100% - 32px, 1180px); }
    .section { padding: 78px 0; }
    .topbar { font-size: .69rem; }
    .topbar__inner { min-height: 42px; }
    .topbar p { justify-content: center; flex-wrap: wrap; gap: 4px 8px; line-height: 1.2; }
    .topbar__label { width: 100%; text-align: center; }
    .primary-nav { top: 120px; }
    .hero, .hero__inner { min-height: 680px; }
    .hero__inner { align-items: center; padding-top: 72px; padding-bottom: 32px; }
    .hero__image { background-position: 35% center; }
    .hero__shade { background: linear-gradient(90deg, rgba(10,19,34,.9), rgba(10,19,34,.45)), linear-gradient(0deg, rgba(8,18,32,.55), transparent); }
    .hero__content { padding-bottom: 0; }
    .hero h1 { font-size: clamp(3rem, 14vw, 4.2rem); }
    .hero__lead { font-size: 1rem; }
    .hero__lower { grid-template-columns: 1fr; gap: 30px; margin-top: 32px; }
    .hero__actions { min-height: 0; align-items: flex-start; flex-direction: column; gap: 21px; padding-right: 0; }
    .hero__service { width: 100%; min-height: 103px; grid-template-columns: 67px 1fr 42px; gap: 14px; padding: 14px; }
    .hero__service-date strong { font-size: 2rem; }
    .hero__service > div:nth-child(2) strong { font-size: .86rem; }
    .hero__service > a { width: 38px; height: 38px; }
    .welcome__grid { grid-template-columns: 1fr; gap: 30px; }
    .welcome__copy { padding-top: 0; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 38px; }
    .pathways__grid { grid-template-columns: 1fr; }
    .pathway-card { min-height: 310px; border-right: 0; border-bottom: 1px solid #ded7cb; }
    .pathway-card:last-child { border-bottom: 0; }
    .pathway-card__icon { margin-bottom: 28px; }
    .visit__grid { grid-template-columns: 1fr; gap: 55px; }
    .visit__image { min-height: 475px; }
    .visit__image > img { width: calc(100% - 30px); height: 445px; }
    .visit__quote { width: 250px; padding: 25px; }
    .visit__quote p { font-size: 1.23rem; }
    .visit__actions { align-items: flex-start; flex-direction: column; }
    .events__list { border-top: 0; }
    .event-row { min-height: 145px; grid-template-columns: 62px 1fr 22px; gap: 17px; }
    .event-row__meta { grid-column: 2; margin-top: -36px; font-size: .78rem; }
    .event-row > svg { grid-column: 3; grid-row: 1; }
    .event-row__date strong { font-size: 2.25rem; }
    .event-row__title strong { font-size: 1.2rem; }
    .features__grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 430px; }
    .feature-card__content { right: 25px; bottom: 27px; left: 25px; }
    .feature-card h3 { font-size: 2rem; }
    .prayer-cta { min-height: 520px; }
    .footer__top { grid-template-columns: 1fr 1fr; gap: 48px 30px; }
    .footer__brand { grid-column: 1 / -1; }
    .footer__visit { grid-column: 1 / -1; }
    .footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 20px 0; }
}

@media (max-width: 430px) {
    .topbar__dot { display: none; }
    .topbar p span:nth-of-type(4) { width: 100%; text-align: center; }
    .hero h1 { font-size: 3rem; }
    .service-list__item { grid-template-columns: 105px 1fr; gap: 13px; }
    .footer__top { grid-template-columns: 1fr; }
    .footer__column { grid-column: auto; }
}

/* Events page */
.page-hero {
    position: relative;
    min-height: 445px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}
.page-hero__image,
.page-hero__overlay { position: absolute; inset: 0; }
.page-hero--events .page-hero__image { background: url("../images/events-hero.jpg") center / cover no-repeat; }
.page-hero__overlay { background: linear-gradient(90deg, rgba(14,25,42,.94), rgba(14,25,42,.56) 60%, rgba(14,25,42,.2)); }
.page-hero__inner { position: relative; padding: 75px 0 68px; }
.page-hero h1 { margin: 0 0 16px; color: var(--white); font-size: clamp(3.8rem, 7vw, 6.1rem); }
.page-hero__inner > p:last-child { max-width: 640px; margin: 0; color: rgba(255,255,255,.82); font-size: 1.08rem; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; margin-bottom: 50px; color: rgba(255,255,255,.68); font-size: .76rem; font-weight: 600; }
.breadcrumbs a { color: var(--white); }
.breadcrumbs a:hover { color: #efc98f; }

.event-browser { background: #fbfaf7; }
.event-browser__toolbar { display: flex; align-items: end; justify-content: space-between; gap: 55px; margin-bottom: 58px; padding-bottom: 35px; border-bottom: 1px solid var(--border); }
.event-browser__toolbar h2 { margin-bottom: 0; font-size: 3.25rem; }
.event-filter { display: flex; align-items: end; gap: 12px; }
.event-filter label { display: flex; flex-direction: column; gap: 7px; color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.event-filter select {
    min-width: 155px;
    height: 52px;
    padding: 0 40px 0 15px;
    border: 1px solid var(--border);
    border-radius: 0;
    color: var(--ink);
    background: var(--white);
    font-size: .9rem;
    font-weight: 600;
    text-transform: none;
}
.event-filter label:nth-child(2) select { min-width: 108px; }
.event-filter select:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.event-browser__layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 38px; align-items: start; }
.event-cards { display: flex; flex-direction: column; gap: 17px; }
.event-card {
    min-height: 250px;
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr) 64px;
    align-items: stretch;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: 0 12px 35px rgba(23,35,58,.05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.event-card:hover { transform: translateY(-4px); border-color: #c8b28e; box-shadow: var(--shadow); }
.event-card__date { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--border); background: var(--cream); color: var(--gold-dark); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.event-card__date strong { margin: 6px 0 3px; color: var(--ink); font-family: var(--serif); font-size: 3.55rem; font-weight: 600; line-height: .82; }
.event-card__body { padding: 31px 32px 28px; }
.event-card__tag { color: var(--gold-dark); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.event-card h3 { margin: 6px 0 9px; font-size: 2rem; }
.event-card__body > p { max-width: 630px; margin: 0 0 20px; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.event-card__schedule { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .75rem; }
.event-card__schedule div { display: flex; align-items: center; gap: 7px; }
.event-card__schedule svg { width: 16px; flex: 0 0 auto; fill: none; stroke: var(--gold-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.event-card__schedule strong { color: var(--ink); font-weight: 700; }
.event-card__schedule .event-card__people { flex: 0 0 100%; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.event-card__people > span { display: flex; align-items: center; gap: 7px; }
.event-card__action { display: grid; place-items: center; border-left: 1px solid var(--border); color: var(--ink); transition: color .2s ease, background .2s ease; }
.event-card__action:hover { color: var(--white); background: var(--ink); }
.event-card__action svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.event-empty { padding: 70px 45px; border: 1px solid var(--border); background: var(--white); text-align: center; }
.event-empty__icon { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 23px; border-radius: 50%; background: var(--cream); color: var(--gold-dark); }
.event-empty__icon svg { width: 29px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.event-empty h3 { margin-bottom: 10px; }
.event-empty p { margin: 0 0 22px; color: var(--muted); }
.weekly-card { position: sticky; top: 110px; padding: 38px 34px 34px; background: var(--ink); color: rgba(255,255,255,.72); box-shadow: var(--shadow); }
.weekly-card h2 { margin-bottom: 16px; color: var(--white); font-size: 2.4rem; }
.weekly-card > p:not(.eyebrow) { margin: 0 0 28px; font-size: .88rem; }
.weekly-card__item { display: grid; grid-template-columns: 63px 1fr; gap: 14px; padding: 19px 0; border-top: 1px solid rgba(255,255,255,.14); }
.weekly-card__item > span { color: #efc98f; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.weekly-card__item div { display: flex; flex-direction: column; }
.weekly-card__item strong { color: var(--white); font-family: var(--serif); font-size: 1.12rem; font-weight: 500; }
.weekly-card__item small { color: rgba(255,255,255,.58); font-size: .7rem; }
.weekly-card .button { width: 100%; margin-top: 25px; padding-inline: 14px; }

.events-contact { padding: 92px 0; background: var(--cream); }
.events-contact__inner { display: grid; grid-template-columns: 1.2fr .75fr; gap: 110px; align-items: center; }
.events-contact h2 { max-width: 630px; margin-bottom: 0; }
.events-contact__inner > div:last-child p { margin: 0 0 23px; color: var(--muted); }

@media (max-width: 950px) {
    .event-browser__toolbar { align-items: flex-start; flex-direction: column; gap: 25px; }
    .event-browser__layout { grid-template-columns: 1fr; }
    .weekly-card { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }
    .weekly-card > .eyebrow,
    .weekly-card > h2,
    .weekly-card > p,
    .weekly-card > .button { grid-column: 1 / -1; }
    .weekly-card__item { border-bottom: 1px solid rgba(255,255,255,.14); }
}

@media (max-width: 680px) {
    .page-hero { min-height: 410px; }
    .page-hero__image { background-position: 62% center !important; }
    .page-hero__overlay { background: rgba(14,25,42,.72); }
    .page-hero__inner { padding: 55px 0; }
    .breadcrumbs { margin-bottom: 37px; }
    .page-hero h1 { font-size: 3.8rem; }
    .event-browser__toolbar h2 { font-size: 2.75rem; }
    .event-filter { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .event-filter label:nth-child(2) select,
    .event-filter select { width: 100%; min-width: 0; }
    .event-filter .button { grid-column: 1 / -1; width: 100%; }
    .event-card { grid-template-columns: 86px minmax(0, 1fr); }
    .event-card__date strong { font-size: 2.9rem; }
    .event-card__body { padding: 25px 22px; }
    .event-card h3 { font-size: 1.7rem; }
    .event-card__schedule { flex-direction: column; }
    .event-card__schedule .event-card__people { align-items: flex-start; flex-direction: column; }
    .event-card__action { grid-column: 1 / -1; min-height: 48px; border-top: 1px solid var(--border); border-left: 0; }
    .weekly-card { display: block; }
    .events-contact__inner { grid-template-columns: 1fr; gap: 25px; }
}

/* Sermons page and media player */
.page-hero--sermons .page-hero__image { background: url("../images/podcast.jpg") center 54% / cover no-repeat; }
.page-hero--sermons .page-hero__overlay { background: linear-gradient(90deg, rgba(14,25,42,.95), rgba(14,25,42,.64) 58%, rgba(14,25,42,.3)); }

.sermon-library { background: #fbfaf7; }
.sermon-library__heading { display: flex; align-items: end; justify-content: space-between; gap: 90px; margin-bottom: 42px; }
.sermon-library__heading h2 { margin-bottom: 0; }
.sermon-library__heading > p { max-width: 430px; margin: 0 0 7px; color: var(--muted); }
.sermon-filter { display: flex; align-items: center; gap: 12px; margin-bottom: 45px; padding: 17px; border: 1px solid var(--border); background: var(--white); scroll-margin-top: 110px; }
.sermon-filter label { position: relative; }
.sermon-search { flex: 1; }
.sermon-search svg { position: absolute; top: 50%; left: 17px; width: 21px; fill: none; stroke: var(--muted); stroke-width: 1.6; transform: translateY(-50%); }
.sermon-filter input,
.sermon-filter select { height: 52px; border: 1px solid var(--border); border-radius: 0; color: var(--ink); background: var(--white); font: 500 .9rem var(--sans); }
.sermon-filter input { width: 100%; padding: 0 18px 0 49px; }
.sermon-filter select { min-width: 185px; padding: 0 40px 0 15px; }
.sermon-filter input:focus,
.sermon-filter select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.sermon-filter__reset { padding: 10px; color: var(--gold-dark); font-size: .8rem; font-weight: 700; }
.sermon-library__layout { display: grid; grid-template-columns: minmax(0, 1fr) 405px; gap: 40px; align-items: start; }
.sermon-list { border: 1px solid var(--border); background: var(--white); }
.sermon-list__header { min-height: 57px; display: flex; align-items: center; justify-content: space-between; padding: 0 25px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sermon-row {
    position: relative;
    width: 100%;
    min-height: 142px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 135px 24px;
    align-items: center;
    gap: 20px;
    padding: 23px 25px;
    border: 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.sermon-row:last-child { border-bottom: 0; }
.sermon-row:hover,
.sermon-row.is-playing { background: var(--cream); }
.sermon-row.is-playing::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--gold); }
.sermon-row__play { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #cfd4dc; border-radius: 50%; color: var(--ink); transition: color .2s ease, background .2s ease, border-color .2s ease; }
.sermon-row:hover .sermon-row__play,
.sermon-row.is-playing .sermon-row__play { border-color: var(--ink); color: var(--white); background: var(--ink); }
.sermon-row__play svg { grid-area: 1 / 1; width: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sermon-row__play .icon-play { fill: currentColor; stroke: none; }
.sermon-row__play .icon-bars { display: none; }
.sermon-row.is-playing .icon-play { display: none; }
.sermon-row.is-playing .icon-bars { display: block; }
.sermon-row__main { display: flex; flex-direction: column; min-width: 0; }
.sermon-row__main small { margin-bottom: 3px; color: var(--gold-dark); font-size: .65rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.sermon-row__main strong { overflow: hidden; color: var(--ink); font-family: var(--serif); font-size: 1.52rem; font-weight: 500; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.sermon-row__main > span { margin-top: 4px; color: var(--muted); font-size: .78rem; }
.sermon-row__date { color: var(--muted); font-size: .74rem; text-align: right; }
.sermon-row__arrow { width: 20px; fill: none; stroke: var(--ink); stroke-width: 1.5; transition: transform .2s ease; }
.sermon-row:hover .sermon-row__arrow { transform: translateX(3px); }
.sermon-empty { padding: 70px 35px; text-align: center; }
.sermon-empty h3 { margin-bottom: 9px; }
.sermon-empty p { margin: 0 0 20px; color: var(--muted); }
.sermon-pagination { grid-column: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-top: -10px; padding: 18px 20px; border: 1px solid var(--border); background: var(--white); }
.sermon-pagination__direction { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: .76rem; font-weight: 700; }
.sermon-pagination__direction:last-child { justify-self: end; }
.sermon-pagination__direction:hover { color: var(--gold-dark); }
.sermon-pagination__direction.is-disabled { color: #a2a9b3; }
.sermon-pagination__pages { display: flex; align-items: center; gap: 6px; }
.sermon-pagination__pages a { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid transparent; color: var(--ink); font-size: .76rem; font-weight: 700; }
.sermon-pagination__pages a:hover { border-color: var(--gold); color: var(--gold-dark); }
.sermon-pagination__pages a.is-current { border-color: var(--ink); color: var(--white); background: var(--ink); }

.audio-card { position: sticky; top: 110px; overflow: hidden; background: var(--ink); color: var(--white); box-shadow: var(--shadow); }
.audio-card__art { position: relative; height: 215px; overflow: hidden; }
.audio-card__image { position: absolute; inset: 0; background: linear-gradient(rgba(15,27,45,.32), rgba(15,27,45,.8)), url("../images/podcast.jpg") center / cover no-repeat; transition: transform .7s ease; }
.audio-card:hover .audio-card__image { transform: scale(1.035); }
.audio-card__badge { position: absolute; top: 22px; left: 24px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.35); color: var(--white); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.audio-card__mark { position: absolute; right: 25px; bottom: 21px; width: 55px; fill: none; stroke: #efc98f; stroke-width: 2; }
.audio-card__content { padding: 30px 31px 28px; }
.audio-card__content .eyebrow { margin-bottom: 8px; }
.audio-card h2 { margin-bottom: 7px; color: var(--white); font-size: 2.15rem; }
.audio-card__meta { margin: 0 0 28px; color: rgba(255,255,255,.61); font-size: .76rem; }
.audio-progress input { width: 100%; height: 4px; margin: 0; accent-color: var(--gold); cursor: pointer; }
.audio-progress__times { display: flex; justify-content: space-between; margin-top: 5px; color: rgba(255,255,255,.55); font-size: .65rem; }
.audio-controls { display: flex; align-items: center; justify-content: center; gap: 26px; margin: 23px 0; }
.audio-controls button { position: relative; width: 43px; height: 43px; display: grid; place-items: center; padding: 0; border: 0; color: var(--white); background: transparent; cursor: pointer; }
.audio-controls button > svg { grid-area: 1 / 1; width: 28px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.audio-controls button > span { position: absolute; top: 15px; font-size: .48rem; font-weight: 700; }
.audio-controls .audio-controls__play { width: 66px; height: 66px; border-radius: 50%; color: var(--ink); background: var(--gold); transition: transform .2s ease, background .2s ease; }
.audio-controls__play:hover { transform: scale(1.04); background: #e0b978; }
.audio-controls__play .play-symbol { fill: currentColor; stroke: none; }
.audio-controls__play .pause-symbol { display: none; }
.audio-card.is-playing .audio-controls__play .play-symbol { display: none; }
.audio-card.is-playing .audio-controls__play .pause-symbol { display: block; }
.audio-options { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 13px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); }
.audio-options label:first-child { display: flex; align-items: center; gap: 8px; }
.audio-options label:first-child svg { width: 18px; flex: 0 0 auto; fill: none; stroke: rgba(255,255,255,.68); stroke-width: 1.5; }
.audio-options input { width: 82px; accent-color: var(--gold); }
.audio-options select { height: 34px; padding: 0 7px; border: 1px solid rgba(255,255,255,.22); color: var(--white); background: var(--ink-soft); font-size: .72rem; }
.audio-options a { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,.78); font-size: .7rem; font-weight: 700; }
.audio-options a:hover { color: #efc98f; }
.audio-options a svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.sermon-cta { padding: 90px 0; background: var(--ink); color: var(--white); }
.sermon-cta__inner { display: grid; grid-template-columns: 1.2fr .72fr; align-items: center; gap: 110px; }
.sermon-cta h2 { max-width: 650px; margin-bottom: 0; color: var(--white); }
.sermon-cta__inner > div:last-child p { margin: 0 0 25px; color: rgba(255,255,255,.68); }

@media (max-width: 980px) {
    .sermon-library__layout { grid-template-columns: 1fr; }
    .audio-card { position: relative; top: auto; width: min(100%, 640px); margin-inline: auto; order: -1; }
    .sermon-list { order: 2; }
    .sermon-pagination { order: 3; }
}

@media (max-width: 720px) {
    .sermon-library__heading { align-items: flex-start; flex-direction: column; gap: 18px; }
    .sermon-filter { align-items: stretch; flex-direction: column; }
    .sermon-filter select { width: 100%; }
    .sermon-filter .button { width: 100%; }
    .sermon-filter__reset { text-align: center; }
    .sermon-row { grid-template-columns: 50px minmax(0, 1fr) 20px; gap: 13px; padding: 21px 17px; }
    .sermon-row__play { width: 43px; height: 43px; }
    .sermon-row__date { grid-column: 2; margin-top: -10px; text-align: left; }
    .sermon-row__arrow { grid-column: 3; grid-row: 1; }
    .audio-card__content { padding: 27px 23px 24px; }
    .audio-options { grid-template-columns: 1fr auto; }
    .audio-options a { grid-column: 1 / -1; padding-top: 7px; }
    .sermon-pagination { grid-template-columns: 1fr 1fr; padding: 16px; }
    .sermon-pagination__pages { grid-column: 1 / -1; grid-row: 1; justify-content: center; }
    .sermon-pagination__direction { grid-row: 2; }
    .sermon-cta__inner { grid-template-columns: 1fr; gap: 25px; }
}

/* Prayer request page */
.page-hero--prayer .page-hero__image { background: url("../images/prayer.jpg") center 42% / cover no-repeat; }
.page-hero--prayer .page-hero__overlay { background: linear-gradient(90deg, rgba(14,25,42,.94), rgba(14,25,42,.64) 62%, rgba(14,25,42,.35)); }
.page-hero--prayer .page-hero__inner { max-width: 1180px; }
.page-hero--prayer h1 { max-width: 820px; font-size: clamp(3.55rem, 6.5vw, 5.8rem); }

.prayer-section { background: #fbfaf7; }
.prayer-section__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 95px; align-items: start; }
.prayer-intro { position: sticky; top: 110px; padding-top: 23px; }
.prayer-intro h2 { margin-bottom: 20px; }
.prayer-intro__lead { margin: 0 0 36px; color: var(--muted); font-size: 1rem; }
.prayer-promise { display: grid; grid-template-columns: 48px 1fr; gap: 17px; align-items: start; padding: 20px 0; border-top: 1px solid var(--border); }
.prayer-promise__icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-dark); background: var(--cream); }
.prayer-promise__icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.prayer-promise > div:last-child { display: flex; flex-direction: column; }
.prayer-promise strong { margin-bottom: 2px; color: var(--ink); font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.prayer-promise span { color: var(--muted); font-size: .83rem; line-height: 1.55; }
.prayer-intro blockquote { position: relative; margin: 38px 0 0; padding: 29px 32px 27px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); }
.prayer-intro blockquote > span { position: absolute; top: 20px; right: 28px; color: rgba(239,201,143,.25); font-family: var(--serif); font-size: 5.5rem; line-height: 1; }
.prayer-intro blockquote p { position: relative; max-width: 310px; margin: 0 0 12px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; }
.prayer-intro blockquote cite { color: #efc98f; font-size: .68rem; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.prayer-form-card { min-height: 660px; padding: 52px 55px; border-top: 4px solid var(--gold); background: var(--white); box-shadow: var(--shadow); }
.prayer-form-card__heading { margin-bottom: 34px; }
.prayer-form-card__heading h2 { margin-bottom: 11px; font-size: 3.2rem; }
.prayer-form-card__heading > p:last-child { margin: 0; color: var(--muted); }
.form-alert { margin-bottom: 24px; padding: 13px 16px; border-left: 3px solid #a53e36; color: #7c2d27; background: #fff1ef; font-size: .83rem; font-weight: 600; }
.prayer-form { display: flex; flex-direction: column; gap: 22px; }
.form-grid { display: grid; gap: 18px; }
.form-grid--two { grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field > span,
.privacy-options legend { color: var(--ink); font-size: .78rem; font-weight: 700; }
.form-field > span small { margin-left: 5px; color: #89919e; font-size: .65rem; font-weight: 600; text-transform: uppercase; }
.form-field input,
.form-field textarea { width: 100%; border: 1px solid #cfd5dd; border-radius: 0; color: var(--ink); background: #fff; font: 500 .9rem var(--sans); transition: border-color .2s ease, box-shadow .2s ease; }
.form-field input { height: 54px; padding: 0 16px; }
.form-field textarea { min-height: 165px; padding: 15px 16px; line-height: 1.6; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #949ba5; }
.form-field input:focus,
.form-field textarea:focus { outline: 0; border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(208,161,91,.15); }
.form-field > small { color: var(--muted); font-size: .67rem; }
.form-field.has-error input,
.form-field.has-error textarea { border-color: #a53e36; }
.form-field.has-error > small { color: #8b302a; }
.privacy-options { margin: 2px 0 0; padding: 0; border: 0; }
.privacy-options legend { margin-bottom: 10px; }
.privacy-options > label { display: grid; grid-template-columns: 19px 1fr; gap: 10px; align-items: start; padding: 13px 15px; border: 1px solid var(--border); cursor: pointer; }
.privacy-options > label + label { margin-top: 9px; }
.privacy-options input { width: 16px; height: 16px; margin: 4px 0 0; accent-color: var(--gold-dark); }
.privacy-options label > span { display: flex; flex-direction: column; }
.privacy-options strong { color: var(--ink); font-size: .82rem; }
.privacy-options small { color: var(--muted); font-size: .7rem; }
.follow-up-option { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: .78rem; cursor: pointer; }
.follow-up-option input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--gold-dark); }
.form-honeypot { position: absolute; left: -10000px; }
.prayer-form__submit { align-self: flex-start; gap: 14px; min-width: 235px; }
.prayer-form__submit svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.preview-note { margin: -8px 0 0; color: var(--muted); font-size: .68rem; }
.preview-note strong { color: var(--ink); }

.prayer-success { min-height: 550px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.prayer-success__icon { width: 82px; height: 82px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 50%; color: var(--white); background: var(--gold-dark); }
.prayer-success__icon svg { width: 39px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prayer-success h2 { margin-bottom: 14px; }
.prayer-success > p:not(.eyebrow) { max-width: 470px; margin: 0 0 28px; color: var(--muted); }

.prayer-steps { padding: 100px 0 110px; background: var(--cream); }
.prayer-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d9d0c3; border-bottom: 1px solid #d9d0c3; }
.prayer-step { position: relative; min-height: 255px; padding: 37px 38px; border-right: 1px solid #d9d0c3; }
.prayer-step:last-child { border-right: 0; }
.prayer-step > span { color: var(--gold-dark); font-family: var(--serif); font-size: .9rem; }
.prayer-step h3 { margin: 45px 0 11px; font-size: 1.65rem; }
.prayer-step p { margin: 0; color: var(--muted); font-size: .84rem; }

@media (max-width: 950px) {
    .prayer-section__grid { grid-template-columns: 1fr; gap: 60px; }
    .prayer-intro { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 35px; padding-top: 0; }
    .prayer-intro > .eyebrow,
    .prayer-intro > h2,
    .prayer-intro > .prayer-intro__lead,
    .prayer-intro > blockquote { grid-column: 1 / -1; }
    .prayer-intro blockquote { width: min(100%, 540px); }
}

@media (max-width: 680px) {
    .page-hero--prayer h1 { font-size: 3.4rem; }
    .prayer-intro { display: block; }
    .prayer-form-card { min-height: 0; padding: 38px 24px; }
    .prayer-form-card__heading h2 { font-size: 2.65rem; }
    .form-grid--two { grid-template-columns: 1fr; }
    .prayer-form__submit { width: 100%; }
    .prayer-steps__grid { grid-template-columns: 1fr; }
    .prayer-step { min-height: 220px; border-right: 0; border-bottom: 1px solid #d9d0c3; }
    .prayer-step:last-child { border-bottom: 0; }
    .prayer-step h3 { margin-top: 30px; }
}

/* Elders and deacons page */
.page-hero--leadership .page-hero__image { background: url("../images/leadership-hero.jpg") center / cover no-repeat; }
.page-hero--leadership .page-hero__overlay { background: linear-gradient(90deg, rgba(14,25,42,.94), rgba(14,25,42,.63) 60%, rgba(14,25,42,.22)); }
.page-hero--leadership h1 { max-width: 850px; }

.leadership-intro__grid { display: grid; grid-template-columns: 1fr .85fr; gap: 115px; align-items: start; }
.leadership-intro h2 { max-width: 620px; margin-bottom: 0; }
.leadership-intro__copy { padding-top: 28px; }
.leadership-intro__copy p { margin: 0 0 18px; color: var(--muted); }
.leadership-intro__copy .text-link { margin-top: 10px; }

.leadership-values { padding: 80px 0; }
.leadership-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.leadership-value { position: relative; min-height: 305px; padding: 35px 42px 30px; border-right: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.68); }
.leadership-value:last-child { border-right: 0; }
.leadership-value > span { position: absolute; top: 0; right: 28px; color: rgba(255,255,255,.18); font-family: var(--serif); font-size: 4.2rem; line-height: 1; }
.leadership-value__icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 35px; border-radius: 50%; color: #efc98f; background: rgba(255,255,255,.08); }
.leadership-value__icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.leadership-value h3 { margin-bottom: 12px; color: var(--white); font-size: 2rem; }
.leadership-value p { max-width: 295px; margin: 0; font-size: .87rem; }

.leadership-team { background: #fbfaf7; }
.team-group { padding: 0 0 100px; }
.team-group:last-child { padding-bottom: 0; }
.team-group--bordered { padding-top: 100px; border-top: 1px solid var(--border); }
.team-group__heading { display: grid; grid-template-columns: 1fr .78fr; gap: 80px; align-items: end; margin-bottom: 45px; }
.team-group__heading h2 { margin-bottom: 0; }
.team-group__heading > p { margin: 0 0 5px; color: var(--muted); }
.team-grid { width: min(100%, 950px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.team-grid__empty { grid-column: 1 / -1; margin: 0; padding: 28px; border: 1px solid var(--border); color: var(--muted); background: var(--white); }
.team-card { overflow: hidden; border: 1px solid var(--border); background: var(--white); transition: transform .25s ease, box-shadow .25s ease; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-card__image { position: relative; aspect-ratio: 1.64 / 1; overflow: hidden; background: var(--cream); }
.team-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.team-card:hover .team-card__image img { transform: scale(1.025); }
.team-card__image > span { position: absolute; bottom: 0; left: 0; padding: 9px 14px; color: var(--ink); background: var(--gold); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.team-card__body { padding: 25px 28px 27px; }
.team-card h3 { margin: 0 0 5px; font-size: 1.75rem; }
.team-card__body p { margin: 0; color: var(--muted); font-size: .78rem; }

.leadership-contact { padding: 102px 0; background: linear-gradient(110deg, #15243c, #213a58); color: var(--white); }
.leadership-contact__inner { display: grid; grid-template-columns: 1fr auto; gap: 90px; align-items: center; }
.leadership-contact h2 { margin-bottom: 17px; color: var(--white); }
.leadership-contact__inner > div:first-child > p:last-child { max-width: 720px; margin: 0; color: rgba(255,255,255,.68); }
.leadership-contact__actions { display: flex; align-items: center; flex-direction: column; gap: 20px; min-width: 250px; }
.leadership-contact__actions .button { width: 100%; }

@media (max-width: 850px) {
    .leadership-intro__grid { grid-template-columns: 1fr; gap: 28px; }
    .leadership-intro__copy { padding-top: 0; }
    .leadership-values__grid { grid-template-columns: 1fr; }
    .leadership-value { min-height: 250px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
    .leadership-value:last-child { border-bottom: 0; }
    .team-group__heading { grid-template-columns: 1fr; gap: 15px; }
    .leadership-contact__inner { grid-template-columns: 1fr; gap: 35px; }
    .leadership-contact__actions { align-items: flex-start; min-width: 0; }
    .leadership-contact__actions .button { width: auto; }
}

@media (max-width: 580px) {
    .page-hero--leadership .page-hero__image { background-position: 68% center; }
    .team-grid { grid-template-columns: 1fr; }
    .team-group { padding-bottom: 75px; }
    .team-group--bordered { padding-top: 75px; }
    .team-card__body { padding: 22px; }
}

/* Vision statement page */
.page-hero--vision .page-hero__image { background: url("../images/leadership-hero.jpg") center 45% / cover no-repeat; }
.page-hero--vision .page-hero__overlay { background: linear-gradient(90deg, rgba(14,25,42,.95), rgba(14,25,42,.65) 58%, rgba(14,25,42,.25)); }
.page-hero--vision h1 { max-width: 900px; }
.page-hero--vision .page-hero__inner > p:last-child { max-width: 670px; }

.vision-intro { background: var(--white); }
.vision-intro__grid { display: grid; grid-template-columns: 1.05fr .8fr; gap: 115px; align-items: start; }
.vision-intro h2 { max-width: 670px; margin-bottom: 0; }
.vision-intro__copy { padding-top: 25px; }
.vision-intro__copy p { color: var(--muted); }
.vision-intro__copy .vision-intro__lead { margin-top: 0; color: var(--ink); font-family: var(--serif); font-size: 1.55rem; line-height: 1.45; }

.vision-themes { padding: 15px 0 120px; background: #fbfaf7; }
.vision-theme { display: grid; grid-template-columns: .75fr 1.25fr; gap: 75px; padding: 90px 0; border-top: 1px solid var(--border); }
.vision-theme:first-child { border-top: 0; }
.vision-theme__heading { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 21px; }
.vision-theme__number { padding-top: 5px; color: var(--gold-dark); font-family: var(--serif); font-size: 1.05rem; }
.vision-theme__heading h2 { margin-bottom: 15px; font-size: clamp(2.7rem, 4vw, 4.2rem); }
.vision-theme__heading > div > p:last-child { max-width: 410px; margin: 0; color: var(--muted); }
.vision-points { margin: 0; padding: 0; list-style: none; counter-reset: none; border-top: 1px solid var(--border); }
.vision-points li { min-height: 122px; display: grid; grid-template-columns: 50px 1fr; gap: 22px; align-items: center; padding: 25px 12px; border-bottom: 1px solid var(--border); }
.vision-points li > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #d8c7ab; border-radius: 50%; color: var(--gold-dark); font-family: var(--serif); font-size: .78rem; }
.vision-points li p { max-width: 600px; margin: 0; color: var(--ink); font-family: var(--serif); font-size: 1.34rem; line-height: 1.43; }

.vision-commitment { overflow: hidden; padding: 110px 0; background: linear-gradient(115deg, #14233a, #213d5d); color: var(--white); }
.vision-commitment__inner { position: relative; display: grid; grid-template-columns: 125px 1fr; gap: 45px; align-items: start; }
.vision-commitment__mark { height: 100px; color: var(--gold); font-family: var(--serif); font-size: 10rem; line-height: .92; }
.vision-commitment blockquote { max-width: 1000px; margin: 0; color: var(--white); font-family: var(--serif); font-size: clamp(2.25rem, 4.2vw, 4.25rem); font-weight: 500; line-height: 1.15; }

.vision-next { background: var(--cream); }
.vision-next__inner { display: grid; grid-template-columns: 1fr auto; gap: 100px; align-items: center; }
.vision-next h2 { margin-bottom: 16px; }
.vision-next__inner > div:first-child > p:last-child { max-width: 650px; margin: 0; color: var(--muted); }
.vision-next__actions { min-width: 245px; display: flex; align-items: flex-start; flex-direction: column; gap: 22px; }
.vision-next__actions .button { width: 100%; }

@media (max-width: 900px) {
    .vision-intro__grid { grid-template-columns: 1fr; gap: 25px; }
    .vision-intro__copy { padding-top: 0; }
    .vision-theme { grid-template-columns: 1fr; gap: 45px; }
    .vision-theme__heading > div > p:last-child { max-width: 650px; }
    .vision-next__inner { grid-template-columns: 1fr; gap: 35px; }
    .vision-next__actions { min-width: 0; }
}

@media (max-width: 620px) {
    .page-hero--vision .page-hero__image { background-position: 62% center; }
    .vision-themes { padding-bottom: 80px; }
    .vision-theme { gap: 30px; padding: 70px 0; }
    .vision-theme__heading { grid-template-columns: 1fr; gap: 8px; }
    .vision-theme__number { position: absolute; top: 0; right: 0; color: rgba(181,132,63,.45); font-size: 3rem; line-height: 1; }
    .vision-theme__heading h2 { padding-right: 30px; }
    .vision-points li { grid-template-columns: 42px 1fr; gap: 14px; padding-inline: 0; }
    .vision-points li > span { width: 38px; height: 38px; }
    .vision-points li p { font-size: 1.12rem; }
    .vision-commitment { padding: 80px 0; }
    .vision-commitment__inner { grid-template-columns: 1fr; gap: 0; }
    .vision-commitment__mark { height: 78px; font-size: 8rem; }
    .vision-commitment blockquote { font-size: 2.15rem; }
    .vision-next__actions .button { width: 100%; }
}

/* Statement of faith page */
.page-hero--faith .page-hero__image { background: url("../images/open-bible.jpg") center 67% / cover no-repeat; }
.page-hero--faith .page-hero__overlay { background: linear-gradient(90deg, rgba(14,25,42,.96), rgba(14,25,42,.72) 56%, rgba(14,25,42,.32)); }
.page-hero--faith h1 { max-width: 880px; }
.page-hero--faith .page-hero__inner > p:last-child { max-width: 680px; }

.faith-intro { background: var(--cream); }
.faith-intro__grid { display: grid; grid-template-columns: 1fr .75fr; gap: 120px; align-items: start; }
.faith-intro h2 { max-width: 660px; margin-bottom: 0; }
.faith-intro__copy { padding-top: 27px; }
.faith-intro__copy p:first-child { margin-top: 0; color: var(--ink); font-family: var(--serif); font-size: 1.5rem; line-height: 1.45; }
.faith-intro__copy p:last-child { margin-bottom: 0; color: var(--muted); }

.faith-content { padding: 120px 0; background: #fbfaf7; }
.faith-content__layout { display: grid; grid-template-columns: 285px minmax(0, 1fr); gap: 105px; align-items: start; }
.faith-index { position: sticky; top: 115px; padding: 29px 28px 24px; border-top: 3px solid var(--gold); background: var(--ink); color: var(--white); }
.faith-index > .eyebrow { margin-bottom: 20px; color: #efc98f; }
.faith-index nav { display: flex; flex-direction: column; }
.faith-index a { display: grid; grid-template-columns: 28px 1fr; gap: 9px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.75); font-size: .76rem; line-height: 1.35; transition: color .2s ease, padding-left .2s ease; }
.faith-index a:hover { padding-left: 4px; color: var(--white); }
.faith-index a span { color: #efc98f; font-family: var(--serif); font-size: .72rem; }

.faith-articles { border-top: 1px solid var(--border); }
.faith-article { scroll-margin-top: 115px; display: grid; grid-template-columns: 72px 1fr; gap: 30px; padding: 78px 0 82px; border-bottom: 1px solid var(--border); }
.faith-article:first-child { padding-top: 25px; }
.faith-article__number { width: 56px; height: 56px; display: grid; place-items: center; margin-top: 2px; border: 1px solid #d9c8ab; border-radius: 50%; color: var(--gold-dark); font-family: var(--serif); font-size: .9rem; }
.faith-article__body { max-width: 755px; }
.faith-article__body > .eyebrow { margin-bottom: 7px; }
.faith-article h2 { margin-bottom: 24px; font-size: clamp(2.6rem, 4.2vw, 4rem); }
.faith-article__body > p:not(.eyebrow):not(.faith-references) { margin: 0 0 18px; color: var(--text); font-size: .95rem; line-height: 1.85; }
.faith-references { display: flex; align-items: flex-start; gap: 14px; margin: 27px 0 0; padding: 15px 18px; border-left: 2px solid var(--gold); color: var(--muted); background: var(--cream); font-size: .72rem; line-height: 1.6; }
.faith-references span { flex: 0 0 auto; color: var(--gold-dark); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.faith-subsections { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.faith-subsections > section { padding: 28px; border: 1px solid var(--border); background: var(--white); }
.faith-subsections h3 { margin: 0 0 13px; font-size: 1.7rem; }
.faith-subsections section > p:not(.faith-references) { margin: 0; color: var(--text); font-size: .86rem; line-height: 1.75; }
.faith-subsections .faith-references { display: block; margin-top: 22px; padding: 13px 0 0; border-top: 1px solid var(--border); border-left: 0; background: transparent; }
.faith-subsections .faith-references span { display: block; margin-bottom: 4px; }

.faith-closing { padding: 105px 0; background: linear-gradient(115deg, #15243c, #213c5b); color: var(--white); }
.faith-closing__inner { display: grid; grid-template-columns: 1fr auto; gap: 100px; align-items: center; }
.faith-closing h2 { margin-bottom: 16px; color: var(--white); }
.faith-closing__inner > div:first-child > p:last-child { max-width: 680px; margin: 0; color: rgba(255,255,255,.68); }
.faith-closing__actions { min-width: 250px; display: flex; align-items: center; flex-direction: column; gap: 20px; }
.faith-closing__actions .button { width: 100%; }

@media (max-width: 950px) {
    .faith-intro__grid { grid-template-columns: 1fr; gap: 28px; }
    .faith-intro__copy { padding-top: 0; }
    .faith-content__layout { grid-template-columns: 1fr; gap: 55px; }
    .faith-index { position: static; }
    .faith-index nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; }
    .faith-closing__inner { grid-template-columns: 1fr; gap: 35px; }
    .faith-closing__actions { align-items: flex-start; min-width: 0; }
    .faith-closing__actions .button { width: auto; }
}

@media (max-width: 680px) {
    .page-hero--faith .page-hero__image { background-position: 58% center !important; }
    .page-hero--faith h1 { font-size: 3.45rem; }
    .faith-content { padding: 80px 0; }
    .faith-index { padding: 25px 22px 20px; }
    .faith-index nav { grid-template-columns: 1fr 1fr; gap: 0 16px; }
    .faith-article { grid-template-columns: 1fr; gap: 20px; padding: 62px 0 66px; }
    .faith-article:first-child { padding-top: 15px; }
    .faith-article__number { width: 48px; height: 48px; }
    .faith-article h2 { margin-bottom: 20px; font-size: 2.65rem; }
    .faith-subsections { grid-template-columns: 1fr; }
    .faith-references { flex-direction: column; gap: 5px; }
    .faith-closing__actions .button { width: 100%; }
}

@media (max-width: 430px) {
    .faith-index nav { grid-template-columns: 1fr; }
}

/* Principles and practices page */
.page-hero--practices .page-hero__image { background: url("../images/chapel-hero.jpg") center 48% / cover no-repeat; }
.page-hero--practices .page-hero__overlay { background: linear-gradient(90deg, rgba(14,25,42,.96), rgba(14,25,42,.72) 60%, rgba(14,25,42,.34)); }
.page-hero--practices h1 { max-width: 900px; }
.page-hero--practices .page-hero__inner > p:last-child { max-width: 680px; }

.practices-intro { background: var(--white); }
.practices-intro__grid { display: grid; grid-template-columns: 1fr .75fr; gap: 120px; align-items: start; }
.practices-intro h2 { max-width: 680px; margin-bottom: 0; }
.practices-intro__copy { padding-top: 27px; }
.practices-intro__copy > p { margin-top: 0; color: var(--ink); font-family: var(--serif); font-size: 1.5rem; line-height: 1.45; }
.practices-intro__copy .text-link { margin-top: 12px; }

.practices-overview { padding: 0 0 110px; background: var(--white); }
.practices-overview__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); }
.practices-overview__grid > div { min-height: 225px; padding: 31px 32px 28px; border-right: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.67); }
.practices-overview__grid > div:last-child { border-right: 0; }
.practices-overview span { color: #efc98f; font-family: var(--serif); font-size: .8rem; }
.practices-overview h3 { margin: 42px 0 10px; color: var(--white); font-size: 1.8rem; }
.practices-overview p { margin: 0; font-size: .8rem; line-height: 1.6; }

.practices-content { padding: 120px 0; background: #fbfaf7; }
.practices-content__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 100px; align-items: start; }
.practices-index { position: sticky; top: 115px; padding: 30px 27px 24px; border: 1px solid var(--border); border-top: 3px solid var(--gold); background: var(--white); }
.practices-index > .eyebrow { margin-bottom: 20px; }
.practices-index nav { display: flex; flex-direction: column; }
.practices-index a { display: grid; grid-template-columns: 28px 1fr; gap: 9px; padding: 11px 0; border-top: 1px solid var(--border); color: var(--text); font-size: .76rem; line-height: 1.35; transition: color .2s ease, padding-left .2s ease; }
.practices-index a:hover { padding-left: 4px; color: var(--gold-dark); }
.practices-index a span { color: var(--gold-dark); font-family: var(--serif); font-size: .72rem; }

.practice-articles { border-top: 1px solid var(--border); }
.practice-article { scroll-margin-top: 115px; padding: 85px 0 90px; border-bottom: 1px solid var(--border); }
.practice-article:first-child { padding-top: 25px; }
.practice-article > header { display: grid; grid-template-columns: 70px 1fr; gap: 28px; margin-bottom: 32px; }
.practice-article > header > span { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid #d8c7aa; border-radius: 50%; color: var(--gold-dark); font-family: var(--serif); font-size: .88rem; }
.practice-article header .eyebrow { margin-bottom: 5px; }
.practice-article h2 { margin-bottom: 11px; font-size: clamp(2.7rem, 4.2vw, 4rem); }
.practice-article__lead { margin: 0; color: var(--muted); font-family: var(--serif); font-size: 1.25rem; }
.practice-article__copy { max-width: 760px; margin-left: 98px; }
.practice-article__copy > p { margin: 0 0 18px; color: var(--text); font-size: .94rem; line-height: 1.86; }
.practice-article blockquote { max-width: 760px; margin: 0 0 31px 98px; padding: 25px 30px; border-left: 3px solid var(--gold); background: var(--ink); color: var(--white); }
.practice-article blockquote p { margin: 0 0 8px; font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; }
.practice-article blockquote cite { color: #efc98f; font-size: .66rem; font-style: normal; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.practice-references { max-width: 760px; display: flex; align-items: flex-start; gap: 14px; margin: 27px 0 0 98px; padding: 15px 18px; border-left: 2px solid var(--gold); color: var(--muted); background: var(--cream); font-size: .72rem; line-height: 1.6; }
.practice-references span { flex: 0 0 auto; color: var(--gold-dark); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.practices-closing { padding: 105px 0; background: linear-gradient(115deg, #15243c, #213c5b); color: var(--white); }
.practices-closing__inner { display: grid; grid-template-columns: 1fr auto; gap: 100px; align-items: center; }
.practices-closing h2 { margin-bottom: 16px; color: var(--white); }
.practices-closing__inner > div:first-child > p:last-child { max-width: 680px; margin: 0; color: rgba(255,255,255,.68); }
.practices-closing__actions { min-width: 250px; display: flex; align-items: center; flex-direction: column; gap: 20px; }
.practices-closing__actions .button { width: 100%; }

@media (max-width: 950px) {
    .practices-intro__grid { grid-template-columns: 1fr; gap: 28px; }
    .practices-intro__copy { padding-top: 0; }
    .practices-overview__grid { grid-template-columns: 1fr 1fr; }
    .practices-overview__grid > div:nth-child(2) { border-right: 0; }
    .practices-overview__grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
    .practices-content__layout { grid-template-columns: 1fr; gap: 55px; }
    .practices-index { position: static; }
    .practices-index nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
    .practices-closing__inner { grid-template-columns: 1fr; gap: 35px; }
    .practices-closing__actions { align-items: flex-start; min-width: 0; }
    .practices-closing__actions .button { width: auto; }
}

@media (max-width: 680px) {
    .page-hero--practices .page-hero__image { background-position: 28% center !important; }
    .page-hero--practices h1 { font-size: 3.45rem; }
    .practices-overview { padding-bottom: 80px; }
    .practices-overview__grid { grid-template-columns: 1fr; }
    .practices-overview__grid > div { min-height: 185px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
    .practices-overview__grid > div:last-child { border-bottom: 0; }
    .practices-overview h3 { margin-top: 26px; }
    .practices-content { padding: 80px 0; }
    .practices-index { padding: 25px 22px 20px; }
    .practices-index nav { grid-template-columns: 1fr; }
    .practice-article { padding: 65px 0 70px; }
    .practice-article:first-child { padding-top: 15px; }
    .practice-article > header { grid-template-columns: 1fr; gap: 19px; }
    .practice-article > header > span { width: 48px; height: 48px; }
    .practice-article h2 { font-size: 2.65rem; }
    .practice-article__copy,
    .practice-article blockquote,
    .practice-references { margin-left: 0; }
    .practice-article blockquote { padding: 23px 24px; }
    .practice-references { flex-direction: column; gap: 5px; }
    .practices-closing__actions .button { width: 100%; }
}

/* Youth page */
.page-hero--youth .page-hero__image { background: url("../images/youth.jpg") center / cover no-repeat; }
.page-hero--youth .page-hero__overlay { background: linear-gradient(90deg, rgba(14,25,42,.96), rgba(14,25,42,.68) 58%, rgba(14,25,42,.3)); }
.page-hero--youth h1 { max-width: 980px; font-size: clamp(3.55rem, 6.5vw, 5.8rem); }
.page-hero--youth .page-hero__inner > p:last-child { max-width: 720px; }

.youth-intro { background: var(--white); }
.youth-intro__grid { display: grid; grid-template-columns: 1fr .78fr; gap: 115px; align-items: start; }
.youth-intro h2 { max-width: 670px; margin-bottom: 0; }
.youth-intro__copy { padding-top: 25px; }
.youth-intro__copy p:first-child { margin-top: 0; color: var(--ink); font-family: var(--serif); font-size: 1.52rem; line-height: 1.45; }
.youth-intro__copy p:last-child { margin-bottom: 0; color: var(--muted); }

.youth-values { padding: 0 0 110px; background: var(--white); }
.youth-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); }
.youth-values article { position: relative; min-height: 300px; padding: 35px 39px 32px; border-right: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.68); }
.youth-values article:last-child { border-right: 0; }
.youth-values article > span { position: absolute; top: 25px; right: 29px; color: rgba(255,255,255,.16); font-family: var(--serif); font-size: 3.8rem; line-height: 1; }
.youth-value__icon { width: 55px; height: 55px; display: grid; place-items: center; margin-bottom: 33px; border-radius: 50%; color: #efc98f; background: rgba(255,255,255,.08); }
.youth-value__icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.youth-values h3 { margin-bottom: 12px; color: var(--white); font-size: 1.9rem; }
.youth-values p { max-width: 300px; margin: 0; font-size: .84rem; line-height: 1.65; }

.youth-programs { background: #fbfaf7; }
.youth-programs__heading { display: grid; grid-template-columns: 1fr .72fr; gap: 90px; align-items: end; margin-bottom: 55px; }
.youth-programs__heading h2 { margin-bottom: 0; }
.youth-programs__heading > p { margin: 0 0 5px; color: var(--muted); }
.youth-program { min-height: 530px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); background: var(--white); box-shadow: 0 18px 45px rgba(21,34,52,.06); }
.youth-program + .youth-program { margin-top: 40px; }
.youth-program__visual { position: relative; min-height: 530px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(145deg, #eee6d8, #f9f6f0); }
.youth-program__visual::before,
.youth-program__visual::after { content: ""; position: absolute; border-radius: 50%; background: rgba(209,165,96,.14); }
.youth-program__visual::before { width: 340px; height: 340px; top: -125px; left: -110px; }
.youth-program__visual::after { width: 230px; height: 230px; right: -75px; bottom: -85px; }
.youth-program__illustration { position: relative; z-index: 1; width: 88%; }
.youth-program__illustration img { width: 100%; height: auto; }
.youth-program__visual > span { position: absolute; z-index: 2; bottom: 25px; left: 27px; padding: 8px 13px; color: var(--white); background: var(--gold-dark); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.youth-program__content { display: flex; justify-content: center; flex-direction: column; padding: 60px 67px; }
.youth-program h3 { margin-bottom: 19px; font-size: clamp(3rem, 5vw, 4.8rem); }
.youth-program__content > p:not(.eyebrow) { margin: 0 0 29px; color: var(--muted); line-height: 1.75; }
.youth-program__details { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 30px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.youth-program__details > div { display: flex; flex-direction: column; padding: 18px 16px 18px 0; }
.youth-program__details > div + div { padding-left: 20px; border-left: 1px solid var(--border); }
.youth-program__details small { margin-bottom: 5px; color: var(--gold-dark); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.youth-program__details strong { color: var(--ink); font-family: var(--serif); font-size: 1.13rem; font-weight: 600; }
.youth-program__content .text-link { align-self: flex-start; }
.youth-program--group { border: 0; background: var(--ink); }
.youth-program--group .youth-program__content { color: var(--white); }
.youth-program--group h3 { color: var(--white); }
.youth-program--group .youth-program__content > p:not(.eyebrow) { color: rgba(255,255,255,.69); }
.youth-program--group .youth-program__details { border-color: rgba(255,255,255,.15); }
.youth-program--group .youth-program__details > div + div { border-color: rgba(255,255,255,.15); }
.youth-program--group .youth-program__details strong { color: var(--white); }
.youth-program--group .text-link { color: var(--white); }
.youth-program__graphic { position: relative; min-height: 530px; display: flex; align-items: center; justify-content: center; flex-direction: column; overflow: hidden; color: var(--ink); background: var(--gold); }
.youth-program__graphic::before { content: "YOUTH"; position: absolute; top: 28px; left: -8px; color: rgba(21,34,52,.07); font-family: var(--sans); font-size: 8.2rem; font-weight: 700; letter-spacing: -.08em; }
.youth-program__graphic-ring { position: absolute; width: 360px; height: 360px; border: 1px solid rgba(21,34,52,.27); border-radius: 50%; box-shadow: 0 0 0 40px rgba(21,34,52,.035), 0 0 0 80px rgba(21,34,52,.025); }
.youth-program__graphic strong,
.youth-program__graphic span,
.youth-program__graphic small { position: relative; z-index: 1; }
.youth-program__graphic strong { font-size: .82rem; letter-spacing: .3em; }
.youth-program__graphic span { font-family: var(--serif); font-size: 8rem; line-height: .9; letter-spacing: -.07em; }
.youth-program__graphic small { font-size: .8rem; font-weight: 700; letter-spacing: .25em; }

.youth-visit { padding: 110px 0; background: var(--cream); }
.youth-visit__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.youth-visit__image { min-height: 520px; background: url("../images/youth.jpg") center / cover no-repeat; }
.youth-visit__content { display: flex; justify-content: center; flex-direction: column; padding: 62px 70px; background: var(--white); }
.youth-visit h2 { margin-bottom: 19px; }
.youth-visit__content > p:not(.eyebrow) { margin: 0 0 30px; color: var(--muted); line-height: 1.75; }
.youth-visit__actions { display: flex; align-items: center; gap: 27px; }

@media (max-width: 950px) {
    .youth-intro__grid { grid-template-columns: 1fr; gap: 28px; }
    .youth-intro__copy { padding-top: 0; }
    .youth-programs__heading { grid-template-columns: 1fr; gap: 18px; }
    .youth-program__content { padding: 48px 42px; }
    .youth-visit__content { padding: 50px 42px; }
}

@media (max-width: 760px) {
    .page-hero--youth h1 { font-size: 3.35rem; }
    .youth-values__grid { grid-template-columns: 1fr; }
    .youth-values article { min-height: 245px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
    .youth-values article:last-child { border-bottom: 0; }
    .youth-program { grid-template-columns: 1fr; }
    .youth-program__visual,
    .youth-program__graphic { min-height: 390px; }
    .youth-program--group .youth-program__content { order: 2; }
    .youth-program--group .youth-program__graphic { order: 1; }
    .youth-program__graphic span { font-size: 6.5rem; }
    .youth-visit__grid { grid-template-columns: 1fr; }
    .youth-visit__image { min-height: 380px; }
}

@media (max-width: 520px) {
    .page-hero--youth .page-hero__image { background-position: 42% center !important; }
    .youth-program__visual,
    .youth-program__graphic { min-height: 320px; }
    .youth-program__content { padding: 42px 25px; }
    .youth-program h3 { font-size: 3rem; }
    .youth-program__details { grid-template-columns: 1fr; }
    .youth-program__details > div + div { padding-left: 0; border-top: 1px solid var(--border); border-left: 0; }
    .youth-program--group .youth-program__details > div + div { border-color: rgba(255,255,255,.15); }
    .youth-visit { padding: 80px 0; }
    .youth-visit__image { min-height: 290px; }
    .youth-visit__content { padding: 42px 25px; }
    .youth-visit__actions { align-items: stretch; flex-direction: column; }
    .youth-visit__actions .button { width: 100%; }
}

/* Member directory */
.page-hero--directory .page-hero__image { background: url("../images/chapel-hero.jpg") center 48% / cover no-repeat; }
.page-hero--directory .page-hero__overlay { background: linear-gradient(90deg, rgba(14,25,42,.97), rgba(14,25,42,.75) 60%, rgba(14,25,42,.4)); }
.page-hero--directory h1 { max-width: 760px; }
.page-hero--directory .page-hero__inner > p:last-child { max-width: 660px; }

.directory-access { background: #fbfaf7; }
.directory-access__grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 105px; align-items: center; }
.directory-access__intro h2 { max-width: 580px; }
.directory-access__intro > p:not(.eyebrow) { max-width: 550px; color: var(--muted); line-height: 1.75; }
.directory-privacy { max-width: 550px; display: grid; grid-template-columns: 50px 1fr; gap: 17px; align-items: start; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--border); }
.directory-privacy > svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; fill: none; stroke: var(--gold-dark); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; background: var(--cream); }
.directory-privacy > div { display: flex; flex-direction: column; }
.directory-privacy strong { margin-bottom: 4px; color: var(--ink); font-family: var(--serif); font-size: 1.14rem; font-weight: 600; }
.directory-privacy span { color: var(--muted); font-size: .78rem; line-height: 1.55; }

.directory-login-card { position: relative; max-width: 600px; padding: 56px 58px 52px; border-top: 4px solid var(--gold); background: var(--white); box-shadow: var(--shadow); }
.directory-login-card__icon { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 31px; border-radius: 50%; color: var(--white); background: var(--ink); }
.directory-login-card__icon svg { width: 29px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.directory-login-card h2 { margin-bottom: 11px; font-size: 3.15rem; }
.directory-login-card > p:not(.eyebrow):not(.directory-demo-note) { margin: 0 0 28px; color: var(--muted); }
.directory-alert { margin-bottom: 22px; padding: 13px 15px; border-left: 3px solid #a53e36; color: #7c2d27; background: #fff1ef; font-size: .78rem; font-weight: 600; }
.directory-login { display: flex; flex-direction: column; }
.directory-login > label { margin-bottom: 8px; color: var(--ink); font-size: .75rem; font-weight: 700; }
.directory-password-field { position: relative; margin-bottom: 17px; }
.directory-password-field input { width: 100%; height: 56px; padding: 0 48px 0 16px; border: 1px solid #ccd2d9; border-radius: 0; color: var(--ink); background: var(--white); font: 500 1rem var(--sans); }
.directory-password-field input:focus { outline: 0; border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(208,161,91,.15); }
.directory-password-field svg { position: absolute; top: 50%; right: 16px; width: 21px; fill: none; stroke: var(--muted); stroke-width: 1.5; transform: translateY(-50%); }
.directory-login .button { width: 100%; }
.directory-demo-note { margin: 17px 0 22px; padding: 11px 13px; color: var(--muted); background: var(--cream); font-size: .7rem; text-align: center; }
.directory-demo-note strong { color: var(--ink); }
.directory-login-card > .text-link { font-size: .75rem; }

.directory-members { background: #fbfaf7; }
.directory-members__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 43px; }
.directory-members__heading h2 { margin-bottom: 10px; }
.directory-members__heading > div > p:last-child { margin: 0; color: var(--muted); }
.directory-logout { display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid var(--border); color: var(--ink); background: var(--white); font: 700 .75rem var(--sans); cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.directory-logout:hover { border-color: var(--gold-dark); color: var(--gold-dark); }
.directory-logout svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.directory-toolbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 34px; padding: 13px 18px; border: 1px solid var(--border); background: var(--white); }
.directory-search { position: relative; flex: 1; }
.directory-search svg { position: absolute; top: 50%; left: 17px; width: 21px; fill: none; stroke: var(--muted); stroke-width: 1.6; transform: translateY(-50%); }
.directory-search input { width: 100%; height: 50px; padding: 0 18px 0 49px; border: 1px solid var(--border); color: var(--ink); background: #fbfaf7; font: 500 .85rem var(--sans); }
.directory-search input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.directory-toolbar > p { min-width: 90px; margin: 0; color: var(--muted); font-size: .73rem; text-align: center; }
.directory-toolbar > p strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.directory-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.directory-card { padding: 0 29px 27px; border: 1px solid var(--border); border-top: 3px solid transparent; background: var(--white); transition: transform .2s ease, box-shadow .2s ease, border-top-color .2s ease; }
.directory-card:hover { transform: translateY(-4px); border-top-color: var(--gold); box-shadow: var(--shadow); }
.directory-card[hidden] { display: none; }
.directory-card header { display: grid; grid-template-columns: 58px 1fr; gap: 17px; align-items: center; padding: 26px 0 22px; border-bottom: 1px solid var(--border); }
.directory-card header > span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--cream); font-family: var(--serif); font-size: 1rem; font-weight: 600; }
.directory-card h3 { margin: 0 0 3px; font-size: 1.45rem; }
.directory-card header small { color: var(--gold-dark); font-size: .59rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.directory-card__details { display: flex; flex-direction: column; padding-top: 20px; }
.directory-card__details a,
.directory-card__details p { min-height: 37px; display: grid; grid-template-columns: 21px 1fr; gap: 11px; align-items: start; margin: 0; padding: 7px 0; color: var(--text); font-size: .76rem; line-height: 1.45; }
.directory-card__details a:hover { color: var(--gold-dark); }
.directory-card__details svg { width: 18px; fill: none; stroke: var(--gold-dark); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.directory-empty { padding: 70px 30px; border: 1px solid var(--border); background: var(--white); text-align: center; }
.directory-empty h3 { margin-bottom: 7px; }
.directory-empty p { margin: 0; color: var(--muted); }
.directory-notice { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: center; margin-top: 35px; padding: 20px 24px; color: rgba(255,255,255,.7); background: var(--ink); }
.directory-notice > svg { width: 38px; height: 38px; padding: 8px; border-radius: 50%; fill: none; stroke: #efc98f; stroke-width: 1.5; background: rgba(255,255,255,.07); }
.directory-notice p { display: flex; flex-direction: column; margin: 0; font-size: .74rem; }
.directory-notice strong { margin-bottom: 2px; color: var(--white); font-family: var(--serif); font-size: 1.03rem; font-weight: 600; }

@media (max-width: 900px) {
    .directory-access__grid { grid-template-columns: 1fr; gap: 55px; }
    .directory-login-card { max-width: 650px; }
}

@media (max-width: 720px) {
    .directory-members__heading { align-items: flex-start; flex-direction: column; gap: 22px; }
    .directory-toolbar { align-items: stretch; flex-direction: column; gap: 10px; }
    .directory-toolbar > p { display: flex; align-items: center; gap: 5px; text-align: left; }
    .directory-toolbar > p strong { display: inline; }
    .directory-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .page-hero--directory .page-hero__image { background-position: 27% center !important; }
    .directory-login-card { padding: 40px 24px 36px; }
    .directory-login-card h2 { font-size: 2.65rem; }
    .directory-card { padding-inline: 22px; }
    .directory-card header { grid-template-columns: 50px 1fr; gap: 13px; }
    .directory-card header > span { width: 48px; height: 48px; }
    .directory-notice { align-items: start; padding: 19px; }
}

/* Contact page */
.primary-nav > .button--nav.is-contact-current { background: var(--gold-dark); }
.page-hero--contact .page-hero__image { background: url("../images/contact-hero.jpg") center / cover no-repeat; }
.page-hero--contact .page-hero__overlay { background: linear-gradient(90deg, rgba(14,25,42,.96), rgba(14,25,42,.7) 58%, rgba(14,25,42,.28)); }
.page-hero--contact h1 { max-width: 760px; }
.page-hero--contact .page-hero__inner > p:last-child { max-width: 690px; }

.contact-main { background: #fbfaf7; }
.contact-main__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 95px; align-items: start; }
.contact-details { position: sticky; top: 115px; padding-top: 21px; }
.contact-details h2 { max-width: 560px; }
.contact-details__lead { max-width: 540px; margin: 0 0 36px; color: var(--muted); }
.contact-methods { border-top: 1px solid var(--border); }
.contact-method { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; padding: 23px 0; border-bottom: 1px solid var(--border); color: var(--text); }
a.contact-method { transition: color .2s ease; }
a.contact-method:hover { color: var(--gold-dark); }
.contact-method > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-dark); background: var(--cream); }
.contact-method svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-method > div { display: flex; flex-direction: column; }
.contact-method small { margin-bottom: 3px; color: var(--gold-dark); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-method strong { color: var(--ink); font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.35; }
.contact-method em { margin-top: 4px; color: var(--muted); font-size: .66rem; font-style: normal; }
.contact-prayer-link { margin-top: 34px; padding: 25px 27px; border-left: 3px solid var(--gold); background: var(--ink); color: var(--white); }
.contact-prayer-link > div { display: flex; flex-direction: column; margin-bottom: 17px; }
.contact-prayer-link .eyebrow { margin-bottom: 4px; }
.contact-prayer-link strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.contact-prayer-link .text-link { color: var(--white); font-size: .76rem; }

.contact-form-card { min-height: 690px; padding: 52px 55px; border-top: 4px solid var(--gold); background: var(--white); box-shadow: var(--shadow); }
.contact-form-card__heading { margin-bottom: 33px; }
.contact-form-card__heading h2 { margin-bottom: 10px; font-size: 3.25rem; }
.contact-form-card__heading > p:last-child { margin: 0; color: var(--muted); }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.contact-form .form-field select { width: 100%; height: 54px; padding: 0 42px 0 16px; border: 1px solid #cfd5dd; border-radius: 0; color: var(--ink); background: var(--white); font: 500 .9rem var(--sans); }
.contact-form .form-field select:focus { outline: 0; border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(208,161,91,.15); }
.contact-form__submit { align-self: flex-start; gap: 14px; min-width: 200px; }
.contact-form__submit svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.contact-success { min-height: 570px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.contact-success__icon { width: 82px; height: 82px; display: grid; place-items: center; margin-bottom: 27px; border-radius: 50%; color: var(--white); background: var(--gold-dark); }
.contact-success__icon svg { width: 39px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-success h2 { margin-bottom: 13px; }
.contact-success > p:not(.eyebrow) { max-width: 480px; margin: 0 0 28px; color: var(--muted); }

.contact-location { min-height: 570px; display: grid; grid-template-columns: 1.25fr .75fr; background: var(--ink); }
.contact-location__map { min-height: 570px; background: linear-gradient(rgba(14,25,42,.25), rgba(14,25,42,.25)), url("../images/chapel-hero.jpg") center / cover no-repeat; }
.contact-location__map iframe { width: 100%; height: 100%; min-height: 570px; display: block; border: 0; filter: saturate(.75) contrast(.95); }
.contact-location__content { display: flex; justify-content: center; flex-direction: column; padding: 70px 75px; color: var(--white); }
.contact-location h2 { margin-bottom: 18px; color: var(--white); }
.contact-location__content > p:not(.eyebrow) { margin: 0 0 30px; color: rgba(255,255,255,.68); line-height: 1.75; }
.contact-location__content .button { align-self: flex-start; }

@media (max-width: 960px) {
    .contact-main__grid { grid-template-columns: 1fr; gap: 60px; }
    .contact-details { position: static; padding-top: 0; }
    .contact-details__lead { max-width: 700px; }
    .contact-methods { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--border); }
    .contact-method { grid-template-columns: 1fr; padding: 24px; border-right: 1px solid var(--border); border-bottom: 0; }
    .contact-method:last-child { border-right: 0; }
    .contact-prayer-link { max-width: 650px; }
    .contact-location { grid-template-columns: 1fr; }
    .contact-location__content { order: -1; padding: 70px max(6vw, 30px); }
}

@media (max-width: 700px) {
    .contact-methods { grid-template-columns: 1fr; border-bottom: 0; }
    .contact-method { grid-template-columns: 50px 1fr; padding: 21px 0; border-right: 0; border-bottom: 1px solid var(--border); }
    .contact-form-card { min-height: 0; padding: 40px 25px; }
    .contact-form-card__heading h2 { font-size: 2.7rem; }
    .contact-form__submit { width: 100%; }
    .contact-location__map,
    .contact-location__map iframe { min-height: 430px; }
}

@media (max-width: 520px) {
    .page-hero--contact .page-hero__image { background-position: 54% center !important; }
    .contact-location__content { padding-block: 65px; }
    .contact-location__content .button { width: 100%; }
}

/* Footer admin login modal */
.footer-login { padding: 4px 0; border: 0; color: var(--white); background: transparent; font: inherit; cursor: pointer; transition: color .2s ease; }
.footer-login:hover { color: var(--white); }
.footer-login:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
body.modal-open { overflow: hidden; }
.login-modal[hidden] { display: none; }
.login-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 28px; opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease; }
.login-modal.is-open { opacity: 1; visibility: visible; }
.login-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(7,14,25,.78); backdrop-filter: blur(5px); cursor: default; }
.login-modal__dialog { position: relative; width: min(100%, 510px); max-height: calc(100vh - 56px); overflow-y: auto; padding: 49px 52px 0; border-top: 4px solid var(--gold); background: var(--white); box-shadow: 0 28px 80px rgba(0,0,0,.32); transform: translateY(18px) scale(.985); transition: transform .22s ease; }
.login-modal.is-open .login-modal__dialog { transform: translateY(0) scale(1); }
.login-modal__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--border); color: var(--ink); background: var(--white); cursor: pointer; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.login-modal__close:hover { border-color: var(--gold-dark); color: var(--gold-dark); transform: rotate(4deg); }
.login-modal__close svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.login-modal__mark { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 50%; color: #efc98f; background: var(--ink); }
.login-modal__mark svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.login-modal h2 { margin-bottom: 10px; font-size: 3rem; }
.login-modal__intro { margin: 0 0 28px; color: var(--muted); font-size: .86rem; }
.login-modal__error { display: flex; align-items: flex-start; gap: 10px; margin: -8px 0 22px; padding: 12px 14px; border: 1px solid #deb6b9; color: #8d2630; background: #fff5f5; font-size: .76rem; line-height: 1.45; }
.login-modal__error svg { width: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.login-modal__success { display: flex; align-items: flex-start; gap: 10px; margin: -8px 0 22px; padding: 12px 14px; border: 1px solid #9fc9ad; color: #245d37; background: #f2fbf5; font-size: .76rem; line-height: 1.45; }
.login-modal__success svg { width: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.login-modal__form { display: flex; flex-direction: column; gap: 18px; }
.login-modal__form > label { display: flex; flex-direction: column; gap: 7px; }
.login-modal__form > label > span { color: var(--ink); font-size: .75rem; font-weight: 700; }
.login-modal__form input[type="email"],
.login-modal__form input[type="password"],
.login-modal__form input[type="text"] { width: 100%; height: 54px; padding: 0 16px; border: 1px solid #cfd5dd; border-radius: 0; color: var(--ink); background: var(--white); font: 500 .9rem var(--sans); }
.login-modal__form input:focus { outline: 0; border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(208,161,91,.15); }
.login-modal__password { position: relative; }
.login-modal__password input { padding-right: 50px !important; }
.login-modal__password button { position: absolute; top: 50%; right: 8px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; transform: translateY(-50%); }
.login-modal__password button:hover { color: var(--gold-dark); }
.login-modal__password svg { grid-area: 1 / 1; width: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.login-eye--hide { display: none; }
.login-modal__password button.is-showing .login-eye--show { display: none; }
.login-modal__password button.is-showing .login-eye--hide { display: block; }
.login-modal__options { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-top: -2px; }
.login-modal__remember { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: .72rem; cursor: pointer; }
.login-modal__remember input { width: 15px; height: 15px; margin: 0; accent-color: var(--gold-dark); }
.login-modal__options > a,
.login-modal__options > button { padding: 0; border: 0; color: var(--gold-dark); background: transparent; font-size: .72rem; font-weight: 700; cursor: pointer; }
.login-modal__options > a:hover,
.login-modal__options > button:hover { color: var(--ink); }
.login-modal__submit { width: 100%; margin-top: 4px; }
.login-modal__development { display: grid; gap: 4px; margin-top: 20px; padding: 13px 14px; border: 1px dashed var(--gold-dark); color: var(--text); background: var(--cream); font-size: .74rem; }
.login-modal__development strong { color: var(--ink); }
.login-modal__development a { color: var(--gold-dark); font-weight: 700; }
.login-modal__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 34px -52px 0; padding: 19px 52px; color: var(--muted); background: var(--cream); font-size: .7rem; }
.login-modal__footer a { flex: 0 0 auto; color: var(--ink); font-weight: 700; }
.login-modal__footer a:hover { color: var(--gold-dark); }
.login-modal__footer--center { justify-content: center; }
.login-modal__footer button { padding: 0; border: 0; color: var(--ink); background: transparent; font: 700 .7rem var(--sans); cursor: pointer; }
.login-modal__footer button:hover { color: var(--gold-dark); }

@media (max-width: 560px) {
    .login-modal { align-items: end; padding: 0; }
    .login-modal__dialog { width: 100%; max-height: calc(100vh - 20px); padding: 42px 24px 0; transform: translateY(35px); }
    .login-modal h2 { font-size: 2.65rem; }
    .login-modal__footer { margin-inline: -24px; padding-inline: 24px; }
}

/* Admin password recovery */
.password-reset-page { min-height: 650px; background: linear-gradient(145deg, var(--cream), #fff 62%); }
.password-reset-section { min-height: 650px; display: grid; place-items: center; padding: 90px 24px; }
.password-reset-card { width: min(100%, 620px); padding: 54px; border-top: 4px solid var(--gold); background: var(--white); box-shadow: var(--shadow); }
.password-reset-card__mark { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 50%; color: #efc98f; background: var(--ink); }
.password-reset-card__mark svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.password-reset-card h1 { margin-bottom: 13px; color: var(--ink); font-size: clamp(2.45rem, 6vw, 3.8rem); }
.password-reset-card > p:not(.eyebrow) { margin: 0 0 28px; color: var(--muted); }
.password-reset-alert { margin-bottom: 22px; padding: 13px 15px; border: 1px solid #deb6b9; color: #8d2630; background: #fff5f5; font-size: .84rem; }
.password-reset-form { display: grid; gap: 19px; }
.password-reset-form label { display: grid; gap: 7px; }
.password-reset-form label > span { color: var(--ink); font-size: .78rem; font-weight: 700; }
.password-reset-form input { width: 100%; height: 56px; padding: 0 16px; border: 1px solid #cfd5dd; border-radius: 0; color: var(--ink); background: var(--white); font: 500 .95rem var(--sans); }
.password-reset-form input:focus { outline: 0; border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(208,161,91,.15); }
.password-reset-form .password-reset-code { font-size: 1.35rem; font-weight: 700; letter-spacing: .38em; text-align: center; }
.password-reset-form .button { width: 100%; margin-top: 4px; }

@media (max-width: 560px) {
    .password-reset-section { min-height: 560px; padding: 54px 18px; }
    .password-reset-card { padding: 38px 25px; }
}

/* Gallery page */
.page-hero--gallery .page-hero__image { background: url("../images/events-hero.jpg") center 48% / cover no-repeat; }
.page-hero--gallery .page-hero__overlay { background: linear-gradient(90deg, rgba(14,25,42,.95), rgba(14,25,42,.63) 60%, rgba(14,25,42,.25)); }
.gallery-home { background: #fbfaf7; }
.gallery-home__heading h2 { margin-bottom: 0; }
.public-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.public-gallery-card { min-width: 0; border: 1px solid var(--border); background: var(--white); box-shadow: 0 12px 35px rgba(23,35,58,.05); transition: transform .25s ease, box-shadow .25s ease; }
.public-gallery-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.public-gallery-card__image { position: relative; min-height: 335px; display: block; overflow: hidden; background: var(--ink); }
.public-gallery-card__image > img { width: 100%; height: 335px; object-fit: cover; transition: transform .6s ease; }
.public-gallery-card:hover .public-gallery-card__image > img { transform: scale(1.035); }
.public-gallery-card__image > small { position: absolute; right: 18px; bottom: 17px; padding: 7px 11px; color: var(--white); background: rgba(14,25,42,.88); font-size: .68rem; font-weight: 700; letter-spacing: .05em; }
.public-gallery-card__placeholder { min-height: 335px; display: grid; place-items: center; color: #efc98f; background: linear-gradient(135deg, var(--ink), var(--ink-soft)); }
.public-gallery-card__placeholder svg { width: 68px; fill: none; stroke: currentColor; stroke-width: 1.15; }
.public-gallery-card__content { padding: 31px 34px 34px; }
.public-gallery-card__content .eyebrow { margin-bottom: 10px; }
.public-gallery-card h3 { margin-bottom: 10px; font-size: 2.1rem; }
.public-gallery-card__content > p:not(.eyebrow) { min-height: 52px; margin: 0 0 22px; color: var(--muted); font-size: .88rem; }
.gallery-empty { padding: 75px 35px; border: 1px solid var(--border); background: var(--white); text-align: center; }
.gallery-empty > span { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 24px; border-radius: 50%; color: var(--gold-dark); background: var(--cream); }
.gallery-empty svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 1.35; }
.gallery-empty h3 { margin-bottom: 9px; }
.gallery-empty p { margin: 0; color: var(--muted); }
.gallery-collection { scroll-margin-top: 90px; }
.gallery-collection__heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 42px; }
.gallery-collection__heading h2 { margin-bottom: 8px; }
.gallery-collection__heading > div > p:last-child { max-width: 690px; margin: 0; color: var(--muted); }
.gallery-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-photo { min-height: 250px; overflow: hidden; background: var(--ink); }
.gallery-photo img { width: 100%; height: 100%; min-height: 250px; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s ease, opacity .25s ease; }
.gallery-photo:hover img { transform: scale(1.035); opacity: .9; }
.gallery-empty--compact { padding-block: 55px; }

@media (max-width: 820px) {
    .public-gallery-grid { grid-template-columns: 1fr; }
    .gallery-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .page-hero--gallery .page-hero__image { background-position: 62% center !important; }
    .public-gallery-card__image,
    .public-gallery-card__image > img,
    .public-gallery-card__placeholder { min-height: 260px; height: 260px; }
    .public-gallery-card__content { padding: 27px 24px 30px; }
    .public-gallery-card__content > p:not(.eyebrow) { min-height: 0; }
    .gallery-collection__heading { align-items: flex-start; flex-direction: column; gap: 18px; }
    .gallery-photo-grid { grid-template-columns: 1fr; }
}
