:root
{
    --paper: #fbf7f2;
    --ink: #35241f;
    --clay: #bc5039;
    --green: #376e53;
    --line: #ded8ce;
    font: 15px/1.7 "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
}
*
{
    box-sizing: border-box;
}
body
{
    margin: 0;
}
html
{
    scroll-padding-top: 85px;
    scroll-behavior: smooth;
}
a
{
    color: inherit;
    text-decoration: none;
}
button, select
{
    font: inherit;
    color: inherit;
}
button
{
    cursor: pointer;
}
button:focus-visible, a:focus-visible, select:focus-visible
{
    outline: 3px solid #bc5039;
    outline-offset: 3px;
}
.wrap
{
    width: min(1120px, calc(100% - 80px));
    margin: auto;
}
header
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 94px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
}
.brand
{
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: 1px;
    line-height: 1.4;
}
.brand small
{
    display: block;
    font-size: 8px;
    letter-spacing: 1.5px;
    font-weight: 500;
}
.crest
{
    border: 1px solid var(--clay);
    border-radius: 50% 50% 45% 45%;
    color: var(--clay);
    font: italic 31px Georgia, serif;
    padding: 6px 12px;
}
nav, .actions
{
    display: flex;
    align-items: center;
    gap: 25px;
}
nav
{
    font-size: 12px;
}
nav button
{
    background: none;
    border: 0;
    font-size: 12px;
}
.button
{
    background: var(--clay);
    color: #fffaf3;
    border: 0;
    padding: 14px 22px;
    display: inline-flex;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    border-radius: 3px;
}
.text-link
{
    border: 0;
    border-bottom: 1px solid;
    background: none;
    padding: 6px 0;
    font-size: 13px;
    font-weight: 600;
}
#menu, .mobile-book
{
    display: none;
}
.hero
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    padding-block: 48px;
}
.eyebrow
{
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--clay);
}
h1
{
    font-size: clamp(36px, 4.7vw, 58px);
    line-height: 1.08;
    letter-spacing: -2px;
    margin: 25px 0;
}
h1 em
{
    font-style: normal;
    color: var(--clay);
}
.hero-copy > p:not(.eyebrow)
{
    max-width: 470px;
    color: #75645d;
    font-size: 15px;
}
.actions
{
    margin-top: 25px;
}
.facts
{
    display: flex;
    gap: 28px;
    font-size: 11px;
    margin-top: 32px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}
.facts b
{
    font-size: 21px;
}
figure
{
    position: relative;
    margin: 0;
    align-self: stretch;
}
figure img
{
    width: 100%;
    height: calc(100% - 35px);
    object-fit: cover;
    min-height: 490px;
    border-radius: 140px 0 0 0;
}
figcaption
{
    font-size: 8px;
    letter-spacing: 1px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
}
.roundel
{
    position: absolute;
    bottom: 60px;
    left: -30px;
    width: 115px;
    height: 115px;
    border-radius: 50%;
    background: #e5e7b5;
    color: #375438;
    text-align: center;
    display: grid;
    place-content: center;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.5;
    transform: rotate(-12deg);
}
.today
{
    padding: 19px 0;
    background: #eaece1;
    color: #385b46;
    font-size: 11px;
}
.today .wrap
{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.today strong
{
    letter-spacing: 1px;
}
section:not(.hero)
{
    padding-block: 75px;
}
h2
{
    font-size: clamp(28px, 3.2vw, 39px);
    letter-spacing: -1.5px;
    line-height: 1.2;
    margin: 15px 0 30px;
}
.ball
{
    display: inline-block;
    width: 14px;
    height: 14px;
    background: var(--clay);
    border-radius: 50%;
    margin-left: 15px;
}
.section-top
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.section-top > p
{
    color: #75645d;
    font-size: 13px;
}
.booking-layout
{
    display: grid;
    grid-template-columns: 1fr 265px;
    gap: 30px;
    margin-top: 20px;
}
.booking-tools
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}
label
{
    display: block;
    font-size: 11px;
    font-weight: 600;
}
select
{
    display: block;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid var(--line);
    background: var(--paper);
    width: 100%;
    font-size: 12px;
}
.legend
{
    display: flex;
    gap: 12px;
    font-size: 10px;
}
.legend span:first-child
{
    color: var(--green);
}
.legend span:nth-child(2)
{
    color: var(--clay);
}
#court-grid
{
    display: grid;
    grid-template-columns: 48px repeat(6, 1fr);
    gap: 5px;
    align-items: center;
    font-size: 10px;
    text-align: center;
}
.slot
{
    height: 31px;
    background: #538266;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 9px;
    color: white;
}
.slot.booked
{
    background: #c97f6c;
}
.slot.restricted
{
    background: #dad7d0;
}
.slot.selected
{
    outline: 3px solid #35241f;
    outline-offset: -3px;
    background: #254a34;
}
.court-select
{
    display: none;
}
.summary
{
    background: #eeeadf;
    padding: 25px;
    align-self: start;
}
.summary h3
{
    font-size: 20px;
    line-height: 1.2;
}
.summary p
{
    font-size: 12px;
}
.summary strong
{
    font-size: 38px;
    display: block;
    margin: 15px 0;
}
.summary .button
{
    width: 100%;
    margin-top: 20px;
}
.wash
{
    background: #eee9df;
}
.memberships
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.memberships article
{
    border-top: 2px solid var(--clay);
    padding-top: 15px;
}
.memberships p, #membership-status
{
    font-size: 12px;
}
.memberships h3
{
    font-size: 24px;
    line-height: 1.3;
}
.memberships strong
{
    font-size: 32px;
}
.memberships small
{
    font-size: 12px;
    font-weight: 400;
}
#membership-status
{
    margin-top: 30px;
}
.coaching
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 50px;
}
.coaching article, .calendar article
{
    display: flex;
    gap: 20px;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 20px 0;
}
.coaching article > span
{
    color: var(--clay);
}
h3, p
{
    margin-top: 0;
}
.coaching h3, .calendar h3
{
    font-size: 18px;
    margin-bottom: 5px;
}
.coaching p, .calendar p
{
    font-size: 12px;
    margin: 0;
}
.coaching b
{
    margin-left: auto;
    font-size: 12px;
    white-space: nowrap;
}
.coaching small
{
    font-weight: 400;
}
.club
{
    background: #354c3c;
    color: #f9f4e9;
}
.club .wrap, .bottom-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
}
.club .eyebrow
{
    color: #d3d8b0;
}
.club h2
{
    font-size: 62px;
}
.club h2 em
{
    font: italic 65px Georgia, serif;
}
.club p
{
    font-size: 13px;
}
.calendar b
{
    border: 1px solid #aeb9a3;
    width: 60px;
    height: 60px;
    display: grid;
    place-content: center;
    font-size: 12px;
    flex-shrink: 0;
}
.calendar article
{
    border-color: #69816c;
}
footer
{
    background: #35241f;
    color: #eee9df;
    padding: 45px 0;
}
footer .wrap
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
footer .brand
{
    display: block;
}
footer p
{
    font-size: 11px;
}
dialog
{
    max-width: min(500px, calc(100% - 32px));
    padding: 35px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
}
dialog::backdrop
{
    background: #35241f99;
}
#close
{
    float: right;
    background: none;
    border: 0;
    font-size: 26px;
}
@media (max-width: 750px)
{
    .wrap
    {
        width: calc(100% - 40px);
    }
    header
    {
        height: 78px;
    }
    header > .button
    {
        display: none;
    }
    #menu
    {
        display: block;
        background: none;
        border: 0;
        font-size: 24px;
    }
    nav
    {
        display: none;
        position: absolute;
        inset: 78px 0 auto;
        padding: 25px;
        background: var(--paper);
        z-index: 20;
    }
    nav.open
    {
        display: flex;
        flex-direction: column;
    }
    .hero
    {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-block: 25px 35px;
    }
    figure
    {
        grid-row: 1;
    }
    figure img
    {
        height: 240px;
        min-height: 0;
        border-radius: 80px 0 0 0;
    }
    figcaption
    {
        font-size: 7px;
    }
    figcaption span
    {
        display: none;
    }
    .roundel
    {
        width: 80px;
        height: 80px;
        font-size: 8px;
        bottom: 30px;
        left: -10px;
    }
    h1
    {
        font-size: 39px;
        letter-spacing: -1.5px;
        margin: 15px 0;
    }
    .hero-copy > p:not(.eyebrow)
    {
        font-size: 13px;
    }
    .facts
    {
        gap: 18px;
    }
    .section-top, .booking-layout, .memberships, .coaching, .club .wrap, .bottom-grid, footer .wrap
    {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .booking-tools
    {
        flex-wrap: wrap;
        gap: 12px;
    }
    .court-select
    {
        display: block;
    }
    #court-grid
    {
        grid-template-columns: 65px 1fr;
    }
    #court-grid .other-court
    {
        display: none;
    }
    section:not(.hero)
    {
        padding-block: 50px;
    }
    .today .wrap
    {
        gap: 10px;
    }
    .today strong
    {
        width: 100%;
    }
    .club h2, .club h2 em
    {
        font-size: 45px;
    }
    footer
    {
        padding-bottom: 90px;
    }
    .mobile-book
    {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        z-index: 30;
    }
}
@media (prefers-reduced-motion: reduce)
{
    html
    {
        scroll-behavior: auto;
    }
}
