:root
{
    --paper: #f4f6f1;
    --ink: #0e1a2b;
    --blue: #1d4fa0;
    --yellow: #dff24b;
    --surface: #e6ebe3;
    --muted: #4e5a66;
}
*
{
    box-sizing: border-box;
}
html
{
    scroll-padding-top: 85px;
}
body
{
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 17px/1.55 Arial, sans-serif;
}
a
{
    color: inherit;
    text-decoration: none;
}
button, input, select
{
    font: inherit;
}
button, .button
{
    display: inline-block;
    border: 2px solid var(--ink);
    background: var(--yellow);
    color: var(--ink);
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.3;
    cursor: pointer;
    border-radius: 0;
    transition: transform .2s, box-shadow .2s;
}
button:hover, .button:hover
{
    transform: translate(-3px, -3px);
    box-shadow: 3px 3px var(--ink);
}
.white
{
    background: white;
}
:focus-visible
{
    outline: 3px solid #ad3824;
    outline-offset: 4px;
}
header
{
    height: 85px;
    padding: 0 4%;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 20;
}
.brand
{
    font: 900 24px/.85 Arial, sans-serif;
    letter-spacing: -1px;
}
.brand span
{
    font: bold 14px/1 Arial, sans-serif;
    display: inline-block;
    margin-left: 12px;
    letter-spacing: -.5px;
}
nav
{
    display: flex;
    gap: 20px;
    font-size: 14px;
    font-weight: bold;
}
#menu
{
    display: none;
}
section, footer
{
    padding: 80px 6%;
}
.hero
{
    display: grid;
    grid-template-columns: 7fr 5fr;
    padding: 0;
    background: var(--blue);
    color: white;
}
.hero-copy
{
    position: relative;
    padding: 45px 8% 35px 10%;
    isolation: isolate;
}
.court-lines
{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: white;
    stroke-width: 1;
    opacity: .14;
    z-index: -1;
}
.label, small, figcaption, .concept
{
    font: bold 14px/1.5 Arial, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}
h1, h2, h3
{
    font-weight: 900;
    line-height: .9;
    letter-spacing: -2px;
    text-transform: uppercase;
}
h1
{
    font-size: clamp(60px, 8.5vw, 125px);
    margin: 35px 0;
}
h1 span
{
    color: var(--yellow);
}
.hero-copy > p:not(.label):not(.concept)
{
    max-width: 470px;
    font-size: 17px;
}
.actions
{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}
.concept
{
    color: #c9d6ec;
    margin-top: 25px;
    font-size: 14px;
    letter-spacing: 0;
}
figure
{
    margin: 0;
    position: relative;
    overflow: hidden;
}
figure > img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
figcaption
{
    position: absolute;
    left: 25px;
    bottom: 25px;
    font-size: 14px;
    color: white;
}
.price-strip
{
    background: var(--yellow);
    border-block: 2px solid var(--ink);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-block: 30px;
    gap: 30px;
}
.price-strip > div
{
    border-right: 2px solid var(--ink);
    display: flex;
    align-items: center;
    gap: 20px;
}
.price-strip > div:last-child
{
    border: 0;
}
.price-strip b
{
    font-size: 62px;
    letter-spacing: -3px;
    line-height: 1;
}
.price-strip span
{
    font-size: 14px;
    font-weight: bold;
    line-height: 1.3;
}
h2
{
    font-size: clamp(35px, 4.5vw, 62px);
    margin: 25px 0 40px;
}
h3
{
    font-size: 27px;
    letter-spacing: -1px;
    line-height: 1.1;
}
.play
{
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 10%;
}
.court-diagram
{
    align-self: center;
    text-align: center;
}
.court-diagram svg
{
    width: 100%;
    max-height: 520px;
}
.court-diagram p
{
    font-size: 14px;
    font-weight: bold;
}
.rules
{
    counter-reset: rules;
    padding: 0;
    list-style: none;
}
.rules li
{
    counter-increment: rules;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 20px;
    margin: 22px 0;
    align-items: center;
    font-size: 16px;
}
.rules li::before
{
    content: counter(rules);
    font: 900 39px/1 Arial, sans-serif;
    color: var(--paper);
    -webkit-text-stroke: 1px var(--ink);
}
.rules-quiz
{
    margin-top: 35px;
    padding-top: 20px;
    border-top: 2px solid var(--ink);
}
.rules-quiz button
{
    margin-block: 5px;
    padding: 10px 12px;
}
.courts
{
    background: var(--ink);
    color: white;
}
.courts .label
{
    color: #c9d6ec;
}
.warehouse
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    height: 300px;
    background: #294353;
    padding: 50px 35px 65px;
    position: relative;
    overflow: hidden;
    border-top: 8px solid #667d7b;
}
.warehouse::before
{
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent 0 100px, #b4c1ba55 101px 106px, transparent 107px 200px);
}
.warehouse div
{
    background: var(--blue);
    border: 3px solid #c9d6ec;
    position: relative;
    transform: skewY(-6deg);
}
.warehouse div::before
{
    content: "";
    position: absolute;
    inset: 20% 0;
    border-block: 1px solid white;
    background: linear-gradient(90deg, transparent 49%, #ffffff88 50%, transparent 51%);
}
.warehouse div::after
{
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    top: 50%;
    border-top: 2px dashed white;
}
.warehouse span
{
    position: absolute;
    bottom: 20px;
    left: 25px;
    font-size: 14px;
}
.facts
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}
.facts b
{
    display: block;
    font-size: 33px;
    letter-spacing: -1px;
}
.facts span, .courts > p:last-child
{
    font-size: 14px;
    color: #c9d6ec;
}
.coaching, .booking, footer
{
    background: var(--blue);
    color: white;
}
.coaching h2
{
    color: var(--yellow);
}
table
{
    width: 100%;
    border-collapse: collapse;
    margin-block: 35px;
    text-align: left;
    font-size: 16px;
}
caption
{
    text-align: left;
    color: #c9d6ec;
    padding-bottom: 25px;
    font-size: 14px;
}
th, td
{
    border-bottom: 1px solid #ffffff66;
    padding: 20px 20px 20px 0;
}
thead
{
    font-size: 14px;
    color: #d7e2f2;
}
th:last-child, td:last-child
{
    padding-right: 0;
    white-space: nowrap;
}
.plans
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
}
.plans article
{
    padding: 10px 50px 20px 0;
}
.plans article + article
{
    padding-left: 60px;
    border-left: 2px solid var(--ink);
}
.plan-price
{
    font-size: 85px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
    margin-block: 20px;
}
.plan-price span
{
    display: block;
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: 15px;
}
.plans ul
{
    list-style: none;
    padding: 0;
    line-height: 2.2;
    margin-block: 30px;
}
.membership-note
{
    font-size: 14px;
    margin-top: 35px;
}
form
{
    margin-top: 55px;
    border: 2px solid var(--ink);
    padding: 30px;
}
form > p
{
    font-size: 14px;
}
.form-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-block: 30px;
}
label
{
    display: block;
    font-size: 14px;
    font-weight: bold;
}
input, select
{
    display: block;
    width: 100%;
    min-width: 0;
    border: 2px solid var(--ink);
    padding: 12px;
    background: white;
    color: var(--ink);
    border-radius: 0;
    margin-top: 8px;
}
[role=status]
{
    font-size: 16px;
}
.leagues
{
    background: var(--surface);
}
.league-head
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.league
{
    display: grid;
    grid-template-columns: 110px 1fr 1fr 70px;
    gap: 20px;
    border-top: 2px solid var(--ink);
    padding: 24px 0;
    align-items: center;
}
.league b
{
    text-transform: uppercase;
    font-size: 18px;
}
.league span
{
    font-size: 14px;
}
.leagues > p
{
    font-size: 14px;
}
.booking > p:not(.label)
{
    max-width: 700px;
}
footer
{
    border-top: 2px solid #c9d6ec;
}
footer > div
{
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-block: 35px;
}
footer p
{
    font-size: 14px;
}
.mobile-book
{
    display: none;
}
@media (max-width: 767px)
{
    body
    {
        padding-bottom: 70px;
    }
    header
    {
        height: 80px;
        padding-inline: 16px;
        gap: 10px;
    }
    .brand
    {
        font-size: 21px;
    }
    .brand span
    {
        display: none;
    }
    header .button
    {
        font-size: 14px;
        padding: 10px;
        max-width: 125px;
    }
    #menu
    {
        display: block;
        font-size: 14px;
        border: 0;
        background: transparent;
        padding: 5px;
    }
    #nav
    {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--paper);
        padding: 30px;
        flex-direction: column;
        font-size: 21px;
    }
    #nav.open
    {
        display: flex;
    }
    section, footer
    {
        padding: 55px 23px;
    }
    .hero, .price-strip, .play, .plans, .form-grid
    {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero
    {
        padding: 0;
        gap: 0;
    }
    .hero-copy
    {
        padding: 35px 23px;
    }
    h1
    {
        font-size: 76px;
    }
    .hero figure
    {
        aspect-ratio: 4 / 5;
    }
    .price-strip
    {
        gap: 0;
        padding-block: 10px;
    }
    .price-strip > div
    {
        padding: 25px 0;
        border-right: 0;
        border-bottom: 2px solid var(--ink);
        gap: 30px;
    }
    .price-strip b
    {
        min-width: 110px;
    }
    h2
    {
        font-size: 40px;
    }
    .court-diagram svg
    {
        height: 400px;
    }
    .warehouse
    {
        height: 280px;
        grid-template-columns: 1fr 1fr;
        padding: 25px 25px 75px;
        gap: 12px;
    }
    .warehouse span
    {
        left: 20px;
        right: 20px;
    }
    .facts
    {
        grid-template-columns: 1fr 1fr;
    }
    .facts b
    {
        font-size: 29px;
    }
    table, tbody, tr, td, th
    {
        display: block;
    }
    thead
    {
        display: none;
    }
    tr
    {
        padding: 20px 0;
        border-top: 1px solid #ffffff66;
    }
    td, th
    {
        border: 0;
        padding: 5px 0;
    }
    th
    {
        font-size: 19px;
    }
    .plans article, .plans article + article
    {
        padding: 25px 0;
        border-left: 0;
    }
    .plans article + article
    {
        border-top: 2px solid var(--ink);
    }
    form
    {
        padding: 22px;
    }
    form > button
    {
        margin-top: 12px;
    }
    .league-head
    {
        display: block;
        margin-bottom: 35px;
    }
    .league
    {
        grid-template-columns: 1fr auto;
        gap: 10px;
    }
    .league b, .league span:nth-child(3)
    {
        grid-column: 1 / -1;
    }
    footer > div
    {
        flex-direction: column;
        gap: 10px;
    }
    footer .brand
    {
        line-height: 1.1;
    }
    .mobile-book
    {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
        text-align: center;
        z-index: 25;
    }
}
@media (prefers-reduced-motion: reduce)
{
    *
    {
        transition: none !important;
    }
}
