/* ============================================================
   TENIS ARENA — CLUB
   ============================================================ */

.ta-club-page {
    width: 100%;
    overflow: hidden;

    background:
        var(--ta-ivory-soft);

    color:
        var(--ta-ink);
}


.ta-club-page,
.ta-club-page * {
    box-sizing:
        border-box;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif !important;
}


.ta-club-container {
    width:
        min(
            calc(100% - 96px),
            1280px
        );

    margin-inline:
        auto;
}



/* ============================================================
   LABELS
   ============================================================ */

.ta-club-eyebrow,
.ta-club-section-label {
    display:
        flex;

    align-items:
        center;

    gap:
        13px;

    font-size:
        .61rem;

    line-height:
        1;

    letter-spacing:
        .15em;

    text-transform:
        uppercase;

    font-weight:
        600;
}


.ta-club-eyebrow {
    color:
        var(--ta-gold);
}


.ta-club-eyebrow::before {
    content: "";

    width: 34px;
    height: 1px;

    flex:
        0 0
        34px;

    background:
        currentColor;
}


.ta-club-section-label span,
.ta-club-section-label strong {
    color:
        var(--ta-clay);
}


.ta-club-section-label strong {
    font-weight: 600;
}



/* ============================================================
   HERO
   ============================================================ */

.ta-club-hero {
    position: relative;

    min-height:
        455px;

    display:
        flex;

    align-items:
        center;

    overflow:
        hidden;

    background:
        var(--ta-forest-deep)
        var(--ta-club-hero)
        center center
        / cover
        no-repeat;

    color:
        var(--ta-ivory);
}


.ta-club-hero-overlay {
    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            90deg,
            rgba(3,35,27,.96) 0%,
            rgba(3,35,27,.75) 42%,
            rgba(3,35,27,.23) 72%,
            rgba(3,35,27,.10) 100%
        );
}


.ta-club-hero-inner {
    position:
        relative;

    z-index:
        2;

    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        290px;

    align-items:
        center;

    gap:
        80px;
}


.ta-club-hero-copy {
    max-width:
        720px;
}


.ta-club-hero h1 {
    max-width:
        720px;

    margin:
        22px
        0
        0;

    font-size:
        clamp(
            3.8rem,
            5vw,
            5.8rem
        ) !important;

    line-height:
        .87 !important;

    letter-spacing:
        -.05em !important;

    font-weight:
        500 !important;

    color:
        var(--ta-ivory) !important;
}


.ta-club-hero-copy > p {
    max-width:
        585px;

    margin:
        20px
        0
        0;

    font-size:
        .98rem;

    line-height:
        1.48;

    color:
        rgba(246,240,228,.80);
}


.ta-club-hero-action {
    min-width:
        205px;

    min-height:
        47px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        28px;

    margin-top:
        27px;

    padding:
        0
        18px;

    border:
        1px solid
        var(--ta-gold);

    background:
        var(--ta-gold);

    color:
        var(--ta-forest-deep);

    text-decoration:
        none;

    text-transform:
        uppercase;

    letter-spacing:
        .08em;

    font-size:
        .63rem;

    font-weight:
        700;

    transition:
        background-color
        300ms
        ease,
        color
        300ms
        ease;
}


.ta-club-hero-action:hover {
    background:
        transparent;

    color:
        var(--ta-gold);
}


.ta-club-hero-quote {
    justify-self:
        end;

    display:
        grid;

    gap:
        2px;

    padding-left:
        22px;

    border-left:
        1px solid
        rgba(199,165,82,.7);

    text-align:
        right;

    text-transform:
        uppercase;

    letter-spacing:
        .16em;

    font-size:
        .78rem;

    color:
        rgba(246,240,228,.82);
}


.ta-club-hero-quote strong {
    color:
        var(--ta-ivory);

    font-weight:
        500;
}



/* ============================================================
   ABOUT
   ============================================================ */

.ta-club-about {
    padding:
        55px
        0;

    border-bottom:
        1px solid
        var(--ta-border);
}


.ta-club-about-grid {
    display:
        grid;

    grid-template-columns:
        minmax(360px, .88fr)
        minmax(0, 1.12fr);

    gap:
        clamp(
            55px,
            6vw,
            115px
        );

    align-items:
        center;
}


.ta-club-about-copy h2,
.ta-club-courts-copy h2,
.ta-club-facilities-heading h2,
.ta-club-cms-section h2,
.ta-club-closing h2 {
    margin:
        12px
        0
        0;

    font-size:
        clamp(
            2.7rem,
            3.55vw,
            4.1rem
        );

    line-height:
        .91;

    letter-spacing:
        -.042em;

    font-weight:
        500;

    color:
        var(--ta-forest);
}


.ta-club-about-copy > p {
    max-width:
        580px;

    margin:
        15px
        0
        0;

    font-size:
        .88rem;

    line-height:
        1.5;

    color:
        var(--ta-muted);
}


.ta-club-pillars {
    display:
        grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0,1fr)
        );

    border-left:
        1px solid
        var(--ta-border);
}


.ta-club-pillars article {
    min-height:
        165px;

    padding:
        21px;

    border-right:
        1px solid
        var(--ta-border);
}


.ta-club-pillars article > span {
    width:
        38px;

    height:
        38px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin-bottom:
        16px;

    border:
        1px solid
        var(--ta-gold);

    border-radius:
        50%;

    color:
        var(--ta-gold);
}


.ta-club-pillars strong {
    display:
        block;

    font-size:
        1rem;

    font-weight:
        600;

    color:
        var(--ta-forest);
}


.ta-club-pillars p {
    margin:
        6px
        0
        0;

    font-size:
        .71rem;

    line-height:
        1.38;

    color:
        var(--ta-muted);
}



/* ============================================================
   COURTS SPLIT
   ============================================================ */

.ta-club-courts {
    display:
        grid;

    grid-template-columns:
        1fr
        1fr;

    border-bottom:
        1px solid
        var(--ta-border);
}


.ta-club-courts-image {
    min-height:
        420px;

    overflow:
        hidden;
}


.ta-club-courts-image img {
    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        cover;
}


.ta-club-courts-copy {
    display:
        flex;

    align-items:
        center;
}


.ta-club-courts-copy-inner {
    width:
        min(
            100%,
            760px
        );

    padding:
        48px
        clamp(
            38px,
            5vw,
            90px
        );
}


.ta-club-courts-copy p {
    max-width:
        630px;

    margin:
        15px
        0
        0;

    font-size:
        .86rem;

    line-height:
        1.5;

    color:
        var(--ta-muted);
}


.ta-club-stats {
    display:
        grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0,1fr)
        );

    margin-top:
        30px;

    border-top:
        1px solid
        var(--ta-border);

    border-bottom:
        1px solid
        var(--ta-border);
}


.ta-club-stats a {
    min-height:
        102px;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    padding:
        13px
        16px;

    border-right:
        1px solid
        var(--ta-border);

    text-decoration:
        none;
}


.ta-club-stats a:last-child {
    border-right:
        0;
}


.ta-club-stats strong {
    font-size:
        1.85rem;

    line-height:
        1;

    font-weight:
        500;

    color:
        var(--ta-gold);
}


.ta-club-stats span {
    margin-top:
        6px;

    font-size:
        .66rem;

    line-height:
        1.25;

    color:
        var(--ta-muted);
}



/* ============================================================
   FACILITIES / CHAPTERS
   ============================================================ */

.ta-club-facilities {
    padding:
        50px
        0
        56px;

    border-bottom:
        1px solid
        var(--ta-border);
}


.ta-club-facilities-heading {
    display:
        flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        60px;

    margin-bottom:
        25px;
}


.ta-club-facilities-heading > div > p {
    max-width:
        610px;

    margin:
        10px
        0
        0;

    font-size:
        .82rem;

    line-height:
        1.45;

    color:
        var(--ta-muted);
}


.ta-club-heading-link {
    min-width:
        165px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;

    padding-bottom:
        6px;

    border-bottom:
        1px solid
        var(--ta-border);

    text-decoration:
        none;

    text-transform:
        uppercase;

    letter-spacing:
        .08em;

    font-size:
        .59rem;

    color:
        var(--ta-muted);
}


.ta-club-heading-link span {
    color:
        var(--ta-clay);
}


.ta-club-facility-grid {
    display:
        grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0,1fr)
        );

    gap:
        15px;
}


.ta-club-facility {
    min-width:
        0;

    display:
        block;

    color:
        inherit;

    text-decoration:
        none;

    border-bottom:
        1px solid
        var(--ta-border);
}


.ta-club-facility-image {
    aspect-ratio:
        4 / 3;

    overflow:
        hidden;

    background:
        var(--ta-border);
}


.ta-club-facility-image img {
    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        cover;

    transition:
        transform
        700ms
        cubic-bezier(.22,1,.36,1);
}


.ta-club-facility:hover
.ta-club-facility-image img {
    transform:
        scale(1.03);
}


.ta-club-facility-copy {
    padding:
        15px
        12px
        17px;
}


.ta-club-facility-copy h3 {
    margin:
        0;

    font-size:
        1.38rem;

    font-weight:
        500;

    color:
        var(--ta-forest);
}


.ta-club-facility-copy p {
    margin:
        5px
        0
        0;

    font-size:
        .71rem;

    line-height:
        1.4;

    color:
        var(--ta-muted);
}



/* ============================================================
   EXTRA CMS SECTIONS
   ============================================================ */

.ta-club-cms-sections {
    border-bottom:
        1px solid
        var(--ta-border);
}


.ta-club-cms-section {
    padding:
        45px
        0;

    border-bottom:
        1px solid
        var(--ta-border);
}


.ta-club-cms-section:last-child {
    border-bottom:
        0;
}


.ta-club-cms-section > p {
    max-width:
        760px;

    margin:
        14px
        0
        0;

    font-size:
        .86rem;

    line-height:
        1.5;

    color:
        var(--ta-muted);
}


.ta-club-cms-section > a {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        25px;

    margin-top:
        20px;

    padding-bottom:
        6px;

    border-bottom:
        1px solid
        var(--ta-forest);

    text-decoration:
        none;

    text-transform:
        uppercase;

    letter-spacing:
        .08em;

    font-size:
        .59rem;

    color:
        var(--ta-forest);
}


.ta-club-cms-section > a span {
    color:
        var(--ta-clay);
}



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

.ta-club-closing {
    display:
        grid;

    grid-template-columns:
        minmax(380px,.95fr)
        minmax(0,1.05fr);

    min-height:
        330px;

    background:
        var(--ta-forest-deep);

    color:
        var(--ta-ivory);
}


.ta-club-closing-copy {
    display:
        flex;

    align-items:
        center;

    justify-content:
        flex-end;
}


.ta-club-closing-inner {
    width:
        min(
            100%,
            690px
        );

    padding:
        43px
        48px;
}


.ta-club-closing h2 {
    color:
        var(--ta-ivory);
}


.ta-club-closing p {
    max-width:
        510px;

    margin:
        14px
        0
        0;

    font-size:
        .87rem;

    line-height:
        1.48;

    color:
        rgba(246,240,228,.73);
}


.ta-club-closing-actions {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        10px;

    margin-top:
        24px;
}


.ta-club-closing-actions a {
    min-width:
        155px;

    min-height:
        45px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        24px;

    padding:
        0
        17px;

    border:
        1px solid
        rgba(246,240,228,.45);

    color:
        var(--ta-ivory);

    text-decoration:
        none;

    text-transform:
        uppercase;

    letter-spacing:
        .08em;

    font-size:
        .59rem;
}


.ta-club-closing-actions a.is-primary {
    border-color:
        var(--ta-gold);

    background:
        var(--ta-gold);

    color:
        var(--ta-forest-deep);
}


.ta-club-closing-media {
    position:
        relative;

    min-height:
        330px;

    overflow:
        hidden;
}


.ta-club-closing-media img {
    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        cover;
}


.ta-club-closing-media::after {
    content:
        "";

    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            90deg,
            rgba(4,43,33,.28),
            transparent 42%
        );
}


.ta-club-closing-quote {
    position:
        absolute;

    z-index:
        2;

    right:
        38px;

    bottom:
        30px;

    display:
        grid;

    text-align:
        right;

    text-transform:
        uppercase;

    letter-spacing:
        .15em;

    font-size:
        .68rem;

    color:
        var(--ta-ivory);
}


.ta-club-closing-quote strong {
    font-weight:
        500;
}



/* ============================================================
   LARGE DESKTOP
   ============================================================ */

@media (min-width: 1280px) {

    .ta-club-container {
        width:
            calc(100% - 96px);

        max-width:
            none;
    }


    .ta-club-hero-inner {
        grid-template-columns:
            minmax(0,1fr)
            clamp(
                260px,
                18vw,
                390px
            );

        gap:
            clamp(
                80px,
                7vw,
                160px
            );
    }


    .ta-club-facility-grid {
        gap:
            clamp(
                15px,
                1.5vw,
                27px
            );
    }

}


@media (min-width: 1800px) {

    .ta-club-container {
        width:
            calc(100% - 128px);
    }

}



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

@media (max-width: 1023px) {

    .ta-club-container {
        width:
            calc(100% - 64px);
    }


    .ta-club-hero-inner {
        grid-template-columns:
            minmax(0,1fr)
            190px;

        gap:
            35px;
    }


    .ta-club-about-grid {
        grid-template-columns:
            1fr;

        gap:
            35px;
    }


    .ta-club-pillars {
        grid-template-columns:
            repeat(2,1fr);
    }


    .ta-club-pillars
    article:nth-child(-n+2) {
        border-bottom:
            1px solid
            var(--ta-border);
    }


    .ta-club-courts {
        grid-template-columns:
            .9fr
            1.1fr;
    }


    .ta-club-stats {
        grid-template-columns:
            1fr
            1fr;
    }


    .ta-club-stats
    a:nth-child(2) {
        border-right:
            0;
    }


    .ta-club-stats
    a:nth-child(-n+2) {
        border-bottom:
            1px solid
            var(--ta-border);
    }


    .ta-club-facility-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

}



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

@media (max-width: 720px) {

    .ta-club-container {
        width:
            calc(100% - 40px);
    }


    .ta-club-hero {
        min-height:
            500px;

        background-position:
            61% center;
    }


    .ta-club-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3,35,27,.97),
                rgba(3,35,27,.76) 74%,
                rgba(3,35,27,.44)
            );
    }


    .ta-club-hero-inner {
        min-height:
            500px;

        grid-template-columns:
            1fr;

        align-content:
            center;

        gap:
            28px;
    }


    .ta-club-hero h1 {
        font-size:
            clamp(
                3.1rem,
                14vw,
                4.5rem
            ) !important;
    }


    .ta-club-hero-quote {
        justify-self:
            start;

        text-align:
            left;

        font-size:
            .64rem;
    }


    .ta-club-hero-action {
        width:
            100%;
    }


    .ta-club-about {
        padding:
            42px
            0;
    }


    .ta-club-pillars {
        grid-template-columns:
            1fr;
    }


    .ta-club-pillars article {
        min-height:
            120px;

        border-right:
            0;

        border-bottom:
            1px solid
            var(--ta-border);
    }


    .ta-club-courts {
        grid-template-columns:
            1fr;
    }


    .ta-club-courts-image {
        min-height:
            260px;
    }


    .ta-club-courts-copy-inner {
        padding:
            38px
            20px;
    }


    .ta-club-stats {
        grid-template-columns:
            1fr
            1fr;
    }


    .ta-club-facilities {
        padding:
            42px
            0;
    }


    .ta-club-facilities-heading {
        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            20px;
    }


    .ta-club-facility-grid {
        grid-template-columns:
            1fr
            1fr;

        gap:
            12px;
    }


    .ta-club-facility-copy {
        padding:
            13px
            6px
            16px;
    }


    .ta-club-closing {
        grid-template-columns:
            1fr;
    }


    .ta-club-closing-copy {
        justify-content:
            stretch;
    }


    .ta-club-closing-inner {
        width:
            100%;

        padding:
            38px
            20px;
    }


    .ta-club-closing-actions {
        flex-direction:
            column;
    }


    .ta-club-closing-actions a {
        width:
            100%;
    }


    .ta-club-closing-media {
        min-height:
            250px;
    }


    .ta-club-closing-quote {
        right:
            20px;

        bottom:
            20px;
    }

}



/* ============================================================
   SMALL PHONE
   ============================================================ */

@media (max-width: 390px) {

    .ta-club-container {
        width:
            calc(100% - 32px);
    }


    .ta-club-facility-grid {
        grid-template-columns:
            1fr;
    }

}



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

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

    .ta-club-page *,
    .ta-club-page *::before,
    .ta-club-page *::after {
        transition:
            none !important;

        scroll-behavior:
            auto !important;
    }

}
