:root{
  --bg:#0C2740;
  --panel:#113454;
  --ink:#EEF3EF;
  --muted:#A8BCCF;
  --line:rgba(238,243,239,.30);
  --ball:#E4EC4A;
  --maxw:1120px;
  --display:"Archivo","Helvetica Neue",Arial,sans-serif;
  --body:"Source Serif 4",Georgia,"Times New Roman",serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:1.125rem;line-height:1.7}
img,svg{max-width:100%;display:block}
a{color:var(--ink);text-underline-offset:.2em;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--ball);outline-offset:3px;border-radius:2px}

.wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 1.5rem}
.narrow > *{max-width:46rem}
.skip{position:absolute;left:-999px;top:0;background:var(--ball);color:var(--bg);padding:.6rem 1rem;z-index:10}
.skip:focus{left:1rem;top:1rem}

h1,h2,h3{font-family:var(--display);font-stretch:112%;font-weight:800;line-height:1.08;letter-spacing:-.015em;margin:0}
h1{font-size:clamp(2.5rem,7vw,5rem);letter-spacing:-.025em}
h2{font-size:clamp(1.6rem,3.4vw,2.25rem);margin-bottom:1rem}
h3{font-size:1.35rem;margin-bottom:.5rem}
p{margin:0 0 1.1rem;max-width:62ch}
.lead{font-size:clamp(1.25rem,2.4vw,1.6rem);line-height:1.45;max-width:34ch;margin:1.25rem 0 1.25rem}

/* header */
.site-header{border-bottom:1px solid var(--line)}
.bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 2rem;padding-top:1rem;padding-bottom:1rem}
.brand{font-family:var(--display);font-stretch:112%;font-weight:800;font-size:1.15rem;text-decoration:none;letter-spacing:-.01em}
nav{display:flex;flex-wrap:wrap;gap:.25rem 1.5rem;font-family:var(--display);font-size:.98rem;font-weight:500}
nav a{text-decoration:none;color:var(--muted);padding:.35rem 0;border-bottom:2px solid transparent}
nav a:hover{color:var(--ink)}
nav a[aria-current="page"]{color:var(--ink);border-bottom-color:var(--ball)}

/* hero */
.hero{padding:clamp(2.5rem,7vw,5.5rem) 0 clamp(3rem,7vw,5.5rem)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:3rem;align-items:center}
.hero-text p{max-width:44ch}
.hero-text .lead{max-width:24ch}
.hero-art{justify-self:center;width:100%;max-width:300px}
.actions{display:flex;flex-wrap:wrap;gap:1rem 1.75rem;align-items:center;margin-top:1.75rem}
.btn{display:inline-block;background:var(--ball);color:var(--bg);font-family:var(--display);font-weight:700;font-size:1.05rem;padding:.8rem 1.5rem;border-radius:3px;text-decoration:none}
.btn:hover{background:#f0f66a}
.btn-link{font-family:var(--display);font-weight:500}

/* sections */
.section{padding:clamp(2.75rem,6vw,4.5rem) 0}
.section--panel{background:var(--panel)}
.section--tight{padding-top:0}
.page-head{padding-top:clamp(2.5rem,6vw,4.5rem);padding-bottom:clamp(1.75rem,4vw,2.5rem)}
.more{margin-top:1.5rem;margin-bottom:0;font-family:var(--display);font-weight:500}

.items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5rem;margin-top:2rem}
.item{border-top:2px solid var(--ink);padding-top:1rem}
.item p{color:var(--muted);margin:0}

/* prose pages */
.prose h2{margin-top:2.5rem}
.prose h2:first-child{margin-top:0}
.prose ul{padding-left:1.25rem;margin:0 0 1.5rem}
.prose li{margin-bottom:.6rem;max-width:60ch}
.req{list-style:none;padding:0 !important}
.req li{border-top:1px solid var(--line);padding-top:.7rem}
.big-mail{font-family:var(--display);font-stretch:112%;font-weight:700;font-size:clamp(1.4rem,4vw,2.25rem);line-height:1.2;overflow-wrap:anywhere}

/* courts */
.court{width:100%;height:auto}
.court-fill{fill:#0F2F4D}
.ln{fill:none;stroke:var(--ink);stroke-width:var(--sw);stroke-linecap:square}
.court--padel{--sw:.9}
.court--pickle{--sw:1.8}
.net{stroke:var(--ink);stroke-width:calc(var(--sw) * 2.4);opacity:.55}
.ball{fill:var(--ball)}
.court-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2.5rem;align-items:end;max-width:44rem}
.court-pair figure{margin:0}
.court-pair .court{max-height:30rem;margin:0 auto;width:auto;max-width:100%}
.court-pair figcaption{margin-top:.9rem;color:var(--muted);font-family:var(--display);font-size:.98rem;text-align:center}

/* the one animated moment: court lines draw in on load */
@media (prefers-reduced-motion:no-preference){
  .hero .ln{stroke-dasharray:1;stroke-dashoffset:1;animation:draw 1.5s cubic-bezier(.5,0,.2,1) forwards}
  .hero .ln:nth-of-type(1){animation-delay:.1s}
  .hero .ln:nth-of-type(2){animation-delay:.55s}
  .hero .ln:nth-of-type(3){animation-delay:.55s}
  .hero .ln:nth-of-type(4){animation-delay:.9s}
  .hero .ln:nth-of-type(5){animation-delay:.9s}
  .hero .ln:nth-of-type(6){animation-delay:.7s}
  .hero .ball{opacity:0;animation:ball .5s ease-out 1.9s forwards}
  @keyframes draw{to{stroke-dashoffset:0}}
  @keyframes ball{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
}

/* footer */
.site-footer{border-top:1px solid var(--line);margin-top:2rem;padding:2.5rem 0 3rem;color:var(--muted);font-size:1rem}
.site-footer p{margin:0 0 .35rem}
.site-footer a{color:var(--ink)}
.foot-name{font-family:var(--display);font-stretch:112%;font-weight:800;color:var(--ink)}
.foot-small{margin-top:1rem !important;font-size:.9rem}

@media (max-width:760px){
  body{font-size:1.05rem}
  .hero-grid{grid-template-columns:1fr;gap:2.25rem}
  .hero-art{max-width:200px;justify-self:start}
  .items{grid-template-columns:1fr;gap:1.75rem}
  .court-pair{gap:1.25rem}
  nav{gap:.1rem 1.1rem}
}
