:root {
    color-scheme: dark;
    --bg: #111212;
    --panel: #1c1d1b;
    --paper: #ecece4;
    --ink: #181a16;
    --white: #f5f5eb;
    --muted: #bdbeb1;
    --lime: #dbfb56;
    --line: #3d4035;
    --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
    font: 16px/1.55 "Helvetica Neue", Arial, sans-serif;
    color: var(--white);
    background: var(--bg);
    scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: .98; letter-spacing: -.065em; font-family: var(--display); font-weight: 900; }
h2 { font-size: clamp(2.6rem, 6vw, 6rem); }
p { max-width: 52ch; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #6babf9; outline-offset: 4px; }
[id] { scroll-margin-top: 100px; }
.skip { position: fixed; top: -100px; left: 12px; z-index: 20; background: var(--lime); color: var(--ink); padding: 12px; }
.skip:focus { top: 12px; }
.wrap { max-width: 1440px; width: min(90%, 1440px); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 120px); }
.tag { font-size: .875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.button, .pick {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 12px 22px; border: 1px solid transparent;
    border-radius: 4px; background: var(--lime); color: var(--ink);
    text-decoration: none; font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}
.button:hover, .pick:hover { background: #edff9b; transform: translateY(-2px); }
.button.small { min-height: 42px; padding: 8px 15px; font-size: .9rem; }
.button.secondary { background: transparent; border-color: currentColor; color: var(--white); }
.button.secondary:hover { background: #ffffff18; }
.top {
    position: sticky; top: 0; z-index: 5; display: flex; align-items: center;
    justify-content: space-between; gap: 16px; min-height: 76px;
    padding: 6px 5%; background: #111212; border-bottom: 1px solid #292b24;
}
.top nav { display: flex; gap: clamp(16px, 4vw, 44px); }
.top nav a { color: var(--white); text-decoration: none; font-weight: 650; }
.top nav a:hover { color: var(--lime); }
.logo img, footer img { object-fit: contain; }
.hero {
    isolation: isolate; position: relative; display: grid; align-items: end;
    min-height: min(750px, 84svh); overflow: hidden; padding: clamp(52px, 7vw, 100px) 5%;
    background: #171b17 url("court-2-poster.webp") center / cover no-repeat;
}
.hero-video, .hero-shade { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, #0c100cee, #0c100c80 56%, #0c100c20), linear-gradient(0deg, #111212, transparent 46%); }
.hero-inner { max-width: 1440px; width: 100%; margin-inline: auto; animation: enter .65s ease-out both; }
.hero .tag, .guide .tag, .quote .tag, .admin .tag { color: var(--lime); margin-bottom: 20px; }
.hero h1 { font-size: clamp(4.4rem, 12vw, 12rem); line-height: .79; text-transform: uppercase; letter-spacing: -.085em; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-copy { font-size: clamp(1.05rem, 1.5vw, 1.35rem); margin: 30px 0 24px; max-width: 36ch; }
.motion { position: absolute; bottom: 14px; right: 5%; min-height: 40px; border: 1px solid #ffffff70; padding: 6px 12px; border-radius: 4px; background: #111212d9; color: var(--white); }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.collection { background: var(--paper); color: var(--ink); }
.heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.heading .tag { margin-bottom: 12px; }
.heading > p { max-width: 34ch; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product { display: flex; flex-direction: column; background: #f8f8f1; border: 1px solid #d4d6c8; border-radius: 6px; overflow: hidden; }
.product-image { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1.12; overflow: hidden; background: radial-gradient(ellipse at 52% 42%, #414737 0%, #252923 51%, #171a16 100%); padding: 40px 20px 13px; }
.product-image span { position: absolute; z-index: 1; top: 13px; left: 13px; color: var(--lime); font-size: .875rem; font-weight: 750; }
.product-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(12px 14px 11px #0008); transform: rotate(-10deg) scale(.92); transition: transform .5s cubic-bezier(.2,.75,.25,1); }
.product:focus-within .product-image img, .product:hover .product-image img { transform: rotate(-2deg) scale(1); }
.product-copy { flex: 1; display: flex; flex-direction: column; padding: clamp(14px, 1.6vw, 24px); }
.product h3 { font-size: clamp(1.5rem, 2.25vw, 2.4rem); margin-bottom: 12px; }
.product-copy > p { min-height: 3.1em; }
.specs { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 16px 0; }
.specs li { font-size: .875rem; padding: 3px 7px; border: 1px solid #d1d4c7; border-radius: 4px; }
.product details { margin-bottom: 16px; font-size: .9rem; }
.product details p { margin-top: 6px; }
.product-bottom { margin-top: auto; padding-top: 12px; border-top: 1px solid #d4d6c8; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-bottom span { font-size: .875rem; }
.product-bottom strong { display: block; font-size: 1.3rem; }
.pick { min-height: 40px; padding: 6px 12px; border-color: #adb99a; }
.fine { font-size: .9rem; }
.collection > .wrap > .fine { margin-top: 16px; }
.guide { display: grid; grid-template-columns: 1fr 1fr; background: #232721; }
.guide-image img { width: 100%; height: 100%; min-height: 370px; object-fit: cover; object-position: center; }
.guide-copy { padding: clamp(32px, 6vw, 90px); }
.guide-copy > p:not(.tag) { margin: 22px 0; color: var(--muted); }
.guide-link { display: block; width: fit-content; margin-top: 16px; }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 7vw, 100px); align-items: start; }
.quote-grid h2 + p { margin: 24px 0; color: var(--muted); }
.offer { border-left: 3px solid var(--lime); background: #21251a; padding: 16px 20px; max-width: 400px; }
.offer strong { font-family: var(--display); font-size: 2rem; color: var(--lime); }
.form-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: clamp(18px, 4vw, 36px); }
fieldset { padding: 0; margin: 0 0 18px; min-inline-size: 0; border: 0; }
legend { font-weight: 800; font-size: 1.25rem; padding: 0; }
legend + .fine { margin-bottom: 8px; }
label { display: block; font-weight: 700; }
label span { font-weight: inherit; }
label > span:not(:first-child) { font-weight: 400; }
.quantity { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding-block: 6px; border-bottom: 1px solid var(--line); }
input, textarea, select { width: 100%; min-width: 0; min-height: 42px; margin-top: 4px; padding: 7px 10px; border: 1px solid #676b5b; border-radius: 4px; color: var(--white); background: #111212; }
.quantity input { margin: 0; width: 90px; }
textarea { resize: vertical; }
#quote-form > label, .contact-fields { margin-bottom: 14px; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-panel .fine { color: var(--muted); }
#quote-form > .fine { margin-bottom: 14px; }
.total { margin-top: 12px; color: var(--lime); font-weight: 750; }
.error, .notice { border-left: 3px solid #ffa992; background: #35231f; padding: 12px; margin-bottom: 16px; }
.notice { border-color: var(--lime); background: #21251a; }
.confirmation h3 { font-size: 2rem; margin-bottom: 12px; }
.confirmation a { display: inline-block; margin-top: 10px; }
footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-block: 12px; color: var(--muted); }
.footer-inner a { margin-left: auto; }
.admin main > h1 { font-size: clamp(3rem, 7vw, 6rem); margin-bottom: 28px; }
.login { max-width: 440px; }
.login button { margin-top: 16px; }
.settings h2 { font-size: 2rem; margin-bottom: 14px; }
.settings form, .filter, .inbox-item form { display: flex; align-items: end; gap: 14px; flex-wrap: wrap; }
.settings .fine { margin-top: 12px; }
.filter { margin: 28px 0 16px; }
.inbox-item { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 12px; overflow-wrap: anywhere; }
.inbox-item h3 { font-size: 1.55rem; margin-bottom: 8px; }
.inbox-item ul { margin: 0 0 8px; padding-left: 20px; }
.inbox-item form, .notes { margin-top: 12px; }
.notes { white-space: pre-wrap; }
.pagination { display: flex; gap: 16px; align-items: center; margin-top: 18px; }
@media (max-width: 1050px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
    .top { min-height: 64px; }
    .top nav { display: none; }
    .hero { min-height: 640px; min-height: min(640px, 83svh); }
    .heading { align-items: start; flex-direction: column; }
    .guide, .quote-grid { grid-template-columns: 1fr; }
    .guide-image img { height: 300px; min-height: 0; }
}
@media (max-width: 465px) {
    .hero h1 { font-size: clamp(3.2rem, 14.6vw, 4.4rem); }
    .products, .contact-fields, .inbox-item { grid-template-columns: 1fr; }
    .product-image { aspect-ratio: 1.23; }
    .product-copy > p { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
.finder { background: #181b16; }
.finder-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 6vw, 90px); align-items: start; }
.finder .tag, .action .tag { margin-bottom: 12px; color: var(--lime); }
.finder h2 + p { margin-top: 18px; color: var(--muted); }
.finder-options { display: grid; gap: 8px; margin-top: 24px; }
.finder-option { border: 1px solid var(--line); border-radius: 4px; text-decoration: none; padding: 10px 14px; font-weight: 700; }
.finder-option:hover, .finder-option[aria-current] { border-color: var(--lime); color: var(--lime); }
.finder-results { display: grid; gap: 12px; }
.match { display: grid; grid-template-columns: minmax(80px, 1fr) 1.3fr; gap: 16px; align-items: center; padding: clamp(15px, 3vw, 36px); background: radial-gradient(ellipse at 30% 50%, #3c4430, #232721 70%); border: 1px solid var(--line); border-radius: 6px; }
.match img { width: 100%; height: clamp(145px, 25vw, 330px); object-fit: contain; filter: drop-shadow(8px 12px 9px #0008); }
.match h3 { font-size: clamp(1.6rem, 3.5vw, 3.6rem); }
.match h3 + p { margin: 12px 0; }
.action { background: #181b16; }
.court-grid { display: grid; grid-template-columns: .75fr 1.5fr .75fr; gap: 14px; }
.court-grid video { width: 100%; height: clamp(180px, 29vw, 380px); object-fit: contain; background: #0d0d0d; border: 1px solid var(--line); border-radius: 6px; }
@media (max-width: 720px) { .finder-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .court-grid { grid-template-columns: 1fr; } .court-grid video { height: 240px; } }
