:root {
    --navy: #071b35;
    --navy-deep: #041326;
    --blue: #07569b;
    --cyan: #18b8dc;
    --light: #f1f6fc;
    --white: #fff;
    --text: #52657c;
    --header-height: 100px;
    --content-width: 1600px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--light);
    color: var(--navy);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

.responsive-picture {
    display: contents;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

section {
    scroll-margin-top: 100px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    background: var(--white);
    color: var(--navy);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

/* Fixed header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 12px 8%;
    background: transparent;
    transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}

.header-inner {
    max-width: var(--content-width);
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: min-height .3s ease;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 340px;
    height: 78px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
    transition: width .3s ease, height .3s ease;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.main-nav a {
    color: var(--white);
    font-size: 1.08rem;
    font-weight: 600;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.main-nav a:hover {
    color: var(--cyan);
}

.main-nav a[aria-current="page"]:not(.nav-button) {
    color: var(--cyan);
    box-shadow: inset 0 -2px 0 var(--cyan);
    padding-bottom: 7px;
}

.main-nav .nav-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 4px;
    background: var(--cyan);
    color: var(--navy);
}

.main-nav .nav-button:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

.main-nav .nav-button[aria-current="page"] {
    background: var(--white);
    color: var(--navy);
}

.site-header.scrolled {
    padding-top: 4px;
    padding-bottom: 4px;
    background: var(--navy);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .18);
}

.site-header.scrolled .header-inner {
    min-height: 64px;
}

.site-header.scrolled .logo img {
    width: 270px;
    height: 58px;
}

.site-header.inner-page-header {
    background: var(--navy);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 6px 0;
    background: var(--white);
    transition: transform .2s ease, opacity .2s ease;
}

@media (min-width: 981px) and (max-width: 1200px) {
    .site-header {
        padding-left: 5%;
        padding-right: 5%;
    }

    .logo img {
        width: 230px;
        height: 60px;
    }

    .main-nav {
        gap: 14px;
    }

    .main-nav a {
        font-size: 1rem;
    }
}

/* Hero */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 680px;
    height: 100svh;
    max-height: 950px;
    overflow: hidden;
    color: var(--white);
    background: var(--navy);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: -3%;
    background: url("images/optimized/padelhub-hero-1672.jpg") center 55% / cover no-repeat;
    transform: scale(1.02);
    transform-origin: center;
    animation: home-hero-cinematic-pan 26s ease-in-out infinite alternate;
    will-change: transform;
}

@media (max-width: 1200px) {
    .hero::after {
        background-image: url("images/optimized/padelhub-hero-1280.jpg");
    }
}

@media (max-width: 768px) {
    .hero::after {
        background-image: url("images/optimized/padelhub-hero-640.jpg");
    }
}

@media (min-resolution: 1.5dppx) and (max-width: 1200px) {
    .hero::after {
        background-image: url("images/optimized/padelhub-hero-1672.jpg");
    }
}

@media (min-resolution: 1.5dppx) and (max-width: 768px) {
    .hero::after {
        background-image: url("images/optimized/padelhub-hero-1280.jpg");
    }
}

@supports (background-image: image-set(url("image.webp") type("image/webp") 1x)) {
    .hero::after {
        background-image: url("images/optimized/padelhub-hero-1672.webp");
    }

    @media (max-width: 1200px) {
        .hero::after {
            background-image: image-set(
                url("images/optimized/padelhub-hero-1280.webp") type("image/webp") 1x,
                url("images/optimized/padelhub-hero-1672.webp") type("image/webp") 2x
            );
        }
    }

    @media (max-width: 768px) {
        .hero::after {
            background-image: image-set(
                url("images/optimized/padelhub-hero-640.webp") type("image/webp") 1x,
                url("images/optimized/padelhub-hero-1280.webp") type("image/webp") 2x
            );
        }
    }
}

@keyframes home-hero-cinematic-pan {
    from {
        transform: scale(1.02) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.08) translate3d(-1.2%, -.4%, 0);
    }
}

.hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(5, 22, 43, .14);
}

.hero-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 19, 40, .82) 0%, rgba(4, 19, 40, .57) 47%, rgba(4, 19, 40, .08) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--content-width);
    margin: auto;
    padding: 100px 8% 0;
}

.section-label {
    margin: 0 0 20px;
    color: var(--cyan);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .2em;
}

.hero h1 {
    max-width: 1050px;
    margin: 0 0 12px;
    font-size: clamp(3.5rem, 6.2vw, 6.5rem);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 800;
}

.hero-subtitle {
    max-width: 620px;
    margin: 0 0 15px;
    color: var(--cyan);
    font-size: clamp(1.3rem, 2.1vw, 1.65rem);
    font-weight: 700;
    line-height: 1.35;
}

.hero-description {
    max-width: 500px;
    margin: 0 0 30px;
    font-size: 1.15rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-button,
.button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 17px 27px;
    border: 0;
    border-radius: 4px;
    background: var(--cyan);
    color: var(--navy);
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .06em;
    transition: transform .2s ease, background .2s ease;
}

.hero-contact-button {
    padding: 16px 27px;
    border: 1px solid var(--white);
    background: transparent;
    color: var(--white);
    justify-content: center;
}

.hero-button:hover,
.button:hover {
    background: var(--white);
    transform: translateY(-3px);
}

.hero-contact-button:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, .14);
    color: var(--white);
}

.hero-bottom {
    position: absolute;
    z-index: 2;
    bottom: 24px;
    left: 8%;
    right: 8%;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, .85);
    font-size: .7rem;
    letter-spacing: .18em;
    font-weight: 700;
}

/* Beginner guide */
.section {
    padding: clamp(76px, 7.5vw, 104px) clamp(24px, 7.5vw, 120px);
}

.beginner {
    padding-top: 68px;
    padding-bottom: 72px;
    background: #f7faff;
    border-top: 1px solid #dce8f2;
}

.beginner-heading {
    max-width: 780px;
    margin: 0 auto 38px;
    text-align: center;
}

.beginner-heading h2 {
    margin: 0 0 15px;
    font-size: clamp(2.6rem, 4.2vw, 4.1rem);
    line-height: .98;
    letter-spacing: -.05em;
}

.beginner-heading h2 span {
    color: var(--blue);
}

.beginner-heading>p:last-child {
    max-width: 710px;
    margin: auto;
    color: var(--text);
    font-size: 1rem;
}

.beginner-layout {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: clamp(34px, 5vw, 68px);
    align-items: center;
}

.court-illustration {
    padding: 16px 18px 12px;
    border-radius: 8px;
    color: var(--white);
    background: var(--navy);
    box-shadow: 0 22px 55px rgba(7, 27, 53, .16);
}

.court-heading,
.court-legend {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.court-heading {
    color: #a9bfd5;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
}

.court-heading span:last-child {
    color: var(--cyan);
}

.court-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.court-marker circle {
    fill: var(--cyan);
    stroke: var(--navy);
    stroke-width: 2.5;
}

.court-marker text {
    fill: var(--navy);
    text-anchor: middle;
    font: 800 13px Arial, sans-serif;
}

.court-legend {
    justify-content: center;
    gap: clamp(14px, 3vw, 30px);
    padding-top: 9px;
    color: #c5d9e9;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.court-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.court-legend i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--cyan);
}

.court-legend .legend-net {
    border-radius: 0;
    height: 3px;
}

.court-legend .legend-glass {
    background: transparent;
    border: 2px solid #81dff0;
}

.guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 15px 10px;
    border-bottom: 1px solid rgba(7, 27, 53, .14);
    border-radius: 6px;
    transition: opacity .55s ease var(--guide-delay, 0s), transform .55s cubic-bezier(.2, .7, .2, 1) var(--guide-delay, 0s), background-color .2s ease, box-shadow .2s ease;
}

.guide-item:nth-child(1) {
    --guide-delay: 0s;
}

.guide-item:nth-child(2) {
    --guide-delay: .09s;
}

.guide-item:nth-child(3) {
    --guide-delay: .18s;
}

.guide-item:nth-child(4) {
    --guide-delay: .27s;
}

.guide-item:first-child {
    padding-top: 0;
}

.guide-number {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(7, 27, 53, .2);
    border-radius: 50%;
    color: var(--blue);
    font-size: .8rem;
    font-weight: 800;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1) var(--guide-delay, 0s), background-color .2s ease, color .2s ease;
}

.js-ready .guide-item.pending .guide-number {
    transform: scale(.82);
}

.guide-item.visible .guide-number {
    transform: scale(1);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .guide-item:hover {
        background-color: rgba(255, 255, 255, .78);
        box-shadow: inset 3px 0 0 var(--cyan);
    }

    .guide-item:hover .guide-number {
        color: var(--navy);
        background-color: var(--cyan);
    }
}

.guide-item h3 {
    margin: 0 0 3px;
    font-size: .92rem;
    letter-spacing: .04em;
}

.guide-item p {
    margin: 0;
    color: var(--text);
    font-size: .92rem;
    line-height: 1.55;
}

/* About and app */
.about {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: clamp(34px, 5vw, 68px);
    background: var(--white);
}

.about.section,
.app.section {
    padding-top: clamp(60px, 5.5vw, 80px);
    padding-bottom: clamp(60px, 5.5vw, 80px);
}

.app.section {
    padding-bottom: clamp(46px, 4.5vw, 62px);
}

.about-content {
    max-width: 600px;
}

.about h2,
.app h2 {
    margin: 0 0 21px;
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.about-content p:not(.section-label),
.app-content>p:not(.section-label) {
    color: var(--text);
    font-size: 1.12rem;
    line-height: 1.85;
    margin: 0 0 14px;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.about-image img {
    width: 100%;
    height: clamp(340px, 32vw, 440px);
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .about-image:hover img {
        transform: scale(1.035);
    }
}

.image-caption {
    position: absolute;
    bottom: 18px;
    left: 18px;
    padding: 9px 14px;
    background: var(--navy);
    color: var(--white);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.bar-restaurant.section {
    padding-top: clamp(60px, 5.5vw, 80px);
    padding-bottom: clamp(60px, 5.5vw, 80px);
    background: #eaf2fb;
}

.bar-restaurant-inner {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: clamp(34px, 5vw, 68px);
}

.bar-restaurant-image {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 5px;
}

.bar-restaurant-content {
    max-width: 620px;
}

.bar-restaurant-content .section-label {
    color: var(--blue);
}

.bar-restaurant-content h2 {
    margin: 0 0 16px;
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.bar-restaurant-content > p:last-child {
    margin: 0;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.75;
}

.bar-restaurant-photo {
    display: block;
    width: 100%;
    height: clamp(340px, 32vw, 440px);
    object-fit: cover;
    object-position: center 68%;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .bar-restaurant-image:hover img {
        transform: scale(1.035);
    }
}

@media (max-width: 900px) {
    .bar-restaurant-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .bar-restaurant.section {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .bar-restaurant-photo {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .bar-restaurant-photo {
        height: 300px;
    }
}

@media (max-width: 680px) {
    .bar-restaurant-content h2 {
        font-size: clamp(2.35rem, 9vw, 3.25rem);
    }

    .bar-restaurant-content > p:last-child {
        font-size: 1rem;
    }

}

.text-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--blue);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .05em;
}

.text-link:hover {
    color: #087ca5;
}

.app {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: clamp(34px, 5vw, 68px);
    overflow: hidden;
    background: #F8FAFC;
}

.app-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-image img {
    width: 100%;
    max-width: 780px;
    height: auto;
    object-fit: contain;
}

.app-image.reveal {
    transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
}

.js-ready .app-image.reveal.pending {
    transform: translateX(-22px);
}

.js-ready .app-image.reveal.visible {
    transform: translateX(0);
}

.app-image.visible img {
    animation: appFloat 6.5s ease-in-out infinite;
}

@keyframes appFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.app-content {
    max-width: 620px;
}

.app-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    margin: 22px 0 24px;
    padding: 0;
    list-style: none;
    color: var(--navy);
    font-weight: 700;
}

.app-features li {
    position: relative;
    padding-left: 20px;
    transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
}

.app-features li:nth-child(1) {
    transition-delay: .04s;
}

.app-features li:nth-child(2) {
    transition-delay: .12s;
}

.app-features li:nth-child(3) {
    transition-delay: .20s;
}

.app-features li:nth-child(4) {
    transition-delay: .28s;
}

.js-ready .app-features li.pending {
    transform: translateY(10px);
}

.app-features li::before {
    position: absolute;
    left: 0;
    color: var(--cyan);
    content: "•";
}

.app-content .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 14px rgba(7, 27, 53, .08);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.app-content .button:hover {
    box-shadow: 0 9px 20px rgba(7, 27, 53, .16);
}

/* Download and footer */
.download {
    position: relative;
    overflow: hidden;
    padding: clamp(66px, 6vw, 82px) 8%;
    color: var(--white);
    background: linear-gradient(125deg, #071b35 0%, #0b3157 100%);
    border-top: 3px solid var(--cyan);
    text-align: center;
}

.download-content {
    max-width: 820px;
    margin: auto;
}

.download h2 {
    margin: 0 0 16px;
    font-size: clamp(2.9rem, 5vw, 4.6rem);
    line-height: .98;
    letter-spacing: -.04em;
}

.download-content>p:not(.section-label) {
    max-width: 650px;
    margin: 0 auto 18px;
    color: #d0ddeb;
    font-size: 1.1rem;
}

.store-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0 0;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 10px;
    width: 210px;
    height: 64px;
    min-height: 64px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 8px;
    color: #101318;
    background: #fff;
    text-align: left;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .13);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.store-badge:hover {
    transform: translateY(-2px);
    border-color: var(--cyan);
    box-shadow: 0 9px 22px rgba(0, 0, 0, .2);
}

.store-badge:active {
    transform: translateY(0);
}

.store-badge-icon {
    flex: 0 0 auto;
    width: 29px;
    height: 29px;
    fill: #101318;
}

.store-badge-icon.apple-icon {
    width: 36px;
    height: 36px;
}

.store-badge-icon.play-icon {
    width: 27px;
    height: 31px;
    fill: none;
}

.store-badge-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    line-height: 1.08;
    text-align: center;
}

.store-badge-copy small {
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .01em;
}

.store-badge-copy strong {
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -.025em;
}

.coming-soon {
    margin-top: 12px !important;
    color: #a9bfd5 !important;
    font-size: .82rem !important;
}

.site-footer {
    padding: 38px clamp(24px, 7.5vw, 120px) 20px;
    color: var(--white);
    background: var(--navy-deep);
    border-top: 1px solid rgba(24, 184, 220, .32);
}

.footer-main {
    max-width: var(--content-width);
    margin: auto;
    padding-bottom: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-logo img {
    width: 230px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    margin: 7px 0 0;
    color: #b9c8d8;
    font-size: .9rem;
}

.footer-find-us {
    min-width: 0;
    text-align: right;
}

.footer-find-us h2,
.footer-social-heading {
    margin: 0 0 8px;
    color: var(--white);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.footer-social-group {
    text-align: left;
}

.footer-find-us address {
    display: grid;
    gap: 4px;
    color: #b9c8d8;
    font-size: .9rem;
    font-style: normal;
    line-height: 1.55;
}

.footer-phone {
    margin: 8px 0 0;
    color: #b9c8d8;
    font-size: .88rem;
}

.footer-phone a:hover,
.footer-phone a:focus-visible {
    color: var(--cyan);
}

.footer-bottom {
    max-width: var(--content-width);
    margin: 18px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: #b9c8d8;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    color: var(--cyan);
    transform: translateY(-2px);
}

.footer-social-link:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 2px;
}

.footer-social-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: currentColor;
}

.footer-zalo-icon {
    width: 32px;
    height: 14px;
    flex: 0 0 32px;
}

.copyright {
    margin: 0;
    color: #91a5ba;
    font-size: .75rem;
}

/* Minimal placeholder pages share the home page's header and footer. */
.simple-page-main {
    min-height: calc(100svh - 180px);
    display: grid;
    place-items: center;
    padding: 150px 8% 72px;
    background: linear-gradient(145deg, #f7faff 0%, #eaf2fb 100%);
}

.simple-page-content {
    width: min(100%, 760px);
    margin: auto;
    text-align: center;
}

.simple-page-content h1 {
    margin: 0 0 16px;
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.simple-page-content p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--text);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
}

/* Pro Shop showcase */
.shop-main-section {
    display: flex;
    min-height: auto;
    align-items: center;
    padding: 156px clamp(24px, 8vw, 120px) 44px;
    color: var(--navy);
    background: #EAF2FB;
}

.shop-main-section .section-label {
    color: var(--blue);
}

.shop-main-inner {
    width: min(100%, 1320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: .94fr 1.06fr;
    align-items: center;
    gap: clamp(36px, 6vw, 82px);
}

.shop-main-copy h1 {
    max-width: 620px;
    margin: 0 0 17px;
    font-size: clamp(2.8rem, 4.6vw, 4.2rem);
    line-height: .99;
    letter-spacing: -.045em;
}

.shop-main-description {
    max-width: 550px;
    margin: 0;
    color: var(--text);
    font-size: 1.04rem;
    line-height: 1.7;
}

.shop-details {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.shop-detail-label {
    margin: 0;
    color: var(--blue);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.shop-detail-list {
    max-width: 580px;
    margin: 6px 0 0;
    color: var(--navy);
    font-size: .96rem;
    font-weight: 600;
    line-height: 1.65;
}

.shop-detail-list span {
    padding: 0 3px;
    color: var(--blue);
}

.shop-main-section .shop-whatsapp-button {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 18px 32px;
    box-sizing: border-box;
    font-size: .8rem;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.shop-photo-placeholder {
    position: relative;
    isolation: isolate;
    display: flex;
    width: 100%;
    max-width: 600px;
    min-height: 340px;
    aspect-ratio: 1.35 / 1;
    justify-self: end;
    align-items: flex-end;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 5px;
    background: linear-gradient(135deg, #123b60, #1f6884 60%, #087b9b);
}

.shop-photo-placeholder::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 12%;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 3px;
    background: linear-gradient(90deg, transparent calc(50% - .5px), rgba(255, 255, 255, .35) 50%, transparent calc(50% + .5px)), linear-gradient(0deg, transparent calc(50% - .5px), rgba(255, 255, 255, .24) 50%, transparent calc(50% + .5px));
}

.shop-photo-placeholder::after {
    content: "";
    position: absolute;
    top: 25%;
    right: 24%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 22px rgba(24, 184, 220, .72);
}

.shop-photo-placeholder::before,
.shop-photo-placeholder::after {
    content: none;
}

.shop-photo-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}

.shop-photo-placeholder span {
    position: relative;
    z-index: 1;
    color: var(--white);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-shadow: 0 1px 7px rgba(4, 19, 38, .85);
}

@media (max-width: 900px) {
    .shop-main-section {
        min-height: auto;
        padding-top: 156px;
        padding-bottom: 44px;
    }

    .shop-main-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .shop-photo-placeholder {
        min-height: 300px;
        aspect-ratio: 1.65 / 1;
    }
}

@media (max-width: 680px) {
    .shop-main-section {
        padding: 124px 7% 36px;
    }

    .shop-main-copy h1 {
        font-size: clamp(2.65rem, 10vw, 3.8rem);
    }

    .shop-main-description {
        font-size: 1rem;
    }

    .shop-details {
        gap: 12px;
        margin-top: 16px;
    }

    .shop-photo-placeholder {
        min-height: 220px;
        aspect-ratio: 1.35 / 1;
        padding: 14px;
    }

    .shop-photo-placeholder span {
        font-size: .54rem;
        letter-spacing: .08em;
    }
}

/* Community page */
.community-hero {
    position: relative;
    display: flex;
    min-height: 680px;
    height: 100svh;
    max-height: 960px;
    align-items: center;
    overflow: hidden;
    padding: 142px clamp(24px, 8vw, 120px) 112px;
    color: var(--white);
    background: var(--navy);
}

.community-hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.community-carousel-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--navy);
    touch-action: pan-y;
}

.community-carousel-frame::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(4, 19, 40, .91) 0%, rgba(4, 19, 40, .76) 43%, rgba(4, 19, 40, .32) 100%), linear-gradient(0deg, rgba(4, 19, 40, .42), transparent 38%);
}

.community-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity .8s ease, visibility 0s linear .8s;
}

.community-slide.is-active {
    z-index: 1;
    visibility: visible;
    opacity: 1;
    transition: opacity .8s ease, visibility 0s linear 0s;
}

.community-photo,
.community-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.community-photo-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.community-photo {
    object-fit: cover;
    object-position: center 35%;
}

.community-photo-hi-five {
    height: 106%;
    object-position: 66% 0%;
}

.community-photo-soawapa {
    object-position: 60% 5%;
}

.community-photo-kristi {
    object-position: 58% 35%;
}

.community-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0b3157, #34728a);
}

.community-placeholder-rally {
    background: linear-gradient(135deg, #082747, #28677e);
}

.community-placeholder-play {
    background: linear-gradient(135deg, #092746, #12496d 60%, #087b9b);
}

.community-placeholder svg {
    width: min(76%, 1050px);
    height: 76%;
    opacity: .9;
}

.community-placeholder-label {
    position: absolute;
    left: clamp(24px, 8vw, 120px);
    bottom: 30px;
    color: rgba(255, 255, 255, .66);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.community-hero-content {
    position: relative;
    z-index: 2;
    width: min(100%, 1320px);
    margin: 0 auto;
}

.community-hero .section-label {
    margin-bottom: 18px;
}

.community-hero h1 {
    max-width: 920px;
    margin: 0 0 20px;
    font-size: clamp(3rem, 5.6vw, 5.4rem);
    line-height: .98;
    letter-spacing: -.045em;
}

.community-hero-content > p:not(.section-label) {
    max-width: 590px;
    margin: 0;
    color: #e1eaf3;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.75;
}

.community-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.community-hero-actions .community-join-button {
    margin-top: 0;
}

.community-carousel-controls {
    position: absolute;
    right: clamp(24px, 8vw, 120px);
    bottom: 26px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 11px;
}

.community-carousel-control {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    color: var(--white);
    background: rgba(4, 19, 38, .36);
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.community-carousel-control:hover,
.community-carousel-control:focus-visible {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(4, 19, 38, .72);
}

.community-carousel-control svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.community-carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.community-carousel-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.community-carousel-dots button[aria-pressed="true"] {
    border-color: var(--cyan);
    background: var(--cyan);
    transform: scale(1.2);
}

.community-carousel-dots button:focus-visible,
.community-carousel-control:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}

.community-events {
    padding-top: clamp(52px, 5vw, 72px);
    padding-bottom: clamp(52px, 5vw, 72px);
    background: #eaf2fb;
}

.community-events-inner {
    width: min(100%, 1320px);
    margin: 0 auto;
}

.community-events-heading {
    margin-bottom: 26px;
}

.community-events-heading h2,
.community-connect-heading h2 {
    margin: 0;
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.community-event-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3.5vw, 48px);
}

.community-event-category {
    min-width: 0;
}

.community-event-category-photo {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 170px;
    aspect-ratio: 1.95 / 1;
    align-items: flex-end;
    overflow: hidden;
    padding: 16px;
    border-radius: 4px;
    background: linear-gradient(135deg, #0b3157, #34728a);
}

.community-event-category-photo::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 12%;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 3px;
    background: linear-gradient(90deg, transparent calc(50% - .5px), rgba(255, 255, 255, .36) 50%, transparent calc(50% + .5px)), linear-gradient(0deg, transparent calc(50% - .5px), rgba(255, 255, 255, .28) 50%, transparent calc(50% + .5px));
}

.community-event-category-photo::after {
    content: "";
    position: absolute;
    top: 25%;
    right: 24%;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 22px rgba(24, 184, 220, .72);
}

.social-event-photo::before,
.social-event-photo::after,
.tournament-event-photo::before,
.tournament-event-photo::after {
    content: none;
}

.social-event-photo img,
.tournament-event-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-event-photo img {
    object-position: center 55%;
}

.tournament-event-photo img {
    object-position: center 0%;
}

.tournament-event-photo {
    background: linear-gradient(135deg, #092746, #125878 62%, #087b9b);
}

.community-event-category-photo span {
    position: relative;
    z-index: 1;
    color: var(--white);
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-shadow: 0 1px 7px rgba(4, 19, 38, .85);
}

.community-event-category h3 {
    margin: 17px 0 7px;
    color: var(--navy);
    font-size: 1.2rem;
    line-height: 1.2;
    letter-spacing: .04em;
}

.community-event-category p {
    max-width: 640px;
    margin: 0;
    color: var(--text);
    font-size: .96rem;
    line-height: 1.68;
}

.community-events-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 26px auto 0;
    color: var(--navy);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .07em;
    transition: color .2s ease, gap .2s ease;
}

.community-events-inner > .community-events-link {
    display: flex;
    width: fit-content;
}

.community-events-link:hover {
    gap: 12px;
    color: #087b9b;
}

.community-connect {
    padding-top: clamp(54px, 5.5vw, 76px);
    padding-bottom: clamp(54px, 5.5vw, 76px);
    color: var(--white);
    background: var(--navy);
    border-top: 3px solid var(--cyan);
}

.community-connect-inner {
    width: min(100%, 1320px);
    margin: 0 auto;
}

.community-connect-heading {
    margin-bottom: 24px;
}

.community-social-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, .2);
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.community-social-link {
    display: flex;
    min-width: 0;
    min-height: 72px;
    align-items: center;
    gap: 13px;
    padding: 14px 20px;
    border-right: 1px solid rgba(255, 255, 255, .2);
    color: #e7f0f8;
    font-size: 1rem;
    font-weight: 700;
    transition: color .2s ease, background-color .2s ease;
}

.community-social-link:last-child {
    border-right: 0;
}

.community-social-link svg {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.community-social-link:hover {
    color: var(--cyan);
    background: rgba(255, 255, 255, .04);
}

.community-social-link.is-whatsapp {
    color: var(--white);
    background: rgba(24, 184, 220, .11);
    box-shadow: inset 0 -3px 0 var(--cyan);
}

.community-social-link.is-whatsapp:hover {
    background: rgba(24, 184, 220, .19);
}

.community-social-arrow {
    margin-left: auto;
    color: var(--cyan);
    font-size: 1.15rem;
}

.community-plan-event {
    padding-top: clamp(58px, 5.5vw, 78px);
    padding-bottom: clamp(58px, 5.5vw, 78px);
    color: var(--navy);
    background: #f2f7fb;
    border-top: 1px solid #dce8f2;
}

.community-plan-event-inner {
    width: min(100%, 1320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    grid-template-areas: "copy gallery";
    align-items: center;
    gap: clamp(36px, 6vw, 78px);
}

.community-plan-event-copy {
    grid-area: copy;
}

.community-event-photo-gallery {
    grid-area: gallery;
}

.community-plan-event-copy h2 {
    max-width: 620px;
    margin: 0 0 18px;
    font-size: clamp(2.3rem, 4vw, 3.7rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.community-plan-event-description,
.community-plan-event-support {
    max-width: 620px;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.75;
}

.community-plan-event-description {
    margin: 0 0 12px;
}

.community-plan-event-support {
    margin: 0;
}

.community-event-contact {
    margin-top: 22px;
    white-space: nowrap;
}

.community-event-photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.community-event-photo-frame {
    position: relative;
    isolation: isolate;
    display: grid;
    min-width: 0;
    aspect-ratio: 1.42 / 1;
    align-items: end;
    overflow: hidden;
    margin: 0;
    border-radius: 4px;
    background: linear-gradient(135deg, #0b3157, #34728a);
}

.community-event-photo {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 900px) {
    .community-plan-event-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "gallery";
        gap: 32px;
    }
}

@media (max-width: 680px) {
    .community-plan-event {
        padding: 50px 7%;
    }

    .community-plan-event-copy h2 {
        font-size: clamp(2.2rem, 9vw, 3.2rem);
    }

    .community-plan-event-description,
    .community-plan-event-support {
        font-size: .96rem;
    }

    .community-event-photo-gallery {
        gap: 10px;
    }

}

/* Play & Learn page */
.play-page-main {
    padding-top: 106px;
}

.play-page-main .play-courts {
    padding: 64px clamp(24px, 7.5vw, 120px);
    color: var(--navy);
    background: var(--white);
}

.play-courts-inner {
    width: min(100%, 1320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 4vw, 58px);
}

.play-courts-content {
    width: 100%;
    min-width: 0;
}

.play-courts h1 {
    margin: 0 0 16px;
    color: var(--navy);
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.play-courts-description {
    max-width: 660px;
    margin: 0;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.75;
}

.play-page-main .play-courts-image {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    justify-self: end;
    border-radius: 7px;
}

.play-page-main .court-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 0;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.play-page-main .court-highlights li {
    min-width: 0;
    padding: 0 14px;
    border-left: 1px solid rgba(24, 184, 220, .48);
}

.play-page-main .court-highlights li:first-child {
    padding-left: 0;
    border-left: 0;
}

.play-page-main .court-highlights strong::before {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 7px 3px 0;
    border-radius: 50%;
    background: var(--cyan);
    content: "";
}

.play-page-main .court-highlights strong {
    display: block;
    color: var(--navy);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
}

.play-page-main .court-highlights span {
    display: block;
    margin-top: 6px;
    color: var(--text);
    font-size: .84rem;
    line-height: 1.4;
}

.play-page-main .play-courts-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 680px) {
    .play-page-main .play-courts {
        padding: 38px 7%;
    }

    .play-courts-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .play-courts-description {
        max-width: none;
        font-size: 1rem;
    }

    .play-page-main .court-highlights {
        margin-top: 16px;
    }

    .play-page-main .court-highlights strong {
        font-size: 1.16rem;
    }

    .play-page-main .court-highlights li {
        padding-right: 8px;
        padding-left: 8px;
    }

    .play-page-main .court-highlights li:first-child {
        padding-left: 0;
    }

    .play-page-main .court-highlights span {
        font-size: .76rem;
    }
}

.coaching.section {
    color: var(--white);
    background: var(--navy);
}

.play-page-main .coaching.section {
    padding-top: 34px;
    padding-bottom: 36px;
}

.play-page-main #coaching .coaching-inner {
    width: min(100%, 1320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(36px, 6vw, 76px);
}

.coaching-heading h2 {
    max-width: 600px;
    margin: 0;
    font-size: clamp(2.8rem, 4.4vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.coaching-copy {
    padding-left: clamp(28px, 4vw, 60px);
    border-left: 1px solid rgba(24, 184, 220, .55);
}

.play-page-main #coaching .coaching-copy p {
    max-width: 500px;
    margin: 0 0 14px;
    color: #d0ddeb;
    font-size: 1.12rem;
    line-height: 1.8;
}

.play-page-main .coaches.section {
    padding-top: 52px;
    padding-bottom: 56px;
    background: #E8F1FA;
    border-top: 1px solid #dce8f2;
}

.coaches-inner {
    width: min(100%, 1320px);
    margin: 0 auto;
}

.coaches-heading {
    margin-bottom: 22px;
}

.coaches-heading h2 {
    margin: 0 0 8px;
    font-size: clamp(2.2rem, 3.5vw, 3.3rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.coaches-heading p {
    margin: 0;
    color: var(--text);
    font-size: 1.05rem;
}

.coach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.coach-profile {
    min-width: 0;
    overflow: hidden;
    background: #f7faff;
    border: 1px solid #dce8f2;
    border-radius: 7px;
    transition: opacity .55s ease var(--coach-delay, 0s), transform .55s cubic-bezier(.2, .7, .2, 1) var(--coach-delay, 0s), box-shadow .2s ease, border-color .2s ease;
}

.coach-profile:nth-child(2) { --coach-delay: .08s; }
.coach-profile:nth-child(3) { --coach-delay: .16s; }

.coach-portrait {
    overflow: hidden;
    aspect-ratio: 1.45 / 1;
    background: var(--navy);
}

.coach-portrait svg {
    display: block;
    width: 100%;
    height: 100%;
}

.coach-portrait.coach-portrait-theo {
    aspect-ratio: 4 / 5;
}

.coach-portrait-theo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.coach-portrait.coach-portrait-thomas {
    aspect-ratio: 4 / 5;
}

.coach-portrait-thomas img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.coach-portrait.coach-portrait-soawapa {
    aspect-ratio: 4 / 5;
}

.coach-portrait-soawapa img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.coach-profile-body {
    padding: 17px 18px 19px;
}

.coach-profile-body h3 {
    margin: 0 0 3px;
    font-size: 1.25rem;
    line-height: 1.25;
}

.coach-role {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.coach-bio {
    margin: 0;
    color: var(--text);
    font-size: .94rem;
    line-height: 1.65;
}

.play-page-main .beginner.section {
    padding-top: 56px;
    padding-bottom: 60px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .coach-profile:hover {
        transform: translateY(-3px);
        border-color: rgba(24, 184, 220, .65);
        box-shadow: 0 12px 28px rgba(7, 27, 53, .1);
    }
}

.beginner-teaser.section {
    padding-top: 54px;
    padding-bottom: 58px;
    background: #E4EFFA;
    border-top: 1px solid #dce8f2;
    text-align: center;
}

.beginner-teaser-content {
    width: min(100%, 760px);
    margin: 0 auto;
}

.beginner-teaser-content h2 {
    margin: 0 0 12px;
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.beginner-teaser-content h2 span {
    color: var(--blue);
}

.beginner-teaser-content > p:not(.section-label) {
    margin: 0 auto 8px;
    color: var(--text);
    font-size: 1.02rem;
}

/* Subtle reveal, with a no-JS fallback */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity .55s ease, transform .55s ease;
}

.about-content> :nth-child(1) {
    transition-delay: .03s;
}

.about-content> :nth-child(2) {
    transition-delay: .11s;
}

.about-content> :nth-child(3) {
    transition-delay: .19s;
}

.about-content> :nth-child(4) {
    transition-delay: .27s;
}

.about-content> :nth-child(5) {
    transition-delay: .35s;
}

.js-ready .reveal.pending {
    opacity: 0;
    transform: translateY(18px);
}

.js-ready .reveal.pending.visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 980px) {
    .site-header {
        padding-left: 6%;
        padding-right: 6%;
    }

    .logo img {
        width: 260px;
        height: 64px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 2;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 15px 6% 24px;
        background: var(--navy);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 2px;
    }

    .main-nav a[aria-current="page"]:not(.nav-button) {
        box-shadow: inset 3px 0 0 var(--cyan);
        padding-left: 12px;
        padding-bottom: 12px;
    }

    .main-nav .nav-button {
        justify-content: center;
        margin-top: 8px;
        padding: 13px 20px;
    }
}

@media (max-width: 900px) {
    .site-header {
        padding-left: 6%;
        padding-right: 6%;
    }

    .logo img {
        width: 280px;
        height: 70px;
    }

    .main-nav { gap: 0; }

    .beginner-layout {
        grid-template-columns: 1fr;
        gap: 34px;
        max-width: 680px;
    }

    .beginner-heading {
        margin-bottom: 32px;
    }

    .about,
    .app {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about.section,
    .app.section {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .app.section {
        padding-bottom: 48px;
    }

    .play-page-main #coaching .coaching-inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .coaches.section {
        padding: 58px 6% 64px;
    }

    .coach-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .coach-profile-body {
        padding: 18px;
    }

    .play-page-main #coaching .coaching-copy {
        padding: 24px 0 0;
        border-top: 1px solid rgba(24, 184, 220, .55);
        border-left: 0;
    }

    .about-image {
        order: 2;
    }

    .app-image {
        order: 2;
    }

    .about-image img {
        height: 380px;
    }

}

@media (max-width: 768px) {
    .site-header {
        padding: 6px 5%;
    }

    .header-inner,
    .site-header.scrolled .header-inner {
        min-height: 62px;
    }

    .logo img,
    .site-header.scrolled .logo img {
        width: 210px;
        height: 54px;
    }

    .menu-toggle {
        display: block;
    }

    .play-page-main {
        padding-top: 74px;
    }

    .shop-page-main .shop-main-section {
        padding-top: 124px;
    }

    .community-hero {
        padding-top: 112px;
    }
}

@media (max-width: 680px) {
    html {
        scroll-padding-top: 78px;
    }

    section {
        scroll-margin-top: 78px;
    }

    .site-header {
        padding: 6px 5%;
        background: rgba(7, 27, 53, .28);
    }

    .site-header.inner-page-header {
        background: var(--navy);
    }

    .header-inner,
    .site-header.scrolled .header-inner {
        min-height: 62px;
    }

    .logo img,
    .site-header.scrolled .logo img {
        width: 210px;
        height: 54px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 2;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 15px 6% 24px;
        background: var(--navy);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 2px;
    }

    .main-nav .nav-button {
        justify-content: center;
        margin-top: 8px;
        padding: 13px 20px;
    }

    .site-header.scrolled {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        min-height: 640px;
        height: 92svh;
        max-height: 820px;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(4, 19, 40, .78), rgba(4, 19, 40, .42) 75%, rgba(4, 19, 40, .22));
    }

    .hero-content {
        padding: 72px 7% 0;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 11vw, 4.5rem);
    }

    .hero-description {
        max-width: 410px;
        font-size: 1.02rem;
    }

    .hero-actions {
        width: min(100%, 320px);
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .hero-button {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 68px 7%;
    }

    .about.section,
    .app.section {
        padding: 50px 7%;
    }

    .app.section {
        padding-bottom: 42px;
    }

    .play-page-main {
        padding-top: 74px;
    }

    .play-page-main .play-courts {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .play-page-main .coaching.section {
        padding-top: 30px;
        padding-bottom: 34px;
    }

    .play-page-main #coaching .coaching-copy p {
        font-size: 1rem;
    }

    .play-page-main .coaches.section { padding-top: 44px; padding-bottom: 48px; }

    .coaches-heading { margin-bottom: 22px; }

    .coach-grid { grid-template-columns: 1fr; gap: 16px; }

    .play-page-main .beginner.section { padding: 48px 7% 52px; }

    .coach-portrait { aspect-ratio: 1.8 / 1; }

    .beginner-teaser.section {
        padding: 48px 7% 52px;
    }

    .beginner-teaser-content h2 {
        font-size: clamp(2.2rem, 8vw, 3.1rem);
    }

    .beginner-teaser-content > p:not(.section-label) {
        font-size: .96rem;
    }

    .beginner {
        padding-top: 52px;
        padding-bottom: 54px;
    }

    .beginner-heading {
        margin-bottom: 26px;
    }

    .beginner-heading h2 {
        font-size: clamp(2.55rem, 9vw, 3.4rem);
    }

    .beginner-heading>p:last-child {
        font-size: .96rem;
    }

    .court-illustration {
        padding: 13px 10px 11px;
    }

    .court-legend {
        gap: 12px;
        font-size: .53rem;
    }

    .beginner-layout {
        gap: 26px;
    }

    .guide-item {
        grid-template-columns: 38px 1fr;
        gap: 11px;
        padding: 13px 0;
    }

    .guide-number {
        width: 34px;
        height: 34px;
        font-size: .72rem;
    }

    .guide-item h3 {
        font-size: .88rem;
    }

    .guide-item p {
        font-size: .88rem;
        line-height: 1.5;
    }

    .about h2,
    .app h2 {
        font-size: clamp(2.7rem, 10vw, 3.8rem);
    }

    .about-content p:not(.section-label),
    .app-content>p:not(.section-label) {
        font-size: 1rem;
    }

    .about-image img {
        height: 300px;
    }

    .app-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .js-ready .app-image.reveal.pending {
        transform: translateY(16px);
    }

    .js-ready .app-image.reveal.visible {
        transform: translateY(0);
    }

    .download {
        padding: 64px 7%;
    }

    .download h2 {
        font-size: clamp(2.8rem, 10vw, 4.3rem);
    }

    .download-content>p:not(.section-label) {
        font-size: 1rem;
    }

    .store-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .store-badge {
        width: min(100%, 210px);
        height: 64px;
        min-height: 64px;
    }

    .site-footer {
        padding: 30px 7% 18px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 18px;
        padding-bottom: 18px;
    }

    .footer-find-us {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 14px;
    }

    .footer-social-links {
        gap: 12px;
    }

    .simple-page-main {
        min-height: calc(100svh - 230px);
        padding: 118px 7% 56px;
    }

    .community-hero {
        min-height: 650px;
        height: 94svh;
        padding: 112px 7% 96px;
    }

    .community-hero h1 {
        max-width: 600px;
        font-size: clamp(2.65rem, 10vw, 3.8rem);
    }

    .community-hero-content > p:not(.section-label) {
        font-size: 1rem;
    }

    .community-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .community-carousel-controls {
        right: 7%;
        bottom: 20px;
    }

    .community-placeholder svg {
        width: 94%;
        height: 66%;
    }

    .community-placeholder-label {
        left: 7%;
        bottom: 18px;
        font-size: .52rem;
    }

    .community-events {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .community-event-categories {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .community-event-category-photo {
        aspect-ratio: 1.8 / 1;
        min-height: 150px;
    }

    .community-events-link {
        margin-top: 22px;
    }

    .community-events-heading h2,
    .community-connect-heading h2 {
        font-size: clamp(2.2rem, 9vw, 3.2rem);
    }

    .community-connect {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .community-social-links {
        grid-template-columns: 1fr;
    }

    .community-social-link {
        min-height: 66px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .2);
    }

    .community-social-link:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 380px) {

    .community-event-contact {
        gap: 10px;
        padding: 14px 16px;
        font-size: .78rem;
    }

    .logo img,
    .site-header.scrolled .logo img {
        width: 180px;
    }

    .hero-bottom {
        left: 7%;
        right: 7%;
        font-size: .55rem;
        letter-spacing: .08em;
    }

    .court-heading {
        font-size: .62rem;
    }

    .court-legend {
        gap: 8px;
        font-size: .47rem;
    }
}

@media (max-width: 768px) {
    .hero::after {
        background-position: 84% center;
    }
}

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

    .hero::after {
        animation: none;
        transform: none;
    }

    .community-slide,
    .community-slide.is-active {
        transition: none;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0ms !important;
    }

    .reveal,
    .js-ready .reveal.pending {
        opacity: 1;
        transform: none;
    }

    .app-image.visible img {
        animation: none;
    }
}

@media (max-width: 900px) {
    .shop-main-section {
        min-height: auto;
        padding-top: 156px;
        padding-bottom: 44px;
    }

    .shop-main-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .shop-photo-placeholder {
        min-height: 300px;
        aspect-ratio: 1.65 / 1;
    }
}

@media (max-width: 680px) {
    .shop-main-section {
        padding: 124px 7% 36px;
    }

    .shop-main-copy h1 {
        font-size: clamp(2.65rem, 10vw, 3.8rem);
    }

    .shop-main-description {
        font-size: 1rem;
    }

    .shop-details {
        gap: 12px;
        margin-top: 16px;
    }

    .shop-photo-placeholder {
        min-height: 220px;
        aspect-ratio: 1.35 / 1;
        padding: 14px;
    }

    .shop-photo-placeholder span {
        font-size: .54rem;
        letter-spacing: .08em;
    }
}

@media (max-width: 380px) {
    .shop-main-section .shop-whatsapp-button {
        white-space: normal;
    }
}
