@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #282828;
  --paper: #f9f6ef;
  --cobalt: #193497;
  --pink: #eda398;
  --muted: #595959;
  --line: #d6cfc5;
  --heading: "Archivo Black", "Arial Black", Arial, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --section: clamp(48px, 6vw, 88px);
  --gap: clamp(16px, 2.5vw, 32px);
  --width: 1280px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--body); }
a { color: inherit; text-underline-offset: .25em; }
img { display: block; width: 100%; height: auto; object-fit: cover; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0 0 16px; font: 400 1rem/1.08 var(--heading); letter-spacing: -.045em; }
h1 { font-size: clamp(2.125rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.625rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.125rem, 1.65vw, 1.5rem); }
h1, h2, .label { text-align: center; text-wrap: balance; }
.copy, .intro > p:not(.label) { max-width: 64ch; margin-inline: auto; text-align: center; color: var(--muted); }
.label { margin: 0 0 16px; color: var(--cobalt); font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; }
.dark :focus-visible, .hero :focus-visible, footer :focus-visible { outline-color: var(--pink); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 12px 16px; background: var(--paper); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
header { position: sticky; top: 0; z-index: 5; display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 16px; padding: 8px var(--gutter); background: var(--paper); border-bottom: 1px solid var(--line); }
.logo { font: 400 1.65rem/1 var(--heading); text-decoration: none; white-space: nowrap; }
.logo small { display: block; margin-top: 4px; font: 700 .58rem/1 var(--body); letter-spacing: .19em; }
.primary-nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 32px); }
.primary-nav a { font-size: .875rem; font-weight: 700; text-decoration: none; }
.primary-nav a:hover, .primary-nav [aria-current="page"] { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1px solid transparent; border-radius: 3px; background: var(--cobalt); color: var(--paper); font: 700 .875rem/1.3 var(--body); text-align: center; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--ink); color: var(--paper); }
.menu { display: none; background: transparent; border-color: var(--ink); color: var(--ink); }
.link { color: var(--cobalt); font-weight: 700; }
.wrap, .intro { max-width: calc(var(--width) + 2 * var(--gutter)); margin-inline: auto; padding: var(--section) var(--gutter); }
.wrap, .intro { text-align: center; }
.intro + .wrap, .wrap + .wrap { padding-top: 0; }
.wrap.dark, .dark + .wrap { padding-top: var(--section); }
.wrap.dark { max-width: none; padding-inline: max(var(--gutter), calc((100% - var(--width)) / 2)); }
.dark, .footer { background: var(--ink); color: var(--paper); }
.dark .copy { color: var(--paper); }
.dark .label, .dark .link { color: var(--pink); }
.hero { display: grid; place-items: center; min-height: clamp(440px, 73svh, 780px); padding: var(--section) var(--gutter); text-align: center; color: var(--paper); background: linear-gradient(#17171796, #171717ba), url('/assets/courtside-gym.webp') center/cover; }
.hero h1 { max-width: 15ch; margin-inline: auto; text-transform: uppercase; }
.hero .copy, .hero .label { color: var(--paper); }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.hero .solid, .footer .button { background: var(--paper); color: var(--ink); }
.hero .button:not(.solid) { background: transparent; border-color: var(--paper); }
.hero .button:hover, .footer .button:hover { background: var(--pink); color: var(--ink); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: var(--gap); }
.rules, .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: var(--gap); margin-top: 32px; text-align: left; }
.rules article { padding: 24px; border: 1px solid var(--line); }
.rules p, .project article > p:not(.label), .legal-copy p { color: var(--muted); }
.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards a { text-decoration: none; }
.cards a:hover h3 { text-decoration: underline; }
.cards img, .project img, .solution img, .band img { aspect-ratio: 4 / 3; }
.cards h3 { margin: 16px 0 0; }
.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery img, .feature img { aspect-ratio: 16 / 9; }
.feature { margin-top: 32px; }
.band { background: var(--pink); }
.band > div { padding: 24px var(--gutter) 24px 0; text-align: center; }
.band .copy { color: var(--ink); }
.banner { max-height: 560px; aspect-ratio: 2.5; }
.project { margin-top: 32px; }
.project article { text-align: left; }
.project .link { display: block; text-align: center; }
.tag { display: inline-block; padding: 4px 12px; border: 1px solid currentColor; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.facts dt { text-align: left; margin-bottom: 4px; }
.facts dd { margin: 0; }
.solution { scroll-margin-top: 96px; padding-block: 32px; border-bottom: 1px solid var(--line); }
.solution:first-child { padding-top: 0; }
.solution:last-child { border-bottom: 0; padding-bottom: 0; }
.details { margin: 16px 0 0; padding: 0; list-style: none; text-align: left; }
.details li { padding: 12px 0; border-top: 1px solid var(--line); }
.details li:last-child { border-bottom: 1px solid var(--line); }
.partner-summary { display: block; margin-top: var(--section); }
.contact form { width: min(100%, 720px); margin: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; text-align: left; }
form label { display: block; font-weight: 700; font-size: .875rem; }
input, select, textarea { display: block; width: 100%; min-width: 0; margin-top: 6px; min-height: 48px; padding: 10px 12px; border: 1px solid #777; border-radius: 3px; background: var(--paper); color: var(--ink); font: 400 1rem/1.4 var(--body); }
textarea { resize: vertical; }
.full { grid-column: 1 / -1; }
.note, .field-error { font-size: .875rem; }
.field-error { display: block; margin-top: 4px; color: #8b2424; }
.field-error:empty, #enquiry-status:empty { display: none; }
[aria-invalid="true"] { border-color: #8b2424; }
.send { justify-self: start; }
.legal-copy { max-width: 74ch; }
.legal-copy section + section { margin-top: 32px; }
.legal-copy p { text-align: left; }
.footer { padding: 48px var(--gutter) 24px; text-align: center; }
.footer .heading-row { display: grid; justify-items: center; gap: 8px; }
.footer-end { max-width: var(--width); margin: 32px auto 0; padding-top: 24px; border-top: 1px solid #ffffff66; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.footer-contact, .legal-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .875rem; font-style: normal; }
.footer-contact a { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .menu { display: inline-flex; }
  .primary-nav { display: none; position: absolute; inset: 100% 0 auto; padding: 16px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .primary-nav.open { display: grid; justify-items: stretch; gap: 4px; }
  .primary-nav a:not(.button) { padding: 10px 4px; }
  .split { grid-template-columns: 1fr; }
  .band > div { padding: 16px var(--gutter) var(--section); }
  .banner { aspect-ratio: 1.65; }
  .hero { min-height: 480px; }
}
@media (max-width: 480px) {
  .rules, .gallery, .contact form { grid-template-columns: 1fr; }
  .footer-end, .footer-contact { flex-direction: column; align-items: center; }
  .legal-nav { justify-content: center; }
  .solution { padding-block: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.band img[src="/assets/venue-aerial.webp"] { aspect-ratio: auto; }

.home-studios-card { grid-column: span 2; text-align: center; }
.studio-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
