/* Public site: warm neutrals, evergreen, and generous editorial type. */
:root {
    --navy: #173c32;
    --navy-dark: #102d26;
    --navy-light: #285548;
    --cream: #eee8db;
    --cream-light: #f8f6ef;
    --gold: #bddd83;
    --gold-light: #d1eca5;
    --white: #fff;
    --muted: #64716a;
    --light-bg: #f4f3ec;
    --border: #dcded3;
    --font-body: 'DM Sans', Arial, sans-serif;
    --font-heading: 'Manrope', Arial, sans-serif;
    --church-nav-height: 94px;
    --church-nav-top: 1rem;
    --section-padding: 104px;
    --container-width: 1280px;
    --radius-md: 16px;
}

body.public-site {
    background: #faf9f5;
    color: var(--navy);
    font-size: 16px;
    padding-top: calc(var(--church-nav-height) + var(--church-nav-top) + 7px);
}

.public-site h1,
.public-site h2,
.public-site h3 {
    letter-spacing: -.055em;
    font-weight: 700;
}

a {
    text-decoration: none;
}

.container {
    padding-inline: 40px;
}

:focus-visible {
    outline: 3px solid #638d3a;
    outline-offset: 5px;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    padding: 12px 20px;
    background: #fff;
    color: var(--navy);
    z-index: 2000;
}

.skip-link:focus {
    top: 12px;
}

#main-content {
    outline: none;
}

.eyebrow,
.section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.5;
}

.section-label {
    color: #527244;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.14;
    font-weight: 700;
    margin-bottom: 24px;
}

.section-title span {
    color: #69845c;
}

.section-text {
    font-size: 16px;
    line-height: 1.85;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    border-radius: 5px;
    padding: 16px 24px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    min-height: 50px;
    box-shadow: none;
}

.btn-primary {
    --bs-btn-bg: #bddd83;
    background: #bddd83;
    border: 1px solid #bddd83;
    color: #183b30;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: #cbea97;
    border-color: #cbea97;
    color: #102d26;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 1px solid #6c806e;
    color: var(--navy);
}

.btn-outline-primary:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.underlined-link {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    padding-bottom: 8px;
    border-bottom: 1px solid #7d907e;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.underlined-link:hover {
    color: #587e40;
    gap: 38px;
}

.church-header {
    position: fixed;
    top: var(--church-nav-top);
    left: 5%;
    width: 90%;
    z-index: 100;
    background: #faf9f5;
    border: 1px solid #e4e6dc;
    border-radius: 0;
    box-shadow: 0 4px 18px #102d260a;
    transition: box-shadow .2s;
}

.church-header.is-scrolled {
    box-shadow: 0 5px 24px #102d2610;
}

.church-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--church-nav-height);
    gap: 32px;
}

.church-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: var(--navy);
}

.brand-symbol {
    width: 47px;
    height: 49px;
    display: block;
    overflow: hidden;
    position: relative;
    mix-blend-mode: multiply;
}

.brand-symbol img {
    position: absolute;
    width: 144px;
    height: 144px;
    max-width: none;
    top: -20px;
    left: -42px;
}

.brand-name {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .015em;
}

.brand-name span {
    font-size: 9px;
    letter-spacing: .3em;
    font-weight: 600;
}

.church-navigation {
    display: flex;
    align-items: center;
    gap: 27px;
}

.church-navigation>a {
    color: #46564b;
    font-size: 12px;
    font-weight: 600;
    position: relative;
    padding-block: 12px;
}

.church-navigation>a:hover,
.church-navigation>a.is-current {
    color: #173c32;
}

.church-navigation>a.is-current::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 16px;
    height: 2px;
    background: #668447;
}

.church-navigation>a.nav-visit {
    border: 1px solid #173c32;
    padding: 12px 18px;
    border-radius: 4px;
    margin-left: 10px;
    color: #173c32;
}

.nav-visit span {
    margin-left: 22px;
}

.church-navigation>a.nav-visit:hover {
    background: var(--navy);
    color: white;
}

.church-menu-toggle {
    display: none;
}

.evergreen-hero {
    background: #173c32;
    color: #f7f5eb;
    padding-top: 54px;
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-copy {
    padding-block: 30px 35px;
}

.hero-copy .eyebrow {
    color: #c4d4bc;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 9px;
}

.little-star {
    color: #bddd83;
    font-size: 23px;
}

.hero-copy h1 {
    color: #f7f5eb;
    font-size: clamp(48px, 5.8vw, 80px);
    line-height: 1.055;
    letter-spacing: -.065em;
    margin: 24px 0;
}

.hero-copy h1 em {
    color: #c7df9c;
    font-style: normal;
    font-size: .76em;
    white-space: nowrap;
}

.hero-copy>p {
    color: #ced6cc;
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.hero-watch {
    color: #f4f3e9;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 500;
    min-height: 44px;
}

.hero-watch:hover {
    color: #c7df9c;
}

.play-circle {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid #8eac91;
    border-radius: 50%;
    font-size: 9px;
    padding-left: 2px;
}

.hero-invitation {
    color: #b8c9b9;
    font-size: 11px;
    margin-top: 36px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.invitation-line {
    width: 27px;
    height: 1px;
    background: #9bbb7c;
}

.hero-visual {
    align-self: stretch;
    min-height: 510px;
    position: relative;
    overflow: hidden;
    border-radius: 170px 170px 8px 8px;
    isolation: isolate;
}

.hero-visual>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    object-position: 48% center;
}

.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #0a211dd9, transparent 48%);
    z-index: 0;
}

.photo-label {
    position: absolute;
    top: 46%;
    right: 16px;
    writing-mode: vertical-rl;
    font-size: 8px;
    letter-spacing: .2em;
    color: #fff;
    z-index: 1;
}

.hero-photo-caption {
    position: absolute;
    bottom: 29px;
    inset-inline: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 12px;
    z-index: 1;
}

.hero-photo-caption>span:last-child {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    border: 1px solid #ffffff60;
    border-radius: 50%;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 28px;
    margin-top: 20px;
}

.hero-bottom>span {
    color: #c0cdbd;
    font-size: 9px;
    letter-spacing: .17em;
}

.hero-bottom>a {
    color: #c0cdbd;
    font-size: 11px;
}

.hero-bottom>a>span {
    margin-left: 15px;
}

.gathering-bar {
    background: #eaeedc;
    padding-block: 32px;
}

.gathering-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.gathering-title {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.gathering-title .eyebrow {
    font-size: 8px;
    color: #516a48;
}

.gathering-title h2 {
    font-size: 27px;
    margin: 4px 0 0;
}

.gathering-dot {
    width: 11px;
    height: 11px;
    border: 3px solid #eaeedc;
    background: #608743;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #9eaf8b;
}

.gathering-details {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 26px;
    border-left: 1px solid #c9d1b7;
    padding-left: 28px;
}

.gathering-details>div {
    display: flex;
    flex-direction: column;
}

.gathering-details strong {
    font-size: 13px;
    font-weight: 700;
}

.gathering-details span {
    font-size: 11px;
    color: #5d6b54;
}

.gathering-layout>.underlined-link {
    font-size: 11px;
}

.welcome-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.welcome-art {
    background: #e9e6d9;
    padding: 36px;
    border-radius: 7px;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.welcome-art>.eyebrow {
    color: #5e6b55;
    font-size: 9px;
}

.welcome-statement {
    font-family: var(--font-heading);
    font-size: clamp(30px, 3.5vw, 48px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.06em;
    padding-block: 38px;
    position: relative;
    z-index: 1;
}

.welcome-statement>span {
    position: absolute;
    right: -70px;
    bottom: -28px;
    color: #b9c59e;
    font-size: 200px;
    line-height: 1;
    z-index: -1;
}

.welcome-art-foot {
    font-size: 8px;
    letter-spacing: .18em;
    padding-top: 20px;
    border-top: 1px solid #c8cbbb;
}

.welcome-copy .section-title {
    font-size: clamp(30px, 3vw, 44px);
}

.welcome-copy .underlined-link {
    margin-top: 13px;
}

.next-steps {
    background: #f0f0e7;
}

.modern-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 44px;
}

.modern-section-heading .section-title {
    margin: 0;
}

.modern-section-heading>p {
    font-size: 13px;
    color: #63725f;
    margin-bottom: 3px;
    line-height: 1.9;
}

.next-grid,
.community-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.next-card {
    background: #faf9f5;
    border: 1px solid #e2e5d7;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}

.next-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px #173c3208;
}

.next-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.next-card-top>span {
    color: #6c7d64;
    font-size: 11px;
}

.next-card-top>i {
    font-size: 23px;
    color: #55704a;
}

.next-card h3 {
    font-size: 24px;
    margin-bottom: 13px;
}

.next-card p {
    font-size: 13px;
    color: #6b7566;
    line-height: 1.8;
    margin-bottom: 30px;
}

.next-card>a,
.community-card>a {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #dce1d2;
    padding-top: 18px;
    font-size: 12px;
    font-weight: 600;
    color: #244f3e;
}

.message-section {
    background: #173c32;
    color: #ccd8c8;
}

.message-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.message-art {
    background: #d5ddbc;
    color: #173c32;
    padding: 38px;
    border-radius: 8px;
    min-height: 365px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.message-art::before {
    content: '';
    position: absolute;
    width: 370px;
    height: 370px;
    border: 1px solid #9eaf86;
    border-radius: 50%;
    right: -150px;
    top: -110px;
    box-shadow: 0 0 0 30px #d5ddbc, 0 0 0 31px #b6c59f, 0 0 0 60px #d5ddbc, 0 0 0 61px #b6c59f;
}

.message-art .eyebrow {
    font-size: 8px;
    z-index: 1;
}

.message-art>strong {
    font: 700 clamp(38px, 4vw, 58px)/1.1 var(--font-heading);
    letter-spacing: -.06em;
    margin-top: 37px;
    z-index: 1;
}

.message-play {
    position: absolute;
    right: 33px;
    bottom: 95px;
    border: 1px solid #718868;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    font-size: 12px;
}

.message-art-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #9fad88;
    font-size: 9px;
    letter-spacing: .1em;
}

.message-copy .section-label {
    color: #c5d7a5;
}

.message-copy .section-title {
    color: #f5f4ec;
}

.message-copy .section-title span {
    color: #c0d797;
}

.message-copy>p {
    font-size: 14px;
    line-height: 1.9;
    max-width: 350px;
}

.message-copy>.btn {
    margin-top: 18px;
}

.latest-message {
    border-top: 1px solid #53705d;
    margin-top: 24px;
    padding-top: 20px;
}

.latest-message>span {
    font-size: 9px;
    letter-spacing: .12em;
}

.latest-message h3 {
    color: #f5f4ec;
    margin-top: 8px;
    font-size: 23px;
}

.latest-message p {
    font-size: 12px;
}

.community-card {
    padding: 30px;
    border: 1px solid #dce0d1;
    border-radius: 8px;
    background: #f3f3ea;
    display: flex;
    flex-direction: column;
}

.community-number {
    font-size: 12px;
    color: #738963;
    margin-bottom: 32px;
}

.community-card h3 {
    font-size: 24px;
}

.community-card p {
    color: #64715f;
    font-size: 14px;
}

.community-invite {
    padding: 38px;
    background: #e9eddf;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.community-invite h3 {
    font-size: 30px;
}

.community-invite p {
    color: #5e7059;
    font-size: 14px;
    margin: 0;
}

.life-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dce0d1;
    padding-block: 24px;
    font-size: 12px;
}

.life-footer p {
    margin: 0;
    color: #69745f;
}

.life-footer>a {
    color: #244f3e;
}

.whats-on {
    border-top: 1px solid #e1e3d9;
    background: #f5f4ed;
}

.modern-event {
    display: flex;
    gap: 28px;
    padding-block: 26px;
    border-top: 1px solid #d7ddcc;
    color: #244f3e;
    align-items: center;
}

.modern-event:hover {
    background: #eaeedd;
    padding-inline: 16px;
    color: #244f3e;
}

.modern-event-date {
    min-width: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modern-event-date>strong {
    font: 600 39px/1 var(--font-heading);
    letter-spacing: -.06em;
}

.modern-event-date>span {
    font-size: 10px;
    letter-spacing: .1em;
    margin-top: 7px;
}

.modern-event-name h3 {
    font-size: 23px;
    margin-bottom: 5px;
}

.modern-event-name>span {
    font-size: 12px;
    color: #6b7862;
}

.event-arrow {
    margin-left: auto;
    width: 40px;
    height: 40px;
    border: 1px solid #bac7ad;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.event-empty {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px 0;
    border-block: 1px solid #d7ddcc;
}

.empty-event-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e6ebd8;
    display: grid;
    place-items: center;
    font-size: 25px;
    flex-shrink: 0;
}

.event-empty h3 {
    font-size: 26px;
}

.event-empty p {
    color: #66735f;
    font-size: 13px;
    margin: 0;
}

.event-empty .underlined-link {
    margin-left: auto;
}

.home-invitation {
    background: #e8edda;
    padding-block: 94px;
    overflow: hidden;
}

.home-invitation>.container {
    position: relative;
}

.home-invitation .eyebrow {
    font-size: 9px;
    color: #58704c;
}

.home-invitation h2 {
    font-size: clamp(40px, 5vw, 66px);
    line-height: 1.1;
    margin: 20px 0;
}

.home-invitation h2 em {
    color: #668551;
    font-style: normal;
}

.home-invitation p {
    color: #5d7153;
    font-size: 14px;
    margin-bottom: 25px;
}

.home-invitation .btn {
    background: #173c32;
    color: #f3f5e9;
    border-color: #173c32;
}

.home-invitation .btn:hover {
    background: #2a5543;
}

.invitation-flower {
    position: absolute;
    right: 20px;
    top: -90px;
    font-size: 440px;
    color: #cfdbb9;
    line-height: 1;
    pointer-events: none;
}

.home-invitation h2,
.home-invitation p,
.home-invitation .btn,
.home-invitation .eyebrow {
    position: relative;
    z-index: 1;
}

/* Shared inner pages inherit the same visual language. */
.inner-page-hero {
    background: #173c32 !important;
    padding: 76px 0 84px;
    min-height: auto;
    overflow: hidden;
    position: relative;
}

.inner-page-hero::after {
    content: '?';
    position: absolute;
    top: -100px;
    right: 5%;
    font-size: 440px;
    line-height: 1;
    color: #254b3c;
    pointer-events: none;
}

.inner-hero-overlay {
    display: none;
}

.inner-hero-content {
    position: relative;
    z-index: 1;
    padding: 0;
    max-width: 850px;
}

.inner-hero-content .section-label {
    color: #bfd795;
}

.inner-hero-content h1 {
    font-size: clamp(38px, 5vw, 68px);
    color: #f5f4eb;
    line-height: 1.12;
}

.inner-hero-content h1 span {
    color: #c5dc9c;
}

.inner-hero-content p {
    color: #c3d1c0;
    font-size: 15px;
}

.ministry-card,
.event-card,
.sermon-card,
.branch-card,
.contact-form-card,
.large-service-card,
.featured-sermon,
.ministry-preview-card {
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid #dde2d5;
}

.ministry-card:hover,
.event-card:hover,
.sermon-card:hover,
.branch-card:hover {
    box-shadow: 0 12px 30px #173c320a;
}

.form-control,
input,
textarea,
select {
    border-radius: 5px;
}

.contact-form .form-control {
    background: #fafbf6;
    border-color: #d9dfd0;
    min-height: 50px;
}

.contact-form .form-control:focus {
    border-color: #7f9b65;
    box-shadow: 0 0 0 3px #94b06c22;
}

.contact-form label {
    font-size: 12px;
    font-weight: 600;
    color: #36543e;
}

.contact-form-card {
    padding: 38px;
}

.contact-info-icon {
    background: #e8eddc;
    color: #385d3d;
}

.gallery-item {
    border-radius: 10px;
}

.about-image img {
    border-radius: 12px;
}

.sermon-cta-section {
    background: #173c32;
}

.final-cta-section,
.contact-bottom-section {
    background: #e8edda;
}

/* Footer uses live church settings and simple, readable navigation. */
.site-footer {
    background: #102e26;
    color: #bccbb8;
}

.footer-main {
    padding-block: 64px;
}

.footer-grid {
    margin: 0;
    display: grid;
    grid-template-columns: 1.5fr .8fr 1fr 1.1fr;
    gap: 48px;
}

.footer-grid>.footer-col {
    min-width: 0;
    max-width: none;
    width: auto;
    padding: 0;
}

.footer-col .church-brand {
    color: #f1f2e7;
    margin-bottom: 22px;
}

.footer-col .brand-symbol {
    background: white;
    mix-blend-mode: normal;
    border-radius: 50%;
}

.footer-col .brand-name {
    font-size: 14px;
}

.footer-description {
    font-size: 12px;
    line-height: 1.9;
    color: #b9c8b5;
    max-width: 290px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0;
    color: #f3f2e8;
    margin-bottom: 24px;
}

.footer-col h4::after {
    display: none;
}

.footer-col ul li a,
.footer-contact-item a,
.footer-contact-item span:last-child {
    color: #bdcbb6;
    font-size: 12px;
}

.footer-contact-item {
    gap: 10px;
}

.footer-contact-item .contact-icon {
    background: #214838;
    color: #bed49b;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.footer-contact-item a {
    overflow-wrap: anywhere;
}

.footer-service .service-day {
    color: #c5da9f;
    font-size: 9px;
}

.footer-service .service-name {
    color: #bdcbb6;
    font-size: 12px;
}

.footer-location-link {
    color: #d0dfbb;
    font-size: 11px;
}

.footer-bottom {
    background: #102e26;
    border-top: 1px solid #36503d;
}

.footer-bottom-inner {
    padding-block: 20px;
    gap: 20px;
}

.footer-bottom-inner p,
.developer-credit,
.developer-credit a {
    color: #a8bba3;
    font-size: 10px;
}

.footer-accent {
    display: none;
}

@media (min-width: 1500px) {
    .hero-layout {
        gap: 70px;
    }
}

@media (max-width: 1100px) {
    .church-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 10px;
        border: 1px solid #cbd3c3;
        border-radius: 5px;
        background: transparent;
    }

    .church-menu-toggle span {
        width: 22px;
        height: 2px;
        background: #173c32;
        transition: transform .2s;
    }

    :root {
        --church-nav-height: 80px;
    }

    .church-navigation {
        display: none;
        position: absolute;
        top: 100%;
        inset-inline: 0;
        background: #faf9f5;
        padding: 20px 40px 30px;
        box-shadow: 0 15px 20px #173c3210;
        max-height: calc(100dvh - var(--church-nav-height) - var(--church-nav-top) - 12px);
        overflow: auto;
        border-radius: 0;
    }

    .menu-open .church-navigation {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .church-navigation>a {
        padding: 13px 0;
        font-size: 15px;
    }

    .church-navigation>a.nav-visit {
        margin: 15px 0 0;
        text-align: center;
        padding: 15px;
    }

    .menu-open .church-menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-open .church-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .menu-open .church-menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .welcome-layout,
    .message-layout {
        gap: 50px;
    }

    .hero-layout {
        gap: 25px;
    }

    .hero-copy h1 {
        font-size: 64px;
    }

    .hero-copy h1 em {
        font-size: .69em;
    }

    .hero-visual {
        min-height: 470px;
        border-radius: 130px 130px 8px 8px;
    }

    .gathering-layout {
        flex-wrap: wrap;
    }

    .gathering-details {
        flex: 1;
    }

    .footer-grid {
        gap: 28px;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 65px;
    }

    .container {
        padding-inline: 24px;
    }

    :root {
        --church-nav-height: 76px;
    }

    .brand-symbol {
        transform: scale(.9);
        margin-left: -3px;
    }

    .brand-name {
        font-size: 14px;
    }

    .brand-name span {
        font-size: 8px;
    }

    .church-navigation {
        padding-inline: 24px;
    }

    .evergreen-hero {
        padding-top: 24px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-copy {
        padding-block: 15px 0;
    }

    .hero-copy .eyebrow {
        font-size: 8px;
        letter-spacing: .12em;
    }

    .hero-copy h1 {
        font-size: clamp(47px, 10.5vw, 68px);
        margin-block: 22px;
    }

    .hero-copy h1 em {
        font-size: .74em;
    }

    .hero-copy>p {
        font-size: 14px;
    }

    .hero-buttons {
        gap: 16px;
    }

    .hero-buttons .btn {
        font-size: 12px;
        gap: 18px;
        padding-inline: 20px;
    }

    .hero-invitation {
        margin-top: 25px;
    }

    .hero-visual {
        min-height: 330px;
        border-radius: 100px 100px 6px 6px;
        margin-top: 10px;
    }

    .hero-bottom {
        padding-block: 20px;
        margin-top: 6px;
        gap: 15px;
    }

    .hero-bottom>span {
        font-size: 7px;
        letter-spacing: .08em;
    }

    .hero-bottom>a {
        font-size: 10px;
        white-space: nowrap;
    }

    .gathering-layout {
        gap: 22px;
    }

    .gathering-details {
        flex-basis: 100%;
        padding-left: 26px;
        border-left: 0;
    }

    .gathering-layout>.underlined-link {
        margin-left: 26px;
    }

    .welcome-layout,
    .message-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .welcome-art {
        min-height: 295px;
        padding: 28px;
    }

    .welcome-statement {
        font-size: 39px;
    }

    .welcome-copy .section-title {
        font-size: 36px;
    }

    .modern-section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
    }

    .next-grid,
    .community-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .next-card {
        padding: 26px;
    }

    .next-card-top {
        margin-bottom: 27px;
    }

    .next-card p {
        max-width: 430px;
    }

    .message-art {
        min-height: 340px;
        padding: 30px;
    }

    .message-art>strong {
        font-size: 50px;
    }

    .community-invite {
        padding: 28px;
        flex-direction: column;
        align-items: flex-start;
    }

    .community-invite h3 {
        font-size: 27px;
    }

    .life-footer {
        align-items: flex-start;
        gap: 15px;
        font-size: 11px;
    }

    .event-empty {
        flex-wrap: wrap;
        gap: 18px;
    }

    .event-empty>div {
        flex: 1;
        min-width: 190px;
    }

    .event-empty .underlined-link {
        margin: 5px 0 0;
    }

    .modern-event {
        gap: 14px;
    }

    .modern-event-name h3 {
        font-size: 20px;
    }

    .modern-event-date {
        min-width: 45px;
    }

    .event-arrow {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
    }

    .home-invitation {
        padding-block: 65px;
    }

    .invitation-flower {
        font-size: 280px;
        right: -130px;
        top: 30px;
        opacity: .6;
    }

    .inner-page-hero {
        padding-block: 55px 60px;
    }

    .inner-page-hero::after {
        font-size: 300px;
        right: -100px;
        top: -40px;
    }

    .inner-hero-content h1 {
        font-size: 43px;
    }

    .contact-form-card {
        padding: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 22px;
    }

    .footer-col-brand {
        grid-column: 1 / -1;
    }

    .footer-col-contact {
        grid-column: 1 / -1;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 8px;
    }

    .footer-bottom-inner p {
        margin: 0;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}

/* Keep interior-page accents readable on light surfaces. */
.contact-form-card h2 span,
.contact-section .section-label,
.about-story-section .section-label {
    color: #5a774a;
}

section[id],
#main-content {
    scroll-margin-top: calc(var(--church-nav-height) + var(--church-nav-top) + 16px);
}

@media (max-width: 374px) {
    .hero-copy h1 {
        font-size: 43px;
    }

    .hero-copy h1 em {
        font-size: .68em;
    }

    .hero-copy .eyebrow {
        font-size: 7px;
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hero-visual {
        min-height: 280px;
    }

    .life-footer {
        flex-direction: column;
    }
}

/* About ELE: native disclosure navigation, with hover enhancement. */
.nav-dropdown {
    position: relative;
}

.nav-dropdown>summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-block: 12px;
    color: #46564b;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.nav-dropdown>summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown.is-current>summary,
.nav-dropdown>summary:hover {
    color: #173c32;
}

.nav-dropdown.is-current>summary::after {
    content: '';
    position: absolute;
    left: 0;
    top: 35px;
    width: 16px;
    height: 2px;
    background: #668447;
}

.dropdown-chevron {
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s;
}

.nav-dropdown[open] .dropdown-chevron {
    transform: rotate(225deg) translate(-2px, -1px);
}

.nav-dropdown-links {
    position: absolute;
    top: 100%;
    left: -18px;
    width: 210px;
    padding: 8px;
    border: 1px solid #dce2d4;
    border-radius: 8px;
    background: #faf9f5;
    box-shadow: 0 14px 32px #102d261a;
    z-index: 105;
}

.nav-dropdown-links>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 13px;
    color: #3e5746;
    min-height: 44px;
}

.nav-dropdown-links>a>span {
    color: #77915f;
}

.nav-dropdown-links>a:hover,
.nav-dropdown-links>a:focus-visible,
.nav-dropdown-links>a.is-current {
    background: #e8eddd;
    color: #173c32;
}

.founder-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: center;
}

.founder-identity {
    min-height: 450px;
    border-radius: 12px;
    padding: 38px;
    background: #e7ebda;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.leader-monogram {
    width: 135px;
    height: 135px;
    display: grid;
    place-items: center;
    border: 1px solid #aabf91;
    border-radius: 50%;
    font: 600 48px var(--font-heading);
    color: #3f6245;
    letter-spacing: -.06em;
    margin: 18px 0 30px;
}

.founder-identity h2 {
    font-size: 30px;
    line-height: 1.25;
}

.founder-identity>p {
    color: #5e7458;
    font-size: 13px;
}

.founder-identity-foot {
    font-size: 9px;
    letter-spacing: .17em;
    border-top: 1px solid #c7d2b8;
    padding-top: 20px;
    margin-top: auto;
    width: 100%;
}

.founder-biography .section-title {
    font-size: clamp(30px, 3.3vw, 44px);
}

.founder-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    margin-top: 28px;
}

.about-explore,
.about-founder-intro {
    background: #eef0e3;
}

.about-explore {
    padding-block: 60px;
}

.about-explore>.container,
.about-founder-intro>.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.about-explore .section-title {
    font-size: 34px;
    margin-bottom: 0;
}

.about-founder-intro p {
    max-width: 650px;
    margin-bottom: 0;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.leader-profile {
    background: #fff;
    border: 1px solid #dce2d4;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.leader-profile-art {
    min-height: 240px;
    background: #e7ebda;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.leader-profile-art .leader-monogram {
    margin: 0 0 22px;
    width: 120px;
    height: 120px;
    font-size: 44px;
}

.leader-profile-art>span:last-child {
    font-size: 8px;
    letter-spacing: .18em;
    color: #5a7350;
}

.leader-profile-art-branch {
    background: #eeeadd;
}

.leader-profile-copy {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.leader-profile-copy .section-label {
    font-size: 9px;
    margin-bottom: 12px;
}

.leader-profile-copy h3 {
    font-size: 26px;
}

.leader-profile-copy p {
    font-size: 14px;
    color: #64715f;
}

.leader-profile-copy .underlined-link {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 10px;
    font-size: 12px;
    white-space: normal;
}

@media (max-width: 1100px) {
    .nav-dropdown>summary {
        font-size: 15px;
        padding-block: 13px;
        justify-content: space-between;
        min-height: 48px;
    }

    .nav-dropdown.is-current>summary::after {
        top: 39px;
    }

    .nav-dropdown-links {
        position: static;
        width: 100%;
        box-shadow: none;
        background: #f0f2e8;
        margin: 4px 0 12px;
    }

    .founder-layout {
        gap: 40px;
    }

    .leaders-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .founder-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .founder-identity {
        min-height: 400px;
        padding: 28px;
    }

    .leaders-grid {
        grid-template-columns: 1fr;
    }

    .about-explore>.container,
    .about-founder-intro>.container {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-explore .section-title {
        font-size: 30px;
    }
}

/* Landing hero: full-width worship photograph with a readable green overlay. */
.hero-with-background {
    position: relative;
    isolation: isolate;
    padding-top: 40px;
}

.hero-background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    z-index: -2;
}

.hero-with-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 36, 28, .95) 0%, rgba(13, 42, 32, .86) 32%, rgba(13, 42, 32, .50) 65%, rgba(13, 42, 32, .22) 100%), linear-gradient(0deg, rgba(10, 33, 26, .72), transparent 45%);
    z-index: -1;
}

.hero-with-background .hero-layout {
    grid-template-columns: 1fr;
    min-height: 570px;
}

.hero-with-background .hero-copy {
    max-width: 740px;
    padding-block: 44px;
}

.hero-with-background .hero-bottom {
    margin-top: 0;
    padding-block: 25px;
}

.hero-with-background .hero-bottom>a,
.hero-with-background .hero-bottom>span {
    color: #e0e8d8;
}

.hero-with-background .hero-copy>p {
    color: #e1e8dd;
}

@media (max-width: 767px) {
    .hero-with-background {
        padding-top: 10px;
    }

    .hero-with-background .hero-layout {
        min-height: 560px;
    }

    .hero-with-background .hero-copy {
        padding-block: 32px;
    }

    .hero-with-background::before {
        background: linear-gradient(90deg, rgba(10, 36, 28, .91), rgba(10, 36, 28, .67)), linear-gradient(0deg, rgba(10, 33, 26, .65), transparent);
    }

    .hero-background-image {
        object-position: 58% center;
    }
}

/* One-time landing entrance. Transform and opacity avoid layout movement. */
.hero-heading-line {
    display: block;
}

@keyframes evergreen-text-enter {
    from {
        opacity: 0;
        transform: translate3d(0, 22px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes evergreen-background-enter {
    from {
        opacity: 0;
        transform: scale(1.055);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-with-background .hero-background-image {
        animation: evergreen-background-enter 2.4s cubic-bezier(.2, .65, .3, 1) backwards;
        transform-origin: 60% 45%;
    }

    .hero-with-background .hero-copy>.eyebrow,
    .hero-with-background .hero-heading-line,
    .hero-with-background .hero-copy>p,
    .hero-with-background .hero-buttons,
    .hero-with-background .hero-invitation,
    .hero-with-background .hero-bottom {
        animation: evergreen-text-enter .85s cubic-bezier(.16, 1, .3, 1) backwards;
    }

    .hero-with-background .hero-copy>.eyebrow {
        animation-delay: .12s;
    }

    .hero-with-background .hero-heading-line:nth-child(1) {
        animation-delay: .26s;
    }

    .hero-with-background .hero-heading-line:nth-child(2) {
        animation-delay: .42s;
    }

    .hero-with-background .hero-heading-line:nth-child(3) {
        animation-delay: .58s;
    }

    .hero-with-background .hero-copy>p {
        animation-delay: .76s;
    }

    .hero-with-background .hero-buttons {
        animation-delay: .92s;
    }

    .hero-with-background .hero-invitation {
        animation-delay: 1.08s;
    }

    .hero-with-background .hero-bottom {
        animation-delay: 1.2s;
    }

    /* Reveal immediately if someone tabs to an action during the entrance. */
    .hero-with-background .hero-buttons:focus-within,
    .hero-with-background .hero-bottom:focus-within {
        animation: none;
    }
}

/* The homepage hero fills the viewport behind the floating header. */
body.public-site.page-home {
    padding-top: 0;
}

.page-home .hero-with-background {
    height: 100vh;
    height: 100svh;
    min-height: 680px;
    padding-top: calc(var(--church-nav-height) + var(--church-nav-top) + 24px);
    display: flex;
    flex-direction: column;
}

.page-home .hero-with-background .hero-layout {
    flex: 1;
    min-height: 0;
    align-items: center;
}

.page-home .hero-with-background .hero-copy {
    padding-block: 20px;
}

.page-home .hero-with-background .hero-bottom {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .page-home .hero-with-background {
        min-height: 660px;
    }

    .page-home .hero-with-background .hero-copy {
        padding-block: 18px;
    }
}