
/* =========================================
   OFFICES — LOCATION
========================================= */

.offices-location {
    width: 100%;
    padding: clamp(70px, 6vw, 110px) 0;

    background: #f3f0e9;
    color: #1f2925;

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

/* MAIN GRID */

.offices-location__container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(45px, 6vw, 110px);

    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding-inline: clamp(24px, 5.5vw, 100px);
}

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

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

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

/* EYEBROW */

.offices-location__eyebrow {
    display: block;

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

/* HEADING */

.offices-location__title {
    margin: 0;
  font-size: 45px;
  font-weight: 100;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-family: "Cormorant Garamond", Georgia, serif;
}

/* DESCRIPTION */

.offices-location__description {
    max-width: 570px;
    margin: 38px 0 0;

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

/* =========================================
   PARKING
========================================= */

.offices-location__parking {
    width: 100%;
    max-width: 570px;

    margin-top: 42px;
    padding-top: 24px;

    border-top: 1px solid rgba(31, 41, 37, 0.14);
}

.offices-location__parking p {
    margin: 0;

    color: #56615a;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
}

/* =========================================
   CTA
========================================= */

.offices-location__link {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    margin-top: 50px;
    padding-bottom: 13px;

    border-bottom: 1px solid currentColor;

    color: #1f2925;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;

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

.offices-location__link svg {
    display: block;
    width: 25px;
    height: 18px;
    flex-shrink: 0;

    transition: transform 0.25s ease;
}

.offices-location__link:hover {
    color: #a97b42;
    border-color: #a97b42;
}

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

.offices-location__link:focus-visible {
    outline: 2px solid #a97b42;
    outline-offset: 5px;
}

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

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

.offices-location__image-wrapper {
    width: 100%;
    aspect-ratio: 1.4 / 1;

    overflow: hidden;
    background: #dedbd4;
}

.offices-location__image {
    display: block;
    width: 100%;
    height: 100%;

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

    transition: transform 0.6s ease;
}

.offices-location__image-wrapper:hover .offices-location__image {
    transform: scale(1.035);
}

/* IMAGE CAPTION */

.offices-location__caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    padding-top: 20px;
}

.offices-location__image-label {
    color: #56615a;

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

.offices-location__address {
    margin: 0;

    color: #1f2925;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(21px, 1.7vw, 28px);
    font-weight: 500;
    font-style: normal;
    line-height: 1.2;
}

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

@media (max-width: 1024px) {

    .offices-location__container {
        gap: 36px;
    }

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

    .offices-location__description {
        margin-top: 28px;
        font-size: 15px;
    }

    .offices-location__parking {
        margin-top: 30px;
        padding-top: 20px;
    }

    .offices-location__parking p {
        font-size: 14px;
    }

    .offices-location__link {
        margin-top: 32px;
    }
}

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

@media (max-width: 740px) {

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

    .offices-location__container {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 42px;

        padding-inline: 20px;
    }

    /* CONTENT */

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

    .offices-location__title {
        margin-top: 22px;
        font-size: clamp(42px, 9vw, 62px);
    }

    .offices-location__description {
        margin-top: 26px;
        font-size: 16px;
    }

    /* PARKING */

    .offices-location__parking {
        margin-top: 32px;
        padding-top: 22px;
    }

    .offices-location__parking p {
        font-size: 15px;
    }

    /* CTA */

    .offices-location__link {
        margin-top: 32px;
        font-size: 15px;
    }

    /* IMAGE */

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

    .offices-location__caption {
        gap: 14px;
        padding-top: 16px;
    }

    .offices-location__image-label {
        font-size: 10px;
    }

    .offices-location__address {
        font-size: 24px;
    }
}

/* =========================================
   SMALL MOBILE — MAX 420PX
========================================= */

@media (max-width: 420px) {

    .offices-location__title {
        font-size: clamp(38px, 10vw, 46px);
    }

    .offices-location__image-wrapper {
        aspect-ratio: 1 / 1;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

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

    .offices-location__image,
    .offices-location__link,
    .offices-location__link svg {
        transition: none;
    }
}
