/* =========================================================
   CORBETT ULTIMUS
   LOCATION & CONNECTIVITY
========================================================= */

.cu-location {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #f3f0e7;

    color: #073c34;
}


/* =========================================================
   CONTAINER
========================================================= */

.cu-location__container {
    padding-top: 125px;
    padding-bottom: 125px;
}


/* =========================================================
   HEADER
========================================================= */

.cu-location__header {
    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    align-items: end;

    gap: 60px;

    margin-bottom: 72px;
}


/* =========================================================
   EYEBROW
========================================================= */

.cu-location__eyebrow {
    display: flex;

    align-items: center;

    margin-bottom: 23px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 10px;
    font-weight: 600;

    line-height: 1;

    letter-spacing: .08em;

    text-transform: uppercase;

    color: #073c34;
}


.cu-location__eyebrow::before {
    content: "";

    width: 27px;
    height: 1px;

    margin-right: 11px;

    background: #073c34;
}


/* =========================================================
   TITLE
========================================================= */

.cu-location__title {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(48px, 5.2vw, 76px);

    font-weight: 400;

    line-height: .91;

    letter-spacing: -.045em;

    color: #073c34;
}


.cu-location__title em {
    font-style: normal;

    color: #073c34;
}


/* =========================================================
   MAP BUTTON
========================================================= */

.cu-location__header-action {
    align-self: end;
}


.cu-location__map-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 22px;

    min-width: 184px;

    padding: 14px 20px;

    background: #d8b354;

    border: 1px solid #d8b354;

    color: #073c34;

    font-family: "Space Grotesk", sans-serif;

    font-size: 9px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: .02em;

    text-decoration: none;

    transition:
        background-color .35s ease,
        color .35s ease,
        border-color .35s ease,
        transform .35s ease;
}


.cu-location__map-arrow {
    font-size: 14px;

    line-height: 1;

    transition:
        transform .35s ease;
}


.cu-location__map-btn:hover {
    background: #073c34;

    border-color: #073c34;

    color: #f3f0e7;
}


.cu-location__map-btn:hover
.cu-location__map-arrow {
    transform: translate(3px, -3px);
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.cu-location__content {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, .95fr);

    gap: 50px;

    align-items: start;
}


/* =========================================================
   MAP
========================================================= */

.cu-location__map {
    width: 100%;
}


.cu-location__map-image {
    position: relative;

    width: 100%;

    aspect-ratio: 1.55 / 1;

    overflow: hidden;

    border: 1px solid rgba(7, 60, 52, .18);

    background: #e9e5d9;
}


.cu-location__map-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1s cubic-bezier(.16, 1, .3, 1);
}


.cu-location__map:hover
.cu-location__map-image img {
    transform: scale(1.015);
}


/* =========================================================
   CONNECTIVITY LIST
========================================================= */

.cu-location__list {
    width: 100%;
}


/* =========================================================
   ITEM
========================================================= */

.cu-location__item {
    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    gap: 30px;

    align-items: center;

    min-height: 95px;

    padding: 16px 0;

    border-bottom: 1px solid rgba(7, 60, 52, .18);

    cursor: default;

    transition:
        padding .35s ease,
        border-color .35s ease;
}


.cu-location__item:first-child {
    border-top: 0;
}


.cu-location__item:hover {
    padding-left: 7px;
    padding-right: 7px;

    border-color: rgba(7, 60, 52, .38);
}


/* =========================================================
   ITEM TITLE
========================================================= */

.cu-location__item h3 {
    margin: 0 0 7px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(22px, 2vw, 27px);

    font-weight: 400;

    line-height: 1;

    letter-spacing: -.025em;

    color: #073c34;
}


/* =========================================================
   ITEM DESCRIPTION
========================================================= */

.cu-location__item p {
    margin: 0;

    font-family: "Space Grotesk", sans-serif;

    font-size: 10px;

    line-height: 1.5;

    color: rgba(7, 60, 52, .62);
}


/* =========================================================
   DISTANCE
========================================================= */

.cu-location__distance {
    white-space: nowrap;

    padding-top: 2px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.2;

    color: #073c34;

    text-align: right;
}


/* =========================================================
   REVEAL
========================================================= */

.cu-location-reveal {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity .8s cubic-bezier(.16, 1, .3, 1),
        transform .8s cubic-bezier(.16, 1, .3, 1);
}


.cu-location-reveal.is-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   STAGGER
========================================================= */

.cu-location__item:nth-child(1) {
    transition-delay: .05s;
}

.cu-location__item:nth-child(2) {
    transition-delay: .10s;
}

.cu-location__item:nth-child(3) {
    transition-delay: .15s;
}

.cu-location__item:nth-child(4) {
    transition-delay: .20s;
}

.cu-location__item:nth-child(5) {
    transition-delay: .25s;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .cu-location__container {
        padding-top: 95px;
        padding-bottom: 95px;
    }


    .cu-location__header {
        gap: 35px;

        margin-bottom: 55px;
    }


    .cu-location__content {
        grid-template-columns:
            minmax(0, 1.1fr)
            minmax(0, 1fr);

        gap: 30px;
    }


    .cu-location__item {
        gap: 18px;

        min-height: 90px;
    }


    .cu-location__item h3 {
        font-size: 22px;
    }


    .cu-location__item p {
        font-size: 9px;
    }


    .cu-location__distance {
        font-size: 11px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .cu-location__container {
        padding-top: 72px;
        padding-bottom: 75px;
    }


    /* -----------------------------------------
       HEADER
    ----------------------------------------- */

    .cu-location__header {
        display: block;

        margin-bottom: 45px;
    }


    .cu-location__eyebrow {
        margin-bottom: 18px;
    }


    .cu-location__title {
        font-size: clamp(43px, 11vw, 60px);

        line-height: .94;
    }


    .cu-location__header-action {
        margin-top: 28px;
    }


    .cu-location__map-btn {
        min-width: 175px;
    }


    /* -----------------------------------------
       CONTENT
    ----------------------------------------- */

    .cu-location__content {
        display: block;
    }


    /* -----------------------------------------
       MAP
    ----------------------------------------- */

    .cu-location__map {
        margin-bottom: 45px;
    }


    .cu-location__map-image {
        aspect-ratio: 1.25 / 1;
    }


    /* -----------------------------------------
       LIST
    ----------------------------------------- */

    .cu-location__item {
        grid-template-columns: minmax(0, 1fr) auto;

        gap: 15px;

        min-height: auto;

        padding: 20px 0;
    }


    .cu-location__item:hover {
        padding-left: 0;
        padding-right: 0;
    }


    .cu-location__item h3 {
        font-size: 21px;

        line-height: 1.05;
    }


    .cu-location__item p {
        max-width: 310px;

        font-size: 9px;

        line-height: 1.5;
    }


    .cu-location__distance {
        font-size: 10px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .cu-location__container {
        padding-top: 62px;
        padding-bottom: 65px;
    }


    .cu-location__map-image {
        aspect-ratio: 1 / .82;
    }


    .cu-location__item {
        display: block;

        padding: 19px 0;
    }


    .cu-location__item h3 {
        margin-bottom: 7px;

        font-size: 21px;
    }


    .cu-location__item p {
        max-width: 100%;
    }


    .cu-location__distance {
        margin-top: 12px;

        text-align: left;

        font-size: 10px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cu-location-reveal {
        opacity: 1;

        transform: none;

        transition: none;
    }


    .cu-location__map-image img {
        transition: none;
    }

}