/* =========================================
   offices — HERO
========================================= */

.offices-hero {
    --offices-bg: #f3f0e9;
    --offices-text: #1f2925;
    --offices-muted: #56615a;
    --offices-gold: #a97b42;

    width: 100%;
    background: var(--offices-bg);
    color: var(--offices-text);
}

.offices-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 49%) minmax(0, 51%);
    align-items: stretch;

    width: 100%;
    max-width: 1920px;
    min-height: max(640px, calc(100svh - var(--header-height)));

    margin-inline: auto;
    padding: 0px 100px;
}

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

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

    min-width: 0;

    padding-top: 15px;
    padding-bottom: 15px;
}

/* BREADCRUMBS */

.offices-hero__breadcrumbs-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;

    margin: 0;
    padding: 0;
    list-style: none;

    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.offices-hero__breadcrumbs a {
    color: #56615a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.offices-hero__breadcrumbs a:hover {
    color: var(--offices-gold);
}

.offices-hero__breadcrumbs [aria-current="page"] {
    color: var(--offices-text);
}

.offices-hero__separator {
    color: var(--offices-gold);
}

/* MAIN TEXT */

.offices-hero__main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    flex: 1;
    min-width: 0;

    padding-block: 48px 36px;
}

.offices-hero__eyebrow {
    margin: 0 0 28px;
    color: var(--hero-accent);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.offices-hero__title {
    margin: 0;
    color: var(--hero-text);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 60px;
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.offices-hero__description {
    max-width: 600px;
    margin: 42px 0 0;
    color: var(--hero-muted);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.55;
    font-family: "Inter", sans-serif;
}

/* =========================================
   BUTTONS
========================================= */

.offices-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 32px;

    width: 100%;
    margin-top: 46px;
}

.offices-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    min-width: 0;

    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.offices-hero__button svg {
    width: 25px;
    height: 18px;
    flex-shrink: 0;

    transition: transform 0.25s ease;
}

.offices-hero__button:hover svg {
    transform: translateX(5px);
}

/* PRIMARY */

.offices-hero__button--primary {
    min-height: 50px;
    padding: 0 24px;

    background: #1d2724;
    color: #ffffff;
}

.offices-hero__button--primary:hover {
    background: #34423b;
}

/* SECONDARY */

.offices-hero__button--secondary {
    min-height: 50px;

    color: var(--offices-text);
    border-bottom: 1px solid rgba(31, 41, 37, 0.45);
}

.offices-hero__button--secondary:hover {
    color: var(--offices-gold);
}

/* BOTTOM LABEL */

.offices-hero__footer {
    margin-top: auto;

    color: #737e76;

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

/* =========================================
   RIGHT IMAGE
========================================= */

.offices-hero__media {
    position: relative;
    min-width: 0;
    min-height: 560px;

    margin-top: 58px;

    overflow: hidden;
    background: #dedbd4;
}

.offices-hero__image {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

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

/* =========================================
   COMPACT DESKTOP / TABLET
========================================= */
@media (max-width: 1220px) {
    .offices-hero__inner{
        padding: 0px 50px;
    }
}

@media (max-width: 1024px) {
    .offices-hero__inner{
        padding: 0px 24px;
    }
}

@media (max-width: 1200px) {

    .offices-hero__inner {
        grid-template-columns: minmax(0, 48%) minmax(0, 52%);
    }

    .offices-hero__content {
        padding-right: 24px;
    }

    .offices-hero__title {
        font-size: clamp(47px, 5.1vw, 68px);
    }

    .offices-hero__description {
        margin-top: 30px;
        font-size: 17px;
    }

    .offices-hero__actions {
        gap: 14px 24px;
        margin-top: 32px;
    }

    .offices-hero__button--primary {
        padding-inline: 18px;
    }
}

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

@media (max-width: 840px) {

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

        min-height: 0;
    }

    .offices-hero__content {
        padding: 20px 0px 50px 0px;
    }

    .offices-hero__breadcrumbs-list {
        gap: 12px;
        font-size: 11px;
    }

    .offices-hero__main {
        padding: 60px 0 42px;
    }

    .offices-hero__eyebrow {
        font-size: 10px;
        letter-spacing: 0.16em;
    }

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

        font-size: clamp(44px, 10vw, 64px);
        line-height: 0.98;
    }

    .offices-hero__description {
        margin-top: 28px;

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

    .offices-hero__actions {
        flex-direction: column;
        align-items: stretch;

        gap: 14px;
        margin-top: 32px;
    }

    .offices-hero__button--primary,
    .offices-hero__button--secondary {
        width: 100%;
        min-height: 58px;
        justify-content: space-between;
    }

    .offices-hero__button--secondary {
        padding-inline: 4px;
    }

    .offices-hero__footer {
        font-size: 10px;
    }

    .offices-hero__media {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;

        margin-top: 0;
    }
}

@media (max-width: 420px) {

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

    .offices-hero__description {
        font-size: 16px;
    }

    .offices-hero__media {
        aspect-ratio: 1 / 1;
    }
}

@media (prefers-reduced-motion: reduce) {

    .offices-hero__button,
    .offices-hero__button svg {
        transition: none;
    }
}