/* ========== SPEED TRAINING PAGE (/speed-training/) ========== */
/* Used only by /speed-training/index.php. Every class is prefixed st- (the page's <main class="st">),
   so nothing here touches the homepage. Reuses the tokens and the .wrap, .btn, .disp, .eyebrow, .mk,
   .faq and .cred components above. */

/* ========== ST SCAFFOLDING ========== */
.st-sec {
  padding: clamp(72px, 9vw, 132px) 0;
}
.st-dark {
  background: var(--black);
  color: var(--white);
}
.st-bone {
  background: var(--bone);
  color: var(--black);
}
.st-white {
  background: var(--white);
  color: var(--black);
}
.st-head {
  max-width: 48rem;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.st-head h2 {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.02;
}
.st-head p {
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  line-height: 1.5;
  margin-top: 22px;
  max-width: 38em;
}
.st-head p a,
.st-prose a {
  color: inherit;
  text-decoration-color: var(--neon);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.st-dark .st-head p {
  color: #e6e6e6;
}
.st .k {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.st-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.st-kicker i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neon);
  flex: none;
}
.st-kicker.dark i {
  background: var(--black);
}
.st-link {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--neon);
  padding-bottom: 3px;
}
.st-link::after {
  content: " →";
}
a.st-link[target="_blank"]::after {
  content: " ↗";
}
.st-link:hover {
  color: var(--neon);
}
.st-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.st-chips li {
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: 0.32em 1em;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ========== ST HERO ========== */
.st-hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.st-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: clamp(460px, 62svh, 600px);
}
.st-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 72px) var(--gutter);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.st-crumbs {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: clamp(22px, 3vw, 34px);
}
.st-crumbs a {
  text-decoration: none;
}
.st-crumbs a:hover {
  color: var(--neon);
}
.st-crumbs span[aria-hidden] {
  margin: 0 0.5em;
}
.st-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 5.2vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  max-width: 9.5em;
}
.st-hero h1 em {
  display: block;
  font-style: normal;
  color: var(--neon);
}
.st-lead {
  font-size: clamp(1.15rem, 1.45vw, 1.35rem);
  line-height: 1.5;
  color: #e6e6e6;
  max-width: 30em;
  margin-bottom: 30px;
}
.st-hero-media {
  position: relative;
  min-height: 100%;
}
.st-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 40%;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
/* neon edge along the slant */
.st-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--neon);
  clip-path: polygon(15.4% 0, 16% 0, 0.6% 100%, 0 100%);
}

/* ========== ST RAIL ========== */
.st-rail {
  background: var(--neon);
  color: var(--black);
}
.st-rail ul {
  list-style: none;
  margin-top: 0;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.st-rail li {
  padding: 18px 18px 20px 0;
  margin-right: 18px;
  border-right: 1.5px solid rgba(0, 0, 0, 0.28);
}
.st-rail li:last-child {
  border-right: 0;
  margin-right: 0;
}
.st-rail .k {
  margin-bottom: 4px;
  opacity: 0.82;
}
.st-rail b {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.1;
  text-transform: uppercase;
}

/* ========== ST INTRO ========== */
.st-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.st-intro .st-head,
.st-faq .st-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  margin-bottom: 0;
}
.st-prose p {
  font-size: clamp(1.2rem, 1.45vw, 1.35rem);
  line-height: 1.55;
  max-width: 36em;
  margin-bottom: 1.1em;
}
.st-prose p:last-child {
  margin-bottom: 0;
}
.st-prose .st-pull {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.12;
  border-left: 5px solid var(--neon);
  padding-left: 20px;
  margin: 1.3em 0;
}

/* ========== ST PHASES ========== */
.st-track {
  margin-bottom: clamp(36px, 4vw, 56px);
}
.st-track-bar,
.st-track-labels {
  display: grid;
  grid-template-columns: 0.7fr 2fr 2fr 1.6fr;
  gap: 4px;
}
.st-track-bar span {
  height: 14px;
  border-radius: 2px;
  background: var(--neon);
}
.st-track-bar span:nth-child(1) {
  opacity: 0.35;
}
.st-track-bar span:nth-child(2) {
  opacity: 0.6;
}
.st-track-bar span:nth-child(4) {
  opacity: 0.8;
}
.st-track-labels {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.st-phases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}
.st-phases > li {
  padding: 28px clamp(14px, 1.8vw, 26px) 34px 0;
  margin-right: clamp(14px, 1.8vw, 26px);
  border-right: 1px solid var(--rule);
}
.st-phases > li:last-child {
  border-right: 0;
  margin-right: 0;
}
.st-ph-n {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--neon);
  margin-bottom: 18px;
}
.st-phases h3,
.st-plus h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.55rem;
  line-height: 1.05;
  margin: 0 0 10px;
}
.st-phases p,
.st-plus p {
  font-size: 1.08rem;
  color: #d6d6d6;
  margin-bottom: 18px;
}
.st-drills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.st-drills li {
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 0.28em 0.85em;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.st-plus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(40px, 4vw, 56px);
}
.st-plus article {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
  padding: clamp(24px, 2.6vw, 36px);
}
.st-tag {
  display: inline-block;
  background: var(--neon);
  color: var(--black);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3em 0.75em;
  border-radius: 2px;
  margin-bottom: 16px;
}

/* ========== ST COACH ========== */
.st-coach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  border-top: 2px solid var(--black);
  padding-top: clamp(28px, 3vw, 40px);
}
.st-coach-photo {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--neon); /* headshots are transparent cutouts, same treatment as the homepage */
  object-fit: cover;
  margin-bottom: 22px;
}
.st-coach-name {
  margin: 0 0 20px;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
}
.st-coach-name span {
  display: block;
}
.st-coach-name .ol {
  color: transparent;
  -webkit-text-stroke: 2px var(--black);
}
.st-coach-bio {
  font-size: 1.18rem;
  line-height: 1.5;
  max-width: 30em;
  margin-bottom: 22px;
}
.st-honors {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-l);
}
.st-honors li {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-l);
  font-size: 1.12rem;
}
.st-honors b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem; /* 19.2px bold = large text, so brand pink on white meets WCAG contrast */
  text-transform: uppercase;
  color: var(--neon);
}
.st-staff {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px clamp(20px, 2.4vw, 36px);
  margin-top: clamp(72px, 6vw, 96px);
}
.st-staff div {
  border-top: 2px solid var(--neon);
  padding-top: 16px;
}
.st-staff img {
  position: relative; /* paints above the top rule */
  display: block;
  width: 56px;
  height: 56px;
  margin: -45px 0 14px; /* centers the disc on the rule */
  border-radius: 50%;
  background: var(--neon);
  object-fit: cover;
}
.st-staff .cred {
  margin-bottom: 8px;
}
.st-staff h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.05;
  margin: 0;
}
.st-more {
  margin-top: 32px;
}

/* ========== ST SPORTS (split) ========== */
.st-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}
.st-split-media {
  position: relative;
  min-height: 420px;
}
.st-split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 70%;
}
.st-split-copy {
  padding: clamp(72px, 9vw, 132px) var(--gutter);
  padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.st-sport {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 22px;
  row-gap: 6px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}
.st-sport .n {
  grid-row: span 2;
  width: 1.3em;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--neon);
}
.st-sport h3 .k {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.4;
  margin-bottom: 6px;
}
.st-sport h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.6rem;
  line-height: 1;
  margin: 0;
}
.st-sport p {
  grid-column: 2;
  font-size: 1.1rem;
  color: #d6d6d6;
  max-width: 34em;
}
.st-also,
.st-towns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

/* ========== ST QUESTIONS ========== */
.st-qs {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--black);
}
.st-qs li {
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-bottom: 1px solid var(--rule-l);
}
.st-qs .n {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--black);
}
.st-qs h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  line-height: 1.08;
  margin: 0;
}
.st-qs p {
  font-size: 1.15rem;
}
.st-qs b {
  font-weight: 500;
  box-shadow: inset 0 -0.42em 0 rgba(255, 10, 128, 0.28);
}

/* ========== ST AGES ========== */
.st-ages {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.st-scale,
.st-band {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.st-scale {
  border-bottom: 2px solid var(--black);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.8rem, 1.3vw, 1.1rem);
}
.st-scale span {
  padding: 0 0 8px 6px;
  border-left: 1px solid var(--rule-l);
}
.st-band {
  row-gap: 6px;
  margin-top: 10px;
}
.st-band span {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.72rem, 1.1vw, 0.9rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 2px;
}
.st-band .b-em {
  grid-column: 1 / 7;
  grid-row: 1;
  background: var(--black);
  color: var(--white);
}
.st-band .b-el {
  grid-column: 5 / 13;
  grid-row: 2;
  background: var(--neon);
  color: var(--black);
}
.st-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}
.st-groups article {
  border-top: 2px solid var(--black);
  padding-top: 22px;
}
.st-groups h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  margin: 0 0 10px;
}
.st-groups .cred {
  margin-bottom: 18px;
}
.st-groups ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.st-groups li {
  position: relative;
  padding: 0 0 12px 30px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--rule-l);
  font-size: 1.15rem;
}
.st-groups li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.st-groups li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 15px;
  height: 8px;
  border: 2px solid var(--neon);
  border-radius: 99px;
  box-sizing: border-box;
}

/* ========== ST WHERE ========== */
.st-where {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-bottom: clamp(36px, 4vw, 52px);
}
.st-card {
  border-top: 3px solid var(--neon);
  background: #111;
  padding: clamp(24px, 2.4vw, 34px);
}
.st-card .k {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
}
.st-card h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.45rem, 2.1vw, 1.85rem);
  line-height: 1.04;
  margin: 0 0 12px;
}
.st-card p,
.st-card address {
  font-style: normal;
  font-size: 1.1rem;
  color: #d6d6d6;
  margin-bottom: 18px;
}
.st-towns .k {
  color: rgba(255, 255, 255, 0.7);
}

/* ========== ST FAQ ========== */
.st-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

/* ========== ST CTA ========== */
.st-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--neon);
  color: var(--black);
  padding: clamp(72px, 9vw, 120px) 0;
}
.st-cta-mark {
  position: absolute;
  z-index: -1;
  right: -6%;
  top: 50%;
  width: min(58vw, 760px);
  transform: translateY(-50%);
  fill: var(--black);
  opacity: 0.1;
}
.st-cta h2 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  max-width: 8em;
}
.st-cta p:not(.st-kicker) {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  max-width: 34em;
  margin-bottom: 30px;
}
.st-cta .btn-primary {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* ========== ST RESPONSIVE ========== */
@media (max-width: 1100px) {
  .st-phases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .st-phases > li:nth-child(2) {
    border-right: 0;
    margin-right: 0;
  }
  .st-phases > li:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
  }
  .st-staff {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .st-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .st-hero-media {
    order: -1;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .st-hero-media img {
    clip-path: none;
    object-position: 45% 45%;
  }
  .st-hero-media::before {
    display: none;
  }
  .st-hero-copy {
    padding: 32px var(--gutter) 44px;
  }
  .st-rail ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .st-rail li:nth-child(2) {
    border-right: 0;
    margin-right: 0;
  }
  .st-rail li:nth-child(n + 3) {
    border-top: 1.5px solid rgba(0, 0, 0, 0.28);
  }
  .st-intro,
  .st-coach,
  .st-faq,
  .st-split,
  .st-groups {
    grid-template-columns: 1fr;
  }
  .st-intro .st-head,
  .st-faq .st-head {
    position: static;
  }
  .st-split-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .st-split-copy {
    padding: clamp(56px, 10vw, 80px) var(--gutter);
  }
  .st-where {
    grid-template-columns: 1fr;
  }
  .st-qs li {
    grid-template-columns: 2.8rem minmax(0, 1fr);
  }
  .st-qs p {
    grid-column: 2;
  }
}
@media (max-width: 600px) {
  .st-phases {
    grid-template-columns: 1fr;
  }
  .st-phases > li {
    border-right: 0;
    margin-right: 0;
  }
  .st-phases > li + li {
    border-top: 1px solid var(--rule);
  }
  .st-plus {
    grid-template-columns: 1fr;
  }
  .st-track-labels {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }
  .st-scale span:nth-child(even) {
    color: transparent;
  }
  .st-band .b-em {
    grid-column: 1 / 9;
  }
  .st-band .b-el {
    grid-column: 4 / 13;
  }
  .st-honors li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
@media (max-width: 420px) {
  .st-staff {
    grid-template-columns: 1fr;
  }
  .st-rail b {
    font-size: 1rem;
  }
}
