/* ==========================================================================
   FitnessBlackBelt — index.css  (Homepage only)
   Hero variant · Ticker · Problem · Cost of Waiting · Coach · How It Works
   · Why (bento) · Testimonials · Programs preview
   Shared components (panel, stat, ring, meter, weekgrid, ladder, media)
   live in base.css.
   ========================================================================== */

/* ==========================================================================
   1. HERO — homepage variant
   ========================================================================== */
.hero__title { font-size: clamp(2.3rem, 4.4vw, 3.9rem); }
.hero .hero__bloom { filter: blur(26px); }

/* ==========================================================================
   2. CREDENTIAL TICKER
   ========================================================================== */
.ticker {
  position: relative;
  padding-block: 1.6rem;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(139,92,246,.045), transparent);
}
.ticker .marquee__item {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
}
.ticker .marquee__item--gold { color: rgba(227,190,124,.72); }
.ticker .marquee__sep { color: rgba(255,255,255,.14); font-size: 1rem; }

/* ==========================================================================
   3. THE AUDIT — first section after the hero.
   Deliberately reads as a diagnostic instrument rather than a marketing
   block: a body-scan diagram flanked by the four markers a coach actually
   assesses, the client's real week as a load heatmap, and a full-bleed
   verdict that closes the argument in one line.
   ========================================================================== */
.audit { overflow: hidden; isolation: isolate; }

/* Faint blueprint grid + a single violet bloom, both masked so they never
   compete with the content sitting on top of them. */
.audit__blueprint {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(76% 60% at 50% 52%, #000 10%, transparent 74%);
          mask-image: radial-gradient(76% 60% at 50% 52%, #000 10%, transparent 74%);
}
.audit__bloom {
  position: absolute;
  z-index: 0;
  top: -14%;
  right: -10%;
  width: min(760px, 84vw);
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(109,40,217,.28), transparent 66%);
  filter: blur(72px);
}

/* --- Head: statement left, the calendar evidence right ------------------ */
.audit__head {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}
@media (min-width: 1000px) {
  .audit__head { grid-template-columns: 1.06fr .94fr; }
}

.audit__title {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.06;
  text-wrap: balance;
}
.audit__accent {
  display: block;
  margin-top: .16em;
  color: var(--brand-300);
}
.audit__lede {
  margin-top: 1.6rem;
  max-width: 44ch;
}

/* --- Calendar evidence panel -------------------------------------------- */
.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.calendar__head .mono { color: var(--dim); }
.calendar__flag {
  flex: 0 0 auto;
  padding: .32rem .65rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand-200);
  background: rgba(124,58,237,.14);
  border: 1px solid rgba(139,92,246,.3);
  border-radius: var(--r-pill);
}
.calendar__note {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--muted);
}
.calendar__note b {
  display: block;
  color: var(--text-soft);
  font-weight: 600;
}

/* --- Scan: flanking findings wired into a centred figure ---------------- */
.scan {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  justify-items: center;
}
.scan__stage { order: -1; }

@media (min-width: 620px) and (max-width: 1039px) {
  .scan { grid-template-columns: 1fr 1fr; align-items: start; }
  .scan__stage { grid-column: 1 / -1; }
}
@media (min-width: 1040px) {
  .scan { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .scan__stage { order: 0; }
}

.scan__flank {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-content: center;
  width: 100%;
}
/* Offsetting the two flanks stops the diagram reading as a symmetrical grid */
@media (min-width: 1040px) {
  .scan__flank--l { padding-bottom: clamp(2rem, 5vw, 4.5rem); }
  .scan__flank--r { padding-top:    clamp(2rem, 5vw, 4.5rem); }
  .scan__flank--r .finding { flex-direction: row-reverse; }
  .scan__flank--r .finding__link { transform: scaleX(-1); }
}

/* --- A single finding --------------------------------------------------- */
/* Lifted above the stage, whose bloom deliberately bleeds past its own box */
.finding { position: relative; z-index: 1; display: flex; align-items: center; }

.finding__card {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  padding: clamp(1.15rem, 2vw, 1.5rem) clamp(1.2rem, 2.2vw, 1.65rem);
  background:
    linear-gradient(168deg, rgba(255,255,255,.05), rgba(255,255,255,.008)),
    var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition:
    border-color var(--dur) var(--ease-out),
    transform    var(--dur) var(--ease-out);
}
.finding:hover .finding__card {
  border-color: rgba(139,92,246,.5);
  transform: translateY(-3px);
}

.finding__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .6rem;
}
.finding__area {
  color: var(--text);
  font-weight: 600;
  letter-spacing: .09em;
}
.finding__score {
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--warn);
}
.finding__note {
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--muted);
}

/* Deficit bar — amber, because this is the gap, not the fix */
.finding__bar {
  display: block;
  height: 3px;
  margin-top: 1.05rem;
  border-radius: 99px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}
.finding__bar i {
  display: block;
  height: 100%;
  width: var(--v, 40%);
  border-radius: 99px;
  background: linear-gradient(90deg, #B45309, var(--warn));
  box-shadow: 0 0 12px rgba(251,191,36,.35);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out) var(--delay, 0ms);
}
.finding.is-visible .finding__bar i { transform: scaleX(1); }

/* Hairline connector running from the card to the figure */
.finding__link {
  position: relative;
  flex: 0 0 auto;
  width: clamp(24px, 4.5vw, 64px);
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), rgba(139,92,246,.6));
  transition: background var(--dur) var(--ease-out);
}
.finding__link::after {
  content: '';
  position: absolute;
  right: -3px;
  top: -3.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-300);
  box-shadow: 0 0 12px rgba(167,139,250,.85);
  transition: transform var(--dur) var(--ease-spring);
}
.finding:hover .finding__link {
  background: linear-gradient(90deg, rgba(139,92,246,.35), var(--brand-200));
}
.finding:hover .finding__link::after { transform: scale(1.5); }

@media (max-width: 1039px) { .finding__link { display: none; } }

/* --- The figure --------------------------------------------------------- */
.scan__stage {
  position: relative;
  z-index: 0;
  width: clamp(212px, 26vw, 300px);
  aspect-ratio: 220 / 400;
  margin-bottom: 2.4rem;
}
.scan__bloom {
  position: absolute;
  left: 50%;
  top: 42%;
  translate: -50% -50%;
  width: 155%;
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(124,58,237,.34), transparent 62%);
  filter: blur(36px);
}
.scan__halo {
  position: absolute;
  left: 50%;
  top: 38%;
  translate: -50% -50%;
  width: 118%;
  aspect-ratio: 1;
  border: 1px dashed rgba(139,92,246,.22);
  border-radius: 50%;
  animation: scan-spin 60s linear infinite;
}
@keyframes scan-spin { to { rotate: 360deg; } }

.scan__svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.scan__measure line { stroke: rgba(255,255,255,.09); stroke-width: 1; }
.scan__measure line:first-child { stroke: rgba(139,92,246,.24); }

.scan__fig {
  fill: none;
  stroke: url(#figStroke);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(139,92,246,.42));
}
/* Draw-on is armed by JS once each path's true length is measured */
.scan__fig.is-armed > * {
  stroke-dasharray: var(--len, 900);
  stroke-dashoffset: var(--len, 900);
  transition: stroke-dashoffset 1.5s var(--ease-out) var(--d, 0ms);
}
.scan__stage.is-visible .scan__fig.is-armed > * { stroke-dashoffset: 0; }

/* Markers */
.scan__target { transition: opacity 320ms var(--ease-out); }
.scan__pip { fill: var(--brand-200); transition: fill var(--dur) var(--ease-out); }
.scan__halo-c {
  fill: none;
  stroke: rgba(167,139,250,.75);
  stroke-width: 1.2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 320ms var(--ease-spring), opacity 220ms var(--ease-out);
}
.scan__stage.is-visible .scan__halo-c {
  animation: target-pulse 3.4s var(--d, 0ms) infinite;
}
@keyframes target-pulse {
  0%   { transform: scale(.5);  opacity: 0; }
  18%  { opacity: .9; }
  70%  { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}

/* Hovering a finding locks its marker and recedes the rest */
.scan__stage.is-focused .scan__target:not(.is-active) { opacity: .28; }
.scan__target.is-active .scan__halo-c {
  animation: none;
  opacity: 1;
  transform: scale(1.4);
  stroke: var(--brand-200);
}
.scan__target.is-active .scan__pip { fill: #FFFFFF; }

/* Corner brackets — the frame of an instrument, not a card */
.scan__bracket {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(139,92,246,.4);
  pointer-events: none;
}
.scan__bracket--tl { top: -14px;    left: -14px;  border-right: 0; border-bottom: 0; }
.scan__bracket--tr { top: -14px;    right: -14px; border-left: 0;  border-bottom: 0; }
.scan__bracket--bl { bottom: -14px; left: -14px;  border-right: 0; border-top: 0; }
.scan__bracket--br { bottom: -14px; right: -14px; border-left: 0;  border-top: 0; }

.scan__stamp {
  position: absolute;
  left: 50%;
  bottom: -2.5rem;
  translate: -50% 0;
  white-space: nowrap;
  font-size: 10px;
  letter-spacing: .13em;
  color: var(--dim);
}

/* --- Verdict: full-bleed, closes the section ---------------------------- */
.verdict {
  position: relative;
  margin-top: clamp(4.5rem, 9vw, 8rem);
  display: grid;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(90% 150% at 100% 50%, rgba(76,29,149,.34), transparent 62%),
    var(--bg-2);
}
@media (min-width: 900px) {
  .verdict { grid-template-columns: .9fr 1.1fr; }
}

.verdict__media { border-radius: 0; }
@media (min-width: 900px) {
  .verdict__media { aspect-ratio: auto; height: 100%; min-height: 360px; }
}

.verdict__body {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: clamp(1.25rem, 2.5vw, 1.9rem);
  padding: clamp(2.75rem, 6vw, 5rem) var(--gutter);
}
@media (min-width: 900px) {
  .verdict__body { padding-left: clamp(2.75rem, 5vw, 4.5rem); }
}
.verdict__label { color: var(--brand-300); }
.verdict__line {
  max-width: 28ch;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.022em;
  color: var(--text);
}
.verdict__em { color: var(--brand-200); font-weight: 400; }

@media (prefers-reduced-motion: reduce) {
  .scan__halo { animation: none; }
  .scan__stage.is-visible .scan__halo-c { animation: none; opacity: .6; }
  .scan__fig.is-armed > * { stroke-dasharray: none; stroke-dashoffset: 0; }
}

/* ==========================================================================
   4. THE COST OF WAITING
   ========================================================================== */
.cost { position: relative; overflow: hidden; isolation: isolate; }
.cost__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 82% 34%, rgba(91,33,182,.26), transparent 66%),
    linear-gradient(180deg, var(--bg), #0B0812 55%, var(--bg));
}

.cost__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 960px) { .cost__grid { grid-template-columns: .85fr 1.15fr; } }

.cost__word { display: inline-block; position: relative; color: var(--brand-300); }
.cost__word::after {
  content: '';
  position: absolute;
  left: 0; bottom: .06em;
  width: 100%; height: .08em;
  background: linear-gradient(90deg, var(--brand-400), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out) 380ms;
}
.reveal.is-visible .cost__word::after { transform: scaleX(1); }

/* --- Divergent-curve chart --- */
.cost__chart-head { margin-bottom: 1.5rem; }
.cost__chart-head .mono { color: var(--dim); }

.cost__svg { width: 100%; height: auto; overflow: visible; }

/* Draw the curves on scroll */
.cost__line {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  transition: stroke-dashoffset 1.6s var(--ease-out);
}
.cost__chart.is-visible .cost__line--up   { stroke-dashoffset: 0; }
.cost__chart.is-visible .cost__line--down { stroke-dashoffset: 0; transition-delay: 220ms; }

.cost__area { opacity: 0; transition: opacity 1.1s var(--ease-out) 700ms; }
.cost__chart.is-visible .cost__area { opacity: 1; }

.cost__dot { opacity: 0; transition: opacity 500ms var(--ease-out) 1.4s; }
.cost__chart.is-visible .cost__dot { opacity: 1; }

.cost__axis {
  display: flex;
  justify-content: space-between;
  margin-top: .85rem;
  color: var(--dim);
}
.cost__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--muted);
}
.cost__legend span { display: inline-flex; align-items: center; gap: .55rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.dot--down { background: rgba(148,141,171,.6); }
.dot--up { background: var(--brand-400); box-shadow: 0 0 9px rgba(139,92,246,.9); }

/* ==========================================================================
   5. MEET YOUR COACH
   ========================================================================== */
.coach { overflow: hidden; }
.coach__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 980px) { .coach__grid { grid-template-columns: .82fr 1.18fr; } }

.coach__media { position: relative; }
.coach__portrait {
  box-shadow: var(--shadow-lg), 0 0 100px -40px rgba(109,40,217,.85);
}
.coach__portrait img { --pos: 58% 16%; filter: contrast(1.08) saturate(.86); }

/* Gold figure plate overlapping the portrait's lower-left */
.coach__badge {
  position: absolute;
  left: -1rem;
  bottom: -1.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.35rem;
  background: var(--grad-gold);
  color: #171104;
  border-radius: var(--r-sm);
  box-shadow: 0 24px 50px -22px rgba(227,190,124,.6);
}
.coach__badge-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}
.coach__badge-num sup { font-size: .45em; top: -.6em; }
.coach__badge .mono {
  font-size: 10px;
  line-height: 1.35;
  color: rgba(23,17,4,.72);
  text-transform: uppercase;
}
@media (max-width: 620px) { .coach__badge { left: 0; padding: .8rem 1.05rem; } }

/* Credential list — mono year gutter, hairline rows */
.coach__creds { margin-top: 2.25rem; }
.coach__creds li {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  transition: padding-left var(--dur) var(--ease-out);
}
.coach__creds li:last-child { border-bottom: 1px solid var(--line); }
.coach__creds li:hover { padding-left: .5rem; }
.coach__creds-year { color: var(--brand-300); font-size: 11px; }
.coach__creds strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 650;
  letter-spacing: -0.015em;
}
.coach__creds span { display: block; font-size: var(--fs-xs); color: var(--muted); margin-top: .15rem; }

/* ==========================================================================
   6. HOW IT WORKS — three staggered protocol cards.
   Deliberately not a 3-up grid of equal boxes: the columns are unequal
   widths, the row climbs as the protocol progresses, each card carries its
   own miniature chart, and the silhouette is notched top-right so these read
   as a different family to .panel.
   ========================================================================== */
.how { position: relative; overflow: hidden; isolation: isolate; }
.how__glow {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 58%;
  translate: -50% -50%;
  width: min(1150px, 116vw);
  aspect-ratio: 2.3;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(91,33,182,.26), transparent 66%);
  filter: blur(64px);
}

.steps {
  display: grid;
  gap: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 960px) {
  .steps {
    grid-template-columns: 1.07fr .93fr 1fr;
    align-items: start;
    padding-top: clamp(2rem, 4vw, 3.75rem);
  }
  /* The row climbs left to right — progression you can read before you read */
  .steps > :nth-child(1) { margin-top: clamp(2rem, 4vw, 3.75rem); }
  .steps > :nth-child(2) { margin-top: clamp(1rem, 2vw, 1.85rem); }
}

.step { position: relative; }

/* Waypoint straddling the frame's top-left corner */
.step__node {
  position: absolute;
  z-index: 3;
  top: -7px;
  left: -7px;
  width: 14px;
  height: 14px;
  rotate: 45deg;
  background: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(124,58,237,.15), 0 0 18px rgba(139,92,246,.85);
  transition: background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.step:hover .step__node {
  background: var(--brand-200);
  box-shadow: 0 0 0 7px rgba(124,58,237,.2), 0 0 28px rgba(167,139,250,1);
}

.step__frame {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(430px, 40vw, 545px);
  padding: clamp(1.9rem, 3vw, 2.6rem);
  background:
    linear-gradient(205deg, rgba(139,92,246,.13) 0%, transparent 44%),
    linear-gradient(168deg, rgba(255,255,255,.05), rgba(255,255,255,.008)),
    var(--surface);
  /* Notched top-right — the inverse of .panel */
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
/* Hairline drawn as an inset ring so it follows the clipped silhouette */
.step__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  clip-path: inherit;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow var(--dur) var(--ease-out);
}
/* Accent rule that draws across the foot on hover */
.step__frame::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-300), var(--brand-600) 55%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 640ms var(--ease-out);
}
.step:hover .step__frame { transform: translateY(-7px); }
.step:hover .step__frame::before { box-shadow: inset 0 0 0 1px rgba(139,92,246,.48); }
.step:hover .step__frame::after  { transform: scaleX(1); }

.step__frame > * { position: relative; z-index: 1; }

/* Oversized outline numeral, bled into the corner */
.step__num {
  position: absolute;
  z-index: 0;
  right: -.05em;
  bottom: -.28em;
  font-family: var(--font-display);
  font-size: clamp(7rem, 13vw, 11rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
  color: rgba(167,139,250,.1);
  pointer-events: none;
  user-select: none;
  transition: color var(--dur) var(--ease-out), -webkit-text-stroke-color var(--dur) var(--ease-out);
}
@supports (-webkit-text-stroke: 1px #000) {
  .step__num { color: transparent; -webkit-text-stroke: 1.2px rgba(196,181,253,.26); }
  .step:hover .step__num { -webkit-text-stroke-color: rgba(196,181,253,.7); }
}

.step__phase {
  display: block;
  margin-bottom: 1.15rem;
  font-size: 10px;
  letter-spacing: .11em;
  color: var(--brand-300);
}
.step h3 {
  margin-bottom: .85rem;
  padding-right: 2.5rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.14;
}
.step__frame > p {
  font-size: var(--fs-sm);
  line-height: 1.72;
  color: var(--muted);
}

/* --- Per-step miniature chart, pinned to the foot ----------------------- */
.step__viz { margin-top: auto; padding-top: 1.75rem; }
.step__viz-note {
  display: block;
  margin-top: .9rem;
  font-size: 10px;
  letter-spacing: .09em;
  color: var(--dim);
}

/* 01 — session slots dropped into the week */
.slots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.slots i {
  height: 28px;
  border-radius: 4px;
  background: rgba(255,255,255,.045);
  border: 1px solid transparent;
}
.slots i.is-on {
  background: var(--brand-500);
  border-color: rgba(196,181,253,.5);
  box-shadow: 0 0 14px rgba(124,58,237,.6);
  transform-origin: bottom;
}
.step.is-visible .slots i.is-on { animation: slot-drop 560ms var(--ease-spring) backwards; }
.step.is-visible .slots i.is-on:nth-child(2) { animation-delay: 260ms; }
.step.is-visible .slots i.is-on:nth-child(4) { animation-delay: 430ms; }
.step.is-visible .slots i.is-on:nth-child(6) { animation-delay: 600ms; }
@keyframes slot-drop { from { transform: scaleY(.18); opacity: 0; } }

/* 02 — the check-in chain */
.chain { display: flex; flex-wrap: wrap; gap: 7px; }
.chain i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
}
.chain i.is-on {
  background: var(--brand-400);
  border-color: transparent;
  box-shadow: 0 0 10px rgba(139,92,246,.8);
  transform: scale(0);
  transition: transform 420ms var(--ease-spring) var(--d, 0ms);
}
.step.is-visible .chain i.is-on { transform: scale(1); }
.chain i:nth-child(1) { --d: 90ms; }
.chain i:nth-child(2) { --d: 160ms; }
.chain i:nth-child(3) { --d: 230ms; }
.chain i:nth-child(4) { --d: 300ms; }
.chain i:nth-child(5) { --d: 370ms; }
.chain i:nth-child(6) { --d: 440ms; }

/* 03 — load climbing block on block */
.climb {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  align-items: end;
  height: 58px;
}
.climb i {
  height: var(--h, 40%);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--brand-400), rgba(124,58,237,.2));
  border: 1px solid rgba(139,92,246,.35);
  border-bottom: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 640ms var(--ease-out) var(--d, 0ms);
}
.step.is-visible .climb i { transform: scaleY(1); }
.climb i:nth-child(1) { --d: 80ms; }
.climb i:nth-child(2) { --d: 150ms; }
.climb i:nth-child(3) { --d: 220ms; }
.climb i:nth-child(4) { --d: 290ms; }
.climb i:nth-child(5) { --d: 360ms; }
.climb i:nth-child(6) { --d: 430ms; }
.climb i:last-child {
  background: var(--grad-brand);
  border-color: rgba(196,181,253,.55);
  box-shadow: 0 0 22px -4px rgba(124,58,237,.95);
}

.step__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1.7rem;
  padding-top: 1.45rem;
  border-top: 1px solid var(--line);
}
.step__meta .mono {
  padding: .3rem .6rem;
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--brand-200);
  background: rgba(139,92,246,.1);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .step.is-visible .slots i.is-on { animation: none; }
  .chain i.is-on, .climb i { transition: none; transform: none; }
}

/* ==========================================================================
   7. WHY — BENTO
   ========================================================================== */
.why { overflow: hidden; }

.bento { display: grid; gap: clamp(1rem, 2vw, 1.35rem); grid-template-columns: 1fr; }
@media (min-width: 700px)  { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento__card--lg { grid-row: span 2; }
  .bento__card--wide { grid-column: span 2; }
}

.bento__card { display: flex; flex-direction: column; overflow: hidden; }
.bento__card h3 { font-size: var(--fs-lg); margin-bottom: .85rem; padding-right: 3rem; }
.bento__card p { font-size: var(--fs-sm); color: var(--muted); }
.bento__card--lg h3 { font-size: var(--fs-xl); }

/* Twin credential rings */
.bento__rings {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: auto;
  padding-top: 2.25rem;
}

.bento__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: 1.85rem; }
.bento__chips .mono {
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--text-soft);
  padding: .32rem .65rem;
  border-radius: 4px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
}

.bento__meters { display: grid; gap: 1.25rem; margin-top: auto; padding-top: 2rem; }

.bento__split { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 620px) { .bento__split { grid-template-columns: 1.2fr .8fr; align-items: center; } }

.bento__list { display: grid; gap: .7rem; margin-top: 1.5rem; }
.bento__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--fs-sm);
  color: var(--text-soft);
}
.bento__list li::before {
  content: '';
  position: absolute;
  left: 0; top: .62em;
  width: 5px; height: 5px;
  border-radius: 1px;
  rotate: 45deg;
  background: var(--brand-400);
}

/* ==========================================================================
   8. TESTIMONIALS — one row, on a slider.
   The carousel engine lives in base.css / main.js; everything here is the
   card itself.
   ========================================================================== */
.testi { overflow: hidden; }
.testi__slider { margin-top: clamp(.5rem, 2vw, 1.5rem); }
.testi__foot { margin-top: clamp(2.5rem, 5vw, 4rem); }

.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(400px, 32vw, 480px);
  margin: 0;
  padding: clamp(2.1rem, 3.2vw, 2.9rem);
  background:
    linear-gradient(200deg, rgba(139,92,246,.1) 0%, transparent 46%),
    linear-gradient(168deg, rgba(255,255,255,.045), rgba(255,255,255,.008)),
    var(--surface);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  transition: background var(--dur) var(--ease-out);
}
.quote::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  clip-path: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow var(--dur) var(--ease-out);
}
.quote:hover::before { box-shadow: inset 0 0 0 1px rgba(139,92,246,.4); }
.quote > * { position: relative; z-index: 1; }

/* Oversized closing mark, bled off the top-right corner */
.quote__mark {
  position: absolute;
  z-index: 0;
  top: -.34em;
  right: .1em;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 7rem;
  line-height: 1;
  color: rgba(167,139,250,.13);
  pointer-events: none;
  user-select: none;
}

/* Theme tile — each card leads with the area the quote is actually about */
.quote__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.5rem;
  border-radius: 14px;
  color: var(--brand-200);
  background: linear-gradient(150deg, rgba(139,92,246,.3), rgba(91,33,182,.1));
  border: 1px solid rgba(139,92,246,.3);
  box-shadow: 0 0 26px -8px rgba(124,58,237,.9);
  transition: transform var(--dur) var(--ease-spring), color var(--dur) var(--ease-out);
}
.quote__icon svg { width: 21px; height: 21px; }
.quote:hover .quote__icon { transform: translateY(-3px) rotate(-7deg); color: #FFFFFF; }

.quote blockquote {
  flex: 1;
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text-soft);
  text-wrap: pretty;
}

/* Themes pulled from what the quote itself says — no invented metrics */
.quote__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.5rem; }
.quote__tags .mono {
  padding: .3rem .6rem;
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--brand-200);
  background: rgba(139,92,246,.1);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: 4px;
}
.quote blockquote::before { content: '“'; }
.quote blockquote::after  { content: '”'; }

.quote figcaption {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}
.quote__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-200);
  background: linear-gradient(150deg, rgba(139,92,246,.32), rgba(91,33,182,.12));
  border: 1px solid rgba(139,92,246,.32);
}
.quote figcaption > span:last-child {
  display: grid;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--dim);
}
.quote figcaption strong {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text);
}

/* ==========================================================================
   9. PROGRAMS PREVIEW
   ========================================================================== */
.tiers { display: grid; gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; }
@media (min-width: 860px) { .tiers { grid-template-columns: repeat(3, 1fr); } }

.tier { display: flex; flex-direction: column; overflow: visible; }
.tier h3 { font-size: var(--fs-xl); margin-bottom: .35rem; }
.tier__meta { color: var(--brand-300); font-size: 10px; }

.tier__price {
  display: flex;
  align-items: flex-start;
  gap: .1rem;
  margin: 1.35rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tier__currency { font-size: .42em; margin-top: .32em; }

.tier__desc { font-size: var(--fs-sm); color: var(--muted); flex: 1; }

/* Mini ladder showing where each tier sits */
.tier__ladder { height: 62px; margin: 1.85rem 0 1.5rem; }

.tier--featured .tier__price {
  background: linear-gradient(120deg, #fff, var(--brand-200));
  -webkit-background-clip: text;
  background-clip: text;
}
@media (min-width: 860px) { .tier--featured { transform: scale(1.03); z-index: 2; } }

.tier__flag {
  position: absolute;
  top: 0; left: 0;
  padding: .4rem .9rem;
  font-size: 10px;
  letter-spacing: .1em;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 0 0 var(--r-sm) 0;
}
.tier--featured .panel__index { color: var(--brand-200); }
.tier--featured h3 { padding-top: 1.5rem; }
