.service-detail {
    max-width: var(--site-max);
    margin: 0 auto;
    background: #fff;
    color: #171018;
}

.service-hero-detail {
    display: grid;
    grid-template-columns: minmax(360px, .85fr) minmax(0, 1.15fr);
    gap: 28px;
    padding: 34px var(--site-pad);
    border-bottom: 1px solid var(--clean-line);
    background: #fff;
}

.service-hero-copy {
    background: var(--soft-bg);
    border: 1px solid rgba(111, 50, 142, .14);
    padding: 34px;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-hero-copy h1 {
    font: 400 clamp(42px, 4.8vw, 78px)/.96 Georgia, serif;
    letter-spacing: -.045em;
    margin: 0;
    color: #171018;
}

.service-hero-copy .lead {
    margin: 20px 0 0;
    max-width: 720px;
    font-size: 16px;
    line-height: 1.6;
    color: #5d5361;
}

.service-hero-media {
    margin: 0;
    min-height: 430px;
    background: #f3eef7;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.service-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero-media span {
    font: 64px Georgia, serif;
    color: #8f49b6;
}

.service-quick-facts {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(111, 50, 142, .16);
}

.service-quick-facts span {
    border: 1px solid rgba(111, 50, 142, .22);
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    color: #3f2a78;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.service-detail-body {
    display: grid;
    grid-template-columns: minmax(320px, .74fr) minmax(0, 1.26fr);
    gap: 28px;
    padding: 44px var(--site-pad);
    border-bottom: 1px solid var(--clean-line);
}

.service-intro-card {
    position: sticky;
    top: 24px;
    align-self: start;
    background: #fff;
    border: 1px solid rgba(111, 50, 142, .14);
    box-shadow: 0 20px 60px rgba(42, 20, 52, .05);
    padding: 30px;
}

.service-intro-card h2 {
    font: 400 clamp(30px, 3vw, 46px)/1.04 Georgia, serif;
    letter-spacing: -.035em;
    margin: 0 0 18px;
    color: #2a1434;
}

.service-intro-card p:not(.eyebrow) {
    color: #5d5361;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 24px;
}

.service-step-list {
    display: grid;
    gap: 14px;
}

.service-step-list article {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 20px;
    align-items: start;
    border: 1px solid rgba(111, 50, 142, .12);
    background: #fff;
    padding: 22px;
    transition: .24s;
}

.service-step-list article:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(42, 20, 52, .06);
    border-color: rgba(111, 50, 142, .24);
}

.service-step-list span {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--soft-bg);
    color: #3f2a78;
    font-weight: 800;
    font-size: 18px;
}

.service-step-list p {
    margin: 0;
    color: #4f4654;
    font-size: 17px;
    line-height: 1.72;
}

.service-rich-section {
    display: grid;
    grid-template-columns: 230px minmax(0, 850px);
    gap: 46px;
    padding: 42px var(--site-pad);
    border-bottom: 1px solid var(--clean-line);
    background: var(--soft-bg);
}

.service-rich-section > .eyebrow {
    margin-top: 6px;
}

.service-rich-text {
    color: #4f4654;
    font-size: 17px;
    line-height: 1.85;
}

.service-rich-text > *:first-child {
    margin-top: 0;
}

.service-rich-text > *:last-child {
    margin-bottom: 0;
}

.service-rich-text h1,
.service-rich-text h2,
.service-rich-text h3 {
    font-family: Georgia, serif;
    font-weight: 400;
    color: #2a1434;
    line-height: 1.1;
}

.service-rich-text img,
.service-rich-text script,
.service-rich-text style,
.service-rich-text form {
    display: none;
}

.service-bottom-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 34px var(--site-pad) 64px;
    background: #fff;
}

@media (max-width: 1000px) {
    .service-hero-detail,
    .service-detail-body,
    .service-rich-section {
        grid-template-columns: 1fr;
    }

    .service-hero-copy,
    .service-hero-media {
        min-height: 0;
    }

    .service-hero-media img {
        aspect-ratio: 16 / 10;
        height: auto;
    }

    .service-intro-card {
        position: static;
    }

    .service-rich-section {
        gap: 8px;
    }

    .service-bottom-nav {
        display: block;
    }

    .service-bottom-nav .button {
        width: 100%;
        margin-bottom: 18px;
    }
}

@media (max-width: 640px) {
    .service-hero-detail {
        padding: 24px 18px;
    }

    .service-hero-copy {
        padding: 24px;
    }

    .service-hero-copy h1 {
        font-size: 40px;
    }

    .service-detail-body,
    .service-rich-section {
        padding: 34px 18px;
    }

    .service-step-list article {
        grid-template-columns: 50px 1fr;
        padding: 16px;
        gap: 14px;
    }

    .service-step-list span {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .service-step-list p {
        font-size: 15px;
        line-height: 1.62;
    }

    .service-bottom-nav {
        padding: 28px 18px 44px;
    }
}
