:root {
    --cream: #fffaf1;
    --cream-deep: #f4ead8;
    --white: #ffffff;
    --navy: #0c2f66;
    --navy-deep: #08244f;
    --navy-soft: #536884;
    --gold: #c9981f;
    --gold-deep: #8b650f;
    --gold-soft: #f2d988;
    --ink: #20324f;
    --muted: #63738b;
    --line: rgba(12, 47, 102, 0.14);
    --shadow: 0 18px 40px rgba(12, 47, 102, 0.09);
    --shadow-soft: 0 10px 24px rgba(12, 47, 102, 0.07);
    --radius: 8px;
    --container: 1160px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: linear-gradient(180deg, var(--cream) 0%, #fffdf9 48%, var(--cream) 100%);
    font-family: "Nunito Sans", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
}

h1,
h2,
h3 {
    margin: 0 0 1rem;
    color: var(--navy);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    max-width: 12em;
    font-size: 4rem;
}

h2 {
    max-width: 12em;
    font-size: 2.9rem;
}

h3 {
    font-size: 1.5rem;
}

button,
input,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

address {
    display: grid;
    gap: 0.15rem;
    color: var(--muted);
    font-style: normal;
}

[id] {
    scroll-margin-top: 7rem;
}

.skip-link {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2000;
    padding: 0.7rem 1rem;
    border-radius: var(--radius);
    color: var(--white);
    background: var(--navy);
    transform: translateY(-140%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.section {
    padding: 5.6rem 0;
}

.section-soft {
    background: rgba(245, 234, 215, 0.5);
}

.section-heading {
    max-width: 44rem;
    margin-bottom: 2rem;
}

.section-heading-compact {
    margin-bottom: 0;
}

.lead,
.hero-text {
    color: var(--ink);
    font-size: 1.17rem;
}

.eyebrow,
.section-kicker,
.card-kicker,
.contact-label,
.summary-label {
    margin: 0 0 0.55rem;
    color: var(--gold-deep);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-kicker-light {
    color: var(--gold-soft);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.78rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    color: #211805;
    background: linear-gradient(180deg, var(--gold-soft), var(--gold));
    box-shadow: 0 12px 24px rgba(201, 152, 31, 0.22);
}

.button-secondary,
.button-cream {
    color: var(--navy);
    background: var(--white);
    border-color: var(--line);
    box-shadow: var(--shadow-soft);
}

.button-cream {
    background: var(--cream);
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--navy);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(201, 152, 31, 0.5);
    text-underline-offset: 0.25rem;
}

.button:focus-visible,
.text-link:focus-visible,
.brand:focus-visible,
.language-button:focus-visible,
.menu-toggle:focus-visible,
.site-nav a:focus-visible,
.footer a:focus-visible,
.contact-card a:focus-visible,
input:focus,
textarea:focus {
    outline: 3px solid rgba(201, 152, 31, 0.34);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.85rem 0;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 250, 241, 0.94);
    box-shadow: 0 12px 28px rgba(12, 47, 102, 0.08);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.nav-wrap {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.brand-mark,
.footer-logo img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(12, 47, 102, 0.08);
}

.brand-text {
    display: grid;
    min-width: 0;
}

.brand-title {
    color: var(--navy);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.38rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.brand-subtitle {
    color: var(--navy-soft);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 0.25rem;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    color: var(--navy-soft);
    font-size: 0.96rem;
    font-weight: 800;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--navy);
    background: rgba(201, 152, 31, 0.12);
}

.header-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    min-inline-size: 0;
    margin: 0;
    padding: 0.22rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.language-button {
    min-width: 2.45rem;
    min-height: 2.35rem;
    border: 0;
    border-radius: 999px;
    color: var(--navy-soft);
    background: transparent;
    font-size: 0.86rem;
    font-weight: 800;
}

.language-button.is-active {
    color: #211805;
    background: var(--gold-soft);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.28rem;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
}

.menu-toggle span {
    width: 1.2rem;
    height: 2px;
    border-radius: 999px;
    background: var(--navy);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    padding-top: 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
    gap: 3rem;
    align-items: center;
}

.hero-text {
    max-width: 42rem;
}

.hero-actions,
.visit-actions,
.give-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-actions {
    margin-top: 1.8rem;
}

.hero-card,
.info-card,
.message-panel,
.value-card,
.form-panel,
.contact-card {
    border: 1px solid rgba(12, 47, 102, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.hero-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(201, 152, 31, 0.12), transparent 50%);
    pointer-events: none;
}

.hero-logo-wrap {
    position: absolute;
    right: -1.5rem;
    bottom: -1.5rem;
    width: 13rem;
    opacity: 0.08;
}

.hero-card > *:not(.hero-logo-wrap) {
    position: relative;
    z-index: 1;
}

.hero-card h2 {
    margin-bottom: 1.2rem;
    font-size: 2.15rem;
}

.service-summary {
    display: grid;
    gap: 1rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.service-summary li {
    display: grid;
    gap: 0.1rem;
    padding: 0 0 1rem;
    border-bottom: 1px solid var(--line);
}

.service-summary li:last-child {
    border-bottom: 0;
}

.summary-label {
    margin-bottom: 0;
    color: var(--muted);
}

.service-summary strong {
    color: var(--navy);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.45rem;
    line-height: 1.2;
}

.visit-section {
    padding-top: 5rem;
    background: var(--white);
}

.visit-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.info-card,
.value-card,
.contact-card {
    padding: 1.35rem;
}

.info-card p:last-child,
.value-card p:last-child,
.message-panel p:last-child,
.contact-card p:last-child {
    margin-bottom: 0;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    margin-bottom: 1rem;
    padding: 0;
    border-radius: 999px;
    color: var(--gold-deep);
    background: rgba(201, 152, 31, 0.12);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.card-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
    flex: 0 0 auto;
}

.visit-actions {
    margin-top: 1.4rem;
}

.about-layout,
.prayer-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 2rem;
    align-items: start;
}

.message-panel {
    padding: 1.6rem;
}

.message-panel p {
    color: var(--ink);
}

.values-section {
    background: var(--white);
}

.value-card h3 {
    margin-bottom: 0.55rem;
}

.prayer-section {
    background: var(--white);
}

.prayer-copy {
    padding: 2rem;
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.92), rgba(245, 234, 215, 0.52));
}

.care-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.care-list span {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.55rem 0.8rem;
    border-radius: var(--radius);
    color: var(--navy);
    background: var(--white);
    font-weight: 800;
    box-shadow: var(--shadow-soft);
}

.form-panel {
    padding: 1.6rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.field label,
.checkbox-field span {
    color: var(--navy);
    font-weight: 800;
}

.field input,
.field textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(12, 47, 102, 0.16);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(201, 152, 31, 0.8);
    box-shadow: 0 0 0 4px rgba(201, 152, 31, 0.14);
}

.field textarea {
    min-height: 9rem;
    resize: vertical;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}

.checkbox-field input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.25rem;
    accent-color: var(--gold);
}

.form-response {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    margin: 0;
    color: var(--gold-deep);
    font-weight: 800;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.form-response.is-visible {
    opacity: 1;
}

.give-section {
    background: var(--navy-deep);
}

.give-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--navy-deep), var(--navy));
    box-shadow: var(--shadow);
}

.give-copy h2,
.give-copy p {
    color: var(--white);
}

.give-copy p {
    max-width: 38rem;
}

.give-note {
    display: inline-flex;
    margin: 0;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(240, 215, 134, 0.34);
    border-radius: var(--radius);
    color: var(--navy-deep) !important;
    background: #fff5dd;
    font-weight: 800;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-card {
    box-shadow: none;
}

.contact-card a {
    color: var(--navy);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--line);
    background: var(--white);
}

.footer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(210px, 0.7fr);
    gap: 1.5rem;
    align-items: start;
}

.footer-logo {
    color: var(--navy);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.footer-brand p {
    max-width: 29rem;
    margin: 0.75rem 0 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
}

.footer-links a,
.footer-contact a {
    color: var(--navy-soft);
    font-weight: 800;
}

.footer-contact a {
    display: block;
}

.footer-contact span {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--navy);
    font-weight: 800;
}

.footer-meta {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.footer-meta p {
    margin: 0;
    font-size: 0.94rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal="left"] {
    transform: translateX(-18px);
}

[data-reveal="right"] {
    transform: translateX(18px);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

@media (max-width: 1120px) {
    .brand-title {
        font-size: 1.22rem;
    }

    .site-nav a {
        padding-inline: 0.62rem;
    }
}

@media (max-width: 1080px) {
    h1 {
        font-size: 3.45rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero-grid,
    .about-layout,
    .prayer-grid,
    .contact-grid,
    .give-panel {
        grid-template-columns: 1fr;
    }

    .hero-card {
        max-width: 44rem;
    }

    .give-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 940px) {
    .nav-wrap {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        top: 5.15rem;
        left: 0.75rem;
        right: 0.75rem;
        display: grid;
        gap: 0.55rem;
        justify-self: stretch;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(255, 250, 241, 0.98);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-0.75rem);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav a {
        justify-content: flex-start;
        min-height: 3.35rem;
        padding: 0.8rem 1rem;
        border-radius: var(--radius);
        background: var(--white);
        color: var(--navy);
        font-size: 1.03rem;
    }

    .site-nav a[href="#visit"] {
        order: -2;
        color: #211805;
        background: linear-gradient(180deg, var(--gold-soft), var(--gold));
    }

    .site-nav a[href="#prayer"] {
        order: -1;
        background: rgba(201, 152, 31, 0.12);
    }

    .visit-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(var(--container), calc(100% - 1.25rem));
    }

    .section {
        padding: 4.2rem 0;
    }

    .hero {
        padding-top: 3.6rem;
    }

    h1 {
        font-size: 2.68rem;
    }

    h2 {
        font-size: 2.15rem;
    }

    h3 {
        font-size: 1.32rem;
    }

    .site-header .brand-text {
        display: none;
    }

    .brand-mark,
    .footer-logo img {
        width: 2.65rem;
        height: 2.65rem;
    }

    .language-button {
        min-width: 2.25rem;
        min-height: 2.2rem;
    }

    .hero-text,
    .lead {
        font-size: 1.06rem;
    }

    .hero-actions,
    .visit-actions,
    .give-actions,
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
        min-height: 3.15rem;
    }

    .hero-card,
    .prayer-copy,
    .form-panel,
    .message-panel,
    .give-panel {
        padding: 1.25rem;
    }

    .hero-logo-wrap {
        width: 10rem;
    }

    .service-summary strong {
        font-size: 1.32rem;
    }

    .form-grid,
    .footer-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 470px) {
    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 1.95rem;
    }

    .header-actions {
        gap: 0.4rem;
    }

    .site-nav {
        top: 4.95rem;
    }
}

@media (max-width: 380px) {
    .brand-mark {
        width: 2.35rem;
        height: 2.35rem;
    }

    .language-button {
        min-width: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}