/* Shared styles for the two-offering site (home + /velocity).
   Colour carries the structure: sand = return from injury, red = velocity.
   Same mapping /start already uses in its headline, so every page agrees. */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.75rem, 1.3rem + 2vw, 3rem);
  --text-2xl: clamp(2.25rem, 1.3rem + 3.6vw, 4.5rem);
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
  --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;
  --radius-sm: .375rem; --radius-lg: .75rem; --radius-full: 9999px;
  --transition-interactive: 180ms cubic-bezier(.16,1,.3,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --font-display: 'Clash Display','Arial Black',sans-serif;
  --font-body: 'General Sans','Helvetica Neue',sans-serif;
  --color-bg: #0a0a0a; --color-surface: #111; --color-surface-2: #181818;
  --color-border: #2a2a2a; --color-divider: #1e1e1e;
  --color-text: #f0f0f0; --color-text-muted: #a3a3a3; --color-text-faint: #6f6f6f;
  --color-primary: #A71930; --color-primary-hover: #c41e3a; --color-primary-glow: rgba(167,25,48,.4);
  --color-sand: #E3D4AD;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 64px;
}
html { scroll-padding-top: calc(var(--header-h) + 1rem); }
body { background: var(--color-bg); overflow-x: hidden; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.block { padding-block: clamp(var(--space-16), 9vw, var(--space-24)); }
.block--rule { border-top: 1px solid var(--color-divider); }

/* Header */
.top { position: sticky; top: 0; z-index: 40; height: var(--header-h); background: rgba(10,10,10,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-divider); }
.top__in { height: 100%; display: flex; align-items: center; gap: clamp(var(--space-3), 2.5vw, var(--space-8)); }
.top__brand { display: inline-flex; align-items: center; gap: var(--space-3); margin-right: auto; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.top__brand img { width: 30px; }
.top a.top__link { font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); text-decoration: none; white-space: nowrap; }
.top a.top__link:hover, .top a.top__link[aria-current] { color: var(--color-text); }
.top__short { display: none; }
.top__cta { padding: .55rem 1rem; background: var(--color-primary); color: #fff; border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 600; text-decoration: none; white-space: nowrap; }
.top__cta:hover { background: var(--color-primary-hover); }

/* Type */
.eyebrow { display: block; font-size: var(--text-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-4); }
.eyebrow--inj { color: var(--color-sand); }
.eyebrow--vel { color: #e8485f; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); line-height: 1.02; letter-spacing: -.01em; text-transform: uppercase; max-width: 20ch; margin-bottom: var(--space-5); }
.lede { color: var(--color-text-muted); line-height: 1.6; max-width: 58ch; }
.lede + .lede { margin-top: var(--space-4); }
.lede strong { color: var(--color-text); font-weight: 600; }
.fine { margin-top: var(--space-5); color: var(--color-text-faint); font-size: var(--text-xs); line-height: 1.5; max-width: 62ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: 1rem 1.75rem; border-radius: var(--radius-full); font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.btn--red { background: var(--color-primary); color: #fff; box-shadow: 0 10px 30px var(--color-primary-glow); }
.btn--red:hover { background: var(--color-primary-hover); }
.btn--sand { background: var(--color-sand); color: #14110a; }
.btn--sand:hover { background: #efe3c3; }
.btn--line { border: 1px solid var(--color-border); color: var(--color-text); }
.btn--line:hover { border-color: var(--color-text); }
.link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Home hero: read left to right it says Matt's line. Return from injury / or / increase velocity / I got you. */
.fork { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: min(74vh, 760px); }
.fork__p { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; padding: clamp(var(--space-6), 4vw, var(--space-12)); overflow: hidden; color: #fff; text-decoration: none; background: #000; isolation: isolate; }
.fork__p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--ease-out); }
.fork__p::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.08) 25%, rgba(0,0,0,.88) 82%); }
.fork__p:hover img { transform: scale(1.03); }
.fork__p--inj img { object-position: 50% 20%; }
.fork__p--vel img { object-position: 42% 30%; }
.fork__kick { font-size: var(--text-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--space-3); }
.fork__p--inj .fork__kick, .fork__p--inj .fork__go { color: var(--color-sand); }
.fork__p--vel .fork__kick, .fork__p--vel .fork__go { color: #ff6b80; }
.fork__t { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 1rem + 4.4vw, 5.25rem); line-height: .95; letter-spacing: -.015em; text-transform: uppercase; }
.fork__d { margin-top: var(--space-4); max-width: 38ch; color: #d6d6d6; font-size: var(--text-base); line-height: 1.45; }
.fork__go { margin-top: var(--space-4); font-weight: 600; font-size: var(--text-sm); }
.fork__or { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--color-bg); border: 1px solid var(--color-border); font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; text-transform: uppercase; letter-spacing: .06em; z-index: 2; pointer-events: none; }
.gotyou { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4) var(--space-8); padding-block: clamp(var(--space-6), 3vw, var(--space-8)); }
.gotyou__t { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); line-height: 1; text-transform: uppercase; }
.gotyou__d { color: var(--color-text-muted); max-width: 46ch; line-height: 1.45; }

/* Proof numbers */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--color-divider); }
.nums__i { padding: var(--space-6) var(--space-4); border-left: 1px solid var(--color-divider); }
.nums__i:first-child { border-left: 0; padding-left: 0; }
.nums b { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); line-height: 1; }
.nums span { display: block; margin-top: var(--space-2); font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.35; }

/* Results */
.res { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-3); margin-top: var(--space-8); }
.res--4 { grid-template-columns: repeat(4, 1fr); }
.tile { position: relative; display: flex; flex-direction: column; background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; }
.tile:hover { border-color: var(--color-text-muted); }
.tile__m { aspect-ratio: 4/5; overflow: hidden; background: #000; }
.tile__m img { width: 100%; height: 100%; object-fit: cover; }
.tile__c { padding: var(--space-3); border-top: 2px solid var(--color-primary-hover); flex: 1; }
.tile--inj .tile__c { border-top-color: var(--color-sand); }
.tile__s { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); line-height: 1.15; color: #fff; }
.tile__n { display: block; margin-top: 4px; font-size: var(--text-xs); color: var(--color-text-muted); }
.key { display: flex; gap: var(--space-5); font-size: var(--text-xs); color: var(--color-text-muted); }
.key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; background: var(--color-primary-hover); }
.key i.s { background: var(--color-sand); }

/* Feature result: the graphic carries the big number, so it runs large */
.big { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(var(--space-6), 5vw, var(--space-16)); align-items: center; margin-block: var(--space-8) var(--space-10); }
.big__m { display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); }
.big__m img { width: 100%; }
.big__h { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 2rem + 9vw, 9rem); line-height: .9; letter-spacing: -.02em; color: var(--color-sand); margin-bottom: var(--space-5); }
.big__l { display: flex; flex-wrap: wrap; gap: var(--space-6) var(--space-8); margin-block: var(--space-6); padding-block: var(--space-5); border-block: 1px solid var(--color-divider); }
.big__l li { max-width: none; }
.big__l b { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.1; }
.big__l span { display: block; margin-top: 4px; font-size: var(--text-xs); color: var(--color-text-muted); }

/* Story: one career, both offerings */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: start; }
.tl { list-style: none; border-top: 1px solid var(--color-divider); }
.tl li { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--space-4); padding-block: var(--space-4); border-bottom: 1px solid var(--color-divider); max-width: none; }
.tl .w { font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--color-sand); padding-top: 3px; }
.tl .t { font-size: var(--text-sm); line-height: 1.45; color: var(--color-text); }
.tl .t b { font-family: var(--font-display); font-weight: 600; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: var(--space-8); border-top: 1px solid var(--color-border); counter-reset: s; list-style: none; }
.steps li { counter-increment: s; padding: var(--space-6) var(--space-6) 0 0; max-width: none; }
.steps li + li { padding-left: var(--space-6); border-left: 1px solid var(--color-divider); }
.steps li::before { content: counter(s); display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); line-height: 1; color: var(--color-text-faint); margin-bottom: var(--space-4); }
.steps h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); margin-bottom: var(--space-2); }
.steps p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.55; }
.quote { margin-top: clamp(var(--space-10), 6vw, var(--space-16)); padding-left: var(--space-5); border-left: 3px solid var(--color-border); font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); line-height: 1.25; max-width: 40ch; }

/* Closing fork */
.close { text-align: center; display: flex; flex-direction: column; align-items: center; }
.close .h2 { max-width: 18ch; }
.close__b { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-3); }
.close__n { margin-top: var(--space-6); color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.7; }
.close__n a { color: var(--color-text); text-decoration: none; border-bottom: 1px solid var(--color-border); }

/* Velocity page */
.vh { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.vh__t { padding: clamp(var(--space-10), 7vw, var(--space-20)) var(--gutter); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.vh__t h1 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); line-height: .96; letter-spacing: -.015em; text-transform: uppercase; margin-bottom: var(--space-5); }
.vh__t h1 span { color: var(--color-primary-hover); }
.vh__t .lede { margin-bottom: var(--space-8); }
.vh__m { min-height: 460px; }
.vh__m img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 40%; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-8); }
.c { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); }
.c h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); color: #fff; margin-bottom: var(--space-3); line-height: 1.15; }
.c p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.55; }

/* The 8-week block, drawn from the program spec's weekly rhythm */
.wk { margin-top: var(--space-8); border-top: 1px solid var(--color-border); }
.wk__r { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--space-4); align-items: center; padding-block: var(--space-4); border-bottom: 1px solid var(--color-divider); }
.wk__l { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); }
.wk__d { display: flex; flex-wrap: wrap; gap: 6px; }
.d { padding: .3rem .7rem; border-radius: var(--radius-sm); font-size: var(--text-xs); font-weight: 600; background: #222; color: #cfcfcf; }
.d--b { background: #4a2029; color: #ffd5dc; }
.d--v { background: var(--color-primary); color: #fff; }
.d--p { background: var(--color-primary-hover); color: #fff; }
.d--m { background: var(--color-sand); color: #14110a; }
.d--l { background: transparent; border: 1px solid var(--color-border); color: var(--color-text-muted); }

.faq { margin-top: var(--space-6); border-top: 1px solid var(--color-divider); max-width: 760px; }
.faq div { padding-block: var(--space-5); border-bottom: 1px solid var(--color-divider); }
.faq dt { font-family: var(--font-display); font-weight: 600; color: #fff; margin-bottom: var(--space-2); }
.faq dd { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.6; }
.cross { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); padding: clamp(var(--space-6), 4vw, var(--space-10)); background: var(--color-surface-2); border: 1px solid var(--color-border); border-left: 3px solid var(--color-sand); border-radius: var(--radius-lg); }
.cross p { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); line-height: 1.2; max-width: 30ch; }

/* Return-from-injury page */
.vh--inj .vh__t h1 span { color: var(--color-sand); }
.vh--inj .vh__m { position: relative; margin: 0; min-height: 560px; }
.vh--inj .vh__m img { position: absolute; inset: 0; object-position: 50% 22%; }
.vh--inj figcaption { position: absolute; left: var(--space-4); bottom: var(--space-4); padding: .3rem .7rem; border-radius: var(--radius-sm); background: rgba(10,10,10,.75); font-size: var(--text-xs); color: var(--color-text); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); list-style: none; }
.chips li { border: 1px solid var(--color-border); border-radius: var(--radius-full); padding: var(--space-2) var(--space-4); font-size: var(--text-sm); line-height: 1.3; }
.split { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: center; }
.pull { margin-block: var(--space-6); padding-left: var(--space-5); border-left: 3px solid var(--color-sand); font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); line-height: 1.25; max-width: 36ch; }
.pull cite { display: block; margin-top: var(--space-3); font-family: var(--font-body); font-style: normal; font-weight: 500; font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--color-sand); }
.shot { margin: 0; }
.shot img { width: 100%; max-height: 640px; object-fit: cover; object-position: 50% 62%; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
.shot figcaption { margin-top: var(--space-2); font-size: var(--text-xs); color: var(--color-text-muted); }
.boundary { background: var(--color-surface-2); border: 1px solid var(--color-border); border-left: 3px solid var(--color-sand); border-radius: var(--radius-lg); padding: clamp(var(--space-6), 4vw, var(--space-12)); }
.boundary .h2 { max-width: none; }
.case { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: start; }
.case video { width: 100%; aspect-ratio: 9/16; background: #000; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
.tl--case { margin-top: var(--space-6); }
.tl--case li { grid-template-columns: 7.5rem 1fr; padding-block: var(--space-3); }
.qa { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(var(--space-6), 5vw, var(--space-16)); align-items: start; }
.qa .faq { margin-top: 0; }
.cross--vel { border-left-color: var(--color-primary-hover); }

/* Articles index */
.alist { list-style: none; margin-top: var(--space-8); border-top: 1px solid var(--color-border); }
.alist li { max-width: none; border-bottom: 1px solid var(--color-divider); }
.alist a { display: grid; grid-template-columns: 140px 1fr; gap: var(--space-6); align-items: center; padding-block: var(--space-6); text-decoration: none; }
.alist img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: 50% 62%; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
.alist h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); line-height: 1.15; margin-block: var(--space-2); }
.alist a:hover h2 { color: var(--color-sand); }
.alist p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.5; }

/* Footer */
.foot { border-top: 1px solid var(--color-divider); padding-block: var(--space-8) var(--space-10); }
.foot__note { margin-bottom: var(--space-5); max-width: none; color: var(--color-text-faint); font-size: var(--text-xs); line-height: 1.5; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); font-size: var(--text-sm); color: var(--color-text-muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--color-text); }
.foot__ps img { height: 22px; width: auto; }

/* Phone text bar */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(10,10,10,0), rgba(10,10,10,.95) 35%); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }
.sticky .btn { width: 100%; }
.sticky.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }

@media (max-width: 1000px) {
  .res { grid-template-columns: repeat(3, 1fr); }
  .res--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --header-h: 56px; }
  .top__brand span, .top__long { display: none; }
  .top__short { display: inline; }
  .fork { grid-template-columns: 1fr; min-height: 0; }
  /* Phone: photo on top, words on solid ground, so nothing prints across a face or jersey. */
  .fork__p { min-height: 450px; padding-bottom: var(--space-8); background: var(--color-bg); }
  .fork__p img { height: 66%; }
  .fork__p::after { background: linear-gradient(180deg, rgba(10,10,10,0) 28%, rgba(10,10,10,.92) 54%, var(--color-bg) 66%); }
  .fork__p--vel { border-top: 1px solid var(--color-border); }
  .fork__or { width: 54px; height: 54px; font-size: 1rem; }
  .gotyou .btn { width: 100%; }
  .nums { grid-template-columns: 1fr 1fr; }
  .nums__i { padding: var(--space-5) var(--space-4); }
  .nums__i:nth-child(odd) { border-left: 0; padding-left: 0; }
  .nums__i:nth-child(n+3) { border-top: 1px solid var(--color-divider); }
  .res { grid-template-columns: repeat(2, 1fr); }
  .story, .vh, .cards, .steps, .big { grid-template-columns: 1fr; }
  .vh__m { min-height: 0; aspect-ratio: 3/2; order: -1; }
  .steps li, .steps li + li { padding: var(--space-5) 0; border-left: 0; border-bottom: 1px solid var(--color-divider); }
  .wk__r { grid-template-columns: 1fr; gap: var(--space-2); }
  .close .btn { width: 100%; }
  .close__b { width: 100%; }
  .sticky { display: block; }
  .vh--inj .vh__m { min-height: 0; aspect-ratio: 1/1; }
  .split, .case, .qa { grid-template-columns: 1fr; }
  .shot { max-width: 420px; }
  .shot img { aspect-ratio: 4/5; max-height: none; }
  .case video { max-width: 300px; margin-inline: auto; }
  .tl--case li { grid-template-columns: 5.75rem 1fr; gap: var(--space-3); }
  .cross .btn { width: 100%; }
  body { padding-bottom: 72px; }
}
@media (max-width: 760px) {
  .alist a { grid-template-columns: 96px 1fr; gap: var(--space-4); }
}
/* Four header items have to fit a small phone. */
@media (max-width: 400px) {
  .top__in { gap: var(--space-3); }
  .top a.top__link { font-size: .8125rem; }
  .top__cta { padding: .5rem .75rem; font-size: .8125rem; }
  .top__brand img { width: 26px; }
}
/* Homepage has one more header link; drop it before the row runs out of room on tablets. */
@media (max-width: 900px) {
  .top a.top__link.top__long { display: none; }
}
