@font-face {
    font-family: Metropolis;
    src: url("../fonts/metropolis/Metropolis-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Metropolis;
    src: url("../fonts/metropolis/Metropolis-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Metropolis;
    src: url("../fonts/metropolis/Metropolis-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Metropolis;
    src: url("../fonts/metropolis/Metropolis-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --paper: #f6f3ee;
    --ink: #111111;
    --ink-soft: #2a2a2a;
    --muted: rgba(246, 243, 238, 0.78);
    --line: rgba(246, 243, 238, 0.28);
    --card-dark: #0c0c0c;
    --header-pad: clamp(1.25rem, 3vw, 2.25rem);
}

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

html,
body {
    margin: 0;
    min-height: 100%;
}

html {
    scroll-behavior: smooth;
}

body.landing {
    font-family: Metropolis, "Avenir Next", "Segoe UI", sans-serif;
    color: var(--paper);
    background: #090909;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 20;
    padding: 0.6rem 0.9rem;
    background: var(--paper);
    color: var(--ink);
}

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

.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;
}

.landing-shell,
.landing-main {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.landing-shell {
    position: relative;
}

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 8;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: var(--header-pad);
    pointer-events: none;
}

.site-header > * {
    pointer-events: auto;
}

.brand {
    display: block;
    background: #f3f3f5;
    border-radius: 1.1rem;
    padding: 0.7rem 0.95rem 0.55rem;
    line-height: 0;
}

.brand__logo {
    width: min(17rem, 40vw);
    height: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.socials {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.icon-btn {
    width: 2.15rem;
    height: 2.15rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.icon-btn svg {
    width: 0.85rem;
    height: 0.85rem;
}

.icon-btn:hover,
.icon-btn:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(246, 243, 238, 0.55);
}

.menu-toggle {
    display: none;
}

.side-nav {
    position: absolute;
    top: clamp(6.5rem, 18vh, 9rem);
    right: var(--header-pad);
    z-index: 7;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
}

.side-nav__link {
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    color: var(--paper);
    transition: opacity 0.2s ease;
}

.side-nav__link:hover,
.side-nav__link:focus-visible {
    opacity: 0.72;
}

.side-nav__link--join {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.side-nav__link--join svg {
    width: 0.85rem;
    height: 0.85rem;
}

.avatar-cluster {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.avatar-cluster img,
.avatar-cluster__add {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    object-fit: cover;
}

.avatar-cluster__add {
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--paper);
}

.avatar-cluster__add svg {
    width: 0.8rem;
    height: 0.8rem;
}

.hero {
    position: relative;
    flex: 1 1 auto;
    min-height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

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

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 78%;
}

.hero__shade {
    background:
        linear-gradient(180deg, rgba(12, 10, 8, 0.18) 0%, rgba(12, 10, 8, 0.05) 38%, rgba(12, 10, 8, 0.72) 100%);
}

.hero__copy {
    position: relative;
    z-index: 2;
    width: min(36rem, 88vw);
    max-width: none;
    padding: 0 0 clamp(2.5rem, 6vh, 4rem) var(--header-pad);
}

.hero__cta {
    margin-top: 1.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #f3ead7;
    color: #171717;
    padding: 0.95rem 1.2rem;
    min-width: min(18rem, 100%);
    justify-content: space-between;
    font-size: 1rem;
}

.hero__cta svg {
    width: 1rem;
    height: 1rem;
}

.hero__copy h1 {
    margin: 0;
    font-size: clamp(2.8rem, 6.4vw, 5.4rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.hero__copy p {
    margin: 1.35rem 0 0;
    max-width: 22em;
    font-size: clamp(0.95rem, 1.4vw, 1.12rem);
    line-height: 1.45;
    color: var(--muted);
    font-weight: 300;
}

.home-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 15.75rem;
}

.quote-card,
.video-card,
.service-card {
    min-height: 15.75rem;
}

.quote-card {
    background: var(--card-dark);
    color: var(--paper);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.15rem;
    align-items: center;
    padding: 1.6rem 1.8rem;
}

.quote-card__photo {
    width: 5.4rem;
    height: 5.4rem;
    border-radius: 999px;
    object-fit: cover;
}

.quote-card__body {
    min-width: 0;
}

.quote-card__mark {
    display: block;
    font-size: 2.6rem;
    line-height: 0.7;
    margin-bottom: 0.55rem;
    color: rgba(246, 243, 238, 0.88);
}

.quote-card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    font-weight: 300;
    color: rgba(246, 243, 238, 0.86);
}

.video-card {
    position: relative;
    overflow: hidden;
    background: #000;
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.72);
}

.video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card__play span {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.video-card__play span svg {
    width: 0.95rem;
    height: 0.95rem;
    margin-left: 0.12rem;
}

.video-card__play:hover span,
.video-card__play:focus-visible span {
    transform: scale(1.06);
}

.service-card {
    background: var(--paper);
    color: var(--ink);
    padding: 1.7rem 1.9rem 1.4rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card h2 {
    margin: 0;
    font-size: clamp(1.7rem, 2.4vw, 2.15rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.service-card__meta {
    margin: 0.85rem 0 0;
    font-size: 0.92rem;
    color: var(--ink-soft);
    font-weight: 300;
    line-height: 1.45;
}

.service-card__meta span {
    display: block;
    margin-top: 0.25rem;
}

.service-card__link {
    margin-top: auto;
    padding-top: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.92rem;
}

.service-card__link svg {
    width: 0.85rem;
    height: 0.85rem;
}

.service-card__mark {
    position: absolute;
    right: 1.15rem;
    bottom: 1.05rem;
    width: 2.2rem;
    height: 2.2rem;
    object-fit: contain;
}

.mobile-nav {
    display: none;
}

.video-modal[hidden] {
    display: none;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(0, 0, 0, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.video-modal__dialog {
    width: min(72rem, 100%);
    background: #000;
    position: relative;
}

.video-modal__frame {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.video-modal__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal__close {
    position: absolute;
    top: -2.6rem;
    right: 0;
    color: var(--paper);
    font-size: 0.95rem;
}

@media (max-width: 1100px) {
    .side-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .brand__logo {
        width: min(14rem, 52vw);
    }

    .hero__copy {
        max-width: none;
        width: min(36rem, 92vw);
    }

    .home-strip {
        grid-template-columns: 1fr;
    }

    .quote-card,
    .video-card,
    .service-card {
        min-height: 13.5rem;
    }

    .mobile-nav.is-open {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 12;
        flex-direction: column;
        justify-content: center;
        gap: 1.4rem;
        padding: 2rem;
        background: rgba(10, 10, 10, 0.94);
    }

    .mobile-nav a {
        font-size: 1.6rem;
        letter-spacing: -0.02em;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 92svh;
    }

    .hero__copy {
        padding-top: 0;
        padding-bottom: 2.2rem;
        max-width: none;
        width: min(36rem, 92vw);
    }

    .hero__copy h1 {
        white-space: normal;
    }

    .quote-card {
        grid-template-columns: 1fr;
        justify-items: start;
    }
}

.band {
    scroll-margin-top: 1.5rem;
    padding: clamp(3.5rem, 7vw, 5.5rem) var(--header-pad);
}

.eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5b73b8;
}

.scriptures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    background: #f3f3f5;
    color: var(--ink);
}

.scriptures blockquote {
    margin: 0;
}

.scriptures p {
    margin: 0;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    line-height: 1.25;
    letter-spacing: -0.03em;
    font-weight: 400;
}

.scriptures cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-size: 0.92rem;
    color: #5b4b9a;
}

.calling {
    background: #101114;
    color: var(--paper);
}

.calling__intro p {
    margin: 0;
    max-width: 40rem;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.35;
    letter-spacing: -0.03em;
    font-weight: 300;
}

.calling__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.calling__grid article {
    border-top: 1px solid rgba(246, 243, 238, 0.22);
    padding-top: 1.25rem;
}

.calling__grid h2,
.engagements h3,
.gather h2,
.gather h3,
.band__heading h2 {
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.calling__grid h2 {
    font-size: 1.7rem;
}

.calling__grid p,
.engagements article > p,
.gather__lead,
.gather address,
.gather li {
    font-weight: 300;
    line-height: 1.5;
}

.calling__grid p {
    margin: 0.7rem 0 0;
    color: var(--muted);
}

.engagements {
    background: #f7f4ef;
    color: var(--ink);
}

.band__heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.engagements__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.engagements article {
    background: #111;
    color: var(--paper);
    min-height: 18rem;
    padding: 1.5rem 1.4rem 1.35rem;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 1.5rem;
}

.engagements h3 {
    font-size: 1.8rem;
}

.engagements article > p {
    margin: 0.8rem 0 0;
}

.engagements cite {
    display: block;
    margin-top: 0.45rem;
    font-style: normal;
    color: #d7d3ea;
    font-size: 0.92rem;
}

.engagements__when {
    margin-top: auto !important;
    padding-top: 1.4rem;
    color: rgba(246, 243, 238, 0.78);
    font-size: 0.95rem;
}

.gather {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    background: #5c6fbe;
    color: #f7f7fb;
}

.gather h2 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 0.95;
}

.gather .eyebrow {
    color: #efe9ff;
}

.gather__lead {
    margin: 1rem 0 0;
    font-size: 1.15rem;
}

.gather address {
    margin-top: 1.25rem;
    font-style: normal;
}

.gather h3 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
}

.gather ul {
    margin: 0 0 1.6rem;
    padding: 0;
    list-style: none;
}

.gather li + li {
    margin-top: 0.45rem;
}

.gather a {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.site-footer {
    background: #0d0d10;
    color: var(--paper);
    padding: 2.5rem var(--header-pad) 2rem;
    display: grid;
    justify-items: start;
    gap: 1rem;
}

.site-footer img {
    width: min(16rem, 70vw);
    height: auto;
    background: #f3f3f5;
    border-radius: 0.8rem;
    padding: 0.55rem 0.7rem;
}

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
}

.site-footer p {
    margin: 0;
    color: rgba(246, 243, 238, 0.62);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .scriptures,
    .calling__grid,
    .engagements__grid,
    .gather,
    .story,
    .photo-grid,
    .gather-panel {
        grid-template-columns: 1fr;
    }

    .photo-grid__wide {
        grid-column: auto;
    }
}

.story {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0.85rem;
    padding: 0.85rem;
    background: #121212;
}

.community-card {
    background: #161616;
    color: #f6f1e6;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 22rem;
}

.community-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 18rem;
}

.community-card div {
    padding: 1.5rem 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.community-card p:last-child {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.upcoming {
    background: #f4efe4;
    color: #171717;
    padding: 1.4rem 1.25rem 1.1rem;
}

.upcoming h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 400;
    letter-spacing: -0.04em;
}

.upcoming ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.upcoming li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: center;
    background: #fff;
    padding: 0.7rem;
    scroll-margin-top: 1.5rem;
}

.date-tile {
    width: 4.2rem;
    height: 4.2rem;
    background: #f3ead7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.date-tile strong {
    font-size: 1.15rem;
    font-weight: 500;
}

.date-tile span {
    margin-top: 0.25rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.upcoming li p {
    margin: 0;
    font-size: 1.05rem;
}

.upcoming li div > span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.88rem;
    font-weight: 300;
    color: #3a3a3a;
}

.photo-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0.85rem;
    padding: 0 0.85rem 0.85rem;
    background: #121212;
}

.photo-grid figure {
    margin: 0;
    position: relative;
    min-height: 18rem;
    overflow: hidden;
}

.photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 18rem;
}

.photo-grid__wide {
    grid-column: 1 / -1;
    min-height: 22rem;
}

.photo-grid figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.2rem 1.2rem 1rem;
    color: #f6f1e6;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
    font-size: 1.05rem;
}

.gather-panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: #171717;
    color: #f6f1e6;
}

.gather-panel > div {
    padding: clamp(2rem, 5vw, 3.5rem) var(--header-pad);
}

.gather-panel h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
}

.gather-panel address {
    margin: 0.8rem 0 1.2rem;
    font-style: normal;
    font-weight: 300;
}

.gather-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gather-panel li + li {
    margin-top: 0.35rem;
}

.gather-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 16rem;
}

@media (max-width: 800px) {
    .community-card,
    .story,
    .photo-grid,
    .gather-panel {
        grid-template-columns: 1fr;
    }
}
