#lab-prototypage {
    content-visibility: auto;
    contain-intrinsic-size: 120rem;
    padding: var(--srp-section-space) 0;
    color: #fff;
    background: radial-gradient(circle at 82% 12%,rgba(140,114,255,.14),transparent 25%),linear-gradient(135deg,#080810,#151022 58%,#2b1a42);
}

.srp-lab-heading {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(18rem,.55fr);
    gap: 1.2rem 4rem;
    align-items: end;
    margin-bottom: clamp(3.5rem,6vw,6rem);
}

.srp-lab-heading .srp-case-label { grid-column: 1/-1; color: #aeb6ff; }

.srp-lab-heading h2 {
    margin: 0;
    font-size: clamp(3.4rem,6.8vw,7.2rem);
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: .8;
    text-transform: uppercase;
}

.srp-lab-heading h2 i {
    color: inherit;
    font: inherit;
    font-style: normal;
    margin-left: .06em;
}

.srp-lab-heading > p {
    margin: 0;
    color: rgba(255,255,255,.68);
    line-height: 1.6;
}

.srp-lab-heading .srp-project-tags {
    grid-column: 1/-1;
    margin-top: .7rem;
}

.srp-lab-cases {
    display: grid;
    gap: clamp(2rem,4vw,4rem);
}

.srp-lab-case__media { position: relative; overflow: hidden; }

.srp-lab-case__copy h3 {
    text-transform: uppercase;
    text-wrap: balance;
}

.srp-lab-case__secondary {
    position: absolute!important;
    z-index: 4;
    right: 1rem;
    bottom: 1rem;
    width: min(35%,13rem);
    height: 10rem!important;
    min-height: 0!important;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 1rem;
    box-shadow: 0 1rem 2.8rem rgba(0,0,0,.28);
}

.srp-lab-case__secondary img { height: 100%; object-fit: cover; }

.srp-hub-video {
    position: relative;
    height: auto!important;
    min-height: 0!important;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,.1);
    background: #090810;
}

.srp-lab-case--moyeu .srp-model-presentation { height: auto; min-height: 31rem; }
.srp-hub-video video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.srp-hub-video figcaption { right: .8rem; bottom: .8rem; }

.srp-lab-purpose {
    margin-top: clamp(4rem,6vw,6rem);
    padding: 1.6rem 0;
    border-top: 1px solid rgba(174,182,255,.18);
}

.srp-lab-purpose h3 {
    margin: 0;
    font-size: clamp(2rem,3.4vw,3.7rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .95;
}

.srp-lab-purpose > div > p:last-child {
    max-width: 60rem;
    margin: var(--srp-space-3) 0 0;
    color: rgba(255,255,255,.64);
    font-size: var(--srp-text-lead);
}

@media (max-width:63.9375rem) {
    .srp-lab-heading { grid-template-columns: 1fr; }
    .srp-lab-case--reverse .srp-lab-case__media { order: -1; }
}

@media (max-width:47.99rem) {
    #lab-prototypage { padding-block: 4.5rem; }

    .srp-lab-heading {
        margin-bottom: 2.5rem;
    }

    .srp-lab-heading h2 {
        font-size: clamp(2.85rem,12.8vw,4.1rem);
        line-height: .84;
    }

    .srp-lab-heading > p { font-size: .92rem; }

    .srp-lab-case__secondary {
        position: relative!important;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto!important;
        margin-top: .6rem;
    }

    .srp-lab-case--moyeu .srp-model-presentation { min-height: 0; }

    .srp-lab-case__copy h3 {
        font-size: clamp(2rem,9.5vw,3rem);
        letter-spacing: -.055em;
        line-height: .92;
    }
}
@media (max-width:47.99rem) {
    .srp-lab-case__media .srp-model-presentation {
        min-height: 0;
        height: auto;
    }
    .srp-lab-case__media .srp-model-presentation__mobile {
        min-height: 0;
        height: auto;
    }
    .srp-lab-case__media .srp-model-presentation__mobile img {
        height: auto;
        object-fit: contain;
    }
}

/* Stabilise the layout before the graphic section and fix the final purpose block on desktop. */
#lab-prototypage {
    content-visibility: visible;
    contain: none;
    scroll-margin-top: 5.5rem;
}
.srp-lab-purpose {
    display: block;
    grid-template-columns: none;
    margin-top: clamp(4rem,6vw,6rem);
    padding: clamp(1.5rem,3vw,2.5rem);
    border: 1px solid rgba(174,182,255,.16);
    border-radius: 1.25rem;
    background: linear-gradient(135deg,rgba(174,182,255,.07),rgba(255,255,255,.025));
}
.srp-lab-purpose > div { max-width: 64rem; }
.srp-lab-purpose .srp-case-label { margin-bottom: .8rem; color: #aeb6ff; }
.srp-lab-purpose h3 { max-width: 46rem; }
.srp-lab-purpose > div > p:last-child { max-width: 60rem; }
