/* =========================================================
   CEMETERY CHAPEL
   ========================================================= */

.cemetery-chapel-page {
    padding:
        72px 0 96px;

    background:
        linear-gradient(
            180deg,
            #f6f8f7 0,
            #ffffff 430px
        );
}

.cemetery-chapel-shell {
    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    margin:
        0 auto;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.cemetery-chapel-hero {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(240px, .65fr);

    gap: 64px;

    align-items: center;

    margin-bottom: 34px;
}

.cemetery-chapel-hero-copy {
    max-width: 790px;
}

.cemetery-chapel-eyebrow {
    display: block;

    margin-bottom: 13px;

    color: #5d7067;

    font-size: 10px;
    font-weight: 820;

    letter-spacing: .14em;
    text-transform: uppercase;
}

.cemetery-chapel-hero h1 {
    margin: 0;

    color: #18211d;

    font-size:
        clamp(
            40px,
            5.2vw,
            67px
        );

    font-weight: 760;
    line-height: 1.02;

    letter-spacing: -.06em;
}

.cemetery-chapel-hero p {
    max-width: 720px;

    margin:
        24px 0 0;

    color: #68746e;

    font-size: 17px;
    line-height: 1.76;
}

.cemetery-chapel-hero-mark {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 260px;

    padding:
        28px;

    overflow: hidden;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #303b36,
            #171e1a
        );

    box-shadow:
        0 30px 62px rgba(23, 30, 27, .17);
}

.cemetery-chapel-hero-mark::after {
    content: "";

    position: absolute;

    width: 210px;
    height: 210px;

    border:
        1px solid rgba(255, 255, 255, .07);

    border-radius: 50%;
}

.cemetery-chapel-cross {
    position: relative;
    z-index: 1;

    width: 56px;
    height: 82px;

    margin-bottom: 27px;
}

.cemetery-chapel-cross::before,
.cemetery-chapel-cross::after {
    content: "";

    position: absolute;

    left: 50%;

    background:
        linear-gradient(
            180deg,
            #f0f3f1,
            #b9c1bd
        );

    transform: translateX(-50%);
}

.cemetery-chapel-cross::before {
    top: 0;

    width: 7px;
    height: 82px;

    border-radius: 5px;
}

.cemetery-chapel-cross::after {
    top: 24px;

    width: 56px;
    height: 7px;

    border-radius: 5px;
}

.cemetery-chapel-hero-mark > div {
    position: relative;
    z-index: 1;

    text-align: center;
}

.cemetery-chapel-hero-mark strong,
.cemetery-chapel-hero-mark small {
    display: block;
}

.cemetery-chapel-hero-mark strong {
    color: #ffffff;

    font-size: 25px;
    font-weight: 740;

    letter-spacing: -.025em;
}

.cemetery-chapel-hero-mark small {
    margin-top: 4px;

    color: #a3ada8;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .09em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   INTRO
   --------------------------------------------------------- */

.cemetery-chapel-intro {
    display: grid;
    grid-template-columns:
        86px
        minmax(0, 1fr);

    overflow: hidden;

    margin-bottom: 20px;

    border:
        1px solid #dfe5e2;

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 14px 32px rgba(20, 30, 25, .035);
}

.cemetery-chapel-intro-number {
    display: flex;
    justify-content: center;

    padding-top: 27px;

    border-right:
        1px solid #e5e9e7;

    background: #f3f6f4;

    color: #7c8b84;

    font-size: 12px;
    font-weight: 820;

    letter-spacing: .11em;
}

.cemetery-chapel-intro-copy {
    max-width: 900px;

    padding:
        28px 31px;
}

.cemetery-chapel-intro-copy p {
    margin: 0;

    color: #52625a;

    font-size: 16px;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   TIMELINE
   --------------------------------------------------------- */

.cemetery-chapel-timeline {
    margin-top: 20px;

    padding:
        34px 36px 37px;

    border:
        1px solid #dfe6e2;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fafcfb
        );
}

.cemetery-chapel-section-heading {
    margin-bottom: 23px;
}

.cemetery-chapel-section-heading h2 {
    margin: 0;

    color: #28372f;

    font-size:
        clamp(
            26px,
            3vw,
            36px
        );

    font-weight: 730;

    letter-spacing: -.035em;
}

.cemetery-chapel-timeline-grid {
    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 10px;
}

.cemetery-chapel-timeline-grid article {
    min-height: 176px;

    padding:
        21px;

    border:
        1px solid #e0e6e3;

    border-radius: 15px;

    background: #ffffff;
}

.cemetery-chapel-timeline-grid article.is-accent {
    background:
        linear-gradient(
            145deg,
            #edf2ef,
            #f8faf9
        );
}

.cemetery-chapel-timeline-index,
.cemetery-chapel-timeline-year {
    display: block;

    margin-bottom: 14px;

    color: #62766b;

    font-size: 19px;
    font-weight: 780;
}

.cemetery-chapel-timeline-year {
    color: #385d4d;

    font-size: 22px;
}

.cemetery-chapel-timeline-grid h3 {
    margin:
        0 0 9px;

    color: #31463c;

    font-size: 14px;
    font-weight: 730;
    line-height: 1.35;
}

.cemetery-chapel-timeline-grid p {
    margin: 0;

    color: #68766f;

    font-size: 12px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   HISTORY
   --------------------------------------------------------- */

.cemetery-chapel-history {
    display: grid;
    grid-template-columns:
        285px
        minmax(0, 1fr);

    gap: 56px;

    margin-top: 20px;

    padding:
        39px 42px 43px;

    border:
        1px solid #dfe6e2;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 18px 42px rgba(20, 30, 25, .035);
}

.cemetery-chapel-history-aside {
    padding-right: 30px;

    border-right:
        1px solid #e2e7e4;
}

.cemetery-chapel-history-aside h2 {
    margin: 0;

    color: #2a4036;

    font-size: 27px;
    font-weight: 720;
    line-height: 1.13;

    letter-spacing: -.035em;
}

.cemetery-chapel-history-aside p {
    margin:
        15px 0 0;

    color: #748078;

    font-size: 13px;
    line-height: 1.7;
}

.cemetery-chapel-history-content {
    max-width: 760px;
}

.cemetery-chapel-history-content > p {
    margin:
        0 0 20px;

    color: #5d6b64;

    font-size: 15px;
    line-height: 1.85;
}


/* ---------------------------------------------------------
   COMMUNITY
   --------------------------------------------------------- */

.cemetery-chapel-community {
    display: grid;
    grid-template-columns:
        76px
        minmax(0, 1fr);

    gap: 22px;

    align-items: center;

    margin:
        28px 0;

    padding:
        24px 26px;

    border:
        1px solid #dde4e0;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #f5f8f6,
            #fbfcfb
        );
}

.cemetery-chapel-community-symbol {
    display: flex;
    align-items: flex-end;
    justify-content: center;

    gap: 5px;

    width: 70px;
    height: 70px;

    padding-bottom: 17px;

    border:
        1px solid #dbe3df;

    border-radius: 16px;

    background: #ffffff;
}

.cemetery-chapel-community-symbol span {
    display: block;

    width: 11px;

    border-radius:
        8px 8px 3px 3px;

    background: #748d81;
}

.cemetery-chapel-community-symbol span:nth-child(1) {
    height: 24px;
}

.cemetery-chapel-community-symbol span:nth-child(2) {
    height: 35px;
}

.cemetery-chapel-community-symbol span:nth-child(3) {
    height: 28px;
}

.cemetery-chapel-community h3 {
    margin: 0;

    color: #365448;

    font-size: 20px;
    font-weight: 720;

    letter-spacing: -.025em;
}

.cemetery-chapel-community p {
    margin:
        8px 0 0;

    color: #69776f;

    font-size: 13px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   FACTS
   --------------------------------------------------------- */

.cemetery-chapel-facts {
    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 10px;

    margin-top: 20px;
}

.cemetery-chapel-facts article {
    min-height: 155px;

    padding:
        21px 20px;

    border:
        1px solid #e0e6e3;

    border-radius: 15px;

    background: #f9fbfa;
}

.cemetery-chapel-fact-label {
    display: block;

    margin-bottom: 10px;

    color: #7f8f87;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .09em;
    text-transform: uppercase;
}

.cemetery-chapel-facts strong {
    display: block;

    color: #315446;

    font-size: 20px;
    font-weight: 740;
}

.cemetery-chapel-facts p {
    margin:
        9px 0 0;

    color: #707e77;

    font-size: 12px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.cemetery-chapel-footer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    margin-top: 22px;

    padding:
        33px 35px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #25332d,
            #374a41
        );

    color: #ffffff;

    box-shadow:
        0 24px 52px rgba(26, 36, 31, .14);
}

.cemetery-chapel-footer-card
.cemetery-chapel-eyebrow {
    color: #aab9b1;
}

.cemetery-chapel-footer-card h2 {
    max-width: 650px;

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            24px,
            3vw,
            34px
        );

    font-weight: 720;

    letter-spacing: -.035em;
}

.cemetery-chapel-footer-card p {
    max-width: 650px;

    margin:
        10px 0 0;

    color: #d4ddd8;

    font-size: 14px;
    line-height: 1.7;
}

.cemetery-chapel-footer-actions {
    display: flex;

    gap: 9px;

    flex: 0 0 auto;
}

.cemetery-chapel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 47px;

    padding:
        10px 16px;

    border:
        1px solid rgba(255, 255, 255, .18);

    border-radius: 11px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 720;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background-color .15s ease,
        transform .15s ease;
}

.cemetery-chapel-button:hover {
    background:
        rgba(255, 255, 255, .08);

    transform: translateY(-1px);
}

.cemetery-chapel-button--primary {
    background:
        rgba(255, 255, 255, .12);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 950px) {

    .cemetery-chapel-hero {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .cemetery-chapel-hero-mark {
        min-height: 190px;
    }

    .cemetery-chapel-timeline-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .cemetery-chapel-history {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .cemetery-chapel-history-aside {
        padding-right: 0;
        padding-bottom: 25px;

        border-right: 0;
        border-bottom:
            1px solid #e2e7e4;
    }

    .cemetery-chapel-facts {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .cemetery-chapel-footer-card {
        align-items: flex-start;
        flex-direction: column;
    }

}

@media (max-width: 620px) {

    .cemetery-chapel-page {
        padding:
            48px 0 72px;
    }

    .cemetery-chapel-shell {
        width:
            calc(100% - 28px);
    }

    .cemetery-chapel-hero h1 {
        font-size:
            clamp(
                38px,
                12vw,
                50px
            );
    }

    .cemetery-chapel-hero-mark {
        min-height: 165px;
    }

    .cemetery-chapel-intro {
        grid-template-columns:
            58px
            minmax(0, 1fr);
    }

    .cemetery-chapel-intro-copy {
        padding:
            23px 20px;
    }

    .cemetery-chapel-timeline {
        padding:
            25px 20px 27px;
    }

    .cemetery-chapel-timeline-grid {
        grid-template-columns: 1fr;
    }

    .cemetery-chapel-history {
        padding:
            27px 20px 30px;
    }

    .cemetery-chapel-community {
        grid-template-columns: 1fr;
    }

    .cemetery-chapel-facts {
        grid-template-columns: 1fr;
    }

    .cemetery-chapel-footer-card {
        padding:
            27px 22px;
    }

    .cemetery-chapel-footer-actions {
        flex-direction: column;

        width: 100%;
    }

    .cemetery-chapel-button {
        width: 100%;
    }

}
