/* Horsepower Coaching website. Brand system from the race-plan documents:
   Oswald headings, Source Sans 3 body, JetBrains Mono for numbers, teal accent. */

/* Self-hosted brand fonts (WS-SITE20). Latin-subset woff2, font-display:swap,
   only the weights the site uses. Replaces the render-blocking Google Fonts
   @import (the site's last external dependency, now removed). URLs are relative
   to this file (/assets/style.css) so they hold at any base path. Critical
   weights (Oswald 600, Source Sans 3 400) are <link rel=preload>'d in the head. */
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/oswald-400.woff2) format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/oswald-500.woff2) format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/oswald-600.woff2) format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/oswald-700.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/sourcesans3-400.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/sourcesans3-600.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/sourcesans3-700.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/jetbrainsmono-500.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/jetbrainsmono-700.woff2) format('woff2'); }

:root {
  --black: #0F0F0F;
  --grey-dark: #3A3A3A;
  --grey-mid: #6B6B6B;
  --grey-light: #D4D4D4;
  --grey-bg: #F7F7F5;
  --white: #FFFFFF;
  --rule: #E4E4E0;
  --teal: #0D9488;
  --teal-dark: #0B7A70;
  --teal-soft: #CCFBF1;
  --maxw: 1120px;
  /* WS-SITE18 tier colour theme: Plan Store = white/cream + ink + subtle border,
     Plan Only = teal, Coached by Tom = gold. Applied site-wide to every tier
     card, ladder rung and tier CTA/button set. */
  --gold: #B8841A;
  --gold-dark: #9C6F15;
  --gold-soft: #F7EAD0;
  --tier-store-bg: #FFFDF8;

  /* ── WS-SITE20 craft tokens ──────────────────────────────────────────────
     One easing + duration scale (motion discipline), a coherent fluid type
     scale (clamp), and shared vertical-rhythm / measure variables. */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);        /* refined ease-out for UI */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);     /* long, settled reveal ease */
  --dur-fast: 0.18s;
  --dur-mid: 0.32s;
  --reveal-dur: 0.9s;
  --reveal-shift: 24px;

  --section-pad: clamp(48px, 6.5vw, 88px);
  --measure: 68ch;                                /* body measure ~65-75ch */

  /* Fluid type scale (min .. max via clamp). Large display gets negative
     tracking; uppercase labels get deliberate positive tracking. */
  --step-eyebrow: clamp(0.78rem, 0.74rem + 0.18vw, 0.9rem);
  --step-h3:      clamp(1.15rem, 1.06rem + 0.44vw, 1.4rem);
  --step-h2:      clamp(1.7rem, 1.24rem + 2.3vw, 2.5rem);
  --step-h1:      clamp(2.1rem, 1.4rem + 3.4vw, 3.5rem);
  --step-hero:    clamp(2.3rem, 1.45rem + 4.2vw, 4rem);
  --step-lede:    clamp(1.06rem, 0.99rem + 0.62vw, 1.34rem);
  --step-stat:    clamp(1.5rem, 1.22rem + 1.5vw, 2.1rem);
  --step-price:   clamp(1.45rem, 1.22rem + 1.2vw, 1.85rem);

  --track-tight: -0.022em;      /* h1 / large display */
  --track-snug: -0.012em;       /* h2 */
  --track-label: 0.2em;         /* uppercase eyebrows */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 { font-size: var(--step-h1); text-transform: uppercase; letter-spacing: var(--track-tight); }
h2 { font-size: var(--step-h2); text-transform: uppercase; letter-spacing: var(--track-snug); }
h3 { font-size: var(--step-h3); }

p { margin: 0 0 1rem; }
a { color: var(--teal-dark); }

.num { font-family: 'JetBrains Mono', monospace; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---- Header ---- */
.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}
.teal-bar { height: 4px; background: var(--teal); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand img { height: 42px; width: auto; display: block; }
.nav-toggle {
  background: none; border: 1px solid #333; color: var(--white);
  font-size: 1.4rem; line-height: 1; padding: 6px 12px; border-radius: 6px; cursor: pointer;
}
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 22px; align-items: center;
}
.site-nav a {
  color: var(--white); text-decoration: none;
  font-family: 'Oswald', sans-serif; text-transform: uppercase;
  font-size: 0.95rem; letter-spacing: 0.04em;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal); }
.site-nav a.cta {
  background: var(--teal); color: var(--white);
  padding: 8px 16px; border-radius: 6px;
}
.site-nav a.cta:hover { background: var(--teal-dark); color: var(--white); }

@media (max-width: 820px) {
  .site-nav {
    display: none; width: 100%;
  }
  .site-nav.open { display: block; }
  .header-inner { flex-wrap: wrap; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 0 4px; width: 100%; }
  .site-nav a { display: block; padding: 8px 0; width: 100%; }
}
@media (min-width: 821px) { .nav-toggle { display: none; } }

/* ---- Buttons ---- */
.btn {
  display: inline-block; font-family: 'Oswald', sans-serif;
  text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--teal); color: var(--white); text-decoration: none;
  padding: 13px 26px; border-radius: 7px; font-size: 1rem; border: 0; cursor: pointer;
}
.btn:hover { background: var(--teal-dark); color: var(--white); }
.btn.ghost { background: transparent; color: var(--black); border: 2px solid var(--black); }
.btn.ghost:hover { background: var(--black); color: var(--white); }
.btn.on-dark.ghost { color: var(--white); border-color: var(--white); }
.btn.on-dark.ghost:hover { background: var(--white); color: var(--black); }

/* WS-SITE18 tier-themed buttons (Plan Store white/bordered, Plan Only teal, Coached by Tom gold) */
.btn--plan { background: var(--teal); color: var(--white); }
.btn--plan:hover { background: var(--teal-dark); color: var(--white); }
.btn--tom { background: var(--gold); color: var(--white); }
.btn--tom:hover { background: var(--gold-dark); color: var(--white); }
.btn--store { background: var(--white); color: var(--black); border: 2px solid var(--black); }
.btn--store:hover { background: var(--black); color: var(--white); }
/* A row of the three tier paths, Coached by Tom (gold) sitting on the right */
.tier-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }

/* ---- Hero ---- */
.hero {
  background: var(--black); color: var(--white);
  padding: 72px 0 80px;
}
.hero h1 { color: var(--white); max-width: 16ch; font-size: var(--step-hero); letter-spacing: var(--track-tight); }
.hero .lede { font-size: var(--step-lede); max-width: 60ch; color: #E7E7E7; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---- Sections ---- */
section { padding: 56px 0; }
section.alt { background: var(--grey-bg); }
.section-intro { max-width: 62ch; color: var(--grey-dark); font-size: 1.1rem; }
.eyebrow {
  font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600;
  letter-spacing: var(--track-label); color: var(--teal); font-size: var(--step-eyebrow); margin: 0 0 10px;
}

/* ---- Tier cards ---- */
.tier-grid { display: grid; gap: 22px; grid-template-columns: 1fr; margin-top: 32px; }
@media (min-width: 780px) { .tier-grid { grid-template-columns: repeat(3, 1fr); } }
.tier-card {
  border: 1px solid var(--rule); border-radius: 12px; padding: 26px;
  background: var(--white); display: flex; flex-direction: column;
}
.tier-card.feature { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.tier-card h3 { font-size: 1.4rem; text-transform: uppercase; }
.tier-card .price { font-family: 'JetBrains Mono', monospace; color: var(--teal-dark); font-weight: 700; margin-bottom: 12px; }
.tier-card p { color: var(--grey-dark); font-size: 1rem; }
.tier-card .btn { margin-top: auto; align-self: flex-start; }

/* WS-SITE18 per-tier card theming (site-wide) */
.tier-card--store { background: var(--tier-store-bg); border-color: var(--rule); }
.tier-card--plan.feature { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.tier-card--plan .price { color: var(--teal-dark); }
.tier-card--tom { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.tier-card--tom .price { color: var(--gold-dark); }
.tier-card--tom .support-tag { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--gold-dark); }

/* ---- Results line ---- */
.results { background: var(--teal); color: var(--white); }
.results p { font-size: clamp(1.2rem, 3vw, 1.8rem); font-family: 'Oswald', sans-serif; max-width: 26ch; margin: 0 auto; text-align: center; line-height: 1.25; }
.results p.results-sub { font-family: inherit; font-size: 1rem; font-weight: 400; max-width: 46ch; margin: 16px auto 0; line-height: 1.5; opacity: 0.92; }

/* ---- Which one strip ---- */
.which-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 26px; }
@media (min-width: 780px) { .which-grid { grid-template-columns: repeat(3, 1fr); } }
.which-item { border-left: 3px solid var(--teal); padding: 6px 0 6px 18px; }
.which-item strong { display: block; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 1.05rem; margin-bottom: 4px; }
/* WS-SITE18 tier-coloured left borders on the "which one am I" strip */
.which-item--store { border-left-color: var(--grey-light); }
.which-item--plan { border-left-color: var(--teal); }
.which-item--tom { border-left-color: var(--gold); }

/* ---- Catalogue ---- */
.filters {
  display: grid; gap: 14px; grid-template-columns: 1fr; margin: 24px 0 8px;
}
@media (min-width: 640px) { .filters { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .filters { grid-template-columns: repeat(4, 1fr); } }
.filters label { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--grey-mid); display: block; margin-bottom: 5px; }
.filters select, .filters input {
  width: 100%; padding: 10px 12px; border: 1px solid var(--grey-light);
  border-radius: 7px; font-size: 1rem; background: var(--white); font-family: inherit;
}
.filter-meta { color: var(--grey-mid); margin: 10px 0 0; font-size: 0.95rem; }
.filter-meta .num { color: var(--black); font-weight: 700; }

.card-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 620px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card {
  border: 1px solid var(--rule); border-radius: 11px; padding: 20px;
  background: var(--white); display: flex; flex-direction: column;
}
.plan-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag {
  font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 0.68rem;
  letter-spacing: 0.05em; background: var(--grey-bg); color: var(--grey-dark);
  padding: 3px 9px; border-radius: 20px; border: 1px solid var(--rule);
}
.tag.tier { background: var(--teal-soft); color: var(--teal-dark); border-color: var(--teal-soft); }
.plan-card h3 { font-size: 1.15rem; text-transform: none; margin-bottom: 8px; }
.plan-card h3 a { color: var(--black); text-decoration: none; }
.plan-card h3 a:hover { color: var(--teal-dark); }
.plan-card .blurb { color: var(--grey-dark); font-size: 0.95rem; flex: 1; }
.plan-card .meta { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0; }
.plan-card .price { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--teal-dark); font-size: 1.15rem; }
.plan-card .weeks { font-family: 'JetBrains Mono', monospace; color: var(--grey-mid); font-size: 0.85rem; }
.plan-card .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.plan-card .actions a { font-size: 0.9rem; padding: 9px 16px; }
.link-plain { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; color: var(--grey-dark); align-self: center; }
.link-plain:hover { color: var(--teal-dark); }
.no-results { padding: 40px 0; color: var(--grey-mid); text-align: center; }

/* ---- Plan detail ---- */
.plan-hero { background: var(--grey-bg); border-bottom: 1px solid var(--rule); padding: 40px 0; }
.plan-hero .crumbs { font-size: 0.9rem; margin-bottom: 12px; }
.plan-hero h1 { text-transform: none; font-size: clamp(1.7rem, 4vw, 2.6rem); max-width: 20ch; }
.plan-spec-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin: 24px 0; }
@media (min-width: 640px) { .plan-spec-grid { grid-template-columns: repeat(4, 1fr); } }
.spec-box { border: 1px solid var(--rule); border-radius: 9px; padding: 14px; background: var(--white); }
.spec-box .k { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--grey-mid); }
.spec-box .v { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1.2rem; }
.buy-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.buy-row .price { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1.6rem; color: var(--teal-dark); }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.5rem; }

/* ---- FAQ / content ---- */
.content-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .content-grid.two { grid-template-columns: 1.2fr 0.8fr; } }
.step-list { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: s; }
.step-list li { position: relative; padding: 0 0 20px 46px; }
.step-list li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: 0; width: 30px; height: 30px;
  background: var(--teal); color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 0.9rem;
}
.step-list li strong { font-family: 'Oswald', sans-serif; text-transform: uppercase; display: block; font-size: 1rem; }
details.faq { border-bottom: 1px solid var(--rule); padding: 14px 0; }
details.faq summary { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 1.02rem; cursor: pointer; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: "+ "; color: var(--teal); }
details.faq[open] summary::before { content: "\2013 "; color: var(--teal); }
details.faq p { margin: 10px 0 0; color: var(--grey-dark); }

.about-list { padding-left: 0; list-style: none; }
.about-list li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid var(--rule); }
.about-list li::before { content: "\2192"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

.callout { background: var(--black); color: var(--white); border-radius: 12px; padding: 34px; margin-top: 10px; }
.callout h2 { color: var(--white); }
.callout p { color: #E7E7E7; }

/* ---- Footer ---- */
.site-footer { background: var(--black); color: #B8B8B8; padding: 48px 0 32px; margin-top: 20px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer img.footer-logo { height: 64px; width: auto; display: block; margin-bottom: 16px; }
.site-footer h4 { font-family: 'Oswald', sans-serif; text-transform: uppercase; color: var(--white); font-size: 0.9rem; letter-spacing: 0.06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #B8B8B8; text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid #262626; margin-top: 30px; padding-top: 18px; font-size: 0.85rem; color: #777; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* ============================================================================
   Imagery + client voices + female performance (added with photo curation)
   ========================================================================== */

/* Hero with background photo (home + female performance) */
.hero { position: relative; overflow: hidden; }
.hero--image .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero--image::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(15,15,15,0.94) 0%, rgba(15,15,15,0.80) 42%, rgba(15,15,15,0.48) 100%);
}
.hero--image .wrap { position: relative; z-index: 2; }

/* Full-width photo strip (plans header banner) */
.page-banner { position: relative; height: clamp(160px, 26vw, 280px); overflow: hidden; }
.page-banner .banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Full-width photo band between sections (coached / coaching) */
.media-band { position: relative; height: clamp(220px, 38vw, 420px); overflow: hidden; }
.media-band .media-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Two-up feature (image + copy) */
.feature-grid { display: grid; gap: 34px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 820px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature-media { border-radius: 14px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,0.14); }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* Tom portrait on About */
.portrait { border-radius: 14px; overflow: hidden; margin: 0 0 22px; box-shadow: 0 14px 34px rgba(0,0,0,0.14); }
.portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }

/* Results band over a photo (teal keeps brand + readability) */
.results { position: relative; overflow: hidden; }
.results--image .results-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.results--image::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(13,148,136,0.86); }
.results--image .wrap { position: relative; z-index: 2; }

/* Client voices / reviews band */
.reviews { background: var(--black); color: #E7E7E7; }
.reviews h2 { color: var(--white); }
.reviews .rating { font-size: 1.05rem; margin: 0 0 6px; }
.reviews .stars { color: #F5B301; letter-spacing: 2px; }
.reviews-result { max-width: 62ch; font-size: 1.15rem; color: #E7E7E7; }
.reviews-cta { margin-top: 24px; }

.quote-grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 780px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote-card { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 22px; text-align: left; }
.quote-card blockquote { margin: 0; font-size: 1.02rem; color: var(--black); line-height: 1.5; }
.quote-card blockquote::before { content: "\201C"; color: var(--teal); font-weight: 700; }
.quote-card figcaption { margin-top: 14px; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.85rem; color: var(--teal-dark); }

/* WS-SITE16 race-plan snapshot (inline SVG of the IMWA bike course) */
.raceplan { margin: 28px auto 0; max-width: 960px; }
.raceplan .raceplan-svg { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 12px 32px rgba(15,15,15,0.08); }
.raceplan figcaption { margin-top: 14px; font-size: 0.9rem; color: var(--grey-mid); line-height: 1.5; text-align: center; }

/* WS-SITE18: race-plan copy beside the IM Wales snapshot (side by side, stacks on mobile) */
.raceplan-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; margin-top: 8px; }
@media (min-width: 900px) { .raceplan-grid { grid-template-columns: 1fr 1.05fr; } }
.raceplan-grid .raceplan { margin-top: 0; max-width: 100%; }
.raceplan-grid .raceplan figcaption { text-align: left; }

/* WS-SITE18: two prose columns side by side (female "adapted fails" / "female first means") */
.two-col-prose { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .two-col-prose { grid-template-columns: 1fr 1fr; } }
.two-col-prose .prose { max-width: none; }
.two-col-prose h2 { font-size: 1.5rem; }

/* Female-first cross-link on plan cards */
.female-crosslink { margin: 4px 0 0; font-size: 0.82rem; }
.female-crosslink a { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.04em; color: var(--teal-dark); text-decoration: none; }
.female-crosslink a:hover { text-decoration: underline; }

/* Readable plain link on dark callouts */
.link-plain.on-dark { color: var(--teal-soft); }

/* ============================================================================
   Quality pass: social icons, hero treatment, hover states, rhythm
   ========================================================================== */

/* Social icons (header + footer) */
.header-social { display: flex; gap: 6px; align-items: center; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--white); border: 1px solid #3a3a3a; text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.social-icon:hover { color: var(--teal); border-color: var(--teal); transform: translateY(-1px); }
@media (max-width: 1080px) { .header-social { display: none; } }

/* Hero: taller, calmer, more confident type; readable over photos */
.hero { padding: 88px 0 96px; }
.hero--image { min-height: 460px; display: flex; align-items: center; }
.hero--image .wrap { width: 100%; }
.hero--image::after {
  background:
    linear-gradient(90deg, rgba(15,15,15,0.92) 0%, rgba(15,15,15,0.72) 44%, rgba(15,15,15,0.28) 100%),
    linear-gradient(0deg, rgba(15,15,15,0.55) 0%, rgba(15,15,15,0) 34%);
}
.hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero .lede { text-shadow: 0 1px 10px rgba(0,0,0,0.45); }

/* Consistent photo-band language: subtle dark edges on every full-width image */
.page-banner::after, .media-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,15,15,0.28) 0%, rgba(15,15,15,0) 30% 70%, rgba(15,15,15,0.28) 100%);
  pointer-events: none;
}
.page-banner, .media-band { isolation: isolate; }
.page-banner { height: clamp(200px, 30vw, 340px); }
.media-band { height: clamp(260px, 40vw, 460px); }

/* Section rhythm */
section { padding: 64px 0; }
.results { padding: 72px 0; }

/* Hover states: buttons + cards lift */
.btn { transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.tier-card, .plan-card { transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.tier-card:hover, .plan-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.10); }
.plan-card:hover { border-color: var(--teal); }

/* Reviews band: featured result stats */
.result-feature { margin-top: 10px; }
.result-stats { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0,1fr)); max-width: 640px; margin: 18px 0 16px; }
.result-stats .stat { border-left: 3px solid var(--teal); padding: 4px 0 4px 16px; }
.result-stats .n { display: block; font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--white); }
.result-stats .k { display: block; font-size: 0.85rem; color: #B8B8B8; margin-top: 2px; }
@media (max-width: 560px) { .result-stats { grid-template-columns: 1fr; } }

/* Wide callout variant */
.callout--wide { text-align: center; }
.callout--wide p { max-width: 60ch; margin-left: auto; margin-right: auto; }

/* ============================================================================
   WS-SITE3: review carousel, Coached-by-Tom grids, female results, a11y
   ========================================================================== */

/* Keyboard focus: a visible ring everywhere, tuned for dark surfaces. */
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.hero :focus-visible, .reviews :focus-visible, .callout :focus-visible,
.site-header :focus-visible, .site-footer :focus-visible,
.results :focus-visible, .female-results :focus-visible { outline-color: var(--teal-soft); }

/* ---- Review carousel ---- */
.reviews--light { background: var(--grey-bg); color: var(--grey-dark); }
.reviews--light h2 { color: var(--black); }
.reviews--light .rating { color: var(--grey-dark); }
.reviews--light .stars { color: #E0A400; }

.carousel { position: relative; display: grid;
  grid-template-columns: auto minmax(0,1fr) auto; align-items: center;
  gap: 10px; margin-top: 22px; }
.carousel-viewport { overflow: hidden; }
.carousel-track { list-style: none; margin: 0; padding: 0; display: flex;
  transition: transform 0.5s ease; }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }
.carousel-slide { flex: 0 0 100%; min-width: 0; padding: 4px; }

.review-slide { margin: 0; background: var(--white); border: 1px solid var(--rule);
  border-radius: 14px; padding: 30px 32px; box-shadow: 0 14px 34px rgba(0,0,0,0.18); }
.review-slide blockquote { margin: 0; font-family: 'Oswald', sans-serif; font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem); line-height: 1.35; color: var(--black);
  letter-spacing: 0.005em; }
.review-slide blockquote::before { content: "\201C"; color: var(--teal); }
.review-slide blockquote::after { content: "\201D"; color: var(--teal); }
.review-slide figcaption { margin-top: 18px; font-family: 'Oswald', sans-serif;
  text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem; color: var(--teal-dark); }
.review-slide figcaption span { color: var(--grey-mid); font-weight: 400; letter-spacing: 0.03em; }
.result-slide .result-stats { margin: 0 0 18px; }
.result-slide .result-stats .n { color: var(--black); }
.result-slide .result-stats .k { color: var(--grey-mid); }
.result-slide blockquote::before, .result-slide blockquote::after { content: none; }

.carousel-arrow { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%;
  border: 1px solid var(--rule); background: var(--white); color: var(--black);
  font-size: 1.6rem; line-height: 1; cursor: pointer; display: flex;
  align-items: center; justify-content: center; padding: 0 0 4px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.carousel-arrow:hover { background: var(--teal); color: var(--white); border-color: var(--teal); transform: translateY(-1px); }
.reviews .carousel-arrow { background: transparent; color: var(--white); border-color: #3a3a3a; }
.reviews .carousel-arrow:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.carousel-dots { grid-column: 1 / -1; display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.carousel-dot { width: 11px; height: 11px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--grey-mid); background: transparent; transition: background 0.15s ease, transform 0.15s ease; }
.carousel-dot.is-active { background: var(--teal); border-color: var(--teal); transform: scale(1.15); }
.reviews .carousel-dot { border-color: #6B6B6B; }
.reviews .carousel-dot.is-active { background: var(--teal-soft); border-color: var(--teal-soft); }
.carousel.is-single .carousel-arrow, .carousel.is-single .carousel-dots { display: none; }
.carousel.is-single { grid-template-columns: minmax(0,1fr); }
/* Before JS upgrades it, keep it tidy: show the first slide only. */
.carousel:not(.is-ready) .carousel-slide + .carousel-slide { display: none; }

@media (max-width: 640px) {
  .carousel { grid-template-columns: 1fr; }
  .carousel-arrow { position: absolute; top: 38%; z-index: 3; width: 40px; height: 40px; flex-basis: 40px;
    background: rgba(255,255,255,0.92); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
  .reviews .carousel-arrow { background: rgba(255,255,255,0.16); backdrop-filter: blur(2px); }
  .carousel-arrow.prev { left: -4px; }
  .carousel-arrow.next { right: -4px; }
  .review-slide { padding: 26px 22px; }
}

/* ---- Coached by Tom: everything-you-get grid ---- */
.get-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 30px; }
@media (min-width: 620px) { .get-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .get-grid { grid-template-columns: repeat(2, 1fr); } }
.get-card { border: 1px solid var(--rule); border-radius: 12px; padding: 22px 24px;
  background: var(--white); border-left: 4px solid var(--teal);
  transition: transform 0.15s ease, box-shadow 0.15s ease; }
.get-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,0.08); }
.get-card h3 { font-size: 1.08rem; text-transform: none; margin-bottom: 6px; }
.get-card p { color: var(--grey-dark); font-size: 0.98rem; margin: 0; }

/* ---- Pricing card ---- */
.pricing-card { background: var(--black); color: #E7E7E7; border-radius: 16px;
  padding: 40px; text-align: center; max-width: 560px; margin: 0 auto; }
.pricing-card h2 { color: var(--white); }
.pricing-card .eyebrow { color: var(--teal-soft); }
.pricing-figure { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 6px 0 16px; }
.pricing-figure .amount { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: clamp(2.6rem, 8vw, 3.6rem); color: var(--white); }
.pricing-figure .per { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey-light); }
.pricing-points { list-style: none; padding: 0; margin: 0 0 22px; display: inline-flex; flex-direction: column; gap: 8px; text-align: left; }
.pricing-points li { padding-left: 28px; position: relative; }
.pricing-points li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal-soft); font-weight: 700; }
.pricing-note { margin-top: 18px; font-size: 0.92rem; color: var(--grey-light); }
.pricing-note a { color: var(--teal-soft); }

/* ---- Female results band ---- */
.female-results { background: var(--black); color: #E7E7E7; }
.female-results h2 { color: var(--white); max-width: 22ch; }
.female-results-grid { display: grid; gap: 34px; grid-template-columns: 1fr; align-items: center; margin-top: 26px; }
@media (min-width: 860px) { .female-results-grid { grid-template-columns: 1.05fr 0.95fr; } }
.female-results-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.female-results-media .feature-media { box-shadow: 0 14px 34px rgba(0,0,0,0.4); aspect-ratio: 3 / 4; }
.female-results-media .feature-media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.female-results-copy .result-stats { margin: 0 0 20px; }
.female-results-copy .result-stats .n { color: var(--white); }
.female-results .reviews-result { color: #E7E7E7; }

/* ============================================================================
   WS-SITE4: Madison crop fix, 15+ carousel, /options/ preview, female honours
   ========================================================================== */

/* Madison on the pink TT bike: portrait crop so the full rider stays in frame. */
.feature-media--portrait img { aspect-ratio: 4 / 5; }
@media (min-width: 820px) {
  .feature-grid--portrait { grid-template-columns: 0.9fr 1.1fr; }
}

/* Reviews carousel now holds the whole review set: dots wrap past ~10. */
.carousel-dots { flex-wrap: wrap; max-width: 100%; }

/* About: portrait right rail + a full-width credential band under both columns. */
.about-side .portrait { max-width: 460px; margin-left: auto; margin-right: auto; }
.about-grid { align-items: start; }
.cred-band { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 22px; }
@media (min-width: 760px) { .cred-band { grid-template-columns: repeat(3, 1fr); } }
.cred { background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--teal); border-radius: 12px; padding: 20px 22px; }
.cred h3 { font-size: 1.05rem; text-transform: uppercase; margin-bottom: 6px; }
.cred p { color: var(--grey-dark); font-size: 0.98rem; margin: 0; }

/* ---- Banner option previews (/options/) ---- */
.options-page .opt-slot { padding: 44px 0 10px; border-top: 1px solid var(--rule); }
.options-page .opt-where { color: var(--grey-mid); max-width: 72ch; margin: -2px 0 0; }
.options-page .opt { margin: 20px 0 40px; }
.options-page .opt-label {
  font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 0.92rem; margin: 0 auto 10px; padding: 0 20px; max-width: var(--maxw);
}
.options-page .opt-label code {
  font-family: 'JetBrains Mono', monospace; text-transform: none; letter-spacing: 0;
  color: var(--grey-dark); font-size: 0.9rem;
}
.opt-tag {
  display: inline-block; background: var(--grey-bg); border: 1px solid var(--rule);
  color: var(--grey-dark); padding: 2px 11px; border-radius: 20px; margin-right: 8px;
  font-size: 0.82rem;
}
.opt-tag--current { background: var(--teal); color: #fff; border-color: var(--teal); }
.opt-frame { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.14); }
.options-page .opt-frame .hero--image { min-height: 360px; }

/* ---- Female honours band (key female performances) ---- */
.female-honours { background: var(--black); color: #E7E7E7; }
.female-honours h2 { color: var(--white); }
.female-honours .eyebrow { color: var(--teal-soft); }
.honours-grid { display: grid; gap: 22px; grid-template-columns: 1fr; margin-top: 30px; }
@media (min-width: 620px) { .honours-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .honours-grid { grid-template-columns: repeat(4, 1fr); } }
.honour {
  background: #171717; border: 1px solid #2a2a2a; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
}
.honour-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.honour-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.honour-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.honour-name { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.15rem; color: var(--white); margin: 0 0 12px; }
.honour-stats { list-style: none; padding: 0; margin: 0; }
.honour-stats li { padding: 7px 0 7px 22px; position: relative; border-top: 1px solid #262626; color: #D8D8D8; font-size: 0.98rem; }
.honour-stats li:first-child { border-top: 0; }
.honour-stats li::before { content: "\2192"; position: absolute; left: 0; color: var(--teal-soft); font-weight: 700; }
.honour-flag { margin-top: auto; padding-top: 12px; font-size: 0.82rem; color: #E0A400; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.04em; }

/* ============================================================================
   WS-SITE6: real athlete photos (honours tiles, about gallery, coached figures)
   ========================================================================== */

/* Captioned figures (about gallery, coached pages) */
.photo-fig { margin: 0; border-radius: 14px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,0.14); background: var(--white);
  border: 1px solid var(--rule); }
/* height:auto beats the height="" presentational hint so aspect-ratio applies */
.photo-fig img { width: 100%; height: auto; display: block; object-fit: cover; }
.photo-fig figcaption { padding: 10px 14px; font-size: 0.85rem; color: var(--grey-mid); }
.photo-fig--land img { aspect-ratio: 3 / 2; }
.photo-fig--port img { aspect-ratio: 4 / 5; }

/* About: racing gallery, a row of landscapes above a row of portraits */
.about-gallery { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 680px) { .about-gallery { grid-template-columns: repeat(3, 1fr); } }
.about-gallery + .about-gallery { margin-top: 18px; }
.about-side .photo-fig { max-width: 460px; margin: 0 auto 22px; }

/* Coached / Coached by Tom: copy beside a tall support photo */
.side-fig-grid { display: grid; gap: 34px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .side-fig-grid { grid-template-columns: 1.35fr 0.85fr; } }
.side-fig-grid .photo-fig--port { max-width: 420px; }
@media (max-width: 899px) { .side-fig-grid .photo-fig--port { margin: 0 auto; } }
/* WS-SITE18: balanced two-column feel so the support photo fills the right side
   instead of looking like it has fallen off the edge (Plan Only "what you get"). */
@media (min-width: 900px) {
  .side-fig-grid--balanced { grid-template-columns: 1.1fr 0.9fr; }
  .side-fig-grid--balanced .photo-fig--port { max-width: 100%; margin-left: auto; }
}

/* Options: note tag (flags a recommended pick) */
.opt-tag--note { background: var(--teal-soft); color: var(--teal-dark);
  border-color: var(--teal-soft); text-transform: none; letter-spacing: 0.02em; }

/* ============================================================================
   WS-SITE9: About Us reformat, 5-up qualifications, branded CTA, more-reviews
   ========================================================================== */

/* About Us hero: intro copy left, the head-shot portrait top-right (fills the
   old dead white band so the top of the page reads balanced). */
.about-hero { padding: 56px 0 60px; }
.about-hero-grid { display: grid; gap: 34px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 820px) { .about-hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.about-hero-portrait { margin: 0; border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.38); max-width: 400px; width: 100%;
  justify-self: end; background: #1a1a1a; }
.about-hero-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.about-hero-portrait figcaption { padding: 10px 14px; font-size: 0.85rem; color: #B9B9B9; }
@media (max-width: 819px) { .about-hero-portrait { margin: 0 auto; justify-self: center; } }

/* Qualifications: five credential cards, balanced. Flex-wrap with centred rows so
   the layout reads even (3 then 2 centred) rather than a lopsided 3+2 (WS-SITE18). */
.cred-band--five { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.cred-band--five .cred { flex: 1 1 300px; max-width: 340px; }

/* About: photo-free branded CTA band (the china-clay quarry banner is retired). */
.about-cta { border-top: 4px solid var(--teal); }

/* Female reviews: the honest "more reviews on the way" placeholder slide. */
.review-slide--more { border-style: dashed; border-color: var(--teal); background: var(--grey-bg); }
.review-slide--more blockquote { color: var(--grey-dark); }

/* ============================================================================
   WS-SITE13: support ladder, per-tier support line, contact page + landing pages
   ========================================================================== */

/* Support ladder: none -> feedback -> full, read left to right at a glance. */
.support-ladder { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px;
  margin: 22px 0 4px; }
.support-ladder .rung { flex: 1 1 200px; border: 1px solid var(--rule); border-radius: 10px;
  background: var(--white); padding: 14px 16px; display: flex; flex-direction: column; gap: 3px;
  border-left: 4px solid var(--grey-light); }
.support-ladder .rung:nth-child(3) { border-left-color: var(--teal); }   /* Plan Only */
/* WS-SITE18: Coached by Tom rung is gold (replacing the old black fill) */
.support-ladder .rung--full { border-left-color: var(--gold-dark);
  background: var(--gold); }
.support-ladder .rung--full .rung-tier { color: #171717; }
.support-ladder .rung--full .rung-level { color: #4a3810; }
.support-ladder .rung-tier { font-family: 'Oswald', sans-serif; text-transform: uppercase;
  letter-spacing: 0.03em; font-size: 1rem; color: var(--black); }
.support-ladder .rung-level { font-family: 'JetBrains Mono', monospace; font-size: 0.82rem;
  color: var(--teal-dark); }
.support-ladder .rung-arrow { align-self: center; color: var(--teal); font-size: 1.4rem;
  font-weight: 700; line-height: 1; }
@media (max-width: 640px) { .support-ladder { flex-direction: column; }
  .support-ladder .rung-arrow { transform: rotate(90deg); } }

/* Per-tier support descriptor inside a tier card. */
.support-line { font-size: 0.95rem; color: var(--grey-dark) !important; margin-bottom: 14px;
  padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.support-tag { display: inline-block; font-family: 'Oswald', sans-serif; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 0.72rem; background: var(--grey-bg); color: var(--teal-dark);
  border: 1px solid var(--rule); border-radius: 20px; padding: 3px 11px; margin-right: 8px;
  margin-bottom: 6px; }
.support-tag--full { background: var(--teal-soft); border-color: var(--teal-soft); }

/* Contact page: channels beside a Netlify form. */
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-channels { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-channels a { display: flex; align-items: center; gap: 14px; text-decoration: none;
  border: 1px solid var(--rule); border-radius: 11px; padding: 14px 16px; color: var(--black);
  transition: border-color 0.15s ease, transform 0.15s ease; }
.contact-channels a:hover { border-color: var(--teal); transform: translateY(-1px); }
.contact-channels .ch-icon { color: var(--teal-dark); display: flex; }
.contact-channels .ch-body { display: flex; flex-direction: column; }
.contact-channels .ch-body strong { font-family: 'Oswald', sans-serif; text-transform: uppercase;
  letter-spacing: 0.03em; font-size: 0.95rem; }
.contact-channels .ch-body span { color: var(--grey-mid); font-size: 0.9rem; }
.contact-form { display: grid; gap: 16px; margin-top: 18px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-family: 'Oswald', sans-serif; text-transform: uppercase;
  font-size: 0.8rem; letter-spacing: 0.06em; color: var(--grey-mid); }
.contact-form input, .contact-form textarea { width: 100%; padding: 11px 13px;
  border: 1px solid var(--grey-light); border-radius: 8px; font-size: 1rem; font-family: inherit;
  background: var(--white); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--teal);
  outline-offset: 1px; border-color: var(--teal); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; }
.hp-field { position: absolute; left: -9999px; }

/* ---- Blog (WS-SITE14; magazine cards + hero images WS-SITE18) ---- */
.blog-list { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .blog-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .blog-list { grid-template-columns: repeat(3, 1fr); } }
.blog-card { border: 1px solid var(--rule); border-radius: 14px; overflow: hidden;
  background: var(--white); display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.10); border-color: var(--teal); }
.blog-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card .blog-excerpt { flex: 1; }
/* Blog post lead image band (magazine feel) */
.blog-hero-media { height: clamp(200px, 34vw, 380px); }
.blog-date { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--grey-mid); margin-bottom: 6px; }
.blog-card-title { font-size: 1.35rem; text-transform: none; line-height: 1.2; margin-bottom: 8px; }
.blog-card-title a { color: var(--black); text-decoration: none; }
.blog-card-title a:hover { color: var(--teal-dark); }
.blog-excerpt { color: var(--grey-dark); font-size: 1.02rem; margin-bottom: 12px; max-width: 62ch; }
.blog-post-hero h1 { text-transform: none; max-width: 24ch; line-height: 1.12; }
.blog-meta { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem;
  color: var(--grey-mid); margin-top: 12px; }
.blog-prose { font-size: 1.08rem; line-height: 1.75; }
.blog-prose h2 { margin: 34px 0 12px; font-size: 1.45rem; }
.blog-prose h3 { margin: 26px 0 10px; font-size: 1.15rem; text-transform: none;
  font-family: 'Oswald', sans-serif; letter-spacing: 0.01em; }
.blog-prose p { margin: 0 0 18px; }
.blog-prose ul, .blog-prose ol { margin: 0 0 20px; padding-left: 24px; }
.blog-prose li { margin-bottom: 10px; }
.blog-prose blockquote { margin: 22px 0; padding: 4px 0 4px 22px;
  border-left: 3px solid var(--teal); color: var(--grey-dark); font-style: italic; }
.blog-prose a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 2px; }
.blog-prose img { max-width: 100%; height: auto; border-radius: 8px; }
/* WS-SITE24: original in-body blog photographs. Centred, reader-width, with the
   intrinsic width/height on the <img> reserving space (no layout shift). Portrait
   shots are height-capped so a tall image never dominates the reading column. */
.blog-figure { margin: 26px auto; text-align: center; }
.blog-figure img { max-width: 100%; max-height: 78vh; width: auto; height: auto;
  border-radius: 8px; display: inline-block; box-shadow: 0 2px 14px rgba(0,0,0,.12); }
.blog-rule { border: none; border-top: 1px solid var(--rule); margin: 34px 0 20px; }
.link-plain.on-dark { color: var(--teal-soft); }

/* ============================================================================
   WS-SITE20 CRAFT PASS: fluid rhythm, scroll-reveal, motion discipline.
   Presentation only. No layout restructuring, no copy. Everything below is
   additive and overrides the earlier ad-hoc transitions with one easing token.
   ========================================================================== */

/* ---- Vertical rhythm + measure (shared variables applied site-wide) ---- */
section { padding: var(--section-pad) 0; }
.results { padding: calc(var(--section-pad) + 8px) 0; }
.section-intro { max-width: var(--measure); }
.prose { max-width: var(--measure); }
.hero { padding: clamp(64px, 9vw, 104px) 0 clamp(72px, 10vw, 112px); }

/* ---- Fluid display sizes for stats + prices (coherent with the type scale) ---- */
.result-stats .n { font-size: var(--step-stat); }
.pricing-figure .amount { font-size: clamp(2.6rem, 1.8rem + 3.6vw, 3.6rem); letter-spacing: var(--track-tight); }
.tier-card .price,
.plan-card .price { font-size: var(--step-price); letter-spacing: -0.01em; }
.buy-row .price { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 1.8rem); letter-spacing: -0.01em; }
.spec-box .v { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); }

/* ============================================================================
   MOTION DISCIPLINE: one easing (--ease) + duration scale on every hover.
   Hover lift uses the independent `translate` property so it never collides
   with the reveal system's `transform`. GPU-friendly (transform/opacity only).
   ========================================================================== */
.btn { transition: background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), translate var(--dur-fast) var(--ease); }
.btn:hover { transform: none; translate: 0 -2px; box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.btn:active { translate: 0 0; }

.tier-card, .plan-card, .blog-card, .get-card, .quote-card, .cred {
  transition: opacity var(--reveal-dur) var(--ease-out),
              transform var(--reveal-dur) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease),
              border-color var(--dur-mid) var(--ease),
              translate var(--dur-mid) var(--ease);
}
.tier-card:hover, .plan-card:hover, .blog-card:hover, .get-card:hover {
  transform: none; translate: 0 -4px; box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}
.plan-card:hover, .blog-card:hover { border-color: var(--teal); }

/* Nav links: colour + an underline that wipes in from the left (desktop). */
.site-nav a { transition: color var(--dur-fast) var(--ease); }
@media (min-width: 821px) {
  .site-nav a:not(.cta) { position: relative; }
  .site-nav a:not(.cta)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
    background: var(--teal); transform: scaleX(0); transform-origin: left center;
    transition: transform var(--dur-mid) var(--ease);
  }
  .site-nav a:not(.cta):hover::after,
  .site-nav a:not(.cta)[aria-current="page"]::after { transform: scaleX(1); }
}
.site-nav a.cta { transition: background var(--dur-fast) var(--ease), translate var(--dur-fast) var(--ease); }
.site-nav a.cta:hover { translate: 0 -1px; }

/* Social icons, carousel arrows/dots, contact channels: same token language. */
.social-icon { transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), translate var(--dur-fast) var(--ease); }
.social-icon:hover { transform: none; translate: 0 -2px; }
.carousel-arrow { transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), translate var(--dur-fast) var(--ease); }
.carousel-arrow:hover { transform: none; translate: 0 -1px; }
.carousel-dot { transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.contact-channels a { transition: border-color var(--dur-fast) var(--ease), translate var(--dur-fast) var(--ease); }
.contact-channels a:hover { transform: none; translate: 0 -1px; }
.link-plain { transition: color var(--dur-fast) var(--ease); }

/* ============================================================================
   SCROLL-REVEAL SYSTEM (progressive enhancement).
   Hidden-start states are gated behind `html.js ...:not(.in)`, so with JS off
   or before reveal.js runs NOTHING matches and all content is fully visible.
   reveal.js adds `.in` as elements enter the viewport; the transition lives on
   the always-matching base rule so the settle animates. Reveal moves only
   transform + opacity. Keep this selector list in step with reveal.js.
   ========================================================================== */

/* (1) transition carrier: on the base element, so add/remove of .in animates. */
html.js .reveal,
html.js section > .wrap > .eyebrow,
html.js section > .wrap > h2,
html.js section > .wrap > .section-intro,
html.js .tier-card, html.js .which-item, html.js .plan-card, html.js .honour,
html.js .blog-card, html.js .get-card, html.js .cred, html.js .quote-card,
html.js .photo-fig, html.js .spec-box, html.js .feature-media,
html.js .feature-copy, html.js .result-stats, html.js .raceplan,
html.js .carousel, html.js .about-list li, html.js .step-list li {
  transition: opacity var(--reveal-dur) var(--ease-out),
              transform var(--reveal-dur) var(--ease-out);
}

/* (2) hidden-start state (only until .in is added). */
html.js .reveal:not(.in),
html.js section > .wrap > .eyebrow:not(.in),
html.js section > .wrap > h2:not(.in),
html.js section > .wrap > .section-intro:not(.in),
html.js .tier-card:not(.in), html.js .which-item:not(.in),
html.js .plan-card:not(.in), html.js .honour:not(.in),
html.js .blog-card:not(.in), html.js .get-card:not(.in),
html.js .cred:not(.in), html.js .quote-card:not(.in),
html.js .photo-fig:not(.in), html.js .spec-box:not(.in),
html.js .feature-media:not(.in), html.js .feature-copy:not(.in),
html.js .result-stats:not(.in), html.js .raceplan:not(.in),
html.js .carousel:not(.in), html.js .about-list li:not(.in),
html.js .step-list li:not(.in) {
  opacity: 0;
  transform: translateY(var(--reveal-shift));
}

/* Cards keep the combined transition (reveal + hover) defined above; re-assert
   the reveal transition here for the card group so the slow settle is not lost
   to the hover rule (identical transform timing, hover props added). */
html.js .tier-card, html.js .plan-card, html.js .blog-card,
html.js .get-card, html.js .quote-card, html.js .cred {
  transition: opacity var(--reveal-dur) var(--ease-out),
              transform var(--reveal-dur) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease),
              border-color var(--dur-mid) var(--ease),
              translate var(--dur-mid) var(--ease);
}

/* Stagger: a small left-to-right cascade for grid children. */
html.js .tier-grid > *:nth-child(2),
html.js .honours-grid > *:nth-child(2),
html.js .blog-list > *:nth-child(2),
html.js .get-grid > *:nth-child(2),
html.js .cred-band > *:nth-child(2),
html.js .which-grid > *:nth-child(2),
html.js .about-gallery > *:nth-child(2) { transition-delay: 0.08s; }
html.js .tier-grid > *:nth-child(3),
html.js .honours-grid > *:nth-child(3),
html.js .blog-list > *:nth-child(3),
html.js .get-grid > *:nth-child(3),
html.js .cred-band > *:nth-child(3),
html.js .which-grid > *:nth-child(3),
html.js .about-gallery > *:nth-child(3) { transition-delay: 0.16s; }
html.js .honours-grid > *:nth-child(4),
html.js .blog-list > *:nth-child(4) { transition-delay: 0.24s; }
/* Plan library grid (3 columns, many rows): column-position cascade per row. */
html.js .card-grid > *:nth-child(3n+2) { transition-delay: 0.06s; }
html.js .card-grid > *:nth-child(3n) { transition-delay: 0.12s; }

/* ---- Image treatment: slow scale-at-rest -> settle on reveal. GPU only. ---- */
html.js .feature-media img,
html.js .photo-fig img,
html.js .honour-media img,
html.js .blog-card-media img { transition: transform var(--reveal-dur) var(--ease-out); }
html.js .feature-media:not(.in) img,
html.js .photo-fig:not(.in) img,
html.js .honour:not(.in) .honour-media img,
html.js .blog-card:not(.in) .blog-card-media img { transform: scale(1.045); }

/* Tasteful hover on athlete / honours / blog tiles (overflow already hidden). */
.honour-media img, .blog-card-media img, .feature-media img { will-change: transform; }
.honour:hover .honour-media img,
.blog-card:hover .blog-card-media img { transform: scale(1.05); }

/* ============================================================================
   REDUCED MOTION: no reveals, no non-essential transitions, static + visible.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html.js .reveal,
  html.js section > .wrap > .eyebrow,
  html.js section > .wrap > h2,
  html.js section > .wrap > .section-intro,
  html.js .tier-card, html.js .which-item, html.js .plan-card, html.js .honour,
  html.js .blog-card, html.js .get-card, html.js .cred, html.js .quote-card,
  html.js .photo-fig, html.js .spec-box, html.js .feature-media,
  html.js .feature-copy, html.js .result-stats, html.js .raceplan,
  html.js .carousel, html.js .about-list li, html.js .step-list li {
    opacity: 1 !important;
    transform: none !important;
  }
  html.js .feature-media img, html.js .photo-fig img,
  html.js .honour-media img, html.js .blog-card-media img { transform: none !important; }
}

/* ============================================================================
   WS-SITE21 EDITORIAL PASS. Presentation only (plus the sanctioned copy changes
   handled in build.py). Implements the ranked design crit: distilled tier cards,
   race-plan artefact, unified figures, aligned honours, orphan fixes, stronger
   bands, contact warmth, pull-quote reviews.
   ========================================================================== */

/* ---- (2) HOME tier cards: distilled, equal height, one-line price ---- */
.tier-grid--distilled { align-items: stretch; }
.tier-card .price { white-space: nowrap; }
.price-qual {
  font-family: 'Oswald', sans-serif; text-transform: uppercase;
  font-size: 0.5em; font-weight: 600; letter-spacing: 0.06em; color: var(--grey-mid);
}
.tier-card--tom .price-qual { color: var(--gold-dark); }
.tier-verdict {
  font-family: 'Oswald', sans-serif; font-weight: 500;
  font-size: 1.08rem; line-height: 1.32; color: var(--black) !important;
  margin: 2px 0 16px;
}
.tier-benefits { list-style: none; padding: 0; margin: 0 0 24px; display: flex;
  flex-direction: column; gap: 10px; }
.tier-benefits li { position: relative; padding-left: 26px; font-size: 0.95rem;
  line-height: 1.42; color: var(--grey-dark); }
.tier-benefits li::before { content: "\2713"; position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--teal-dark); }
.tier-card--store .tier-benefits li::before { color: var(--grey-mid); }
.tier-card--tom .tier-benefits li::before { color: var(--gold-dark); }
.tier-card .btn { margin-top: auto; }

/* ---- (7b) HOME "153 plans" stat band: a big number beside the copy ---- */
.plans-stat-grid { display: grid; gap: 34px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 820px) { .plans-stat-grid { grid-template-columns: 0.75fr 1.25fr; } }
.plans-stat-figure { display: flex; flex-direction: column; align-items: flex-start;
  line-height: 0.86; }
.plans-stat-num::before {
  content: attr(data-total); display: block;
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: clamp(5.5rem, 4rem + 12vw, 11rem); letter-spacing: -0.03em;
  color: var(--teal);
}
.plans-stat-num::after {
  content: "plans, one per race"; display: block; max-width: 8ch;
  font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.92rem; color: var(--grey-mid); margin-top: 10px; line-height: 1.25;
}
@media (max-width: 819px) { .plans-stat-num::after { max-width: none; } }

/* ---- (4) Unify FIGURE language: framed editorial figures everywhere ---- */
.feature-media { border: 1px solid var(--rule); background: var(--white); }

/* ---- (5) Female honours: top 3 visible, the rest in a native <details> ---- */
.honour-more { margin-top: 4px; }
.honour-more summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center;
  padding: 10px 0 2px; font-family: 'Oswald', sans-serif; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 0.78rem; color: var(--teal-soft);
}
.honour-more summary::-webkit-details-marker { display: none; }
.honour-more summary::before { content: "+"; margin-right: 8px; font-size: 1rem;
  line-height: 1; color: var(--teal-soft); }
.honour-more[open] summary::before { content: "\2013"; }
.honour-stats--more { margin-top: 2px; }
.honour-stats--more li:first-child { border-top: 1px solid #262626; }

/* ---- (6b) Female-first plan cards: 2x2, no orphan row (4-up only when wide) ---- */
@media (min-width: 620px) { .card-grid--female2x2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid--female2x2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1240px) { .card-grid--female2x2 { grid-template-columns: repeat(4, 1fr); } }

/* ---- (6c) "Which one am I?" strip: carry the tier colours ---- */
.which-item { border-left-width: 4px; padding: 14px 0 14px 20px; border-radius: 0 8px 8px 0; }
.which-item--store { border-left-color: var(--grey-mid);
  background: linear-gradient(90deg, rgba(107,107,107,0.07), transparent 62%); }
.which-item--plan { border-left-color: var(--teal);
  background: linear-gradient(90deg, rgba(13,148,136,0.09), transparent 62%); }
.which-item--plan strong { color: var(--teal-dark); }
.which-item--tom { border-left-color: var(--gold);
  background: linear-gradient(90deg, rgba(184,132,26,0.11), transparent 62%); }
.which-item--tom strong { color: var(--gold-dark); }

/* ---- (7a) HOME teal results band: a designed pull-quote moment ---- */
.results { padding: clamp(72px, 10vw, 118px) 0; }
.results--image::after { background: rgba(13,148,136,0.82); }
.results p { font-size: clamp(1.7rem, 1.05rem + 3.4vw, 3rem); font-weight: 500;
  max-width: 19ch; letter-spacing: -0.01em; line-height: 1.18; }
.results p.results-sub { font-size: clamp(1rem, 0.95rem + 0.4vw, 1.18rem);
  max-width: 48ch; opacity: 0.94; }

/* ---- (3) Race-plan snapshot: framed artefact, intro above, SVG full-width ---- */
.raceplan-showcase { margin-top: 10px; }
.raceplan-intro { max-width: 74ch; margin: 0 0 32px; }
.raceplan--artefact { max-width: 1040px; margin: 0 auto; padding: clamp(14px, 2.4vw, 26px);
  background: var(--white); border: 1px solid var(--rule); border-radius: 16px;
  box-shadow: 0 26px 64px rgba(15,15,15,0.15); }
.raceplan--artefact .raceplan-svg { box-shadow: none; }
.raceplan--artefact figcaption { max-width: 84ch; margin: 16px auto 4px; text-align: center; }

/* ---- (6a) Coaching "Why places are limited": full-width gold band ---- */
.limited-band { background: var(--gold-soft); border-top: 4px solid var(--gold);
  border-bottom: 1px solid var(--gold); }
.limited-band h2 { color: var(--gold-dark); }
.limited-band p { color: #4a3810; max-width: 60ch; }
.limited-band-inner { display: grid; gap: 30px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 820px) { .limited-band-inner { grid-template-columns: 0.7fr 1.3fr; } }
.limited-band-figure { display: flex; flex-direction: column; align-items: flex-start;
  line-height: 0.82; }
.limited-band-figure::before { content: "15"; font-family: 'Oswald', sans-serif;
  font-weight: 700; font-size: clamp(5.5rem, 4rem + 13vw, 10.5rem); letter-spacing: -0.03em;
  color: var(--gold); }
.limited-band-figure::after { content: "places only"; font-family: 'Oswald', sans-serif;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.92rem; color: var(--gold-dark);
  margin-top: 8px; }
@media (max-width: 819px) { .limited-band-figure { align-items: center; text-align: center; } }

/* ---- (8) Contact: warm portrait + a proper form panel ---- */
.contact-portrait { margin-bottom: 24px; }
.contact-portrait img { aspect-ratio: 3 / 2; }
.contact-panel { background: var(--white); border: 1px solid var(--rule);
  border-radius: 16px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 18px 44px rgba(15,15,15,0.08); }
.contact-panel h2 { margin-top: 0; }
.contact-form input, .contact-form textarea { border: 1px solid var(--grey-light);
  border-radius: 9px; transition: border-color var(--dur-fast) var(--ease),
  box-shadow var(--dur-fast) var(--ease); }
.contact-form input:focus, .contact-form textarea:focus { outline: none;
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,0.16); }
.contact-form .btn { margin-top: 4px; }

/* ---- (9) Pull-quote review treatment (home / coaching / coached / female) ---- */
.review-slide { position: relative; overflow: hidden; padding: 40px 40px 34px; }
.review-slide::before {
  content: "\201C"; position: absolute; top: -8px; right: 20px;
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 7rem; line-height: 1;
  color: rgba(13,148,136,0.13); pointer-events: none;
}
.review-slide blockquote { font-size: clamp(1.28rem, 1rem + 1.5vw, 1.85rem);
  line-height: 1.34; position: relative; z-index: 1; }
.review-slide:not(.result-slide) blockquote::before {
  content: "\2605\2605\2605\2605\2605"; display: block;
  font-family: 'JetBrains Mono', monospace; color: var(--gold);
  font-size: 0.95rem; letter-spacing: 0.3em; margin: 0 0 16px; text-shadow: none;
}
.review-slide blockquote::after { content: none; }
.review-slide figcaption { font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.76rem;
  color: var(--teal-dark); margin-top: 20px; }
.review-slide figcaption span { font-family: 'Source Sans 3', sans-serif;
  text-transform: none; letter-spacing: 0.01em; color: var(--grey-mid); }

/* (1) A lone genuine review reads as a featured, centred pull-quote. */
.carousel.is-single .review-slide { max-width: 760px; margin: 0 auto; text-align: center;
  padding: 44px 46px 38px; }
.carousel.is-single .review-slide::before { right: 50%; transform: translateX(50%); top: -14px; }
@media (max-width: 640px) { .review-slide { padding: 30px 24px 26px; }
  .carousel.is-single .review-slide { padding: 32px 24px 28px; } }
