/* ==========================================================================
   Tallahassee Speed Elite — Track Club
   Design system: dark editorial, Anton display type, volt-green brand accent
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  /* brand — sampled from the TSE wordmark */
  --volt:        #D7DF21;
  --volt-dim:    #B6BD1B;
  --volt-glow:   rgba(215, 223, 33, 0.16);

  /* surfaces */
  --ink:         #0E0E10;
  --ink-deep:    #0A0A0C;
  --surface:     #161619;
  --surface-2:   #1A1A1D;
  --line:        rgba(237, 234, 228, 0.14);
  --line-soft:   rgba(237, 234, 228, 0.08);

  /* type */
  --cream:       #EDEAE4;
  --cream-82:    rgba(237, 234, 228, 0.82);
  --cream-72:    rgba(237, 234, 228, 0.72);
  --cream-50:    rgba(237, 234, 228, 0.50);
  --muted:       #8A8A8F;

  /* system */
  --shell-max:   1440px;
  --gutter:      4vw;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h:       84px;
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* keeps the initial containing block at viewport width so fixed-position
     elements (header, drawer) can't be widened by any incidental overflow */
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: 'Anton', 'Arial Narrow', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
  margin: 0;
}

p { margin: 0; }

::selection { background: var(--volt); color: var(--ink); }

/* ------------------------------------------------------------- helpers -- */
.shell,
.nav,
.hero__inner,
.showpiece__copy {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--volt);
  margin: 0;
}

.eyebrow--muted { color: var(--muted); }

.section {
  position: relative;
  padding: clamp(80px, 11vw, 160px) 0;
}

.section--tint  { background: var(--surface-2); }
.section--deep  { background: var(--ink-deep); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(44px, 6vw, 80px);
}

.section-title {
  font-size: clamp(40px, 7vw, 88px);
  max-width: 15ch;
}

.lede {
  color: var(--cream-72);
  font-size: clamp(16px, 1.15vw, 19px);
  max-width: 52ch;
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.accent { color: var(--volt); }

/* --------------------------------------------------------------- button -- */
.btn {
  --btn-bg: var(--volt);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), color 0.4s var(--ease);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cream);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}

.btn:hover { transform: translateY(-3px); }
.btn:hover::before { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  border-color: var(--line);
}

.btn--ghost::before { background: var(--volt); }
.btn--ghost:hover { color: var(--ink); border-color: var(--volt); }

/* text link with sliding arrow */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.35s var(--ease);
}

.tlink span {
  transition: transform 0.45s var(--ease);
}

.tlink:hover { color: var(--volt); }
.tlink:hover span { transform: translateX(6px); }

/* --------------------------------------------------------------- header -- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.45s var(--ease), backdrop-filter 0.45s var(--ease),
              border-color 0.45s var(--ease), height 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  height: 68px;
  background: rgba(14, 14, 16, 0.82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: auto; height: 40px; transition: height 0.45s var(--ease); }
.site-header.is-stuck .brand img { height: 32px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-82);
  padding-block: 6px;
  transition: color 0.35s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.nav-link:hover { color: var(--volt); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--cream); }

.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-cta .btn { padding: 13px 26px; font-size: 12px; }

/* burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  padding: 0;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.burger i {
  display: block;
  width: 18px; height: 2px;
  background: var(--cream);
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}

.burger.is-open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open i:nth-child(2) { opacity: 0; }
.burger.is-open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: var(--nav-h) 7vw 7vw;
  /* a long menu word must never widen the fixed panel — that would grow the
     initial containing block and push the header off-screen */
  overflow-x: hidden;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
  visibility: hidden;
}

.drawer.is-open { clip-path: inset(0 0 0 0); visibility: visible; }

.drawer a {
  font-family: 'Anton', sans-serif;
  font-size: clamp(26px, 8vw, 56px);
  text-transform: uppercase;
  line-height: 1.12;
  color: var(--cream);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), color 0.3s ease;
}

.drawer.is-open a { opacity: 1; transform: none; }
.drawer a:hover { color: var(--volt); }

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 60px;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 58% 38%;
  transform: scale(1.12);
  animation: heroZoom 2.4s var(--ease-out) forwards;
}

@keyframes heroZoom { to { transform: scale(1); } }

/* canvas used by the optional scroll-scrubbed frame sequence (see js/main.js) */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--ink) 8%, rgba(14,14,16,0.9) 34%, rgba(14,14,16,0.35) 62%, rgba(14,14,16,0.72) 100%),
    linear-gradient(to top, var(--ink) 2%, transparent 40%);
}

.hero__inner { position: relative; z-index: 1; }

.hero__title {
  font-size: clamp(58px, 12.4vw, 178px);
  line-height: 0.84;
  letter-spacing: -0.015em;
  margin: 22px 0 0;
}

.hero__title .line { display: block; overflow: hidden; }

.hero__title .line > span {
  display: block;
  transform: translateY(105%);
  animation: lineUp 1.05s var(--ease-out) forwards;
}

.hero__title .line:nth-child(1) > span { animation-delay: 0.18s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.31s; }

@keyframes lineUp { to { transform: translateY(0); } }

/* volt line gets a light sweep once it has landed */
.hero__title .line--volt > span {
  color: var(--volt);
  background-image: linear-gradient(100deg,
    transparent 32%, rgba(255,255,255,0.75) 50%, transparent 68%);
  background-size: 220% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  animation: lineUp 1.05s var(--ease-out) 0.31s forwards,
             sweep 2.6s ease-in-out 1.5s infinite;
}

@keyframes sweep {
  0%   { background-position: 130% 0; }
  55%  { background-position: -60% 0; }
  100% { background-position: -60% 0; }
}

.hero__copy {
  margin-top: 30px;
  max-width: 46ch;
  color: var(--cream-82);
  font-size: clamp(16px, 1.2vw, 19px);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* fade-up used by the hero's non-heading bits */
.hero .eyebrow, .hero .hero__copy, .hero .hero__actions, .hero .hero__scroll {
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) forwards;
}

.hero .eyebrow       { animation-delay: 0.05s; }
.hero .hero__copy    { animation-delay: 0.62s; }
.hero .hero__actions { animation-delay: 0.74s; }
.hero .hero__scroll  { animation-delay: 0.95s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-50);
}

.hero__scroll i {
  display: block;
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, var(--volt), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.35); transform-origin: top; opacity: 0.5; }
  50%      { transform: scaleY(1);    transform-origin: top; opacity: 1; }
}

/* -------------------------------------------------------------- marquee -- */
.marquee {
  --gap: 44px;
  position: relative;
  display: flex;
  overflow: hidden;
  padding: clamp(22px, 3vw, 38px) 0;
  border-block: 1px solid var(--line-soft);
  background: var(--ink);
  user-select: none;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding-right: var(--gap);
  flex-shrink: 0;
  min-width: 100%;
  animation: slide 32s linear infinite;
}

.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes slide { to { transform: translateX(calc(-100% - var(--gap))); } }

.marquee__item {
  display: flex;
  align-items: center;
  gap: var(--gap);
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 4.6vw, 62px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--cream);
}

.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--cream-50); }

.marquee__dot {
  width: clamp(8px, 0.9vw, 13px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--volt);
  flex-shrink: 0;
}

/* ---------------------------------------------------------- reveal util -- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}

[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal='mask'] { transform: translateY(60px); }
[data-reveal='fade'] { transform: none; }

[data-reveal='clip'] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}

[data-reveal='clip'].is-in { clip-path: inset(0 0 0 0); }

/* ---------------------------------------------------------------- ethos -- */
.ethos__statement {
  font-size: clamp(30px, 4.8vw, 72px);
  line-height: 0.98;
  max-width: 20ch;
  margin: 18px 0 clamp(56px, 7vw, 96px);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}

.pillar {
  background: var(--ink);
  padding: clamp(34px, 3.6vw, 52px) clamp(26px, 2.6vw, 40px);
  transition: background 0.5s var(--ease);
}

.pillar:hover { background: var(--surface); }

.pillar__num {
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--volt);
}

.pillar h3 {
  font-size: clamp(24px, 2.2vw, 34px);
  margin: 20px 0 14px;
}

.pillar p { color: var(--cream-72); font-size: 16px; }

/* ------------------------------------------------------------- programs -- */
.ethos__mission { margin-bottom: clamp(48px, 6vw, 84px); max-width: 62ch; }

.programs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}

/* five cards read better as 3 + 2 than as 4 + a lone orphan */
@media (min-width: 1000px) {
  .programs { grid-template-columns: repeat(3, 1fr); }
}

.program {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--ink);
  padding: clamp(30px, 3.2vw, 46px) clamp(24px, 2.4vw, 36px);
  overflow: hidden;
  isolation: isolate;
  transition: background 0.5s var(--ease);
}

.program::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.65s var(--ease);
}

.program:hover { background: var(--surface); }
.program:hover::after { transform: scaleX(1); }

.program__meta {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--volt);
}

.program h3 {
  font-size: clamp(23px, 2.1vw, 32px);
  line-height: 1.02;
  transition: transform 0.5s var(--ease);
}

.program:hover h3 { transform: translateX(5px); }

.program p { color: var(--cream-72); font-size: 15.5px; }

.program__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.program__foot b {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 40px);
  color: var(--cream);
  letter-spacing: -0.01em;
}

.program__foot em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}

.program:hover .program__foot em { color: var(--volt); transform: translateX(4px); }

/* ------------------------------------------- programs page (detail cards) -- */
.pcard {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 70px);
  padding: clamp(38px, 4.4vw, 70px) 0;
  border-bottom: 1px solid var(--line-soft);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.pcard:last-child { border-bottom: 0; }

.pcard__num {
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--volt);
  margin-bottom: 16px;
  display: block;
}

.pcard h2 { font-size: clamp(28px, 3.4vw, 52px); line-height: 0.98; }

.pcard__meta {
  margin: 16px 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.pcard p { color: var(--cream-72); }

.pcard__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.pcard__price b {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(38px, 4.2vw, 62px);
  color: var(--volt);
  line-height: 1;
}

.pcard__price span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.pcard__aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 2.6vw, 36px);
  align-self: start;
}

.pcard__aside h3 {
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--volt);
  margin-bottom: 18px;
}

.skills { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }

.skills li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 15px;
  color: var(--cream-82);
}

.skills li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--volt);
  transform: translateY(-2px);
}

.pcard__best {
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 14.5px;
  color: var(--cream-72);
}

.pcard__best b {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

@media (max-width: 860px) {
  .pcard { grid-template-columns: 1fr; }
}

/* ------------------------------------------------- disciplines (sticky) -- */
.stack { position: relative; }

.stack__item {
  position: sticky;
  top: calc(var(--nav-h) + 8px);
  margin-bottom: 26px;
}

.discipline {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  min-height: min(62vh, 560px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 32px 70px -40px rgba(0,0,0,0.9);
}

.discipline__body {
  padding: clamp(32px, 3.4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}

.discipline__tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--volt);
}

.discipline__tag em {
  font-family: 'Anton', sans-serif;
  font-style: normal;
  font-size: 15px;
  color: var(--cream-50);
}

.discipline__text { display: grid; gap: 18px; }

.discipline h3 {
  font-size: clamp(30px, 3.9vw, 62px);
  line-height: 0.94;
  max-width: 16ch;
}

.discipline p { color: var(--cream-72); max-width: 44ch; }

.discipline__media { position: relative; overflow: hidden; }

.discipline__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.1s var(--ease);
}

.discipline:hover .discipline__media img { transform: scale(1.12); }

.discipline__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--surface) 0%, transparent 34%);
}

/* --------------------------------------------------------------- events -- */
.events { display: grid; gap: 1px; background: var(--line-soft); }

.event {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 200px 140px;
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 2.4vw, 34px) 6px;
  background: var(--ink);
  isolation: isolate;
  transition: padding-inline 0.55s var(--ease), background 0.55s var(--ease);
}

.event::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--surface);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s var(--ease);
}

.event:hover { padding-inline: 22px; }
.event:hover::before { transform: scaleY(1); }

.event__date {
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--volt);
  line-height: 1.35;
}

.event__name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(21px, 2.1vw, 33px);
  text-transform: uppercase;
  line-height: 1.02;
  transition: transform 0.55s var(--ease);
}

.event:hover .event__name { transform: translateX(8px); }

.event__place { color: var(--muted); font-size: 14.5px; }

.event__price {
  justify-self: end;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-50);
}

.event__price b {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
}

/* ---------------------------------------------------------------- creed -- */
.creed {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  padding: clamp(90px, 12vw, 180px) 0;
}

.creed__bg {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
}

.creed__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: grayscale(1) contrast(1.15);
  will-change: transform;
}

.creed__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 50%, transparent 10%, var(--ink-deep) 78%);
}

.creed__inner { position: relative; z-index: 1; text-align: center; }

.creed h2 {
  font-size: clamp(48px, 11vw, 158px);
  line-height: 0.86;
  margin: 20px 0 26px;
}

.creed h2 .accent { display: block; }

.creed p {
  margin-inline: auto;
  max-width: 50ch;
  color: var(--cream-72);
  font-size: clamp(16px, 1.2vw, 19px);
}

/* --------------------------------------------------------------- method -- */
.method {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
}

.step {
  position: relative;
  background: var(--surface-2);
  padding: clamp(34px, 3.4vw, 54px) clamp(26px, 2.4vw, 38px) clamp(44px, 4vw, 62px);
  overflow: hidden;
}

.step::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.step:hover::after { transform: scaleX(1); }

.step__num {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 5.4vw, 86px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--line);
  transition: -webkit-text-stroke-color 0.5s var(--ease), color 0.5s var(--ease);
}

.step:hover .step__num { -webkit-text-stroke-color: var(--volt); }

.step h3 { font-size: clamp(22px, 2vw, 30px); margin: 22px 0 14px; }
.step p  { color: var(--cream-72); font-size: 15.5px; }

/* --------------------------------------------------- parallax showpiece -- */
.showpiece { position: relative; height: 260vh; background: var(--ink); }

.showpiece__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.showpiece__frame {
  position: absolute;
  inset: 0;
  clip-path: inset(var(--clip, 12%) var(--clip, 12%) round 24px);
  transition: clip-path 0.1s linear;
  /* the image is scaled up for the parallax unwind — keep it contained even
     where clip-path is disabled (mobile / reduced motion) */
  overflow: hidden;
}

.showpiece__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(var(--zoom, 1.15));
}

.showpiece__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(68% 58% at 50% 52%, rgba(14,14,16,0.88), rgba(14,14,16,0.42) 72%),
    linear-gradient(to top, rgba(14,14,16,0.95) 2%, rgba(14,14,16,0.3) 52%, rgba(14,14,16,0.72) 100%);
}

.showpiece__copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

.showpiece__copy h2 {
  font-size: clamp(44px, 9vw, 130px);
  line-height: 0.9;
  margin: 16px 0 20px;
}

.showpiece__copy p {
  margin-inline: auto;
  max-width: 48ch;
  color: var(--cream);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.65);
}

.showpiece__copy h2 { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55); }

/* ------------------------------------------------ cinematic scroll reel -- */
.reel {
  position: relative;
  height: 340vh;
  background: var(--ink-deep);
}

.reel__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3vh, 40px);
}

.reel__head {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.reel__head h2 { font-size: clamp(32px, 5vw, 72px); }

.reel__count {
  font-family: 'Anton', sans-serif;
  font-size: clamp(15px, 1.4vw, 20px);
  letter-spacing: 0.08em;
  color: var(--cream-50);
}

.reel__count b { color: var(--volt); font-weight: 400; }

.reel__track {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  padding-inline: var(--gutter);
  will-change: transform;
}

.reel__slide {
  position: relative;
  flex: 0 0 auto;
  width: clamp(260px, 34vw, 520px);
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.reel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* counter-drift gives the stack a subtle parallax as the track slides */
  transform: scale(1.14) translate3d(var(--drift, 0px), 0, 0);
  transition: filter 0.6s var(--ease);
  filter: grayscale(0.55) contrast(1.05);
}

.reel__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.92) 4%, rgba(10, 10, 12, 0) 52%);
}

.reel__slide.is-active img { filter: none; }

.reel__cap {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 2vw, 30px);
  right: clamp(18px, 2vw, 30px);
  bottom: clamp(18px, 2vw, 28px);
}

.reel__cap span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 8px;
}

.reel__cap h3 {
  font-size: clamp(20px, 1.9vw, 30px);
  line-height: 1.04;
}

.reel__progress {
  flex-shrink: 0;
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.reel__progress i {
  display: block;
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.reel__progress i::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: var(--volt);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

/* ---------------------------------------------- cursor-following coaches -- */
.coach-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: clamp(220px, 20vw, 330px);
  aspect-ratio: 3 / 4;
  margin: calc(clamp(220px, 20vw, 330px) * -0.66) 0 0 calc(clamp(220px, 20vw, 330px) * -0.5);
  border-radius: 14px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.4s var(--ease), transform 0.55s var(--ease);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95);
}

.coach-cursor.is-on { opacity: 1; transform: scale(1); }

.coach-cursor img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.42s var(--ease), transform 0.7s var(--ease);
}

.coach-cursor img.is-shown { opacity: 1; transform: none; }

/* when the cursor layer is driving, the inline avatars step aside */
.coaches--cursor .coach { grid-template-columns: minmax(0, 1fr) auto; }
.coaches--cursor .coach__photo { display: none; }

.coaches--cursor .coach__name {
  transition: transform 0.55s var(--ease), color 0.4s var(--ease),
              opacity 0.45s var(--ease);
}

/* dim the rows you are not pointing at */
.coaches--cursor.is-hovering .coach { opacity: 0.38; transition: opacity 0.45s var(--ease); }
.coaches--cursor.is-hovering .coach:hover { opacity: 1; }

.coach__index {
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--cream-50);
  justify-self: end;
}

/* ---------------------------------------------------------------- stats -- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}

.stat {
  background: var(--ink);
  padding: clamp(38px, 4vw, 60px) clamp(20px, 2vw, 34px);
  text-align: center;
}

.stat__value {
  font-family: 'Anton', sans-serif;
  font-size: clamp(46px, 6.4vw, 96px);
  line-height: 1;
  color: var(--volt);
  letter-spacing: -0.02em;
}

.stat__label {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -------------------------------------------------------------- coaches -- */
.coaches { display: grid; gap: 1px; background: var(--line-soft); border-top: 1px solid var(--line-soft); }

.coach {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: clamp(22px, 2.2vw, 32px) 6px;
  background: var(--ink);
  isolation: isolate;
  transition: padding-inline 0.55s var(--ease);
}

.coach::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--surface);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s var(--ease);
}

.coach:hover { padding-inline: 22px; }
.coach:hover::before { transform: scaleY(1); }

.coach__photo {
  width: 96px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(1);
  transition: filter 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.5s var(--ease);
}

.coach__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }

.coach:hover .coach__photo {
  filter: none;
  transform: scale(1.06);
  border-color: var(--volt);
}

.coach__name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(22px, 2.3vw, 36px);
  text-transform: uppercase;
  line-height: 1.04;
  transition: transform 0.55s var(--ease), color 0.4s var(--ease);
}

.coach:hover .coach__name { transform: translateX(8px); color: var(--volt); }

.coach__role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 8px;
}

.coach__school { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* --------------------------------------------------------- testimonials -- */
.quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  max-width: 62ch;
}

.quote__mark {
  font-family: 'Anton', sans-serif;
  font-size: 90px;
  line-height: 0.6;
  color: var(--volt);
}

.quote blockquote {
  margin: 0;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.42;
  color: var(--cream);
}

.quote figcaption { display: flex; align-items: center; gap: 14px; }

.quote figcaption b {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.quote figcaption span {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------------------------------------------- sponsors -- */
.sponsors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
}

.sponsors a {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  padding: clamp(14px, 1.6vw, 24px);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--cream);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
              box-shadow 0.5s var(--ease);
}

.sponsors img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.82;
  transition: opacity 0.5s var(--ease), filter 0.5s var(--ease), transform 0.5s var(--ease);
}

.sponsors a:hover {
  transform: translateY(-4px);
  border-color: var(--volt);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
}

.sponsors a:hover img { opacity: 1; filter: none; transform: scale(1.04); }

/* ------------------------------------------------------------------ cta -- */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 11vw, 168px) 0;
  background: var(--ink-deep);
  text-align: center;
}

.cta__bg { position: absolute; inset: 0; z-index: 0; }

.cta__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(1);
}

.cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(100% 70% at 50% 60%, transparent, var(--ink-deep) 76%);
}

.cta__inner { position: relative; z-index: 1; }

.cta h2 {
  font-size: clamp(44px, 9.4vw, 136px);
  line-height: 0.88;
  margin: 18px 0 24px;
}

.cta p { margin-inline: auto; max-width: 46ch; color: var(--cream-82); }
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

/* -------------------------------------------------------------- contact -- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(34px, 5vw, 80px);
  align-items: start;
}

.info-list { display: grid; gap: 0; }

.info-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.info-row dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-row dd { margin: 0; color: var(--cream); }
.info-row dd a { transition: color 0.35s ease; }
.info-row dd a:hover { color: var(--volt); }

/* form */
.form { display: grid; gap: 20px; }

.field { display: grid; gap: 9px; }

.field label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--cream);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.field textarea { min-height: 150px; resize: vertical; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--volt);
  background: var(--surface-2);
}

.field input::placeholder, .field textarea::placeholder { color: rgba(237,234,228,0.32); }

.form-note { font-size: 13.5px; color: var(--muted); }

.form-status {
  font-size: 14px;
  color: var(--volt);
  min-height: 1.2em;
}

/* --------------------------------------------------------------- footer -- */
.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--line-soft);
  padding: clamp(56px, 6vw, 90px) 0 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(130px, 0.8fr));
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer-brand img { height: 46px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--cream-72); font-size: 15px; max-width: 38ch; }

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--volt);
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }

.footer-col a {
  font-size: 14.5px;
  color: var(--cream-72);
  transition: color 0.35s ease, transform 0.35s var(--ease);
  display: inline-block;
}

.footer-col a:hover { color: var(--volt); transform: translateX(4px); }

.footer-wordmark {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 13.5vw, 210px);
  line-height: 0.82;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  text-align: center;
  padding: clamp(24px, 3vw, 44px) 0;
  border-top: 1px solid var(--line-soft);
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--muted);
}

.socials { display: flex; gap: 10px; }

.socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.socials a:hover {
  background: var(--volt);
  border-color: var(--volt);
  color: var(--ink);
  transform: translateY(-3px);
}

.socials svg { width: 17px; height: 17px; fill: currentColor; }

/* ------------------------------------------------------- install prompt -- */
.a2hs {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 18px;
  visibility: hidden;
  pointer-events: none;
}

.a2hs.is-open { visibility: visible; pointer-events: auto; }

.a2hs__veil {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 8, 0.72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.a2hs.is-open .a2hs__veil { opacity: 1; }

.a2hs__card {
  position: relative;
  width: min(430px, 100%);
  max-height: calc(100svh - 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(26px, 5vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95);
  transform: translateY(28px) scale(0.97);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}

.a2hs.is-open .a2hs__card { transform: none; opacity: 1; }

/* a volt hairline that sweeps across the top edge as the sheet lands */
.a2hs__card::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--volt), transparent);
  transform: scaleX(0);
  transition: transform 0.9s var(--ease) 0.15s;
}

.a2hs.is-open .a2hs__card::before { transform: scaleX(1); }

.a2hs__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--cream-72);
  font-size: 17px;
  line-height: 1;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.a2hs__close:hover {
  background: var(--volt);
  border-color: var(--volt);
  color: var(--ink);
  transform: rotate(90deg);
}

/* --- app icon, floating --- */
.a2hs__icon {
  width: 78px; height: 78px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 20px;
  opacity: 0;
  transform: scale(0.6) translateY(10px);
  transition: opacity 0.5s var(--ease) 0.12s, transform 0.75s var(--ease) 0.12s;
}

.a2hs.is-open .a2hs__icon {
  opacity: 1;
  transform: none;
  animation: a2hsFloat 4.5s ease-in-out 0.9s infinite;
}

.a2hs__icon img { width: 100%; height: 100%; object-fit: cover; }

@keyframes a2hsFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

.a2hs__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 10px;
}

.a2hs__title {
  font-size: clamp(26px, 6vw, 34px);
  line-height: 0.98;
  margin-bottom: 12px;
}

.a2hs__sub {
  color: var(--cream-72);
  font-size: 15px;
  margin-bottom: 24px;
}

/* --- numbered steps --- */
.a2hs__steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }

.a2hs__steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  font-size: 15px;
  line-height: 1.5;
  color: var(--cream-82);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--d, 0s);
}

.a2hs.is-open .a2hs__steps li { opacity: 1; transform: none; }

/* the step number badge — scoped so inline <b> emphasis is unaffected */
.a2hs__n {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--volt);
}

/* emphasis inside the step copy — the button name the visitor must look for */
.a2hs__steps span b { font-weight: 700; color: var(--cream); }

/* inline glyph used inside a step (share sheet / menu / plus) */
.a2hs__glyph {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  vertical-align: -6px;
  margin: 0 2px;
  border-radius: 6px;
  background: rgba(237, 234, 228, 0.1);
  color: var(--volt);
}

.a2hs__glyph svg { width: 13px; height: 13px; fill: currentColor; }

.a2hs__glyph--pulse { animation: a2hsPulse 2.1s var(--ease) 1.1s infinite; }

@keyframes a2hsPulse {
  0%, 62%, 100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(215, 223, 33, 0); }
  70%           { transform: translateY(-4px); box-shadow: 0 0 0 6px rgba(215, 223, 33, 0.16); }
  84%           { transform: translateY(0); box-shadow: 0 0 0 10px rgba(215, 223, 33, 0); }
}

.a2hs__actions { display: grid; gap: 10px; }
.a2hs__actions .btn { width: 100%; }

.a2hs__later {
  background: none;
  border: 0;
  padding: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.35s var(--ease);
}

.a2hs__later:hover { color: var(--cream); }

/* --- the trigger that lives in the footer --- */
.a2hs-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-82);
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.a2hs-trigger svg { width: 15px; height: 15px; fill: currentColor; }

.a2hs-trigger:hover {
  background: var(--volt);
  border-color: var(--volt);
  color: var(--ink);
  transform: translateY(-2px);
}

@media (min-width: 720px) {
  .a2hs { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .a2hs__card, .a2hs__icon, .a2hs__steps li, .a2hs__veil { transition: none; }
  .a2hs.is-open .a2hs__icon { animation: none; }
  .a2hs__glyph--pulse { animation: none; }
  .a2hs__card::before { transition: none; transform: scaleX(1); }
}

/* ------------------------------------------------------------ page head -- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(72px, 9vw, 132px)) 0 clamp(56px, 7vw, 104px);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.page-hero__bg { position: absolute; inset: 0; z-index: 0; }

.page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(1);
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink) 6%, rgba(14,14,16,0.5) 70%);
}

.page-hero__inner { position: relative; z-index: 1; }

.page-hero h1 { font-size: clamp(46px, 10vw, 132px); line-height: 0.88; margin: 18px 0 0; }
.page-hero p  { margin-top: 22px; max-width: 54ch; color: var(--cream-82); }

/* -------------------------------------------------------- registration -- */
.reg-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  margin-bottom: clamp(34px, 4vw, 56px);
}

.reg-status__dot {
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 0 0 var(--volt-glow);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(215, 223, 33, 0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(215, 223, 33, 0); }
  100% { box-shadow: 0 0 0 0 rgba(215, 223, 33, 0); }
}

.reg-status h2 { font-size: clamp(22px, 2.4vw, 34px); margin-bottom: 10px; }
.reg-status p  { color: var(--cream-72); font-size: 15.5px; max-width: 56ch; }

.reg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}

.reg-card {
  background: var(--ink);
  padding: clamp(32px, 3.4vw, 52px) clamp(26px, 2.6vw, 40px);
  display: grid;
  gap: 16px;
  align-content: start;
  transition: background 0.5s var(--ease);
}

.reg-card:hover { background: var(--surface); }

.reg-card__num {
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--volt);
}

.reg-card h3 { font-size: clamp(24px, 2.2vw, 34px); }
.reg-card p  { color: var(--cream-72); font-size: 15.5px; }
.reg-card .tlink { margin-top: 6px; justify-self: start; }

@media (max-width: 780px) {
  .reg-status { grid-template-columns: auto minmax(0, 1fr); }
  .reg-status .btn { grid-column: 1 / -1; justify-self: start; }
}

/* --------------------------------------------------------------- prose -- */
.prose { display: grid; gap: 22px; max-width: 68ch; }
.prose p { color: var(--cream-82); font-size: 16.5px; }
.prose p strong { color: var(--cream); }

/* bio block */
.bio {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
}

.bio__photo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}

.bio__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; }

/* ---------------------------------------------------------- responsive -- */
@media (max-width: 1080px) {
  .discipline { grid-template-columns: 1fr; }
  .discipline__media { min-height: 240px; order: -1; }
  .discipline__media::after { background: linear-gradient(to bottom, transparent 34%, var(--surface) 100%); }
  .event { grid-template-columns: 84px minmax(0, 1fr) auto; }
  .event__place { grid-column: 2 / -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .bio { grid-template-columns: 1fr; }
  .bio__photo { max-width: 420px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 72px; --gutter: 5vw; }
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: flex; }
  .stack__item { position: static; margin-bottom: 20px; }

  /* the pinned reel becomes an ordinary swipeable filmstrip */
  .reel { height: auto; }
  .reel__pin { position: static; height: auto; padding: 72px 0; }
  .reel__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    transform: none !important;
  }
  .reel__slide { scroll-snap-align: center; }
  .reel__slide img { transform: scale(1.02) !important; filter: none; }
  .reel__progress { display: none; }
  .showpiece { height: auto; }
  .showpiece__pin { position: static; height: auto; padding: clamp(80px, 12vw, 140px) 0; }
  .showpiece__frame { clip-path: none; }
  .info-row { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .event { grid-template-columns: 1fr; gap: 10px; padding-block: 24px; }
  .event__price { justify-self: start; }
  .coach { grid-template-columns: 70px minmax(0, 1fr); gap: 18px; }
  .coach__photo { width: 70px; }
  .footer-top { grid-template-columns: 1fr; }
  .quote__mark { font-size: 64px; }
}

/* --------------------------------------------------------- reduced motion */
@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;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero__title .line > span { transform: none !important; }
  .showpiece { height: auto; }
  .showpiece__pin { position: static; height: auto; padding: 100px 0; }
  .reel { height: auto; }
  .reel__pin { position: static; height: auto; padding: 80px 0; }
  .reel__track { overflow-x: auto; transform: none !important; }
  .reel__slide img { transform: none !important; filter: none; }
  .coach-cursor { display: none; }
  .coaches--cursor .coach__photo { display: block; }
  .coaches--cursor .coach { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .coaches--cursor.is-hovering .coach { opacity: 1; }
}

/* ----------------------------------------------------- page transitions -- */
/* Cross-document View Transitions: supporting browsers morph between pages
   instead of flashing white. Everything below is progressive enhancement. */
@view-transition { navigation: auto; }

::view-transition-old(root) {
  animation: vtOut 0.32s var(--ease) both;
}

::view-transition-new(root) {
  animation: vtIn 0.5s var(--ease) both;
}

@keyframes vtOut {
  to { opacity: 0; transform: translateY(-14px) scale(0.994); }
}

@keyframes vtIn {
  from { opacity: 0; transform: translateY(22px) scale(0.994); }
}

/* the wordmark and the fixed chrome stay put across the navigation */
.brand img      { view-transition-name: tse-brandmark; }
.site-header    { view-transition-name: tse-header; }

::view-transition-group(tse-brandmark),
::view-transition-group(tse-header) {
  animation-duration: 0.42s;
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
}
