/* Keep the opening slider compact, with the process steps directly below it. */
.process-overview {
    padding-top: 72px;
    padding-bottom: 72px;
}

.process-overview .process-steps {
    margin-bottom: 0;
}

.process-section {
    padding-top: 72px;
}

.references-section {
    padding-bottom: 105px;
}

.references-section .section-head {
    margin-bottom: 34px;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.reference-card {
    min-width: 0;
}

.reference-visual {
    position: relative;
    height: clamp(230px, 25vw, 340px);
    overflow: hidden;
    border: 1px solid #e7e3dc;
    border-radius: 20px;
    background: #e9e5dc;
}

.reference-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reference-logo {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: grid;
    place-items: center;
    width: min(50%, 190px);
    height: 78px;
    padding: 13px 18px;
    border-radius: 12px;
    background: #fffffff2;
    box-shadow: 0 12px 30px #17171520;
}

.reference-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.reference-visual.logo-only {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f0ede6, #e4dfd4);
}

.logo-only .reference-logo {
    position: static;
    width: min(70%, 260px);
    height: 120px;
    padding: 20px;
}

.reference-details {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
}

.reference-details h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}

.reference-details p {
    margin: 7px 0 0;
    color: #716d65;
    font-size: .88rem;
    line-height: 1.5;
}

.reference-details a {
    display: grid;
    flex: 0 0 38px;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #cbc7bf;
    border-radius: 50%;
    transition: background .2s, color .2s;
}

.reference-details a:hover {
    background: #171715;
    color: #fff;
}

.references-empty {
    margin: 0;
    padding: 65px 24px;
    border: 1px dashed #c9c5bc;
    border-radius: 18px;
    color: #77736c;
    text-align: center;
}

@media (min-width: 681px) {
    .floating-socials-right {
        top: 70%;
    }
}

@media (min-width: 1001px) {
    .project-showcase {
        height: clamp(520px, calc(100svh - 198px), 760px);
        min-height: 520px;
        margin: 0 auto;
    }
}

@media (min-width: 681px) and (max-width: 1000px) {
    .project-showcase {
        height: clamp(520px, calc(100svh - 234px), 680px);
        min-height: 520px;
        margin: 0 auto;
    }
}

@media (min-width: 681px) and (max-width: 1000px) {
    .reference-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .feature-scene .scene-label {
        max-width: 65%;
    }

    .feature-scene .l1 {
        top: 8%;
        left: 5%;
    }

    .feature-scene .l2 {
        top: 20%;
        right: 5%;
    }

    .feature-scene .l3 {
        top: 32%;
        right: 5%;
    }

    .references-section {
        padding-bottom: 70px;
    }

    .reference-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .reference-visual {
        height: 300px;
    }

    .process-overview {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .process-section {
        padding-top: 48px;
    }

    .project-showcase {
        height: clamp(460px, calc(100svh - 196px), 620px);
        min-height: 460px;
        margin: 0;
    }

    .project-copy {
        bottom: 82px;
    }

    .project-copy h2 {
        font-size: clamp(2.45rem, 12vw, 3.2rem);
    }

    .trust-strip {
        grid-template-columns: 1fr 1fr;
        gap: 0 14px;
        padding: 10px 14px;
    }

    .trust-strip > div {
        gap: 10px;
        min-height: 55px;
        padding: 8px 0;
    }

    .trust-strip > div:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .trust-strip b {
        font-size: 1.45rem;
    }

    .trust-strip span {
        font-size: .72rem;
        line-height: 1.25;
    }
}
