/* ==========================================================================
   Salvo Performance
   Palette sampled directly from assets/salvo-logo.jpg.

   Measured contrast (WCAG 2.1):
     white  on navy  -> 8.33:1   body text OK (AAA)
     white  on red   -> 5.61:1   button text OK (AA)
     ink    on white -> 12.1:1   body text OK (AAA)
     sky    on navy  -> 2.37:1   DECORATIVE ONLY. Never text.
   ========================================================================== */

:root {
  --navy:  #205080;
  --sky:   #4090C0;
  --red:   #C03040;
  --white: #ffffff;
  --ink:   #16314a;

  --measure: 62ch;
  --radius: 14px;
  --band-pad: clamp(3.5rem, 8vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Barlow', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

p {
  max-width: var(--measure);
  margin: 0 0 1.1em;
}

p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   THE TWO HEADING STYLES. There is no third.
   .h-header  hero + section titles
   .h-sub     pass names, FAQ questions, step labels
   -------------------------------------------------------------------------- */

.h-header {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

.h-sub {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: 0.03em;
  margin: 0 0 0.4em;
}

/* --------------------------------------------------------------------------
   The eyebrow. NOT a third heading — a label.

   It buys a third level of hierarchy without a third heading style: small,
   wide-tracked, sitting directly above an .h-header or .h-sub to say what
   kind of section follows. It is always a <p> or <span>, never an <h*>, so
   the document outline is untouched and the two-style rule holds. Tests
   enforce both the element and the pairing.
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8125rem;
  line-height: 1;
  margin: 0 0 1rem;
  /* Highlight: a red swatch behind the label, the same on every band.
     White on the site red is 5.6:1, above the 4.5:1 AA floor for text this
     small. The right padding is trimmed by the tracking that trails the last
     letter, so the label sits visually centred in its swatch. */
  padding: 0.45em 0.62em 0.4em 0.8em;
  border-radius: 4px;
  background: var(--red);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Big numbers. P3's move: never claim to be good, print the figure.

   .stat__num carries the figure, .stat__line the one sentence under it.
   A figure that has not been confirmed with Landon ships as STAT_TBD and
   flags itself on the page, the same contract the Stripe placeholders use —
   an invented statistic is worse than a visible gap.
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 2.5rem 2rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.stat__num {
  display: block;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
}

/* White, not sky. Sky on navy is 2.37:1, which fails even the 3:1 floor
   for large text — a number set at 80px is still text. The display face
   at this size carries the emphasis on its own. */
.band--navy .stat__num { color: var(--white); }
.band--white .stat__num { color: var(--red); }

.stat__line {
  display: block;
  margin-top: 0.6rem;
  max-width: 24ch;
}

/* Self-flagging, exactly like .btn[href*="REPLACE_ME"].
   The grey has to be band-aware: on navy a mid grey measures 1.72:1 and
   the flag becomes invisible, which defeats the point of flagging it. */
.stat__num[data-stat="STAT_TBD"] {
  font-size: 1.25rem;
  font-style: normal;
}
.band--white .stat__num[data-stat="STAT_TBD"] { color: #6b7280; }
.band--navy  .stat__num[data-stat="STAT_TBD"] { color: #c7d3df; }
.stat__num[data-stat="STAT_TBD"]::after { content: " (number not set)"; }

/* --------------------------------------------------------------------------
   Offer list. Uppercase items that name what is on offer with no sales
   copy under them.

   NOT a heading style — these are <li> elements and carry no heading
   semantics. The two-heading rule is about .h-header and .h-sub; a list
   set in the display face is still a list, and the document outline is
   untouched.
   -------------------------------------------------------------------------- */

.offer-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.offer-list li {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.15;
  padding-left: 1.5rem;
  position: relative;
}

.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--red);
}

/* Decorative only — a square marker carries no text, so sky is allowed
   here where it would not be on a word. */
.band--navy .offer-list li::before { background: var(--sky); }

/* The list runs straight into its button on the home Teams band; give the
   button the same breathing room the list has above it. */
.offer-list + p { margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Video. A click-to-play facade, not a YouTube iframe sitting in the page.

   An embedded player pulls roughly a megabyte of third-party JavaScript and
   sets tracking cookies on every visit, whether or not anyone presses play.
   This ships a local poster frame instead and swaps in the real player on
   click, so nothing reaches YouTube until the visitor asks for it.

   The facade is an <a> to the video. With no JavaScript it is simply a link
   that works; the script upgrades it in place.
   -------------------------------------------------------------------------- */

/* The pair. Stacked on a phone, side by side once there is room for two
   16:9 frames without either becoming a postage stamp. Spacing lives here
   rather than on .video so grid items are not each carrying a top margin. */
.videos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 820px) {
  .videos { grid-template-columns: repeat(2, 1fr); }
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d1f33;
}

.video__cta {
  display: block;
  position: absolute;
  inset: 0;
  text-decoration: none;
}

.video__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Darkened so white label text clears contrast over any frame. */
.video__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(13 31 51 / 0.85) 0%, rgb(13 31 51 / 0.1) 55%);
}

.video__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(3.5rem, 8vw, 5rem);
  height: clamp(3.5rem, 8vw, 5rem);
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  transition: transform 0.12s ease;
}

.video__play::after {
  content: "";
  border-left: 1.1rem solid var(--white);
  border-top: 0.7rem solid transparent;
  border-bottom: 0.7rem solid transparent;
  margin-left: 0.3rem;
}

.video__cta:hover .video__play { transform: scale(1.08); }

.video__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem;
  color: var(--white);
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

/* Keyboard users must be able to see what they are about to play. */
.video__cta:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: -4px;
}

/* The swapped-in player fills the same box, so the page does not jump. */
.video__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .video__play { transition: none; }
  .video__cta:hover .video__play { transform: none; }
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.band {
  padding-block: var(--band-pad);
}

.band--navy {
  background: var(--navy);
  color: var(--white);
}

.band--white {
  background: var(--white);
  color: var(--ink);
}

.wrap {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* --------------------------------------------------------------------------
   Nav — shared across every page
   -------------------------------------------------------------------------- */

.nav {
  background: var(--navy);
  border-bottom: 1px solid rgb(255 255 255 / 0.15);
}

.nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 0.85rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  text-decoration: none;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.nav__brand img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

/* Five links do not fit a 320px phone on one line. Wrap, and tighten the gap
   below the width where they stop fitting, or every page scrolls sideways. */
.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

@media (max-width: 560px) {
  .nav__inner { justify-content: flex-start; }
  .nav__links { gap: 0.4rem 1rem; }
  .nav__links a { font-size: 0.9375rem; letter-spacing: 0.03em; }
}

.nav__links a {
  color: var(--white);
  text-decoration: none;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1rem;
  padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] { border-bottom-color: var(--red); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.btn--red {
  background: var(--red);
  color: var(--white);
}

.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.hero__logo {
  width: clamp(180px, 28vw, 300px);
  height: auto;
  border-radius: 12px;
  flex-shrink: 0;
}

.hero__copy { max-width: 36ch; }

.hero__lede {
  font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
  margin-inline: auto;
  margin-bottom: 1.75em;
}

@media (min-width: 880px) {
  .hero__inner {
    flex-direction: row;
    text-align: left;
    gap: clamp(2.5rem, 5vw, 4rem);
  }
  .hero__lede { margin-inline: 0; }
}

/* --------------------------------------------------------------------------
   Home page directory
   -------------------------------------------------------------------------- */

.hero__copy--wide { max-width: 44ch; }

.directory {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 680px) { .directory { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .directory { grid-template-columns: repeat(3, 1fr); } }

.dir {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: rgb(32 80 128 / 0.05);
  border-top: 3px solid var(--sky);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.dir--featured { border-top-color: var(--red); }

/* Large card icons. Inline SVG so they inherit colour, cost no extra
   request and need no font. Decorative — the heading names the offering —
   so every one is aria-hidden in the markup. */
.dir__icon {
  width: clamp(3rem, 6vw, 4rem);
  height: clamp(3rem, 6vw, 4rem);
  margin-bottom: 1rem;
  flex-shrink: 0;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.12s ease;
}

/* Parts that read as solid rather than outline (punched holes, a play
   triangle). Filled with the stroke colour so the whole icon stays one
   colour as it changes on hover. */
.dir__icon--fill { fill: var(--navy); stroke: none; }

.dir--featured .dir__icon { stroke: var(--red); }
.dir--featured .dir__icon--fill { fill: var(--red); }

.dir:hover .dir__icon { stroke: var(--red); }
.dir:hover .dir__icon--fill { fill: var(--red); }

/* No hover transform or colour shift for anyone who has asked the system
   to stop moving things. */
@media (prefers-reduced-motion: reduce) {
  .dir { transition: none; }
  .dir:hover { transform: none; }
  .dir__icon { transition: none; }
}

.dir:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgb(32 80 128 / 0.16);
}

.dir p {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  max-width: none;
}

.dir__go {
  margin-top: auto;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9375rem;
  color: var(--red);
}

.dir__go::after { content: " \2192"; }

/* --------------------------------------------------------------------------
   Pass cards
   -------------------------------------------------------------------------- */

.passes__note {
  max-width: 54ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.passes__alt {
  margin-top: 2.25rem;
  max-width: 62ch;
  font-size: 1rem;
}

.passes__alt a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* Keyed to the band, not fixed: the same line sits on navy on the passes page
   and on white on the membership page, where a white link vanished. */
.band--navy .passes__alt a { color: var(--white); }
.band--white .passes__alt a { color: var(--navy); }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 820px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card--featured { transform: scale(1.03); }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  border-top: 3px solid var(--sky);
  padding: 2rem;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.18);
}

.card--featured { border-top-color: var(--red); }

.card__flag {
  position: absolute;
  top: 0;
  right: 1.25rem;
  transform: translateY(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin: 0;
}

.card__flag--value { background: var(--navy); }

.card__price {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 3rem;
  line-height: 1;
  color: var(--navy);
  margin: 0.2em 0 0.1em;
}

.card__per {
  font-weight: 600;
  color: var(--red);
  margin-bottom: 1.25em;
}

.card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.card__list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--sky);
}

.card__cta {
  margin-top: auto;
  text-align: center;
}

/* Any pass whose Stripe link has not been pasted in yet must look unfinished
   rather than live. Pure attribute selector: it disappears by itself the
   moment a real buy.stripe.com URL replaces the placeholder. */
.btn[href*="REPLACE_ME"] {
  background: #6b7280;
}

.btn[href*="REPLACE_ME"]::after {
  content: " (link not set)";
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* An unconfigured link inside a sentence is more dangerous than one on a
   button: the grey button already reads as unfinished, but an inline link
   looks entirely live until someone clicks it and lands nowhere. Strike it
   through and say so. Both rules clear themselves once real values are in. */
a[href*="REPLACE_ME"]:not(.btn),
a[href*="CONTACT_EMAIL_HERE"] {
  text-decoration: line-through;
  opacity: 0.7;
}

a[href*="REPLACE_ME"]:not(.btn)::after,
a[href*="CONTACT_EMAIL_HERE"]::after {
  content: " (not set up yet)";
  font-style: italic;
  text-decoration: none;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Membership page
   -------------------------------------------------------------------------- */

.price-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.price-hero__amount {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(3.5rem, 11vw, 6rem);
  line-height: 0.9;
  margin: 0;
}

.price-hero__unit {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.25rem;
  margin: 0;
  opacity: 0.85;
}

.includes {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.75rem;
  max-width: 48ch;
}

.includes li {
  position: relative;
  padding-left: 1.75rem;
}

.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--sky);
}

/* The terms box. This page exists partly because "unlimited" was never
   defined out loud, so the terms are stated plainly rather than buried. */
.terms {
  background: var(--white);
  color: var(--ink);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  max-width: 62ch;
}

.terms ul { list-style: none; padding: 0; margin: 0; }
.terms li { padding-left: 1.5rem; position: relative; margin-bottom: 0.65rem; font-size: 1rem; }
.terms li:last-child { margin-bottom: 0; }
.terms li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.compare {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (min-width: 760px) {
  .compare { grid-template-columns: 1fr 1fr; }
}

.compare__col {
  background: rgb(32 80 128 / 0.06);
  border-top: 3px solid var(--sky);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.compare__col--this { border-top-color: var(--red); }

.compare__col p { font-size: 1rem; }


.compare + .compare-cta { margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Private training page
   -------------------------------------------------------------------------- */

.lede {
  font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
  margin-bottom: 1.75em;
}

.inline-link { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Split: a section's copy beside one portrait photo from Landon's own
   footage. Stacks on phones, photo after the copy so the words still lead.
   Every photo is a 720x960 (3:4) still; the ratio is pinned so a different
   source can't reflow the section.
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Photo banner: one of Landon's graded stills at full strength behind the
   copy, with a dark dim laid over it so white text keeps its contrast.
   The dim is heaviest on the left where the copy sits and eases off to the
   right, so the athletes keep their real colour. On phones the copy spans
   the full width, so the dim goes even. Each banner sets its own image;
   the dim and framing are shared.
   -------------------------------------------------------------------------- */

.band--photo { position: relative; isolation: isolate; overflow: hidden; }

/* A soft shadow keeps white copy legible where it crosses a light patch of
   the photo (a white shirt, a window) without darkening the whole frame. */
.band--photo .h-header,
.band--photo .lede { text-shadow: 0 1px 14px rgb(0 0 0 / 0.55); }

.band--photo::before,
.band--photo::after {
  content: "";
  position: absolute;
  inset: 0;
}

.band--photo::before {
  z-index: -2;
  background-image: var(--band-photo);
  background-size: cover;
  background-position: var(--band-photo-pos, center);
}

.band--photo::after {
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgb(8 18 32 / 0.6) 0%,
    rgb(8 18 32 / 0.38) 45%,
    rgb(8 18 32 / 0.08) 100%
  );
}

@media (max-width: 759px) {
  .band--photo::after { background: rgb(8 18 32 / 0.45); }
}

/* Anamorphic frame from the ANAMORPHIC timeline (still 2.104). The athlete
   sits right of centre, so the crop favours that side on narrow screens. */
.band--photo-teams {
  --band-photo: url("assets/banner-team-training.jpg");
  --band-photo-pos: 62% 40%;
}

/* Still 1.7.4 (Dallin's 1920x1080 crop): Landon watching one athlete's
   single-leg dumbbell row. The band takes the photo's own 16:9 shape so the
   whole frame shows, uncropped. Where the copy needs more height than 16:9
   allows (phones), the band grows to fit it and the sides crop instead. */
.band--photo-private {
  --band-photo: url("assets/banner-private-training.jpg");
  --band-photo-pos: 55% center;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  /* aspect-ratio only lets a box grow past its ratio to fit content while
     overflow is visible. .band--photo's overflow: hidden pinned this one at
     3:2 and clipped the copy on phones. The photo layer sits at inset: 0,
     so nothing spills without it. */
  overflow: visible;
}

.band--photo-private .wrap { width: 100%; }

/* This frame is darker than the Teams one (black walls and floor), so the
   shared dim buried it. Lighter dim here, and the photo itself lifted. */
.band--photo-private::before { filter: brightness(1.25); }

.band--photo-private::after {
  background: linear-gradient(
    90deg,
    rgb(8 18 32 / 0.52) 0%,
    rgb(8 18 32 / 0.3) 45%,
    rgb(8 18 32 / 0.14) 100%
  );
}

@media (max-width: 759px) {
  .band--photo-private::after { background: rgb(8 18 32 / 0.4); }
}

/* A single quiet line under a section, such as the rehab disclaimer. */
.fine-print { font-size: 0.9375rem; opacity: 0.8; margin-top: 2rem; }

.split { display: grid; gap: 2rem; align-items: center; }

@media (min-width: 760px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 3.5rem; }
}

.split__media { margin: 0; max-width: 340px; }

.split__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.18);
}

/* --------------------------------------------------------------------------
   Inquiry form
   -------------------------------------------------------------------------- */

.form { max-width: 46rem; margin-top: 2rem; }

/* Honeypot. Netlify compares this against netlify-honeypot="bot-field";
   a bot that fills every input gets silently discarded. Hidden from sight
   and from assistive tech, never from the DOM. */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__row {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 660px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}

.form__field { display: block; margin-bottom: 1.25rem; }
.form__row .form__field { margin-bottom: 0; }

.form__label {
  display: block;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9375rem;
  margin-bottom: 0.35rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid rgb(32 80 128 / 0.25);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
}

.form textarea { resize: vertical; }

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--navy);
  outline: 3px solid var(--sky);
  outline-offset: 1px;
}

.form button { margin-top: 1.75rem; font-size: 1.125rem; }

.form__note {
  margin-top: 1rem;
  font-size: 0.9375rem;
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   Team services
   -------------------------------------------------------------------------- */

.cards--teams .card { border-top-color: var(--navy); }
.cards--teams .card--featured { border-top-color: var(--red); }

.card__detail {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.9375rem;
  opacity: 0.85;
}

.cards--teams .card__list { margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   Case studies
   -------------------------------------------------------------------------- */

.case-studies {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 760px) {
  .case-studies { grid-template-columns: repeat(3, 1fr); }
}

.case {
  background: rgb(255 255 255 / 0.08);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem;
}

.case__detail { font-size: 1rem; margin: 0; }

/* A lone case study, not a row of three. Held to reading width so the card
   doesn't stretch the full wrap around two lines of text. */
.case--single { max-width: 62ch; margin-top: 2rem; }

.case-studies .case--single { max-width: none; margin-top: 0; }

/* A filled case study: who, then the force plate numbers as start -> now.
   Every figure comes off Landon's Hawkin Dynamics charts; see
   content/case-studies.md for how each was read. */
/* A filled card turns solid white so it lifts off the navy band, and the
   gains print big in red: red on white is 5.6:1, where red on navy would
   fail contrast. Placeholder cards (no stats yet) keep the quiet style. */
.case:has(.case__stats) {
  background: var(--white);
  color: var(--ink);
  padding: 1.75rem;
  box-shadow: 0 14px 34px rgb(0 0 0 / 0.25);
}

.case:has(.case__stats) .h-sub { color: var(--navy); }

.case__meta { margin: 0.35rem 0 1.5rem; font-size: 1rem; }

.case__stats {
  list-style: none;
  padding: 1.25rem 0 0;
  margin: 0 0 1.25rem;
  border-top: 1px solid #dfe5ec;
  display: grid;
  gap: 1.25rem;
}

/* Phones: one gain per row, the number left, what it measures right. */
.case__stats li {
  display: grid;
  grid-template-columns: 7.75rem 1fr;
  column-gap: 0.75rem;
  align-items: center;
}

.case__num {
  grid-row: span 2;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 2.25rem;
  line-height: 0.95;
  white-space: nowrap;
  color: var(--red);
}

.case__label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9375rem;
  color: var(--navy);
}

/* One icon per measure (jump, power, weight, team). Decorative: the label
   beside it names the measure, so every one is aria-hidden in the markup. */
.case__icon {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.3rem;
  border-radius: 50%;
  background: #fbe8ea;
  fill: none;
  stroke: var(--red);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case__range { font-size: 0.875rem; }
.case__source { margin: 0; font-size: 0.875rem; color: #4b5563; }

/* Keyed to the card's own width, not the screen's: a card a third of the
   page wide (the three-up rows) keeps one gain per row; a wide single card
   (Neto, Layton) sets its three gains side by side, number on top. */
.case { container-type: inline-size; }

@container (min-width: 32rem) {
  .case__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case__stats li { display: block; }
  .case__num { display: block; font-size: 3rem; margin-bottom: 0.4rem; }
  .case__range { display: block; }
  .case__label { margin-bottom: 0.2rem; }
}

/* Cards in a row (.case-studies): small, roughly square tiles. The three
   gains sit side by side as number + short label; the start -> now ranges
   are dropped here to keep the tile compact (they stay on the wide single
   cards, and every figure is in content/case-studies.md). */
.case-studies .case { padding: 1.25rem 1.25rem 1.1rem; }
.case-studies .case .eyebrow { margin-bottom: 0.65rem; }
.case-studies .case__meta { margin: 0.2rem 0 0.9rem; font-size: 0.875rem; }

.case-studies .case__stats {
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.9rem;
  margin-bottom: 0.8rem;
}

.case-studies .case__stats li { display: block; }

.case-studies .case__num {
  display: block;
  font-size: 1.65rem;
  margin-bottom: 0.35rem;
}

.case-studies .case__label {
  align-items: flex-start;
  gap: 0.3rem;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  max-width: 6.5rem;
}

.case-studies .case__icon { width: 1.1rem; height: 1.1rem; padding: 0.15rem; }
.case-studies .case__range { display: none; }
.case-studies .case__source { font-size: 0.75rem; }

.case__ongoing {
  margin-top: 2rem;
  font-size: 1rem;
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   Unfilled content, flagged
   Same principle as the Stripe link placeholders: content nobody has written
   yet must look unwritten, not shippable. All of these clear themselves the
   moment the placeholder token is replaced.
   -------------------------------------------------------------------------- */

[data-price] {
  color: #6b7280 !important;
  font-size: 1.5rem !important;
}

[data-price]::after {
  content: " — price not set";
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  display: block;
}

.case__detail:not(:has(*)) { color: #8b95a3; font-style: italic; }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.75rem; }
}

.step {
  counter-increment: step;
  position: relative;
  padding-top: 3.25rem;
}

.step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--white);
  background: var(--sky);
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.step p { font-size: 1rem; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { max-width: 70ch; }

.faq .h-sub { margin-top: 2rem; }
.faq .h-sub:first-child { margin-top: 0; }

.faq p { font-size: 1rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
  border-top: 3px solid var(--sky);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: baseline;
  justify-content: space-between;
}

.site-footer p { font-size: 0.9375rem; margin: 0; max-width: none; }

.site-footer a {
  color: var(--white);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: var(--sky);
}

/* Hover keeps the text white (8.33:1) and moves the sky accent into the
   underline. Recolouring the text to sky would drop it to 2.37:1. */
.site-footer a:hover { text-decoration-color: var(--white); }

.site-footer__legal { opacity: 0.75; }

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* --------------------------------------------------------------------------
   End CTA: one closing ask at the bottom of a page's last section, so a
   reader who scrolled all the way down isn't left without a next step.
   -------------------------------------------------------------------------- */

.end-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #dfe5ec;
  max-width: 62ch;
}

.band--navy .end-cta { border-top-color: rgb(255 255 255 / 0.2); }
.end-cta .h-sub { margin: 0 0 0.5rem; }
.end-cta p { margin: 0 0 1.25rem; }
.end-cta p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Case studies page: one row per athlete, photo beside the card, sides
   alternating down the page. Photos are 3:4 portraits; until one is
   supplied the slot renders as a dashed, labelled gap (PHOTO_TBD).
   -------------------------------------------------------------------------- */

.studies { display: grid; gap: 3.5rem; margin-top: 2.5rem; }

.study { display: grid; gap: 1.5rem; align-items: center; }
.study .case { margin-top: 0; max-width: none; }

@media (min-width: 760px) {
  .study { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 2.5rem; }
  .study:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
  .study:nth-child(even) .study__photo { order: 2; }
}

.study__photo {
  margin: 0;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
}

.study__photo img { width: 100%; height: 100%; object-fit: cover; }

.study__photo--tbd {
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 2px dashed rgb(255 255 255 / 0.4);
  color: #c7d3df;
  font-style: italic;
  font-size: 0.9375rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Endorsement — an outside voice on a team, set as a big white card that
   matches the case study cards (teams.html). Words are verbatim.
   -------------------------------------------------------------------------- */

.endorse {
  position: relative;
  max-width: 62ch;
  margin: 2rem 0 0;
  padding: 2.75rem 1.75rem 1.75rem;
  background: var(--white);
  color: var(--ink);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 14px 34px rgb(0 0 0 / 0.25);
}

.endorse::before {
  content: "\201C";
  position: absolute;
  top: 0.1rem;
  left: 1.5rem;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--red);
}

.endorse__text { margin: 0; }

.endorse__text p {
  margin: 0 0 0.9rem;
  font-size: clamp(1.125rem, 2vw, 1.3rem);
  line-height: 1.5;
  color: var(--navy);
}

.endorse__text .endorse__pop {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1;
  color: var(--red);
  margin: 1.1rem 0 1.2rem;
}

.endorse__who {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.875rem;
  color: var(--navy);
}

.endorse__who span {
  display: block;
  margin-top: 0.2rem;
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #4b5563;
}

/* Terms and privacy pages: plain reading column. */
.legal { max-width: 68ch; }
.legal .h-sub { margin-top: 2.25rem; color: var(--navy); }
.legal .h-sub:first-child { margin-top: 0; }
.site-footer__legal a { color: inherit; text-underline-offset: 3px; }

/* Unlimited hero: what you get on the left, a price card on the right.
   Stacks on phones with the card under the list. */
.member-hero { display: grid; gap: 2.5rem; align-items: center; }
.member-hero .includes { margin-bottom: 0; }
.member-card {
  background: #f1f5fa;
  border-radius: var(--radius);
  border-top: 4px solid var(--red);
  padding: 2rem 2rem 2.25rem;
}
.member-card .price-hero { margin-bottom: 1rem; color: var(--navy); }
.member-card__terms { font-size: 1rem; margin: 0 0 1.5rem; max-width: 34ch; }
.member-card p:last-child { margin-bottom: 0; }
@media (min-width: 860px) {
  .member-hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 4rem; }
}
.end-cta--solo { margin-top: 0; padding-top: 0; border-top: 0; }
