/* ==========================================================================
   Power Shed Athletics — the design system (site.css)
   Black, red and grey, with a ballfield feel: infield clay, mowed turf,
   chalk lines and red stitching. Mobile first.

   REUSE THESE CLASSES — a page sheet (assets/css/<page>.css) adds only what
   is truly its own.

   Layout
     .wrap            centred column, max 1180px, side padding
     .section         vertical rhythm block;  .section-tight  less padding
     .section-dark / .section-clay / .section-turf / .section-chalk  backgrounds
     .grid-2 .grid-3  responsive grids (1 col on phones)
     .stack           vertical flow with gap;  .row  horizontal flex, wraps
   Type
     .eyebrow         small red uppercase label above a heading
     .display         huge condensed heading;  h1–h3 already use Oswald
     .lead            larger intro paragraph;  .muted  grey text;  .small
   Dividers
     .stitch-divider  red baseball stitching line (decorative, aria-hidden)
   Buttons
     .btn  + .btn-primary (red) · .btn-ghost (outline) · .btn-dark · .btn-block · .btn-sm · .btn-lg
     a <button disabled> greys out
   Cards
     .card  (+ .card-dark on dark backgrounds)
     .card-body · .card-title · .card-price (big number) · .card-list (ticked list)
     .card-plate   home-plate pointed top
   Forms
     .form · .field (wraps label + input) · .field-error
     input / select / textarea get the style automatically inside .form
     .check  (label wrapping a checkbox)
   Notices & badges
     .notice + .notice-info · .notice-success · .notice-error · .notice-warn
     .badge  + .badge-open · .badge-full · .badge-due · .badge-booked · .badge-paid · .badge-pending
     the label tag: .plan-flag · .offer-tag · .soon-badge · .sport-tags li
   Plan cards
     .plan-grid (+ .plan-grid-2, -1) · .plan-flag · .plan-term   (Memberships and Join)
   Demo
     .demo-banner     slim strip at the very top while IS_DEMO
   Breakpoints (STYLE rank 27, PSA_23595): FOUR steps, 520 · 720 · 900 · 1100, in every sheet
     (admin.css too). A rule from a step up is (min-width: 720px); a rule below it is
     (max-width: 719.98px), so at exactly 720px one side applies, never both or neither.
   Utilities
     .sr-only · .center · .mt-0 .mt-2 .mt-3 · .mb-0
     .split (text + photo grid) · .photo-frame (framed 3:2 photo) · .list-reset
   ========================================================================== */

/* The fonts are served from this site (assets/fonts/, PSA_23525), never Google: no visit tells
   Google who looked. Inter and Oswald are variable fonts, so one file per script covers every
   weight the pages use (Inter 400–700, Oswald 500–700). Latin and Latin Extended only, the
   two Google sent for these pages. admin/admin.css has the same rules, with its own path. */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url('../fonts/oswald-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Oswald'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url('../fonts/oswald-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* colours */
  --black: #0d0d0e;
  --ink: #16171a;
  --char: #222428;
  --steel: #3a3d43;
  --steel-light: #4b4f56;  /* the edge of a grey pill on a dark surface */
  /* light greys, the same values as admin.css's: a grey pill or a pressed box on a light card */
  --fill: #ececee;
  --line-mid: #d5d7db;
  /* grey TEXT has two shades (UI 5 #3): the light one on a dark surface (4.8 : 1 on --char),
     the dark one on a white or chalk surface (5.9 : 1 on white). A light surface sets
     --grey to --grey-on-light below ("light surfaces"), so a rule just says var(--grey). */
  --grey-on-dark: #8a8f98;
  --grey-on-light: #5f646d;
  --grey: var(--grey-on-dark);
  --grey-light: #c9ccd1;
  --chalk: #f4f2ec;
  --white: #ffffff;
  --red: #d71920;
  --red-dark: #a8121a;
  --red-deep: #7a0d13;   /* a light-surface link on hover: darker than --red-dark (STYLE rank 6) */
  /* red TEXT on a dark surface: --red is 3.75 : 1 on black, this is 6.4 (and 4.7 on a red-tinted
     badge). --red stays for fills, borders and red text on a light surface (UI 5 #1, #4) */
  --red-text: #ff5a60;
  --red-bright: #e8242b;   /* a red button on hover, on a dark page */
  --red-night: #2a0d0f;    /* the dark red glow behind a page hero, the closer and a lost page (admin: the login) */
  --red-glow: color-mix(in srgb, var(--red) 35%, transparent);
  --clay: #a8532c;
  --clay-dark: #7a3b1f;
  --clay-light: #e0a27f;   /* clay TEXT on a dark surface: a class hour on Book a Cage */
  /* grey TEXT on dirt (--dirt-tile): --grey fails there (4.0 : 1); this is 8.2 : 1 (PSA_23626) */
  --dirt-text: #d9cbbf;
  --turf: #2f6b2a;
  --turf-light: #3d8135;
  --green-ok: #2f9e44;
  --green-fill: #23803a;   /* a green behind white text: 5.0 : 1 (--green-ok is 3.45; UI 5 #5) */
  --amber: #e0a020;
  /* status TEXT (STYLE rank 9): --green-text and --amber-light are green and amber text on a dark
     surface, beside --red-text; --amber-text is amber text on a LIGHT card, the same value and
     meaning as admin.css's --amber-text (its light page). Green on a light card is --green-fill. */
  --green-text: #3fbf5a;
  --amber-light: #f0b43a;
  --amber-text: #8a5a00;

  /* type: THE SCALE (STYLE rank 11, PSA_23594). Every font-size is one of these; a new size is a
     new step here, never a raw value in a rule. Small to large: */
  --font-display: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-xs: .78rem;      /* 12.5px: pills, tags, captions, the top bar */
  --fs-sm: .875rem;     /* 14px: small text, labels in caps */
  --fs-md: .95rem;      /* 15.2px: form labels, small buttons, dense text */
  --fs-base: 1rem;
  --fs-lg: 1.15rem;     /* lead lines, big buttons, nav on a phone */
  --fs-h3: 1.35rem;
  --fs-xl: 1.6rem;      /* a card or section title */
  --fs-2xl: 1.9rem;     /* a sheet title, a big result */
  --fs-3xl: 2.6rem;     /* a big price or number */
  --fs-h2: clamp(1.9rem, 4.5vw, 2.8rem);
  --fs-h1: clamp(2.2rem, 6vw, 3.8rem);    /* every page title: page heroes, checkout, a lost page */
  --fs-display: clamp(2.6rem, 9vw, 5.6rem);   /* the home hero and .display */

  /* spacing & shape: THE SPACE SCALE (STYLE rank 12). Every margin, padding and gap is a step; only
     a 1-3px nudge, a negative offset or a calc() stays raw */
  --s0: .25rem;
  --s1: .5rem;
  --s1-5: .75rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2.5rem;
  --s5: 4rem;
  /* SHAPE (STYLE ranks 26 and 31, PSA_23595): four radii. --radius is a panel or card, --radius-sm a
     row, control, tag or tile inside one, --radius-xs a thin bar, --radius-pill a status pill */
  --radius: 10px;
  --radius-sm: 6px;
  --radius-xs: 4px;
  --radius-pill: 999px;
  /* one accent edge on a panel: this thick, on its TOP (a notice keeps its left bar) */
  --edge: 5px;
  /* SHADOWS: a card, a pop-over or drop-down, the red glow under a red button or picked thing,
     the focus ring of a box, and the shade under a heading on a photo */
  --shadow: 0 10px 30px color-mix(in srgb, var(--black) 35%, transparent);
  --shadow-lg: 0 20px 40px color-mix(in srgb, var(--black) 50%, transparent);
  --glow: 0 6px 18px var(--red-glow);
  --ring: 0 0 0 3px var(--red-glow);
  --text-shade: 0 3px 18px color-mix(in srgb, var(--black) 35%, transparent);
  --header-h: 72px;

  /* textures (inline SVG, no image downloads) */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --stitch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M3 11 L9 3 M15 11 L21 3' stroke='%23d71920' stroke-width='2.4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  /* infield dirt (PSA_23585): the raked clay of home-plate.jpg under a dark shade, so white text
     passes contrast even over a chalk line. The one dirt look: .section-clay uses it, and so does
     any other dirt surface, never a clay gradient with --noise (Alex read that as a basketball). */
  --dirt-shade: linear-gradient(180deg, rgba(24, 10, 4, .62), rgba(24, 10, 4, .74));
  /* the shade over the turf photo (.section-turf), the grass's own --dirt-shade */
  --turf-shade: linear-gradient(180deg, rgba(6, 26, 6, .5), rgba(6, 26, 6, .64));
  --dirt: var(--dirt-shade), url("../img/home-plate.jpg") center 45% / cover no-repeat, var(--clay-dark);
  /* the same dirt with no chalk or plate, for a small or tall surface (a Classes day header, Join's
     Speed & Agility step, the Book a Cage board; PSA_23626): dirt.jpg is a clean patch of
     home-plate.jpg that tiles without a seam (600 x 180, shown at its own size so the repeat stays
     hard to see) */
  --dirt-tile: var(--dirt-shade), url("../img/dirt.jpg") 0 0 / 600px 180px repeat, var(--clay-dark);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* an anchor (memberships.php#cage-plans) lands below the sticky header, not under it */
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--black);
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
/* a bare control takes the page's font, never the browser's Arial 13.33px */
button, input, select, textarea { font: inherit; }
a { color: inherit; }
/* a link with no look of its own: white on hover on a dark surface; a light surface sets
   --link-hover to --red-deep ("light surfaces" below), so it never turns white on white (PSA_23674) */
a:hover { color: var(--link-hover, var(--white)); }
/* ONE link rule per surface (STYLE rank 6): a link inside text on a DARK surface is white with a
   red underline that thickens on hover; on a LIGHT surface it is --red-dark, underlined, darker on
   hover (the admin takes the light rule, admin.css). Navigation (header, footer, social icons),
   buttons and chips keep their own looks. A new text link joins the list for its surface. */
.hero-plan a, .location-lines a, .plan-about a, .athlete-row a:not(.btn),
.cage-who a, .cage-mine-list a, .cage-note a, .link-btn {
  color: var(--white); text-decoration: underline; text-decoration-color: var(--red);
  text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.hero-plan a:hover, .location-lines a:hover, .plan-about a:hover, .athlete-row a:not(.btn):hover,
.cage-who a:hover, .cage-mine-list a:hover, .cage-note a:hover, .link-btn:hover {
  color: var(--white); text-decoration-thickness: 4px;
}
.offer-plan a, .auth-card a:not(.btn), .contact-lines a, .wv-card a:not(.btn), .sheet a:not(.btn):not(.sheet-close) {
  color: var(--red-dark); text-decoration: underline; text-decoration-color: currentColor;
  text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.offer-plan a:hover, .auth-card a:not(.btn):hover, .contact-lines a:hover, .wv-card a:not(.btn):hover,
.sheet a:not(.btn):not(.sheet-close):hover { color: var(--red-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.02;
  margin: 0 0 var(--s2);
  color: var(--white);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: .03em; }
p { margin: 0 0 var(--s2); }
address { font-style: normal; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* a spam honeypot (includes/spam.php): off-screen, never display:none, which some bots skip */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--red); color: var(--white); padding: var(--s1) var(--s2);
}
.skip-link:focus { left: 1rem; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--s2); }
.section { padding: var(--s5) 0; position: relative; }
.section-tight { padding: var(--s4) 0; }
.section-dark { background: var(--ink); }
.section-chalk { background: var(--chalk); color: var(--ink); }
.section-chalk h1, .section-chalk h2, .section-chalk h3 { color: var(--black); }
.section-clay { background: var(--dirt); background-blend-mode: normal; }   /* About, Log in, Log out */
/* Real mowed grass (👤 Alex, 2026-10-24, PSA_23079): a photo tile of the turf (assets/img/grass.jpg,
   cut from turf-line.jpg), wide mower stripes over it, and a dark shade on top so white text passes
   contrast. `.page-hero.section-turf` lets a page hero (Memberships) take it over pages.css. */
.section-turf, .page-hero.section-turf {
  background:
    var(--turf-shade),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--white) 6%, transparent) 0 110px, color-mix(in srgb, var(--black) 16%, transparent) 110px 220px),
    url("../img/grass.jpg") center top / 600px 240px repeat,
    var(--turf);
  background-blend-mode: normal;
}
.grid-2, .grid-3 { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.stack > * + * { margin-top: var(--s2); }
.row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: var(--s2); } .mt-3 { margin-top: var(--s3); }
.mb-0 { margin-bottom: 0; }
/* shared bodies, so a change is made once (STYLE fold rank 25): a text + photo split (each page
   sets where it turns two columns), a framed 3:2 photo, a list with no bullets or indent */
.split { display: grid; gap: var(--s4); grid-template-columns: 1fr; align-items: center; }
.photo-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 4px solid var(--char); }
.photo-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.list-reset, .card-list, .social, .nav-list, .footer-nav { list-style: none; margin: 0; padding: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--s1);
}
.display {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--white);
  font-size: var(--fs-display); line-height: .95; letter-spacing: .01em;
}
.lead { font-size: var(--fs-lg); color: var(--grey-light); max-width: 46rem; }
.section-chalk .lead { color: var(--steel); }
.muted { color: var(--grey); }
.small { font-size: var(--fs-sm); }
/* "email · phone": each part stays whole; on a phone each takes its own line and the " · " goes */
.parts > span { white-space: nowrap; }
/* a part that may be longer than a phone (an email) breaks anywhere rather than run off the edge */
.parts > span.parts-break { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 519.98px) {
  .parts > span { display: block; }
  .parts > .parts-sep { display: none; }
}
/* one short fact per line in a facts cell (PSA_23359): each part is its own line, and a long
   wrap is evened out so no line ends with one stray word */
.lines > span { display: block; text-wrap: balance; }
/* a phrase inside a line stays whole: a narrow cell wraps between phrases, never inside one */
.lines .ph { display: inline-block; }

/* ---------- dividers ---------- */
.stitch-divider {
  height: 14px;
  background: var(--stitch) repeat-x center / 28px 14px;
  position: relative;
}
.stitch-divider::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  border-top: 1px dashed var(--red-glow);
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--char);
  --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 48px;
  padding: var(--s1-5) var(--s3);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-base);
  line-height: 1.2; /* one height for <a class="btn"> and <button class="btn"> */
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn-primary { --btn-bg: var(--red); box-shadow: var(--glow); }
.btn-primary:hover { --btn-bg: var(--red-bright); }
.btn-ghost { --btn-bg: transparent; border-color: currentColor; }
.btn-ghost:hover { --btn-bg: color-mix(in srgb, var(--white) 8%, transparent); }
.section-chalk .btn-ghost { --btn-fg: var(--black); }
.section-chalk .btn-ghost:hover { --btn-bg: color-mix(in srgb, var(--black) 6%, transparent); }
.btn-dark { --btn-bg: var(--black); }
.btn-dark:hover { --btn-bg: var(--char); }
.btn-block { display: flex; width: 100%; }
.btn-sm { min-height: 40px; padding: var(--s1) var(--s2); font-size: var(--fs-md); }
.btn-lg { min-height: 56px; padding: var(--s2) var(--s3); font-size: var(--fs-lg); }
.btn[disabled] { --btn-bg: var(--steel); --btn-fg: var(--grey-on-dark); box-shadow: none; cursor: not-allowed; transform: none; }

/* ---------- cards ---------- */
.card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.card h2, .card h3 { color: var(--black); }
.card-dark { background: var(--char); color: var(--chalk); border: 1px solid var(--steel); }
/* light surfaces: their grey text takes the darker shade, and a plain link's hover the dark red;
   a dark card inside keeps the light grey and the white hover */
.card, .section-chalk { --grey: var(--grey-on-light); --link-hover: var(--red-deep); }
.card-dark { --grey: var(--grey-on-dark); --link-hover: var(--white); }
.card-dark h2, .card-dark h3 { color: var(--white); }
.card-body { padding: var(--s3); display: flex; flex-direction: column; gap: var(--s1); flex: 1; }
.card-body > * { margin: 0; }
.card-title { font-size: var(--fs-xl); }
.card-price { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-3xl); line-height: 1; color: var(--red); }
.card-price small { font-size: var(--fs-base); color: var(--grey); font-weight: 500; letter-spacing: .04em; }
.card-list li { padding-left: var(--s3); position: relative; margin: var(--s0) 0; }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: .85rem; height: .5rem;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}
.card-plate { clip-path: polygon(0 18px, 50% 0, 100% 18px, 100% 100%, 0 100%); padding-top: 18px; }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--s2); }
.field { display: grid; gap: var(--s0); }
.field > label, .field-label { font-weight: 600; font-size: var(--fs-md); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=password],
.form input[type=number], .form input[type=date], .form select, .form textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--s1-5) var(--s1-5);
  border: 2px solid var(--grey-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-base); /* stops iOS zoom */
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--red); outline: none; box-shadow: var(--ring); }
.field-error { font-size: var(--fs-sm); color: var(--red); font-weight: 600; }
/* a field holding an error shows it on its box too */
.field:has(.field-error) :is(input, select, textarea) { border-color: var(--red); }
.form :is(input, select, textarea):disabled { background: var(--chalk); color: var(--grey-on-light); cursor: not-allowed; }
.check { display: flex; gap: var(--s1-5); align-items: flex-start; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: .1rem; accent-color: var(--red); flex: none; }

/* ---------- notices & badges ---------- */
.notice {
  padding: var(--s1-5) var(--s2);
  border-radius: var(--radius-sm);
  border-left: 5px solid var(--grey);
  background: color-mix(in srgb, var(--white) 6%, transparent);
  margin: 0 0 var(--s2);
}
/* info is grey, not blue: Tim's colours are black, red and grey (STYLE rank 30) */
.notice-info { border-color: var(--grey-light); background: color-mix(in srgb, var(--white) 10%, transparent); }
.notice-success { border-color: var(--green-ok); background: color-mix(in srgb, var(--green-ok) 14%, transparent); }
.notice-error { border-color: var(--red); background: color-mix(in srgb, var(--red) 14%, transparent); }
.notice-warn { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, transparent); }
.card .notice, .section-chalk .notice { color: var(--ink); }

/* Two shapes only (STYLE ranks 2 and 7): a status PILL (.badge) for a state, and a label TAG
   (below) for a name like Most popular. ONE COLOUR PER STATE, the same on the admin's .ab pills
   (admin.css), so Tim and a family see one fact one way:
     open → green tint · paid / active → solid green · pending → amber tint ·
     full and past due → solid red (white on --red, 5.2 : 1) · done / booked → grey */
.badge {
  display: inline-flex; align-items: center; gap: var(--s0);
  padding: var(--s0) var(--s1);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}
.badge-open { background: color-mix(in srgb, var(--green-ok) 18%, transparent); color: var(--green-text); border: 1px solid color-mix(in srgb, var(--green-ok) 50%, transparent); }
.badge-full, .badge-due { background: var(--red); color: var(--white); border: 1px solid var(--red); }
.badge-booked { background: var(--steel); color: var(--grey-light); border: 1px solid var(--steel-light); }
.badge-paid { background: var(--green-fill); color: var(--white); border: 1px solid var(--green-fill); }
.badge-pending { background: color-mix(in srgb, var(--amber) 20%, transparent); color: var(--amber-light); border: 1px solid color-mix(in srgb, var(--amber) 55%, transparent); }
/* on a light card only the tinted text darkens; a dark card inside one keeps the dark-surface colours */
.card .badge-open { color: var(--green-fill); }
.card .badge-booked { background: var(--fill); color: var(--grey-on-light); border-color: var(--line-mid); }
.card .badge-pending { color: var(--amber-text); }
.card-dark .badge-open { color: var(--green-text); }
.card-dark .badge-booked { background: var(--steel); color: var(--grey-light); border-color: var(--steel-light); }
.card-dark .badge-pending { color: var(--amber-light); }

/* the label TAG: one look for every label, its colour and place set by its own page */
.plan-flag, .offer-tag, .soon-badge, .sport-tags li {
  display: inline-block;
  padding: var(--s0) var(--s1-5);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}

/* ---------- plan cards: Memberships and Join share one grid, flag and term line ---------- */
.plan-grid { display: grid; gap: var(--s3); grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 720px) { .plan-grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } .plan-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.plan-grid-2 { margin-left: auto; margin-right: auto; }
/* one card alone (Join and Memberships once the Full Season sale has closed): one centred column */
.plan-grid.plan-grid-1 { grid-template-columns: minmax(0, 22rem); justify-content: center; }
.plan-flag { background: var(--red); color: var(--white); font-size: var(--fs-xs); }
.plan-term { color: var(--steel); font-size: var(--fs-sm); font-weight: 600; }

/* ---------- demo banner ---------- */
.demo-banner {
  background: repeating-linear-gradient(-45deg, var(--amber-light) 0 14px, var(--amber) 14px 28px);
  color: var(--black);
  text-align: center;
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: .04em;
  padding: var(--s0) var(--s1-5);
}

/* ==========================================================================
   Frame: top bar, header, nav, footer
   ========================================================================== */
.topbar { background: var(--black); border-bottom: 1px solid var(--char); font-size: var(--fs-xs); color: var(--grey-light); }
.topbar-inner { display: flex; align-items: center; gap: var(--s2); min-height: 36px; }
.topbar-open { display: none; align-items: center; gap: var(--s1); }
.topbar-phone { text-decoration: none; font-weight: 600; letter-spacing: .03em; margin-right: auto; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green-ok) 25%, transparent); display: inline-block; }
@media (min-width: 520px) { .topbar-open { display: inline-flex; } .topbar-phone { margin-left: auto; margin-right: 0; } }
/* on a phone the number is a 44px tap target (UI 5 #11) */
@media (max-width: 519.98px) { .topbar-phone { display: inline-flex; align-items: center; min-height: 44px; } }

.social { display: flex; gap: var(--s0); }
.social a {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  color: var(--grey-light);
  transition: color .15s, background .15s;
}
.social a:hover { color: var(--white); background: var(--red); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--black) 94%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--red);
}
.header-inner { display: flex; align-items: center; gap: var(--s2); min-height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 50px; width: auto; }

.nav-toggle {
  margin-left: auto;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: transparent; border: 2px solid var(--steel); border-radius: var(--radius-sm);
  color: var(--white); cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: var(--s0); width: 22px; }
.nav-toggle-bars span { height: 2px; background: currentColor; border-radius: var(--radius-xs); transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* phone / tablet: a drop-down panel */
.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink);
  border-bottom: 3px solid var(--red);
  padding: var(--s1) var(--s2) var(--s3);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.nav-open .site-nav { display: block; }
.nav-list a {
  display: block;
  padding: var(--s1-5) var(--s0);
  border-bottom: 1px solid var(--char);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-lg);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--grey-light);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--white); }
.nav-list a.is-active { box-shadow: inset 4px 0 0 var(--red); padding-left: var(--s1-5); }
.nav-actions { display: flex; gap: var(--s1-5); align-items: center; margin-top: var(--s2); }
.nav-actions .btn { flex: 1; }
.nav-account {
  font-weight: 600; text-decoration: none; color: var(--grey-light);
  padding: var(--s1) var(--s2); border: 2px solid var(--steel); border-radius: var(--radius-sm);
  min-height: 40px; display: inline-flex; align-items: center;
}
.nav-account:hover { border-color: var(--grey); }

@media (min-width: 900px) {
  .brand img { height: 56px; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; align-items: center; gap: var(--s3);
    position: static; background: none; border: 0; padding: 0; margin-left: auto;
    box-shadow: none; max-height: none; overflow: visible;
  }
  .nav-list { display: flex; gap: .1rem; }
  .nav-list a {
    border: 0; font-size: var(--fs-base); padding: var(--s1) var(--s1); position: relative;
  }
  .nav-list a.is-active { box-shadow: none; padding-left: var(--s1); }
  .nav-list a::after {
    content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .15rem;
    height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left;
    transition: transform .2s ease;
  }
  .nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
  .nav-actions { margin-top: 0; }
  .nav-actions .btn { flex: none; }
  .nav-account { border: 0; padding: var(--s1) var(--s0); }
}
@media (min-width: 900px) and (max-width: 1099.98px) {
  .nav-list a { font-size: var(--fs-sm); padding: var(--s1) var(--s1); }
  .site-nav { gap: var(--s1-5); }
  .brand img { height: 46px; }
}

/* footer */
.site-footer {
  background: var(--noise), linear-gradient(180deg, var(--ink), var(--black));
  background-blend-mode: overlay, normal;
  color: var(--grey-light);
  margin-top: 0;
}
.site-footer .stitch-divider { background-color: var(--black); }
.footer-grid { display: grid; gap: var(--s4); padding-top: var(--s5); padding-bottom: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { width: 220px; margin-bottom: var(--s2); }
.footer-tag { font-family: var(--font-display); font-size: var(--fs-xl); text-transform: uppercase; letter-spacing: .06em; color: var(--white); }
.footer-h { font-size: var(--fs-base); letter-spacing: .16em; color: var(--red-text); margin-bottom: var(--s2); }
.site-footer a { text-decoration: none; }
/* a footer link is a whole line tall (32px), not only its letters (UI 5 #11) */
.footer-nav a, .site-footer address a { display: inline-block; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); }
.site-footer address { line-height: 1.9; }
.footer-open { display: flex; align-items: center; gap: var(--s1); margin-top: var(--s2); font-weight: 600; color: var(--white); }
.footer-nav { columns: 2; line-height: 2; }
@media (min-width: 720px) { .footer-nav { columns: 1; } }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1);
  border-top: 1px solid var(--char); padding-top: var(--s2); padding-bottom: var(--s3);
  font-size: var(--fs-xs); color: var(--grey);
}
.footer-credit { opacity: .75; }
/* phone: the whole footer is centred, one column under another. From 720px its three columns
   stay left-aligned: a named exception to centring (platform.md §4, 👤 Alex at PSA_23482). */
@media (max-width: 719.98px) {
  .footer-grid, .footer-legal { text-align: center; }
  .footer-brand img { display: block; margin-left: auto; margin-right: auto; }
  .footer-open, .footer-legal { justify-content: center; }
}

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

/* ==========================================================================
   Home page (index.php) — kept here: it is one short page
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: grayscale(.35) contrast(1.05) brightness(.62); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--black) 25%, transparent) 0%, color-mix(in srgb, var(--black) 55%, transparent) 45%, color-mix(in srgb, var(--black) 96%, transparent) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--black) 85%, transparent) 0%, color-mix(in srgb, var(--black) 20%, transparent) 70%);
}
.hero::after { /* chalk foul line across the corner */
  content: ""; position: absolute; z-index: -1;
  width: 160%; height: 6px; left: -30%; bottom: 22%;
  background: color-mix(in srgb, var(--chalk) 75%, transparent);
  transform: rotate(-9deg);
  box-shadow: 0 0 12px color-mix(in srgb, var(--white) 25%, transparent);
  opacity: .5;
}
.hero-inner { padding-top: var(--s5); padding-bottom: var(--s5); }
.hero h1 { font-size: clamp(2.4rem, 7.5vw, 4.8rem); line-height: .92; margin-bottom: var(--s3); max-width: 26ch; text-shadow: 0 4px 24px color-mix(in srgb, var(--black) 50%, transparent); }
.hero h1 .red { color: var(--red); }
.hero h1 .line { display: block; }
.hero-sub { font-size: var(--fs-lg); color: var(--grey-light); max-width: 34rem; margin-bottom: var(--s3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s1-5); }
.hero-actions .btn { flex: 1 1 220px; }
@media (min-width: 520px) { .hero-actions .btn { flex: 0 0 auto; } }
/* one line naming the membership, inside the first phone screen (PSA_23542) */
.hero-plan { margin: var(--s3) auto 0; max-width: 34rem; color: var(--grey-light); text-align: center; }
.hero-plan a { font-weight: 700; }
@media (min-width: 900px) { .hero-plan { max-width: none; } }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin-top: var(--s4); padding: 0; list-style: none;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: var(--fs-md); color: var(--grey-light);
}
.hero-facts li { display: flex; align-items: center; gap: var(--s1); }
.hero-facts li::before { content: ""; width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); }

/* three offers on a dark dugout band (no longer clay: it clashed with the dirt, 👤 Alex, PSA_23079) */
.offers { padding-top: var(--s5); padding-bottom: var(--s5); }
.offers.section-dark {
  background: var(--noise), radial-gradient(120% 90% at 50% 0%, var(--char) 0%, var(--ink) 55%, var(--black) 100%);
  background-blend-mode: overlay, normal;
}
.offers-head { margin-bottom: var(--s4); }
.offers-head .eyebrow { color: var(--chalk); }
.offer .card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--char); position: relative; }
.offer .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.offer:hover .card-media img { transform: scale(1.04); }
.offer-tag {
  position: absolute; left: .85rem; top: .85rem;
  background: var(--black); color: var(--white); font-size: var(--fs-xs);   /* the tag look: "notices & badges" */
}
.offer-turf {
  height: 100%;
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--white) 7%, transparent) 0 34px, color-mix(in srgb, var(--black) 8%, transparent) 34px 68px),
    linear-gradient(180deg, var(--turf-light), var(--turf));
  display: grid; place-items: center;
}
.offer-turf svg { width: 62%; color: color-mix(in srgb, var(--white) 90%, transparent); }
.offer .btn { margin-top: auto; }
.offer .card-body { gap: var(--s1-5); text-align: center; align-items: center; }
.offers-head { text-align: center; }
.offer .card-list li { padding-left: 0; }
.offer .card-list li::before { position: relative; display: inline-block; left: auto; top: -.2em; margin-right: var(--s1-5); }
/* two offers, each holding its own membership box (👤 Alex, 2026-10-25) */
.offers-grid { max-width: 920px; margin: 0 auto; }
.offer .card-media { display: block; }
.offer-plan {
  display: grid; justify-items: center; gap: var(--s0); width: 100%;
  margin-top: auto; padding: var(--s2) var(--s2);   /* auto: the two boxes and buttons line up across the cards */
  border: 2px dashed var(--grey-light); border-radius: var(--radius-sm); background: var(--chalk);
}
.offer-plan-label { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; color: var(--grey); }
.offer-plan-price { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--red); letter-spacing: .02em; }
.offer-plan a { font-weight: 600; }
.offer .offer-plan + .btn { margin-top: 0; }

/* home sections whose text is centred (who it's for, how booking works) */
.home-center .wrap { text-align: center; }
.home-center .step::before { left: 50%; transform: translateX(-50%); }

/* who it's for */
.who-grid { display: grid; gap: var(--s3); grid-template-columns: 1fr; margin-top: var(--s3); }
@media (min-width: 720px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }
.who { border-top: var(--edge) solid var(--red); padding-top: var(--s2); }
.who h3 { color: var(--black); }
.who p { color: var(--steel); margin: 0; }
.who-num { font-family: var(--font-display); font-weight: 700; color: var(--red); font-size: var(--fs-base); letter-spacing: .14em; }

/* how booking works */
.steps { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: var(--s3); grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  background: color-mix(in srgb, var(--black) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--white) 14%, transparent);
  border-radius: var(--radius);
  padding: var(--s3);
  padding-top: var(--s4);
  backdrop-filter: blur(2px);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -1.1rem; left: var(--s3);
  width: 2.8rem; height: 2.8rem;
  display: grid; place-items: center;
  background: var(--chalk); color: var(--black);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xl);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); /* home plate */
}
.step h3 { margin-bottom: var(--s1); }
.step p { margin: 0; color: var(--grey-light); }

/* location */
@media (min-width: 900px) { .location { grid-template-columns: 1.1fr 1fr; } }   /* .split .photo-frame */
.location-lines { font-size: var(--fs-lg); line-height: 1.9; margin-bottom: var(--s3); }
.location-lines a { font-weight: 600; }

/* closing */
.closer { text-align: center; padding: var(--s5) 0; background: var(--noise), radial-gradient(70% 120% at 50% 100%, var(--red-night) 0%, var(--black) 70%); background-blend-mode: overlay, normal; }
.closer .display { margin-bottom: var(--s3); }
.closer .display span { color: var(--red); }

/* One heading, not two (👤 Alex, 2026-10-24): the small label above a big heading is hidden on
   every page. The markup stays, so bringing a label back is deleting this rule. */
.eyebrow:has(+ h1), .eyebrow:has(+ h2) { display: none; }

/* ---------- Centred by default, every page (platform.md §4, PSA_23054) ----------
   Every notice's text is centred (a list inside one keeps its bullets beside the text). The text
   TYPED in a one-line box (text, email, password, tel, number, date) or shown in a select is
   centred too, on every form (PSA_23038, PSA_23072); a textarea's text stays left. */
.notice { text-align: center; }
.notice ul, .notice ol { display: inline-block; text-align: left; margin-left: 0; margin-right: 0; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number],
input[type=date], input:not([type]), select { text-align: center; }
select { text-align-last: center; }
textarea { text-align: left; }
/* Home: the hero (heading, line, buttons, facts) and the "Find us" text beside the photo. The
   hero's side shade becomes an even one, so the centred words read over the photo. */
.hero-inner { text-align: center; }
/* the see-through panel behind the hero's lines, buttons and facts (👤 Alex, PSA_23638) */
.hero-panel { width: fit-content; max-width: 100%; margin: 0 auto; padding: var(--s3) var(--s3) var(--s2);
  background: color-mix(in srgb, var(--black) 62%, transparent); border: 1px solid color-mix(in srgb, var(--steel) 60%, transparent);
  border-radius: var(--radius); backdrop-filter: blur(3px); }
.hero-panel .hero-facts { margin-top: var(--s3); }
@media (max-width: 519.98px) { .hero-panel { padding: var(--s2); } }
.hero h1, .hero-sub { margin-left: auto; margin-right: auto; }
.hero-actions, .hero-facts { justify-content: center; }
.hero::before { background: linear-gradient(180deg, color-mix(in srgb, var(--black) 35%, transparent) 0%, color-mix(in srgb, var(--black) 60%, transparent) 45%, color-mix(in srgb, var(--black) 96%, transparent) 100%); }
.location > div:not(.location-photo) { text-align: center; }
.location .row { justify-content: center; }
/* Home after log out: the "You are logged out." line above the hero */
.out-note { padding-top: var(--s2); }

/* ---------- A "lost" page: 404.php, and a missing / ran-out order on checkout and confirmation ----------
   <section class="section lost"><div class="wrap"> h1.lost-title · p.lead · .lost-actions (buttons) */
.lost {
  min-height: 52vh; display: grid; align-items: center; text-align: center;
  background: var(--noise), radial-gradient(70% 120% at 50% 100%, var(--red-night) 0%, var(--black) 70%);
  background-blend-mode: overlay, normal;
}
.lost-code {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(4.5rem, 18vw, 9rem); line-height: .9;
  color: var(--red); letter-spacing: .02em; margin: 0 0 var(--s1); text-shadow: 0 6px 30px var(--red-glow);
}
.lost-title { font-size: var(--fs-h1); margin-bottom: var(--s2); }
.lost .lead { margin: 0 auto var(--s3); }
.lost-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s1-5); }
@media (max-width: 519.98px) { .lost-actions .btn { width: 100%; } }
