/* Keep the live site's broad image opening and alternating process rhythm. */
main.bespoke-page {
    color: var(--bs-body-color);
    overflow-x: visible;
}

.bespoke-content {
    width: 80vw;
    padding-block: 3rem 4rem;
}

.bespoke-page h1,
.bespoke-page h2 {
    color: var(--bs-gray-600);
    line-height: 1.2;
}

.bespoke-page h1 {
    font-size: 3rem;
    margin: 0;
}

.bespoke-page h2 {
    font-size: 2.5rem;
    margin-block: 0 3rem;
}

.bespoke-page p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-block: 0 1rem;
}

.bespoke-hero {
    position: relative;
    display: flex;
    min-height: 80vh;
    isolation: isolate;
    color: white;
}

.bespoke-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: -2;
}

.bespoke-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 25%);
    z-index: -1;
}

.bespoke-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
    min-width: 0;
    padding: 3rem;
}

.bespoke-hero h1 {
    max-width: 48rem;
    color: white;
}

.bespoke-page .bespoke-eyebrow {
    font-family: var(--bs-font-sans-serif);
    font-size: 1.125rem;
    color: white;
    margin-bottom: 1rem;
}

.bespoke-opening-copy {
    margin-top: 3rem;
}

.bespoke-opening-copy,
.bespoke-step-copy {
    min-width: 0;
}

.bespoke-actions {
    --action-gap: 1rem 1.5rem;
    margin-top: 1.5rem;
}

.bespoke-actions > a:not(.btn) {
    padding-block: 0.5rem;
}

.bespoke-process-intro {
    margin-block: 4rem 3rem;
}

.bespoke-process-intro h2 {
    margin-bottom: 1.5rem;
}

.bespoke-process {
    display: grid;
    gap: 4rem;
}

.bespoke-step {
    min-width: 0;
    scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.bespoke-step-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "media copy";
    column-gap: 4vw;
    align-items: start;
}

.bespoke-step:nth-child(even) .bespoke-step-details {
    grid-template-areas: "copy media";
}

.bespoke-step-media {
    grid-area: media;
    min-width: 0;
}

.bespoke-step-copy {
    grid-area: copy;
}

.bespoke-step-media .carousel,
.bespoke-step-media .carousel-inner,
.bespoke-step-media .carousel-item {
    width: 100%;
    aspect-ratio: 3 / 2;
}

.bespoke-step-media .carousel .slide-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bespoke-page video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.bespoke-detail summary {
    width: fit-content;
    max-width: 100%;
    padding-block: 0.5rem;
    margin-top: 1.5rem;
    color: var(--bs-link-color);
    text-underline-offset: 0.2em;
}

.bespoke-detail summary:hover {
    text-decoration: underline;
}

.bespoke-detail[open] summary {
    margin-bottom: 0.75rem;
}

.bespoke-promo {
    padding-top: 15vh;
    margin-block: 3rem;
}

.bespoke-closing {
    margin-block: 3rem 0;
}

.bespoke-closing h2 {
    margin-bottom: 1.5rem;
}

.bespoke-closing .btn {
    margin-top: 1rem;
}

@media (max-width: 991px) {
    .bespoke-content {
        width: 96vw;
        padding-top: 3rem;
    }

    .bespoke-hero {
        min-height: 75svh;
    }

    .bespoke-hero-content {
        padding: 2rem;
    }

    .bespoke-opening-copy,
    .bespoke-process-intro,
    .bespoke-step-heading,
    .bespoke-step-copy,
    .bespoke-closing {
        padding-inline: 1rem;
    }

    .bespoke-step-details,
    .bespoke-step:nth-child(even) .bespoke-step-details {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "media" "copy";
        gap: 2rem;
    }
}

@media (max-width: 575px) {
    .bespoke-page h1 {
        font-size: 2rem;
    }

    .bespoke-page h2 {
        font-size: 1.875rem;
        margin-bottom: 2rem;
    }

    .bespoke-page p {
        font-size: 1.0625rem;
    }

    .bespoke-hero-content {
        padding: 1.5rem;
    }

    .bespoke-opening-copy {
        margin-top: 2.5rem;
    }

    .bespoke-process-intro {
        margin-block: 3rem;
    }

    .bespoke-process {
        gap: 3rem;
    }
}
