/* ==========================================================================
   INeedATeam.com
   The supplied design (assets/images/reference/design8.jpg) is the visual
   authority: section order, full-bleed backgrounds, diagonal boundaries,
   image scale and condensed typography follow it. Spacing is opened up
   within that composition rather than replacing it, so section heights stay
   close to the reference instead of every band being padded identically.
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset and base
   3.  Layout primitives
   4.  Typography
   5.  Buttons
   6.  Forms
   7.  Cards and media
   8.  Site header and navigation
   9.  Hero
   10. Home sections
   11. Discovery, listings and detail views
   12. Accordion and notices
   13. Footer
   14. Motion
   15. Utilities and print
   ========================================================================== */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
  /* Brand palette — from assets/images/asset-styles.css */
  --forest: #0a3228;
  --forest-deep: #002d24;
  --forest-ink: #06201a;
  --forest-soft: #14453a;
  --lime: #d5f344;
  --lime-bright: #c9ea33;
  --lime-deep: #93b312;
  --lime-pale: #f1f8d5;
  --lime-mist: #f8fbea;
  --paper: #fbfcfa;
  --ink: #07151a;

  /* Functional */
  --surface: var(--paper);
  --text: var(--ink);
  --text-muted: #44544e;
  --text-subtle: #5f6f68;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #c5d8ce;
  --border: #e3e9e3;
  --border-strong: #cad5cc;
  --border-dark: rgba(255, 255, 255, 0.18);
  --focus: #0b63ce;
  --focus-on-dark: var(--lime);
  --danger: #9d2b1b;
  --danger-surface: #fdeeeb;
  --ok: #1d6b4f;
  --ok-surface: #e9f6ee;

  /* Spacing scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.5rem;
  --space-3xl: 3rem;
  --space-4xl: 4rem;

  /* Section rhythm. Three steps rather than one global value, so a compact
     band in the reference stays compact and a tall one stays tall. */
  --section-y: clamp(3rem, 5.8vw, 5.5rem);
  --section-y-sm: clamp(2.25rem, 4vw, 3.75rem);
  --section-y-lg: clamp(3.5rem, 7vw, 6.5rem);

  /* Sections close with more room than they open with, so each band reads as
     finished before the next one starts. */
  --section-y-end: clamp(4rem, 8vw, 7.5rem);
  --section-y-sm-end: clamp(3rem, 5.6vw, 5.25rem);
  --section-y-lg-end: clamp(4.5rem, 9.5vw, 8.5rem);

  --stack-heading: clamp(2rem, 3.4vw, 3.25rem);
  --gap-grid: clamp(1.4rem, 2.4vw, 2.35rem);

  /* Layout */
  --container: 1320px;
  --container-wide: 1560px;
  --container-narrow: 1080px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  /* Left inset for full-bleed panels so their text still lines up with the
     centred container used elsewhere on the page. */
  --gutter-left: max(var(--container-pad), calc((100vw - var(--container)) / 2 + var(--container-pad)));
  --header-h: 86px;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(7, 21, 26, 0.06), 0 2px 6px rgba(7, 21, 26, 0.05);
  --shadow-md: 0 6px 16px rgba(7, 21, 26, 0.08), 0 2px 4px rgba(7, 21, 26, 0.04);
  --shadow-lg: 0 18px 40px rgba(7, 21, 26, 0.14), 0 4px 10px rgba(7, 21, 26, 0.06);
  --shadow-xl: 0 30px 70px rgba(7, 21, 26, 0.2);

  /* Type */
  --font-sans: "Archivo", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --text-xs: 0.78rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: clamp(1rem, 0.2vw + 0.96rem, 1.08rem);
  --text-lg: clamp(1.08rem, 0.4vw + 1rem, 1.25rem);
  --text-xl: clamp(1.2rem, 0.6vw + 1.05rem, 1.45rem);

  /* Display sizes calibrated against the reference at a 1440px viewport:
     the hero headline measures ~64px there, section headings ~52px. */
  --display-sm: clamp(1.5rem, 1.7vw + 1rem, 2.1rem);
  --display-md: clamp(1.9rem, 2.6vw + 1rem, 3.3rem);
  --display-lg: clamp(2.2rem, 3.4vw + 1rem, 3.9rem);
  --display-xl: clamp(2.5rem, 3.9vw + 1rem, 4.3rem);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 150ms;
  --t-base: 260ms;
  --t-slow: 520ms;

  --z-header: 80;
  --z-menu: 90;
}

@media (max-width: 1079px) {
  :root {
    --header-h: 70px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 62px;
  }
}

/* ==========================================================================
   2. Reset and base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.08;
  font-weight: 800;
  font-stretch: 82%;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.site-footer :focus-visible,
.band--dark :focus-visible,
.sports :focus-visible,
.site-header--overlay.is-stuck :focus-visible {
  outline-color: var(--focus-on-dark);
}

.skip-link {
  position: absolute;
  left: var(--space-md);
  top: var(--space-md);
  z-index: 200;
  transform: translateY(-200%);
  background: var(--forest);
  color: var(--text-on-dark);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: transform var(--t-fast) var(--ease-out);
}

.skip-link:focus { transform: translateY(0); }

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--narrow { max-width: var(--container-narrow); }

.section { position: relative; padding-block: var(--section-y) var(--section-y-end); }
.section--sm { padding-block: var(--section-y-sm) var(--section-y-sm-end); }
.section--lg { padding-block: var(--section-y-lg) var(--section-y-lg-end); }
.section--pale { background: var(--lime-pale); }
.section--mist { background: var(--lime-mist); }
.section--white { background: #fff; }

.section--dark {
  background: var(--forest);
  color: var(--text-on-dark);
}

.section--dark p { color: var(--text-on-dark-muted); }

/* The reference tints these bands with soft diagonal bands rather than a
   flat fill. The supplied decor SVGs carry the exact artwork. */
.section--textured-dark {
  background-image: url("../images/svg/decor/diagonal-dark.svg");
  background-size: cover;
  background-position: center;
}

.section--textured-light {
  background-image: url("../images/svg/decor/diagonal-light.svg");
  background-size: cover;
  background-position: center;
}

.stack > * + * { margin-top: var(--space-lg); }
.stack--sm > * + * { margin-top: var(--space-sm); }
.stack--lg > * + * { margin-top: var(--space-xl); }

.grid { display: grid; gap: var(--gap-grid); }

@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.split { display: grid; gap: clamp(2rem, 4.5vw, 4rem); align-items: center; }

@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
}

/* ==========================================================================
   4. Typography
   ========================================================================== */

.kicker {
  display: block;
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 650;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.kicker--lime { color: var(--lime); }
.kicker--white { color: #fff; }

/* The short lime accent rule used above several headings. */
.kicker-line {
  display: block;
  width: 56px;
  height: 7px;
  border-radius: 2px;
  background: var(--lime);
}

.display-xl { font-size: var(--display-xl); }
.display-lg { font-size: var(--display-lg); }
.display-md { font-size: var(--display-md); }
.display-sm { font-size: var(--display-sm); }

.display-xl,
.display-lg,
.display-md {
  text-transform: uppercase;
  letter-spacing: -0.022em;
  font-weight: 900;
  font-stretch: 76%;
  line-height: 0.95;
}

/* Sentence-case display used by the two "… Make Friends." bands. */
.display-mixed {
  text-transform: none;
  letter-spacing: -0.025em;
  font-stretch: 88%;
  line-height: 1.05;
}

.accent { color: var(--lime-deep); }

.hero .accent,
.section--dark .accent,
.band--dark .accent,
.sports .accent,
.site-footer .accent {
  color: var(--lime);
}

.lede {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 54ch;
}

.band--dark .lede,
.sports .lede,
.hero .lede {
  color: var(--text-on-dark-muted);
}

.prose { max-width: 72ch; }
/* Legal pages carry long, dense clauses. 72ch turns them into a narrow ribbon
   down the middle of a wide screen, so terms.php opts into a wider measure. */
.prose--wide { max-width: 92ch; }
.prose > * + * { margin-top: var(--space-lg); }
.prose h2 { font-size: var(--display-sm); margin-top: var(--space-3xl); }
.prose h3 { font-size: var(--text-xl); margin-top: var(--space-2xl); }
.prose ul { padding-left: var(--space-lg); }
.prose li { list-style: disc; margin-top: var(--space-sm); color: var(--text-muted); }
.prose p { color: var(--text-muted); }

.prose a {
  color: var(--forest);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--lime-deep);
}

.prose a:hover { color: var(--lime-deep); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 60ch;
  margin-bottom: var(--stack-heading);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}

.section-head--center .lede { margin-inline: auto; }
.section-head__title { font-size: var(--display-md); }

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
  --btn-bg: var(--forest);
  --btn-fg: #fff;
  --btn-border: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: 54px;
  padding: 0.85rem 1.9rem;
  border: 2px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--text-base);
  font-weight: 800;
  font-stretch: 88%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition:
    transform var(--t-fast) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out),
    background-color var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out),
    color var(--t-base) var(--ease-out);
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn__icon {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform var(--t-base) var(--ease-out);
}

.btn:hover .btn__icon { transform: translateX(3px); }

.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--forest-ink); --btn-border: var(--lime); }
.btn--lime:hover { --btn-bg: var(--lime-bright); --btn-border: var(--lime-bright); }

.btn--dark { --btn-bg: var(--forest); --btn-fg: #fff; --btn-border: var(--forest); }
.btn--dark:hover { --btn-bg: var(--forest-deep); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--forest); --btn-border: var(--border-strong); }
.btn--outline:hover { --btn-border: var(--forest); --btn-bg: rgba(10, 50, 40, 0.04); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  --btn-border: transparent;
  padding-inline: var(--space-md);
  text-transform: none;
  letter-spacing: 0.02em;
}

.btn--ghost:hover { box-shadow: none; --btn-bg: rgba(255, 255, 255, 0.12); }
.site-header--solid .btn--ghost:hover { --btn-bg: rgba(10, 50, 40, 0.06); }

/* Secondary buttons sit on dark artwork in every hero and dark band, so they
   are white-on-dark. The home hero already inherits this. */
.hero .btn--outline,
.page-hero .btn--outline,
.band--dark .btn--outline,
.sports .btn--outline,
.start-cta .btn--outline,
.site-footer .btn--outline {
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.55);
}

.hero .btn--outline:hover,
.page-hero .btn--outline:hover,
.band--dark .btn--outline:hover,
.start-cta .btn--outline:hover {
  --btn-border: var(--lime);
  --btn-bg: rgba(213, 243, 68, 0.12);
}

.btn--sm {
  min-height: 44px;
  padding: 0.45rem 1.35rem;
  font-size: var(--text-sm);
}

.btn--lg {
  min-height: 60px;
  padding: 1rem 2.4rem;
  font-size: var(--text-lg);
}

.btn--block { width: 100%; }

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 700;
  color: var(--forest);
  border-bottom: 2px solid transparent;
  transition: border-color var(--t-base), color var(--t-base);
}

.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease-out); }
.link-arrow:hover { border-color: var(--lime-deep); }
.link-arrow:hover svg { transform: translateX(3px); }
.band--dark .link-arrow, .sports .link-arrow { color: var(--lime); }

/* ==========================================================================
   6. Forms
   ========================================================================== */

.field { display: flex; flex-direction: column; gap: var(--space-xs); }
.field__label { font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.02em; }
.field__hint { font-size: var(--text-sm); color: var(--text-subtle); }

.field__error {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 650;
  color: var(--danger);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.textarea { min-height: 150px; resize: vertical; line-height: 1.6; }

.select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("../images/svg/icons/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px 18px;
  cursor: pointer;
}

.input:hover, .select:hover, .textarea:hover { border-color: var(--border-strong); }

.input:focus, .select:focus, .textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(10, 50, 40, 0.12);
  outline: none;
}

.input[aria-invalid="true"],
.textarea[aria-invalid="true"],
.select[aria-invalid="true"] { border-color: var(--danger); }

.checkbox { display: flex; gap: var(--space-sm); align-items: flex-start; cursor: pointer; }
.checkbox input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--forest); flex: none; }
.checkbox span { font-size: var(--text-sm); color: var(--text-muted); }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-sm);
}

.form-grid { display: grid; gap: var(--space-lg); }

@media (min-width: 680px) {
  .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid__full { grid-column: 1 / -1; }
}

/* ==========================================================================
   7. Cards and media
   ========================================================================== */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out);
}

.card--lift:hover,
.card--lift:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--lime-deep);
}

.card__icon { width: 46px; height: 46px; color: var(--forest); flex: none; }
.card__title { font-size: var(--text-xl); font-stretch: 88%; }
.card__body { color: var(--text-muted); font-size: var(--text-base); }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--lime-pale);
}

.media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.media--zoom:hover img, .media--zoom:focus-within img { transform: scale(1.05); }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 4 / 5; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--lime-pale);
  color: var(--forest);
  font-size: var(--text-xs);
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge svg { width: 14px; height: 14px; }
.badge--outline { background: transparent; border: 1px solid var(--border-strong); color: var(--text-muted); }
.badge--lime { background: var(--lime); color: var(--forest-ink); }
.badge--ok { background: var(--ok-surface); color: var(--ok); }
.badge--pending { background: #fdf3e3; color: #8a5a12; }
.badge--dark { background: rgba(255, 255, 255, 0.12); color: #fff; }

.tag-row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }

/* ==========================================================================
   8. Site header and navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  transition: background-color var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  border-bottom: 1px solid transparent;
}

.site-header--solid {
  background: rgba(251, 252, 250, 0.94);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
  color: var(--forest);
}

/* On the homepage the header sits on the lime hero panel before scroll, so its
   text is dark green. Once scrolled the bar turns forest and flips to white. */
.site-header--overlay { background: transparent; color: var(--forest-ink); }

.site-header--overlay.is-stuck {
  background: rgba(6, 32, 26, 0.94);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border-dark);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

.site-header__brand { flex: none; display: flex; align-items: center; }
.site-header__logo { width: auto; height: clamp(34px, 3.4vw, 48px); }

/* The supplied colour logo is the default: it sits on the lime hero wedge
   before scroll, and on the light headers of every interior page. The white
   variant only appears once the overlay header turns dark on scroll. */
.site-header__logo--light { display: none; }
.site-header__logo--dark { display: block; }

.site-header--overlay.is-stuck .site-header__logo--light { display: block; }
.site-header--overlay.is-stuck .site-header__logo--dark { display: none; }

.site-nav { margin-left: auto; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.85rem);
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.2rem;
  font-size: var(--text-sm);
  font-weight: 750;
  white-space: nowrap;
  opacity: 0.94;
  transition: opacity var(--t-base), color var(--t-base);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--lime-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}

.site-header--overlay.is-stuck .site-nav__link::after { background: var(--lime); }

/* Before scroll the nav straddles the lime/forest diagonal, so dark links were
   lost on the forest side. A translucent forest pill lets the links go white
   and stay readable on both halves. */
.site-header--overlay:not(.is-stuck) .site-nav {
  padding: 0.2rem clamp(0.9rem, 1.4vw, 1.4rem);
  border-radius: var(--radius-pill);
  background: rgba(6, 32, 26, 0.78);
  backdrop-filter: blur(8px);
  color: #fff;
}

.site-header--overlay:not(.is-stuck) .site-nav__link::after { background: var(--lime); }

/* Log In and the menu toggle sit over the forest side, so they go white too. */
.site-header--overlay:not(.is-stuck) .site-header__login,
.site-header--overlay:not(.is-stuck) .menu-toggle { color: #fff; }
.site-header--overlay:not(.is-stuck) .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.12); }
.site-nav__link:hover, .site-nav__link:focus-visible { opacity: 1; }

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__link.is-current::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex: none;
}

/* Search affordance and divider, as in the reference header. */
.site-header__search {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color var(--t-base);
}

.site-header__search svg { width: 20px; height: 20px; }
.site-header__search:hover { background: rgba(255, 255, 255, 0.14); }
.site-header--solid .site-header__search:hover { background: rgba(10, 50, 40, 0.07); }

.site-header__divider {
  width: 1px;
  height: 26px;
  background: currentColor;
  opacity: 0.3;
}

@media (max-width: 1139px) {
  .site-nav,
  .site-header__login,
  .site-header__divider,
  .site-header__search { display: none; }

  .site-header__actions { margin-left: auto; }
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: var(--space-xs);
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border: 2px solid currentColor;
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  opacity: 0.9;
}

.menu-toggle:hover { opacity: 1; }

@media (max-width: 1139px) {
  .menu-toggle { display: inline-flex; }
}

.menu-toggle__bars { display: grid; gap: 4px; width: 18px; }

.menu-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: rgba(6, 32, 26, 0.55);
  backdrop-filter: blur(3px);
}

.mobile-menu[hidden] { display: none; }

/* The drawer scrim covers the whole viewport, header included. The toggle has
   to stay reachable so the same button closes the drawer -- the bars already
   animate into an X for exactly that -- so lift the header over the scrim
   while it is open. .mobile-menu__panel already reserves --header-h of top
   padding for the bar to sit in. */
body.is-locked .site-header { z-index: calc(var(--z-menu) + 1); }

/* On the homepage the transparent header sits on the lime hero, so its logo
   and toggle are dark -- invisible once the dark drawer opens behind them.
   While the drawer is open, switch to the light logo and a white close button. */
body.is-locked .site-header--overlay .menu-toggle { color: #fff; }
body.is-locked .site-header--overlay .site-header__logo--light { display: block; }
body.is-locked .site-header--overlay .site-header__logo--dark { display: none; }

.mobile-menu__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(420px, 100%);
  background: var(--forest);
  color: #fff;
  padding: calc(var(--header-h) + var(--space-xl)) var(--space-xl) var(--space-xl);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  animation: menu-in var(--t-base) var(--ease-out);
}

@keyframes menu-in {
  from { transform: translateX(16px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.mobile-menu__list { display: flex; flex-direction: column; }

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: var(--text-lg);
  font-weight: 700;
  transition: color var(--t-base), padding-left var(--t-base) var(--ease-out);
}

.mobile-menu__link:hover,
.mobile-menu__link:focus-visible,
.mobile-menu__link.is-current { color: var(--lime); padding-left: var(--space-xs); }

.mobile-menu__chev { width: 18px; height: 18px; opacity: 0.6; }
.mobile-menu__actions { display: grid; gap: var(--space-sm); margin-top: auto; }

/* The drawer is dark, so its outline button (Log In) is white, not dark green. */
.mobile-menu .btn--outline { --btn-fg: #fff; --btn-border: rgba(255, 255, 255, 0.55); }
.mobile-menu .btn--outline:hover { --btn-border: var(--lime); --btn-bg: rgba(213, 243, 68, 0.12); }

/* ==========================================================================
   9. Hero
   The stadium plate fills the whole band. Copy sits at the left; the four
   athletes are spread across the middle and right of the FULL hero width and
   the seated family overlaps the foreground, cropped by the bottom edge.
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  min-height: clamp(520px, 44vw, 700px);
  display: flex;
  align-items: center;
  background: var(--forest-deep);
  color: #fff;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Stadium overlay, masked to the forest side of the diagonal.

   The mask SVG shares the background artwork's 1500x806 box, so "cover" crops
   mask and background identically at every viewport. That keeps the stadium
   off the lime panel and keeps the diagonal a single crisp line, instead of
   the stadium running over the copy as a hard-edged rectangle. */
.hero__stadium {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mask: url("../images/hero-v2/stadium-mask.svg") center / cover no-repeat;
  -webkit-mask: url("../images/hero-v2/stadium-mask.svg") center / cover no-repeat;
}

.hero__stadium picture { display: block; width: 100%; height: 100%; }

.hero__stadium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Soft shadow on the lime wedge, cast from the soccer player in the scene
   (same artwork, blacked out and blurred) so it reads as his shadow rather
   than an unrelated silhouette. It sits under the stadium layer, which hides
   it on the forest side of the diagonal. */
.hero__shadow {
  position: absolute;
  z-index: 0;
  left: 30%;
  bottom: -6%;
  height: 92%;
  transform: translateX(-50%) skewX(-14deg);
  transform-origin: bottom center;
  opacity: 0.13;
  filter: brightness(0) blur(5px);
  pointer-events: none;
}

.hero__shadow picture { display: block; height: 100%; }
.hero__shadow img { height: 100%; width: auto; max-width: none; }

/* Readability wash: heavy on the left behind the copy, clearing by mid-width
   so the stadium itself stays visible as it does in the reference. */
/* --- Athlete layers ----------------------------------------------------- */

.hero__figures {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero__figure {
  position: absolute;
  bottom: var(--fig-bottom, 0%);
  left: var(--fig-x, 50%);
  height: var(--fig-h, 40%);
  transform: translateX(-50%);
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.42));
  animation: figure-rise 620ms var(--ease-out) both;
  animation-delay: var(--fig-delay, 0ms);
}

.hero__figure picture { display: block; height: 100%; }
.hero__figure img { height: 100%; width: auto; max-width: none; object-fit: contain; }

@keyframes figure-rise {
  from { opacity: 0; transform: translateX(-50%) translateY(22px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Positions measured from the reference, as a share of the whole hero. */
.hero__figure--soccer     { --fig-x: 48%; --fig-bottom: 25%; --fig-h: 47%; --fig-delay: 60ms;  z-index: 1; }
.hero__figure--football   { --fig-x: 62%; --fig-bottom: 23%; --fig-h: 50%; --fig-delay: 120ms; z-index: 2; }
.hero__figure--basketball { --fig-x: 75%; --fig-bottom: 31%; --fig-h: 38%; --fig-delay: 180ms; z-index: 1; }
.hero__figure--volleyball { --fig-x: 87%; --fig-bottom: 32%; --fig-h: 46%; --fig-delay: 240ms; z-index: 1; }

/* Large foreground family, cropped by the hero's bottom edge. */
.hero__figure--family {
  --fig-x: 60.5%;
  --fig-bottom: -4%;
  --fig-h: auto;
  width: 34%;
  height: auto;
  z-index: 3;
  animation-delay: 300ms;
}

.hero__figure--family picture { height: auto; }
.hero__figure--family img { width: 100%; height: auto; }

/* --- Floating sport cards ----------------------------------------------- */

.hero__card {
  position: absolute;
  z-index: 4;
  width: clamp(150px, 13vw, 190px);
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  color: var(--forest-ink);
  animation: card-in 620ms var(--ease-out) both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__card-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero__card-body {
  display: block;
  padding: var(--space-sm) var(--space-md);
}

/* Ball icon sits on the same line as the sport name. */
.hero__card-head {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: 2px;
}

.hero__card-icon {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--lime-pale);
  color: var(--forest);
  flex: none;
}

.hero__card-title { font-size: var(--text-sm); font-weight: 800; line-height: 1.2; }
.hero__card-meta { display: block; font-size: var(--text-xs); color: var(--text-subtle); line-height: 1.35; }

/* Crop the basketball card to the top of the portrait so the face shows. */
.hero__card--basketball .hero__card-photo { object-position: center 0%; }

/* Soccer sits on the left, just past the hero buttons and short of the seated
   family (whose left edge is ~43.5% of the width); Basketball stays on the
   right. Soccer is anchored to the copy column rather than a percentage so it
   never slides under the buttons on wide screens. */
.hero__card--soccer {
  left: calc(var(--gutter-left) + 368px);
  top: 40%;
  width: clamp(140px, 10.5vw, 160px);
  animation-delay: 380ms;
}

/* Basketball drops to the bottom-right corner, below the volleyball player's
   feet and right of the family, so it no longer covers her. */
.hero__card--basketball {
  left: calc(84% - 30px);
  bottom: 3%;
  width: clamp(140px, 10.5vw, 160px);
  animation-delay: 460ms;
}

/* Below this width the gap between the buttons and the family is too narrow. */
@media (max-width: 1279px) {
  .hero__card--soccer { display: none; }
}

/* --- Hero copy ----------------------------------------------------------- */

.hero__inner { position: relative; z-index: 5; width: 100%; }

/* On the lime wedge the hero copy is dark green, not white. */
.hero__copy,
.hero .hero__copy .kicker,
.hero .hero__copy .lede { color: var(--forest-ink); }
.hero__copy .accent { color: var(--forest-deep); }
.hero__meta { color: var(--forest-ink); }
.hero__meta li + li::before { background: var(--forest-deep); }
.hero .hero__copy .btn--outline { --btn-fg: var(--forest-ink); --btn-border: rgba(10, 50, 40, 0.45); }
.hero .hero__copy .btn--outline:hover { --btn-border: var(--forest); --btn-bg: rgba(10, 50, 40, 0.08); }

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  /* The artwork diagonal runs from ~65% at the top to ~28% at the bottom, so
     the copy column is held inside the narrowest part of the lime. */
  max-width: min(30rem, 30%);
  min-width: 22.5rem;
  padding-block: clamp(1.5rem, 3vw, 2.75rem);
}

.hero__title {
  font-size: var(--display-xl);
  margin-top: var(--space-xs);
}

.hero__title .accent { display: block; }

/* White line in the title, given a hard forest shadow so it holds up on lime. */
.hero__title-light {
  color: #fff;
  text-shadow: 0 3px 0 var(--forest-deep), 0 6px 18px rgba(0, 40, 32, 0.35);
}
.hero__lede { max-width: 26ch; margin-top: var(--space-2xs); }

/* Sport + area search */
.hero-search {
  display: grid;
  gap: var(--space-xs);
  padding: var(--space-xs);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-sm);
}

@media (min-width: 560px) {
  .hero-search {
    grid-template-columns: 1.25fr 1fr auto;
    align-items: center;
    border-radius: var(--radius-pill);
    padding: 5px 5px 5px var(--space-md);
  }
}

.hero-search__field {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-inline: var(--space-sm);
  min-width: 0;
}

.hero-search__field + .hero-search__field { border-top: 1px solid var(--border); }

@media (min-width: 560px) {
  .hero-search__field + .hero-search__field { border-top: none; border-left: 1px solid var(--border); }
}

.hero-search__icon { width: 19px; height: 19px; color: var(--text-subtle); flex: none; }

.hero-search__field .input,
.hero-search__field .select {
  border: none;
  background-color: transparent;
  padding-inline: 0;
  min-height: 46px;
  box-shadow: none;
  font-size: var(--text-sm);
  min-width: 0;
}

.hero-search__field .select { background-position: right 0 center; padding-right: 1.6rem; }

.hero-search__field .input:focus,
.hero-search__field .select:focus {
  box-shadow: none;
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

.hero-search__submit { min-height: 48px; width: 100%; padding: 0; }

@media (min-width: 560px) {
  .hero-search__submit { width: 48px; border-radius: 50%; }
  .hero-search__submit .hero-search__submit-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* Both buttons sit on one line; they are tightened slightly to fit the
   narrow lime column instead of wrapping onto two rows. */
.hero__actions {
  margin-top: var(--space-xs);
  flex-wrap: nowrap;
  gap: var(--space-sm);
}

.hero__actions .btn {
  flex: none;
  padding-inline: 1.25rem;
  font-size: var(--text-sm);
  white-space: nowrap;
}

@media (max-width: 380px) {
  .hero__actions { flex-wrap: wrap; }
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--forest-ink);
}

.hero__meta li { display: flex; align-items: center; gap: var(--space-md); }

.hero__meta li + li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

/* --- Hero responsive ----------------------------------------------------- */

@media (max-width: 1100px) {
  .hero__copy { max-width: 56%; }
  .hero__card--soccer { display: none; }
  .hero__card--basketball { left: auto; right: 2%; }
  .hero__shadow { left: 40%; }
  .hero__figure--basketball { --fig-x: 78%; }
  .hero__figure--volleyball { --fig-x: 92%; }
}

/* Between tablet and desktop the diagonal cuts across the button row, so the
   second button drops below the first rather than running onto the stadium. */
@media (min-width: 861px) and (max-width: 1100px) {
  .hero__actions { flex-wrap: wrap; max-width: 20rem; }
}

@media (max-width: 860px) {
  /* Stack: copy first, athletes become a shorter scene underneath. */
  .hero {
    min-height: 0;
    display: block;
    padding-bottom: 58vw;
  }

  .hero__copy { max-width: 100%; min-width: 0; padding-block: clamp(1.5rem, 6vw, 3rem); }
  .hero__shadow { display: none; }
  .hero__lede { max-width: 42ch; }

  .hero__figures { top: auto; height: 62vw; }

  .hero__figure--soccer     { --fig-x: 16%; --fig-bottom: 16%; --fig-h: 56%; }
  .hero__figure--football   { --fig-x: 38%; --fig-bottom: 14%; --fig-h: 60%; }
  .hero__figure--basketball { --fig-x: 62%; --fig-bottom: 22%; --fig-h: 46%; }
  .hero__figure--volleyball { --fig-x: 84%; --fig-bottom: 22%; --fig-h: 56%; }
  .hero__figure--family     { --fig-x: 50%; --fig-bottom: -3%; width: 66%; }

  /* Drop the card out of the header band and over the figure scene instead. */
  .hero__card--basketball { top: auto; bottom: 46vw; right: 2%; }
}

@media (max-width: 540px) {
  .hero { padding-bottom: 66vw; }
  .hero__figures { height: 70vw; }
  .hero__card { width: 132px; }
  .hero__card--basketball { bottom: 54vw; }
  .hero__figure--basketball { --fig-h: 42%; }
}

/* --- Compact hero for interior pages ------------------------------------- */

.page-hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(2.25rem, 5vw, 4rem));
  padding-bottom: clamp(2.25rem, 5vw, 4rem);
  background: var(--forest);
  background-image: url("../images/svg/decor/diagonal-dark.svg");
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

/* Sub-page heroes keep the green/lime diagonal artwork and carry a photo of
   players, parents or coaches on the right, cut on the same diagonal with a
   lime stripe along the edge (client request, 2026-10-19). */
.page-hero--photo .page-hero__bg {
  position: absolute;
  inset: var(--header-h) 0 0 auto; /* start below the sticky header so it never covers faces */
  width: 60%;
  z-index: -1;
}

/* Lime stripe running along the photo's diagonal edge. */
.page-hero--photo .page-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--lime);
  clip-path: polygon(19% 0, 22% 0, 6% 100%, 3% 100%);
}

.page-hero--photo .page-hero__bg picture {
  position: absolute;
  inset: 0;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 9% 100%);
}

/* Soft shade on the photo's inner edge so it settles into the green. */
.page-hero--photo .page-hero__bg picture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 26, 21, 0.55) 0%, rgba(3, 26, 21, 0) 45%);
}

.page-hero--photo .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
/* Heroes whose subjects stand tall in the frame: anchor to the top so faces stay in view. */
.page-hero--faces-top .page-hero__bg img { object-position: 70% 0%; }
/* FAQ: the mother stands at the right edge of the photo; pin it right so she is never cut. */
.page-hero--anchor-right .page-hero__bg img { object-position: 100% 0%; }

/* Keep the copy clear of the photo. */
@media (min-width: 761px) {
  .page-hero.page-hero--photo .page-hero__inner > *:not(.btn-row):not(.tag-row) { max-width: min(58ch, 40vw); }
}

/* On phones the photo goes behind the whole hero under a dark wash. */
@media (max-width: 760px) {
  .page-hero--photo .page-hero__bg { width: 100%; }
  .page-hero--photo .page-hero__bg::before { display: none; }
  .page-hero--photo .page-hero__bg picture { clip-path: none; }
  .page-hero--photo .page-hero__bg picture::after {
    background: linear-gradient(100deg, rgba(3, 26, 21, 0.94) 25%, rgba(3, 26, 21, 0.7) 100%);
  }
}

/* The element also carries .container, so it must not override that max-width;
   constrain the text blocks instead or the whole hero becomes centred. */
.page-hero__inner { display: flex; flex-direction: column; gap: var(--space-md); align-items: flex-start; }
.page-hero__inner > *:not(.btn-row):not(.tag-row) { max-width: 62ch; }
.page-hero__title { font-size: var(--display-lg); }
.page-hero .lede { color: var(--text-on-dark-muted); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-xs);
}

.breadcrumb a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.55; }

/* ==========================================================================
   10. Home sections
   ========================================================================== */

/* --- Parents / coaches strip: compact pale-lime band --------------------- */

.audience-band { padding-block: var(--section-y-sm) var(--section-y-sm-end); }

.audience {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 880px) {
  .audience { grid-template-columns: 1fr 1px 1fr; }
}

.audience__divider {
  display: none;
  align-self: stretch;
  background: rgba(10, 50, 40, 0.2);
}

@media (min-width: 880px) {
  .audience__divider { display: block; }
}

.audience__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-sm) clamp(1.25rem, 2.5vw, 2.25rem);
  align-items: start;
}

.audience__icon {
  width: clamp(68px, 7vw, 100px);
  height: clamp(68px, 7vw, 100px);
  color: var(--forest);
  grid-row: span 2;
}

.audience__title {
  font-size: clamp(1.35rem, 1.5vw + 0.9rem, 1.95rem);
  text-transform: uppercase;
  font-stretch: 80%;
  font-weight: 900;
  margin-bottom: var(--space-xs);
}

.audience__body {
  color: var(--text-muted);
  max-width: 30ch;
  margin-bottom: var(--space-lg);
}

/* The checklist and button start under the icon rather than under the text. */
.audience__list,
.audience__cta { grid-column: 1 / -1; }
.audience__icon { grid-row: auto; }
.audience__list { margin-top: 0; }
.audience__list li { font-size: 1rem; }
.audience__cta { margin-top: 20px; }

@media (max-width: 599px) {
  .audience__item { grid-template-columns: 1fr; }
  .audience__icon { grid-row: auto; }
  .audience__cta { grid-column: 1; }
}

/* --- How it works ------------------------------------------------------- */

.how {
  position: relative;
  background: var(--lime-pale);
  background-image: url("../images/svg/decor/diagonal-light.svg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* The team photograph fills the right of the band, full height. */
.how__photo { position: absolute; inset: 0 0 0 auto; width: 44%; z-index: 1; }
.how__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; } /* portrait swimmer: keep her face in the band */

/* White panel with the angled right edge that overlaps the photograph. */
.how__panel {
  position: relative;
  z-index: 2;
  width: 76%;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  padding-block: var(--section-y) var(--section-y-end);
  padding-left: var(--gutter-left);
  padding-right: clamp(5rem, 12vw, 11rem);
}

.how__head { max-width: 46ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.how__head .kicker { margin-bottom: var(--space-sm); }
.how__title { font-size: clamp(2rem, 3.4vw + 1rem, 4rem); }
.how__head .lede { margin-top: var(--space-sm); font-size: var(--text-md); max-width: 52ch; }

.how__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2.25rem);
}

.step { position: relative; display: flex; flex-direction: column; gap: var(--space-xs); }

/* Arrows sit between the steps, level with the number/icon row. */
.step + .step::before {
  content: "";
  position: absolute;
  left: calc(clamp(1rem, 2.2vw, 2.25rem) / -2 - 11px);
  top: 20px;
  width: 22px;
  height: 12px;
  background: currentColor;
  color: var(--border-strong);
  mask: url("../images/svg/icons/arrow-right.svg") center / contain no-repeat;
  -webkit-mask: url("../images/svg/icons/arrow-right.svg") center / contain no-repeat;
}

.step__head { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-xs); }

.step__num {
  font-size: clamp(1.5rem, 1.8vw + 1rem, 2.25rem);
  font-weight: 900;
  font-stretch: 76%;
  color: #c9d2cb;
  line-height: 1;
}

.step__icon { width: clamp(32px, 3vw, 42px); height: clamp(32px, 3vw, 42px); color: var(--forest); flex: none; }

.step__title {
  font-size: var(--text-base);
  font-weight: 850;
  font-stretch: 86%;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.step__body { color: var(--text-muted); font-size: var(--text-sm); line-height: 1.55; }

.how__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

.how__privacy-note {
  font-size: var(--text-sm);
  color: var(--text-subtle);
  max-width: 68ch;
}

.how__privacy-note a {
  color: var(--forest);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--lime-deep);
  text-decoration-thickness: 2px;
}

@media (max-width: 1100px) {
  .how__panel { width: 82%; padding-right: clamp(3rem, 8vw, 7rem); }
  .how__photo { width: 36%; }
  .how__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); }
  .step + .step::before { display: none; }
}

@media (max-width: 760px) {
  .how { display: flex; flex-direction: column-reverse; }
  .how__photo { position: relative; inset: auto; width: 100%; height: clamp(200px, 42vw, 320px); }
  .how__panel {
    width: 100%;
    clip-path: none;
    padding-inline: var(--container-pad);
    padding-block: var(--section-y) var(--section-y-end);
  }
  .how__panel,
  .how__photo { max-width: 100%; }
}

@media (max-width: 480px) {
  .how__steps { grid-template-columns: 1fr; gap: var(--space-lg); }
}

/* --- Explore sports ------------------------------------------------------ */

.sports {
  position: relative;
  background: var(--forest);
  background-image: url("../images/svg/decor/diagonal-dark.svg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding-block: var(--section-y) var(--section-y-end);
  overflow: hidden;
}

.sports__inner {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

@media (min-width: 1000px) {
  .sports__inner { grid-template-columns: minmax(240px, 27%) minmax(0, 1fr); }
}

.sports__head .kicker { margin-bottom: var(--space-xs); }
.sports__title { font-size: clamp(2.1rem, 3.2vw + 1rem, 3.9rem); color: var(--lime); }
.sports__head .lede { margin-block: var(--space-sm) var(--space-lg); font-size: var(--text-base); max-width: 34ch; }

.sports__rail-wrap { position: relative; min-width: 0; }

.sports-rail {
  display: flex;
  gap: clamp(0.6rem, 1vw, 1rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: 2px;
}

.sports-rail::-webkit-scrollbar { display: none; }

/* Tall photographic cards with slanted edges, as in the reference. */
.sport-card {
  position: relative;
  flex: 0 0 auto;
  /* Four across the rail at desktop, per the client. */
  width: calc((100% - (3 * clamp(0.6rem, 1vw, 1rem))) / 4);
  min-width: 150px;
  height: clamp(230px, 20vw, 310px);
  scroll-snap-align: start;
  overflow: hidden;
  background: var(--forest-soft);
  /* The clip slants the card while the photo and label inside stay upright. */
  clip-path: polygon(13% 0, 100% 0, 87% 100%, 0 100%);
  transition: transform var(--t-base) var(--ease-out), filter var(--t-base);
}

.sport-card:hover,
.sport-card:focus-visible { transform: translateY(-6px); filter: brightness(1.06); }

.sport-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}

.sport-card:hover .sport-card__img,
.sport-card:focus-visible .sport-card__img { transform: scale(1.07); }

.sport-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 22, 17, 0.96) 6%, rgba(0, 22, 17, 0.45) 34%, rgba(0, 22, 17, 0) 62%);
}

.sport-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-md) var(--space-xs) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  text-align: center;
  color: #fff;
}

.sport-card__icon {
  width: clamp(28px, 2.4vw, 36px);
  height: clamp(28px, 2.4vw, 36px);
  color: #fff;
  transition: color var(--t-base), transform var(--t-base) var(--ease-out);
}

.sport-card:hover .sport-card__icon,
.sport-card:focus-visible .sport-card__icon { color: var(--lime); transform: translateY(-2px); }

.sport-card__name { font-size: var(--text-base); font-weight: 750; font-stretch: 90%; }
.sport-card__meta { font-size: 0.7rem; color: rgba(255, 255, 255, 0.76); }

/* Rail controls flank the cards at every size, as in the reference. */
.rail-btn {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 3;
  width: clamp(38px, 3.2vw, 46px);
  height: clamp(38px, 3.2vw, 46px);
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(2, 30, 24, 0.5);
  color: #fff;
  cursor: pointer;
  transition: background-color var(--t-base), border-color var(--t-base), color var(--t-base), opacity var(--t-base);
}

.rail-btn svg { width: 18px; height: 18px; }
.rail-btn--prev { left: calc(clamp(38px, 3.2vw, 46px) / -2 - 6px); }
.rail-btn--next { right: calc(clamp(38px, 3.2vw, 46px) / -2 - 6px); }

.rail-btn:hover:not(:disabled) { background: var(--lime); border-color: var(--lime); color: var(--forest-ink); }
.rail-btn:disabled { opacity: 0.3; cursor: not-allowed; }

@media (max-width: 1000px) {
  .rail-btn--prev { left: 0; }
  .rail-btn--next { right: 0; }
}

.rail-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.rail-dot {
  width: 42px;
  height: 7px;
  border-radius: 4px;
  border: 0;
  padding: 0;
  background: rgba(196, 213, 206, 0.45);
  cursor: pointer;
  transition: background-color var(--t-base), width var(--t-base) var(--ease-out);
}

.rail-dot.is-active { background: var(--lime); width: 56px; }

/* --- Find opportunities near you ----------------------------------------- */

.nearby {
  position: relative;
  background: var(--paper);
  overflow: hidden;
  display: flex;
  align-items: stretch; /* panel runs full height, or a sliver of photo shows under it */
  min-height: clamp(380px, 32vw, 500px);
}

/* Park + skyline imagery fills the right portion of the band. */
.nearby__scene { position: absolute; inset: 0 0 0 26%; z-index: 1; }

.nearby__photo,
.nearby__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The supplied map artwork is a texture, not a map: keep it faint so the park
   photograph still reads and it is never mistaken for real location data. */
.nearby__texture { opacity: 0.22; mix-blend-mode: soft-light; }

/* White angled panel over the left of the imagery. */
.nearby__panel {
  position: relative;
  z-index: 2;
  width: min(60%, 820px);
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  padding-block: var(--section-y) var(--section-y-end);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: var(--gutter-left);
  padding-right: clamp(4rem, 9vw, 9rem);
}

.nearby__title { font-size: clamp(1.9rem, 3.2vw + 1rem, 3.6rem); }
.nearby__panel .kicker-line { margin-bottom: var(--space-lg); }
.nearby__panel .lede { margin-block: var(--space-lg); max-width: 36ch; font-size: var(--text-md); }

.nearby__form { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }
.nearby__form .select { max-width: 220px; }

.nearby__note {
  font-size: var(--text-xs);
  color: var(--text-subtle);
  margin-top: var(--space-md);
  max-width: 40ch;
}

.nearby__portraits { position: absolute; inset: 0; z-index: 5; }

.nearby__portrait {
  position: absolute;
  width: var(--pw, clamp(88px, 11.5vw, 168px));
  aspect-ratio: 1;
  border-radius: 50%;
  border: 6px solid #fff;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-base) var(--ease-out);
}

.nearby__portrait:hover { transform: scale(1.05); }

.nearby__portrait--a { --pw: clamp(104px, 14vw, 200px); left: -2%;  top: 20%; }
.nearby__portrait--b { --pw: clamp(78px,  10vw, 146px); left: 25%;  top: 55%; }
.nearby__portrait--c { --pw: clamp(92px,  12vw, 176px); left: 45%;  top: 8%;  }
.nearby__portrait--d { --pw: clamp(84px,  11vw, 160px); left: 50%;  top: 55%; }
.nearby__portrait--e { --pw: clamp(64px,  8vw,  118px); left: 72%;  top: 26%; }
.nearby__portrait--f { --pw: clamp(72px,  9.2vw, 136px); left: 78%;  top: 55%; }

.nearby__pin {
  position: absolute;
  width: clamp(22px, 2.4vw, 38px);
  color: var(--lime);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.nearby__pin--1 { left: 24%; top: 28%; }
.nearby__pin--2 { left: 44%; top: 40%; }
.nearby__pin--3 { left: 6%; top: 66%; }
.nearby__pin--4 { left: 78%; top: 10%; }
.nearby__pin--5 { left: 88%; top: 44%; }
/* The pill paints over the whole scene: its z-index is counted against
   .nearby__scene (z-index 1), so the portraits' z-index 5 is sealed inside
   the scene's own stacking context and cannot lift them above it.
   At top: 9% the pill landed squarely across the face of portrait --c, which
   starts at 8%. Riding just under the section's top edge clears the face at
   every height in the min-height clamp - the pill is ~45px tall, and the face
   starts roughly 66px down at 380px and 84px down at 500px - while still
   overlapping the top arc of the circle, so it keeps reading as a label
   floating on the photo. The horizontal position is deliberately untouched:
   the white panel reaches ~57% at 1440px, so there is no room to move left. */
.nearby__area-pill {
  position: absolute;
  z-index: 3;
  left: 58%;
  top: 1.5%;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: #fff;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-weight: 650;
  font-size: var(--text-sm);
  white-space: nowrap;
}

.nearby__area-pill svg { width: 18px; height: 18px; color: var(--lime-deep); flex: none; }
.nearby__area-pill .nearby__chev { color: var(--text-subtle); width: 16px; height: 16px; }

@media (max-width: 1000px) {
  .nearby__panel { width: min(72%, 620px); padding-right: clamp(2.5rem, 7vw, 6rem); }
  .nearby__scene { inset: 0 0 0 16%; }
  .nearby__portrait--a { left: 22%; }
  .nearby__area-pill { left: auto; right: 4%; }
}

@media (max-width: 760px) {
  .nearby { display: block; min-height: 0; }
  .nearby__panel {
    width: 100%;
    clip-path: none;
    padding-inline: var(--container-pad);
  }
  .nearby__scene { position: relative; inset: auto; height: clamp(260px, 60vw, 380px); }
  .nearby__area-pill { left: 50%; translate: -50% 0; right: auto; top: var(--space-md); }
  .nearby__portrait--a { left: 4%; top: 16%; }
  .nearby__portrait--b { left: 30%; top: 50%; }
  .nearby__portrait--c { left: 56%; top: 14%; }
  .nearby__portrait--d { left: 62%; top: 56%; }
}

/* --- Player / community bands -------------------------------------------- */

.band { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(400px, 33vw, 520px); }

.band__photo { position: absolute; inset: 0; z-index: 1; }
.band__photo img { width: 100%; height: 100%; object-fit: cover; }

.band__panel {
  position: relative;
  z-index: 2;
  padding-block: var(--section-y) var(--section-y-end);
}

/* Dark band: soccer photograph left, green panel right, diagonal boundary. */
.band--dark { background: var(--forest); color: #fff; }
.band--dark .band__photo { inset: 0 auto 0 0; width: 48%; }
/* The main player sits right of centre in the source frame, so bias the crop
   that way now the photo occupies the left half. */
.band--dark .band__photo img { object-position: 62% 35%; }

.band--dark .band__panel {
  width: 62%;
  margin-left: auto;
  background: var(--forest);
  /* The lime stripes ran straight behind the copy and tiles, so a forest wash
     knocks them back to a texture and the text sits on solid dark green. */
  background-image:
    linear-gradient(rgba(6, 32, 26, 0.78), rgba(6, 32, 26, 0.78)),
    url("../images/svg/decor/diagonal-dark.svg");
  background-size: cover;
  background-position: right center;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  padding-left: clamp(4rem, 9vw, 9rem);
  padding-right: var(--gutter-left);
  text-align: center;
}

.band--dark .band__inner { max-width: 44rem; margin-inline: auto; }

/* Light band: coach photograph left, pale panel right with a diagonal edge.
   (Photo moved to the left at the client's request, 2026-10-19.) */
.band--light { background: var(--lime-pale); color: var(--text); }
.band--light .band__photo { inset: 0 auto 0 0; width: 52%; }
.band--light .band__photo img { object-position: 40% center; }

.band--light .band__panel {
  width: 56%;
  margin-left: auto;
  background: var(--lime-pale);
  background-image: url("../images/svg/decor/diagonal-light.svg");
  background-size: cover;
  background-position: right center;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  padding-left: clamp(4rem, 9vw, 9rem);
  padding-right: var(--gutter-left);
}

/* Mirror variant: panel left, photo right (the homepage coaches section).
   White rather than pale lime so it reads apart from the band above it. */
.band--photo-right { background: #fff; }
.band--photo-right .band__photo { inset: 0 0 0 auto; }
.band--photo-right .band__photo img { object-position: 30% center; }

.band--light.band--photo-right .band__panel {
  margin-left: 0;
  background: #fff;
  background-image: linear-gradient(100deg, #fff 55%, var(--lime-mist) 100%);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  padding-left: var(--gutter-left);
  padding-right: clamp(4rem, 9vw, 9rem);
}

.band--photo-right .mini-tile { background: var(--lime-mist); }

@media (max-width: 1000px) {
  .band--light.band--photo-right .band__panel { padding-left: var(--gutter-left); padding-right: clamp(2.5rem, 7vw, 6rem); }
}

/* Three-colour "Connect. Play. Belong." title on the pale panel. */
.band__title--tri .tri-1 { color: var(--forest-ink); }
.band__title--tri .tri-2 { color: var(--lime-deep); }
.band__title--tri .tri-3 { color: #21933e; }

.band--light .band__inner { max-width: 40rem; }

.band__title { font-size: clamp(1.8rem, 2.6vw + 1rem, 3.1rem); }
.band__panel .kicker { margin-bottom: var(--space-sm); }
.band__panel .lede { margin-block: var(--space-md) var(--space-lg); font-size: var(--text-md); }
.band--dark .band__panel .lede { margin-inline: auto; }

.mini-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* Breathing room when a button row follows the tiles. */
.mini-tiles + .btn-row { margin-top: clamp(1.75rem, 3vw, 2.75rem); }

.mini-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xs);
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--t-base) var(--ease-out), background-color var(--t-base);
}

.band--dark .mini-tile {
  background: #0b2b23;
  border: 1px solid rgba(213, 243, 68, 0.28);
}

.band--dark .mini-tile:hover { transform: translateY(-4px); background: #103a2f; }

.band--light .mini-tile {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(10, 50, 40, 0.1);
}

.band--light .mini-tile:hover { transform: translateY(-4px); background: #fff; }

.mini-tile__icon {
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: 50%;
  margin-bottom: var(--space-2xs);
}

.band--dark .mini-tile__icon { color: var(--lime); background: rgba(213, 243, 68, 0.12); }
.band--light .mini-tile__icon { color: var(--forest); background: var(--lime); }

.mini-tile__title { font-size: var(--text-base); font-weight: 800; font-stretch: 88%; }
.mini-tile__body { font-size: var(--text-xs); line-height: 1.5; }
.band--dark .mini-tile__body { color: rgba(255, 255, 255, 0.82); }
.band--light .mini-tile__body { color: var(--text-muted); }

@media (max-width: 1000px) {
  .band--dark .band__panel { width: 72%; padding-left: clamp(2.5rem, 7vw, 6rem); }
  .band--dark .band__photo { width: 38%; }
  .band--light .band__panel { width: 66%; padding-left: clamp(2.5rem, 7vw, 6rem); }
  .band--light .band__photo { width: 42%; }
}

@media (max-width: 760px) {
  .band { display: block; min-height: 0; }

  .band__photo { position: relative; inset: auto; width: 100% !important; height: clamp(220px, 50vw, 340px); }

  .band__panel {
    width: 100% !important;
    clip-path: none !important;
    padding-inline: var(--container-pad) !important;
  }

  .band--light { display: flex; flex-direction: column; }
  .mini-tiles { grid-template-columns: 1fr; }
  /* Icon on the left, title stacked over the description. */
  .mini-tile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: var(--space-md);
    row-gap: 2px;
    align-items: center;
    text-align: left;
  }
  .mini-tile__icon { grid-row: span 2; margin-bottom: 0; }
}

/* ==========================================================================
   11. Discovery, listings and detail views
   ========================================================================== */

.discovery { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }

@media (min-width: 1000px) {
  .discovery { grid-template-columns: 310px minmax(0, 1fr); }
}

.filters {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 1000px) {
  .filters { position: sticky; top: calc(var(--header-h) + 24px); }
}

.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.filters__title { font-size: var(--text-lg); font-stretch: 88%; }
.filters__form { display: grid; gap: var(--space-lg); }
.filters__actions { display: grid; gap: var(--space-sm); margin-top: var(--space-xs); }

.results__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.results__count { font-size: var(--text-lg); font-weight: 800; font-stretch: 88%; }
.results__list { display: grid; gap: var(--gap-grid); }

@media (min-width: 720px) {
  .results__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-lg); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.35rem 0.5rem 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--lime-pale);
  color: var(--forest);
  font-size: var(--text-sm);
  font-weight: 700;
}

.chip__remove {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(10, 50, 40, 0.1);
  transition: background-color var(--t-base);
}

.chip__remove:hover { background: var(--forest); color: #fff; }
.chip__remove svg { width: 12px; height: 12px; transform: rotate(45deg); }

.listing {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: clamp(1.25rem, 2.4vw, 1.9rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base);
}

.listing:hover,
.listing:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--lime-deep); }

.listing__top { display: flex; align-items: flex-start; gap: var(--space-md); }

.listing__sport-icon {
  width: 46px;
  height: 46px;
  padding: 9px;
  border-radius: 50%;
  background: var(--lime-pale);
  color: var(--forest);
  flex: none;
}

.listing__ref { font-size: var(--text-lg); font-stretch: 88%; }
.listing__ref a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.listing__sub { font-size: var(--text-sm); color: var(--text-subtle); }
.listing__summary { color: var(--text-muted); font-size: var(--text-base); }

.listing__facts {
  display: grid;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: var(--text-sm);
}

@media (min-width: 520px) {
  .listing__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.listing__fact { display: flex; align-items: center; gap: var(--space-xs); color: var(--text-muted); }
.listing__fact svg { width: 16px; height: 16px; color: var(--lime-deep); flex: none; }

.listing__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: auto;
  padding-top: var(--space-xs);
}

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--space-xl);
  background: #fff;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}

.empty__icon { width: 56px; height: 56px; color: var(--lime-deep); }
.empty__title { font-size: var(--text-xl); font-stretch: 88%; }
.empty__body { color: var(--text-muted); max-width: 48ch; }
.empty__hints { display: flex; flex-wrap: wrap; gap: var(--space-xs); justify-content: center; }

.detail { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }

@media (min-width: 980px) {
  .detail { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .detail__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

.detail__panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.spec-list { display: grid; gap: var(--space-md); }

@media (min-width: 560px) {
  .spec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-md);
  background: var(--lime-mist);
  border-radius: var(--radius-sm);
}

.spec__label {
  font-size: var(--text-xs);
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.spec__value { font-weight: 700; }

/* ==========================================================================
   12. Accordion and notices
   ========================================================================== */

.accordion { display: grid; gap: var(--space-sm); }

.accordion__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.accordion__item:hover { border-color: var(--border-strong); }
.accordion__item.is-open { border-color: var(--lime-deep); box-shadow: var(--shadow-sm); }

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: none;
  border: 0;
  text-align: left;
  font-size: var(--text-md);
  font-weight: 750;
  cursor: pointer;
  min-height: 60px;
}

.accordion__icon { width: 20px; height: 20px; flex: none; color: var(--lime-deep); transition: transform var(--t-base) var(--ease-out); }
.accordion__item.is-open .accordion__icon { transform: rotate(180deg); }
.accordion__panel { padding: 0 var(--space-lg) var(--space-lg); color: var(--text-muted); max-width: 76ch; }
.accordion__panel[hidden] { display: none; }

.notice {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--lime-mist);
  font-size: var(--text-base);
}

.notice__icon { width: 22px; height: 22px; flex: none; color: var(--forest); margin-top: 2px; }
.notice--info { background: var(--lime-mist); border-color: #dfe9c6; }
.notice--warn { background: #fdf6e8; border-color: #f0dfbc; }
.notice--ok { background: var(--ok-surface); border-color: #c5e3d1; }
.notice--error { background: var(--danger-surface); border-color: #f2cfc8; color: var(--danger); }
.notice strong { display: block; margin-bottom: 2px; color: var(--text); }
.notice--error strong { color: var(--danger); }
.notice--dark { background: rgba(255, 255, 255, 0.07); border-color: var(--border-dark); color: var(--text-on-dark-muted); }
.notice--dark strong, .notice--dark .notice__icon { color: #fff; }

.notice a {
  color: var(--forest);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--lime-deep);
  text-decoration-thickness: 2px;
}

/* ==========================================================================
   13. Footer
   Flat dark-green centre; the lime diagonal decoration is confined to narrow
   bands at the left and right edges rather than washing over the columns.
   ========================================================================== */

.site-footer {
  position: relative;
  background: var(--forest-deep);
  color: var(--text-on-dark-muted);
  padding-block: var(--section-y) var(--space-xl);
  overflow: hidden;
  isolation: isolate;
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 9vw, 150px);
  z-index: -1;
  background-image: url("../images/svg/decor/diagonal-dark.svg");
  background-size: cover;
  opacity: 0.9;
}

.site-footer::before { left: 0; background-position: left center; }
.site-footer::after { right: 0; background-position: right center; transform: scaleX(-1); }

/* The footer runs wider than the page container so the columns spread out. */
.site-footer__inner {
  position: relative;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4.5rem);
}

.site-footer__grid { display: grid; gap: clamp(2rem, 4.5vw, 4.5rem); }

@media (min-width: 720px) {
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .site-footer__grid { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); }
}

.site-footer__logo { height: 38px; width: auto; margin-bottom: var(--space-md); }
.site-footer__blurb {
  max-width: 28ch;
  font-size: var(--text-lg);
  line-height: 1.5;
  color: #e4efe8;
}

.site-footer__heading {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-lg);
  font-stretch: 94%;
}

.site-footer__list { display: grid; gap: var(--space-sm); }

.site-footer__link {
  display: inline-block;
  font-size: var(--text-base);
  transition: color var(--t-base), transform var(--t-base) var(--ease-out);
}

.site-footer__link:hover,
.site-footer__link:focus-visible { color: var(--lime); transform: translateX(3px); }

.social-row { display: flex; gap: var(--space-sm); margin-top: var(--space-lg); }

.social-row__link,
.social-row__pending {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  /* Solid lime discs with dark glyphs, so the icons read as filled. */
  background: var(--lime);
  border: 1px solid var(--lime);
  color: var(--forest-ink);
  transition: background-color var(--t-base), color var(--t-base), border-color var(--t-base);
}

.social-row__link:hover { background: #fff; border-color: #fff; color: var(--forest-ink); }
/* Profiles not linked yet still show at full strength; they just aren't links. */
.social-row__pending { cursor: default; }
.social-row__icon { width: 18px; height: 18px; }

.site-footer__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-dark);
}

.site-footer__strip-text { display: flex; align-items: center; gap: var(--space-md); }

.site-footer__strip-icon {
  width: 48px;
  height: 48px;
  padding: 13px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest-ink);
  flex: none;
}

.site-footer__strip-title { color: #fff; font-weight: 750; font-size: var(--text-base); }
.site-footer__strip-sub { font-size: var(--text-sm); }

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  font-size: var(--text-sm);
}

.site-footer__legal-links { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.site-footer__legal-links a:hover { color: var(--lime); }

/* ==========================================================================
   14. Motion
   ========================================================================== */

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}

.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }
.js-reveal [data-reveal][data-reveal-delay="1"] { transition-delay: 70ms; }
.js-reveal [data-reveal][data-reveal-delay="2"] { transition-delay: 140ms; }
.js-reveal [data-reveal][data-reveal-delay="3"] { transition-delay: 210ms; }
.js-reveal [data-reveal][data-reveal-delay="4"] { transition-delay: 280ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js-reveal [data-reveal] { opacity: 1; transform: none; }

  .btn:hover,
  .card--lift:hover,
  .listing:hover,
  .mini-tile:hover,
  .sport-card:hover,
  .nearby__portrait:hover { transform: none; }

  .media--zoom:hover img,
  .sport-card:hover .sport-card__img { transform: none; }

  .hero__figure,
  .hero__card { animation: none; opacity: 1; }

  .hero__figure { transform: translateX(-50%); }
}

/* ==========================================================================
   15. Utilities and print
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.max-prose { max-width: 68ch; }

@media print {
  .site-header,
  .site-footer,
  .mobile-menu,
  .filters { display: none !important; }

  body { color: #000; background: #fff; }
}

/* ==========================================================================
   16. Later additions
   ========================================================================== */

/* --- Hero on small screens ---------------------------------------------
   The diagonal artwork only works in the two-column desktop layout; cropped
   to a phone it left a stray wedge and a second, different lime behind the
   copy. Once the hero stacks, the whole top is one lime and the stadium
   becomes an angled scene underneath for the athletes to stand in. */
@media (max-width: 860px) {
  .hero { background: #eef72e; }
  .hero__bg { display: none; }

  .hero__stadium {
    top: auto;
    height: 62vw;
    -webkit-mask: none;
    mask: none;
    clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%);
  }

  .hero__meta {
    flex-wrap: nowrap;
    gap: var(--space-sm);
    letter-spacing: 0.16em;
    font-size: var(--text-xs);
  }
  .hero__meta li { gap: var(--space-sm); }

  /* The header sits on lime here, so the menu button is dark, not white. */
  .site-header--overlay:not(.is-stuck) .menu-toggle { color: var(--forest-ink); }
}

@media (max-width: 540px) {
  .hero__stadium { height: 70vw; }
}

/* The floating cards have nowhere to sit on a phone without covering the
   copy or the athletes. */
@media (max-width: 600px) {
  .hero__card { display: none; }
  /* Get Started is in the menu; the bar only has room for logo + menu. */
  .site-header__actions { display: none; }
  .menu-toggle { margin-left: auto; }
}

/* --- App call to action, above the footer on every page -----------------
   Follows the client's "Take Your Game Further" banner (2026-10-19): a team
   photo fading in from the left with a phone mock-up over it, the copy in
   the middle and the store badges on the right. One design on every page. */

.app-cta {
  --app-pad: clamp(2.75rem, 5vw, 4.5rem);
  background: linear-gradient(100deg, #fff 0%, var(--lime-pale) 55%, #e6f59c 100%);
  border-top: 1px solid var(--border);
  color: var(--forest-ink);
  overflow: hidden;
}

.app-cta__inner {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: var(--app-pad) clamp(1.25rem, 5vw, 4.5rem) var(--app-pad) 0;
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

/* Photo bleeds to the banner's top, bottom and left edges. */
.app-cta__visual {
  position: relative;
  flex: none;
  align-self: stretch;
  width: clamp(240px, 28vw, 400px);
  min-height: 300px;
  margin-block: calc(var(--app-pad) * -1);
}

.app-cta__visual > picture { position: absolute; inset: 0; }

.app-cta__scene {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 30%;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 45%, transparent 100%);
}

.app-cta__phone {
  position: absolute;
  right: 12%;
  top: 50%;
  width: clamp(84px, 7.4vw, 112px);
  aspect-ratio: 9 / 18;
  padding: 4px;
  border-radius: 16px;
  background: #0b0f0d;
  box-shadow: 0 18px 36px rgba(0, 30, 24, 0.35);
  transform: translateY(-50%) rotate(-7deg);
}

.app-cta__screen {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.app-cta__screen-bar { display: flex; padding: 5px 6px; background: var(--forest); }
.app-cta__screen-bar img { width: 12px; height: 12px; }
.app-cta__screen-photo { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 4%; }

.app-cta__screen-label {
  padding-inline: 6px;
  font-size: 7px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--forest-ink);
}

.app-cta__screen-line { height: 4px; margin-inline: 6px; border-radius: 2px; background: #e3e8e5; }
.app-cta__screen-line--short { width: 50%; }

.app-cta__copy { flex: 1 1 auto; min-width: 0; }

.app-cta__title {
  font-size: clamp(1.4rem, 1.8vw + 0.9rem, 2.2rem);
  font-weight: 900;
  font-stretch: 85%;
  line-height: 1.05;
  color: var(--forest-ink);
}

.app-cta__title .accent { color: #21933e; }

.app-cta__body {
  margin-top: var(--space-xs);
  max-width: 46ch;
  color: var(--forest-soft);
}

.app-cta__platforms {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: none;
}

/* Deliberately not links: no app-store destinations exist yet. */
.app-cta__badge {
  display: block;
  width: clamp(180px, 15vw, 230px);
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 40, 32, 0.18));
}

@media (max-width: 1000px) {
  .app-cta__inner { flex-wrap: wrap; }
  .app-cta__copy { flex-basis: 18rem; }
  .app-cta__platforms { width: 100%; padding-left: calc(clamp(240px, 28vw, 400px) + clamp(1.25rem, 3vw, 2.5rem)); }
}

/* Phones: photo and phone become a strip across the top. */
@media (max-width: 700px) {
  .app-cta__inner { flex-direction: column; align-items: flex-start; padding-left: clamp(1.25rem, 5vw, 4.5rem); }
  .app-cta__visual {
    width: calc(100% + clamp(1.25rem, 5vw, 4.5rem) * 2);
    margin: calc(var(--app-pad) * -1) calc(clamp(1.25rem, 5vw, 4.5rem) * -1) 0;
    height: 240px;
  }
  .app-cta__scene {
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  }
  .app-cta__phone { right: 14%; }
  .app-cta__copy { flex: none; }
  .app-cta__platforms { padding-left: 0; }
}

/* --- Footer motto replaces the old "find local teams" strip -------------- */

.site-footer__motto {
  width: 100%;
  text-align: center;
  font-size: clamp(1.1rem, 1.6vw + 0.8rem, 1.75rem);
  font-weight: 900;
  font-stretch: 80%;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #fff;
}

/* --- Footer motto in three colours (client request, 2026-10-19) --------- */

.site-footer__motto .tri-1 { color: #fff; }
.site-footer__motto .tri-2 { color: var(--lime); }
.site-footer__motto .tri-3 { color: #5fd38a; }

/* --- Ticked checklist under the parents / coaches strip ------------------ */

.checklist {
  display: grid;
  gap: 0.45rem;
  margin-top: var(--space-sm);
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--text-sm);
  font-weight: 650;
  color: var(--forest-ink);
}

/* A filled, ticked box to the left of each line. */
.checklist li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.05em;
  border-radius: 5px;
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23d5f344' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* --- FAQs page ------------------------------------------------------------ */

.faq-search {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  max-width: 980px;
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.75rem);
  padding: 6px 6px 6px var(--space-lg);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.faq-search__icon { width: 20px; height: 20px; flex: none; color: var(--forest); }

.faq-search__input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  border: 0;
  background: transparent;
  font-size: var(--text-base);
}

.faq-search__input:focus { outline: none; }
.faq-search:focus-within { border-color: var(--lime-deep); box-shadow: 0 0 0 3px rgba(147, 179, 18, 0.25); }
.faq-search__btn { flex: none; min-height: 48px; }

.faq-search__empty { text-align: center; margin-bottom: var(--space-xl); color: var(--text-muted); }
.faq-search__empty a { color: var(--forest); font-weight: 700; text-decoration: underline; }

.faq-cols {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  align-items: start;
}

@media (min-width: 900px) {
  .faq-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.faq-col[hidden] { display: none; }

/* Column header: dark photo card with an icon disc and a two-tone title. */
.faq-col__head {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  gap: var(--space-md);
  min-height: 200px;
  margin-bottom: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  background: var(--forest-deep);
}

.faq-col__head picture,
.faq-col__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.faq-col__head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 26, 21, 0.15) 0%, rgba(3, 26, 21, 0.92) 70%);
}

.faq-col__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest-ink);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.9);
}

.faq-col__icon svg { width: 32px; height: 32px; }

.faq-col__title {
  font-size: clamp(1.35rem, 1.4vw + 0.9rem, 1.9rem);
  font-weight: 900;
  font-stretch: 80%;
  text-transform: uppercase;
  line-height: 1.05;
}

.faq-col__title .accent { color: var(--lime); }
.faq-col__intro { margin-top: 4px; font-size: var(--text-sm); color: rgba(255, 255, 255, 0.85); }

/* Compact question rows with a lime plus that turns into a cross. */
.faq-list { gap: 6px; }
.faq-list .accordion__item { border-radius: var(--radius-sm); }
.faq-list .accordion__item[hidden] { display: none; }
.faq-list .accordion__trigger { min-height: 0; padding: 0.85rem var(--space-md); font-size: var(--text-base); font-weight: 650; }
.faq-list .accordion__icon { width: 22px; height: 22px; color: var(--forest); }
.faq-list .accordion__item.is-open .accordion__icon { transform: rotate(45deg); color: var(--lime-deep); }
.faq-list .accordion__panel { padding: 0 var(--space-md) var(--space-md); font-size: var(--text-sm); }

/* --- "Still have a question?" band ---------------------------------------- */

.support-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: calc(clamp(2.5rem, 5vw, 4rem) + 20px);
  background: var(--lime-pale);
  color: var(--forest-ink);
}

.support-cta__bg,
.support-cta__bg picture,
.support-cta__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.support-cta__bg { z-index: -2; opacity: 0.18; }

.support-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(241, 248, 213, 0.96) 35%, rgba(241, 248, 213, 0.75) 100%);
}

.support-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.support-cta__title {
  font-size: clamp(1.9rem, 2.6vw + 1rem, 3.2rem);
  font-weight: 900;
  font-stretch: 80%;
  text-transform: uppercase;
  line-height: 1;
}

/* Short lime rule under the title, as in the mock-up. */
.support-cta__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: var(--space-sm);
  border-radius: 2px;
  background: var(--lime-deep);
}

.support-cta__body { margin-top: var(--space-sm); font-size: var(--text-md); color: var(--forest-soft); }


/* --- Lowercase letters inside an uppercase title (the "s" in FAQs) -------- */

.lowercase { text-transform: lowercase; }

/* --- Second location tag on the homepage map ------------------------------ */

.nearby__area-pill--second { top: auto; bottom: 3%; left: auto; right: 1.5%; }

@media (max-width: 760px) {
  .nearby__area-pill--second { top: auto; bottom: var(--space-md); left: auto; right: var(--space-md); translate: none; }
}

/* --- "Get started today" band, above the app banner on every page ------- */

/* Light, flat mint green (client, 2026-10-22): the dark striped version
   clashed with the footer. */
.start-cta {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: #e3f3e7;
  border-top: 1px solid #cfe8d6;
  color: var(--forest-ink);
}

.start-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg) var(--space-xl);
}

.start-cta__title {
  font-size: clamp(1.9rem, 2.6vw + 1rem, 3.2rem);
  font-weight: 900;
  font-stretch: 80%;
  text-transform: uppercase;
  line-height: 1;
}

.start-cta__title .accent { color: var(--lime-deep); }
.start-cta__body { margin-top: var(--space-sm); font-size: var(--text-md); color: var(--forest-soft); }

/* --- Step cards laid out side by side ------------------------------------- */

.steps-row { list-style: none; padding: 0; }
.step-card { height: 100%; }
.step-card .card__body + .card__body { margin-top: var(--space-sm); }

/* --- "What you can find" image cards (Find a Team page) ------------------- */

.find-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.find-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Fixed 4:3 frame; the photo fills it whatever its own proportions. */
.find-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.find-card__media picture,
.find-card__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

/* Title as a green bar across the bottom of the photo, as in the sample. */
.find-card__title {
  position: absolute;
  z-index: 1;
  inset: auto 0 0 0;
  padding: 0.45rem var(--space-sm);
  background: var(--forest);
  color: #fff;
  font-size: var(--text-base);
  font-weight: 900;
  font-stretch: 85%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.find-card__body {
  padding: var(--space-md);
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
}

/* --- "For everyone" audience cards (How It Works page) -------------------- */

.who-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.who-card__media { position: relative; aspect-ratio: 4 / 3; }
.who-card__media picture { position: absolute; inset: 0; overflow: hidden; }
.who-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Icon disc overlapping the bottom edge of the photo. */
.who-card__icon {
  position: absolute;
  left: 50%;
  bottom: -28px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest-ink);
  box-shadow: 0 0 0 4px #fff;
  transform: translateX(-50%);
}

.who-card__icon svg { width: 28px; height: 28px; }

.who-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: calc(28px + var(--space-md)) var(--space-md) var(--space-md);
}

.who-card__title {
  font-size: var(--text-md);
  font-weight: 900;
  font-stretch: 85%;
  text-transform: uppercase;
  text-align: center;
}

.who-card__tagline {
  margin-top: 2px;
  margin-bottom: var(--space-md);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: #21933e;
}

.who-card .checklist { margin-top: 0; margin-bottom: var(--space-lg); }
.who-card .checklist li { font-size: var(--text-sm); font-weight: 500; }
.who-card__btn { margin-top: auto; align-self: center; }


/* --- Darker accent-green button (Find Athletes) --------------------------- */

.btn--green { --btn-bg: var(--lime-deep); --btn-fg: var(--forest-ink); --btn-border: var(--lime-deep); }
.btn--green:hover { --btn-bg: #85a20f; --btn-border: #85a20f; }

/* --- Safety band, above "Get started" on every page ---------------------- */

.safety-cta {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: #fff;
  border-top: 1px solid var(--border);
}

.safety-cta__head {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.safety-cta__icon { width: clamp(56px, 6vw, 76px); height: clamp(56px, 6vw, 76px); flex: none; color: #d12f2f; }

.safety-cta__title {
  font-size: clamp(1.9rem, 2.6vw + 1rem, 3.2rem);
  font-weight: 900;
  font-stretch: 80%;
  text-transform: uppercase;
  line-height: 1;
  color: var(--lime-deep);
}

.safety-cta__accent { color: #d12f2f; }

.safety-cta__list {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 560px) { .safety-cta__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .safety-cta__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.safety-cta__list li {
  padding-left: var(--space-md);
  border-left: 3px solid #d9dcd8;
}

.safety-cta__item-title { font-size: var(--text-md); font-weight: 800; margin-bottom: 4px; color: var(--forest-ink); }
.start-cta .btn--green { --btn-bg: #d5f344; --btn-fg: var(--forest-ink); --btn-border: #d5f344; }
.start-cta .btn--green:hover { --btn-bg: #c6e52f; --btn-border: #c6e52f; }

.safety-cta__list p { font-size: var(--text-sm); color: var(--text-muted); }

/* --- Background-check box (coaches page) --------------------------------- */

.trust-box {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid #f0dfbc;
  border-radius: var(--radius-md);
  background: #fdf6e8;
}

.trust-box__icon { width: clamp(64px, 7vw, 92px); height: clamp(64px, 7vw, 92px); flex: none; color: var(--forest); }
.trust-box__title { font-size: var(--text-lg, 1.35rem); font-weight: 900; margin-bottom: var(--space-xs); color: var(--forest-ink); }
.trust-box__body { color: var(--text-muted); max-width: 80ch; }

@media (max-width: 600px) {
  .trust-box { flex-direction: column; }
}

/* --- Sub-page heroes share one height (client, 2026-10-22) --------------- */

.page-hero {
  display: flex;
  align-items: center;
  min-height: calc(var(--header-h) + var(--page-hero-h, clamp(300px, 46vw, 512px)));
}

/* Slightly smaller titles so the longest one (coaches page) fits the shared height. */
.page-hero .page-hero__title { font-size: clamp(2.2rem, 2.4vw + 1.1rem, 3.3rem); }

.page-hero__inner { width: 100%; }

/* Tablets: the coaches title wraps further, so give every header that height. */
@media (min-width: 761px) and (max-width: 1099px) {
  .page-hero { --page-hero-h: 570px; }
}

/* --- "Everyone is looking for someone" band (every page) ----------------- */

.everyone-cta {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--forest);
  background-image: url("../images/svg/decor/diagonal-dark.svg");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}

.everyone-cta__inner { display: flex; flex-direction: column; align-items: center; }

.everyone-cta__title {
  font-size: clamp(2rem, 3vw + 1rem, 3.6rem);
  font-weight: 900;
  font-stretch: 80%;
  text-transform: uppercase;
  line-height: 1;
}

.everyone-cta__title .accent { color: var(--lime); }
.everyone-cta__body { margin-top: var(--space-sm); font-size: var(--text-md); color: rgba(255, 255, 255, 0.85); }

.everyone-cta__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg) 0;
  width: 100%;
  max-width: 1080px;
  margin-block: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 640px) { .everyone-cta__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .everyone-cta__list { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.everyone-cta__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-inline: var(--space-sm);
}

/* Thin dividers between items on the single desktop row, as in the sample. */
@media (min-width: 1000px) {
  .everyone-cta__item + .everyone-cta__item { border-left: 1px solid rgba(255, 255, 255, 0.18); }
}

.everyone-cta__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-xs);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.everyone-cta__icon svg { width: 36px; height: 36px; }
.everyone-cta__icon--pink svg { color: #f47aa0; }
.everyone-cta__icon--yellow svg { color: #f6d34a; }
.everyone-cta__icon--blue svg { color: #4fb8ff; }
.everyone-cta__icon--green svg { color: #5fd38a; }
.everyone-cta__icon--purple svg { color: #b48cff; }
.everyone-cta__icon--orange svg { color: #ff9f5a; }

.everyone-cta__who {
  font-size: var(--text-sm);
  font-weight: 900;
  font-stretch: 85%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.everyone-cta__what { font-size: var(--text-xs); color: rgba(255, 255, 255, 0.75); }

/* --- Legal pages ------------------------------------------------------------ */

.legal h2 { margin-top: var(--space-2xl); }
.legal h3 { margin-top: var(--space-lg); font-size: var(--text-md); }
.legal__date { color: var(--forest); }

/* The client's "Before publication" notes: visible, but clearly not final copy. */
.draft-note {
  padding: var(--space-sm) var(--space-md);
  border-left: 4px solid #e0a526;
  border-radius: var(--radius-xs);
  background: #fdf6e8;
  font-weight: 700;
}

.legal__table-wrap { overflow-x: auto; margin-block: var(--space-md); }
.legal__table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.legal__table th,
.legal__table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.legal__table th { background: var(--lime-mist); font-weight: 800; }

/* --- Our Mission closing line ---------------------------------------------- */

.mission-close {
  margin-top: var(--space-2xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-md);
  background: var(--lime-pale);
  text-align: center;
}

.mission-close__title {
  font-size: clamp(1.4rem, 1.4vw + 1rem, 2rem);
  font-weight: 900;
  font-stretch: 85%;
  color: var(--forest-ink);
}

.mission-close__body { margin-top: var(--space-xs); color: var(--forest-soft); }
