
/* =========================================
   OFFICES — CHARACTER & FUNCTIONALITY
========================================= */

.offices-character {
    width: 100%;
    padding: clamp(75px, 6vw, 115px) 0;

    background: #202022;
    color: #f7f4ee;

    scroll-margin-top: var(--header-height);
}

/* MAIN CONTAINER */

.offices-character__container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(50px, 6vw, 110px);

    width: 100%;
    max-width: 1920px;
    margin: 0 auto;

    padding-inline: clamp(24px, 5.5vw, 100px);
}

/* =========================================
   LEFT — IMAGE
========================================= */

.offices-character__media {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.offices-character__image-wrapper {
    width: 100%;
    aspect-ratio: 1.1 / 1;

    overflow: hidden;
    background: #29332f;
}

.offices-character__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

/* IMAGE CAPTION */

.offices-character__caption {
    margin-top: 20px;

    color: #d1a45f;

    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* =========================================
   RIGHT — CONTENT
========================================= */

.offices-character__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: 100%;
    min-width: 0;
}

/* EYEBROW */

.offices-character__eyebrow {
    display: block;

    color: #d1a45f;

    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

/* TITLE */

.offices-character__title {

    color: #f7f4ee;
    margin: 0;
    font-size: 45px;
    font-weight: 100;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-family: "Cormorant Garamond", Georgia, serif;
}

/* =========================================
   FEATURES LIST
========================================= */

.offices-character__features {
    display: flex;
    flex-direction: column;

    width: 100%;
    margin: 44px 0 0;
    padding: 0;

    list-style: none;
}

.offices-character__feature {
    width: 100%;
    padding: 24px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.offices-character__feature:last-child {
    padding-bottom: 0;
}

/* FEATURE TITLE */

.offices-character__feature-title {
    margin: 0;

    color: #f7f4ee;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.15;
}

/* FEATURE DESCRIPTION */

.offices-character__feature-description {
    max-width: 540px;
    margin: 12px 0 0;

    color: #d8ded9;

    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

/* =========================================
   TABLET — MAX 1024PX
========================================= */

@media (max-width: 1024px) {

    .offices-character__container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 36px;
    }

    .offices-character__title {
        font-size: clamp(39px, 5vw, 58px);
    }

    .offices-character__features {
        margin-top: 30px;
    }

    .offices-character__feature {
        padding: 18px 0;
    }

    .offices-character__feature-title {
        font-size: 26px;
    }

    .offices-character__feature-description {
        margin-top: 9px;
        font-size: 14px;
    }
}

/* =========================================
   MOBILE — MAX 740PX
========================================= */

@media (max-width: 740px) {

    .offices-character {
        padding: 64px 0;
    }

    .offices-character__container {
        grid-template-columns: 1fr;
        gap: 42px;

        padding-inline: 20px;
    }

    /* IMAGE */

    .offices-character__image-wrapper {
        aspect-ratio: 4 / 3;
    }

    .offices-character__caption {
        margin-top: 14px;
        font-size: 10px;
    }

    /* CONTENT */

    .offices-character__eyebrow {
        font-size: 11px;
    }

    .offices-character__title {
        margin-top: 22px;

        font-size: clamp(43px, 9vw, 62px);
        line-height: 1;
    }

    .offices-character__features {
        margin-top: 34px;
    }

    .offices-character__feature {
        padding: 22px 0;
    }

    .offices-character__feature-title {
        font-size: 29px;
    }

    .offices-character__feature-description {
        margin-top: 10px;

        font-size: 15px;
        line-height: 1.65;
    }
}

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

@media (max-width: 420px) {

    .offices-character__title {
        font-size: clamp(40px, 10vw, 48px);
    }

    .offices-character__feature-title {
        font-size: 27px;
    }
}
