/* GENERATED by build.sh from css/base.css + css/sections/*.css. Do not edit. */
/* ==== css/base.css ==== */
/* ==========================================================================
   JLX Coaching - base.css
   Tokens, reset, typography, layout, shared components, header, footer.
   Mobile-first. Breakpoints: 480 / 768 / 1160 (header) / 1200 (multi-column) / 1280.
   Owned by the Foundation agent. Section CSS lives in css/sections/NN-name.css
   and is concatenated after this file into css/site.css by build.sh.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette (client Color Scheme card) */
  --navy: #0f2747;
  --navy-deep: #0b0c0e;      /* black: header, footer */
  --ocean: #1d4377;          /* links on white (navy family) */
  --ocean-dark: #0f2747;     /* links on gray */
  --slate: #8b9098;          /* borders, pills, decoration only (not body text) */
  --butter: #dfe2e7;         /* light gray: accent band, and accent text on dark bands */
  --peach: #ffcb05;          /* maize: used only for main buttons and small dots */
  --peach-hover: #ffd94d;

  /* Derived surfaces */
  --cream: #ffffff;          /* light band (white) */
  --tint: #f1f2f4;           /* soft gray tint band */
  --white: #ffffff;
  --card-on-butter: #f7f8f9;

  /* Text colours (contrast measured, WCAG AA) */
  --text-muted-light: #4d535b;   /* gray text on white / light gray */
  --text-muted-dark: #c5c9cf;    /* gray text on navy / black */

  /* Band-scoped variables (default = light band; overridden by .band--*) */
  --b-bg: var(--cream);
  --b-fg: var(--navy);           /* 11.08:1 on cream */
  --b-muted: var(--text-muted-light);
  --b-link: var(--ocean);        /* 5.93:1 on cream */
  --b-link-hover: var(--navy);
  --b-card: var(--white);
  --b-line: rgba(15, 39, 71, 0.14);
  --b-pill-line: var(--slate);
  --b-pill-bg: rgba(255, 255, 255, 0.7);
  --b-dot: var(--ocean);
  --b-focus: var(--ocean);

  /* Fonts */
  --font-display: "Anton", Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --fs-h1: clamp(2.6rem, 2rem + 3.2vw, 4.5rem);      /* ~42px to 72px */
  --fs-h2: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);   /* 28px to 40px */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h4: 1.0625rem;
  --fs-body: 1.0625rem;                              /* 17px */
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-small: 1rem;
  --fs-pill: 1rem;
  --lh-tight: 1.05;
  --lh-h2: 1.14;
  --lh-body: 1.5;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-pad: clamp(3rem, 2rem + 4vw, 5rem);      /* 48px to 80px */
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 2.75rem);   /* 20px to 44px */
  --container: 1250px;
  --container-narrow: 820px;

  /* Radii */
  --r-pill: 5px;
  --r-ui: 10px;
  --r-card: 10px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t: 0.3s var(--ease);

  /* Header (includes the iOS notch / status-bar inset) */
  --header-base: 72px;
  --header-h: calc(var(--header-base) + env(safe-area-inset-top, 0px));

  /* Filmstrip + logo strip */
  --strip-h: 100px;
  --strip-gap: 2px;

  /* Reusable icon (arrow) as a mask */
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

@media (min-width: 480px) {
  :root { --strip-h: 120px; }
}
@media (min-width: 768px) {
  :root { --strip-h: 140px; }
}
@media (min-width: 1160px) {
  :root { --header-base: 70px; }
}
@media (min-width: 1280px) {
  :root { --strip-h: 160px; }
}

/* Band variants set the band-scoped variables. */
.band--light { --b-bg: var(--cream); }
.band--tint {
  --b-bg: var(--tint);
  --b-card: var(--white);
}
.band--butter {
  --b-bg: var(--butter);
  --b-fg: var(--navy);               /* 9.35:1 */
  --b-muted: var(--text-muted-light);/* 5.66:1 */
  --b-link: var(--ocean-dark);       /* 6.05:1 */
  --b-link-hover: var(--navy);
  --b-card: var(--card-on-butter);
  --b-line: rgba(15, 39, 71, 0.18);
  --b-pill-line: rgba(15, 39, 71, 0.5);
  --b-pill-bg: rgba(255, 255, 255, 0.55);
  --b-dot: var(--ocean-dark);
  --b-focus: var(--navy);
}
.band--navy,
.band--deep {
  --b-bg: var(--navy);
  --b-fg: var(--cream);              /* 11.08:1 */
  --b-muted: var(--text-muted-dark); /* 7.22:1 */
  --b-link: var(--butter);           /* 9.35:1 */
  --b-link-hover: var(--peach);
  --b-card: rgba(255, 255, 255, 0.06);
  --b-line: rgba(255, 255, 255, 0.2);
  --b-pill-line: var(--slate);
  --b-pill-bg: transparent;
  --b-dot: var(--peach);
  --b-focus: var(--butter);
}
.band--deep { --b-bg: var(--navy-deep); }

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: stable;
  background: var(--navy-deep); /* overscroll colour */
  /* keyboard focus / in-page jumps never land under the fixed header (WCAG 2.4.11) */
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
  scroll-padding-bottom: 1rem;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
a { touch-action: manipulation; -webkit-tap-highlight-color: rgba(246, 165, 129, 0.25); }
[hidden] { display: none !important; }
table { border-collapse: collapse; }

/* Anchor targets clear the fixed header via html scroll-padding-top above
   (a second per-element scroll-margin-top would stack with it and overshoot). */

/* Scroll lock (nav panel, lightbox). Managed by js/main.js. */
html.is-locked,
html.is-locked body { overflow: hidden; }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;              /* Anton has a single weight; avoid faux bold */
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
h1, .h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2, .h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.15; }
h4, .h4 {
  font-family: var(--font-body);
  font-size: var(--fs-h4);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

p { max-width: 64ch; text-wrap: pretty; }
p + p { margin-top: 1em; }
.lead { font-size: var(--fs-lead); line-height: 1.45; }
.small { font-size: var(--fs-small); }
.muted { color: var(--b-muted); }
strong, b { font-weight: 700; }

a {
  color: var(--b-link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: color var(--t), background-color var(--t), border-color var(--t);
}
@media (hover: hover) {
  a:hover { color: var(--b-link-hover); }
}

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--b-focus);
  outline-offset: 3px;
}
main:focus { outline: none; }

::selection { background: var(--butter); color: var(--navy); }

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

.skip-link {
  position: fixed;
  /* sits just below the fixed header so it never covers the brand mark */
  top: calc(var(--header-h) + 0.5rem);
  left: max(0.75rem, env(safe-area-inset-left, 0px));
  z-index: 1000;
  padding: 0.75rem 1.1rem;
  background: var(--butter);
  color: var(--navy);
  font-weight: 700;
  border: 2px solid var(--navy);
  border-radius: var(--r-ui);
  text-decoration: none;
  transform: translateY(-400%);
  transition: transform var(--t);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  outline: 3px solid var(--cream);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   4. Layout: container, bands, stacks, grids, split
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

.band {
  position: relative;
  padding-block: var(--section-pad);
  background: var(--b-bg);
  color: var(--b-fg);
  overflow-x: clip;
}
.band--flush { padding-block: 0; }
.band--flush-top { padding-top: 0; }
.band--flush-bottom { padding-bottom: 0; }
.pt-header { padding-top: calc(var(--header-h) + var(--section-pad)); }

.stack > * + * { margin-top: var(--stack, var(--space-4)); }
.stack--lg { --stack: var(--space-5); }
.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cluster-gap, var(--space-3));
}
.text-center { text-align: center; }
.text-center p, .section-head p { margin-inline: auto; }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }

/* Section header: eyebrow pill + H2 (+ optional intro). Centered by default. */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
  margin-bottom: clamp(1.75rem, 1rem + 3vw, 3rem);
}
.section-head--left { align-items: flex-start; text-align: left; }
.section-head--left p { margin-inline: 0; }
.section-head > * { margin-top: 0; }

/* Eyebrow pill */
.eyebrow {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.4rem 0.8rem 0.4rem 1.65rem;
  border: 1px solid var(--b-pill-line);
  border-radius: var(--r-pill);
  background: var(--b-pill-bg);
  color: var(--b-muted);
  font-family: var(--font-body);
  font-size: var(--fs-pill);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--b-dot);
}

/* Grid helpers (mobile 1 col, then 2 / 3 / 4) */
.grid {
  display: grid;
  gap: var(--grid-gap, var(--space-5));
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 768px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.grid--tight { --grid-gap: var(--space-3); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }

/* Split: 2 columns from 768, stacked below. Source order = mobile order. */
.split {
  display: grid;
  gap: var(--split-gap, clamp(1.5rem, 1rem + 3vw, 4rem));
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
.split--start { align-items: start; }
@media (min-width: 768px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--40-60 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--60-40 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--reverse > :first-child { order: 2; }
}

/* Media: rounded image with optional aspect-ratio helper */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--navy);
}
.media > img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
:is(.media--1x1, .media--4x5, .media--3x4, .media--2x3, .media--4x3, .media--3x2, .media--16x9, .media--21x9) > img { height: 100%; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--3x4 { aspect-ratio: 3 / 4; }
.media--2x3 { aspect-ratio: 2 / 3; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--21x9 { aspect-ratio: 21 / 9; }
/* Fill a grid/flex cell of fixed height (e.g. photo half of a split) */
.media--fill { height: 100%; min-height: 18rem; }
.media--fill > img { height: 100%; position: absolute; inset: 0; }
.media--plain { border-radius: 0; }
figure.media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1rem 0.75rem;
  color: var(--cream);
  font-size: var(--fs-small);
  background: linear-gradient(180deg, transparent, rgba(11, 12, 14, 0.85));
}

/* Card + numbered card list */
.card {
  background: var(--b-card);
  border: 1px solid var(--b-line);
  border-radius: var(--r-card);
  padding: var(--card-pad, 1.5rem 1.25rem);
  color: var(--b-fg);
}
.card > * + * { margin-top: var(--space-3); }
.card h3, .card h4 { margin-bottom: 0; }

.card-list {
  counter-reset: card;
  display: grid;
  gap: var(--space-3);
}
.card-list > li {
  counter-increment: card;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: var(--space-4);
  background: var(--b-card);
  border: 1px solid var(--b-line);
  border-radius: var(--r-card);
  padding: 1.1rem 1.25rem;
}
.card-list > li::before {
  content: counter(card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding-inline: 0.4rem;
  border-radius: var(--r-pill);
  background: var(--peach);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
}

/* Stats (big number + label) */
.stat-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.stat {
  padding: 1.25rem;
  border: 1px solid var(--b-line);
  border-radius: var(--r-card);
  background: var(--b-card);
}
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--b-fg);
}
.stat__label { display: block; margin-top: 0.4rem; color: var(--b-muted); font-size: var(--fs-small); }

/* Chips (certification tags etc.) */
.chip-list { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--b-line);
  border-radius: var(--r-pill);
  background: var(--b-card);
  color: var(--b-fg);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.8rem 1.25rem 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--r-ui);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  background: var(--btn-bg, var(--peach));
  color: var(--btn-fg, var(--navy));
  border-color: var(--btn-border, transparent);
  transition: background-color var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn::after {
  content: "";
  flex: none;
  width: 1.05em;
  height: 1.05em;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
  transition: transform var(--t);
}
.btn--plain { padding-right: 1.4rem; }
.btn--plain::after { display: none; }
.btn:active { transform: scale(0.98); }

/* Primary: peach fill, navy text (5.92:1) */
.btn--peach { --btn-bg: var(--peach); --btn-fg: var(--navy); }
/* Light: cream fill, navy text (use on navy bands and over photos) */
.btn--light { --btn-bg: var(--cream); --btn-fg: var(--navy); }
/* Navy: use on light / butter bands */
.btn--navy { --btn-bg: var(--navy); --btn-fg: var(--cream); }
/* Ghost: outline in current text colour */
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-border: currentColor; }

.btn--sm { min-height: 44px; padding: 0.55rem 1rem 0.55rem 1.1rem; font-size: 1rem; gap: 0.5rem; }
.btn--block { display: flex; width: 100%; }

/* Email address buttons: the address is never split mid-word; it scales down on narrow phones instead */
.btn--email {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  max-width: 100%;
  font-size: clamp(0.8125rem, 4.2vw, 1rem);
}
@media (max-width: 479.98px) {
  .btn--email { padding-inline: 0.6rem; }
}

@media (hover: hover) {
  .btn:hover::after { transform: translateX(3px); }
  .btn--peach:hover { --btn-bg: var(--peach-hover); color: var(--navy); }
  .btn--light:hover { --btn-bg: var(--peach); color: var(--navy); }
  .btn--navy:hover { --btn-bg: var(--ocean); color: var(--cream); }
  .btn--ghost:hover { --btn-bg: var(--b-fg); --btn-fg: var(--b-bg); color: var(--b-bg); }
  .band--navy .btn--ghost:hover,
  .band--deep .btn--ghost:hover,
  .hero .btn--ghost:hover { --btn-bg: var(--cream); --btn-fg: var(--navy); color: var(--navy); }
}

/* Inline text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow::after {
  content: "";
  width: 1em; height: 1em;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
  transition: transform var(--t);
}
@media (hover: hover) {
  .link-arrow:hover::after { transform: translateX(3px); }
}

/* --------------------------------------------------------------------------
   6. Hero (shared pattern: full-bleed photo, navy overlay, 3-line H1)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 34rem;
  min-height: max(34rem, 85vh);
  min-height: max(34rem, 85svh);
  padding-top: var(--header-h);
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
  --b-focus: var(--butter);
  --b-link: var(--butter);
  --b-link-hover: var(--peach);
  --b-muted: var(--text-muted-dark);
  --b-pill-line: rgba(255, 255, 255, 0.55);
  --b-pill-bg: transparent;
  --b-dot: var(--peach);
  --b-fg: var(--cream);
  --b-line: rgba(255, 255, 255, 0.2);
  --b-card: rgba(255, 255, 255, 0.08);
}
.hero__media { position: absolute; inset: var(--header-h) 0 0 0; z-index: -1; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 35%);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 12, 14, 0.45) 0%, rgba(11, 12, 14, 0) 38%),
    linear-gradient(115deg, rgba(246, 165, 129, 0.16) 0%, rgba(246, 165, 129, 0) 55%),
    rgba(15, 39, 71, 0.78);
}
/* Wide screens: the copy sits in the left column, so the scrim is deepest there and lets the photo breathe on the right.
   Worst case (brightest photo pixel) under the text stays above 4.5:1 for cream text. */
@media (min-width: 900px) {
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(11, 12, 14, 0.45) 0%, rgba(11, 12, 14, 0) 38%),
      linear-gradient(90deg, rgba(11, 12, 14, 0.86) 0%, rgba(24, 51, 71, 0.8) 52%, rgba(15, 39, 71, 0.5) 100%);
  }
}
.hero__content {
  width: 100%;
  padding-block: clamp(2rem, 1.5rem + 3vw, 4.5rem);
}
.hero__inner { max-width: 46rem; }
.hero__inner > * + * { margin-top: var(--space-5); }
.hero h1 { color: var(--cream); }
.hero__line { display: block; }
.hero .eyebrow { color: var(--cream); background: rgba(11, 12, 14, 0.6); }
.hero__lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 36rem; color: var(--cream); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 479.98px) {
  .hero__actions .btn { width: 100%; }
}
.hero--center { text-align: center; align-items: center; }
.hero--center .hero__inner { margin-inline: auto; }
.hero--center .hero__actions { justify-content: center; }
.hero--short { min-height: 26rem; min-height: max(26rem, 60vh); min-height: max(26rem, 60svh); }

/* Phone landscape (short viewport): shrink the hero so the buttons stay in view */
@media (max-height: 500px) and (orientation: landscape) {
  .hero,
  .hero--short { min-height: 0; }
  .hero__content { padding-block: var(--space-4); }
  .hero h1 { font-size: clamp(1.9rem, 9vh, 2.75rem); }
  .hero__line { display: inline; }
  .hero__line + .hero__line::before { content: " "; }
  .hero__inner > * + * { margin-top: var(--space-3); }
}

/* --------------------------------------------------------------------------
   7. Accordion (native <details>)
   -------------------------------------------------------------------------- */
.accordion { display: grid; gap: var(--space-4); max-width: 68.75rem; margin-inline: auto; overflow-anchor: none; }
.accordion__item {
  background: var(--b-card);
  border: 1px solid var(--b-line);
  border-radius: var(--r-card);
  color: var(--b-fg);
  transition: border-color var(--t), background-color var(--t);
}
.accordion__item[open] { border-color: var(--b-pill-line); }
.accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 56px;
  padding: 1rem 1.25rem;
  list-style: none;
  cursor: pointer;
  border-radius: var(--r-card);
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary::marker { content: ""; }
.accordion__title {
  font-family: var(--font-body);
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.accordion__icon {
  position: relative;
  flex: none;
  width: 1.25rem; height: 1.25rem;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 100%; height: 2px;
  margin: -1px 0 0 -50%;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.accordion__icon::after { transform: rotate(90deg); }
.accordion__item[open] .accordion__icon::after { transform: rotate(0deg); opacity: 0; }
.accordion__panel { padding: var(--space-4) 1.25rem 1.25rem; color: var(--b-fg); }
.accordion__panel > * + * { margin-top: 0.9em; }
.accordion__panel p { max-width: 56ch; }
.accordion__item[open] > .accordion__panel { animation: accordion-in 0.3s var(--ease); }
@keyframes accordion-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
@media (hover: hover) {
  .accordion__summary:hover .accordion__icon { color: var(--b-dot); }
}

/* --------------------------------------------------------------------------
   8. Marquee (CSS-only, duplicated track)
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll var(--marquee-duration, 70s) linear infinite;
  will-change: transform;
}
.marquee__group {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--strip-gap);
  padding-right: var(--strip-gap);   /* keeps seam gap equal to inner gaps */
  margin: 0;
  list-style: none;
}
.marquee__item { flex: none; margin: 0; }
.marquee__item img {
  height: var(--strip-h);
  width: auto;
  max-width: none;
  border-radius: var(--r-card);
  object-fit: cover;
}
.marquee--fade {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee--logos { --strip-gap: 50px; --strip-h: 60px; }
.marquee--slow { --marquee-duration: 290s; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* Pause control state (keyboard / switch users) */
/* (Hovering no longer pauses the strip: it keeps moving and can be dragged.) */
.marquee--js .marquee__track { animation: none; }
.marquee--js { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.marquee--js.is-dragging { cursor: grabbing; }
.marquee--js img { -webkit-user-drag: none; pointer-events: none; }
.marquee:focus-within .marquee__track,
.marquee.is-paused .marquee__track,
.marquee.is-stopped .marquee__track { animation-play-state: paused; }
/* Pause control for keyboard / switch users (WCAG 2.2.2). Injected by js/main.js, shown on focus. */
.marquee-toggle {
  position: absolute;
  top: 0.5rem;
  right: max(0.5rem, env(safe-area-inset-right, 0px));
  z-index: 5;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 2px solid var(--navy);
  border-radius: var(--r-ui);
  background: var(--butter);
  color: var(--navy);
  font-weight: 700;
  transform: translateY(-300%);
}
.marquee-toggle:focus-visible { transform: none; outline: 3px solid var(--navy); outline-offset: 2px; }
/* Not enough items to fill the width: JS adds .marquee--static */
.marquee--static .marquee__track { animation: none; width: 100%; justify-content: center; }
.marquee--static .marquee__group[aria-hidden="true"] { display: none; }
/* Reduced motion: normal scroll strip, no clones */
@media (prefers-reduced-motion: reduce) {
  /* decorative + aria-hidden: a static strip, not a scroller (a scroller would be keyboard-focusable) */
  .marquee { overflow: hidden; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; }
  .marquee__group[aria-hidden="true"] { display: none; }
}

/* --------------------------------------------------------------------------
   9. Gallery (masonry columns) + lightbox
   -------------------------------------------------------------------------- */
.gallery {
  --cols: 2;
  column-count: var(--cols);
  column-gap: 8px;
}
@media (min-width: 768px) { .gallery { --cols: 3; } }
@media (min-width: 1280px) { .gallery { --cols: 4; } }

/* Balanced masonry: js/main.js moves the items into equal-width columns so the
   bottom edge is even. Without JS the CSS columns above are used. */
[data-balance].is-balanced,
.gallery.is-balanced {
  display: flex;
  align-items: flex-start;
  column-count: auto;
  column-gap: var(--bal-gap, 8px);
  overflow: visible;
  scroll-snap-type: none;
}
.bal-col { flex: 1 1 0; min-width: 0; }
.gallery__item {
  position: relative;
  display: block;
  margin: 0 0 8px;
  break-inside: avoid;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--navy);
  line-height: 0;
  cursor: zoom-in;
}
.gallery__item img {
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease), opacity 0.3s linear;
}
@media (hover: hover) {
  .gallery__item:hover img { transform: scale(1.04); }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: max(1rem, env(safe-area-inset-top, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  background: rgba(14, 31, 44, 0.95);
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.3s linear;
  touch-action: pan-y pinch-zoom;
  overscroll-behavior: contain;
}
.lightbox.is-open { opacity: 1; }
.lightbox__stage {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
  /* clears the 48px close button (top right) so a tall photo never slides under it */
  padding-top: 3.25rem;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-ui);
  background: var(--navy);
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  max-width: 44rem;
  flex: none;
}
.lightbox__caption { flex: 1 1 auto; text-align: center; font-size: var(--fs-small); line-height: 1.35; color: var(--cream); min-width: 0; }
/* Narrow phones: caption gets its own full-width line above the prev / next row */
@media (max-width: 479.98px) {
  .lightbox__bar { flex-wrap: wrap; }
  .lightbox__caption { order: -1; flex: 1 0 100%; }
}
/* Phone landscape: let the photo use nearly the full height */
@media (max-height: 500px) and (orientation: landscape) {
  .lightbox { gap: 0.5rem; padding-top: max(0.5rem, env(safe-area-inset-top, 0px)); }
  .lightbox__stage { padding-top: 0; }
  .lightbox__img { max-height: calc(100vh - 5.5rem); max-height: calc(100dvh - 5.5rem); }
  .lightbox__bar { flex-wrap: nowrap; }
  .lightbox__caption { order: 0; flex: 1 1 auto; font-size: 0.9375rem; line-height: 1.25; }
  .lightbox__count { margin-top: 0; }
}
.lightbox__count { display: block; margin-top: 0.2rem; color: var(--text-muted-dark); font-size: 0.875rem; }
.lightbox__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--r-ui);
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  transition: background-color var(--t), color var(--t);
}
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn:focus-visible { outline-color: var(--butter); }
.lightbox__close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top, 0px));
  right: max(0.75rem, env(safe-area-inset-right, 0px));
}
@media (hover: hover) {
  .lightbox__btn:hover { background: var(--peach); color: var(--navy); }
}
.lightbox.is-single .lightbox__prev,
.lightbox.is-single .lightbox__next { visibility: hidden; }

/* --------------------------------------------------------------------------
   10. Reveal on scroll (only when JS is running)
   -------------------------------------------------------------------------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal-d1 { transition-delay: 0.08s; }
html.js .reveal-d2 { transition-delay: 0.16s; }
html.js .reveal-d3 { transition-delay: 0.24s; }
/* Safety net: if js/main.js never signals readiness, show everything after 3s. */
html.js:not(.js-ready) .reveal { animation: reveal-failsafe 0s linear 3s forwards; }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .accordion__item[open] > .accordion__panel { animation: none; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* --------------------------------------------------------------------------
   11. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--navy-deep);
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background-color var(--t);
  --b-focus: var(--butter);
  --b-link: var(--butter);
  --b-link-hover: var(--peach);
}
.site-header.is-scrolled {
  background: var(--navy-deep);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: var(--header-base);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  flex: 0 0 auto;
  width: max-content;
  justify-self: start;
  color: var(--cream);
  text-decoration: none;
}
.brand__logo { height: 30px; width: auto; flex: none; display: block; }
.brand__word {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--slate);
  align-self: flex-end;
  padding-bottom: 0.15rem;
}
.footer__logo { width: 150px; height: auto; display: block; }
@media (hover: hover) {
  .brand:hover .brand__word { color: var(--cream); }
}

.nav-toggle {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--r-ui);
  background: transparent;
  color: var(--cream);
  transition: background-color var(--t), border-color var(--t);
}
.nav-toggle__bars { position: relative; display: block; width: 22px; height: 16px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t), opacity var(--t), top var(--t);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 7px; }
.nav-toggle__bars span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
@media (hover: hover) {
  .nav-toggle:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--cream); }
}

/* Mobile / tablet panel */
.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem max(var(--gutter), env(safe-area-inset-right, 0px)) calc(1.5rem + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t), transform var(--t), visibility 0s linear 0.3s;
}
.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--cream);
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav__link[aria-current] { color: var(--butter); }
@media (hover: hover) {
  .site-nav__link:not(.site-nav__link--soon):hover { color: var(--butter); }
}
.site-nav__trigger {
  width: 100%;
  gap: 0.4rem;
  background: none;
  border-top: 0; border-left: 0; border-right: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.site-nav__chev { flex: none; transition: transform var(--t); }
.site-nav__trigger[aria-expanded="true"] .site-nav__chev { transform: rotate(180deg); }
.site-nav__sub { list-style: none; margin: 0; padding: 0 0 0 1rem; display: none; }
.has-sub.is-open > .site-nav__sub { display: block; }
html:not(.js) .site-nav__sub { display: block; }
.site-nav__sublink {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.4rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--cream);
  font-size: 1.0625rem;
  text-decoration: none;
}
.site-nav__sublink[aria-current] { color: var(--butter); }
.site-nav__link--soon,
.site-nav__sublink--soon { color: var(--slate); cursor: default; }
.site-nav__link--soon em,
.site-nav__sublink--soon em { font-size: 0.8em; font-style: italic; }
.site-nav__trigger[aria-current] { color: var(--butter); }
@media (hover: hover) {
  .site-nav__sublink:not(.site-nav__sublink--soon):hover { color: var(--butter); }
}
.site-nav__actions { display: grid; gap: var(--space-3); margin-top: 1.25rem; }
@media (min-width: 480px) {
  .site-nav__actions { grid-template-columns: 1fr 1fr; }
}
.site-header__actions { display: none; }

/* Phone landscape: the open panel is short, so lay the links out in two columns */
@media (max-height: 500px) and (max-width: 1159.98px) {
  .site-nav__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-5); }
  .site-nav__link { min-height: 48px; }
  .site-nav__actions { grid-template-columns: 1fr 1fr; margin-top: 0.75rem; }
}

/* Desktop header: brand | centered nav | actions.
   The outer columns are flexible but never narrower than their content, so the grid can not
   overflow the container just above the breakpoint; from about 1400px up the nav is truly centred. */
@media (min-width: 1160px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
    gap: var(--space-5);
    --container: 1400px;
    max-width: calc(var(--container) + 2 * var(--gutter));
  }
  .site-header .btn { white-space: nowrap; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .site-nav__list { display: flex; align-items: center; gap: 0.25rem 1.1rem; }
  .site-nav__link {
    position: relative;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    padding: 0.5rem 0.15rem;
    white-space: nowrap;
    border: 0;
    font-size: 1rem;
    font-weight: 400;
  }
  .site-nav__link::after {
    content: "";
    position: absolute;
    left: 0.15rem; right: 0.15rem; bottom: 0.45rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
  }
  .site-nav__link[aria-current]::after { transform: scaleX(1); }
  .site-nav__link--soon::after { display: none; }
  @media (hover: hover) {
    .site-nav__link:not(.site-nav__link--soon):hover::after { transform: scaleX(1); }
  }
  .site-nav__trigger { width: auto; border: 0; padding-inline: 0.15rem; justify-content: center; }
  .has-sub { position: relative; }
  .site-nav__sub {
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 13.5rem;
    padding: 0.4rem;
    background: var(--navy-deep);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--r-ui);
  }
  .site-nav__sublink { border-bottom: 0; padding: 0.5rem 0.75rem; font-size: 1rem; white-space: nowrap; border-radius: 6px; }
  .site-nav__actions { display: none; }
  .site-header__actions { display: flex; justify-content: flex-end; align-items: center; gap: var(--space-3); }
}

@media (min-width: 1280px) {
  .site-nav__list { gap: 0.25rem 1.6rem; }
}

/* No-JS fallback: header stays in flow, nav is always visible */
@media (max-width: 1159.98px) {
  html:not(.js) .site-header { position: relative; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; height: auto; padding-block: 0.5rem; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-nav {
    position: static; max-height: none; opacity: 1; visibility: visible; transform: none;
    flex: 1 0 100%; padding-inline: 0;
  }
  html:not(.js) .hero { padding-top: 0; }
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.site-footer a { text-decoration: none; }
.site-footer a:not(.btn) { text-decoration: underline; text-decoration-color: transparent; }
@media (hover: hover) {
  .site-footer a:not(.btn):hover { text-decoration-color: currentColor; }
}
.footer__grid {
  display: grid;
  gap: var(--space-7) var(--space-6);
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: var(--space-7);
}
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
  .footer__grid { grid-template-columns: 1.4fr 0.8fr 1.4fr 1fr; }
  .footer__brand { grid-column: auto; }
}
.footer__blurb { margin-top: var(--space-4); color: var(--b-muted); max-width: 34ch; }
.footer__motto {
  margin-top: var(--space-3);
  color: var(--butter);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
}
.footer__title {
  margin: 0 0 var(--space-3);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--b-muted);
}
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  color: var(--cream);
}
.footer__links a[aria-current="page"] { color: var(--butter); }
.footer__coach + .footer__coach { margin-top: var(--space-5); }
.footer__coach-name {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cream);
}
.footer__coach-name a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  color: inherit;
}
.footer__email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--butter);
  overflow-wrap: anywhere;
}
.footer__social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--space-4); }
.footer__social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  color: var(--cream);
  font-size: var(--fs-small);
}
@media (hover: hover) {
  .footer__links a:hover,
  .footer__social a:hover,
  .footer__coach-name a:hover { color: var(--peach); }
  .footer__email:hover { color: var(--peach); }
}
.footer__cta { display: grid; gap: var(--space-3); align-content: start; }
.footer__cta .btn { white-space: nowrap; }
/* 2-column footer: "Work with us" becomes a full-width strip (title left, both buttons right)
   so the last row is never a lone block next to an empty cell */
@media (min-width: 640px) and (max-width: 1199.98px) {
  .footer__cta {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding-top: var(--space-5);
    border-top: 1px solid var(--b-line);
  }
  .footer__cta .footer__title { flex: 1 1 12rem; margin-bottom: 0; }
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  justify-content: space-between;
  padding-block: var(--space-5);
  border-top: 1px solid var(--b-line);
  color: var(--b-muted);
  font-size: var(--fs-small);
}

/* --------------------------------------------------------------------------
   12b. Forced colors (Windows High Contrast): shapes drawn with backgrounds need real colours
   -------------------------------------------------------------------------- */
@media (forced-colors: active) {
  .nav-toggle { border-color: ButtonText; }
  .nav-toggle__bars span,
  .accordion__icon::before,
  .accordion__icon::after,
  .hero-home__motto li::before,
  .eyebrow::before { background: ButtonText; forced-color-adjust: none; }
}

/* --------------------------------------------------------------------------
   13. Print
   -------------------------------------------------------------------------- */
@media print {
  html { background: #fff; }
  body { background: #fff; color: #000; }
  .site-header, .nav-toggle, .skip-link, .marquee, .lightbox, .hero__media::after { display: none !important; }
  .band, .hero { background: #fff !important; color: #000 !important; padding-block: 1.5rem; min-height: 0; }
  .hero__media { display: none; }
  html.js .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
  a { color: #000; text-decoration: underline; }
  .accordion__item { break-inside: avoid; }
}

/* Nav polish: spacing in "coming soon" items, clearer current-page marker */
.site-nav__link--soon { gap: 0.5rem; }
.site-nav__link[aria-current],
.site-nav__sublink[aria-current],
.site-nav__trigger[aria-current] { font-weight: 700; }

/* Tall portrait photos in a very wide hero: let the hero grow with the screen so heads are never cut off. */
.faq-hero, .ath-hero { min-height: max(26rem, 60svh, 30vw); }


/* ==== css/sections/10-hero.css ==== */
/* Hero (index): extends the shared .hero pattern. Namespace: .hero-home */
.hero-home__accent { color: var(--butter); }
.hero-home .hero__inner > .hero__lead { margin-top: var(--space-4); }
.hero-home .hero__media img { object-position: 40% 20%; }
@media (min-width: 900px) {
  /* wide hero: slide the runner right so the headline is not over his face */
  .hero-home .hero__media img { object-position: 50% 20%; transform: scale(1.4); transform-origin: 0 20%; }
}
@media (min-width: 1500px) {
  /* big monitors: zoom in less so the small source photo stays sharper */
  .hero-home .hero__media img { transform: scale(1.22); }
}
.hero-home__ghost { border-color: rgba(255, 255, 255, 0.7); color: var(--cream); }
.hero-home__motto {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin: var(--space-6) 0 0;
  padding: var(--space-4) 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
}
.hero-home__motto li { display: inline-flex; align-items: center; gap: 0.6em; }
.hero-home__motto li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--peach);
}
@media (max-width: 479.98px) {
  .hero-home__motto { gap: var(--space-2) var(--space-3); font-size: 1rem; letter-spacing: 0.06em; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero-home__motto { margin-top: var(--space-3); padding-top: var(--space-2); }
}
@media (hover: hover) {
  .hero-home__ghost:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
}


/* ==== css/sections/20-filmstrip.css ==== */
/* Filmstrip (index). Namespace: .film- */
.film-strip {
  position: relative;
  --strip-h: 110px;
  background: var(--cream);
  padding-block: var(--strip-gap);
  overflow: hidden;
  width: 100%;
}
@media (min-width: 768px) { .film-strip { --strip-h: 130px; } }
@media (min-width: 1024px) { .film-strip { --strip-h: 160px; } }
.film-strip .marquee__item img { background: var(--tint); }


/* ==== css/sections/30-philosophy.css ==== */
/* Philosophy (index). Namespace: .phil- */
.phil__split { margin-top: var(--space-7); align-items: start; }
.phil__photo { width: 100%; max-width: 26rem; margin-inline: auto; }
.phil__text { --stack: 1.25rem; }
.phil__values {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--fs-h4);
  color: var(--ocean);
}
/* Mission statement: plain text under the philosophy paragraph, no box. */
.phil__mission { margin-top: var(--space-5); }
.phil__mission p { margin: 0; }
.phil__mission-label {
  margin: 0 0 var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.phil__closer {
  margin-top: var(--space-7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}
.phil__motto {
  margin: 0;
  padding-block: var(--space-5);
  border-block: 1px solid var(--b-line);
  width: 100%;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  font-size: clamp(1.75rem, 0.9rem + 4.2vw, 4rem);
  color: var(--navy);
  overflow-wrap: anywhere;
}
.phil__motto span { display: inline-block; margin-inline: 0.12em; }
.phil__motto-accent { color: var(--ocean); }
@media (max-width: 479.98px) {
  .phil__motto span { display: block; margin: 0; }
}
/* Narrower screens (phone and tablet): photo first, centered, then the text below it. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .phil__split { grid-template-columns: minmax(0, 1fr); }
}
/* Wide screens: the photo fills the whole left column, from the top of the PHILOSOPHY
   heading down to the last line of the mission statement. The heading sits over the text. */
@media (min-width: 1024px) {
  .phil > .container {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(1.5rem, 1rem + 3vw, 4rem);
    align-items: start;
  }
  .phil .section-head { grid-column: 2; grid-row: 1; align-items: flex-start; text-align: left; margin-bottom: var(--space-5); }
  .phil__split { display: contents; }
  .phil__photo { grid-column: 1; grid-row: 1 / span 2; align-self: stretch; max-width: none; aspect-ratio: auto; }
  .phil__photo > img { position: absolute; inset: 0; height: 100%; }
  .phil__text { grid-column: 2; grid-row: 2; }
  .phil__closer { grid-column: 1 / -1; }
}


/* ==== css/sections/60-explore.css ==== */
/* Home: the four "start here" cards */
.explore .section-head { margin-bottom: var(--space-6); }
.explore-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) { .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .explore-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.explore-card { min-width: 0; }
.explore-card__link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
  min-height: 11rem;
  padding: 1.4rem 1.4rem 3.2rem;
  background: var(--b-card);
  border: 1px solid var(--b-line);
  border-radius: var(--r-card);
  color: var(--b-fg);
  text-decoration: none;
  transition: border-color var(--t), transform var(--t);
}
.explore-card__title { font-family: var(--font-display); font-size: var(--fs-h3); text-transform: uppercase; letter-spacing: 0.02em; }
.explore-card__text { color: var(--b-muted); }
.explore-card__go { position: absolute; left: 1.4rem; bottom: 1.1rem; font-size: 1.4rem; line-height: 1; }
@media (hover: hover) {
  .explore-card__link:hover { border-color: var(--b-fg); transform: translateY(-2px); }
}


/* ==== css/sections/60-what-you-get.css ==== */
/* ==========================================================================
   60-what-you-get.css  (namespace: .wyg-)  butter accent band
   Numbered cards built on the shared .card-list (counter). Phones: one column,
   badge beside the text. 768+: 2 columns, badge above. 1200+: 3 columns.
   ========================================================================== */

/* Two-digit numbers (01..06) instead of 1..6 */
.wyg-list > li::before {
  content: counter(card, decimal-leading-zero);
  min-width: 2.75rem;
  height: 2.75rem;
  font-size: 1.4rem;
}
.wyg-list > li {
  padding: 1.25rem;
  min-width: 0;
}
.wyg-list > li > div > * + * { margin-top: var(--space-2); }
.wyg-list h3 { font-size: var(--fs-h3); }
.wyg-list p { color: var(--b-fg); }

@media (min-width: 768px) {
  .wyg-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }
  .wyg-list > li {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    justify-items: start;
    gap: var(--space-4);
    padding: 1.5rem;
  }
}
@media (min-width: 768px) {
  .wyg-list > li > div { justify-self: stretch; }
}
@media (min-width: 1200px) {
  .wyg-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Adaptive-plan panel: navy block inside the butter band */
.wyg-note {
  --b-bg: var(--navy);
  --b-fg: var(--cream);
  --b-muted: var(--text-muted-dark);
  --b-link: var(--butter);
  --b-link-hover: var(--peach);
  --b-focus: var(--butter);
  --b-line: rgba(255, 255, 255, 0.2);
  display: grid;
  gap: var(--space-5);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  margin-top: var(--space-5);
  padding: 1.5rem 1.25rem;
  border-radius: var(--r-card);
  background: var(--navy);
  color: var(--cream);
}
.wyg-note__text > * + * { margin-top: var(--space-2); }
.wyg-note__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
@media (max-width: 479.98px) {
  .wyg-note__actions .btn { width: 100%; }
}
@media (min-width: 768px) {
  .wyg-note { padding: 1.75rem 1.75rem; margin-top: var(--space-4); }
}
@media (min-width: 1200px) {
  .wyg-note {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-6);
    padding: 2rem 2.25rem;
  }
  .wyg-note__actions { justify-content: flex-end; flex-wrap: nowrap; }
}

/* How it works: four steps, always two and two (never three and one). */
@media (min-width: 768px) {
  .wyg-list.how-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ==== css/sections/70-faq.css ==== */
/* FAQ section. Uses the shared .accordion component; only spacing/wrapping tweaks here. */
.faq .section-head { margin-bottom: var(--space-6); }
.faq-list { gap: var(--space-3); max-width: 50rem; }
.faq .accordion__summary { min-height: 60px; padding: 1rem 1.1rem; }
.faq .accordion__title { min-width: 0; overflow-wrap: anywhere; font-size: 1rem; }
.faq .accordion__panel { padding: var(--space-3) 1.1rem 1.25rem; }
@media (min-width: 768px) {
  .faq .section-head { margin-bottom: var(--space-7); }
  .faq-list { gap: var(--space-4); }
  .faq .accordion__summary { padding: 1.15rem 1.5rem; }
  .faq .accordion__title { font-size: var(--fs-h4); }
  .faq .accordion__panel { padding: var(--space-4) 1.5rem 1.5rem; }
}


/* ==== css/sections/80-testimonials.css ==== */
/* Results / reviews. Mobile: scroll-snap carousel. 768+: masonry columns. */
.res .section-head { margin-bottom: var(--space-5); }
.res-hint { text-align: center; margin: 0 0 var(--space-3); }

.res-list {
  --cols: 1;
  --bal-gap: var(--space-5);
  display: flex;
  gap: var(--space-4);
  align-items: stretch;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--slate) transparent;
  /* bleed to the screen edge on phones, keep the first card aligned with the content */
  margin-inline: calc(var(--gutter) * -1);
  padding: 2px var(--gutter) var(--space-3);
  scroll-padding-inline: var(--gutter);
}
.res-list:focus-visible { outline-offset: -3px; }

.res-card {
  flex: 0 0 min(84%, 22rem);
  scroll-snap-align: start;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: 1.25rem;
  background: var(--b-card);
  border: 1px solid var(--b-line);
  border-radius: var(--r-card);
  color: var(--b-fg);
}

.res-who { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.res-name {
  font-family: var(--font-body);
  font-size: var(--fs-h4);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

/* Square avatars (rounded, same radius as photos) */
.res-avatar {
  position: relative;
  flex: none;
  width: 72px;
  height: 72px;
  overflow: hidden;
  overflow: clip;   /* clip is not a scroll container, so wheel / touch scrolling passes through to the page */
  border-radius: var(--r-card);
  background: var(--navy);
}
/* Avatars are pre-cropped 216px squares (assets/img/avatars), so the image simply fills the frame. */
.res-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.res-avatar--initials {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--butter);
}
.res-avatar--initials span {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.res-quote { margin: 0; position: relative; }
.res-quote > * + * { margin-top: 0.9em; }
.res-quote p { font-size: 1rem; line-height: 1.55; }
.res-quote > p:first-child::before {
  content: "\201C";
  display: block;
  margin-bottom: -0.1em;
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 0.8;
  color: var(--b-dot);
}

/* "Read more": the button sits under the text. Without JS the full text just shows. */
.res-more > p { margin-top: 0.9em; }
.js .res-more:not(.is-open) { display: none; }
.res-more__btn { display: none; }
.js .res-more__btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.4rem;
  padding: 0 0.25rem;
  margin-left: -0.25rem;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  font-weight: 700;
  color: var(--b-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 6px;
}
.res-more__close { display: none; }
.res-more__btn[aria-expanded="true"] .res-more__open { display: none; }
.res-more__btn[aria-expanded="true"] .res-more__close { display: inline; }
@media (hover: hover) {
  .res-more__btn:hover { color: var(--b-link-hover); }
}

.res-video { margin-top: var(--space-6); }

@media (min-width: 768px) {
  .res .section-head { margin-bottom: var(--space-7); }
  .res-hint { display: none; }
  .res-list {
    --cols: 1;
    max-width: 40rem;
    margin-inline: auto;
    display: block;
    column-count: var(--cols);
    column-gap: var(--space-5);
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
  }
  .res-card {
    display: flex;
    width: 100%;
    margin: 0 0 var(--space-5);
    padding: 1.5rem;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }
  .res-video { margin-top: var(--space-7); }
}
@media (min-width: 1000px) {
  .res-list { --cols: 2; max-width: none; }
}
@media (min-width: 1200px) {
  .res-list { --cols: 3; }
}


/* ==== css/sections/90-gallery.css ==== */
/* Gallery. Masonry columns, lightbox and reveal come from base.css / main.js. */
.gal .section-head { margin-bottom: var(--space-5); }
.gal-grid { column-gap: 8px; --bal-gap: 8px; }
.gal .gallery__item { background: var(--navy-deep); }
.gal .gallery__item:focus-visible { outline-offset: 2px; }
@media (min-width: 768px) {
  .gal .section-head { margin-bottom: var(--space-7); }
  .gal-grid { column-gap: 10px; --bal-gap: 10px; }
  .gal .gallery__item { margin-bottom: 10px; }
}

/* Cropped tiles: landscape crop that keeps the runner and drops the scoreboard. */
.gal .gal-crop { aspect-ratio: 4 / 3; }
.gal .gal-crop img { height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }


/* ==== css/sections/99-cta-close.css ==== */
/* Closing "book a discovery call" block at the end of every page (src/partials/cta.html) */
.cta-close { text-align: center; }
.cta-close__inner { display: grid; justify-items: center; gap: var(--space-5); }


/* ==== css/sections/about-01-hero.css ==== */
/* about page hero extras */
/* Phone landscape: back link and label share a row so the buttons stay on the first screen */
@media (max-height: 500px) and (orientation: landscape) {
  .about-hero .hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); }
  .about-hero .hero__inner > * { margin-top: 0 !important; }
  .about-hero .hero__inner > h1,
  .about-hero .hero__inner > .hero__lead,
  .about-hero .hero__inner > .hero__actions { flex: 1 0 100%; max-width: none; }
}
.about-hero .hero__inner > * + * { margin-top: var(--space-4); }
.about-hero .hero__lead { max-width: 30rem; }
/* monochrome-friendly: keep the photo tonal even if a colour image is swapped in */
.about-hero .hero__media img { filter: grayscale(1) contrast(1.05); }

.about-hero .hero__media img { object-position: 52% 13%; }
@media (min-width: 900px) {
  .about-hero .hero__media img { object-position: 57% 13%; }
}


/* ==== css/sections/athletes-10.css ==== */
/* Athletes page: cards */
.ath .section-head { margin-bottom: var(--space-6); }
.ath-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) { .ath-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); } }
@media (min-width: 1100px) { .ath-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ath-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--b-card);
  border: 1px solid var(--b-line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.ath-card__photo { aspect-ratio: 1 / 1; background: var(--navy); }
.ath-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); display: block; }
.ath-card__photo--initials { display: grid; place-items: center; color: var(--cream); }
.ath-card__photo--initials span { font-family: var(--font-display); font-size: clamp(2.5rem, 8vw, 4rem); letter-spacing: 0.04em; }
.ath-card__body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: 0.35rem; }
.ath-card__name { font-size: var(--fs-h3); margin: 0; }
.ath-card__focus { margin: 0; font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--b-muted); }
.ath-card__line { margin: 0; }
.ath-card__focus:empty { display: none; }
/* finish-line photos with a scoreboard of other athletes' names: zoom in on the runner */
.ath-card__photo--zoom { overflow: hidden; }
.ath-card__photo--zoom img { transform: scale(var(--zoom, 1.8)); transform-origin: var(--origin, 50% 55%); }


/* ==== css/sections/coaching-10.css ==== */
/* 1-1 Coaching page */
.coach-hero .hero__lead { max-width: 38rem; }
.coach-proof { padding-block: var(--space-5); }
.coach-proof__list { justify-content: center; }

/* Credential boxes: four in an even block. One per row, then two and two, then four across. */
.coach-proof__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
.coach-proof__list .chip { width: 100%; justify-content: center; text-align: center; }
@media (min-width: 600px) { .coach-proof__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .coach-proof__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Wide screens: the Ironman Maryland banner is pushed to the right and enlarged so the words sit beside the title, not behind it. */
@media (min-width: 1200px) {
  .coach-hero .hero__media img { transform: scale(1.3); transform-origin: 0 0; }
}


/* ==== css/sections/fundraiser-10.css ==== */
/* Fundraiser page */
.fund-story .fund-facts { margin-top: var(--space-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); }
.fund-story .stat__value { overflow-wrap: anywhere; white-space: normal; }
/* All four numbers are the same size; the size is set by the longest one (the date) so it fits its box. */
.fund-story .stat { container-type: inline-size; }
.fund-story .stat__value { font-size: min(clamp(2rem, 1.5rem + 2vw, 3rem), 17cqw); }
/* Photo: the group sits in the upper part of the hero and the title sits low, so the title does not cover anyone's face. */
.fund-hero { align-items: flex-end; }
/* Wide screens: the hero grows with the screen so the title always sits below everyone's face. */
.fund-hero { min-height: max(26rem, 60svh, 36vw); }


/* ==== css/sections/joey-10-hero.css ==== */
/* Joey page: hero. Same treatment as the shared about-hero,
   only the photo focal point differs. */
.joey-hero .hero__media img { object-position: 75% 30%; }
@media (min-width: 900px) {
  .joey-hero .hero__media img { object-position: 70% 25%; }
}


/* ==== css/sections/joey-20-text.css ==== */
/* Joey page: About me + Coaching Philosophy */
.joey-about .stack > p { max-width: 42rem; }
/* black-and-white photo treatment */
.joey-about .media img { filter: grayscale(1) contrast(1.05); }
.joey-about__actions { --cluster-gap: 1.25rem; align-items: center; margin-top: var(--space-2); }

.joey-phil__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
}
.joey-pull {
  margin: 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 4px solid var(--peach);
}
.joey-pull p {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.75rem);
  line-height: 1.15;
  color: var(--butter);
  overflow-wrap: break-word;
}
.joey-phil__prose { --stack: 1.25rem; min-width: 0; }
.joey-phil__prose p { max-width: 40rem; }
@media (min-width: 1024px) {
  .joey-phil__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--space-8);
    align-items: start;
  }
  .joey-phil__lead { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* The photo follows the reader down the page while the About text scrolls beside it (two-column layouts only). */
@media (min-width: 768px) {
  .joey-about .split > .media { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}


/* ==== css/sections/joey-40-certs.css ==== */
/* Joey page: Certs & Race times (butter band) */
.joey-certs__block + .joey-certs__block,
.joey-certs__cols + .joey-certs__block,
.joey-certs__block + .joey-certs__cols { margin-top: var(--space-7); }
.joey-certs__h {
  margin-bottom: var(--space-3);
  font-size: var(--fs-h4);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--b-fg);
}
.joey-certs__chips { list-style: none; margin: 0; padding: 0; }
.joey-certs .chip { min-height: 2.75rem; padding-inline: 1rem; font-size: 1rem; background: var(--card-on-butter); }
.joey-certs .stat { background: var(--card-on-butter); }

/* Races + Race results: stacked until there is real room for two columns (1200+) */
.joey-certs__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-7);
}
.joey-certs__cols > .joey-certs__block { margin-top: 0; }
.joey-certs__stats { gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
.joey-certs__stats .stat { padding: 1rem; }
.joey-certs__stats .stat__value { font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); }
.joey-certs__stats .stat__label { color: var(--text-muted-light); }
/* Races: always one row of three from 480 up, one per row on small phones */
.joey-certs__stats--3 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 480px) {
  .joey-certs__stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .joey-certs__cols { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-6); }
  .joey-certs__stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Certifications: ten boxes in an even block. One per row on phones, two across, then five across. Never a lone box on its own row. */
.joey-certs__chips { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
.joey-certs__chips .chip { width: 100%; justify-content: center; text-align: center; }
@media (min-width: 560px) { .joey-certs__chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .joey-certs__chips { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Athletes coached: four boxes. One per row, then two and two, then four across. */
.joey-certs__stats--4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 480px) { .joey-certs__stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .joey-certs__stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }


/* ==== css/sections/joey-60-gallery-cta.css ==== */
/* Joey page: gallery (navy band) + CTA (butter band) */
.joey-gal .gallery__item { background: var(--navy-deep); }

.joey-cta__actions { justify-content: center; --cluster-gap: 0.75rem; }
.joey-cta__actions .btn { max-width: 100%; }
.joey-cta__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}
.joey-cta__social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--b-link);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (hover: hover) {
  .joey-cta__social a:hover { color: var(--b-link-hover); }
}
.joey-cta__pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--b-line);
}
.joey-cta__pager .link-arrow { min-height: 44px; display: inline-flex; align-items: center; }
.joey-cta__back::after { transform: scaleX(-1); }

