/* ============================================
   courts.studio - Styles
   Neomorphic Pastoral / Earth-Tones / 1970s Clay Court
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Palette */
    --parchment-cream: #F5EDE0;
    --warm-clay: #E8D5C0;
    --dark-umber: #4A3728;
    --burnt-sienna: #5C3D2E;
    --raw-ochre: #8B6914;
    --forest-green: #3B5E3A;
    --terracotta-blush: #C47D56;
    --warm-shadow: #A08068;
    --cream-highlight: #FFF8EE;
    --clay-shadow: #D4BFA8;
    --warm-brown: #6B5744;

    /* Neomorphic Shadows */
    --neo-raised: 8px 8px 16px #D4BFA8, -8px -8px 16px #FFF8EE;
    --neo-inset: inset 6px 6px 12px #D4BFA8, inset -6px -6px 12px #FFF8EE;
    --neo-hover: 14px 14px 28px #D4BFA8, -14px -14px 28px #FFF8EE;
    --neo-pressed: inset 4px 4px 8px #D4BFA8, inset -4px -4px 8px #FFF8EE;

    /* Typography sizes */
    --hero-size: clamp(2.8rem, 7vw, 5.5rem);
    --heading-size: clamp(1.4rem, 3vw, 2.4rem);
    --body-size: clamp(1rem, 1.3vw, 1.15rem);
    --mono-size: clamp(0.85rem, 1vw, 0.95rem);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Lora', Georgia, serif;
    font-weight: 400;
    font-size: var(--body-size);
    line-height: 1.72;
    color: var(--dark-umber);
    background-color: var(--parchment-cream);
    overflow-x: hidden;
}

a {
    color: var(--terracotta-blush);
    text-decoration: none;
    transition: box-shadow 0.25s ease-in-out, transform 0.25s ease-in-out;
}

a:hover {
    color: var(--burnt-sienna);
}

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

/* ---------- Typography ---------- */
.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: var(--hero-size);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burnt-sienna);
    line-height: 1;
}

.section-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: var(--heading-size);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--raw-ochre);
    margin-bottom: 1.5rem;
}

.body-text {
    font-family: 'Lora', Georgia, serif;
    font-weight: 400;
    font-size: var(--body-size);
    line-height: 1.72;
    color: var(--dark-umber);
    margin-bottom: 1.2rem;
}

.mono-text {
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-weight: 400;
    font-size: var(--mono-size);
    color: var(--warm-brown);
}

.hero-subtitle {
    font-family: 'Lora', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    color: var(--warm-brown);
    margin-top: 1.2rem;
    line-height: 1.6;
}

/* ---------- Neomorphic Utilities ---------- */
.neo-raised {
    background-color: var(--parchment-cream);
    box-shadow: var(--neo-raised);
    border-radius: 16px;
    transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.neo-raised:hover {
    box-shadow: var(--neo-hover);
    transform: translateY(-6px);
}

.neo-raised:active {
    box-shadow: var(--neo-pressed);
    transform: translateY(1px);
}

.neo-inset {
    background-color: var(--parchment-cream);
    box-shadow: var(--neo-inset);
    border-radius: 16px;
}

/* Court 2 neomorphic elements on warm clay background */
.court-2 .neo-raised {
    background-color: var(--warm-clay);
    box-shadow: 8px 8px 16px #bfa78e, -8px -8px 16px #f5ebe0;
}

.court-2 .neo-raised:hover {
    box-shadow: 14px 14px 28px #bfa78e, -14px -14px 28px #f5ebe0;
    transform: translateY(-6px);
}

.court-2 .neo-inset {
    background-color: var(--warm-clay);
    box-shadow: inset 6px 6px 12px #bfa78e, inset -6px -6px 12px #f5ebe0;
}

/* Court 4 background - midway between parchment cream and warm clay */
.court-4 .neo-raised {
    background-color: #eee4d3;
    box-shadow: 8px 8px 16px #c9b69e, -8px -8px 16px #fff5e8;
}

.court-4 .neo-raised:hover {
    box-shadow: 14px 14px 28px #c9b69e, -14px -14px 28px #fff5e8;
    transform: translateY(-6px);
}

.court-4 .neo-inset {
    background-color: #eee4d3;
    box-shadow: inset 6px 6px 12px #c9b69e, inset -6px -6px 12px #fff5e8;
}

/* ---------- Chalk Dust Texture ---------- */
.chalk-dust-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: inherit;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect x='1' y='1' width='1' height='1' fill='%23A08068' opacity='0.03'/%3E%3Crect x='3' y='0' width='1' height='1' fill='%23A08068' opacity='0.03'/%3E%3Crect x='0' y='3' width='1' height='1' fill='%23A08068' opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: repeat;
    z-index: 0;
}

/* ---------- Scorecard Border ---------- */
.scorecard-border {
    border: 2px solid var(--terracotta-blush);
    outline: 1px solid var(--terracotta-blush);
    outline-offset: 4px;
}

/* ---------- Duotone Image Treatment ---------- */
.duotone-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) sepia(40%) brightness(1.05) contrast(1.1);
}

.duotone-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--burnt-sienna);
    opacity: 0.3;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.duotone-frame {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
    height: 100%;
}

/* ---------- Scoreboard Navigation ---------- */
.scoreboard-nav {
    position: fixed;
    top: 24px;
    left: 30px;
    z-index: 1000;
    background-color: var(--parchment-cream);
    box-shadow: var(--neo-raised);
    border-radius: 16px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
}

.scoreboard-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.scoreboard-title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burnt-sienna);
}

.scoreboard-links {
    display: flex;
    gap: 6px;
}

.scoreboard-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: var(--dark-umber);
    background-color: var(--parchment-cream);
    box-shadow: 4px 4px 8px #D4BFA8, -4px -4px 8px #FFF8EE;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.scoreboard-link:hover {
    box-shadow: inset 4px 4px 8px #D4BFA8, inset -4px -4px 8px #FFF8EE;
    transform: translateY(1px);
    color: var(--terracotta-blush);
}

/* Corner ornaments */
.corner-ornament {
    position: absolute;
    width: 10px;
    height: 10px;
    pointer-events: none;
}

.corner-tl {
    top: 6px;
    left: 6px;
    border-top: 2px solid var(--terracotta-blush);
    border-left: 2px solid var(--terracotta-blush);
}

.corner-tr {
    top: 6px;
    right: 6px;
    border-top: 2px solid var(--terracotta-blush);
    border-right: 2px solid var(--terracotta-blush);
}

.corner-bl {
    bottom: 6px;
    left: 6px;
    border-bottom: 2px solid var(--terracotta-blush);
    border-left: 2px solid var(--terracotta-blush);
}

.corner-br {
    bottom: 6px;
    right: 6px;
    border-bottom: 2px solid var(--terracotta-blush);
    border-right: 2px solid var(--terracotta-blush);
}

/* Mobile pill */
.mobile-pill {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background-color: var(--parchment-cream);
    box-shadow: var(--neo-raised);
    border-radius: 24px;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.12em;
    color: var(--burnt-sienna);
    transition: box-shadow 0.3s ease;
}

.mobile-pill:active {
    box-shadow: var(--neo-pressed);
}

.mobile-pill.expanded {
    display: none;
}

/* ---------- Court Sections ---------- */
.court {
    position: relative;
    min-height: 90vh;
    width: 100%;
    overflow: hidden;
}

.court-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px 0 120px;
    height: 100%;
}

/* ---------- Court 1 - The Entrance ---------- */
.court-1 {
    background-color: var(--parchment-cream);
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.court-1 .court-content {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    gap: 20px;
    align-items: center;
    width: 100%;
    padding-top: 80px;
}

.entrance-text {
    grid-column: 2 / 8;
    grid-row: 1;
    z-index: 3;
}

.entrance-photo {
    grid-column: 8 / 14;
    grid-row: 1;
    position: relative;
    height: 55vh;
    z-index: 2;
}

.entrance-image {
    background: linear-gradient(135deg, #c9a882 0%, #a07858 40%, #7a5a3e 70%, #5c3d2e 100%);
}

/* Chain-link overlay on right third */
.chainlink-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Crect x='0' y='0' width='40' height='40' fill='none' stroke='%23C47D56' stroke-width='1' opacity='0.12' transform='rotate(45 20 20)'/%3E%3C/svg%3E");
    background-size: 40px 40px;
    pointer-events: none;
}

.chainlink-pattern-svg {
    position: absolute;
    width: 0;
    height: 0;
}

/* ---------- Court Transitions ---------- */
.court-transition {
    height: 0;
    position: relative;
    z-index: 5;
}

.transition-1 {
    background: transparent;
}

.transition-2 {
    background: transparent;
}

.transition-3 {
    background: transparent;
}

/* Court clip-paths for diagonal transitions */
.court-1 {
    clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%);
}

.court-2 {
    clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 98%);
    margin-top: -2vh;
}

.court-3 {
    clip-path: polygon(0 0, 100% 2%, 100% 98%, 0 100%);
    margin-top: -2vh;
}

.court-4 {
    clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 100%);
    margin-top: -2vh;
}

/* ---------- Court 2 - The Surface ---------- */
.court-2 {
    background-color: var(--warm-clay);
    display: flex;
    align-items: center;
}

.court-2-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.surface-image {
    background: linear-gradient(160deg, #d4b896 0%, #b08a68 30%, #8a6848 60%, #6b5038 100%);
}

.court-2-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.philosophy-card {
    position: relative;
    width: 500px;
    max-width: 100%;
    padding: 48px 40px;
    z-index: 3;
    overflow: hidden;
    background-color: var(--warm-clay);
}

.philosophy-card > *:not(.chalk-dust-texture) {
    position: relative;
    z-index: 1;
}

.scoreboard-stats {
    display: flex;
    gap: 24px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--warm-clay);
}

.stat-number {
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--burnt-sienna);
    line-height: 1.2;
}

.stat-label {
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-weight: 400;
    font-size: 0.7rem;
    color: var(--warm-shadow);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Court line grid overlay */
.court-lines-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(0deg, transparent 119px, rgba(139, 105, 20, 0.1) 119px, rgba(139, 105, 20, 0.1) 120px, transparent 120px),
        linear-gradient(0deg, transparent 79px, rgba(139, 105, 20, 0.07) 79px, rgba(139, 105, 20, 0.07) 80px, transparent 80px),
        linear-gradient(90deg, transparent 119px, rgba(139, 105, 20, 0.1) 119px, rgba(139, 105, 20, 0.1) 120px, transparent 120px),
        linear-gradient(90deg, transparent 79px, rgba(139, 105, 20, 0.07) 79px, rgba(139, 105, 20, 0.07) 80px, transparent 80px);
    background-size: 120px 120px, 80px 80px, 120px 120px, 80px 80px;
}

/* ---------- Court 3 - The Net ---------- */
.court-3 {
    background-color: var(--parchment-cream);
    padding-top: 80px;
    padding-bottom: 80px;
}

.court-3-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

.court-3-heading {
    padding-left: 8%;
}

.net-line {
    width: 100%;
    margin: 2rem 0 3rem;
    overflow: visible;
}

.net-svg {
    width: 100%;
    height: 30px;
    display: block;
}

/* Projects grid - asymmetric */
.projects-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.1fr 0.9fr;
    gap: 24px;
    margin-bottom: 3rem;
    align-items: start;
}

.project-card {
    overflow: hidden;
    cursor: pointer;
}

.project-card-1 {
    height: 280px;
    margin-top: 0;
}

.project-card-2 {
    height: 220px;
    margin-top: 40px;
}

.project-card-3 {
    height: 260px;
    margin-top: 10px;
}

.project-card-4 {
    height: 200px;
    margin-top: 50px;
}

.project-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.project-image-1 {
    background: linear-gradient(145deg, #c9a882 0%, #9a7a5a 50%, #6b5038 100%);
}

.project-image-2 {
    background: linear-gradient(125deg, #b89878 0%, #8a6a4a 50%, #5c3d2e 100%);
}

.project-image-3 {
    background: linear-gradient(155deg, #d4b896 0%, #a88868 50%, #7a5a3e 100%);
}

.project-image-4 {
    background: linear-gradient(135deg, #c4a47c 0%, #947454 50%, #6b4e38 100%);
}

/* Project descriptions */
.project-descriptions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-left: 2%;
}

.project-desc {
    padding-right: 16px;
}

.project-ref {
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-weight: 400;
    font-size: var(--mono-size);
    color: var(--terracotta-blush);
    display: block;
    margin-bottom: 0.5rem;
}

.project-name {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--burnt-sienna);
    margin-bottom: 0.6rem;
}

.project-detail {
    font-family: 'Lora', Georgia, serif;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--warm-brown);
}

/* ---------- Tennis Ball Divider ---------- */
.tennis-ball-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    position: relative;
    z-index: 10;
    background-color: var(--parchment-cream);
}

.tennis-ball-svg {
    opacity: 0.7;
}

/* ---------- Court 4 - The Pavilion ---------- */
.court-4 {
    background-color: #eee4d3;
    padding-top: 80px;
    padding-bottom: 60px;
}

.court-4-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

.court-4-heading {
    padding-left: 5%;
}

.noticeboard {
    position: relative;
    padding: 60px 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    min-height: 400px;
    overflow: hidden;
}

.noticeboard > .chalk-dust-texture {
    border-radius: 16px;
}

.notice {
    position: relative;
    padding: 28px 24px;
    z-index: 1;
    background-color: #eee4d3;
}

.notice-1 {
    transform: rotate(-1deg);
}

.notice-2 {
    transform: rotate(1.5deg);
}

.notice-3 {
    transform: rotate(0.8deg);
}

.notice-4 {
    transform: rotate(-1.2deg);
}

.notice-title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--raw-ochre);
    margin-bottom: 0.8rem;
}

.notice-text {
    font-family: 'Lora', Georgia, serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--dark-umber);
    margin-bottom: 0.4rem;
}

.notice-email {
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-size: var(--mono-size);
    color: var(--terracotta-blush);
    margin-top: 0.6rem;
}

.notice-link {
    color: var(--terracotta-blush);
    text-decoration: none;
    font-family: 'Lora', Georgia, serif;
    transition: color 0.25s ease;
}

.notice-link:hover {
    color: var(--burnt-sienna);
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--dark-umber);
    padding: 32px 0;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px 0 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-mark {
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-size: var(--mono-size);
    color: var(--warm-clay);
}

.footer-note {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--warm-shadow);
}

/* ---------- Fade-in Animation ---------- */
.fade-element {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.fade-element:nth-child(1) { transition-delay: 0s; }
.fade-element:nth-child(2) { transition-delay: 0.1s; }
.fade-element:nth-child(3) { transition-delay: 0.2s; }
.fade-element:nth-child(4) { transition-delay: 0.3s; }
.fade-element:nth-child(5) { transition-delay: 0.4s; }
.fade-element:nth-child(6) { transition-delay: 0.5s; }

/* Court-level fade for major content blocks */
.court .entrance-text,
.court .entrance-photo,
.court .philosophy-card,
.court .court-3-heading,
.court .net-line,
.court .projects-grid,
.court .court-4-heading,
.court .noticeboard {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.court .entrance-text.visible,
.court .entrance-photo.visible,
.court .philosophy-card.visible,
.court .court-3-heading.visible,
.court .net-line.visible,
.court .projects-grid.visible,
.court .court-4-heading.visible,
.court .noticeboard.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger entrance elements */
.court .entrance-text.visible {
    transition-delay: 0s;
}

.court .entrance-photo.visible {
    transition-delay: 0.15s;
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 1024px) {
    .court-content {
        padding: 0 40px 0 50px;
    }

    .court-1 .court-content {
        grid-template-columns: repeat(8, 1fr);
        gap: 16px;
    }

    .entrance-text {
        grid-column: 1 / 6;
    }

    .entrance-photo {
        grid-column: 5 / 9;
        height: 40vh;
    }

    .philosophy-card {
        width: 420px;
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .project-card-1,
    .project-card-2,
    .project-card-3,
    .project-card-4 {
        height: 220px;
        margin-top: 0;
    }

    .project-descriptions {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .noticeboard {
        padding: 40px 32px;
        gap: 24px;
    }

    .footer-content {
        padding: 0 40px 0 50px;
    }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 768px) {
    .scoreboard-nav {
        display: none;
    }

    .mobile-pill {
        display: block;
    }

    .court-content {
        padding: 0 20px 0 24px;
    }

    .court-1 .court-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        padding-top: 100px;
    }

    .entrance-text {
        grid-column: 1 / 4;
        grid-row: 1;
    }

    .entrance-photo {
        grid-column: 1 / 5;
        grid-row: 2;
        height: 35vh;
        margin-top: 2rem;
    }

    .court-2-bg {
        width: 100%;
        height: 40%;
        opacity: 0.4;
    }

    .court-2-content {
        justify-content: center;
    }

    .philosophy-card {
        width: 100%;
    }

    .scoreboard-stats {
        justify-content: center;
    }

    .court-3-heading {
        padding-left: 0;
    }

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

    .project-card-1,
    .project-card-2,
    .project-card-3,
    .project-card-4 {
        height: 180px;
        margin-top: 0;
    }

    .project-descriptions {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .noticeboard {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 20px;
    }

    .notice-1, .notice-2, .notice-3, .notice-4 {
        transform: rotate(0deg);
    }

    .court-4-heading {
        padding-left: 0;
    }

    .footer-content {
        padding: 0 24px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .chainlink-overlay {
        width: 50%;
        opacity: 0.6;
    }

    /* Simpler clip-paths on mobile */
    .court-1 {
        clip-path: polygon(0 0, 100% 0, 100% 99%, 0 100%);
    }

    .court-2 {
        clip-path: polygon(0 1%, 100% 0, 100% 100%, 0 99%);
    }

    .court-3 {
        clip-path: polygon(0 0, 100% 1%, 100% 99%, 0 100%);
    }

    .court-4 {
        clip-path: polygon(0 1%, 100% 0, 100% 100%, 0 100%);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

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

    .project-card-1,
    .project-card-2,
    .project-card-3,
    .project-card-4 {
        height: 200px;
    }

    .stat-circle {
        width: 76px;
        height: 76px;
    }

    .stat-number {
        font-size: 0.95rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }
}
