/* =========================================================
   JOINT VENTURE
   ========================================================= */

.joint-venture {
    padding: clamp(3.5rem, 7vw, 7rem) 0;
}

.joint-venture__layout {
    display: grid;
    grid-template-columns:
        minmax(360px, 0.85fr)
        minmax(0, 1.15fr);
    gap: clamp(4rem, 8vw, 9rem);
    align-items: center;
}


/* =========================================================
   PARTNERSHIP IDENTITY
   ========================================================= */

.joint-venture__identity {
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--color-border);

    background:
        linear-gradient(
            145deg,
            rgba(37, 150, 190, 0.07),
            transparent 55%
        ),
        var(--color-surface);
}


/* =========================================================
   PARTNERS
   ========================================================= */

.venture-partner {
    min-height: 150px;

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

    gap: clamp(1rem, 3vw, 2rem);

    padding: 1.5rem;

    border: 1px solid var(--color-border);

    background:
        rgba(0, 0, 0, 0.08);
}

.venture-partner__name {
    min-width: 0;
}

.venture-partner__name strong {
    display: block;

    color: var(--color-text);

    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    line-height: 1;

    letter-spacing: -0.035em;
}

.venture-partner__name span {
    display: block;

    margin-top: 0.5rem;

    color: var(--color-text-muted);

    font-family: monospace;
    font-size: 0.68rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* =========================================================
   PARTNER LOGOS
   ========================================================= */

.venture-partner__logo {
    display: block;

    width: auto;
    max-width: 100%;
    max-height: 7rem;

    object-fit: contain;
}

.venture-partner__logo--delenda {
    max-width: 13rem;
}

.venture-partner__logo--arctec {
    max-width: 11rem;
}


/* =========================================================
   CONNECTION
   ========================================================= */

.venture-connection {
    display: grid;

    grid-template-columns:
        minmax(20px, 1fr)
        auto
        minmax(20px, 1fr);

    gap: 1rem;

    align-items: center;

    max-width: 280px;

    margin: 1.25rem auto;
}

.venture-connection span {
    height: 1px;

    background: var(--color-border);
}

.venture-connection strong {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid var(--color-primary);

    color: var(--color-primary-bright);

    font-family: monospace;
    font-size: 1rem;
}


/* =========================================================
   CONTENT
   ========================================================= */

.joint-venture__content {
    min-width: 0;

    max-width: 850px;
}

.joint-venture__content h1 {
    margin: 1.25rem 0 2rem;

    font-size: clamp(4rem, 7vw, 7rem);
    line-height: 0.9;

    letter-spacing: -0.06em;
}

.joint-venture__content h1 span {
    display: block;

    color: var(--color-primary-bright);
}

.joint-venture__lead {
    max-width: 760px;

    margin: 0;

    color: var(--color-text);

    font-size: clamp(1.1rem, 1.7vw, 1.4rem);
    line-height: 1.7;
}

.joint-venture__description {
    max-width: 680px;

    margin: 1.5rem 0 0;

    color: var(--color-text-muted);

    font-size: clamp(1rem, 1.3vw, 1.1rem);
    line-height: 1.75;
}


/* =========================================================
   MEDIUM DESKTOP / TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .joint-venture__layout {
        grid-template-columns:
            minmax(300px, 0.8fr)
            minmax(0, 1.2fr);

        gap: 3rem;
    }

    .venture-partner {
        min-height: 130px;
    }

    .joint-venture__content h1 {
        font-size: clamp(3.75rem, 7vw, 5.5rem);
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {

    .joint-venture {
        padding: 3.5rem 0;
    }

    .joint-venture__layout {
        grid-template-columns: 1fr;

        gap: 3.5rem;
    }

    .joint-venture__identity {
        width: 100%;
        max-width: 620px;

        margin: 0 auto;
    }

    .venture-partner {
        min-height: 120px;
    }

    .joint-venture__content {
        max-width: 700px;
    }

    .joint-venture__content h1 {
        font-size: clamp(4rem, 12vw, 6rem);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .joint-venture {
        padding: 2.75rem 0 3.5rem;
    }

    .joint-venture__layout {
        gap: 3rem;
    }

    .joint-venture__identity {
        padding: 1rem;
    }

    .venture-partner {
        min-height: 110px;

        justify-content: flex-start;

        padding: 1.25rem;
    }

    .venture-partner__mark {
        width: 52px;
        height: 52px;
    }

    .venture-partner__name strong {
        font-size: 1.4rem;
    }

    .venture-connection {
        margin: 0.85rem auto;
    }

    .venture-connection strong {
        width: 32px;
        height: 32px;
    }

    .joint-venture__content h1 {
        margin-bottom: 1.5rem;

        font-size: clamp(3.4rem, 16vw, 4.75rem);
    }

    .joint-venture__lead {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .joint-venture__description {
        line-height: 1.7;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .venture-partner {
        gap: 0.8rem;

        padding: 1rem;
    }

    .venture-partner__mark {
        width: 46px;
        height: 46px;
    }

    .venture-partner__name strong {
        font-size: 1.25rem;
    }

    .joint-venture__content h1 {
        font-size: 3.15rem;
    }

}