/* ==========================================================
   WHOLISTIC CARE PROFESSIONALS
   OUR HOMES / PLACES
========================================================== */


/* ==========================================================
   HERO
========================================================== */

.places-hero {
    position: relative;
    overflow: hidden;

    padding: 160px 5% 110px;

    background:
        linear-gradient(
            135deg,
            #fafaf7 0%,
            #f5f8fa 48%,
            #edf6fa 100%
        );
}


.places-hero *,
.places-intro *,
.places-properties *,
.places-principles *,
.places-image-break *,
.places-referral * {
    box-sizing: border-box;
}


.places-hero-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 85px;
}


.places-page-index {
    color: var(--wcp-muted);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .12em;
    text-transform: uppercase;
}


.places-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(300px, .6fr);

    gap: 80px;

    align-items: end;
}


.places-hero h1 {
    max-width: 1000px;

    margin: 0;

    color: var(--wcp-forest-deep);

    font-size:
        clamp(68px, 8vw, 120px);

    line-height: .87;

    letter-spacing: -.075em;

    font-weight: 600;
}


.places-hero h1 em {
    display: block;

    color: var(--wcp-sage);

    font-weight: 400;
}


.places-hero-copy {
    max-width: 430px;

    padding-bottom: 8px;
}


.places-hero-copy p {
    margin: 0 0 30px;

    color: var(--wcp-muted);

    font-size: 16px;
    line-height: 1.7;
}


.places-scroll-link {
    display: inline-flex;
    align-items: center;

    gap: 24px;

    color: var(--wcp-forest) !important;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none !important;
}


.places-scroll-link span {
    width: 35px;
    height: 35px;

    display: grid;
    place-items:     center;

    border:
        1px solid rgba(7,29,85,.12);

    border-radius: 50%;

    transition:
        transform .25s ease,
        background .25s ease;
}


.places-scroll-link:hover span {
    transform: translateY(4px);

    background:
        rgba(47,164,215,.08);
}


/* HERO DECORATION */

.places-orbit {
    position: absolute;

    border:
        1px solid rgba(47,164,215,.11);

    border-radius: 50%;

    pointer-events: none;
}


.places-orbit-one {
    width: 580px;
    height: 580px;

    right: -310px;
    top: -220px;

    box-shadow:
        0 0 0 90px rgba(47,164,215,.022),
        0 0 0 180px rgba(47,164,215,.014);
}


.places-orbit-two {
    width: 160px;
    height: 160px;

    left: -90px;
    bottom: -70px;
}


/* ==========================================================
   INTRODUCTION
========================================================== */

.places-intro {
    padding:
        135px 5%;

    background: #ffffff;

    scroll-margin-top: 110px;
}


.places-intro-heading {
    display: grid;

    grid-template-columns:
        minmax(200px,.35fr)
        minmax(0,1.65fr);

    gap: 80px;

    margin-bottom: 75px;
}


.places-intro-heading h2 {
    max-width: 900px;

    margin:
        0 0 28px;

    color:
        var(--wcp-forest-deep);

    font-size:
        clamp(52px,5.8vw,88px);

    line-height: .95;

    letter-spacing: -.065em;

    font-weight: 600;
}


.places-intro-heading h2 em {
    display: block;

    color:
        var(--wcp-sage);

    font-weight: 400;
}


.places-intro-heading p {
    max-width: 650px;

    margin: 0;

    color:
        var(--wcp-muted);

    font-size: 15px;

    line-height: 1.75;
}


/* ==========================================================
   PROPERTY COLLAGE
========================================================== */

.places-collage {
    display: grid;

    grid-template-columns:
        minmax(0,1.35fr)
        minmax(300px,.65fr);

    grid-template-rows:
        360px 360px;

    gap: 18px;
}


.places-collage figure {
    margin: 0;
}


.places-collage-main {
    position: relative;

    grid-row:
        1 / 3;

    overflow: hidden;

    border-radius: 30px;

    background:
        var(--wcp-forest-deep);
}


.places-collage-main > img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 1s ease;
}


.places-collage-main:hover > img {
    transform:
        scale(1.035);
}


.places-collage-main::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(7,29,85,.68),
            transparent 55%
        );
}


.places-collage-main figcaption {
    position: absolute;

    z-index: 2;

    left: 35px;
    right: 35px;
    bottom: 35px;

    color: white;
}


.places-collage-main figcaption span {
    display: block;

    margin-bottom: 8px;

    color:
        rgba(255,255,255,.55);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.places-collage-main figcaption strong {
    display: block;

    max-width: 600px;

    font-size:
        clamp(35px,4vw,60px);

    line-height: .98;

    letter-spacing: -.045em;

    font-weight: 500;
}


/* SECOND IMAGE */

.places-collage-small {
    position: relative;

    overflow: hidden;

    border-radius: 27px;
}


.places-collage-small img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .8s ease;
}


.places-collage-small:hover img {
    transform:
        scale(1.04);
}


/* MESSAGE */

.places-collage-message {
    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 32px;

    overflow: hidden;

    border-radius: 27px;

    background:
        var(--wcp-forest-deep);

    color: white;
}


.places-collage-message > span {
    color:
        var(--wcp-sage);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.places-collage-message p {
    position: relative;

    z-index: 2;

    max-width: 350px;

    margin: auto 0 0;

    color: white;

    font-size:
        clamp(27px,2.8vw,40px);

    line-height: 1.06;

    letter-spacing: -.04em;
}


.places-collage-mark {
    position: absolute;

    width: 100px;
    height: 100px;

    display: grid;

    place-items: center;

    right: -20px;
    top: 45px;

    border:
        1px solid rgba(47,164,215,.16);

    border-radius: 50%;

    color:
        rgba(47,164,215,.45);

    font-size: 26px;
}


/* ==========================================================
   PROPERTIES
========================================================== */

.places-properties {
    padding:
        140px 5%;

    background:
        var(--wcp-forest-deep);

    color: white;
}


.places-properties-heading {
    display: grid;

    grid-template-columns:
        minmax(0,1.2fr)
        minmax(280px,.55fr);

    gap: 80px;

    align-items: end;

    margin-bottom: 85px;
}


.places-light-label {
    color:
        rgba(255,255,255,.52);
}


.places-light-label span {
    background:
        var(--wcp-sage);
}


.places-properties-heading h2 {
    margin: 0;

    color: white;

    font-size:
        clamp(52px,5.8vw,88px);

    line-height: .94;

    letter-spacing: -.065em;

    font-weight: 600;
}


.places-properties-heading h2 em {
    display: block;

    color:
        var(--wcp-sage);

    font-weight: 400;
}


.places-properties-heading > p {
    max-width: 430px;

    margin: 0;

    color:
        rgba(255,255,255,.5);

    font-size: 14px;

    line-height: 1.7;
}


/* PROPERTY ROW */

.places-property {
    position: relative;

    display: grid;

    grid-template-columns:
        90px
        minmax(250px,.8fr)
        minmax(300px,.65fr);

    gap: 45px;

    align-items: center;

    min-height: 260px;

    border-top:
        1px solid rgba(255,255,255,.1);

    transition:
        padding .3s ease,
        background .3s ease;
}


.places-property:last-child {
    border-bottom:
        1px solid rgba(255,255,255,.1);
}


.places-property:hover {
    padding:
        0 25px;

    background:
        rgba(255,255,255,.025);
}


.places-property-number {
    width: 47px;
    height: 47px;

    display: grid;

    place-items: center;

    border:
        1px solid rgba(255,255,255,.15);

    border-radius: 50%;

    color:
        rgba(255,255,255,.5);

    font-size: 9px;

    font-weight: 700;
}


.places-property-title > span {
    display: block;

    margin-bottom: 9px;

    color:
        var(--wcp-sage);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.places-property-title h3 {
    margin: 0;

    color: white;

    font-size:
        clamp(37px,4vw,60px);

    line-height: .95;

    letter-spacing: -.05em;

    font-weight: 500;
}


.places-property-copy {
    max-width: 470px;
}


.places-property-copy p {
    margin:
        0 0 20px;

    color:
        rgba(255,255,255,.48);

    font-size: 12px;

    line-height: 1.65;
}


.places-property-copy a {
    display: inline-flex;

    align-items: center;

    gap: 17px;

    color: white !important;

    font-size: 10px;

    font-weight: 700;

    text-decoration: none !important;
}


.places-property-copy a span {
    color:
        var(--wcp-sage);

    transition:
        transform .25s ease;
}


.places-property-copy a:hover span {
    transform:
        translate(3px,-3px);
}


/* ==========================================================
   PRINCIPLES
========================================================== */

.places-principles {
    padding:
        145px 5%;

    background: #ffffff;
}


.places-principles-heading {
    max-width: 900px;

    margin-bottom: 75px;
}


.places-principles-heading h2 {
    margin: 0;

    color:
        var(--wcp-forest-deep);

    font-size:
        clamp(52px,5.8vw,88px);

    line-height: .95;

    letter-spacing: -.065em;

    font-weight: 600;
}


.places-principles-heading h2 em {
    display: block;

    color:
        var(--wcp-sage);

    font-weight: 400;
}


.places-principles-grid {
    display: grid;

    grid-template-columns:
        1.2fr .8fr .8fr;

    grid-template-rows:
        330px 330px;

    gap: 16px;
}


.places-principle {
    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    overflow: hidden;

    padding: 30px;

    border:
        1px solid rgba(7,29,85,.07);

    border-radius: 26px;

    background:
        #f5f6f7;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.places-principle:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 20px 50px
        rgba(7,29,85,.07);
}


.places-principle-featured {
    grid-row:
        1 / 3;

    padding: 40px;

    background:
        var(--wcp-forest-deep);

    border-color:
        var(--wcp-forest-deep);
}


.places-principle-blue {
    grid-column:
        2 / 4;

    background:
        #e8f5fb;
}


.places-principle-number {
    position: absolute;

    top: 27px;
    right: 28px;

    color:
        rgba(7,29,85,.28);

    font-size: 9px;

    font-weight: 700;
}


.places-principle-featured
.places-principle-number {
    color:
        rgba(255,255,255,.4);
}


.places-principle-label {
    display: block;

    margin-bottom: 10px;

    color:
        var(--wcp-sage);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.places-principle h3 {
    max-width: 390px;

    margin:
        0 0 13px;

    color:
        var(--wcp-forest-deep);

    font-size:
        clamp(25px,2.5vw,37px);

    line-height: 1.03;

    letter-spacing: -.04em;

    font-weight: 550;
}


.places-principle h3 em {
    display: block;

    color:
        var(--wcp-sage);

    font-weight: 400;
}


.places-principle-featured h3 {
    max-width: 520px;

    color: white;

    font-size:
        clamp(40px,4.3vw,64px);
}


.places-principle p {
    max-width: 390px;

    margin: 0;

    color:
        var(--wcp-muted);

    font-size: 11px;

    line-height: 1.6;
}


.places-principle-featured p {
    max-width: 480px;

    color:
        rgba(255,255,255,.52);

    font-size: 13px;
}


/* ==========================================================
   IMAGE BREAK
========================================================== */

.places-image-break {
    padding:
        20px 5% 145px;

    background: #ffffff;
}


.places-image-break-frame {
    position: relative;

    min-height: 700px;

    overflow: hidden;

    border-radius: 32px;

    background:
        var(--wcp-forest-deep);
}


.places-image-break-frame > img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;

    transition:
        transform 1s ease;
}


.places-image-break-frame:hover > img {
    transform:
        scale(1.025);
}


.places-image-break-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7,29,85,.72),
            rgba(7,29,85,.15) 70%
        );
}


.places-image-break-copy {
    position: absolute;

    z-index: 2;

    left: 50px;
    bottom: 50px;

    max-width: 760px;
}


.places-image-break-copy > span {
    display: block;

    margin-bottom: 14px;

    color:
        rgba(255,255,255,.58);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.places-image-break-copy h2 {
    margin: 0;

    color: white;

    font-size:
        clamp(52px,6vw,90px);

    line-height: .9;

    letter-spacing: -.065em;

    font-weight: 600;
}


.places-image-break-copy h2 em {
    display: block;

    color:
        var(--wcp-sage);

    font-weight: 400;
}


/* ==========================================================
   REFERRAL CTA
========================================================== */

.places-referral {
    padding:
        20px 5% 30px;

    background: #ffffff;
}


.places-referral-shell {
    position: relative;

    min-height: 600px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    overflow: hidden;

    padding: 48px;

    border-radius: 32px;

    background:
        linear-gradient(
            135deg,
            var(--wcp-forest-deep),
            var(--wcp-forest)
        );

    color: white;
}


.places-referral-shell::after {
    content: "";

    position: absolute;

    width: 560px;
    height: 560px;

    right: -230px;
    top: -280px;

    border:
        1px solid rgba(47,164,215,.15);

    border-radius: 50%;

    box-shadow:
        0 0 0 90px rgba(47,164,215,.025),
        0 0 0 180px rgba(47,164,215,.018);
}


.places-referral-top {
    position: relative;

    z-index: 2;

    display: flex;

    justify-content: space-between;

    gap: 30px;
}


.places-referral-top > span {
    color:
        rgba(255,255,255,.4);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.places-referral-content {
    position: relative;

    z-index: 2;

    max-width: 920px;
}


.places-referral-content h2 {
    max-width: 850px;

    margin:
        0 0 28px;

    color: white;

    font-size:
        clamp(58px,7vw,102px);

    line-height: .89;

    letter-spacing: -.07em;

    font-weight: 600;
}


.places-referral-content h2 em {
    display: block;

    color:
        var(--wcp-sage);

    font-weight: 400;
}


.places-referral-content > p {
    max-width: 560px;

    margin:
        0 0 35px;

    color:
        rgba(255,255,255,.58);

    font-size: 14px;

    line-height: 1.7;
}


.places-referral-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


/* ==========================================================
   RESPONSIVE — TABLET
========================================================== */

@media (max-width: 950px) {

    /* HERO */

    .places-hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .places-hero-copy {
        max-width: 650px;
    }


    /* INTRO */

    .places-intro-heading {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    /* COLLAGE */

    .places-collage {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 600px 350px;
    }

    .places-collage-main {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .places-collage-small {
        grid-column: 1;
        grid-row: 2;
    }

    .places-collage-message {
        grid-column: 2;
        grid-row: 2;
    }


    /* PROPERTY HEADING */

    .places-properties-heading {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    /* PROPERTY ROWS */

    .places-property {
        grid-template-columns:
            70px 1fr;

        gap: 30px;

        padding:
            40px 0;
    }

    .places-property-copy {
        grid-column: 2;
    }


    /* PRINCIPLES */

    .places-principles-grid {
        grid-template-columns:
            1fr 1fr;

        grid-template-rows: auto;
    }

    .places-principle-featured {
        grid-column:
            1 / 3;

        grid-row: auto;

        min-height: 550px;
    }

    .places-principle {
        min-height: 330px;
    }

    .places-principle-blue {
        grid-column:
            1 / 3;
    }

}


/* ==========================================================
   RESPONSIVE — MOBILE
========================================================== */

@media (max-width: 650px) {

    /* HERO */

    .places-hero {
        padding:
            125px 18px 80px;
    }

    .places-hero-meta {
        margin-bottom: 55px;
    }

    .places-page-index {
        display: none;
    }

    .places-hero h1 {
        font-size:
            clamp(58px, 17vw, 80px);
    }


    /* INTRO */

    .places-intro {
        padding:
            90px 18px;
    }

    .places-intro-heading {
        margin-bottom: 50px;
    }

    .places-intro-heading h2 {
        font-size:
            clamp(46px, 14vw, 64px);
    }


    /* COLLAGE */

    .places-collage {
        display: flex;
        flex-direction: column;

        gap: 14px;
    }

    .places-collage-main {
        min-height: 560px;

        border-radius: 24px;
    }

    .places-collage-main figcaption {
        left: 25px;
        right: 25px;
        bottom: 25px;
    }

    .places-collage-main figcaption strong {
        font-size:
            clamp(34px, 11vw, 48px);
    }

    .places-collage-small {
        min-height: 360px;

        border-radius: 23px;
    }

    .places-collage-message {
        min-height: 360px;

        padding: 27px;

        border-radius: 23px;
    }


    /* PROPERTIES */

    .places-properties {
        padding:
            90px 18px;
    }

    .places-properties-heading {
        margin-bottom: 55px;
    }

    .places-properties-heading h2 {
        font-size:
            clamp(46px, 14vw, 64px);
    }

    .places-property {
        display: flex;
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;

        min-height: 0;

        padding:
            45px 0;
    }

    .places-property:hover {
        padding:
            45px 15px;
    }

    .places-property-title h3 {
        font-size:
            clamp(39px, 12vw, 55px);
    }


    /* PRINCIPLES */

    .places-principles {
        padding:
            90px 18px;
    }

    .places-principles-heading {
        margin-bottom: 50px;
    }

    .places-principles-heading h2 {
        font-size:
            clamp(46px, 14vw, 64px);
    }

    .places-principles-grid {
        display: flex;
        flex-direction: column;

        gap: 13px;
    }

    .places-principle,
    .places-principle-featured,
    .places-principle-blue {
        min-height: 360px;

        padding: 27px;

        border-radius: 23px;
    }

    .places-principle-featured {
        min-height: 520px;
    }

    .places-principle-featured h3 {
        font-size:
            clamp(39px, 12vw, 55px);
    }


    /* IMAGE BREAK */

    .places-image-break {
        padding:
            10px 18px 90px;
    }

    .places-image-break-frame {
        min-height: 600px;

        border-radius: 24px;
    }

    .places-image-break-overlay {
        background:
            linear-gradient(
                to top,
                rgba(7,29,85,.76),
                rgba(7,29,85,.08) 70%
            );
    }

    .places-image-break-copy {
        left: 27px;
        right: 27px;
        bottom: 30px;
    }

    .places-image-break-copy h2 {
        font-size:
            clamp(47px, 14vw, 66px);
    }


    /* REFERRAL */

    .places-referral {
        padding:
            10px 18px 20px;
    }

    .places-referral-shell {
        min-height: 680px;

        padding: 30px;

        border-radius: 24px;
    }

    .places-referral-top > span {
        display: none;
    }

    .places-referral-content h2 {
        font-size:
            clamp(50px, 15vw, 70px);
    }

    .places-referral-actions {
        flex-direction: column;
    }

    .places-referral-actions
    .wcp-final-primary,
    .places-referral-actions
    .wcp-final-secondary {
        width: 100%;

        justify-content:
            space-between;
    }

}


/* ==========================================================
   ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .places-collage-main > img,
    .places-collage-small img,
    .places-image-break-frame > img,
    .places-scroll-link span,
    .places-property,
    .places-principle {
        transition: none;
    }

}

/* ==========================================================
   INSIDE OUR HOMES GALLERY
========================================================== */

.places-gallery {
    padding: 145px 5%;
    background: #f4f7f9;
}

.places-gallery *,
.places-gallery *::before,
.places-gallery *::after {
    box-sizing: border-box;
}


/* HEADING */

.places-gallery-heading {
    display: grid;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(300px, .55fr);

    gap: 80px;
    align-items: end;

    margin-bottom: 70px;
}

.places-gallery-heading h2 {
    max-width: 850px;
    margin: 0;

    color: var(--wcp-forest-deep);

    font-size:
        clamp(52px, 5.8vw, 88px);

    line-height: .94;
    letter-spacing: -.065em;
    font-weight: 600;
}

.places-gallery-heading h2 em {
    display: block;
    color: var(--wcp-sage);
    font-weight: 400;
}

.places-gallery-intro {
    max-width: 430px;
}

.places-gallery-intro p {
    margin: 0 0 18px;

    color: var(--wcp-muted);

    font-size: 14px;
    line-height: 1.7;
}

.places-gallery-intro > span {
    color: var(--wcp-sage);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .11em;
    text-transform: uppercase;
}


/* MAIN GALLERY */

.places-gallery-grid {
    display: grid;

    grid-template-columns:
        1.2fr .8fr .8fr;

    grid-template-rows:
        330px 330px 360px;

    gap: 14px;
}

.places-gallery-item {
    position: relative;

    margin: 0;
    overflow: hidden;

    border-radius: 24px;
    background: var(--wcp-forest-deep);
}

.places-gallery-item img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    transition:
        transform .8s cubic-bezier(.2,.7,.2,1);
}

.places-gallery-item:hover img {
    transform: scale(1.035);
}

.places-gallery-item::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(7,29,85,.62),
            transparent 55%
        );

    pointer-events: none;
}

.places-gallery-item figcaption {
    position: absolute;
    z-index: 2;

    left: 24px;
    right: 24px;
    bottom: 23px;

    color: white;
}

.places-gallery-item figcaption span {
    display: block;

    margin-bottom: 6px;

    color: rgba(255,255,255,.6);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .11em;
    text-transform: uppercase;
}

.places-gallery-item figcaption strong {
    display: block;

    max-width: 420px;

    font-size:
        clamp(18px, 2vw, 28px);

    line-height: 1.08;
    letter-spacing: -.03em;
    font-weight: 500;
}


/* GRID SHAPES */

.places-gallery-feature {
    grid-row: 1 / 3;
}

.places-gallery-kitchen {
    grid-column: 2;
    grid-row: 1;
}

.places-gallery-lounge {
    grid-column: 3;
    grid-row: 1;
}

.places-gallery-bedroom {
    min-height: 0;
}

.places-gallery-wide {
    grid-column: 2 / 4;
    grid-row: 3;
}

.places-gallery-feature figcaption strong {
    max-width: 500px;

    font-size:
        clamp(34px, 4vw, 56px);
}


/* SECONDARY STRIP */

.places-gallery-secondary {
    display: grid;

    grid-template-columns:
        .75fr 1fr 1fr;

    gap: 14px;

    margin-top: 14px;
}

.places-gallery-secondary-copy,
.places-gallery-secondary figure {
    min-height: 280px;

    margin: 0;

    border-radius: 24px;
}

.places-gallery-secondary-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 28px;

    background: var(--wcp-forest-deep);
}

.places-gallery-secondary-copy > span {
    color: var(--wcp-sage);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .11em;
    text-transform: uppercase;
}

.places-gallery-secondary-copy p {
    max-width: 300px;

    margin: 0;

    color: white;

    font-size:
        clamp(23px, 2.5vw, 34px);

    line-height: 1.08;
    letter-spacing: -.035em;
}

.places-gallery-secondary figure {
    overflow: hidden;
}

.places-gallery-secondary img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    transition: transform .8s ease;
}

.places-gallery-secondary figure:hover img {
    transform: scale(1.035);
}


/* TABLET */

@media (max-width: 950px) {

    .places-gallery-heading {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .places-gallery-grid {
        grid-template-columns:
            1fr 1fr;

        grid-template-rows:
            550px 320px 320px 350px;
    }

    .places-gallery-feature {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .places-gallery-kitchen {
        grid-column: 1;
        grid-row: 2;
    }

    .places-gallery-lounge {
        grid-column: 2;
        grid-row: 2;
    }

    .places-gallery-wide {
        grid-column: 1 / 3;
        grid-row: 4;
    }

    .places-gallery-secondary {
        grid-template-columns:
            1fr 1fr;
    }

    .places-gallery-secondary-copy {
        grid-column: 1 / 3;
        min-height: 230px;
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .places-gallery {
        padding:
            90px 18px;
    }

    .places-gallery-heading {
        margin-bottom: 50px;
    }

    .places-gallery-heading h2 {
        font-size:
            clamp(46px, 14vw, 64px);
    }

    .places-gallery-grid {
        display: flex;
        flex-direction: column;

        gap: 12px;
    }

    .places-gallery-item,
    .places-gallery-feature,
    .places-gallery-wide {
        min-height: 380px;

        border-radius: 22px;
    }

    .places-gallery-feature {
        min-height: 530px;
    }

    .places-gallery-wide {
        min-height: 420px;
    }

    .places-gallery-secondary {
        display: flex;
        flex-direction: column;

        gap: 12px;

        margin-top: 12px;
    }

    .places-gallery-secondary-copy {
        min-height: 260px;
    }

    .places-gallery-secondary figure {
        min-height: 380px;
    }

}

/* ==========================================================
   OUR HOMES — MOBILE FINAL POLISH
========================================================== */

@media (max-width: 650px) {

    /* ------------------------------------------------------
       HERO
    ------------------------------------------------------ */

    .places-hero {
        min-height: auto;

        padding:
            125px 18px 75px;
    }


    .places-hero h1 {
        font-size:
            clamp(52px, 15vw, 68px);

        line-height: .91;

        letter-spacing: -.06em;
    }


    .places-hero-copy {
        margin-top: 28px;
    }


    .places-hero-copy p {
        font-size: 14px;

        line-height: 1.7;
    }


    /* ------------------------------------------------------
       INTRO
    ------------------------------------------------------ */

    .places-intro {
        padding:
            80px 18px;
    }


    .places-intro-grid {
        gap: 35px;
    }


    .places-intro h2 {
        font-size:
            clamp(47px, 13vw, 62px);

        line-height: .94;
    }


    /* Remove desktop minimum heights */

    .places-intro-content,
    .places-intro-copy {
        min-height: 0 !important;

        height: auto !important;
    }


    /* ------------------------------------------------------
       PROPERTY SHOWCASE
    ------------------------------------------------------ */

    .places-showcase,
    .places-properties {
        padding:
            75px 18px;
    }


    .places-property-grid,
    .places-property-showcase {
        gap: 12px;
    }


    .places-property-card,
    .places-property-main,
    .places-property-side {
        min-height: 0 !important;

        height: auto !important;
    }


    /* Main exterior photograph */

    .places-property-main {
        min-height: 500px !important;

        border-radius: 22px;
    }


    /* Smaller supporting cards */

    .places-property-side {
        display: flex;

        flex-direction: column;

        gap: 12px;
    }


    .places-property-small,
    .places-property-small-image,
    .places-property-info-card {
        min-height: 300px !important;

        height: auto !important;

        border-radius: 22px;
    }


    /* ------------------------------------------------------
       APPROACH
    ------------------------------------------------------ */

    .places-approach {
        padding:
            75px 18px;
    }


    .places-approach-card {
        min-height: 470px !important;

        padding: 28px;

        border-radius: 22px;
    }


    .places-approach-card h3 {
        font-size:
            clamp(34px, 10vw, 47px);

        line-height: 1;
    }


    /* ------------------------------------------------------
       PLACES DESIGNED FOR LIVING
    ------------------------------------------------------ */

    .places-living {
        padding:
            80px 18px;
    }


    .places-living h2 {
        font-size:
            clamp(48px, 14vw, 65px);

        line-height: .92;
    }


    .places-living-grid {
        display: flex;

        flex-direction: column;

        gap: 12px;
    }


    .places-living-card {
        min-height: 0 !important;

        height: auto !important;

        padding:
            30px 25px;

        border-radius: 21px;
    }


    .places-living-card-featured {
        min-height: 390px !important;
    }


    .places-living-card:not(
        .places-living-card-featured
    ) {
        min-height: 210px !important;
    }


    .places-living-card h3 {
        margin-top: 45px;

        font-size:
            clamp(26px, 8vw, 37px);
    }


    /* ------------------------------------------------------
       GALLERY
    ------------------------------------------------------ */

    .places-gallery {
        padding:
            80px 18px;
    }


    .places-gallery-heading h2 {
        font-size:
            clamp(47px, 13vw, 62px);

        line-height: .94;
    }


    .places-gallery-grid {
        display: flex;

        flex-direction: column;

        gap: 12px;
    }


    .places-gallery-card {
        min-height: 0 !important;

        height: 390px !important;

        border-radius: 22px;

        overflow: hidden;
    }


    .places-gallery-card img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    /* ------------------------------------------------------
       COMMUNITY / PROGRESS
    ------------------------------------------------------ */

    .places-community {
        padding:
            75px 18px;
    }


    .places-community-grid {
        display: flex;

        flex-direction: column;

        gap: 12px;
    }


    .places-community-card {
        min-height: 0 !important;

        height: auto !important;

        padding:
            32px 25px;

        border-radius: 21px;
    }


    .places-community-card h3 {
        margin-top: 35px;

        font-size:
            clamp(27px, 8vw, 38px);
    }


    /* ------------------------------------------------------
       REFERRAL CTA
    ------------------------------------------------------ */

    .places-referral {
        padding:
            10px 18px 20px;
    }


    .places-referral-shell {
        min-height: auto !important;

        padding:
            45px 28px;

        border-radius: 24px;
    }


    .places-referral h2 {
        font-size:
            clamp(48px, 14vw, 66px);

        line-height: .92;
    }


    .places-referral-actions {
        display: flex;

        flex-direction: column;

        gap: 9px;

        margin-top: 32px;
    }


    .places-referral-actions a {
        width: 100%;

        min-height: 55px;

        justify-content: space-between;
    }

}