/* ==========================================================================
   Homepage sections below the hero (V2). Requires tokens.css.
   One file for all new homepage sections, added in page order.
   ========================================================================== */

/* ---------- Shared ---------- */
.tp-section {
  padding: var(--section-y) var(--gutter);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
.tp-section *,
.tp-section *::before,
.tp-section *::after { box-sizing: border-box; }
.tp-section :where(h2, h3, p, ul) { margin: 0; padding: 0; }
.tp-section :where(ul) { list-style: none; }
.tp-section__inner { max-width: var(--container); margin: 0 auto; }

.tp-section__eyebrow {
  font-size: var(--text-eyebrow);
  line-height: var(--leading-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  color: var(--color-accent-text);
}
.tp-section__title {
  margin-top: var(--space-2);
  font-family: inherit;
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  letter-spacing: var(--tracking-h2);
  font-weight: var(--weight-bold);
  color: var(--color-heading);
}
.tp-section__lead {
  margin-top: var(--space-3);
  font-size: var(--text-body-lg);
  line-height: var(--leading-body-lg);
  color: var(--color-text-secondary);
  text-wrap: pretty;
}

/* Key words in gold, same as the hero title */
.tp-mark {
  background: none;
  color: var(--color-accent);
}

/* ==========================================================================
   Comparison – Techpaathshala vs Others
   ========================================================================== */
.tp-compare__inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: center;
  gap: var(--space-6);
}
.tp-compare__lead { max-width: 520px; }

/* Two-line heading: gold line, then a smaller dark line (both in the h2) */
.tp-compare__title .tp-mark { display: block; }
.tp-compare__sub {
  display: block;
  margin-top: var(--space-1);
  font-size: clamp(1.3125rem, 1.15rem + .67vw, 1.75rem); /* 21→28px */
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
}

.tp-compare__cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5); /* room for the VS badge */
}
.tp-compare__card {
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}
.tp-compare__card--us {
  background: var(--ink-900);
  border-color: transparent;
  box-shadow: 0 32px 64px -24px rgba(13, 15, 20, .45);
}
.tp-compare__card-title {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding-bottom: 20px;
  font-family: inherit;
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
}
.tp-compare__card-title img { display: block; width: auto; height: 28px; }

.tp-compare__list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 84px;
  padding: 18px 0;
  border-top: 1px solid var(--color-border);
  font-size: var(--text-body-lg);
  line-height: 1.5;
  color: var(--color-text-secondary);
}
.tp-compare__card--us .tp-compare__list li {
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
}
.tp-compare__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-round);
  background: var(--color-surface-sunken);
  color: var(--color-text-secondary);
}
.tp-compare__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tp-compare__card--us .tp-compare__icon { background: var(--color-accent); color: var(--color-on-accent); }
.tp-compare__card--them .tp-compare__icon { background: var(--color-border); }
.tp-compare__card--them .tp-compare__icon svg { width: 14px; height: 14px; stroke-width: 2.5; }

/* VS badge – sits over the gap between the cards */
.tp-compare__vs {
  position: absolute;
  top: 64px;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-left: -32px;
  border: 6px solid var(--white);
  border-radius: var(--radius-round);
  background: var(--color-accent);
  box-shadow: 0 8px 24px -8px rgba(13, 15, 20, .35);
  font-size: var(--text-body);
  font-weight: var(--weight-bold);
  color: var(--color-on-accent);
}

/* ---------- Comparison motion ----------
   js/reveal.js adds .is-pending to [data-tp-reveal] blocks below the fold
   and removes it on scroll-in. Here the blocks themselves stay put and their
   children animate in sequence. Entrance animations use fill "backwards"
   so hover transforms still work afterwards. */
/* Shared by all .tp-section blocks */
.tp-section [data-tp-reveal] { transition: none; }
.tp-section [data-tp-reveal].is-pending { opacity: 1; transform: none; }
.tp-compare .is-pending :is(.tp-section__eyebrow, .tp-section__title, .tp-section__lead, .tp-compare__card, .tp-compare__vs) { opacity: 0; }

@keyframes tp-sec-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes tp-from-left { from { opacity: 0; transform: translateX(-32px); } }
@keyframes tp-from-right { from { opacity: 0; transform: translateX(32px); } }
@keyframes tp-row-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes tp-pop { from { opacity: 0; transform: scale(.4); } }
@keyframes tp-sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes tp-vs-ping {
  0%   { box-shadow: 0 8px 24px -8px rgba(13,15,20,.35), 0 0 0 0 rgba(243,189,0,.55); }
  70%, 100% { box-shadow: 0 8px 24px -8px rgba(13,15,20,.35), 0 0 0 16px rgba(243,189,0,0); }
}

/* 1. Heading lines rise in one after another */
.tp-compare__intro:not(.is-pending) > * { animation: tp-sec-rise 700ms var(--ease-out) backwards; }
.tp-compare__intro:not(.is-pending) > :nth-child(2) { animation-delay: 100ms; }
.tp-compare__intro:not(.is-pending) > :nth-child(3) { animation-delay: 200ms; }

/* 2. A sheen passes once across the gold words */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .tp-bento__head:not(.is-pending) .tp-mark,
  .tp-trainers__head:not(.is-pending) .tp-mark,
  .tp-cta__copy:not(.is-pending) .tp-mark,
  .tp-faq__aside:not(.is-pending) .tp-mark,
  .tp-stories__head:not(.is-pending) .tp-mark,
  .tp-voices__head:not(.is-pending) .tp-mark,
  .tp-audience__head:not(.is-pending) .tp-mark,
  .tp-solution__head:not(.is-pending) .tp-mark,
  .tp-org__copy:not(.is-pending) .tp-mark,
  .tp-programs__intro:not(.is-pending) .tp-mark,
  .tp-compare__intro:not(.is-pending) .tp-mark,
  .tp-real__head:not(.is-pending) .tp-mark {
    background: linear-gradient(100deg, var(--color-accent) 0 40%, var(--gold-700) 50%, var(--color-accent) 60% 100%);
    background-size: 300% 100%;
    background-position: 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: tp-sheen 1.4s ease-in-out 700ms backwards;
  }
}

/* 3. Cards slide in from each side */
.tp-compare__cards:not(.is-pending) .tp-compare__card--us { animation: tp-from-left 750ms var(--ease-out) backwards; }
.tp-compare__cards:not(.is-pending) .tp-compare__card--them { animation: tp-from-right 750ms var(--ease-out) 120ms backwards; }

/* 4. Rows appear in order; our ticks pop */
.tp-compare__cards:not(.is-pending) .tp-compare__list li { animation: tp-row-in 500ms var(--ease-out) 300ms backwards; }
.tp-compare__cards:not(.is-pending) .tp-compare__list li:nth-child(2) { animation-delay: 390ms; }
.tp-compare__cards:not(.is-pending) .tp-compare__list li:nth-child(3) { animation-delay: 480ms; }
.tp-compare__cards:not(.is-pending) .tp-compare__list li:nth-child(4) { animation-delay: 570ms; }
.tp-compare__cards:not(.is-pending) .tp-compare__card--us .tp-compare__icon { animation: tp-pop 450ms cubic-bezier(.34, 1.56, .64, 1) 400ms backwards; }
.tp-compare__cards:not(.is-pending) .tp-compare__card--us li:nth-child(2) .tp-compare__icon { animation-delay: 490ms; }
.tp-compare__cards:not(.is-pending) .tp-compare__card--us li:nth-child(3) .tp-compare__icon { animation-delay: 580ms; }
.tp-compare__cards:not(.is-pending) .tp-compare__card--us li:nth-child(4) .tp-compare__icon { animation-delay: 670ms; }

/* 5. VS pops in, then a gold ring pulses out every few seconds */
.tp-compare__cards:not(.is-pending) .tp-compare__vs {
  animation:
    tp-pop 500ms cubic-bezier(.34, 1.56, .64, 1) 350ms backwards,
    tp-vs-ping 2.6s ease-out 1.4s infinite;
}

/* 6. Hover: cards lift */
.tp-compare__card { transition: transform var(--duration-slow) var(--ease-out), box-shadow var(--duration-slow) var(--ease-out); }
.tp-compare__card:hover { transform: translateY(-4px); }
.tp-compare__card--us:hover { box-shadow: 0 40px 72px -24px rgba(13,15,20,.55), 0 0 0 1px rgba(243,189,0,.35); }
.tp-compare__card--them:hover { box-shadow: var(--shadow-card-hover); }

/* Laptop and tablet: heading above, cards get the full width */
@media (max-width: 1279px) {
  .tp-compare__inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .tp-compare__lead { max-width: 640px; }
}

/* Phone: cards stacked, VS between them */
@media (max-width: 767px) {
  .tp-compare__cards { grid-template-columns: 1fr; gap: 0; }
  .tp-compare__vs {
    position: relative;
    top: auto;
    left: auto;
    justify-self: center;
    width: 60px;
    height: 60px;
    margin: -24px 0;
    border-width: 5px;
  }
  .tp-compare__card { padding: var(--space-3); }
  .tp-compare__card--them { padding-top: var(--space-5); }
  .tp-compare__card-title { padding-bottom: var(--space-2); }
  .tp-compare__card-title img { height: 26px; }
  .tp-compare__list li { padding: var(--space-2) 0; }
  .tp-compare__list li { min-height: 0; }
  .tp-compare__icon { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .tp-compare *,
  .tp-compare .tp-mark { animation: none !important; }
  .tp-compare .tp-mark { color: var(--color-accent); background: none; }
  .tp-compare .is-pending * { opacity: 1 !important; }
  .tp-compare__card:hover { transform: none; }
}

/* ==========================================================================
   Truly Real – photo grid, copy, and the five team-work steps
   Desktop: photos left, copy right. Below 1280px: heading, photos, copy.
   ========================================================================== */
.tp-real { background: var(--color-bg-cream); }

.tp-real__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas:
    "photos head"
    "photos body";
  column-gap: var(--space-10);
  row-gap: var(--space-3);
}
.tp-real__head { grid-area: head; align-self: end; }
.tp-real__body { grid-area: body; align-self: start; }
.tp-real__body .tp-section__lead { max-width: 600px; margin-top: 0; }
.tp-real__body strong { font-weight: var(--weight-semibold); color: var(--color-heading); }
.tp-real__batch {
  display: block;
  margin-top: var(--space-4);
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
}

/* Photos: one tall photo + two stacked */
.tp-real__photos {
  grid-area: photos;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  grid-template-rows: 1fr 1fr;
  gap: var(--space-2);
  aspect-ratio: 1.4;
}
.tp-real__photo { overflow: hidden; border-radius: var(--radius-xl); background: var(--gray-200); }
.tp-real__photo--main { grid-row: span 2; }
.tp-real__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.tp-real__photo:hover img { transform: scale(1.04); }

/* Steps: five cards in a row joined by short gold dashes */
.tp-real__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-10);
}
.tp-real__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  min-height: 148px;
  padding: 28px var(--space-3);
  border: 1px solid rgba(204, 150, 0, .2);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.tp-real__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 51px; /* middle of the icon square */
  right: -19px;
  width: 14px;
  height: 2px;
  background: var(--color-accent);
  transform-origin: left;
}
.tp-real__step:last-child { border-color: transparent; background: var(--color-accent); box-shadow: var(--shadow-gold); }
.tp-real__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--ink-950);
  color: var(--color-accent);
}
.tp-real__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tp-real__num { display: none; }
.tp-real__label {
  font-size: var(--text-h4);
  line-height: var(--leading-h4);
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
}
.tp-real__step:last-child .tp-real__label { color: var(--color-on-accent); }

/* Motion (same reveal pattern as the comparison section) */
.tp-real .is-pending :is(.tp-section__eyebrow, .tp-section__title, .tp-section__lead, .tp-real__photo, .tp-real__step) { opacity: 0; }
.tp-real .is-pending .tp-real__step::after { transform: scaleX(0); }
@keyframes tp-photo-in { from { opacity: 0; transform: scale(.94); } }
@keyframes tp-dash-draw { from { transform: scaleX(0); } }

.tp-real__head:not(.is-pending) > * { animation: tp-sec-rise 700ms var(--ease-out) backwards; }
.tp-real__head:not(.is-pending) > :nth-child(2) { animation-delay: 100ms; }
.tp-real__body:not(.is-pending) > * { animation: tp-sec-rise 700ms var(--ease-out) 200ms backwards; }

.tp-real__photos:not(.is-pending) .tp-real__photo { animation: tp-photo-in 800ms var(--ease-out) backwards; }
.tp-real__photos:not(.is-pending) .tp-real__photo:nth-child(2) { animation-delay: 140ms; }
.tp-real__photos:not(.is-pending) .tp-real__photo:nth-child(3) { animation-delay: 280ms; }

.tp-real__steps:not(.is-pending) .tp-real__step { animation: tp-sec-rise 600ms var(--ease-out) backwards; }
.tp-real__steps:not(.is-pending) .tp-real__step::after { animation: tp-dash-draw 400ms var(--ease-out) 300ms backwards; }
.tp-real__steps:not(.is-pending) .tp-real__step:nth-child(2) { animation-delay: 120ms; }
.tp-real__steps:not(.is-pending) .tp-real__step:nth-child(2)::after { animation-delay: 420ms; }
.tp-real__steps:not(.is-pending) .tp-real__step:nth-child(3) { animation-delay: 240ms; }
.tp-real__steps:not(.is-pending) .tp-real__step:nth-child(3)::after { animation-delay: 540ms; }
.tp-real__steps:not(.is-pending) .tp-real__step:nth-child(4) { animation-delay: 360ms; }
.tp-real__steps:not(.is-pending) .tp-real__step:nth-child(4)::after { animation-delay: 660ms; }
.tp-real__steps:not(.is-pending) .tp-real__step:nth-child(5) { animation: tp-pop 600ms cubic-bezier(.34, 1.56, .64, 1) 520ms backwards; }

.tp-real__step { transition: transform var(--duration-slow) var(--ease-out), box-shadow var(--duration-slow) var(--ease-out); }
.tp-real__step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.tp-real__step:last-child:hover { box-shadow: 0 10px 32px rgba(243, 189, 0, .45); }

/* Laptop: heading, photos, copy stacked; steps stay in a row */
@media (max-width: 1279px) {
  .tp-real__top {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "photos" "body";
    row-gap: var(--space-4);
  }
  .tp-real__photos { aspect-ratio: 16 / 9; }
  .tp-real__body .tp-section__lead { max-width: 720px; }
  .tp-real__steps { gap: var(--space-2); margin-top: var(--space-6); }
  .tp-real__step { padding: var(--space-3) 20px; }
  .tp-real__step:not(:last-child)::after { right: -13px; width: 10px; top: 47px; }
  .tp-real__label { font-size: var(--text-body-lg); }
}

/* Tablet and phone (mobile reference): wide photo + two below, numbered rows */
@media (max-width: 1023px) {
  .tp-real__top { row-gap: var(--space-3); }
  .tp-real__photos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 10px;
    aspect-ratio: auto;
  }
  .tp-real__photo { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; }
  .tp-real__photo--main { grid-row: auto; grid-column: span 2; aspect-ratio: 16 / 9; }
  .tp-real__batch { display: inline; margin: 0; font-weight: inherit; color: inherit; }

  .tp-real__steps { grid-template-columns: 1fr; gap: var(--space-1); margin-top: var(--space-3); }
  .tp-real__step {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    min-height: 0;
    padding: 14px var(--space-2);
    border-radius: var(--radius-md);
  }
  .tp-real__step:not(:last-child)::after { display: none; }
  .tp-real__icon { display: none; }
  .tp-real__num {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-xs);
    background: var(--ink-950);
    font-size: var(--text-caption);
    font-weight: var(--weight-bold);
    color: var(--color-accent);
  }
  .tp-real__label { font-size: var(--text-body); }
  .tp-real__step:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tp-real *, .tp-real *::after { animation: none !important; }
  .tp-real .tp-mark { color: var(--color-accent); background: none; }
  .tp-real .is-pending * { opacity: 1 !important; }
  .tp-real .is-pending .tp-real__step::after { transform: none; }
  .tp-real__photo:hover img, .tp-real__step:hover { transform: none; }
}

/* ==========================================================================
   Programs – three program cards. Desktop: 3-column grid with the
   "View More" button beside the heading. Below 1024px: swipeable row with
   dots (js/home-sections.js) and the button under the cards.
   ========================================================================== */
.tp-programs__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "intro all"
    "list  list"
    "dots  dots";
  column-gap: var(--space-6);
  align-items: end;
}
.tp-programs__intro { grid-area: intro; max-width: 780px; }
.tp-programs__all { grid-area: all; margin-bottom: 6px; }
.tp-programs__list {
  grid-area: list;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--space-4)) / 3); /* 3 cards visible, the 4th scrolls in */
  gap: var(--space-4);
  margin: var(--space-8) -8px 0;
  padding: 8px 8px 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8px;
  scrollbar-width: none;
}
.tp-programs__list::-webkit-scrollbar { display: none; }
.tp-programs__controls { grid-area: dots; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-1); }

/* Cards: original .program-card styles (index-style.css). Only the chips are new. */
.tp-programs__list .program-card { flex: none; width: auto; scroll-snap-align: start; }
.program-card > .tp-prog__tags { padding: 1rem .75rem 0; } /* lines up with .program-card-body */
@media (max-width: 767px) { .program-card > .tp-prog__tags { padding: 1rem 1.35rem 0; } }

/* New-design label on the photo */
.tp-prog__badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 1;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  font-size: var(--text-caption);
  line-height: 1.3;
  font-weight: var(--weight-semibold);
}
.tp-prog__badge--gold { background: var(--color-accent); color: var(--color-on-accent); }
.tp-prog__badge--dark { background: var(--ink-950); color: var(--color-accent); }
.tp-prog__badge--urgent { background: var(--color-urgency-fill); color: var(--ink-950); }

/* New-design buttons in the card footer */
.tp-programs .program-card-footer .tp-btn { padding: 0 var(--space-1-5); }
.tp-programs .program-card-footer .tp-btn--primary { box-shadow: var(--shadow-gold); }
.tp-programs .program-card-footer .tp-ico { width: 16px; height: 16px; }
.tp-prog__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tp-prog__tags li {
  padding: 3px 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  background: var(--color-bg-alt);
  font-size: 0.75rem; /* 12px */
  line-height: 1.4;
  font-weight: 500;
  white-space: nowrap;
  color: var(--color-text);
}
.tp-programs .program-card-image-wrapper { overflow: hidden; }
.tp-programs .program-card-image { transition: transform 700ms var(--ease-out); }
.tp-programs .program-card:hover .program-card-image { transform: scale(1.05); }

/* Motion */
.tp-programs .is-pending :is(.tp-section__eyebrow, .tp-section__title, .tp-section__lead, .program-card) { opacity: 0; }
@keyframes tp-card-up { from { opacity: 0; transform: translateY(40px); } }
@keyframes tp-img-settle { from { transform: scale(1.15); } }
@keyframes tp-badge-in { from { opacity: 0; transform: translateX(-16px); } }
@keyframes tp-btn-fade { from { opacity: 0; transform: translateY(8px); } }

.tp-programs__intro:not(.is-pending) > * { animation: tp-sec-rise 700ms var(--ease-out) backwards; }
.tp-programs__intro:not(.is-pending) > :nth-child(2) { animation-delay: 100ms; }
.tp-programs__intro:not(.is-pending) > :nth-child(3) { animation-delay: 200ms; }
.tp-programs__all { animation: tp-btn-fade 700ms var(--ease-out) 350ms backwards; }
.tp-programs__intro.is-pending ~ .tp-programs__all { opacity: 0; animation: none; }

.tp-programs__list:not(.is-pending) .program-card { animation: tp-card-up 800ms var(--ease-out) backwards; }
.tp-programs__list:not(.is-pending) .program-card-image { animation: tp-img-settle 1400ms var(--ease-out) backwards; }
.tp-programs__list:not(.is-pending) .tp-prog__badge { animation: tp-badge-in 500ms var(--ease-out) 500ms backwards; }
.tp-programs__list:not(.is-pending) .program-card:nth-child(2),
.tp-programs__list:not(.is-pending) .program-card:nth-child(2) .program-card-image { animation-delay: 150ms; }
.tp-programs__list:not(.is-pending) .program-card:nth-child(2) .tp-prog__badge { animation-delay: 650ms; }
.tp-programs__list:not(.is-pending) .program-card:nth-child(3),
.tp-programs__list:not(.is-pending) .program-card:nth-child(3) .program-card-image { animation-delay: 300ms; }
.tp-programs__list:not(.is-pending) .program-card:nth-child(3) .tp-prog__badge { animation-delay: 800ms; }
.tp-programs__list:not(.is-pending) .program-card:nth-child(4),
.tp-programs__list:not(.is-pending) .program-card:nth-child(4) .program-card-image { animation-delay: 450ms; }
.tp-programs__list:not(.is-pending) .program-card:nth-child(4) .tp-prog__badge { animation-delay: 950ms; }

@media (max-width: 1279px) {
  .tp-programs__list { gap: var(--space-2); grid-auto-columns: calc((100% - var(--space-2)) / 2); }
}

/* Tablet and phone: swipeable row, dots, button under the cards */
@media (max-width: 1023px) {
  .tp-programs__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "list" "dots" "all";
  }
  .tp-programs__list {
    grid-auto-columns: min(82%, 360px);
    gap: var(--space-2);
    margin: var(--space-4) calc(-1 * var(--gutter)) 0;
    padding: 8px var(--gutter) 24px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .tp-programs__list::-webkit-scrollbar { display: none; }
  .tp-programs__list .program-card { scroll-snap-align: start; }

  .tp-programs__all { width: 100%; margin: var(--space-3) 0 0; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .tp-programs *, .tp-programs__all { animation: none !important; }
  .tp-programs .tp-mark { color: var(--color-accent); background: none; }
  .tp-programs .is-pending *, .tp-programs__all { opacity: 1 !important; }
  .tp-programs .program-card:hover .program-card-image { transform: none; }
}

/* ==========================================================================
   For Organizations – dark band. Copy + checklist left, stat bento right.
   Background: faint grid + slowly drifting gold glow.
   ========================================================================== */
.tp-org { position: relative; isolation: isolate; overflow: clip; }
.tp-org::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 45%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 75% 45%, #000 10%, transparent 70%);
  pointer-events: none;
}
.tp-org::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -10%;
  width: min(760px, 120vw);
  aspect-ratio: 1;
  translate: 0 -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(243, 189, 0, .16), rgba(243, 189, 0, .04) 55%, transparent 75%);
  pointer-events: none;
  will-change: transform;
  animation: tp-glow-drift 20s ease-in-out infinite alternate;
}

.tp-org__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-10);
}
.tp-org__copy .tp-section__lead { max-width: 560px; }

.tp-org__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 14px var(--space-4);
  margin-top: var(--space-4);
}
.tp-org__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-body);
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
}
.tp-org__check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(243, 189, 0, .35);
  border-radius: var(--radius-round);
  background: rgba(243, 189, 0, .12);
  color: var(--color-accent);
}
.tp-org__check svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tp-org__cta { margin-top: var(--space-5); }

/* Stat bento: lead tile across the top, two below */
.tp-org__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}
.tp-org__stat {
  position: relative;
  overflow: hidden;
  padding: var(--space-4) 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  transition: transform var(--duration-slow) var(--ease-out), border-color var(--duration-slow), box-shadow var(--duration-slow) var(--ease-out);
}
.tp-org__stat:hover { transform: translateY(-4px); border-color: rgba(243, 189, 0, .45); box-shadow: 0 24px 48px -24px rgba(243, 189, 0, .35); }
.tp-org__stat--lead {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "icon num" "icon label";
  column-gap: var(--space-3);
  align-items: center;
  border-color: rgba(243, 189, 0, .35);
  background: linear-gradient(135deg, rgba(243, 189, 0, .18), rgba(243, 189, 0, .04) 60%, rgba(255, 255, 255, .02));
}
.tp-org__stat--lead .tp-org__icon { grid-area: icon; width: 64px; height: 64px; }
.tp-org__stat--lead .tp-org__icon svg { width: 30px; height: 30px; }
.tp-org__stat--lead .tp-org__num { grid-area: num; margin-top: 0; font-size: clamp(3rem, 2.4rem + 2.4vw, 4.5rem); }
.tp-org__stat--lead .tp-org__label { grid-area: label; font-size: var(--text-body); }

.tp-org__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(243, 189, 0, .25);
  border-radius: var(--radius-md);
  background: rgba(243, 189, 0, .1);
  color: var(--color-accent);
}
.tp-org__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tp-org__num {
  margin-top: 20px;
  font-size: clamp(2rem, 1.7rem + 1.2vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: var(--weight-bold);
  font-variant-numeric: tabular-nums;
  color: var(--color-accent);
}
.tp-org__label {
  margin-top: var(--space-1);
  font-size: var(--text-body-sm);
  line-height: var(--leading-body-sm);
  color: var(--color-text-secondary);
}

/* Motion */
.tp-org .is-pending :is(.tp-section__eyebrow, .tp-section__title, .tp-section__lead, .tp-org__features li, .tp-org__cta, .tp-org__stat) { opacity: 0; }
@keyframes tp-tile-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }

.tp-org__copy:not(.is-pending) > * { animation: tp-sec-rise 700ms var(--ease-out) backwards; }
.tp-org__copy:not(.is-pending) > :nth-child(2) { animation-delay: 100ms; }
.tp-org__copy:not(.is-pending) > :nth-child(3) { animation-delay: 200ms; }
.tp-org__copy:not(.is-pending) > .tp-org__features { animation: none; }
.tp-org__copy:not(.is-pending) .tp-org__features li { animation: tp-row-in 500ms var(--ease-out) 300ms backwards; }
.tp-org__copy:not(.is-pending) .tp-org__features li:nth-child(2) { animation-delay: 380ms; }
.tp-org__copy:not(.is-pending) .tp-org__features li:nth-child(3) { animation-delay: 460ms; }
.tp-org__copy:not(.is-pending) .tp-org__features li:nth-child(4) { animation-delay: 540ms; }
.tp-org__copy:not(.is-pending) > .tp-org__cta { animation-delay: 650ms; }
.tp-org__copy:not(.is-pending) .tp-org__check { animation: tp-pop 450ms cubic-bezier(.34, 1.56, .64, 1) 400ms backwards; }

.tp-org__stats:not(.is-pending) .tp-org__stat { animation: tp-tile-in 750ms var(--ease-out) 150ms backwards; }
.tp-org__stats:not(.is-pending) .tp-org__stat:nth-child(2) { animation-delay: 300ms; }
.tp-org__stats:not(.is-pending) .tp-org__stat:nth-child(3) { animation-delay: 450ms; }

@media (max-width: 1279px) {
  .tp-org__inner { gap: var(--space-6); }
  .tp-org__stat { padding: var(--space-3); }
}

@media (max-width: 1023px) {
  .tp-org__inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .tp-org::after { top: 70%; right: -40%; }
}

@media (max-width: 600px) {
  .tp-org__features { grid-template-columns: 1fr; }
  .tp-org__cta { width: 100%; height: 48px; white-space: normal; text-align: center; }
  .tp-org__stat--lead { grid-template-columns: 1fr; grid-template-areas: "icon" "num" "label"; }
  .tp-org__stat--lead .tp-org__icon { width: 48px; height: 48px; }
  .tp-org__stat--lead .tp-org__icon svg { width: 24px; height: 24px; }
  .tp-org__stat--lead .tp-org__num { margin-top: var(--space-2); }
  .tp-org__stat { padding: 20px; }
  .tp-org__num { margin-top: var(--space-2); }
}

@media (prefers-reduced-motion: reduce) {
  .tp-org *, .tp-org::after { animation: none !important; }
  .tp-org .tp-mark { color: var(--color-accent); background: none; }
  .tp-org .is-pending * { opacity: 1 !important; }
  .tp-org__stat:hover { transform: none; }
}

/* On the dark band the sheen is light (as in the hero) */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .tp-org__copy:not(.is-pending) .tp-mark,
  .tp-trainers__head:not(.is-pending) .tp-mark,
  .tp-cta__copy:not(.is-pending) .tp-mark {
    background-image: linear-gradient(100deg, var(--color-accent) 0 40%, #fff4cc 50%, var(--color-accent) 60% 100%);
  }
}

/* ==========================================================================
   Our Solution – heading + lead, then a 4-step timeline:
   numbered circles on a gold dashed line, a card under each.
   Below 1024px the timeline runs vertically.
   ========================================================================== */
.tp-solution__head {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--space-8);
}
.tp-solution__head .tp-section__lead { max-width: 460px; margin: 0 0 6px; }

.tp-solution__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.tp-solution__step { position: relative; display: flex; flex-direction: column; }
/* Dashed connector from this circle towards the next */
.tp-solution__step::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 80px;
  right: calc(-1 * var(--space-4) + 16px);
  border-top: 2px dashed rgba(243, 189, 0, .75);
  transform-origin: left;
}
.tp-solution__step:last-child::before { right: 0; }

.tp-solution__num {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-round);
  background: var(--ink-950);
  font-family: "Satisfy", cursive;
  font-size: 1.875rem;
  line-height: 1;
  color: var(--color-accent);
  transition: background-color var(--duration-slow), color var(--duration-slow), transform var(--duration-slow) var(--ease-out);
}

.tp-solution__card {
  flex: 1;
  margin-top: var(--space-3);
  padding: var(--space-4) 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
  transition: transform var(--duration-slow) var(--ease-out), box-shadow var(--duration-slow) var(--ease-out), border-color var(--duration-slow);
}
.tp-solution__card h3 {
  font-family: inherit;
  font-size: var(--text-h4);
  line-height: var(--leading-h4);
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
}
.tp-solution__card p {
  margin-top: var(--space-2);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text-secondary);
}

/* Hover: card lifts, its circle turns gold */
.tp-solution__step:hover .tp-solution__card { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(243, 189, 0, .5); }
.tp-solution__step:hover .tp-solution__num { background: var(--color-accent); color: var(--ink-950); transform: scale(1.06); }

/* Motion: dashes draw, circles pop, cards rise – left to right */
.tp-solution .is-pending :is(.tp-section__eyebrow, .tp-section__title, .tp-section__lead, .tp-solution__num, .tp-solution__card) { opacity: 0; }
.tp-solution .is-pending .tp-solution__step::before { transform: scaleX(0); }

.tp-solution__head:not(.is-pending) > div > * { animation: tp-sec-rise 700ms var(--ease-out) backwards; }
.tp-solution__head:not(.is-pending) > div > :nth-child(2) { animation-delay: 100ms; }
.tp-solution__head:not(.is-pending) > .tp-section__lead { animation: tp-sec-rise 700ms var(--ease-out) 250ms backwards; }

.tp-solution__steps:not(.is-pending) .tp-solution__num { animation: tp-pop 500ms cubic-bezier(.34, 1.56, .64, 1) backwards; }
.tp-solution__steps:not(.is-pending) .tp-solution__step::before { animation: tp-dash-draw 500ms var(--ease-out) 250ms backwards; }
.tp-solution__steps:not(.is-pending) .tp-solution__card { animation: tp-sec-rise 650ms var(--ease-out) 150ms backwards; }
.tp-solution__steps:not(.is-pending) .tp-solution__step:nth-child(2) .tp-solution__num { animation-delay: 350ms; }
.tp-solution__steps:not(.is-pending) .tp-solution__step:nth-child(2)::before { animation-delay: 600ms; }
.tp-solution__steps:not(.is-pending) .tp-solution__step:nth-child(2) .tp-solution__card { animation-delay: 500ms; }
.tp-solution__steps:not(.is-pending) .tp-solution__step:nth-child(3) .tp-solution__num { animation-delay: 700ms; }
.tp-solution__steps:not(.is-pending) .tp-solution__step:nth-child(3)::before { animation-delay: 950ms; }
.tp-solution__steps:not(.is-pending) .tp-solution__step:nth-child(3) .tp-solution__card { animation-delay: 850ms; }
.tp-solution__steps:not(.is-pending) .tp-solution__step:nth-child(4) .tp-solution__num { animation-delay: 1050ms; }
.tp-solution__steps:not(.is-pending) .tp-solution__step:nth-child(4)::before { animation-delay: 1300ms; }
.tp-solution__steps:not(.is-pending) .tp-solution__step:nth-child(4) .tp-solution__card { animation-delay: 1200ms; }

@media (max-width: 1279px) {
  .tp-solution__head { gap: var(--space-5); }
  .tp-solution__steps { gap: var(--space-2); }
  .tp-solution__step::before { right: 0; left: 76px; }
  .tp-solution__card { padding: var(--space-3) 20px; }
}

/* Tablet and phone: vertical timeline */
@media (max-width: 1023px) {
  .tp-solution__head { grid-template-columns: 1fr; gap: var(--space-2); }
  .tp-solution__head .tp-section__lead { margin: 0; }
  .tp-solution__steps { grid-template-columns: 1fr; gap: var(--space-2); margin-top: var(--space-5); }
  .tp-solution__step { flex-direction: row; align-items: flex-start; gap: var(--space-2); }
  .tp-solution__step::before {
    top: 56px;
    bottom: calc(-1 * var(--space-2) + 4px);
    left: 23px;
    right: auto;
    border-top: 0;
    border-left: 2px dashed rgba(243, 189, 0, .75);
    transform-origin: top;
  }
  .tp-solution__step:last-child::before { display: none; }
  .tp-solution .is-pending .tp-solution__step::before { transform: scaleY(0); }
  .tp-solution__steps:not(.is-pending) .tp-solution__step::before { animation-name: tp-dash-down; }
  .tp-solution__num { flex-shrink: 0; width: 48px; height: 48px; font-size: 1.5rem; }
  .tp-solution__card { margin-top: 0; padding: 20px; }
  .tp-solution__card p { margin-top: var(--space-1); }
  .tp-solution__step:hover .tp-solution__card { transform: none; }
}
@keyframes tp-dash-down { from { transform: scaleY(0); } }

@media (prefers-reduced-motion: reduce) {
  .tp-solution *, .tp-solution *::before { animation: none !important; }
  .tp-solution .tp-mark { color: var(--color-accent); background: none; }
  .tp-solution .is-pending * { opacity: 1 !important; }
  .tp-solution .is-pending .tp-solution__step::before { transform: none; }
  .tp-solution__step:hover .tp-solution__card, .tp-solution__step:hover .tp-solution__num { transform: none; }
}

/* Two-line heading: full-size line, then a smaller dark line (same h2, same words) */
.tp-title-main { display: block; }
.tp-title-sub {
  display: block;
  margin-top: var(--space-1);
  font-size: clamp(1.3125rem, 1.15rem + .67vw, 1.75rem); /* 21→28px */
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
}

/* ==========================================================================
   Stats – soft cream band, gold kept to accents. Heading + lead, a gold
   rule, then four big numbers in columns with thin dividers. Numbers
   count up on scroll.
   ========================================================================== */
.tp-stats {
  --color-heading: var(--ink-950);
  --color-text-secondary: var(--gray-700);
  --color-accent-text: var(--gold-800);
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--gold-50);
  border-block: 1px solid rgba(204, 150, 0, .18);
}
/* faint gold glow in the top-left corner */
.tp-stats::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40%;
  left: -10%;
  width: min(900px, 140vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(243, 189, 0, .14), transparent 70%);
  pointer-events: none;
}

/* Highlight on gold: inverted band, gold text on ink */
.tp-mark--ink {
  padding: 0 .18em;
  border-radius: 8px;
  background: var(--ink-950);
  color: var(--color-accent);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Same 4-column grid as the numbers below: title over columns 1–2, lead
   starts where column 3's text starts, last lines share a baseline. */
.tp-stats {
  --stats-col-pad: var(--space-4);
}
.tp-stats__head {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: last baseline;
}
.tp-stats__head > div { grid-column: 1 / 3; padding-right: var(--stats-col-pad); }
.tp-stats__head .tp-section__lead {
  grid-column: 3 / 5;
  max-width: 460px;
  margin: 0;
  padding-left: var(--stats-col-pad);
}

.tp-stats__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--space-8);
}
.tp-stats__list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--gold-500);
  transform-origin: left;
}
.tp-stats__item { position: relative; padding: var(--space-5) var(--stats-col-pad) 0; }
.tp-stats__item:first-child { padding-left: 0; }
.tp-stats__item + .tp-stats__item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(204, 150, 0, .3);
  transform-origin: top;
}
.tp-stats__num {
  font-size: clamp(2.5rem, 1.6rem + 2.6vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: var(--weight-bold);
  font-variant-numeric: tabular-nums;
  color: var(--ink-950);
  transition: transform var(--duration-slow) var(--ease-out);
}
.tp-stats__item:hover .tp-stats__num { transform: translateY(-4px); }
.tp-stats__label {
  max-width: 260px;
  margin-top: var(--space-2);
  font-size: var(--text-body-lg);
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* Motion: rule draws, dividers grow, columns rise; numbers count (JS) */
.tp-stats .is-pending :is(.tp-section__eyebrow, .tp-section__title, .tp-section__lead, .tp-stats__item) { opacity: 0; }
.tp-stats .is-pending.tp-stats__list::before { transform: scaleX(0); }
.tp-stats .is-pending .tp-stats__item::before { transform: scaleY(0); }
@keyframes tp-rule-draw { from { transform: scaleX(0); } }

.tp-stats__head:not(.is-pending) > div > * { animation: tp-sec-rise 700ms var(--ease-out) backwards; }
.tp-stats__head:not(.is-pending) > div > :nth-child(2) { animation-delay: 100ms; }
.tp-stats__head:not(.is-pending) > .tp-section__lead { animation: tp-sec-rise 700ms var(--ease-out) 250ms backwards; }
.tp-stats__head:not(.is-pending) .tp-mark--ink { animation: tp-pop 600ms cubic-bezier(.34, 1.56, .64, 1) 350ms backwards; display: inline-block; }

.tp-stats__list:not(.is-pending)::before { animation: tp-rule-draw 900ms var(--ease-out) backwards; }
.tp-stats__list:not(.is-pending) .tp-stats__item { animation: tp-sec-rise 650ms var(--ease-out) 200ms backwards; }
.tp-stats__list:not(.is-pending) .tp-stats__item::before { animation: tp-dash-down 600ms var(--ease-out) 300ms backwards; }
.tp-stats__list:not(.is-pending) .tp-stats__item:nth-child(2),
.tp-stats__list:not(.is-pending) .tp-stats__item:nth-child(2)::before { animation-delay: 320ms; }
.tp-stats__list:not(.is-pending) .tp-stats__item:nth-child(3),
.tp-stats__list:not(.is-pending) .tp-stats__item:nth-child(3)::before { animation-delay: 440ms; }
.tp-stats__list:not(.is-pending) .tp-stats__item:nth-child(4),
.tp-stats__list:not(.is-pending) .tp-stats__item:nth-child(4)::before { animation-delay: 560ms; }

@media (max-width: 1279px) {
  .tp-stats { --stats-col-pad: var(--space-3); }
  .tp-stats__item { padding: var(--space-4) var(--stats-col-pad) 0; }
  .tp-stats__label { font-size: var(--text-body); }
}

/* Tablet and phone: 2 × 2 grid */
@media (max-width: 1023px) {
  .tp-stats__head { grid-template-columns: 1fr; gap: var(--space-2); }
  .tp-stats__head > div,
  .tp-stats__head .tp-section__lead { grid-column: 1; padding: 0; }
  .tp-stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--space-5); }
  .tp-stats__item { padding: var(--space-3) var(--space-2) var(--space-3) var(--space-3); }
  .tp-stats__item:nth-child(odd) { padding-left: 0; }
  .tp-stats__item:nth-child(odd)::before { display: none; }
  .tp-stats__item:nth-child(n+3) { border-top: 1px solid rgba(204, 150, 0, .3); }
  .tp-stats__num { font-size: clamp(2rem, 1.4rem + 3vw, 2.75rem); }
  .tp-stats__label { margin-top: var(--space-1); font-size: var(--text-body-sm); }
}

@media (prefers-reduced-motion: reduce) {
  .tp-stats *, .tp-stats *::before, .tp-stats__list::before { animation: none !important; }
  .tp-stats .is-pending * { opacity: 1 !important; }
  .tp-stats .is-pending.tp-stats__list::before, .tp-stats .is-pending .tp-stats__item::before { transform: none; }
  .tp-stats__item:hover .tp-stats__num { transform: none; }
}

/* ==========================================================================
   Who Are Our Programs For – heading + lead, six audience cards.
   All cards look the same; on hover a card turns dark (design's dark card).
   ========================================================================== */
.tp-audience { background: var(--color-bg-alt); }

.tp-audience__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: var(--space-8);
}
.tp-audience__head .tp-section__lead { margin: 0; }

.tp-audience__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.tp-audience__card {
  padding: var(--space-5) var(--space-5) 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  transition:
    background-color 650ms cubic-bezier(.25, .8, .25, 1),
    border-color 650ms cubic-bezier(.25, .8, .25, 1),
    transform 650ms cubic-bezier(.25, .8, .25, 1),
    box-shadow 650ms cubic-bezier(.25, .8, .25, 1);
}
.tp-audience__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  color: var(--ink-950);
  transition: background-color 650ms cubic-bezier(.25, .8, .25, 1), transform 650ms cubic-bezier(.25, .8, .25, 1);
}
.tp-audience__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tp-audience__card h3 {
  margin-top: var(--space-4);
  font-family: inherit;
  font-size: var(--text-h4);
  line-height: var(--leading-h4);
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
  transition: color 650ms cubic-bezier(.25, .8, .25, 1);
}
.tp-audience__card p {
  margin-top: var(--space-2);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text-secondary);
  transition: color 650ms cubic-bezier(.25, .8, .25, 1);
}

/* Hover: the card turns dark with a gold icon */
.tp-audience__card:hover {
  border-color: var(--ink-950);
  background: var(--ink-950);
  transform: translateY(-6px);
  box-shadow: 0 28px 56px -24px rgba(13, 15, 20, .45);
}
.tp-audience__card:hover .tp-audience__icon { background: var(--color-accent); transform: rotate(-6deg) scale(1.06); }
.tp-audience__card:hover h3 { color: var(--white); }
.tp-audience__card:hover p { color: var(--gray-400); }

/* Motion: heading rises, cards rise in reading order, icons pop */
.tp-audience .is-pending :is(.tp-section__eyebrow, .tp-section__title, .tp-section__lead, .tp-audience__card) { opacity: 0; }
.tp-audience__head:not(.is-pending) > div > * { animation: tp-sec-rise 700ms var(--ease-out) backwards; }
.tp-audience__head:not(.is-pending) > div > :nth-child(2) { animation-delay: 100ms; }
.tp-audience__head:not(.is-pending) > .tp-section__lead { animation: tp-sec-rise 700ms var(--ease-out) 250ms backwards; }

.tp-audience__grid:not(.is-pending) .tp-audience__card { animation: tp-card-up 700ms var(--ease-out) backwards; }
.tp-audience__grid:not(.is-pending) .tp-audience__icon { animation: tp-pop 500ms cubic-bezier(.34, 1.56, .64, 1) 250ms backwards; }
.tp-audience__grid:not(.is-pending) .tp-audience__card:nth-child(2) { animation-delay: 100ms; }
.tp-audience__grid:not(.is-pending) .tp-audience__card:nth-child(2) .tp-audience__icon { animation-delay: 350ms; }
.tp-audience__grid:not(.is-pending) .tp-audience__card:nth-child(3) { animation-delay: 200ms; }
.tp-audience__grid:not(.is-pending) .tp-audience__card:nth-child(3) .tp-audience__icon { animation-delay: 450ms; }
.tp-audience__grid:not(.is-pending) .tp-audience__card:nth-child(4) { animation-delay: 300ms; }
.tp-audience__grid:not(.is-pending) .tp-audience__card:nth-child(4) .tp-audience__icon { animation-delay: 550ms; }
.tp-audience__grid:not(.is-pending) .tp-audience__card:nth-child(5) { animation-delay: 400ms; }
.tp-audience__grid:not(.is-pending) .tp-audience__card:nth-child(5) .tp-audience__icon { animation-delay: 650ms; }
.tp-audience__grid:not(.is-pending) .tp-audience__card:nth-child(6) { animation-delay: 500ms; }
.tp-audience__grid:not(.is-pending) .tp-audience__card:nth-child(6) .tp-audience__icon { animation-delay: 750ms; }

@media (max-width: 1279px) {
  .tp-audience__head { gap: var(--space-5); }
  .tp-audience__grid { gap: var(--space-2); }
  .tp-audience__card { padding: var(--space-4) var(--space-3); }
}

@media (max-width: 1023px) {
  .tp-audience__head { grid-template-columns: 1fr; gap: var(--space-2); }
  .tp-audience__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--space-5); }
}

@media (max-width: 640px) {
  .tp-audience__grid { grid-template-columns: 1fr; }
  .tp-audience__card { padding: var(--space-3); }
  .tp-audience__icon { width: 44px; height: 44px; }
  .tp-audience__card h3 { margin-top: var(--space-2); }
  .tp-audience__card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tp-audience * { animation: none !important; }
  .tp-audience .tp-mark { color: var(--color-accent); background: none; }
  .tp-audience .is-pending * { opacity: 1 !important; }
  .tp-audience__card:hover, .tp-audience__card:hover .tp-audience__icon { transform: none; }
}

/* ==========================================================================
   Employer Voices – same cards and carousel as the student stories
   (.tp-story / .tp-stories__track, styled in the Student stories block).
   ========================================================================== */
.tp-voices__head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--space-8);
}
.tp-voices__head .tp-section__lead { max-width: 440px; margin: 0 0 6px; }
.tp-voices .tp-stories__track { margin-top: var(--space-6); }

/* On the white band the cards get an outline as well as the shadow */
.tp-story--company { border: 1px solid var(--color-border); }
.tp-story__logo { display: block; width: auto; max-width: 170px; height: 36px; object-fit: contain; object-position: left center; }
.tp-voices .tp-dot { background: rgba(13, 15, 20, .16); }
.tp-voices .tp-dot[aria-current] { background: var(--ink-950); }

/* Motion */
.tp-voices .is-pending :is(.tp-section__eyebrow, .tp-section__title, .tp-section__lead, .tp-story) { opacity: 0; }
.tp-voices__head:not(.is-pending) > div > * { animation: tp-sec-rise 700ms var(--ease-out) backwards; }
.tp-voices__head:not(.is-pending) > div > :nth-child(2) { animation-delay: 100ms; }
.tp-voices__head:not(.is-pending) > .tp-section__lead { animation: tp-sec-rise 700ms var(--ease-out) 250ms backwards; }

@media (max-width: 1279px) {
  .tp-voices__head { gap: var(--space-5); }
}
@media (max-width: 1023px) {
  .tp-voices__head { grid-template-columns: 1fr; gap: var(--space-2); }
  .tp-voices__head .tp-section__lead { margin: 0; }
  .tp-voices .tp-stories__track { margin-top: var(--space-3); }
  .tp-story__logo { height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-voices * { animation: none !important; }
  .tp-voices .tp-mark { color: var(--color-accent); background: none; }
  .tp-voices .is-pending * { opacity: 1 !important; }
}

/* ==========================================================================
   Student stories – cream band. Full-width rating strip, a testimonial
   carousel (arrows + dots, js/home-sections.js), then video stories.
   ========================================================================== */
.tp-stories { background: var(--color-bg-cream); }

.tp-stories__head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--space-8);
}
.tp-stories__head .tp-section__lead { max-width: 460px; margin: 0 0 6px; }

.tp-stars { letter-spacing: 2px; font-size: 0.875rem; line-height: 1; color: var(--gold-800); }

/* Rating strip (dark, full width) */
.tp-rating {
  display: grid;
  grid-template-columns: auto minmax(0, 1.3fr) minmax(220px, 1fr) auto;
  grid-template-areas: "score copy bars link";
  align-items: center;
  column-gap: var(--space-6);
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-xl);
  background: var(--ink-950);
  color: var(--color-text);
}
.tp-rating__score {
  grid-area: score;
  display: grid;
  justify-items: start;
  gap: var(--space-1);
  font-size: clamp(3rem, 2.4rem + 2vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: var(--weight-bold);
  color: var(--white);
}
.tp-rating__score .tp-stars { font-size: 1.125rem; color: var(--color-accent); letter-spacing: 3px; }
.tp-rating__copy { grid-area: copy; }
.tp-rating__title { font-size: var(--text-body-lg); line-height: 1.4; font-weight: var(--weight-semibold); color: var(--white); }
.tp-rating__text { margin-top: var(--space-1); font-size: var(--text-body-sm); line-height: var(--leading-body-sm); color: var(--color-text-secondary); }
.tp-rating__bars { grid-area: bars; display: grid; gap: var(--space-2); margin: 0; }
.tp-rating__bars > div { display: flex; justify-content: space-between; flex-wrap: wrap; row-gap: 8px; font-size: var(--text-body-sm); }
.tp-rating__bars dt { color: var(--color-text); }
.tp-rating__bars dd { margin: 0; font-weight: var(--weight-semibold); color: var(--white); }
.tp-rating__bars > div::after {
  content: "";
  flex-basis: 100%;
  height: 6px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-accent) var(--tp-bar), var(--ink-700) var(--tp-bar));
  transform-origin: left;
}
.tp-rating__link {
  grid-area: link;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  height: 48px;
  padding: 0 var(--space-3);
  border: 1.5px solid rgba(243, 189, 0, .5);
  border-radius: var(--radius-md);
  font-weight: var(--weight-semibold);
  white-space: nowrap;
  color: var(--color-accent);
  text-decoration: none;
  transition: background-color var(--duration-base), color var(--duration-base);
}
.tp-rating__link:hover { background: var(--color-accent); color: var(--ink-950); }
.tp-rating__link:hover .tp-ico--arrow { transform: translateX(3px); }

/* Testimonial carousel */
.tp-stories__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--space-3)) / 3);
  gap: var(--space-3);
  margin: var(--space-4) -8px 0;
  padding: 8px 8px 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8px;
  scrollbar-width: none;
}
.tp-stories__track::-webkit-scrollbar { display: none; }
.tp-stories__track:focus-visible { outline: var(--focus-ring); outline-offset: 4px; border-radius: var(--radius-xl); }

.tp-story {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: 0 10px 30px -18px rgba(13, 15, 20, .18);
  scroll-snap-align: start;
  transition: transform 600ms cubic-bezier(.25, .8, .25, 1), box-shadow 600ms cubic-bezier(.25, .8, .25, 1);
}
.tp-story:hover { transform: translateY(-6px); box-shadow: 0 28px 56px -26px rgba(13, 15, 20, .3); }
.tp-story__quote { margin: var(--space-2) 0 0; }
.tp-story__quote p { margin: 0; font-size: var(--text-body); line-height: 1.75; color: var(--color-text); }
.tp-story__quote strong {
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
  background: linear-gradient(var(--gold-100), var(--gold-100)) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 900ms var(--ease-out);
}
.tp-story__who { display: flex; align-items: center; gap: var(--space-1-5); margin-top: auto; padding-top: var(--space-3); }
.tp-story__who img { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius-round); object-fit: cover; background: var(--gray-200); }
.tp-story__who > span { display: grid; gap: 2px; }
.tp-story__who strong { font-size: var(--text-body); font-weight: var(--weight-semibold); color: var(--color-heading); }
.tp-story__who span span { font-size: var(--text-body-sm); color: var(--color-text-secondary); }

/* Carousel controls: dots left, arrows right */
.tp-stories__controls { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-1); }
.tp-stories__dots { display: flex; gap: 6px; }
.tp-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(13, 15, 20, .2);
  cursor: pointer;
  transition: width var(--duration-base) var(--ease-out), background-color var(--duration-base);
}
.tp-dot[aria-current] { width: 24px; background: var(--ink-950); }
.tp-stories__arrows { display: flex; gap: var(--space-1); }
.tp-carousel-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid var(--ink-950);
  border-radius: var(--radius-round);
  background: transparent;
  color: var(--ink-950);
  cursor: pointer;
  transition: background-color var(--duration-base), color var(--duration-base), opacity var(--duration-base);
}
.tp-carousel-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tp-carousel-btn:hover:not(:disabled) { background: var(--ink-950); color: var(--color-accent); }
.tp-carousel-btn:disabled { opacity: .3; cursor: default; }

/* Videos */
.tp-videos { margin-top: var(--space-8); }
.tp-videos__label {
  display: flex;
  align-items: center;
  gap: var(--space-1-5);
  font-size: var(--text-body-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
}
.tp-videos__label > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-round); background: var(--ink-950); color: var(--color-accent); }
.tp-videos__label svg { width: 14px; height: 14px; fill: currentColor; margin-left: 2px; }
.tp-videos__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-3); }
/* Portrait thumbnails (YouTube Shorts oar2.jpg, 9:16) */
.tp-video__media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink-950); }
.tp-video__media .video-facade { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; cursor: pointer; } /* legacy .video-facade is fixed 280x500 */
.tp-video__media .video-facade:hover img { transform: none; }
.tp-video__media .video-facade img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.tp-video__media .video-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13, 15, 20, .45)); pointer-events: none; }
/* after click, ui-components.js swaps in a loader then the YouTube iframe */
.tp-video__media .video-loader,
.tp-video__media .video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.tp-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-round);
  background: var(--color-accent);
  color: var(--ink-950);
  cursor: pointer;
  transition: transform var(--duration-slow) var(--ease-out);
  animation: tp-play-ring 2.4s ease-out infinite;
}
.tp-video__play svg { width: 24px; height: 24px; fill: currentColor; margin-left: 3px; }
.tp-video:hover .tp-video__play { transform: scale(1.1); }
@keyframes tp-play-ring { 0% { box-shadow: 0 0 0 0 rgba(243, 189, 0, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(243, 189, 0, 0); } }
.tp-video__title { margin-top: var(--space-1-5); font-size: var(--text-body-sm); line-height: 1.45; font-weight: var(--weight-semibold); color: var(--color-heading); }

/* Motion */
.tp-stories .is-pending:is(.tp-rating),
.tp-stories .is-pending :is(.tp-section__eyebrow, .tp-section__title, .tp-section__lead, .tp-story, .tp-videos__label, .tp-video) { opacity: 0; }
.tp-stories .is-pending .tp-story__quote strong { background-size: 0% 100%; }
.tp-stories .is-pending .tp-rating__bars > div::after { transform: scaleX(0); }

.tp-stories__head:not(.is-pending) > div > * { animation: tp-sec-rise 700ms var(--ease-out) backwards; }
.tp-stories__head:not(.is-pending) > div > :nth-child(2) { animation-delay: 100ms; }
.tp-stories__head:not(.is-pending) > .tp-section__lead { animation: tp-sec-rise 700ms var(--ease-out) 250ms backwards; }

.tp-rating:not(.is-pending) { animation: tp-card-up 750ms var(--ease-out) backwards; }
.tp-rating:not(.is-pending) .tp-rating__bars > div::after { animation: tp-rule-draw 1200ms var(--ease-out) 400ms backwards; }
.tp-rating:not(.is-pending) .tp-rating__bars > div:nth-child(2)::after { animation-delay: 600ms; }
.tp-rating:not(.is-pending) .tp-rating__score .tp-stars { animation: tp-badge-in 600ms var(--ease-out) 300ms backwards; }

.tp-stories__track:not(.is-pending) > * { animation: tp-from-right 800ms var(--ease-out) backwards; }
.tp-stories__track:not(.is-pending) > :nth-child(2) { animation-delay: 120ms; }
.tp-stories__track:not(.is-pending) > :nth-child(3) { animation-delay: 240ms; }
.tp-stories__track:not(.is-pending) > :nth-child(4) { animation-delay: 360ms; }
.tp-stories__track:not(.is-pending) > :nth-child(n+5) { animation-delay: 420ms; }
.tp-stories__track:not(.is-pending) .tp-story__quote strong { transition-delay: 700ms; }

.tp-videos:not(.is-pending) .tp-videos__label { animation: tp-sec-rise 600ms var(--ease-out) backwards; }
.tp-videos:not(.is-pending) .tp-video { animation: tp-card-up 750ms var(--ease-out) 150ms backwards; }
.tp-videos:not(.is-pending) .tp-video:nth-child(2) { animation-delay: 250ms; }
.tp-videos:not(.is-pending) .tp-video:nth-child(3) { animation-delay: 350ms; }
.tp-videos:not(.is-pending) .tp-video:nth-child(4) { animation-delay: 450ms; }
.tp-videos:not(.is-pending) .tp-video:nth-child(5) { animation-delay: 550ms; }

/* Laptop: rating strip in two rows, two cards per view */
@media (max-width: 1279px) {
  .tp-stories__head { gap: var(--space-5); }
  .tp-rating {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "score copy" "bars bars" "link link";
    row-gap: var(--space-3);
  }
  .tp-rating__bars { grid-template-columns: 1fr 1fr; column-gap: var(--space-4); }
  .tp-rating__link { justify-self: start; }
  .tp-stories__track { grid-auto-columns: calc((100% - var(--space-3)) / 2); }
  .tp-videos__list { gap: var(--space-2); }
}

/* Tablet and phone */
@media (max-width: 1023px) {
  .tp-stories__head { grid-template-columns: 1fr; gap: var(--space-2); }
  .tp-stories__head .tp-section__lead { margin: 0; }
  .tp-rating { margin-top: var(--space-4); padding: var(--space-3); column-gap: var(--space-3); }
  .tp-stories__track {
    grid-auto-columns: min(84%, 340px);
    gap: var(--space-2);
    margin: var(--space-3) calc(-1 * var(--gutter)) 0;
    padding: 8px var(--gutter) 20px;
    scroll-padding-inline: var(--gutter);
  }
  .tp-story { padding: var(--space-3); }
  .tp-story:hover { transform: none; }
  .tp-carousel-btn { width: 44px; height: 44px; }
  .tp-videos { margin-top: var(--space-5); }
  .tp-videos__list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(46%, 220px);
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .tp-videos__list::-webkit-scrollbar { display: none; }
  .tp-video { scroll-snap-align: start; }
}

@media (max-width: 600px) {
  .tp-rating { grid-template-columns: 1fr; grid-template-areas: "score" "copy" "bars" "link"; }
  .tp-rating__score { grid-auto-flow: column; align-items: center; justify-content: start; column-gap: var(--space-1-5); }
  .tp-rating__bars { grid-template-columns: 1fr; }
  .tp-rating__link { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .tp-stories *, .tp-stories .tp-rating { animation: none !important; }
  .tp-stories .tp-mark { color: var(--color-accent); background: none; }
  .tp-stories .is-pending, .tp-stories .is-pending * { opacity: 1 !important; }
  .tp-stories .is-pending .tp-story__quote strong { background-size: 100% 100%; }
  .tp-stories .is-pending .tp-rating__bars > div::after { transform: none; }
  .tp-story:hover, .tp-video:hover .tp-video__play, .tp-video:hover .video-facade img { transform: none; }
}

/* Carousel controls hidden by js/home-sections.js when everything fits */
.tp-carousel-btn[hidden], .tp-stories__dots[hidden], .tp-programs__controls [hidden] { display: none; }

/* ==========================================================================
   Shared head row (heading left, lead right) for the sections below
   ========================================================================== */
.tp-bento__head,
.tp-trainers__head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--space-8);
}
.tp-bento__head .tp-section__lead,
.tp-trainers__head .tp-section__lead { max-width: 460px; margin: 0 0 6px; }
.tp-bento__head:not(.is-pending) > div > *,
.tp-trainers__head:not(.is-pending) > div > * { animation: tp-sec-rise 700ms var(--ease-out) backwards; }
.tp-bento__head:not(.is-pending) > div > :nth-child(2),
.tp-trainers__head:not(.is-pending) > div > :nth-child(2) { animation-delay: 100ms; }
.tp-bento__head:not(.is-pending) > .tp-section__lead,
.tp-trainers__head:not(.is-pending) > .tp-section__lead { animation: tp-sec-rise 700ms var(--ease-out) 250ms backwards; }
.tp-bento .is-pending :is(.tp-section__eyebrow, .tp-section__title, .tp-section__lead),
.tp-trainers .is-pending :is(.tp-section__eyebrow, .tp-section__title, .tp-section__lead) { opacity: 0; }

/* ==========================================================================
   Truly Real – bento of four cards, each with a small live-looking visual
   ========================================================================== */
.tp-bento__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.tp-bento__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: var(--color-bg-alt);
  transition: transform 600ms cubic-bezier(.25, .8, .25, 1), box-shadow 600ms cubic-bezier(.25, .8, .25, 1);
}
.tp-bento__card:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -28px rgba(13, 15, 20, .35); }
.tp-bento__card--ai { grid-column: span 7; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; border-color: transparent; background: var(--ink-950); }
.tp-bento__card--flow { grid-column: span 5; }
.tp-bento__card--proj { grid-column: span 5; }
.tp-bento__card--acc { grid-column: span 7; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; border-color: transparent; background: var(--color-accent); }

.tp-bento__num { font-size: var(--text-eyebrow); letter-spacing: .14em; font-weight: var(--weight-bold); color: var(--color-accent-text); }
.tp-bento__card--acc .tp-bento__num { color: var(--ink-950); }
.tp-bento__copy h3 {
  margin-top: var(--space-3);
  font-family: inherit;
  font-size: clamp(1.375rem, 1.21rem + .6vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: var(--weight-bold);
  color: var(--color-heading);
}
.tp-bento__copy p:not(.tp-bento__num) { margin-top: var(--space-3); font-size: var(--text-body-lg); line-height: 1.7; color: var(--color-text-secondary); }
.tp-bento__card--acc .tp-bento__copy h3 { color: var(--ink-950); }
.tp-bento__card--acc .tp-bento__copy p:not(.tp-bento__num) { color: rgba(13, 15, 20, .8); }
.tp-bento__card--flow .tp-bento__visual,
.tp-bento__card--proj .tp-bento__visual { margin-top: auto; }

/* Chat mock */
.tp-chat { display: flex; flex-direction: column; gap: var(--space-1-5); padding: 20px; border: 1px solid var(--ink-700); border-radius: var(--radius-lg); background: var(--ink-850); }
.tp-chat__msg { max-width: 88%; padding: 10px 16px; border-radius: 12px; font-size: var(--text-body-sm); line-height: 1.45; }
.tp-chat__msg--user { align-self: flex-end; background: var(--ink-750); color: var(--white); }
.tp-chat__msg--bot { align-self: flex-start; background: var(--color-accent); color: var(--ink-950); }
.tp-chat__foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: var(--space-2); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8125rem; color: var(--gray-400); }
.tp-chat__foot span { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }

/* Git log mock */
.tp-gitlog { display: grid; gap: 10px; padding: 18px 20px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.875rem; color: var(--color-text); }
.tp-gitlog p { display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; }
.tp-gitlog strong { font-weight: 700; color: var(--color-heading); }
.tp-gitlog__dot { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-700); }
.tp-gitlog__dot--ok { background: #15803d; }

/* Bar chart mock */
.tp-bars { display: flex; align-items: flex-end; gap: var(--space-1-5); height: 116px; padding: 18px 20px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.tp-bars span { flex: 1; height: var(--h); border-radius: 4px; background: var(--gray-200); transform-origin: bottom; }
.tp-bars span.is-hot { background: var(--color-accent); }

/* Checklist mock */
.tp-check { display: grid; align-content: start; gap: var(--space-2); padding: var(--space-3); border-radius: var(--radius-lg); background: var(--white); color: var(--ink-950); }
.tp-check__title { font-weight: var(--weight-semibold); }
.tp-check p:not(.tp-check__title) { display: flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-body); }
.tp-check p > span { display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border: 2px solid var(--ink-950); border-radius: 6px; }
.tp-check p.is-done > span { background: var(--ink-950); }
.tp-check svg { width: 14px; height: 14px; fill: none; stroke: var(--color-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; }

/* Bento motion */
@keyframes tp-msg-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes tp-type { from { clip-path: inset(0 100% 0 0); } }
@keyframes tp-bar-grow { from { transform: scaleY(0); } }
@keyframes tp-tick { from { stroke-dashoffset: 24; } }
.tp-bento .is-pending :is(.tp-bento__card, .tp-chat__msg, .tp-gitlog p) { opacity: 0; }
.tp-bento .is-pending .tp-bars span { transform: scaleY(0); }

.tp-bento__grid:not(.is-pending) .tp-bento__card { animation: tp-card-up 800ms var(--ease-out) backwards; }
.tp-bento__grid:not(.is-pending) .tp-bento__card:nth-child(2) { animation-delay: 120ms; }
.tp-bento__grid:not(.is-pending) .tp-bento__card:nth-child(3) { animation-delay: 240ms; }
.tp-bento__grid:not(.is-pending) .tp-bento__card:nth-child(4) { animation-delay: 360ms; }
.tp-bento__grid:not(.is-pending) .tp-chat__msg { animation: tp-msg-in 500ms var(--ease-out) 600ms backwards; }
.tp-bento__grid:not(.is-pending) .tp-chat__msg:nth-child(2) { animation-delay: 1100ms; }
.tp-bento__grid:not(.is-pending) .tp-chat__msg:nth-child(3) { animation-delay: 1600ms; }
.tp-bento__grid:not(.is-pending) .tp-gitlog p { animation: tp-type 900ms steps(32) 800ms backwards; }
.tp-bento__grid:not(.is-pending) .tp-gitlog p:nth-child(2) { animation-delay: 1500ms; }
.tp-bento__grid:not(.is-pending) .tp-bars span { animation: tp-bar-grow 700ms var(--ease-out) 700ms backwards; }
.tp-bento__grid:not(.is-pending) .tp-bars span:nth-child(2) { animation-delay: 780ms; }
.tp-bento__grid:not(.is-pending) .tp-bars span:nth-child(3) { animation-delay: 860ms; }
.tp-bento__grid:not(.is-pending) .tp-bars span:nth-child(4) { animation-delay: 940ms; }
.tp-bento__grid:not(.is-pending) .tp-bars span:nth-child(5) { animation-delay: 1020ms; }
.tp-bento__grid:not(.is-pending) .tp-bars span:nth-child(6) { animation-delay: 1100ms; }
.tp-bento__grid:not(.is-pending) .tp-check p.is-done svg { animation: tp-tick 450ms var(--ease-out) 1100ms backwards; }
.tp-bento__grid:not(.is-pending) .tp-check p.is-done:nth-of-type(3) svg { animation-delay: 1450ms; }

@media (max-width: 1279px) {
  .tp-bento__head, .tp-trainers__head { gap: var(--space-5); }
  .tp-bento__card { padding: var(--space-4); }
  .tp-bento__card--ai, .tp-bento__card--acc { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
  .tp-bento__head, .tp-trainers__head { grid-template-columns: 1fr; gap: var(--space-2); }
  .tp-bento__head .tp-section__lead, .tp-trainers__head .tp-section__lead { margin: 0; }
  .tp-bento__grid { grid-template-columns: 1fr; gap: var(--space-2); margin-top: var(--space-5); }
  .tp-bento__card { grid-column: auto !important; padding: var(--space-3); border-radius: var(--radius-xl); }
  .tp-bento__card:hover { transform: none; }
  .tp-bento__copy p:not(.tp-bento__num) { font-size: var(--text-body); }
  .tp-gitlog { font-size: 0.75rem; }
}

/* ==========================================================================
   Trainers – dark band, trainer list (tabs) + detail panel
   ========================================================================== */
.tp-trainers__body {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.tp-trainers__list { display: grid; align-content: start; gap: var(--space-1-5); }
.tp-trainers__tab {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--ink-900);
  font-family: inherit;
  text-align: left;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color var(--duration-slow), background-color var(--duration-slow), transform var(--duration-slow) var(--ease-out);
}
.tp-trainers__tab:hover { border-color: var(--ink-500); }
.tp-trainers__tab[aria-selected="true"] { border-color: var(--color-accent); background: var(--ink-850); }
.tp-trainers__tab img { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--ink-750); }
.tp-trainers__tab > span { display: grid; gap: 4px; flex: 1; min-width: 0; }
.tp-trainers__tab strong { font-size: var(--text-body-lg); font-weight: var(--weight-semibold); color: var(--white); }
.tp-trainers__tab span span { font-size: var(--text-body-sm); color: var(--color-text-secondary); }
.tp-trainers__chev { flex-shrink: 0; width: 18px; height: 18px; fill: none; stroke: var(--gray-400); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--duration-slow) var(--ease-out), stroke var(--duration-slow); }
.tp-trainers__tab[aria-selected="true"] .tp-trainers__chev { stroke: var(--color-accent); transform: translateX(3px); }

.tp-trainers__panel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: var(--space-5);
  height: 100%;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: var(--ink-900);
}
.tp-trainers__panel[hidden] { display: none; }
.tp-trainers__photo { overflow: hidden; border-radius: var(--radius-lg); background: var(--ink-750); }
.tp-trainers__photo img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: center top; }
.tp-trainers__info h3 { font-family: inherit; font-size: clamp(1.375rem, 1.21rem + .6vw, 1.75rem); line-height: 1.2; font-weight: var(--weight-bold); color: var(--white); }
.tp-trainers__exp { display: inline-block; margin-top: var(--space-1-5); padding: 6px 14px; border-radius: var(--radius-pill); background: var(--color-accent); font-size: var(--text-body-sm); font-weight: var(--weight-semibold); color: var(--ink-950); }
.tp-trainers__quote { margin: var(--space-3) 0 0; }
.tp-trainers__quote p { margin: 0; font-size: var(--text-body-lg); line-height: 1.7; color: var(--color-text); }
.tp-trainers__quote p::before { content: "“"; margin-right: 4px; font-size: 1.6em; line-height: 0; vertical-align: -0.3em; color: var(--color-accent); }
.tp-trainers__label { margin-top: var(--space-4); font-size: var(--text-eyebrow); letter-spacing: var(--tracking-eyebrow); font-weight: var(--weight-bold); text-transform: uppercase; color: var(--color-text-secondary); }
.tp-trainers__chips { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-1-5); }
.tp-trainers__chips li { padding: 6px 12px; border: 1px solid var(--ink-700); border-radius: var(--radius-xs); background: var(--ink-800); font-size: var(--text-body-sm); font-weight: var(--weight-semibold); color: var(--white); }
.tp-trainers__chips li.is-ai { border-color: rgba(243, 189, 0, .45); background: rgba(243, 189, 0, .1); color: var(--color-accent); }

/* Trainers motion */
@keyframes tp-panel-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes tp-photo-settle { from { transform: scale(1.08); } }
.tp-trainers .is-pending :is(.tp-trainers__tab, .tp-trainers__panels) { opacity: 0; }
.tp-trainers__body:not(.is-pending) .tp-trainers__tab { animation: tp-from-left 650ms var(--ease-out) backwards; }
.tp-trainers__body:not(.is-pending) .tp-trainers__tab:nth-child(2) { animation-delay: 80ms; }
.tp-trainers__body:not(.is-pending) .tp-trainers__tab:nth-child(3) { animation-delay: 160ms; }
.tp-trainers__body:not(.is-pending) .tp-trainers__tab:nth-child(4) { animation-delay: 240ms; }
.tp-trainers__body:not(.is-pending) .tp-trainers__tab:nth-child(5) { animation-delay: 320ms; }
/* every time a panel is shown (hidden -> visible restarts these) */
.tp-trainers__body:not(.is-pending) .tp-trainers__panel:not([hidden]) { animation: tp-panel-in 500ms var(--ease-out) backwards; }
.tp-trainers__body:not(.is-pending) .tp-trainers__panel:not([hidden]) .tp-trainers__photo img { animation: tp-photo-settle 900ms var(--ease-out) backwards; }
.tp-trainers__body:not(.is-pending) .tp-trainers__panel:not([hidden]) .tp-trainers__chips li { animation: tp-row-in 400ms var(--ease-out) 200ms backwards; }

@media (max-width: 1279px) {
  .tp-trainers__panel { grid-template-columns: 1fr; }
  .tp-trainers__photo img { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 1023px) {
  .tp-trainers__body { grid-template-columns: 1fr; gap: var(--space-2); margin-top: var(--space-5); }
  .tp-trainers__list {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    margin: 0 calc(-1 * var(--gutter));
    padding: 4px var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tp-trainers__list::-webkit-scrollbar { display: none; }
  .tp-trainers__tab { padding: 10px 14px 10px 10px; }
  .tp-trainers__tab img { width: 40px; height: 40px; }
  .tp-trainers__tab strong { font-size: var(--text-body); }
  .tp-trainers__tab span span { font-size: 0.75rem; }
  .tp-trainers__chev { display: none; }
  .tp-trainers__panel { padding: var(--space-2); gap: var(--space-3); border-radius: var(--radius-xl); }
  .tp-trainers__photo img { aspect-ratio: 4 / 3; }
  .tp-trainers__quote p { font-size: var(--text-body); }
}

/* ==========================================================================
   FAQ – heading + call card left (sticky), accordion right
   ========================================================================== */
.tp-faq__inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: var(--space-10); align-items: start; }
.tp-faq__aside { position: sticky; top: calc(var(--nav-h-sticky) + var(--space-4)); }
.tp-faq__call { margin-top: var(--space-4); padding: 28px; border-radius: var(--radius-xl); background: var(--color-bg-cream); }
.tp-faq__call p { font-size: var(--text-body-lg); color: var(--color-text); }
.tp-faq__phone { margin-top: var(--space-2); height: 52px; background: var(--ink-950); color: var(--white); }
.tp-faq__phone:hover { background: var(--ink-800); }
.tp-faq__phone svg { width: 18px; height: 18px; fill: none; stroke: var(--color-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.tp-faq__list { border-top: 0; }
.tp-faq__item { border-bottom: 1px solid var(--color-border); }
.tp-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-2);
  list-style: none;
  cursor: pointer;
  font-size: var(--text-body-lg);
  line-height: 1.45;
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
}
.tp-faq__item summary::-webkit-details-marker { display: none; }
.tp-faq__item summary:focus-visible { outline: var(--focus-ring); outline-offset: -2px; border-radius: var(--radius-sm); }
.tp-faq__item summary i {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface-sunken);
  transition: background-color var(--duration-slow), transform var(--duration-slow) var(--ease-out);
}
.tp-faq__item summary i::before,
.tp-faq__item summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--ink-950);
  transition: transform var(--duration-slow) var(--ease-out);
}
.tp-faq__item summary i::after { transform: rotate(90deg); }
.tp-faq__item[open] summary i { background: var(--color-accent); }
.tp-faq__item[open] summary i::after { transform: rotate(0deg); }
.tp-faq__item summary:hover i { transform: scale(1.06); }
.tp-faq__answer { padding: 0 var(--space-2) var(--space-3); }
.tp-faq__answer p { max-width: 92%; font-size: var(--text-body-lg); line-height: 1.75; color: var(--color-text-secondary); }
/* smooth open/close where supported */
@supports (interpolate-size: allow-keywords) {
  .tp-faq__list { interpolate-size: allow-keywords; }
  .tp-faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size 450ms var(--ease-out), content-visibility 450ms allow-discrete; }
  .tp-faq__item[open]::details-content { block-size: auto; }
}

/* FAQ motion */
.tp-faq .is-pending :is(.tp-section__eyebrow, .tp-section__title, .tp-faq__call, .tp-faq__item) { opacity: 0; }
.tp-faq__aside:not(.is-pending) > * { animation: tp-sec-rise 700ms var(--ease-out) backwards; }
.tp-faq__aside:not(.is-pending) > :nth-child(2) { animation-delay: 100ms; }
.tp-faq__aside:not(.is-pending) > :nth-child(3) { animation-delay: 220ms; }
.tp-faq__list:not(.is-pending) .tp-faq__item { animation: tp-row-in 500ms var(--ease-out) backwards; }
.tp-faq__list:not(.is-pending) .tp-faq__item:nth-child(2) { animation-delay: 60ms; }
.tp-faq__list:not(.is-pending) .tp-faq__item:nth-child(3) { animation-delay: 120ms; }
.tp-faq__list:not(.is-pending) .tp-faq__item:nth-child(4) { animation-delay: 180ms; }
.tp-faq__list:not(.is-pending) .tp-faq__item:nth-child(5) { animation-delay: 240ms; }
.tp-faq__list:not(.is-pending) .tp-faq__item:nth-child(6) { animation-delay: 300ms; }
.tp-faq__list:not(.is-pending) .tp-faq__item:nth-child(7) { animation-delay: 360ms; }
.tp-faq__list:not(.is-pending) .tp-faq__item:nth-child(8) { animation-delay: 420ms; }
.tp-faq__list:not(.is-pending) .tp-faq__item:nth-child(9) { animation-delay: 480ms; }
.tp-faq__list:not(.is-pending) .tp-faq__item:nth-child(10) { animation-delay: 540ms; }

@media (max-width: 1023px) {
  .tp-faq__inner { grid-template-columns: 1fr; gap: var(--space-4); }
  .tp-faq__aside { position: static; }
  .tp-faq__call { margin-top: var(--space-3); padding: var(--space-3); }
  .tp-faq__item summary { padding: 20px 4px; font-size: var(--text-body); }
  .tp-faq__item summary i { width: 34px; height: 34px; }
  .tp-faq__answer { padding: 0 4px 20px; }
  .tp-faq__answer p { max-width: none; font-size: var(--text-body); }
}

/* ==========================================================================
   Ready to start – dark band over a dimmed office photo, lead form card
   ========================================================================== */
.tp-cta { position: relative; isolation: isolate; overflow: clip; }
.tp-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../banner-one.webp") center / cover no-repeat;
  opacity: .14;
  animation: tp-kenburns 24s ease-in-out infinite alternate;
}
.tp-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(13, 15, 20, .55), var(--ink-950) 75%); }
@keyframes tp-kenburns { from { transform: scale(1); } to { transform: scale(1.12) translateX(-2%); } }

.tp-cta__inner { display: grid; justify-items: center; text-align: center; }
.tp-cta__copy { max-width: 820px; }
.tp-cta__copy .tp-section__lead { margin-left: auto; margin-right: auto; }
.tp-cta__actions { justify-content: center; }
.tp-cta__title { font-size: clamp(2.125rem, 1.55rem + 2.4vw, 3.625rem); line-height: 1.1; }
.tp-cta__copy .tp-section__lead { max-width: 560px; font-size: var(--text-lead); }
.tp-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.tp-cta__wa svg { width: 20px; height: 20px; fill: none; stroke: #25d366; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.tp-cta__card { padding: 44px; border-radius: 24px; background: var(--white); color: var(--color-text); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.tp-cta__form-title { font-family: inherit; font-size: clamp(1.375rem, 1.21rem + .6vw, 1.75rem); line-height: 1.2; font-weight: var(--weight-bold); color: var(--color-heading); }
.tp-cta__form-title .tp-mark { color: var(--gold-700); }
.tp-cta__form-sub { margin-top: var(--space-1); font-size: var(--text-body); line-height: 1.6; color: var(--color-text-secondary); }
#heroEnrollForm { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.tp-field { display: grid; gap: 8px; }
.tp-field label { font-size: var(--text-body-sm); font-weight: var(--weight-semibold); color: var(--color-heading); }
.tp-field label span { color: var(--color-error); }
.tp-field input,
.tp-field__tel {
  width: 100%;
  height: 54px;
  padding: 0 var(--space-2);
  border: 1.5px solid var(--color-border-control);
  border-radius: var(--radius-md);
  background: var(--white);
  font: inherit;
  font-size: var(--text-body);
  color: var(--color-heading);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.tp-field input:focus { outline: none; border-color: var(--gold-600); box-shadow: 0 0 0 4px rgba(243, 189, 0, .2); }
.tp-field__tel { display: flex; align-items: stretch; padding: 0; overflow: hidden; }
.tp-field__tel span { display: grid; place-items: center; padding: 0 var(--space-2); border-right: 1.5px solid var(--color-border-control); background: var(--color-bg-alt); font-weight: var(--weight-semibold); white-space: nowrap; }
.tp-field__tel input { height: 100%; border: 0; border-radius: 0; box-shadow: none !important; }
.tp-field__tel:focus-within { border-color: var(--gold-600); box-shadow: 0 0 0 4px rgba(243, 189, 0, .2); }
.tp-field input.error, .tp-field__tel:has(input.error) { border-color: var(--color-error); }
.tp-cta .field-error { display: none; margin: 0; font-size: var(--text-caption); color: var(--color-error); }
.tp-cta .field-error.show { display: block; }
.tp-consent { display: flex; align-items: flex-start; gap: var(--space-1-5); font-size: var(--text-caption); line-height: 1.55; color: var(--color-text-secondary); cursor: pointer; }
.tp-consent input { flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink-950); }
.tp-cta__submit { width: 100%; margin-top: var(--space-1); box-shadow: var(--shadow-gold); }
.tp-cta__submit:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.tp-cta__submit.loading { opacity: .7; pointer-events: none; }
.tp-otp { display: flex; gap: var(--space-1-5); margin-top: var(--space-3); }
.tp-otp input { width: 56px; height: 60px; border: 1.5px solid var(--color-border-control); border-radius: var(--radius-md); font: inherit; font-size: 1.5rem; font-weight: var(--weight-bold); text-align: center; color: var(--color-heading); }
.tp-otp input:focus { outline: none; border-color: var(--gold-600); box-shadow: 0 0 0 4px rgba(243, 189, 0, .2); }
.tp-otp input.error { border-color: var(--color-error); }
.tp-otp__err { margin-top: var(--space-1) !important; }
#hfcVerifyBtn { margin-top: var(--space-3); }
.tp-cta__resend { margin-top: var(--space-2); font-size: var(--text-body-sm); color: var(--color-text-secondary); }
.tp-cta__resend a { font-weight: var(--weight-semibold); color: var(--color-heading); }

/* CTA motion */
.tp-cta .is-pending:is(.tp-cta__card), .tp-cta .is-pending :is(.tp-section__eyebrow, .tp-section__title, .tp-section__lead, .tp-cta__actions) { opacity: 0; }
.tp-cta__copy:not(.is-pending) > * { animation: tp-sec-rise 700ms var(--ease-out) backwards; }
.tp-cta__copy:not(.is-pending) > :nth-child(2) { animation-delay: 100ms; }
.tp-cta__copy:not(.is-pending) > :nth-child(3) { animation-delay: 200ms; }
.tp-cta__copy:not(.is-pending) > :nth-child(4) { animation-delay: 320ms; }
.tp-cta__card:not(.is-pending) { animation: tp-from-right 850ms var(--ease-out) 150ms backwards; }

@media (max-width: 1023px) {
  .tp-cta__inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .tp-cta::after { background: linear-gradient(180deg, var(--ink-950) 25%, rgba(13, 15, 20, .7)); }
  .tp-cta__card { padding: var(--space-3); border-radius: var(--radius-xl); }
}
@media (max-width: 600px) {
  .tp-cta__actions .tp-btn { width: 100%; height: 48px; }
  .tp-otp input { width: 52px; }
}

/* Reduced motion for the sections above */
@media (prefers-reduced-motion: reduce) {
  .tp-bento *, .tp-trainers *, .tp-faq *, .tp-cta *, .tp-cta::before { animation: none !important; }
  .tp-bento .is-pending *, .tp-trainers .is-pending *, .tp-faq .is-pending *, .tp-cta .is-pending, .tp-cta .is-pending * { opacity: 1 !important; }
  .tp-bento .is-pending .tp-bars span { transform: none; }
  .tp-bento .tp-mark, .tp-trainers .tp-mark, .tp-faq .tp-mark, .tp-cta .tp-mark { background: none; color: var(--color-accent); }
  .tp-bento__card:hover { transform: none; }
  .tp-faq__item::details-content { transition: none; }
}

/* ==========================================================================
   Award line – trophy icon + the second heading line (still part of the h2)
   ========================================================================== */
.tp-compare__title .tp-award {
  font-size: clamp(1.0625rem, 1.02rem + .19vw, 1.25rem); /* 17→20px */
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: .4em;
  margin-top: var(--space-1-5);
  text-align: left;
}
.tp-award__icon {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  margin-top: .12em;
  fill: none;
  stroke: var(--gold-600);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes tp-trophy-in { 0% { opacity: 0; transform: translateY(6px) rotate(-12deg) scale(.6); } 60% { transform: rotate(6deg) scale(1.08); } }
.tp-compare__intro:not(.is-pending) .tp-award__icon { animation: tp-trophy-in 700ms var(--ease-out) 450ms backwards; }
@media (prefers-reduced-motion: reduce) {
  .tp-award__icon { animation: none !important; }
}

/* Programs → Our solution: both sit on the same light ground, so their section
   padding was stacking into a very large gap. */
.tp-programs { padding-bottom: var(--space-4); }
.tp-programs + .tp-solution, .tp-programs ~ .tp-solution { padding-top: var(--space-6); }
@media (max-width: 767px) {
  .tp-programs { padding-bottom: var(--space-2); }
  .tp-programs ~ .tp-solution { padding-top: var(--space-4); }
}

/* Trainer technical expertise: logo tiles (name in the tooltip / alt text) */
.tp-trainers__chips li { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid transparent; border-radius: var(--radius-sm); background: var(--white); }
.tp-trainers__chips li img { display: block; width: 28px; height: 28px; object-fit: contain; }
.tp-trainers__chips li.is-ai { border-color: var(--color-accent); background: var(--white); }

/* Trainers: shorter card (tighter padding/gaps, smaller photo, compact tabs) */
.tp-trainers__body { margin-top: var(--space-6); }
.tp-trainers__tab { padding: 10px 16px; }
.tp-trainers__tab img { width: 48px; height: 48px; }
.tp-trainers__panel { align-items: start; gap: var(--space-4); height: auto; padding: var(--space-3); }
.tp-trainers__photo img { min-height: 0; height: auto; aspect-ratio: 4 / 4.2; }
.tp-trainers__quote { margin-top: var(--space-2); }
.tp-trainers__quote p { font-size: var(--text-body); line-height: 1.6; }
.tp-trainers__label { margin-top: var(--space-3); }
@media (max-width: 1023px) { .tp-trainers__photo img { aspect-ratio: 16 / 10; } }
@media (max-width: 767px) { .tp-trainers__photo img { aspect-ratio: 4 / 3; } }

/* ==========================================================================
   All programs page (our-programs.html): 3-column card grid (2 on tablet,
   1 on phone), help band and corporate link. Cards reuse .program-card.
   ========================================================================== */
.tp-allprogs__intro { max-width: 780px; }
.tp-allprogs__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.tp-allprogs__list .program-card { width: auto; }
.tp-allprogs__help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--gold-50);
}
.tp-allprogs__help-title { font-size: var(--text-h3, 1.25rem); font-weight: var(--weight-bold); color: var(--color-heading); }
.tp-allprogs__help-text { margin-top: 4px; color: var(--color-text-secondary); }
.tp-allprogs__help-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); flex: none; }
.tp-allprogs__corp { margin-top: var(--space-3); text-align: center; color: var(--color-text-secondary); }
@media (max-width: 1279px) {
  .tp-allprogs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
}
@media (max-width: 767px) {
  .tp-allprogs__list { grid-template-columns: minmax(0, 1fr); margin-top: var(--space-4); }
  .tp-allprogs__help { flex-direction: column; align-items: stretch; padding: var(--space-3); }
  .tp-allprogs__help-actions .tp-btn { flex: 1 1 100%; justify-content: center; }
}

/* Trainers on phones: no tab list; panels swipe like the testimonials */
.tp-trainers__controls { display: none; }
@media (max-width: 767px) {
  .tp-trainers__list { display: none; }
  .tp-trainers__panels {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .tp-trainers__panels::-webkit-scrollbar { display: none; }
  .tp-trainers__panels > .tp-trainers__panel,
  .tp-trainers__panels > .tp-trainers__panel[hidden] { display: grid; flex: 0 0 100%; scroll-snap-align: start; }
  .tp-trainers__controls { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); order: -1; }
  .tp-trainers .tp-dot { background: rgba(255, 255, 255, .25); }
  .tp-trainers .tp-dot[aria-current] { background: var(--color-accent); }
  .tp-trainers .tp-carousel-btn { border-color: var(--white); color: var(--white); }
  .tp-trainers .tp-carousel-btn:hover:not(:disabled) { background: var(--color-accent); color: var(--ink-950); }
  .tp-trainers__controls [hidden] { display: none; }
}
