/* core-css */
/*
 * Copyright © 2026. Martin Solution, ALL RIGHTS RESERVED!
 * @author: Bruce Martin
 */

/* Base */
:root {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
    color: #24313d;
    background: #f5f7f9;
    line-height: 1.6;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: #f5f7f9;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e7eb;
}

.site-header__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-brand,
.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d3a52;
}

.site-logo {
    grid-column: 1;
    justify-self: start;
    align-self: center;
    display: flex;
    align-items: center;
}

.site-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d3a52;
}
.site-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    background-color: rgb(100, 114, 126);
}

.site-nav .nav-inner {
    grid-column: 2;
    justify-self: center;
    display: flex;
    align-self: center;
    justify-content: center;
    gap: 1.25rem;
    /*background-color: #eeeeee;*/

}

.site-nav .nav-inner nav {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 1rem !important;
}

.site-nav .nav-inner a {
    color: #52616d;
    font-size: 0.95rem;
    background-color: #ffffff;
    border-top: 2px;
    border-color: #e2e7eb;
    padding: 0.1rem 0.6rem;
    margin: 0.4rem 0.2rem 0.0rem 0.1rem;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    display: inline-block;
}

.site-nav .nav-inner a:hover {
    color: #eeeeee;
    background-color: #64727e;
    box-shadow: 0 -2px 3px lightgray;
}

/* Main content */
main {
    min-height: calc(100vh - 150px);
}

.home {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.home__hero {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.home__title {
    margin: 0 0 1rem;
    color: #1d3a52;
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.1;
}

.home__description {
    margin: 0 auto 2rem;
    max-width: 650px;
    color: #64727e;
    font-size: 1.15rem;
}

/* Card */
.home__card {
    max-width: 700px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e2e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(30, 50, 70, 0.08);
}

.home__card h2 {
    margin-top: 0;
    color: #1d3a52;
}

/* Button */
.button {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    background: #1d3a52;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 0;
}

.button:hover {
    background: #284f6d;
    text-decoration: none;
}

/* Footer */
.site-footer {
    padding: 1.5rem;
    background: #1d3a52;
    color: #dce5eb;
    text-align: center;
    font-size: 0.9rem;
}

/* JavaScript test */
.js-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    background: #eef5f9;
    color: #36566d;
}

.js-message[hidden] {
    display: none;
}

/* Responsive */
@media (max-width: 700px) {
    .site-header__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .site-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .site-nav .nav-inner {
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
    }

    .home {
        padding: 3rem 1rem;
    }

    .home__card {
        padding: 1.5rem;
    }
}


/* theme-fonts */
/*
 * Church-Core Default Theme — Local Web Fonts
 */

/* DM Sans */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url('../fonts/dm-sans/normal-100_1000.woff2') format('woff2');
}

@font-face {
    font-family: 'DM Sans';
    font-style: italic;
    font-weight: 100 1000;
    font-display: swap;
    src: url('../fonts/dm-sans/italic-100_1000.woff2') format('woff2');
}

/* Open Sans */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('../fonts/open-sans/normal-300_800.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 300 800;
    font-display: swap;
    src: url('../fonts/open-sans/italic-300_800.woff2') format('woff2');
}

/* Playfair Display */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/playfair-display/normal-400_900.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/playfair-display/italic-400_900.woff2') format('woff2');
}

/* Merriweather */
@font-face {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/merriweather/normal-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/merriweather/normal-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/merriweather/normal-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/merriweather/normal-900.woff2') format('woff2');
}

@font-face {
    font-family: 'Merriweather';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/merriweather/italic-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Merriweather';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/merriweather/italic-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Merriweather';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/merriweather/italic-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Merriweather';
    font-style: italic;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/merriweather/italic-900.woff2') format('woff2');
}


/* theme-css */
/*
 * Church-Core Default Theme — Design 1
 * Modern editorial / cinematic: forest green, warm ivory, muted gold.
 */
:root {
    /* Semantic design tokens (default: Classic Church) */
    --color-primary: #173d32;
    --color-primary-dark: #102c25;
    --color-primary-soft: #dce6df;
    --color-accent: #c99a5a;
    --color-accent-light: #e5c99d;
    --color-accent-soft: #f5ecdc;
    --color-bg: #f6f4ef;
    --color-surface: #ffffff;
    --color-surface-alt: #eeece5;
    --color-surface-dark: #102c25;
    --color-text: #20241f;
    --color-text-muted: #6d716b;
    --color-text-inverse: #ffffff;
    --color-text-accent: #c99a5a;
    --color-footer-text: #FFFFFFB3;
    --color-border: #deded5;
    --color-border-subtle: #e9e8e1;
    --color-focus: #c99a5a;
    --color-hero-overlay: #102c25;

    /* Typography tokens */
    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Legacy aliases for backward compatibility */
    --green: var(--color-primary);
    --green-deep: var(--color-primary-dark);
    --green-soft: var(--color-primary-soft);
    --gold: var(--color-accent);
    --gold-light: var(--color-accent-light);
    --ink: var(--color-text);
    --muted: var(--color-text-muted);
    --paper: var(--color-bg);
    --white: var(--color-surface);
    --line: var(--color-border);
    --serif: var(--font-heading);
    --sans: var(--font-body);

    /* Layout tokens */
    --page: min(1200px, calc(100% - 3rem));
    --section-space: clamp(4.5rem, 9vw, 8rem);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--paper);
    font: 16px/1.7 var(--sans);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: var(--page);
    margin-inline: auto;
}

.section {
    padding-block: var(--section-space);
}

.section--paper {
    background: var(--color-surface-alt);
}

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2, h3 {
    line-height: 1.12;
}

h1, h2 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -.035em;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2 em {
    color: var(--green);
    font-weight: 400;
}

h3 {
    font-size: 1.55rem;
    font-weight: 500;
}

p {
    color: var(--muted);
}

.lead {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    line-height: 1.6;
    color: var(--ink);
}

.eyebrow {
    color: var(--green);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .19em;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
}

.eyebrow--light {
    color: var(--gold-light);
}

.skip-link {
    position: absolute;
    z-index: 1000;
    top: 1rem;
    left: 1rem;
    padding: .8rem 1rem;
    background: var(--color-surface);
    color: var(--color-primary);
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 4px;
}

/* Header */
.site-header {
    position: absolute;
    z-index: 20;
    inset: 0 0 auto;
    color: white;
    background: var(--green-deep);
    border-bottom: 1px solid rgb(255 255 255 / 20%);
    transition: background .25s, box-shadow .25s;
}

.site-header.is-scrolled {
    position: fixed;
    background: var(--green-deep);
    box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
}

.site-header__inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    color: white;
}

.brand__symbol {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold-light);
    font-size: 1.4rem;
}

.brand__symbol__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100% !important;
    border-color: var(--color-border);
}
.brand__text {
    display: flex;
    flex-direction: column;
    font-family: var(--serif);
    font-size: 1.35rem;
    line-height: 1.1;
}

.brand__text small {
    margin-top: .4rem;
    font: 600 .52rem/1.2 var(--sans);
    letter-spacing: .16em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.2vw, 2rem);
    font-size: .82rem;
    font-weight: 600;
}

.desktop-nav > a:not(.desktop-nav__cta) {
    opacity: .9;
    transition: opacity .2s;
}

.desktop-nav > a:hover {
    opacity: 1;
}

.desktop-nav__cta {
    border: 1px solid rgb(255 255 255 / 65%);
    padding: .75rem 1rem;
}

.desktop-nav__cta span {
    color: var(--gold-light);
    margin-left: .45rem;
}

.menu-toggle, .mobile-nav {
    display: none;
}

/* Cinematic hero */
.hero {
    position: relative;
    min-height: min(820px, 100svh);
    min-height: max(690px, min(820px, 100svh));
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--green-deep);
    color: white;
}

.hero__image, .hero__shade {
    position: absolute;
    inset: 0;
}

.hero__image img {
    object-position: center 42%;
}

.hero__shade {
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-hero-overlay) 84%, transparent) 0%, color-mix(in srgb, var(--color-hero-overlay) 62%, transparent) 46%, color-mix(in srgb, var(--color-hero-overlay) 20%, transparent) 100%), linear-gradient(0deg, color-mix(in srgb, var(--color-hero-overlay) 36%, transparent), transparent 50%);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-top: 6rem;
    padding-bottom: 5rem;
}

.hero h1 {
    max-width: 800px;
    margin-bottom: 1.6rem;
    font-size: clamp(3.8rem, 8.5vw, 7.4rem);
    line-height: .98;
    white-space: pre-line;
}

.hero__description {
    max-width: 560px;
    margin-bottom: 2.2rem;
    color: rgb(255 255 255 / 85%);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 52px;
    padding: .9rem 1.35rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    transition: transform .2s, background .2s, color .2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button--gold {
    color: var(--green-deep);
    background: var(--gold-light);
}

.button--gold:hover {
    background: white;
}

.button--outline-light {
    color: white;
    border: 1px solid rgb(255 255 255 / 65%);
}

.button--outline-light:hover {
    background: rgb(255 255 255 / 12%);
}

.button--green {
    background: var(--green);
    color: white;
}

.hero__scroll {
    position: absolute;
    right: max(1.5rem, calc((100vw - 1200px) / 2));
    bottom: 2.2rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    color: rgb(255 255 255 / 78%);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero__scroll span {
    width: 42px;
    height: 1px;
    background: var(--gold);
}

/* Welcome */
.welcome {
    background: var(--paper);
}

.welcome__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 9vw, 9rem);
    align-items: start;
}

.section-intro h2 {
    max-width: 540px;
}

.welcome__copy {
    padding-top: 2.8rem;
    max-width: 520px;
}

.text-link {
    display: inline-flex;
    gap: .9rem;
    align-items: center;
    margin-top: .65rem;
    padding-bottom: .35rem;
    border-bottom: 1px solid var(--gold);
    color: var(--green);
    font-size: .83rem;
    font-weight: 700;
}

.text-link span {
    transition: transform .2s;
}

.text-link:hover span {
    transform: translateX(4px);
}

/* Three editorial cards */
.visit {
    background: var(--color-surface-alt);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 3rem;
    margin-bottom: 3rem;
}

.section-heading h2 {
    max-width: 680px;
    margin-bottom: 0;
}

.section-heading > p {
    max-width: 360px;
    margin-bottom: .45rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--paper);
}

.feature-card__image {
    height: clamp(200px, 24vw, 300px);
    overflow: hidden;
    background: var(--green-soft);
    width: 100%
}

.feature-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.feature-card:hover .feature-card__image img {
    transform: scale(1.04);
}

.feature-card__body {
    position: relative;
    padding: 1.8rem 1.7rem 2rem;
}

.feature-card__number {
    display: block;
    margin-bottom: 1rem;
    color: var(--color-accent);
    font-size: .68rem;
    letter-spacing: .15em;
}

.feature-card h3 {
    margin-bottom: .8rem;
}

.feature-card p {
    min-height: 5.1rem;
    font-size: .93rem;
}

/* Scripture interlude */
.scripture {
    background: var(--green);
    color: white;
    text-align: center;
}

.scripture__inner {
    max-width: 900px;
}

.scripture__mark {
    display: block;
    height: 4rem;
    color: var(--gold-light);
    font: 6rem/.9 var(--serif);
}

.scripture blockquote {
    margin: 0 auto 1.2rem;
    font: clamp(2.3rem, 5.5vw, 4.8rem)/1.12 var(--serif);
    letter-spacing: -.03em;
}

.scripture p {
    margin-bottom: 0;
    color: var(--gold-light);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

/* Closing invitation */
.invitation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 490px;
    background: var(--green-deep);
    color: white;
}

.invitation__image {
    min-height: 420px;
    overflow: hidden;
}

.invitation__content {
    align-self: center;
    max-width: 620px;
    padding: clamp(3rem, 7vw, 7rem);
}

.invitation h2 {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.invitation__content > p:not(.eyebrow) {
    max-width: 470px;
    margin-bottom: 2rem;
    color: rgb(255 255 255 / 75%);
}

/* About page */
.page-hero {
    position: relative;
    display: flex;
    align-items: end;
    min-height: 530px;
    overflow: hidden;
    color: white;
    background: var(--green-deep);
}

.page-hero__image, .page-hero__shade {
    position: absolute;
    inset: 0;
}

.page-hero__shade {
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-hero-overlay) 80%, transparent), color-mix(in srgb, var(--color-hero-overlay) 20%, transparent));
}

.page-hero__content {
    position: relative;
    padding-top: 12rem;
    padding-bottom: 5rem;
}

.page-hero h1 {
    max-width: 850px;
    margin-bottom: 1.2rem;
    font-size: clamp(3.5rem, 7vw, 6rem);
}

.page-hero__content > p:last-child {
    max-width: 650px;
    color: rgb(255 255 255 / 85%);
    font-size: 1.15rem;
}

.about-content {
    max-width: 800px;
}

.about-content > p:not(.eyebrow) {
    max-width: 720px;
}

.about-content .button {
    margin-top: 1rem;
}

/* Footer */
.site-footer {
    background: var(--color-surface-dark);
    color: var(--color-text-inverse);
}

.site-footer__main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-block: 4.5rem;
}

.brand--footer {
    margin-bottom: 1.3rem;
}

.site-footer__identity > p {
    max-width: 320px;
    color: rgb(255 255 255 / 62%);
    font-size: .9rem;
}

.site-footer__main h2 {
    margin-bottom: 1.2rem;
    font: 700 .75rem/1.3 var(--sans);
    letter-spacing: .14em;
    text-transform: uppercase;
}

.site-footer__main > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .7rem;
}

.site-footer__main > div > a:not(.brand) {
    color: rgb(255 255 255 / 70%);
    font-size: .88rem;
}

.site-footer__main > div > a:hover {
    color: var(--gold-light);
}

.site-footer__bottom {
    border-top: 1px solid rgb(255 255 255 / 14%);
}

.site-footer__bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.2rem;
}

.site-footer__bottom span {
    color: rgb(255 255 255 / 55%);
    font-size: .75rem;
}

/* Responsive */
@media (max-width: 960px) {
    :root {
        --page: min(100% - 2.5rem, 760px);
    }

    .site-header__inner {
        min-height: 82px;
    }

    .desktop-nav {
        gap: 1rem;
        font-size: .75rem;
    }

    .desktop-nav > a:nth-child(3), .desktop-nav > a:nth-child(4), .desktop-nav > a:nth-child(5) {
        display: none;
    }

    .welcome__grid {
        gap: 3rem;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 1rem;
    }

    .feature-grid {
        gap: .85rem;
    }

    .feature-card__body {
        padding: 1.4rem 1.1rem 1.7rem;
    }

    .invitation__content {
        padding: 3rem;
    }
}

@media (max-width: 640px) {
    :root {
        --page: calc(100% - 2rem);
        --section-space: 4.5rem;
    }

    .site-header__inner {
        min-height: 76px;
    }

    .brand__symbol {
        width: 36px;
        height: 36px;
    }

    .brand__text {
        font-size: 1.15rem;
    }

    .brand__text small {
        font-size: .45rem;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        padding: 10px;
        border: 1px solid rgb(255 255 255 / 55%);
        background: transparent;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 1px;
        background: white;
        transition: transform .2s;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .mobile-nav {
        position: fixed;
        z-index: 19;
        inset: 76px 0 auto;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: .5rem 1rem 1rem;
        background: var(--green-deep);
        color: white;
        box-shadow: 0 15px 24px rgb(0 0 0 / 18%);
    }

    .mobile-nav[hidden] {
        display: none;
    }

    .mobile-nav a {
        padding: .9rem .4rem;
        border-bottom: 1px solid rgb(255 255 255 / 12%);
    }

    .hero {
        min-height: 720px;
        min-height: 92svh;
    }

    .hero__shade {
        background: linear-gradient(90deg, color-mix(in srgb, var(--color-hero-overlay) 82%, transparent), color-mix(in srgb, var(--color-hero-overlay) 43%, transparent)), linear-gradient(0deg, color-mix(in srgb, var(--color-hero-overlay) 38%, transparent), transparent);
    }

    .hero__content {
        padding-top: 8rem;
        padding-bottom: 6rem;
    }

    .hero h1 {
        font-size: clamp(3.4rem, 15vw, 5.4rem);
    }

    .hero__scroll {
        right: 1rem;
        bottom: 1.5rem;
    }

    .welcome__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .welcome__copy {
        padding-top: .5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card__image {
        height: 250px;
    }

    .feature-card p {
        min-height: 0;
    }

    .scripture blockquote {
        font-size: 2.6rem;
    }

    .invitation {
        grid-template-columns: 1fr;
    }

    .invitation__image {
        min-height: 260px;
        max-height: 300px;
    }

    .invitation__content {
        padding: 3rem 1.5rem 4rem;
    }

    .site-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 1.5rem;
    }

    .site-footer__identity {
        grid-column: 1 / -1;
    }

    .site-footer__bottom .container {
        flex-direction: column;
        gap: .2rem;
    }

    .page-hero {
        min-height: 480px;
    }

    .page-hero__content {
        padding-top: 10rem;
        padding-bottom: 3.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* Design 1 refinements: reusable content pages, cards, focus states and motion safety. */
:root {
    --color-forest: var(--color-primary);
    --color-forest-deep: var(--color-primary-dark);
    --color-ivory: var(--color-surface-alt);
    --color-paper: var(--color-bg);
    --color-ink: var(--color-text);
    --color-muted: var(--color-text-muted);
    --color-gold: var(--color-accent);
    --font-display: var(--font-heading);
    --content-width: 1180px;
    --radius-card: 2px;
    --shadow-soft: 0 18px 48px rgba(16, 44, 37, .09)
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem
}

body {
    font-family: var(--font-body);
    color: var(--color-ink);
    background: var(--color-paper);
    line-height: 1.7
}

img {
    max-width: 100%;
    display: block
}

a {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease
}

a:focus-visible, button:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 4px
}

.container {
    width: min(var(--content-width), calc(100% - 3rem));
    margin-inline: auto
}

.section {
    padding-block: clamp(4rem, 8vw, 7.5rem)
}

.section--paper {
    background: var(--color-ivory)
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .72rem;
    font-weight: 700;
    color: var(--color-forest);
    margin: 0 0 1rem
}

.eyebrow--light {
    color: var(--color-accent-light)
}

.section h2, .invitation h2, .about-content h2 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: 1.12;
    font-size: clamp(2.2rem, 4.5vw, 4.1rem);
    margin: .2rem 0 1.2rem
}

.section h2 em, .about-content h2 em {
    color: var(--color-primary);
    font-weight: 400
}

.lead {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.6
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 3rem;
    margin-bottom: 2.7rem
}

.section-heading > div {
    max-width: 680px
}

.section-heading > p {
    max-width: 360px;
    color: var(--color-muted);
    margin: 0 0 .5rem
}

.feature-grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 1.4rem
}

.feature-card {
    background: var(--color-paper);
    box-shadow: var(--shadow-soft);
    min-width: 0;
    transition: transform .25s ease, box-shadow .25s ease
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(16, 44, 37, .13)
}

.feature-card__image {
    aspect-ratio: 5/3;
    overflow: hidden;
    background: var(--color-surface-alt)
}

.feature-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease
}

.feature-card:hover .feature-card__image img {
    transform: scale(1.035)
}

.feature-card__body {
    padding: clamp(1.35rem, 2.3vw, 2rem)
}

.feature-card__number {
    display: inline-block;
    font-size: .72rem;
    color: var(--color-accent);
    letter-spacing: .15em;
    margin-bottom: .7rem
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 .75rem
}

.feature-card p {
    color: var(--color-muted);
    margin: 0 0 1.2rem
}

.feature-card--text {
    border-top: 2px solid var(--color-gold)
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--color-forest);
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none
}

.text-link span {
    transition: transform .2s ease
}

.text-link:hover span {
    transform: translateX(4px)
}

.page-hero {
    position: relative;
    isolation: isolate;
    min-height: 360px;
    display: flex;
    align-items: end;
    padding-block: clamp(4rem, 9vw, 7rem);
    background: var(--color-forest);
    color: white;
    overflow: hidden
}

.page-hero__image, .page-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1
}

.page-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.page-hero__shade {
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-hero-overlay) 84%, transparent), color-mix(in srgb, var(--color-hero-overlay) 35%, transparent)), linear-gradient(0deg, color-mix(in srgb, var(--color-hero-overlay) 45%, transparent), transparent)
}

.page-hero__content {
    position: relative
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.6rem);
    line-height: 1.04;
    letter-spacing: -.04em;
    font-weight: 400;
    max-width: 900px;
    margin: 0 0 1rem
}

.page-hero__content > p:last-child {
    max-width: 660px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .88);
    margin: 0
}

.page-hero:not(:has(.page-hero__image)) {
    color: var(--color-ink);
    background: var(--color-ivory)
}

.page-hero:not(:has(.page-hero__image)) .page-hero__content > p:last-child {
    color: var(--color-muted)
}

.about-content {
    max-width: 780px
}

.about-content > p:not(.eyebrow) {
    color: var(--color-muted)
}

.scripture {
    background: var(--color-forest);
    color: var(--color-text-inverse);
    text-align: center;
    padding-block: clamp(4rem, 8vw, 7rem)
}

.scripture__inner {
    max-width: 850px
}

.scripture__mark {
    display: block;
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--color-gold);
    line-height: .8
}

.scripture blockquote {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.7rem);
    line-height: 1.2;
    margin: 1.2rem 0
}

.scripture p {
    color: var(--color-accent-light);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .78rem
}

.invitation {
    position: relative;
    isolation: isolate;
    min-height: 400px;
    display: grid;
    grid-template-columns:1fr 1fr;
    background: var(--color-forest);
    color: white;
    overflow: hidden
}

.invitation__image {
    min-height: 360px
}

.invitation__image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.invitation__content {
    padding: clamp(2.5rem, 6vw, 6rem);
    align-self: center;
    max-width: 720px
}

.invitation__content h2 {
    margin-top: 0
}

.invitation__content > p:not(.eyebrow) {
    color: rgba(255, 255, 255, .78);
    max-width: 490px;
    margin-bottom: 1.8rem
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    min-height: 48px;
    padding: .8rem 1.25rem;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .025em;
    border: 1px solid transparent
}

.button--gold {
    background: var(--color-accent);
    color: var(--color-text-inverse)
}

.button--gold:hover {
    background: var(--color-accent-light);
    transform: translateY(-1px)
}

.button--green {
    background: var(--color-forest);
    color: white
}

.button--green:hover {
    background: var(--color-forest-deep)
}

.button--outline-light {
    border-color: rgba(255, 255, 255, .65);
    color: white;
    background: transparent
}

.button--outline-light:hover {
    background: rgba(255, 255, 255, .12);
    border-color: white
}

.site-header {
    transition: background-color .25s ease, box-shadow .25s ease
}

.site-header.is-scrolled {
    box-shadow: 0 8px 28px rgba(0, 0, 0, .08)
}

.desktop-nav a[aria-current="page"], .mobile-nav a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--color-gold);
    text-underline-offset: .45rem
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -5rem;
    background: white;
    color: var(--color-forest);
    padding: .75rem 1rem;
    z-index: 1000
}

.skip-link:focus {
    top: 1rem
}

.site-footer {
    background: var(--color-surface-dark);
    color: rgba(255, 255, 255, .78)
}

.site-footer__main {
    display: grid;
    grid-template-columns:2fr 1fr 1fr;
    gap: 3rem;
    padding-block: 4rem
}

.site-footer h2 {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--color-accent-light);
    margin: 0 0 1rem
}

.site-footer__main > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem
}

.site-footer a {
    color: inherit;
    text-decoration: none
}

.site-footer a:hover {
    color: var(--color-accent-light)
}

.site-footer__identity p {
    max-width: 350px;
    color: rgba(255, 255, 255, .62)
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding: 1rem 0;
    font-size: .76rem
}

.site-footer__bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 1rem
}

.menu-toggle {
    cursor: pointer
}

.mobile-nav[hidden] {
    display: none !important
}

.mobile-nav {
    z-index: 50
}

.hero__content h1 {
    white-space: pre-line
}
.fitAll img {
  object-fit: contain !important;
}
@media (max-width: 800px) {
    .section-heading {
        display: block
    }

    .section-heading > p {
        margin-top: 1rem
    }

    .feature-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }

    .invitation {
        grid-template-columns:1fr
    }

    .invitation__image {
        min-height: 280px;
        max-height: 360px
    }

    .site-footer__main {
        grid-template-columns:1fr 1fr
    }

    .site-footer__identity {
        grid-column: 1/-1
    }
}

@media (max-width: 560px) {
    .container {
        width: min(var(--content-width), calc(100% - 2rem))
    }

    .feature-grid {
        grid-template-columns:1fr
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 300px
    }

    .hero__actions .button {
        width: 100%
    }

    .page-hero {
        min-height: 330px
    }

    .site-footer__main {
        grid-template-columns:1fr;
        gap: 2rem
    }

    .site-footer__identity {
        grid-column: auto
    }

    .site-footer__bottom .container {
        flex-direction: column
    }

    .welcome__grid {
        grid-template-columns:1fr;
        gap: 1rem
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important
    }
}


/* theme-colors */
/* Easter Palette — Regal royal purple, celebratory gold, crisp bright surface */
:root {
    --color-primary: #4a2574;
    --color-primary-dark: #2e144a;
    --color-primary-soft: #ede4f7;
    --color-accent: #d4af37;
    --color-accent-light: #f3e5ab;
    --color-accent-soft: #fdf6db;
    --color-bg: #fcfbf7;
    --color-surface: #ffffff;
    --color-surface-alt: #f3e8f8;
    --color-surface-dark: #2e144a;
    --color-text: #1f1c24;
    --color-text-muted: #6c6575;
    --color-text-inverse: #ffffff;
    --color-text-accent: #b89018;
    --color-border: #dfd9e8;
    --color-border-subtle: #ede8f4;
    --color-focus: #4a2574;
    --color-hero-overlay: #2e144a;
}


