/* =====================================================================
   LEVEL UP SPORTS — stylesheet
   Brand colours are taken from the original Level Up Squash logo.
   Change them once here and the whole site follows.
   ===================================================================== */
:root {
  --ink: #13222c;
  --ink-2: #24343f;
  --paper: #f6f4ee;
  --white: #ffffff;
  --line: #e3dfd4;
  --muted: #5b6770;

  --cyan: #0aa8cc;      /* brand blue  (LEVEL UP)   */
  --cyan-d: #04708a;
  --orange: #f5821f;    /* brand orange (arrow)     */
  --orange-d: #b95a00;
  --green: #3aab57;     /* brand green (player)     */
  --green-d: #1f7a3a;
  --sun: #f2c94c;       /* flyer yellow             */

  /* one colour per sport */
  --squash: var(--orange);
  --squash-d: var(--orange-d);
  --padel: var(--cyan);
  --padel-d: var(--cyan-d);
  --pickleball: var(--green);
  --pickleball-d: var(--green-d);

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(19, 34, 44, .10);
  --shadow-lg: 0 20px 50px rgba(19, 34, 44, .18);
  --header-h: 84px;
  --font-head: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --font-body: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65; font-weight: 300;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--cyan-d); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
strong, b { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; line-height: 1.2; white-space: nowrap; transition: transform .15s, background .15s, color .15s, box-shadow .15s;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn-accent:hover { background: #ff9640; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-small { padding: .55em 1.1em; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; /* no backdrop-filter: it would trap the fixed mobile menu inside the header */
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(19,34,44,.12); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); transition: height .25s; }
.site-header.is-scrolled .header-inner { height: 64px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 52px; height: 52px; border-radius: 10px; transition: width .25s, height .25s; }
.site-header.is-scrolled .brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: .95; font-family: var(--font-head); text-transform: uppercase; }
.brand-top { font-size: 1.25rem; color: var(--cyan); }
.brand-bottom { font-size: 1.05rem; color: var(--orange); letter-spacing: .14em; }
.brand-light { color: #fff; }

.site-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a { display: block; padding: .55em .8em; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav-list > li > a:hover, .nav-list > li > a.is-active { background: var(--paper); }
.nav-list > li > a.is-active { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 8px 8px 0 0; }
.sub-toggle { background: none; border: 0; padding: 6px; margin-left: -6px; cursor: pointer; color: var(--ink); border-radius: 6px; }
.sub-toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.sub-open > .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .sub-toggle svg, .has-sub.sub-open .sub-toggle svg { transform: rotate(180deg); }
.sub a { display: flex; align-items: center; gap: 10px; padding: .55em .8em; }
.sub a:hover, .sub a.is-active { background: var(--paper); }
.nav-ico { width: 24px; height: 24px; flex-shrink: 0; }
.nav-ico svg { width: 24px; height: 24px; }
.ico-squash { color: var(--squash); } .ico-padel { color: var(--padel); } .ico-pickleball { color: var(--pickleball); }
.nav-cta-item { margin-left: 8px; }
.nav-list .nav-cta { padding: .65em 1.2em; color: var(--ink); }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: 10px; background: var(--ink); color: #fff;
  border: 0; border-radius: 999px; padding: 10px 16px; font: 600 .95rem var(--font-body); cursor: pointer;
}
.burger { display: grid; gap: 4px; width: 20px; }
.burger span { height: 2px; background: currentColor; border-radius: 2px; transition: .25s; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; margin: 0;
    background: #fff; overflow-y: auto; padding: 16px 16px 40px;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .22s;
  }
  .site-header.is-scrolled .site-nav { top: 64px; }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a { flex: 1; padding: 1em .4em; font-size: 1.1rem; }
  .nav-list > li > a.is-active { box-shadow: none; color: var(--orange-d); background: none; }
  .sub-toggle { padding: 14px; margin: 0; }
  .sub-toggle svg { width: 16px; height: 16px; }
  .sub { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 12px 8px; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub.sub-open > .sub { display: block; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.sub-open:hover > .sub { display: block; }
  .nav-cta-item { margin: 20px 0 0; border: 0 !important; }
  .nav-cta-item .nav-cta { width: 100%; text-align: center; padding: 1em; }
}
@media (max-width: 420px) { .nav-toggle-label { display: none; } .brand-top { font-size: 1.05rem; } .brand-bottom { font-size: .9rem; } }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-white { background: #fff; }
.section-ink { background: var(--ink); color: #fff; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-d); margin-bottom: 12px;
}
.section-ink .eyebrow { color: var(--sun); }
.lead { font-size: 1.18rem; color: var(--ink-2); }
.section-ink .lead { color: #c9d3d9; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px); }
.hero::before { /* giant faint up-arrow motif from the logo */
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 620px; height: 720px; opacity: .06;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120'%3E%3Cpath d='M50 0 100 55H68v65H32V55H0z' fill='%23fff'/%3E%3C/svg%3E");
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .hl-1 { color: var(--cyan); } .hero h1 .hl-2 { color: var(--orange); } .hero h1 .hl-3 { color: var(--green); }
.hero .lead { color: #cfd8de; max-width: 580px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.hero-pills li { font-size: .85rem; font-weight: 500; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.hero-cards { position: relative; height: 440px; }
.hero-card {
  position: absolute; width: 230px; padding: 22px; border-radius: 22px; color: var(--ink); text-decoration: none;
  box-shadow: 0 24px 60px rgba(0,0,0,.35); transition: transform .25s;
}
.hero-card .ico { width: 72px; height: 72px; margin-bottom: 26px; --icon-hole: currentColor; }
.hero-card strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.7rem; line-height: 1; }
.hero-card span { font-size: .88rem; font-weight: 500; }
.hero-card.hc-squash { background: var(--squash); top: 0; left: 4%; transform: rotate(-7deg); }
.hero-card.hc-padel { background: var(--padel); top: 110px; right: 0; transform: rotate(5deg); }
.hero-card.hc-pickleball { background: var(--pickleball); bottom: 0; left: 16%; transform: rotate(-2deg); }
.hero-card.hc-squash .ico { color: var(--ink); } .hero-card.hc-padel .ico { color: var(--ink); --icon-hole: var(--padel); } .hero-card.hc-pickleball .ico { color: var(--ink); }
.hero-card:hover { transform: rotate(0) scale(1.04); z-index: 2; color: var(--ink); }
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-cards { height: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-card { position: static; width: auto; transform: none !important; padding: 16px; }
  .hero-card .ico { width: 44px; height: 44px; margin-bottom: 14px; }
  .hero-card strong { font-size: 1.15rem; }
  .hero-card span { display: none; }
}

/* ---------- two-angle chooser ---------- */
.angles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.angle {
  position: relative; display: flex; flex-direction: column; padding: clamp(28px, 4vw, 44px); border-radius: 26px;
  text-decoration: none; color: var(--ink); background: #fff; border: 2px solid var(--line); overflow: hidden; transition: .2s;
}
.angle:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.angle h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.angle .angle-num { font-family: var(--font-head); font-size: .95rem; color: var(--orange-d); margin-bottom: 18px; }
.angle ul { list-style: none; padding: 0; margin: 10px 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.angle li { padding: 6px 12px; background: var(--paper); border-radius: 999px; font-size: .9rem; font-weight: 500; }
.angle .go { margin-top: auto; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.angle .go::after { content: "→"; transition: transform .2s; }
.angle:hover .go::after { transform: translateX(5px); }
.angle-sports { background: var(--ink); color: #fff; border-color: var(--ink); }
.angle-sports:hover { color: #fff; }
.angle-sports li { background: rgba(255,255,255,.1); }
.angle-sports .angle-num { color: var(--sun); }
@media (max-width: 760px) { .angles { grid-template-columns: 1fr; } }

/* ---------- pathway (Try → Lead) ---------- */
.pathway { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.pathway li {
  position: relative; background: #fff; border-radius: var(--radius); padding: 26px 20px 22px; border-top: 6px solid var(--c, var(--cyan));
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.pathway li::before {
  counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-size: 2.2rem; color: var(--c, var(--cyan)); line-height: 1; margin-bottom: 10px;
}
.pathway h3 { font-size: 1.2rem; margin-bottom: .35em; }
.pathway p { font-size: .94rem; color: var(--muted); }
.pathway a { margin-top: auto; font-weight: 600; font-size: .92rem; }
.pathway li:nth-child(1) { --c: var(--cyan); } .pathway li:nth-child(2) { --c: var(--green); } .pathway li:nth-child(3) { --c: var(--orange); }
.pathway li:nth-child(4) { --c: #e0533d; } .pathway li:nth-child(5) { --c: var(--ink); }
@media (max-width: 1020px) { .pathway { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); } }

/* ---------- sport cards ---------- */
.sport-card {
  position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: .2s;
}
.sport-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.sport-card .sc-top { position: relative; height: 180px; display: grid; place-items: center; background: var(--c); overflow: hidden; }
.sport-card .sc-top::after { /* court lines */
  content: ""; position: absolute; inset: 18px; border: 3px solid rgba(255,255,255,.35); border-radius: 6px;
  background: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)) center/3px 100% no-repeat;
}
.sport-card .sc-top .ico { position: relative; z-index: 1; width: 110px; height: 110px; color: var(--ink); --icon-hole: var(--c); }
.sport-card .sc-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.sport-card h3 { font-size: 1.8rem; }
.sport-card .sc-venues { font-size: .9rem; color: var(--muted); margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.sport-card .go { font-weight: 600; color: var(--c-d); margin-top: 12px; }
.c-squash { --c: var(--squash); --c-d: var(--squash-d); }
.c-padel { --c: var(--padel); --c-d: var(--padel-d); }
.c-pickleball { --c: var(--pickleball); --c-d: var(--pickleball-d); }

/* ---------- generic cards ---------- */
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 5px solid var(--c, var(--cyan)); }
.section-white .card { background: var(--paper); box-shadow: none; }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .card-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--c, var(--cyan)); color: var(--ink); font-size: 1.5rem; margin-bottom: 16px; }
.card .card-ico svg { width: 34px; height: 34px; --icon-hole: var(--c); }
.card .who { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.card-link { display: inline-block; margin-top: 14px; font-weight: 600; }
.c-orange { --c: var(--orange); } .c-cyan { --c: var(--cyan); } .c-green { --c: var(--green); } .c-sun { --c: var(--sun); } .c-ink { --c: var(--ink); } .c-red { --c: #e0533d; }
.c-ink .card-ico { color: #fff; }
.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--c, var(--green)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2313222c' stroke-width='2.2'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- tags & chips ---------- */
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--paper); color: var(--ink); white-space: nowrap; }
.tag-juniors { background: #fde3cc; } .tag-adults { background: #cdeef6; } .tag-all-ages { background: #d6f0dc; } .tag-families { background: #fbefc5; } .tag-schools { background: #e6e1f7; }
.tag-soon { background: var(--sun); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border-radius: 999px; font-size: .86rem; font-weight: 600; text-decoration: none; color: var(--ink); background: var(--paper); border: 2px solid var(--c); }
.chip:hover { background: var(--c); color: var(--ink); }
.chip em { font-style: normal; font-weight: 500; font-size: .78rem; background: var(--sun); padding: 1px 8px; border-radius: 999px; }
.chip-ico { width: 22px; height: 22px; color: var(--c-d); --icon-hole: var(--paper); }
.chip:hover .chip-ico { --icon-hole: var(--c); color: var(--ink); }
.chip-squash { --c: var(--squash); --c-d: var(--squash-d); } .chip-padel { --c: var(--padel); --c-d: var(--padel-d); } .chip-pickleball { --c: var(--pickleball); --c-d: var(--pickleball-d); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.dot-squash { background: var(--squash); } .dot-padel { background: var(--padel); } .dot-pickleball { background: var(--pickleball); }

/* ---------- feature band (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.photo-ph { /* swap for a real <img> when photos are ready */
  position: relative; aspect-ratio: 4/3; border-radius: 26px; background: var(--c, var(--cyan)); overflow: hidden;
  display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-lg);
}
.photo-ph::before { content: ""; position: absolute; inset: 22px; border: 3px solid rgba(255,255,255,.4); border-radius: 8px; background: linear-gradient(rgba(255,255,255,.4), rgba(255,255,255,.4)) center/100% 3px no-repeat; }
.photo-ph span { position: relative; background: rgba(255,255,255,.88); padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.photo-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stat-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.stat-row li { flex: 1 1 140px; background: #fff; border-radius: 14px; padding: 14px 16px; border-left: 5px solid var(--c, var(--orange)); font-size: .92rem; }
.stat-row strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.15rem; }
.section-white .stat-row li { background: var(--paper); }

/* ---------- inner page hero ---------- */
.page-hero { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 92px) 0; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: #cfd8de; max-width: 680px; }
.page-hero .eyebrow { color: var(--sun); }
.page-hero.ph-sport { background: var(--c); color: var(--ink); }
.page-hero.ph-sport h1, .page-hero.ph-sport .lead, .page-hero.ph-sport .eyebrow { color: var(--ink); }
.page-hero .hero-ico { position: absolute; right: max(16px, 6vw); top: 50%; transform: translateY(-50%) rotate(-8deg); width: min(34vw, 340px); height: min(34vw, 340px); color: rgba(19,34,44,.88); --icon-hole: var(--c); }
.page-hero.ph-sport .container { position: relative; z-index: 1; }
.page-hero.ph-sport .container > * { max-width: min(640px, 62%); }
@media (max-width: 760px) { .page-hero .hero-ico { opacity: .15; } .page-hero.ph-sport .container > * { max-width: none; } }
.breadcrumb { font-size: .88rem; margin-bottom: 14px; opacity: .85; }
.breadcrumb a { color: inherit; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.facts li { background: rgba(255,255,255,.55); border-radius: 14px; padding: 12px 16px; font-size: .92rem; }
.facts strong { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- venues ---------- */
.venue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.venue-card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; scroll-margin-top: 100px; }
.section-white .venue-card { background: var(--paper); box-shadow: none; }
.venue-band { display: flex; height: 12px; }
.band { flex: 1; } .band-squash { background: var(--squash); } .band-padel { background: var(--padel); } .band-pickleball { background: var(--pickleball); }
.venue-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.venue-body h3 { font-size: 1.4rem; }
.venue-area { margin: 0 0 6px; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.venue-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.venue-more { background: transparent !important; border: 3px dashed var(--line); box-shadow: none; }
.more-plus { width: 54px; height: 54px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-family: var(--font-head); font-size: 1.8rem; margin-bottom: 14px; }

/* ---------- Events & News (content from the admin) ---------- */
/* Hidden until the page switches are known (see main.js applySwitches) */
[data-requires] { display: none !important; }
.loading, .empty { padding: 28px; text-align: center; color: var(--muted); background: #fff; border-radius: 18px; border: 2px dashed var(--line); margin: 0; }
.section-white .loading, .section-white .empty { background: var(--paper); }

/* category tags: the three sports use their own colours */
.cat { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--paper); color: var(--ink); white-space: nowrap; }
.cat.cat-squash { background: var(--squash); } .cat.cat-padel { background: var(--padel); } .cat.cat-pickleball { background: var(--pickleball); }
.cat.cat-juniors { background: #fde3cc; } .cat.cat-adults { background: #cdeef6; } .cat.cat-schools { background: #e6e1f7; } .cat.cat-social { background: #fbefc5; }
.cat.cat-community, .cat.cat-venues { background: #e9e6dc; }

/* filter buttons */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter { font: 600 .9rem var(--font-body); padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: .15s; }
.filter:hover { border-color: var(--ink); }
.filter.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter.cat-squash { border-color: var(--squash); background: #fff; } .filter.cat-padel { border-color: var(--padel); background: #fff; } .filter.cat-pickleball { border-color: var(--pickleball); background: #fff; }
.filter.cat-squash.is-on { background: var(--squash); color: var(--ink); } .filter.cat-padel.is-on { background: var(--padel); color: var(--ink); } .filter.cat-pickleball.is-on { background: var(--pickleball); color: var(--ink); }

/* events table */
.table-title { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; margin: 0 0 16px; }
.count { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 10px; border-radius: 999px; background: var(--orange); color: var(--ink); font-family: var(--font-body); font-weight: 600; font-size: .95rem; }
.table-wrap { background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.events-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.events-table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; padding: 14px 18px; background: var(--ink); color: #fff; font-weight: 600; }
.events-table td { padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: middle; }
.events-table tr:hover td { background: #fbfaf6; }
.events-table tr[hidden] { display: none; }
.td-date { display: flex; align-items: center; gap: 14px; min-width: 210px; }
.date-block { flex-shrink: 0; width: 58px; height: 62px; border-radius: 14px; background: var(--c, var(--ink)); color: var(--ink); display: grid; place-items: center; align-content: center; line-height: 1; }
.db-day { font-family: var(--font-head); font-size: 1.5rem; }
.db-mon { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }
tr.cat-squash { --c: var(--squash); } tr.cat-padel { --c: var(--padel); } tr.cat-pickleball { --c: var(--pickleball); }
tr.cat-juniors { --c: #fbc79a; } tr.cat-adults { --c: #9fdcec; } tr.cat-schools { --c: #c9bff0; } tr.cat-social { --c: var(--sun); }
.date-text { display: grid; gap: 2px; }
.date-text span { color: var(--muted); font-size: .88rem; }
.td-event { min-width: 260px; }
.td-event span { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; }
.ev-title { font-size: 1.02rem; margin-right: 8px; }
.status { display: inline-block !important; margin: 0 !important; padding: 2px 10px; border-radius: 999px; font-size: .74rem !important; font-weight: 600; color: var(--ink) !important; background: var(--paper); vertical-align: 2px; }
.status-entries-open { background: #d6f0dc; } .status-fully-booked { background: #fde3cc; }
.status-cancelled { background: #f8d4d9; } .status-postponed { background: #fbefc5; }
tr.is-cancelled .ev-title { text-decoration: line-through; text-decoration-thickness: 2px; }
.td-action { text-align: right; }
.past { margin-top: 36px; }
.past summary { cursor: pointer; display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 16px; list-style: none; }
.past summary::-webkit-details-marker { display: none; }
.past summary::before { content: "+"; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); font-size: 1.2rem; }
.past[open] summary::before { content: "−"; }
.past .count { background: var(--line); }
.past .table-wrap { opacity: .85; }
@media (max-width: 860px) {
  .events-table thead { display: none; }
  .events-table, .events-table tbody, .events-table tr, .events-table td { display: block; width: 100%; }
  .events-table tr { padding: 18px; border-top: 1px solid var(--line); }
  .events-table tr:first-child { border-top: 0; }
  .events-table tr:hover td { background: none; }
  .events-table td { border: 0; padding: 4px 0; min-width: 0; }
  .td-cat, .td-venue { display: flex !important; gap: 10px; align-items: center; }
  .td-cat::before, .td-venue::before { content: attr(data-label); flex: 0 0 74px; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
  .td-date { margin-bottom: 6px; }
  .td-action { text-align: left; padding-top: 10px !important; }
  .td-action:empty { display: none !important; }
}

/* news cards (home page) */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.news-card { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: .2s; }
.section-white .news-card { background: var(--paper); box-shadow: none; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--ink); }
.news-img, .article-img { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.news-img img, .article-img img { width: 100%; height: 100%; object-fit: cover; }
.is-graphic { background: var(--paper); }
.is-graphic img { object-fit: contain; padding: 14px; }
.is-fallback { display: grid; place-items: center; }
.is-fallback::before { content: ""; position: absolute; inset: 16px; border: 3px solid rgba(255,255,255,.35); border-radius: 6px; background: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)) center/3px 100% no-repeat; }
.fb-ico { position: relative; width: 38%; max-width: 120px; aspect-ratio: 1; color: var(--ink); }
.fb-ico svg { width: 100%; height: 100%; }
.fb-squash { background: var(--squash); } .fb-padel { background: var(--padel); --icon-hole: var(--padel); } .fb-pickleball { background: var(--pickleball); }
.fb-brand { background: var(--ink); } .fb-brand .fb-ico { color: var(--orange); }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 1.3rem; margin-bottom: .4em; }
.news-body p { color: var(--ink-2); font-size: .95rem; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted) !important; margin: 0 0 10px; }
.read-more { margin-top: auto; font-weight: 600; color: var(--orange-d); }

/* full articles (News page) */
.article { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0; background: #fff; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 30px; scroll-margin-top: 100px; transition: box-shadow .3s; }
.article[hidden] { display: none; }
.article.is-target { box-shadow: 0 0 0 4px var(--orange), var(--shadow-lg); }
.article-img { aspect-ratio: auto; min-height: 260px; }
.article-body { padding: clamp(24px, 4vw, 44px); }
.article-body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.article-body .lead { font-size: 1.1rem; }
.article-text { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; }
.article-text ul { padding-left: 1.2em; }
.article-text li { margin-bottom: .35em; }
.article-share { font-size: .88rem; margin: 18px 0 0; }
@media (max-width: 860px) { .article { grid-template-columns: 1fr; } .article-img { aspect-ratio: 16 / 9; min-height: 0; } }

/* ---------- forms ---------- */
.form-card { background: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--font-body); color: var(--ink); background: var(--paper);
  border: 2px solid var(--line); border-radius: 12px; padding: .75em .9em; transition: border-color .15s, background .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }
.form-note { font-size: .85rem; color: var(--muted); margin: 16px 0 0; }
.form-status { margin-top: 18px; padding: 14px 18px; background: #e3f4e8; border-left: 5px solid var(--green); border-radius: 10px; font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--orange); color: var(--ink); border-radius: 30px; padding: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-band .btn-row { margin: 0; justify-content: flex-end; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- misc ---------- */
.notice { background: var(--sun); color: var(--ink); text-align: center; font-size: .92rem; font-weight: 500; padding: 10px 16px; }
.notice a { color: var(--ink); font-weight: 600; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.anchor-nav a { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 500; }
.anchor-nav a:hover { background: #fff; color: var(--ink); }
.engage-block { scroll-margin-top: 90px; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.engage-block:first-child { border-top: 0; }
.engage-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 26px; }
.engage-num { flex-shrink: 0; width: 64px; height: 64px; border-radius: 18px; background: var(--c); display: grid; place-items: center; font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); }
.engage-head h2 { margin-bottom: .2em; }
.engage-head p { margin: 0; color: var(--muted); max-width: 700px; }
.c-ink.engage-num, .c-ink .engage-num { color: #fff; }
.legacy-logo { width: 160px; height: auto; border-radius: 16px; background: #fff; padding: 10px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b9c4cb; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #e4eaee; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-brand p { max-width: 340px; margin-top: 18px; }
.footer-email { font-weight: 600; color: var(--sun) !important; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 28px; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
