:root {
    --site-font:
        Poppins, Inter, ui-sans-serif,
        system-ui, sans-serif;

    --site-navy:#071736;
    --site-green:#c7f000;
    --site-bg:#f4f7f1;
    --site-text:#071736;
    --site-muted:#667085;
    --site-radius:24px;
}

* {
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
}

body {
    margin:0;
    color:var(--site-text);
    background:#fff;
    font-family:var(--site-font);
    -webkit-font-smoothing:antialiased;
}

button,
a {
    font:inherit;
}

button {
    cursor:pointer;
}

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

#pm-site-loading {
    min-height:100vh;
    display:grid;
    place-content:center;
    text-align:center;
    gap:14px;
    background:#071736;
    color:#fff;
}

.pm-loader-ball {
    width:30px;
    height:30px;
    margin:auto;
    border-radius:50%;
    background:#c7f000;
    animation:pm-spin 1s ease-in-out infinite alternate;
}

@keyframes pm-spin {
    to {
        transform:translateX(18px) rotate(360deg);
    }
}

.pm-public-site {
    min-height:100vh;
}

.pm-site-header {
    position:sticky;
    top:0;
    z-index:50;
    min-height:76px;
    padding:14px clamp(20px,5vw,72px);
    display:flex;
    align-items:center;
    gap:28px;
    background:var(--header-bg);
    color:var(--header-text);
    box-shadow:0 8px 32px rgba(2,10,25,.08);
}

.pm-site-brand {
    display:flex;
    align-items:center;
    gap:8px;
    margin-right:auto;
    font-size:19px;
    font-weight:800;
    letter-spacing:-.03em;
}

.pm-site-brand img {
    display:block;
    width:auto;
    max-width:180px;
    max-height:48px;
    object-fit:contain;
}

.pm-brand-dot {
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--button-bg);
}

.pm-site-nav {
    display:flex;
    align-items:center;
    gap:24px;
}

.pm-site-nav button,
.pm-footer-nav button {
    border:0;
    padding:5px 0;
    background:none;
    color:inherit;
}

.pm-header-actions {
    display:flex;
    align-items:center;
    gap:10px;
}

.pm-owner-link {
    padding:11px 14px;
    border:1px solid currentColor;
    border-radius:999px;
    opacity:.86;
}

.pm-header-book {
    padding:12px 18px;
    border-radius:999px;
    background:var(--button-bg);
    color:var(--button-text);
    font-weight:800;
}

.pm-site-hero {
    min-height:min(78vh,780px);
    padding:100px clamp(24px,7vw,110px);
    display:flex;
    align-items:flex-end;
    color:#fff;
}

.pm-site-hero-copy {
    width:min(840px,100%);
}

.pm-site-hero small,
.pm-section-heading small,
.pm-about-copy small,
.pm-site-error small {
    display:block;
    margin-bottom:12px;
    font-size:12px;
    font-weight:800;
    letter-spacing:.18em;
}

.pm-site-hero h1 {
    margin:0;
    max-width:900px;
    font-size:clamp(52px,9vw,118px);
    line-height:.9;
    letter-spacing:-.065em;
}

.pm-site-hero p {
    margin:24px 0 32px;
    max-width:650px;
    font-size:clamp(18px,2vw,26px);
    line-height:1.5;
}

.pm-primary-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:50px;
    padding:0 22px;
    border-radius:999px;
    background:#c7f000;
    color:#071736;
    font-weight:800;
}

.pm-site-section {
    padding:
        clamp(72px,9vw,130px)
        clamp(24px,7vw,110px);
}

.pm-section-heading {
    margin-bottom:42px;
}

.pm-section-heading h2,
.pm-about-copy h2 {
    margin:0;
    font-size:clamp(38px,5vw,70px);
    line-height:1;
    letter-spacing:-.05em;
}

.pm-court-grid {
    display:grid;
    grid-template-columns:
        repeat(4,minmax(0,1fr));
    gap:18px;
}

.pm-court-card {
    min-height:260px;
    padding:26px;
    display:flex;
    flex-direction:column;
    border-radius:var(--site-radius);
    background:rgba(255,255,255,.9);
    box-shadow:
        0 24px 70px rgba(2,10,25,.08);
    backdrop-filter:blur(12px);
}

.pm-court-number {
    margin-bottom:auto;
    font-size:12px;
    font-weight:800;
    opacity:.5;
}

.pm-court-card h3 {
    margin:28px 0 8px;
    font-size:25px;
}

.pm-court-card small {
    color:var(--site-muted);
}

.pm-court-card a {
    margin-top:20px;
    font-weight:800;
}

.pm-gallery-grid {
    display:grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    grid-auto-rows:260px;
    gap:12px;
}

.pm-gallery-item {
    display:grid;
    place-items:center;
    border-radius:18px;
    background:rgba(7,23,54,.06);
    background-position:center;
    background-size:cover;
    overflow:hidden;
}

.pm-gallery-item:first-child {
    grid-column:span 2;
    grid-row:span 2;
}

.pm-gallery-item span {
    font-size:12px;
    font-weight:800;
    letter-spacing:.12em;
    opacity:.4;
}

.pm-about-grid {
    display:grid;
    grid-template-columns:
        minmax(0,1fr)
        minmax(320px,.8fr);
    gap:60px;
    align-items:center;
}

.pm-about-copy {
    max-width:760px;
}

.pm-about-copy p {
    margin:28px 0 0;
    max-width:720px;
    font-size:18px;
    line-height:1.85;
}

.pm-about-image {
    min-height:520px;
    display:grid;
    place-items:center;
    border-radius:28px;
    background:rgba(255,255,255,.1);
    background-position:center;
    background-size:cover;
    overflow:hidden;
}

.pm-about-image span {
    font-size:12px;
    letter-spacing:.12em;
    opacity:.55;
}

.pm-site-footer {
    padding:
        52px
        clamp(24px,7vw,110px);
    display:grid;
    grid-template-columns:
        1.2fr 1fr auto;
    align-items:center;
    gap:34px;
}

.pm-footer-brand strong {
    font-size:22px;
}

.pm-footer-brand p {
    margin:8px 0 0;
    max-width:520px;
    line-height:1.6;
    opacity:.72;
}

.pm-footer-nav {
    display:flex;
    flex-wrap:wrap;
    gap:18px;
}

.pm-site-error {
    min-height:100vh;
    padding:40px;
    display:grid;
    place-content:center;
    text-align:center;
    background:#071736;
    color:#fff;
}

.pm-site-error h1 {
    margin:0;
    font-size:clamp(42px,7vw,80px);
}

.pm-site-error p {
    max-width:520px;
    line-height:1.7;
    opacity:.72;
}

@media (max-width:1000px) {
    .pm-site-nav {
        display:none;
    }

    .pm-court-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .pm-about-grid {
        grid-template-columns:1fr;
    }

    .pm-site-footer {
        grid-template-columns:1fr;
    }
}

@media (max-width:640px) {
    .pm-site-header {
        min-height:66px;
        padding:10px 16px;
    }

    .pm-owner-link {
        display:none;
    }

    .pm-header-book {
        padding:10px 14px;
    }

    .pm-site-hero {
        min-height:72vh;
        padding:
            70px 20px
            48px;
    }

    .pm-site-section {
        padding:
            64px 20px;
    }

    .pm-court-grid {
        grid-template-columns:1fr;
    }

    .pm-gallery-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
        grid-auto-rows:150px;
    }

    .pm-gallery-item:first-child {
        grid-column:span 2;
    }

    .pm-about-image {
        min-height:340px;
    }
}

/* PM_6J_C_GENERIC_TENANT_HIDDEN_FIX
 * Honor the native hidden attribute even when a component
 * has its own display declaration.
 */
#pm-site-loading[hidden],
#pm-site-root[hidden] {
    display: none !important;
}
