/* =========================================================
   WHY DEVSID
   ========================================================= */

.why-section {
    background: #f3f3ef;
    color: #090909;
    padding: 105px 0 110px;
    overflow: hidden;
}

.why-container {
    width: calc(100% - 80px);
    max-width: 1240px;
    margin: 0 auto;
}


/* =========================================================
   TOP
   ========================================================= */

.why-top {
    display: grid;
    grid-template-columns: 1.55fr 0.45fr;
    column-gap: 80px;

    position: relative;
}

.why-label {
    grid-column: 1 / -1;

    margin-bottom: 10px;

    font-family: "DM Mono", monospace;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.07em;
    text-transform: uppercase;

    color: #657080;
}

.why-heading {
    grid-column: 1;
}

.why-heading h2 {
    margin: 0;

    font-family: "Manrope", sans-serif;
    font-size: clamp(65px, 6.8vw, 105px);
    line-height: 0.88;
    letter-spacing: -0.075em;
    font-weight: 700;
}

.why-heading h2 span {
    background: linear-gradient(
        45deg,
        #ff914d 0%,
        #a02d37 50%,
        #383838 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


/* =========================================================
   TOP RIGHT COPY
   ========================================================= */

.why-heading-side {
    grid-column: 2;

    align-self: end;

    max-width: 330px;
    padding-bottom: 8px;
}

.why-heading-side p {
    margin: 0;

    font-family: "Manrope", sans-serif;
    font-size: 13px;
    line-height: 1.65;

    color: #657080;
}


/* =========================================================
   CONTENT
   ========================================================= */

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;

    column-gap: 95px;

    margin-top: 72px;
}


/* =========================================================
   LEFT COPY
   ========================================================= */

.why-copy {
    max-width: 540px;
    padding-top: 5px;
}

.why-copy p {
    margin: 0 0 24px;

    font-family: "Manrope", sans-serif;
    font-size: 14px;
    line-height: 1.75;

    color: #657080;
}


/* =========================================================
   VALUES
   ========================================================= */

.why-values {
    border-top: 1px solid #c9c9c5;
}

.why-value {
    display: grid;
    grid-template-columns: 54px 1fr;

    min-height: 103px;

    border-bottom: 1px solid #c9c9c5;

    padding: 25px 0 22px;
}

.why-value-number {
    padding-top: 3px;

    font-family: "DM Mono", monospace;
    font-size: 10px;

    color: #ff914d;
}

.why-value-content h3 {
    margin: 0 0 10px;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -0.035em;
    font-weight: 700;
       background: linear-gradient(
        45deg,
        #ff914d 0%,
        #a02d37 50%,
        #383838 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.why-value-content p {
    margin: 0;

    font-family: "Manrope", sans-serif;
    font-size: 11px;
    line-height: 1.5;

    color: #657080;
}


/* =========================================================
   SUBTLE HOVER
   ========================================================= */

.why-value {
    transition:
        padding-left 0.3s ease,
        background 0.3s ease;
}

.why-value:hover {
    padding-left: 10px;
}


/* =========================================================
   REVEAL
   ========================================================= */

.why-label,
.why-heading,
.why-heading-side,
.why-copy,
.why-values {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

.why-section.is-visible .why-label,
.why-section.is-visible .why-heading,
.why-section.is-visible .why-heading-side,
.why-section.is-visible .why-copy,
.why-section.is-visible .why-values {
    opacity: 1;
    transform: translateY(0);
}

.why-section.is-visible .why-heading-side {
    transition-delay: 0.08s;
}

.why-section.is-visible .why-copy {
    transition-delay: 0.14s;
}

.why-section.is-visible .why-values {
    transition-delay: 0.2s;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {

    .why-section {
        padding: 90px 0;
    }

    .why-container {
        width: calc(100% - 30px);
    }

    .why-top {
        display: block;
    }

    .why-label {
        margin-bottom: 12px;
    }

    .why-heading h2 {
        font-size: clamp(52px, 14vw, 78px);
        line-height: 0.9;
    }

    .why-heading-side {
        max-width: 100%;
        margin-top: 45px;
        padding: 0;
    }

    .why-heading-side p {
        font-size: 13px;
    }


    .why-content {
        grid-template-columns: 1fr;
        gap: 65px;

        margin-top: 65px;
    }

    .why-copy {
        max-width: 100%;
    }

    .why-copy p {
        font-size: 14px;
    }


    .why-value {
        grid-template-columns: 48px 1fr;
        min-height: 100px;
    }

    .why-value:hover {
        padding-left: 0;
    }

    .why-value-content h3 {
        font-size: 18px;
    }

    .why-value-content p {
        font-size: 11px;
    }

}