/* ==========================================================================
   Program page sections (V2). Load after home-sections.css, which supplies
   the shared section shell (.tp-section, eyebrow, title, lead, .tp-mark) and
   the sections reused as-is from the homepage: testimonials (.tp-stories),
   trainers (.tp-trainers), FAQ (.tp-faq) and the closing CTA (.tp-cta).
   Sections below are in page order.
   ========================================================================== */

/* Tighter vertical rhythm than the homepage (tokens give 104px / 64px) */
.tp-section { padding-block: var(--space-10); }
@media (max-width: 767px) { .tp-section { padding-block: var(--space-6); } }

/* ---------- Shared: heading block, same layout as the homepage heads ---------- */
.tp-section :where(h3, ol) { margin: 0; padding: 0; }
.tp-section :where(ol) { list-style: none; }

.tp-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
.tp-section-head .tp-section__lead { max-width: 460px; margin: 0; }
.tp-section-head--solo { display: block; max-width: 860px; }
.tp-section-head:not(.is-pending) > div > *,
.tp-section-head--solo:not(.is-pending) > * { animation: tp-sec-rise 700ms var(--ease-out) backwards; }
.tp-section-head:not(.is-pending) > div > :nth-child(2),
.tp-section-head--solo:not(.is-pending) > :nth-child(2) { animation-delay: 100ms; }
.tp-section-head:not(.is-pending) > .tp-section__lead,
.tp-section-head:not(.is-pending) > div:last-child:not(:first-child) { animation: tp-sec-rise 700ms var(--ease-out) 250ms backwards; }
.tp-section-head:not(.is-pending) > div:last-child:not(:first-child) > * { animation: none; }

/* Blocks marked data-tp-reveal fade up (js/reveal.js toggles .is-pending) */
.tp-section .is-pending:not(.tp-section-head) { opacity: 0; transform: translateY(24px); }
tion { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }

/* Small labels: "AI" (outlined gold) and "Career Booster" (dark) */
.tp-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: var(--radius-xs);
  font-size: 11px;
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tp-badge--ai { border: 1px solid var(--color-accent); color: var(--color-accent-text); background: var(--color-accent-soft); }
.tp-badge--boost { background: var(--ink-950); color: var(--gold-400); }

/* ==========================================================================
   Curriculum – 3 track cards + month ruler, module list + dark detail card
   ========================================================================== */
.tp-curr__tracks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
}
.tp-curr__track {
  position: relative;
  display: grid;
  gap: 6px;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
  font-family: inherit;
  text-align: left;
  color: var(--color-heading);
  cursor: pointer;
  overflow: hidden;
  transition: background-color 600ms var(--ease-out), border-color 600ms var(--ease-out), color 600ms var(--ease-out);
}
.tp-curr__track::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms var(--ease-out);
}
.tp-curr__track:hover { border-color: var(--color-border-strong); }
.tp-curr__track[aria-selected="true"] { background: var(--ink-950); border-color: var(--ink-950); color: var(--white); }
.tp-curr__track[aria-selected="true"]::before { transform: scaleX(1); }
.tp-curr__track:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
.tp-curr__track-kicker {
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}
.tp-curr__track[aria-selected="true"] .tp-curr__track-kicker { color: var(--gray-400); }
.tp-curr__track-name { font-size: var(--text-h3); line-height: var(--leading-h3); font-weight: var(--weight-bold); }
.tp-curr__track-meta { font-size: var(--text-caption); color: var(--color-text-secondary); }
.tp-curr__track[aria-selected="true"] .tp-curr__track-meta { color: var(--gray-400); }

.tp-curr__months {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  margin-top: var(--space-1-5);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  text-align: center;
  color: var(--color-text-muted);
}

.tp-curr__panel { margin-top: var(--space-4); }
.tp-curr__panel[hidden] { display: none; }
.tp-curr__panel:not([hidden]) { animation: tp-sec-rise 500ms var(--ease-out); }
.tp-curr__track-lead { font-size: var(--text-body-lg); line-height: 1.6; color: var(--color-text); }
.tp-curr__track-lead strong { font-weight: var(--weight-bold); color: var(--color-heading); }

.tp-curr__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 9fr);
  gap: var(--space-4);
  align-items: start;
  margin-top: var(--space-3);
}
.tp-curr__mods {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow: hidden;
}
.tp-curr__mods > li + li { border-top: 1px solid var(--color-border); }
.tp-curr__mod {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-1-5);
  width: 100%;
  padding: 14px var(--space-2);
  border: 0;
  background: transparent;
  font-family: inherit;
  text-align: left;
  color: var(--color-heading);
  cursor: pointer;
  transition: background-color 600ms var(--ease-out);
}
.tp-curr__mod:hover { background: var(--color-bg-alt); }
.tp-curr__mod[aria-selected="true"] { background: var(--gold-50); }
.tp-curr__mod:focus-visible { outline: var(--focus-ring); outline-offset: -2px; }
.tp-curr__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  font-size: var(--text-caption);
  font-weight: var(--weight-bold);
  color: var(--color-heading);
  transition: background-color 600ms var(--ease-out);
}
.tp-curr__num .tp-ico { width: 18px; height: 18px; }
.tp-curr__mod[aria-selected="true"] .tp-curr__num { background: var(--color-accent); color: var(--color-on-accent); }
.tp-curr__num--project { background: var(--ink-950); color: var(--gold-400); }
.tp-curr__mod-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: var(--text-body);
  line-height: 1.35;
  font-weight: var(--weight-semibold);
}
.tp-curr__mod-count { font-size: var(--text-caption); color: var(--color-text-muted); white-space: nowrap; }
.tp-curr__mod--project .tp-curr__mod-count { color: var(--color-accent-text); font-weight: var(--weight-semibold); }

/* Detail card (dark). Desktop: right column, sticky. Phone: moved under the open module. */
.tp-curr__details { position: sticky; top: 140px; }
.tp-curr__detail {
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  background: var(--ink-950);
  color: var(--gray-400);
}
.tp-curr__detail[hidden] { display: none; }
.tp-curr__detail:not([hidden]) { animation: tp-sec-rise 450ms var(--ease-out); }
.tp-curr__detail-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1-5); font-size: var(--text-caption); }
.tp-curr__detail-badge {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  font-weight: var(--weight-bold);
  color: var(--ink-950);
}
.tp-curr__detail-title {
  margin-top: var(--space-3);
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  letter-spacing: var(--tracking-h2);
  font-weight: var(--weight-bold);
  color: var(--white);
}
.tp-curr__detail-desc { margin-top: var(--space-2); font-size: var(--text-body-lg); line-height: 1.7; }
.tp-curr__topics-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(--gold-500);
}
.tp-curr__topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px var(--space-4);
  margin-top: var(--space-2);
}
.tp-curr__topics li { display: flex; gap: 10px; font-size: var(--text-body-sm, 15px); line-height: 1.5; color: var(--gray-200, #e5e7eb); }
.tp-curr__topics .tp-ico { width: 16px; height: 16px; margin-top: 3px; color: var(--gold-500); }

.tp-curr__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  color: var(--color-text-secondary);
}

/* ==========================================================================
   Soft skills track – 5 × 2 cards on cream
   ========================================================================== */
.tp-soft { background: var(--color-bg-cream); }
.tp-soft__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-2); }
.tp-soft__list li {
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  transition: transform 600ms var(--ease-out), box-shadow 600ms var(--ease-out);
}
.tp-soft__list li:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -20px rgba(13,15,20,.3); }
.tp-soft__num { font-family: Georgia, serif; font-style: italic; font-size: 1.75rem; line-height: 1; color: var(--color-accent-text); }
.tp-soft__title { margin-top: var(--space-2); font-size: var(--text-h4); line-height: 1.3; font-weight: var(--weight-bold); color: var(--color-heading); }
.tp-soft__desc { margin-top: 6px; font-size: var(--text-body-sm, 15px); line-height: 1.6; color: var(--color-text-secondary); }
.tp-soft__note {
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-3);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--color-surface);
  line-height: 1.6;
}
.tp-soft__note strong { font-weight: var(--weight-semibold); color: var(--color-heading); }

/* ==========================================================================
   Tech stack – category rows of compact tool chips
   ========================================================================== */
.tp-stack { background: var(--color-bg-alt); }
.tp-stack__row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-border);
}
.tp-stack__row:last-child { padding-bottom: 0; }
.tp-stack__cat { display: grid; gap: 4px; font-size: var(--text-h4); font-weight: var(--weight-bold); color: var(--color-heading); }
.tp-stack__cat span { font-size: var(--text-caption); font-weight: var(--weight-regular); color: var(--color-text-secondary); }
.tp-stack__tools { display: flex; flex-wrap: nowrap; gap: var(--space-1); }
.tp-stack__tools li {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md, 12px);
  background: var(--color-surface);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  white-space: nowrap;
  color: var(--color-heading);
  transition: transform 600ms var(--ease-out), border-color 600ms var(--ease-out);
}
.tp-stack__tools li:hover { transform: translateY(-2px); border-color: var(--color-accent); }
.tp-stack__tools img { width: 24px; height: 24px; object-fit: contain; }

/* ==========================================================================
   Prompt kit – gold banner card
   ========================================================================== */
.tp-kit { padding-bottom: 0; }
.tp-kit__card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-8) var(--space-8) 0;
  border-radius: var(--radius-xl);
  background: var(--color-accent);
  overflow: hidden;
}
.tp-kit__copy { padding-bottom: var(--space-8); }
.tp-kit__tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink-950);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  color: var(--gold-400);
}
.tp-kit__title { margin-top: var(--space-2); font-size: var(--text-h2); line-height: var(--leading-h2); letter-spacing: var(--tracking-h2); font-weight: var(--weight-bold); color: var(--ink-950); }
.tp-kit__text { margin-top: var(--space-2); max-width: 560px; font-size: var(--text-body-lg); line-height: 1.6; color: var(--ink-900); }
.tp-kit__btn { margin-top: var(--space-4); border-color: var(--ink-950); background: var(--ink-950); color: var(--white); }
.tp-kit__btn:hover { background: var(--ink-800, #1f2229); }
.tp-kit__btn .tp-ico { color: var(--gold-400); }
.tp-kit__img { align-self: end; width: 100%; height: auto; max-height: 360px; object-fit: contain; object-position: bottom; }

/* ==========================================================================
   Projects – 3-column cards with screenshot, badge and big number
   ========================================================================== */
.tp-projects__legend { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); font-size: var(--text-body); font-weight: var(--weight-semibold); color: var(--color-heading); }
.tp-projects__legend li { display: flex; align-items: center; gap: 8px; }
.tp-projects__legend li::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--color-border-strong); border-radius: 4px; }
.tp-projects__legend li.is-industry::before { border-color: var(--color-accent); background: var(--color-accent); }
.tp-projects__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.tp-project {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  overflow: hidden;
  transition: transform 600ms var(--ease-out), box-shadow 600ms var(--ease-out);
}
.tp-project:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(13,15,20,.35); }
.tp-project__media { position: relative; aspect-ratio: 2 / 1; background: var(--ink-900); overflow: hidden; }
.tp-project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.tp-project:hover .tp-project__media img { transform: scale(1.05); }
.tp-project__badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  color: var(--ink-950);
}
.tp-project__badge--practice { background: var(--white); }
.tp-project__num {
  position: absolute;
  top: 10px;
  right: var(--space-2);
  font-size: 3rem;
  line-height: 1;
  font-weight: var(--weight-bold);
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.tp-project__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-3); }
.tp-project__title { font-size: var(--text-h3); line-height: var(--leading-h3); font-weight: var(--weight-bold); color: var(--color-heading); }
.tp-project__desc { margin-top: var(--space-1); font-size: var(--text-body-sm, 15px); line-height: 1.65; color: var(--color-text-secondary); }
.tp-project__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: var(--space-2); }
.tp-project__tags li { padding: 6px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: var(--text-caption); font-weight: var(--weight-semibold); color: var(--color-heading); }

/* ==========================================================================
   Who is this for – cream band, 4 cards; hovered card turns dark
   ========================================================================== */
.tp-who { background: var(--color-bg-alt); }
.tp-who__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); align-items: start; }
.tp-who__head { position: sticky; top: 140px; }
.tp-who__head .tp-section__lead { max-width: 380px; margin-top: var(--space-2); }
.tp-who__list { display: grid; border-top: 1px solid var(--color-border); }
.tp-who__row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-2); padding: var(--space-4) 0; border-bottom: 1px solid var(--color-border); }
.tp-who__num { font-size: var(--text-h2); line-height: 1; font-weight: var(--weight-bold); color: var(--color-accent-text); }
.tp-who__body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); column-gap: var(--space-4); row-gap: var(--space-2); align-items: start; }
.tp-who__line { grid-column: 1; grid-row: 1 / span 2; display: grid; gap: 8px; align-content: start; }
.tp-who__title { font-size: var(--text-h3); line-height: var(--leading-h3); font-weight: var(--weight-bold); color: var(--color-heading); }
.tp-who__badge { font-size: var(--text-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; font-weight: var(--weight-semibold); color: var(--color-text-secondary); }
.tp-who__desc { grid-column: 2; grid-row: 1; margin: 0; font-size: var(--text-body); line-height: 1.65; color: var(--color-text-secondary); }
.tp-who__tags { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; gap: 8px var(--space-2); }
.tp-who__tags li { display: flex; align-items: center; gap: 8px; font-size: var(--text-caption); font-weight: var(--weight-semibold); color: var(--color-heading); }
.tp-who__tags li::before { content: ""; width: 12px; height: 12px; background: var(--color-accent-text); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ==========================================================================
   Daily session + Experience portal – one dark band
   ========================================================================== */
.tp-portal { background: var(--gray-100); }
.tp-sprint__bar { display: flex; justify-content: space-between; margin-top: var(--space-6); font-size: var(--text-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; font-weight: var(--weight-bold); color: var(--color-text-secondary); }
.tp-sprint__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-3); margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.tp-sprint__step { position: relative; padding-top: var(--space-5); display: flex; flex-direction: column; align-items: flex-start; }
.tp-sprint__step::before { content: ""; position: absolute; left: 0; top: 0; z-index: 1; width: 20px; height: 20px; box-sizing: border-box; border: 3px solid var(--color-accent); border-radius: 50%; background: var(--ink-950); }
.tp-sprint__step::after { content: ""; position: absolute; left: 20px; right: calc(-1 * var(--space-3)); top: 9px; height: 2px; background: var(--color-accent); }
.tp-sprint__step:last-child::after { content: none; }
.tp-sprint__n { font-size: var(--text-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; font-weight: var(--weight-bold); color: var(--color-accent); }
.tp-sprint__step h3 { margin: var(--space-1-5) 0 0; font-size: var(--text-h3); line-height: 1.25; font-weight: var(--weight-bold); color: var(--white); }
.tp-sprint__step p { margin: var(--space-1) 0 var(--space-2); font-size: var(--text-body-sm, 15px); line-height: 1.6; color: var(--color-text-secondary); }
.tp-sprint__chip { margin-top: auto; padding: 6px 12px; border-radius: var(--radius-xs); background: var(--ink-800); font-size: var(--text-caption); font-weight: var(--weight-semibold); color: var(--white); }

.tp-portal__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-6); align-items: center; }
.tp-portal__copy .tp-section__lead { margin-top: var(--space-3); }
.tp-portal__features { margin-top: 0; }
.tp-portal__features li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-2); padding: var(--space-3) 0; border-top: 1px solid var(--color-border); }
.tp-portal__features li:first-child { border-top: 0; padding-top: 0; }
.tp-portal__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--color-accent); color: var(--ink-950); }
.tp-portal__ico .tp-ico { width: 22px; height: 22px; }
.tp-portal__features h3 { font-size: var(--text-h4); font-weight: var(--weight-bold); color: var(--color-heading); }
.tp-portal__features p { margin-top: 6px; line-height: 1.6; color: var(--color-text-secondary); }

.tp-portal__video { overflow: hidden; }
.tp-portal__video video { display: block; width: 100%; height: auto; }
.tp-portal__mock { border: 1px solid var(--ink-700); border-radius: var(--radius-xl); background: var(--ink-900); overflow: hidden; font-size: 13px; color: var(--gray-400); }
.tp-portal__bar { display: flex; align-items: center; gap: 8px; padding: 14px var(--space-2); border-bottom: 1px solid var(--ink-700); }
.tp-portal__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-600); }
.tp-portal__bar span { margin-left: var(--space-2); }
.tp-portal__app { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 440px; }
.tp-portal__nav { display: grid; align-content: start; gap: 4px; padding: var(--space-2); border-right: 1px solid var(--ink-700); }
.tp-portal__nav li { padding: 10px 12px; border-radius: var(--radius-sm); }
.tp-portal__nav .is-active { background: rgba(243,189,0,.12); font-weight: var(--weight-semibold); color: var(--gold-500); }
.tp-portal__main { display: grid; gap: var(--space-2); padding: var(--space-2); }
.tp-portal__board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tp-portal__board > div { display: grid; align-content: start; gap: 8px; padding: 12px; border-radius: var(--radius-md); background: var(--ink-850, #15171d); }
.tp-portal__board p { font-size: 11px; font-weight: var(--weight-bold); letter-spacing: .06em; text-transform: uppercase; color: var(--gray-400); }
.tp-portal__board span { display: grid; gap: 2px; padding: 8px 10px; border: 1px solid transparent; border-radius: var(--radius-sm); background: var(--ink-750, #23262e); line-height: 1.35; color: var(--white); }
.tp-portal__board b { font-family: ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 500; color: var(--gold-500); }
.tp-portal__board .is-active { border-color: var(--color-accent); }
.tp-portal__board .is-done { color: var(--gray-400); }
.tp-portal__lower { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px; }
.tp-portal__code,
.tp-portal__radar { padding: 12px; border-radius: var(--radius-md); background: var(--ink-850, #15171d); }
.tp-portal__code p,
.tp-portal__radar p { font-size: 11px; font-weight: var(--weight-bold); letter-spacing: .06em; text-transform: uppercase; }
.tp-portal__code code { display: block; margin-top: 8px; padding: 2px 6px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--white); }
.tp-portal__code code i { margin-right: 8px; font-style: normal; color: var(--gray-500, #6b7280); }
.tp-portal__code .is-flag { background: rgba(243,189,0,.12); }
.tp-portal__comment { margin: 10px 0 0 var(--space-2); padding: 10px 12px; border-radius: var(--radius-sm); background: var(--ink-750, #23262e); color: var(--white); }
.tp-portal__comment b { color: var(--gold-500); }
.tp-portal__radar { display: grid; justify-items: center; align-content: start; gap: 10px; color: var(--gray-400); }
.tp-portal__radar p { justify-self: start; }
.tp-portal__radar svg { width: 100%; max-width: 150px; color: var(--gray-400); }
.tp-portal__radar-fill { fill: rgba(243,189,0,.25); stroke: var(--color-accent); stroke-width: 2; }
.tp-portal__streak { display: flex; gap: 3px; }
.tp-portal__streak i { width: 8px; height: 8px; background: var(--ink-600); }
.tp-portal__streak .on { background: var(--color-accent); }

/* ==========================================================================
   Roles – 4-column chips; AI roles dark
   ========================================================================== */
.tp-roles__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.tp-roles__grid li {
  display: flex;
  align-items: center;
  gap: var(--space-1-5);
  padding: 22px var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
  transition: transform 600ms var(--ease-out), border-color 600ms var(--ease-out);
}
.tp-roles__grid li:hover { transform: translateY(-3px); border-color: var(--color-accent); }
.tp-roles__grid .tp-ico { width: 20px; height: 20px; color: var(--color-accent-text); }
.tp-roles__grid .is-ai { border-color: var(--ink-950); background: var(--ink-950); color: var(--white); }
.tp-roles__grid .is-ai .tp-ico { color: var(--gold-500); fill: var(--gold-500); }

/* ==========================================================================
   What's included – vertical tabs + panel with checklist and photo
   ========================================================================== */
.tp-incl { background: var(--color-bg-alt); }
.tp-incl__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 11fr); gap: var(--space-3); align-items: start; }
.tp-incl__list { display: grid; gap: 12px; }
.tp-incl__tab {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  font-family: inherit;
  text-align: left;
  color: var(--color-heading);
  cursor: pointer;
  transition: background-color 600ms var(--ease-out), border-color 600ms var(--ease-out), color 600ms var(--ease-out);
}
.tp-incl__tab:hover { border-color: var(--color-border-strong); }
.tp-incl__tab strong { font-size: var(--text-h4); font-weight: var(--weight-semibold); }
.tp-incl__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--color-bg-alt); font-weight: var(--weight-bold); }
.tp-incl__count { font-size: var(--text-caption); color: var(--color-text-secondary); }
.tp-incl__tab[aria-selected="true"] { border-color: var(--ink-950); background: var(--ink-950); color: var(--white); }
.tp-incl__tab[aria-selected="true"] .tp-incl__num { background: var(--color-accent); color: var(--ink-950); }
.tp-incl__tab[aria-selected="true"] .tp-incl__count { color: var(--gray-400); }
.tp-incl__tab:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
.tp-incl__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
}
.tp-incl__panel[hidden] { display: none; }
.tp-incl__panel:not([hidden]) { animation: tp-sec-rise 500ms var(--ease-out); }
.tp-incl__copy h3 { font-size: var(--text-h3); line-height: var(--leading-h3); font-weight: var(--weight-bold); color: var(--color-heading); }
.tp-incl__copy ul { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.tp-incl__copy li { display: flex; align-items: center; gap: 12px; font-size: var(--text-body-lg); color: var(--color-text); }
.tp-incl__copy .tp-ico { flex-shrink: 0; width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--color-accent); stroke-width: 3; color: var(--ink-950); }
.tp-incl__panel img { width: 100%; height: 100%; min-height: 320px; max-height: 480px; border-radius: var(--radius-lg); object-fit: cover; }

/* ==========================================================================
   Hiring partners – copy left, logo grid right
   ========================================================================== */
.tp-partners__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-8); align-items: center; }
.tp-partners__copy .tp-section__lead { margin-top: var(--space-3); max-width: 460px; }
.tp-partners__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--color-border); border-left: 1px solid var(--color-border); }
.tp-partners__grid li {
  display: grid;
  place-items: center;
  height: 120px;
  padding: var(--space-2);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transition: background-color 600ms var(--ease-out);
}
.tp-partners__grid li:hover { background: var(--color-bg-alt); }
.tp-partners__grid img { width: auto; max-width: 100%; max-height: 44px; object-fit: contain; transition: transform 600ms var(--ease-out); }
.tp-partners__grid li:hover img { transform: scale(1.06); }

/* Trainers section is the homepage one; only its anchor offset differs */
#trainer, #testimonials, #faq { scroll-margin-top: 130px; }

/* ==========================================================================
   Gallery – photo mosaic (tall, 2 stacked, tall, tall, 2 stacked)
   ========================================================================== */
.tp-gallery__grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  grid-template-areas: "a b d e f" "a c d e g";
  gap: var(--space-2);
}
.tp-gallery__grid li { overflow: hidden; border-radius: var(--radius-xl); background: var(--color-bg-alt); }
.tp-gallery__grid li:nth-child(1) { grid-area: a; }
.tp-gallery__grid li:nth-child(2) { grid-area: b; }
.tp-gallery__grid li:nth-child(3) { grid-area: c; }
.tp-gallery__grid li:nth-child(4) { grid-area: d; }
.tp-gallery__grid li:nth-child(5) { grid-area: e; }
.tp-gallery__grid li:nth-child(6) { grid-area: f; }
.tp-gallery__grid li:nth-child(7) { grid-area: g; }
.tp-gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.tp-gallery__grid li:hover img { transform: scale(1.06); }

/* ==========================================================================
   Certifications – two framed certificate cards
   ========================================================================== */
.tp-certs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.tp-cert { padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-bg-alt); }
.tp-cert__frame { padding: var(--space-3); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: 0 16px 40px -28px rgba(13,15,20,.35); overflow: hidden; }
.tp-cert__frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; transition: transform 900ms var(--ease-out); }
.tp-cert:hover .tp-cert__frame img { transform: scale(1.03) rotate(-.6deg); }
.tp-cert__meta { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-3); }
.tp-cert__logo { display: grid; place-items: center; flex-shrink: 0; width: 72px; height: 72px; padding: 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.tp-cert__logo--dark { border-color: var(--ink-950); background: var(--ink-950); }
.tp-cert__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tp-cert__meta h3 { font-size: var(--text-h3); font-weight: var(--weight-bold); color: var(--color-heading); }
.tp-cert__meta p { margin-top: 4px; color: var(--color-text-secondary); }

/* ==========================================================================
   Motion off
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .tp-section-head > div > *, .tp-section-head--solo > *, .tp-section-head > .tp-section__lead,
  .tp-curr__panel, .tp-curr__detail, .tp-incl__panel { animation: none !important; }
  .tp-section [data-tp-reveal] { transition: none; }
  .tp-section .is-pending { opacity: 1; transform: none; }
}

/* ==========================================================================
   Laptop / tablet
   ========================================================================== */
@media (max-width: 1279px) {
  .tp-section-head { gap: var(--space-5); }
  .tp-stack__row { grid-template-columns: 200px minmax(0, 1fr); }
  .tp-stack__tools { flex-wrap: wrap; }
  .tp-soft__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tp-roles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tp-portal__inner { gap: var(--space-5); }
}

@media (max-width: 1023px) {
  .tp-section-head { grid-template-columns: 1fr; gap: var(--space-2); margin-bottom: var(--space-6); }
  .tp-section-head .tp-section__lead { margin: 0; }
  .tp-curr__grid { grid-template-columns: 1fr; }
  .tp-who__layout { grid-template-columns: 1fr; gap: var(--space-5); }
  .tp-who__head { position: static; }
  .tp-curr__details { position: static; }
  .tp-stack__row { grid-template-columns: 1fr; gap: var(--space-2); }
  .tp-kit__card { grid-template-columns: 1fr; padding: var(--space-5) var(--space-5) 0; }
  .tp-kit__copy { padding-bottom: 0; }
  .tp-kit__img { max-height: 260px; }
  .tp-projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-portal__inner { grid-template-columns: 1fr; }
  .tp-incl__body { grid-template-columns: 1fr; }
  .tp-incl__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-partners__inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .tp-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 240px 240px 240px; grid-template-areas: "a b d" "a c d" "e f g"; }
}

/* ==========================================================================
   Phone
   ========================================================================== */
@media (max-width: 767px) {
  .tp-section-head { margin-bottom: var(--space-5); }

  .tp-curr__tracks { grid-template-columns: 1fr; gap: var(--space-1); }
  .tp-curr__track { padding: var(--space-2); }
  .tp-curr__months { display: none; }
  .tp-curr__track-lead { font-size: var(--text-body); }
  .tp-curr__mod { grid-template-columns: 32px minmax(0, 1fr) auto; padding: 12px var(--space-1-5); }
  .tp-curr__num { width: 32px; height: 32px; }
  /* the open module's card sits right under it (moved there by JS) */
  .tp-curr__mods .tp-curr__detail { margin: 0 var(--space-1) var(--space-1); padding: var(--space-3) var(--space-2); border-radius: var(--radius-lg); }
  .tp-curr__details:empty { display: none; }
  .tp-curr__detail-title { margin-top: var(--space-2); font-size: var(--text-h3); }
  .tp-curr__topics { grid-template-columns: 1fr; }

  .tp-soft__list { grid-template-columns: 1fr 1fr; gap: var(--space-1); }
  .tp-soft__list li { padding: var(--space-2); }

  .tp-stack__tools li { padding: 6px 10px; }
  .tp-stack__tools img { width: 20px; height: 20px; }

  .tp-kit__card { padding: var(--space-4) var(--space-3) 0; }
  .tp-kit__btn { width: 100%; }

  .tp-projects__grid,
  .tp-certs__grid { grid-template-columns: 1fr; }
  .tp-project__num { font-size: 2.25rem; }

  .tp-portal__app { grid-template-columns: 1fr; min-height: 0; }
  .tp-portal__nav { display: none; }
  .tp-portal__board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-portal__lower { grid-template-columns: 1fr; }

  .tp-roles__grid { grid-template-columns: 1fr 1fr; gap: var(--space-1); }
  .tp-roles__grid li { padding: 14px var(--space-1-5); font-size: var(--text-caption); }

  .tp-who__row { grid-template-columns: 52px minmax(0, 1fr); padding: var(--space-3) 0; }
  .tp-who__num { font-size: var(--text-h3); }
  .tp-who__body { grid-template-columns: 1fr; }
  .tp-who__line, .tp-who__desc, .tp-who__tags { grid-column: 1; grid-row: auto; }
  .tp-incl__list { grid-template-columns: 1fr; gap: 8px; }
  .tp-incl__tab { padding: 12px var(--space-2); }
  .tp-incl__panel { grid-template-columns: 1fr; padding: var(--space-3) var(--space-2); }
  .tp-incl__panel img { min-height: 0; max-height: 260px; }

  .tp-partners__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tp-partners__grid li { height: 88px; }
  .tp-partners__grid img { max-height: 32px; }

  .tp-gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 180px); grid-template-areas: "a b" "a c" "d e" "f g"; gap: var(--space-1); }
  .tp-gallery__grid li { border-radius: var(--radius-lg); }

  .tp-cert { padding: var(--space-2); }
  .tp-cert__frame { padding: var(--space-1-5); }
  .tp-cert__logo { width: 56px; height: 56px; }
}

/* FAQ answers can hold links (homepage FAQ has none) */
.tp-faq__answer a { color: var(--color-accent-text); font-weight: var(--weight-semibold); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Forward Deployed Engineer – two sections:
   .tp-fde (dark) what the role does · .tp-fdeskills (dark) how the program builds it
   ========================================================================== */
.tp-fde {
  background:
    radial-gradient(800px 360px at 90% -10%, rgba(243,189,0,.12), transparent 65%),
    var(--ink-950);
}
.tp-fde__loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.tp-fde__step { position: relative; padding-top: var(--space-5); }
.tp-fde__step::before { content: ""; position: absolute; left: 0; top: 0; z-index: 1; width: 20px; height: 20px; box-sizing: border-box; border: 3px solid var(--color-accent); border-radius: 50%; background: var(--ink-950); }
.tp-fde__step::after { content: ""; position: absolute; left: 20px; right: calc(-1 * var(--space-4)); top: 9px; height: 2px; background: var(--color-accent); }
.tp-fde__step:nth-child(3)::after { background: linear-gradient(90deg, var(--color-accent), var(--ink-600)); }
.tp-fde__step:nth-child(4)::after { right: 0; background: var(--ink-700); }
.tp-fde__num { display: block; font-size: var(--text-caption); font-weight: var(--weight-bold); color: var(--color-accent); }
.tp-fde__step h3 { margin: var(--space-2) 0 0; font-size: var(--text-h3); line-height: 1.3; font-weight: var(--weight-bold); color: var(--white); }
.tp-fde__step p { margin: var(--space-1) 0 0; font-size: var(--text-body-sm, 15px); line-height: 1.6; color: var(--gray-400); }
.tp-fde__prog { display: grid; gap: 8px; margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px dashed var(--ink-600); }
.tp-fde__prog span { font-size: var(--text-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; font-weight: var(--weight-bold); color: var(--color-text-secondary); }
.tp-fde__prog strong { font-size: var(--text-body-sm, 15px); line-height: 1.5; font-weight: var(--weight-semibold); color: var(--white); }
.tp-fde__loopnote { display: flex; align-items: center; gap: var(--space-1-5); margin-top: var(--space-6); font-size: var(--text-body-sm, 15px); color: var(--gray-200, #e5e7eb); }
.tp-fde__loopnote .tp-ico { flex-shrink: 0; width: 18px; height: 18px; color: var(--color-accent); }

/* Timeline motion (loops): rings light up one after another, each line fills to the next ring, then it all fades and starts again */
@keyframes tp-ring-loop {
  0%   { background: var(--ink-950); transform: scale(1); }
  5%   { background: var(--color-accent); transform: scale(1.25); }
  10%, 85% { background: var(--color-accent); transform: scale(1); }
  95%, 100% { background: var(--ink-950); transform: scale(1); }
}
@keyframes tp-line-loop-x {
  0%   { transform: scaleX(0); opacity: 1; }
  14%, 85% { transform: scaleX(1); opacity: 1; }
  95%  { transform: scaleX(1); opacity: 0; }
  100% { transform: scaleX(0); opacity: 0; }
}
@keyframes tp-line-loop-y {
  0%   { transform: scaleY(0); opacity: 1; }
  14%, 85% { transform: scaleY(1); opacity: 1; }
  95%  { transform: scaleY(1); opacity: 0; }
  100% { transform: scaleY(0); opacity: 0; }
}
.tp-fde__step::after { transform-origin: left center; }
.tp-fde__loop.is-pending .tp-fde__step::before,
.tp-fde__loop.is-pending .tp-fde__step::after,
.tp-fde__loop.is-pending .tp-fde__step > * { opacity: 0; }
.tp-fde__loop:not(.is-pending) .tp-fde__step::before { animation: tp-ring-loop 7s ease-in-out calc(var(--i) * 1.2s) infinite backwards; }
.tp-fde__loop:not(.is-pending) .tp-fde__step::after { animation: tp-line-loop-x 7s ease-in-out calc(var(--i) * 1.2s + .3s) infinite backwards; }
.tp-fde__loop:not(.is-pending) .tp-fde__step > * { animation: tp-sec-rise 600ms var(--ease-out) calc(var(--i) * 200ms + 200ms) backwards; }
@media (max-width: 639px) {
  .tp-fde__step::after { transform-origin: center top; }
  .tp-fde__loop:not(.is-pending) .tp-fde__step::after { animation-name: tp-line-loop-y; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-fde__step::before, .tp-fde__step::after { animation: none !important; }
  .tp-fde__step::before { background: var(--color-accent); }
}

/* ---- Skills map (light) ---- */
.tp-fde__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin-top: var(--space-6); }

/* ---- Who is an FDE: definition + comparison ---- */
.tp-fde__who { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3); align-items: stretch; margin-bottom: var(--space-6); }
.tp-fde__quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 1px solid rgba(243,189,0,.35);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(243,189,0,.1), rgba(243,189,0,.02));
}
.tp-fde__quote p { font-size: var(--text-h3, 1.5rem); line-height: 1.3; font-weight: var(--weight-bold); color: var(--white); }
.tp-fde__quote footer { font-size: var(--text-body-sm, 15px); line-height: 1.6; color: var(--gray-400); }
.tp-fde__compare { border: 1px solid var(--ink-700); border-radius: var(--radius-xl); background: var(--ink-900); overflow: hidden; }
.tp-fde__row { display: grid; grid-template-columns: 0.8fr 1.2fr 1.4fr; gap: var(--space-2); padding: 14px var(--space-3); font-size: var(--text-body-sm, 15px); line-height: 1.5; color: var(--gray-400); }
.tp-fde__row + .tp-fde__row { border-top: 1px solid var(--ink-700); }
.tp-fde__row [role="rowheader"] { font-weight: var(--weight-bold); color: var(--white); }
.tp-fde__row .is-fde { color: var(--white); font-weight: var(--weight-semibold); }
.tp-fde__row--head { font-size: var(--text-eyebrow); letter-spacing: var(--tracking-eyebrow); font-weight: var(--weight-bold); text-transform: uppercase; background: var(--ink-850); }
.tp-fde__row--head .is-fde { color: var(--gold-500); }
.tp-fde__sub { margin-bottom: var(--space-3); font-size: var(--text-h4); font-weight: var(--weight-bold); color: var(--white); }
.tp-fde__sub--light { margin-top: var(--space-6); color: var(--ink-950); }

/* ---- Demand (light) ---- */
.tp-bridge { display: grid; grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1.15fr) 80px minmax(0, 1fr); align-items: center; }
.tp-bridge__box { padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-bg-alt, #f7f8fa); }
.tp-bridge__label { margin: 0; font-size: var(--text-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; font-weight: var(--weight-bold); color: var(--color-text-secondary); }
.tp-bridge__box h3 { margin: var(--space-1-5) 0 0; font-size: var(--text-h3); line-height: 1.25; font-weight: var(--weight-bold); color: var(--ink-950); }
.tp-bridge__box ul { display: grid; gap: 8px; margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.tp-bridge__box li { position: relative; padding-left: 16px; font-size: var(--text-body-sm, 15px); line-height: 1.5; color: var(--gray-700); }
.tp-bridge__box li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 4px; height: 4px; border-radius: 50%; background: var(--gray-400); }
.tp-bridge__box--fde { padding: var(--space-4) var(--space-3); border-color: var(--color-accent); background: var(--gold-50, #fff7d6); }
.tp-bridge__box--fde .tp-bridge__label { color: var(--gold-700, #8a6d00); }
.tp-bridge__box--fde li { color: var(--ink-950); }
.tp-bridge__box--fde li::before { background: var(--color-accent); }
.tp-bridge__arrow { position: relative; height: 2px; background: var(--color-accent); }
.tp-bridge__arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 8px solid var(--color-accent); border-right: 0; }
.tp-fdedemand__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin: var(--space-7, var(--space-6)) 0 0; padding: 0; list-style: none; }
.tp-fdedemand__col { padding-top: var(--space-2); border-top: 2px solid var(--color-border); }
.tp-fdedemand__col h3 { margin: 0; font-size: var(--text-body-lg); line-height: 1.3; font-weight: var(--weight-bold); color: var(--ink-950); }
.tp-fdedemand__col p { margin: var(--space-1) 0 0; font-size: var(--text-body-sm, 15px); line-height: 1.6; color: var(--gray-700); }

.tp-fdeskills__head, .tp-fdeskills__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6.5fr) minmax(0, 2.5fr); gap: var(--space-4); }
.tp-fdeskills__head { padding-bottom: var(--space-2); border-bottom: 1px solid var(--ink-700); font-size: var(--text-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; font-weight: var(--weight-bold); color: var(--color-text-secondary); }
.tp-fdeskills__head .is-gold { color: var(--color-accent); }
.tp-fdeskills__list { margin: 0; padding: 0; list-style: none; }
.tp-fdeskills__row { padding: var(--space-3) 0; border-bottom: 1px solid var(--ink-700); }
.tp-fdeskills__skill { display: flex; gap: var(--space-1-5); align-items: flex-start; }
.tp-fdeskills__n { padding-top: 4px; font-size: var(--text-caption); font-weight: var(--weight-bold); color: var(--color-accent); }
.tp-fdeskills__skill h3 { margin: 0; font-size: var(--text-h3); line-height: 1.3; font-weight: var(--weight-bold); color: var(--white); }
.tp-fdeskills__skill p { margin: 6px 0 0; font-size: var(--text-body-sm, 15px); line-height: 1.6; color: var(--color-text-secondary); }
.tp-fdeskills__where { margin: 0; font-size: var(--text-body-sm, 15px); line-height: 1.6; font-weight: var(--weight-semibold); color: var(--white); }
.tp-fdeskills__track { margin: 0; font-size: var(--text-body-sm, 15px); line-height: 1.6; color: var(--gray-400); }

@media (max-width: 1199px) {
  .tp-fde__loop { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-5); }
  .tp-fde__step:nth-child(2)::after { right: 0; }
  .tp-fde__step:nth-child(3)::after { background: var(--color-accent); }
  .tp-fdedemand__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-bridge { grid-template-columns: 1fr; justify-items: stretch; }
  .tp-bridge__arrow { width: 2px; height: 40px; justify-self: center; }
  .tp-bridge__arrow::after { right: auto; left: -4px; top: auto; bottom: -1px; border: 5px solid transparent; border-top: 8px solid var(--color-accent); border-bottom: 0; }
  .tp-fde__who { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .tp-fde__loop { grid-template-columns: 1fr; gap: 0; }
  .tp-fde__step { padding: 0 0 var(--space-4) 36px; }
  .tp-fde__step::before { top: 2px; }
  .tp-fde__step::after, .tp-fde__step:nth-child(2)::after, .tp-fde__step:nth-child(3)::after, .tp-fde__step:nth-child(4)::after { left: 9px; right: auto; top: 22px; bottom: 0; width: 2px; height: auto; background: var(--ink-700); }
  .tp-fde__step:nth-child(4)::after { display: none; }
  .tp-fde__step h3 { margin-top: 4px; }
  .tp-fdeskills__head { display: none; }
  .tp-fdeskills__row { grid-template-columns: 1fr; gap: var(--space-1); }
  .tp-fdeskills__where, .tp-fdeskills__track { padding-left: 32px; }
  .tp-fdeskills__where::before, .tp-fdeskills__track::before { content: attr(data-label) ": "; font-weight: var(--weight-regular, 400); color: var(--color-text-secondary); }
  .tp-fdedemand__cols { grid-template-columns: 1fr; gap: var(--space-3); }
  .tp-fde__quote { padding: var(--space-3); }
  .tp-fde__row { grid-template-columns: 1fr; gap: 2px; padding: 12px var(--space-2); }
  .tp-fde__row--head { display: none; }
  .tp-fde__row [role="rowheader"] { font-size: var(--text-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--gold-500); }
  .tp-fde__ctas { flex-direction: column; margin-top: var(--space-5); }
  .tp-fde__ctas .tp-btn { width: 100%; }
}

/* ==========================================================================
   Curriculum (data-driven, js/curriculum.js) – V2 skin for the JS-rendered UI
   ========================================================================== */
.curriculum-section .tp-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2);
  border: 0;
}
.curriculum-section .tp-tab {
  display: grid;
  gap: 6px;
  padding: var(--space-3);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
  color: var(--color-heading);
  transition: background-color 600ms var(--ease-out), border-color 600ms var(--ease-out), color 600ms var(--ease-out);
}
.curriculum-section .tp-tab:hover { border-color: var(--color-border-strong); color: var(--color-heading); }
.curriculum-section .tp-tab.tp-tab--active { background: var(--ink-950); border-color: var(--ink-950); color: var(--white); }
.curriculum-section .tp-tab__label {
  margin: 0;
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
}
.curriculum-section .tp-tab.tp-tab--active .tp-tab__label { color: var(--gray-400); }
.curriculum-section .tp-tab__name { font-size: var(--text-h3); line-height: var(--leading-h3); font-weight: var(--weight-bold); }
.curriculum-section .tp-tab__bar { inset: 0 0 auto; bottom: auto; height: 4px; }
.curriculum-section .tp-panel { padding-top: var(--space-4); animation: tp-sec-rise 500ms var(--ease-out); }
.curriculum-section .tp-panel--hidden { display: none; }
.curriculum-section .tp-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 9fr); gap: var(--space-4); }

.curriculum-section .tp-module-list {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow: hidden;
}
.curriculum-section .tp-module-list__line { display: none; }
.curriculum-section .tp-module-btn {
  align-items: center;
  gap: var(--space-1-5);
  padding: 14px var(--space-2);
  opacity: 1;
  border-top: 1px solid var(--color-border);
  transition: background-color 600ms var(--ease-out);
}
.curriculum-section .tp-module-list__line + .tp-module-btn { border-top: 0; }
.curriculum-section .tp-module-btn:not(.tp-module-btn--active):hover { background: var(--color-bg-alt); opacity: 1; }
.curriculum-section .tp-module-btn.tp-module-btn--active { background: var(--gold-50); }
.curriculum-section .tp-module-btn__num {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  font-size: var(--text-caption);
  color: var(--color-heading);
}
.curriculum-section .tp-module-btn.tp-module-btn--active .tp-module-btn__num { background: var(--color-accent); color: var(--color-on-accent); }
.curriculum-section .tp-module-btn__title {
  padding: 0;
  font-size: var(--text-body);
  line-height: 1.35;
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
}
.curriculum-section .tp-module-btn__chevron { margin: 0; }

.curriculum-section .tp-detail-panel { top: 140px; }
.curriculum-section .tp-detail-card,
.curriculum-section .tp-inline-card {
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--ink-950);
  color: var(--gray-400);
}
.curriculum-section .tp-detail-card { padding: var(--space-5); }
.curriculum-section .tp-detail-badge {
  display: inline-block;
  margin: 0;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  font-size: var(--text-caption);
  letter-spacing: 0;
  text-transform: none;
  font-weight: var(--weight-bold);
  color: var(--ink-950);
}
.curriculum-section .tp-detail-title {
  margin: var(--space-3) 0 0;
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  letter-spacing: var(--tracking-h2);
  font-weight: var(--weight-bold);
  color: var(--white);
}
.curriculum-section .tp-detail-desc { margin: var(--space-2) 0 0; font-size: var(--text-body-lg); line-height: 1.7; color: var(--gray-400); }
.curriculum-section .tp-topics-label {
  margin: var(--space-4) 0 0;
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  font-weight: var(--weight-bold);
  color: var(--gold-500);
  opacity: 1;
}
.curriculum-section .tp-topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-2);
}
.curriculum-section .tp-topics-list li {
  display: block;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  font-size: var(--text-body-sm, 15px);
  line-height: 1.4;
  color: var(--gray-200, #e5e7eb);
}
.curriculum-section .tp-check { display: none; }
.curriculum-section .tp-tools-section { margin-top: var(--space-3); border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); }
.curriculum-section .tp-tools-label { color: var(--gold-500); opacity: 1; }
.curriculum-section .tp-tool-pill { border-color: rgba(255, 255, 255, 0.16); background: transparent; color: var(--white); }
.curriculum-section .tp-project-block { border-color: rgba(243, 189, 0, 0.35); background: rgba(243, 189, 0, 0.08); color: var(--gray-200, #e5e7eb); }
.curriculum-section .tp-project-block strong { color: var(--gold-500); }

@media (max-width: 1023px) {
  .curriculum-section .tp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .curriculum-section .tp-tabs { grid-template-columns: 1fr; gap: var(--space-1); }
  .curriculum-section .tp-tab { padding: var(--space-2); }
  .curriculum-section .tp-tab__name { font-size: var(--text-body); }
  .curriculum-section .tp-module-btn { padding: 12px var(--space-1-5); }
  .curriculum-section .tp-module-btn__num { width: 32px; height: 32px; }
  .curriculum-section .tp-inline-card { margin: 0 var(--space-1) var(--space-1); padding: var(--space-3) var(--space-2); border-radius: var(--radius-lg); }
  .curriculum-section .tp-detail-title { margin-top: var(--space-2); font-size: var(--text-h3); }
}

/* ==========================================================================
   Section tabs (.tabs-nav) – V2 pill tabs
   ========================================================================== */
.tabs-nav {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-sans);
}
.tabs-nav .tabs-container {
  max-width: var(--container);
  padding: 10px 44px;
}
.tabs-nav .tabs-inner { gap: 6px; align-items: center; }
.tabs-nav .tab-btn {
  margin: 0;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill, 999px);
  font-family: inherit;
  font-size: var(--text-body-sm, 14px);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
  transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
.tabs-nav .tab-btn:hover { background: var(--color-bg-alt); color: var(--color-heading); }
.tabs-nav .tab-btn.active { background: var(--ink-950); border-color: var(--ink-950); color: var(--white); }
.tabs-nav .tab-btn:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
.tabs-nav .prev-btn,
.tabs-nav .next-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--color-border);
  background: var(--color-surface, #fff);
  color: var(--color-heading);
  transition: background-color 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
.tabs-nav .prev-btn svg,
.tabs-nav .next-btn svg { fill: currentColor; }
.tabs-nav .prev-btn:hover,
.tabs-nav .next-btn:hover { background: var(--color-accent); border-color: var(--color-accent); }
@media (max-width: 767px) {
  .tabs-nav .tabs-container { padding: 8px 40px; }
  .tabs-nav .tab-btn { padding: 7px 14px; }
}

/* Gallery marquee: endless scroll, kept inside the section frame lines; the second half of the track is a copy */
.tp-gallery__marquee {
  margin-inline: -16px; /* a little wider than the content, still inside the frame lines (32px out) */
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.tp-gallery__track {
  display: flex;
  gap: var(--space-2);
  width: max-content;
  animation: tp-gallery-scroll 60s linear infinite;
}
.tp-gallery__marquee:hover .tp-gallery__track { animation-play-state: paused; }
.tp-gallery__track li { flex: 0 0 auto; overflow: hidden; border-radius: var(--radius-xl); background: var(--color-bg-alt); }
.tp-gallery__track img { display: block; height: 340px; width: auto; max-width: none; object-fit: cover; }
@keyframes tp-gallery-scroll { to { transform: translateX(calc(-50% - var(--space-1))); } }
@media (max-width: 767px) {
  .tp-gallery__marquee { margin-inline: 0; } /* frame lines sit 8px from the edge on phones */
  .tp-gallery__track { gap: var(--space-1); animation-duration: 45s; }
  .tp-gallery__track li { border-radius: var(--radius-lg); }
  .tp-gallery__track img { height: 240px; }
  @keyframes tp-gallery-scroll { to { transform: translateX(calc(-50% - var(--space-1) / 2)); } }
}
@media (prefers-reduced-motion: reduce) {
  .tp-gallery__marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .tp-gallery__track { animation: none; }
}

/* What's Included: line loader on the selected tab; JS selects the next tab when it ends */
.tp-incl__tab { position: relative; overflow: hidden; }
.tp-incl__tab::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.tp-incl__tab[aria-selected="true"]::after { animation: tp-incl-progress 5s linear forwards; }
.tp-incl__body.is-paused .tp-incl__tab[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes tp-incl-progress { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .tp-incl__tab[aria-selected="true"]::after { animation: none; transform: scaleX(1); } }


/* Tool rows with many tools wrap instead of staying on one line */
.tp-stack__tools--wrap { flex-wrap: wrap; }

/* "Why Gen AI" strip: wide article screenshots, so smaller than the photo gallery */
.tp-gallery__track--why img { height: 220px; }
@media (max-width: 767px) { .tp-gallery__track--why img { height: 160px; } }

/* Prompt kit banner (original .kit-banner design from new-program-page.css):
   same content width and side padding as the other V2 sections */
.kit-banner .kit-inner {
  box-sizing: border-box;
  max-width: calc(var(--container) + 2 * var(--gutter));
  padding-inline: var(--gutter);
}

/* ==========================================================================
   Project cards (legacy .project-card markup from new-program-page.css):
   card styling only — layout, order and content are unchanged.
   ========================================================================== */
#projects .project-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: 0 1px 2px rgba(13,15,20,.04), 0 12px 32px -20px rgba(13,15,20,.18);
  transition: transform 600ms var(--ease-out), box-shadow 600ms var(--ease-out), border-color 600ms var(--ease-out);
}
#projects .project-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--color-accent) 45%, var(--color-border));
  box-shadow: 0 1px 2px rgba(13,15,20,.04), 0 28px 56px -28px rgba(13,15,20,.3);
}

/* Image sits in a framed, tinted panel instead of touching the card edge */
#projects .project-thumb {
  width: auto;
  margin: 12px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--gold-50), var(--gray-50, #f7f7f8));
  border: 1px solid var(--color-border);
}
#projects .project-thumb-img { transition: transform 900ms var(--ease-out); }
#projects .project-card:hover .project-thumb-img { transform: scale(1.03); }

/* Badge: solid dark pill so it reads on any screenshot (beats the inline style) */
#projects .project-type-badge {
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border: 0 !important;
  background: rgba(13,15,20,.82) !important;
  color: var(--gold-400) !important;
  font-size: 11px;
  letter-spacing: .08em;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.4);
}

/* Body */
#projects .project-body { gap: var(--space-1); padding: var(--space-5) var(--space-5) var(--space-5) var(--space-4); }
#projects .project-card:nth-child(even) .project-body { padding: var(--space-5) var(--space-4) var(--space-5) var(--space-5); }
#projects .project-num {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-accent-text);
  font-family: var(--font-sans);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: .08em;
}
#projects .project-num::before { content: "Project "; }
#projects .project-card:hover .project-num { color: var(--color-accent-text); }
#projects .project-title {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  font-weight: var(--weight-bold);
  color: var(--color-heading);
}
#projects .project-desc {
  margin-top: 0;
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--color-text-secondary);
}
#projects .project-tags {
  gap: 8px;
  margin-top: var(--space-1-5);
  padding-top: var(--space-2);
  border-top: 1px dashed var(--color-border);
}
#projects .tech-tag {
  padding: 5px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-bg-alt);
  color: var(--color-heading);
  font-size: var(--text-caption);
  font-weight: var(--weight-medium, 500);
  transition: border-color var(--duration-fast), background-color var(--duration-fast);
}
#projects .tech-tag:hover { border-color: var(--color-accent); background: var(--color-accent-soft); color: var(--color-heading); }

@media (prefers-reduced-motion: reduce) {
  #projects .project-card, #projects .project-thumb-img { transition: none; }
  #projects .project-card:hover, #projects .project-card:hover .project-thumb-img { transform: none; }
}
@media (max-width: 768px) {
  #projects .project-thumb { margin: 10px 10px 0; min-height: 0; }
  #projects .project-thumb-img { height: auto; }
  #projects .project-body,
  #projects .project-card:nth-child(even) .project-body { padding: var(--space-3); }
}

/* ==========================================================================
   What's Included: bento grid (.tp-ib, replaces the old tabs).
   Named tp-ib, not tp-bento: the homepage "Truly Real" section owns .tp-bento
   and its styles (home-sections.css) also load on program pages.
   Tiles: a = feature (photo), b = text, c = certifications (dark),
   d = wide text, e = community (photo background), f = projects (split).
   Reveal: js/reveal.js toggles .is-pending on each tile; tiles stagger by --i,
   their points by --j. All motion is off under prefers-reduced-motion.
   ========================================================================== */
.tp-ib {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "a a b c"
    "a a d d"
    "e f f f";
  gap: var(--space-2);
}
.tp-ib--5 { grid-template-areas: "a a b b" "a a c c" "e f f f"; }
.tp-ib__tile--a { grid-area: a; }
.tp-ib__tile--b { grid-area: b; }
.tp-ib__tile--c { grid-area: c; }
.tp-ib__tile--d { grid-area: d; }
.tp-ib__tile--e { grid-area: e; }
.tp-ib__tile--f { grid-area: f; }

.tp-ib :where(h3, ul, p) { margin: 0; padding: 0; }
.tp-ib :where(ul) { list-style: none; }

/* Tile */
.tp-ib__tile {
  --d: calc(var(--i, 0) * 90ms);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  color: var(--color-text);
  overflow: hidden;
  /* reveal (opacity/transform) is staggered; hover (translate/shadow) is not */
  transition:
    opacity 700ms var(--ease-out) var(--d),
    transform 700ms var(--ease-out) var(--d),
    translate 600ms var(--ease-out),
    box-shadow 600ms var(--ease-out),
    border-color 600ms var(--ease-out);
}
/* Hover: same quiet lift as the homepage "Truly Real" cards */
.tp-ib__tile:hover {
  translate: 0 -4px;
  box-shadow: 0 28px 56px -28px rgba(13,15,20,.35);
}

/* Head: icon + title */
.tp-ib__head { display: flex; align-items: center; gap: var(--space-1-5); }
.tp-ib__ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  color: var(--color-accent-text);
}
.tp-ib__ico .tp-ico { width: 22px; height: 22px; }
.tp-ib__head h3 {
  font-size: var(--text-h4);
  line-height: 1.3;
  font-weight: var(--weight-bold);
  color: var(--color-heading);
}

/* Points with gold ticks */
.tp-ib__list { display: grid; gap: 10px; }
.tp-ib__list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-3); }
.tp-ib__list li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--text-body); line-height: 1.5; color: var(--color-text); }
.tp-ib__tick {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  padding: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--ink-950);
  stroke-width: 3.5;
}

/* Photos */
.tp-ib__media {
  position: relative;
  flex: 1;
  min-height: 200px;
  margin: var(--space-1) calc(var(--space-3) * -1) calc(var(--space-3) * -1);
  overflow: hidden;
}
.tp-ib__media img,
.tp-ib__bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease-out);
}
.tp-ib__media img { position: absolute; inset: 0; }
.tp-ib__tile:hover .tp-ib__media img,
.tp-ib__tile:hover .tp-ib__bg { transform: scale(1.03); }

/* a: feature tile */
.tp-ib__tile--feature .tp-ib__head h3 { font-size: var(--text-h3); line-height: var(--leading-h3); }
.tp-ib__tile--feature .tp-ib__media { min-height: 240px; }

/* c: certifications (dark, logos on white tiles, slow shine) */
.tp-ib__tile--cert { background: radial-gradient(120% 80% at 100% 0%, rgba(243,189,0,.16), transparent 60%), var(--color-bg); }
.tp-ib__tile--cert .tp-ib__ico { background: rgba(243,189,0,.14); color: var(--color-accent); }
.tp-ib__logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: var(--space-1); }
.tp-ib__logos li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
}
.tp-ib__logos img { display: block; width: auto; height: 22px; }
.tp-ib__logo--ibm img { height: 34px; mix-blend-mode: multiply; }
.tp-ib__logo--aws img { height: 38px; }
.tp-ib__logos li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(243,189,0,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: tp-ib-shine 5s ease-in-out infinite;
}
.tp-ib__logos li:nth-child(2)::after { animation-delay: 250ms; }
.tp-ib__logos li:nth-child(3)::after { animation-delay: 500ms; }
@keyframes tp-ib-shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* e: community (photo background with dark overlay) */
.tp-ib__tile--photo { justify-content: flex-end; min-height: 320px; background: var(--ink-950); }
.tp-ib__bg { position: absolute; inset: 0; z-index: -2; }
.tp-ib__tile--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13,15,20,.15) 0%, rgba(13,15,20,.6) 45%, rgba(13,15,20,.94) 100%);
}
.tp-ib__tile--photo .tp-ib__ico { background: rgba(255,255,255,.14); color: var(--white); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tp-ib__tile--photo .tp-ib__list li { color: var(--gray-200, #e5e7eb); }
.tp-ib__live {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(13,15,20,.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  color: var(--white);
}
.tp-ib__live span { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: tp-ib-ping 1.8s ease-out infinite; }
@keyframes tp-ib-ping { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 100% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }

/* f: projects (copy left, photo right) */
.tp-ib__tile--split { flex-direction: row; gap: var(--space-3); padding-right: 0; padding-block: 0; }
.tp-ib__copy { display: flex; flex-direction: column; gap: var(--space-2); flex: 1.15; min-width: 0; padding-block: var(--space-3); }
.tp-ib__tile--split .tp-ib__media { flex: 1; margin: 0; min-height: 260px; }
.tp-ib__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-ib__chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-bg-alt);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  color: var(--color-heading);
  transition: border-color 600ms var(--ease-out), background-color 600ms var(--ease-out);
}
.tp-ib__chips li:hover { border-color: var(--color-accent); background: var(--color-accent-soft); }
.tp-ib__chips .tp-ib__tick { width: 18px; height: 18px; margin: 0; }

/* ---------- Scroll-in: tiles rise in sequence, photos settle, ticks draw ---------- */
.tp-ib__tile.is-pending { opacity: 0; transform: translateY(28px) scale(.98); }
.tp-ib__tile.is-pending .tp-ib__media img,
.tp-ib__tile.is-pending .tp-ib__bg { transform: scale(1.12); }
.tp-ib__tile:not(.is-pending) :is(.tp-ib__list, .tp-ib__chips) li {
  animation: tp-ib-item 600ms var(--ease-out) both;
  animation-delay: calc(var(--d) + 250ms + var(--j, 0) * 90ms);
}
.tp-ib__tile:not(.is-pending) .tp-ib__tick path {
  stroke-dasharray: 24;
  animation: tp-ib-tick 600ms var(--ease-out) both;
  animation-delay: calc(var(--d) + 400ms + var(--j, 0) * 90ms);
}
@keyframes tp-ib-item { from { opacity: 0; transform: translateX(-8px); } }
@keyframes tp-ib-tick { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .tp-ib__tile, .tp-ib__media img, .tp-ib__bg { transition: none; }
  .tp-ib__tile:hover { translate: none; }
  .tp-ib__tile:hover .tp-ib__media img, .tp-ib__tile:hover .tp-ib__bg { transform: none; }
  .tp-ib__tile li, .tp-ib__tick path, .tp-ib__logos li::after, .tp-ib__live span { animation: none !important; }
}

/* Tablet: 2 columns */
@media (max-width: 1023px) {
  .tp-ib { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b c" "d d" "f f" "e e"; }
  .tp-ib--5 { grid-template-areas: "a a" "b c" "f f" "e e"; }
  .tp-ib__tile--feature .tp-ib__media { min-height: 280px; }
}
/* Phone: 1 column */
@media (max-width: 767px) {
  .tp-ib, .tp-ib--5 { grid-template-columns: 1fr; grid-template-areas: none; }
  .tp-ib__tile { grid-area: auto; padding: var(--space-2); }
  .tp-ib__media { margin: var(--space-1) calc(var(--space-2) * -1) calc(var(--space-2) * -1); }
  .tp-ib__tile--feature .tp-ib__media { min-height: 260px; }
  .tp-ib__list--cols { grid-template-columns: 1fr; }
  .tp-ib__tile--split { flex-direction: column; padding: var(--space-2) 0 0; gap: 0; }
  .tp-ib__copy { padding: 0 var(--space-2) var(--space-2); }
  .tp-ib__tile--split .tp-ib__media { flex: none; height: 200px; min-height: 0; }
  .tp-ib__tile--photo { min-height: 300px; }
}

/* ---------- Animated scenes (same idea as the homepage "Truly Real" cards) ---------- */
/* Shared mono font for the log/terminal */
.tp-ib__log,
.tp-ib__term,
.tp-ib__chat-foot { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* a: doubt-session chat over the photo */
.tp-ib__tile--feature .tp-ib__media::before {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(13,15,20,.75));
  pointer-events: none;
}
.tp-ib__chat {
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: var(--space-2);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tp-ib__msg {
  max-width: 78%;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: var(--text-caption);
  line-height: 1.45;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.5);
}
.tp-ib__msg--user { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--ink-850); color: var(--white); }
.tp-ib__msg--bot { align-self: flex-start; border-bottom-left-radius: 4px; background: var(--color-accent); color: var(--ink-950); font-weight: var(--weight-semibold); }
.tp-ib__chat-foot { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--gray-200, #e5e7eb); }
.tp-ib__chat-foot span { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: tp-ib-ping 1.8s ease-out infinite; }

/* b: gold tile with a checklist card that ticks itself */
.tp-ib__tile--gold { border-color: transparent; background: var(--color-accent); }
.tp-ib__tile--gold .tp-ib__head h3 { color: var(--ink-950); }
.tp-ib__tile--gold .tp-ib__ico { background: var(--ink-950); color: var(--color-accent); }
.tp-ib__check {
  display: grid;
  gap: 12px;
  padding: var(--space-2);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 12px 28px -18px rgba(13,15,20,.5);
}
.tp-ib__check li { display: flex; align-items: center; gap: 10px; font-size: var(--text-body); line-height: 1.4; color: var(--ink-950); }
.tp-ib__check li > span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink-950);
  border-radius: 6px;
  background: var(--ink-950);
}
.tp-ib__box { width: 14px; height: 14px; fill: none; stroke: var(--color-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; }

/* d: standup / sprint log */
.tp-ib__log {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  font-size: 0.8125rem;
  color: var(--color-text);
}
.tp-ib__log p { display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; }
.tp-ib__log strong { font-weight: 700; color: var(--color-heading); }
.tp-ib__dot { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-700); }
.tp-ib__dot--ok { background: #15803d; }

/* f: terminal over the project photo */
.tp-ib__term {
  position: absolute;
  left: var(--space-2);
  bottom: var(--space-2);
  z-index: 2;
  display: grid;
  gap: 6px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  background: rgba(13,15,20,.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 28px -12px rgba(0,0,0,.6);
  font-size: 0.8125rem;
  color: var(--white);
}
.tp-ib__term p { white-space: nowrap; overflow: hidden; }
.tp-ib__term span { color: var(--color-accent); }
.tp-ib__term .is-ok { color: #4ade80; }

/* Scene timing: plays once the tile scrolls in (after the tile itself rises) */
@keyframes tp-ib-msg { from { opacity: 0; transform: translateY(10px) scale(.94); } }
@keyframes tp-ib-type { from { clip-path: inset(0 100% 0 0); } }
@keyframes tp-ib-pop { from { opacity: 0; transform: translateY(6px); } }
@keyframes tp-ib-box { from { background: transparent; } }
.tp-ib__tile:not(.is-pending) .tp-ib__msg { animation: tp-ib-msg 500ms var(--ease-out) backwards; animation-delay: calc(var(--d) + 700ms); }
.tp-ib__tile:not(.is-pending) .tp-ib__msg:nth-child(2) { animation-delay: calc(var(--d) + 1300ms); }
.tp-ib__tile:not(.is-pending) .tp-ib__chat-foot { animation: tp-ib-pop 500ms var(--ease-out) backwards; animation-delay: calc(var(--d) + 1700ms); }
.tp-ib__tile:not(.is-pending) .tp-ib__check li { animation: tp-ib-item 500ms var(--ease-out) backwards; animation-delay: calc(var(--d) + 300ms + var(--j, 0) * 120ms); }
.tp-ib__tile:not(.is-pending) .tp-ib__check li > span { animation: tp-ib-box 400ms var(--ease-out) backwards; animation-delay: calc(var(--d) + 700ms + var(--j, 0) * 350ms); }
.tp-ib__tile:not(.is-pending) .tp-ib__box { animation: tp-ib-tick 450ms var(--ease-out) backwards; animation-delay: calc(var(--d) + 800ms + var(--j, 0) * 350ms); }
.tp-ib__tile:not(.is-pending) .tp-ib__log p { animation: tp-ib-type 900ms steps(34) backwards; animation-delay: calc(var(--d) + 800ms); }
.tp-ib__tile:not(.is-pending) .tp-ib__log p:nth-child(2) { animation-delay: calc(var(--d) + 1600ms); }
.tp-ib__tile:not(.is-pending) .tp-ib__term p:first-child { animation: tp-ib-type 900ms steps(24) backwards; animation-delay: calc(var(--d) + 800ms); }
.tp-ib__tile:not(.is-pending) .tp-ib__term .is-ok { animation: tp-ib-pop 500ms var(--ease-out) backwards; animation-delay: calc(var(--d) + 1800ms); }
.tp-ib__tile.is-pending :is(.tp-ib__msg, .tp-ib__chat-foot, .tp-ib__log p, .tp-ib__term p) { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .tp-ib__msg, .tp-ib__chat-foot, .tp-ib__chat-foot span, .tp-ib__check li, .tp-ib__check li > span,
  .tp-ib__box, .tp-ib__log p, .tp-ib__term p { animation: none !important; }
}
@media (max-width: 767px) {
  .tp-ib__chat { left: var(--space-2); right: var(--space-2); }
  .tp-ib__msg { max-width: 88%; }
}

/* ==========================================================================
   Section frame ("blueprint" guides): thin lines running the full width and
   height of each section just outside the content, with a glowing dot where
   they cross. Brand gold (same as --color-accent), on light and dark surfaces.
   ::before = vertical lines + 4 dots, ::after = horizontal lines.
   Sections alternate with corner brackets (.tp-section--brackets, below).
   Skipped on .tp-cta (it already uses both pseudo-elements).
   ========================================================================== */
.tp-section:not(.tp-cta) {
  --frame-x: max(12px, calc((100% - var(--container)) / 2 - 32px)); /* line distance from the side */
  --frame-y: var(--space-4);                                        /* line distance from top/bottom */
  --frame-line: var(--color-accent);
  --frame-dot: var(--white);
  --frame-halo: rgba(243, 189, 0, .3);
  position: relative;
  isolation: isolate;
}
.tp-section:not(.tp-cta):not(.tp-section--brackets)::before,
.tp-section:not(.tp-cta):not(.tp-section--brackets)::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.tp-section:not(.tp-cta):not(.tp-section--brackets)::before {
  top: 0;
  bottom: 0;
  left: calc(var(--frame-x) - 7px);
  right: calc(var(--frame-x) - 7px);
  --dot: radial-gradient(circle, var(--frame-dot) 0 2.5px, var(--frame-line) 3px 4.5px, var(--frame-halo) 5px 6.5px, transparent 7px); /* white centre, gold ring, soft glow */
  background:
    var(--dot) left 0 top calc(var(--frame-y) - 6.5px) / 14px 14px no-repeat,
    var(--dot) right 0 top calc(var(--frame-y) - 6.5px) / 14px 14px no-repeat,
    var(--dot) left 0 bottom calc(var(--frame-y) - 6.5px) / 14px 14px no-repeat,
    var(--dot) right 0 bottom calc(var(--frame-y) - 6.5px) / 14px 14px no-repeat,
    linear-gradient(var(--frame-line), var(--frame-line)) left 6.5px top 0 / 1px 100% no-repeat,
    linear-gradient(var(--frame-line), var(--frame-line)) right 6.5px top 0 / 1px 100% no-repeat;
}
.tp-section:not(.tp-cta):not(.tp-section--brackets)::after {
  left: 0;
  right: 0;
  top: var(--frame-y);
  bottom: var(--frame-y);
  border-top: 1px solid var(--frame-line);
  border-bottom: 1px solid var(--frame-line);
}
@media (max-width: 767px) {
  .tp-section:not(.tp-cta) { --frame-x: 8px; --frame-y: var(--space-2); }
}

/* Corner brackets: used instead of the frame on every second section
   (class="tp-section--brackets", set in the page HTML) */
.tp-section--brackets::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: var(--frame-y) var(--frame-x);
  pointer-events: none;
  --arm: 32px;
  --w: 3px;
  --h: linear-gradient(var(--frame-line), var(--frame-line));
  background:
    var(--h) left top / var(--arm) var(--w) no-repeat,
    var(--h) left top / var(--w) var(--arm) no-repeat,
    var(--h) right top / var(--arm) var(--w) no-repeat,
    var(--h) right top / var(--w) var(--arm) no-repeat,
    var(--h) left bottom / var(--arm) var(--w) no-repeat,
    var(--h) left bottom / var(--w) var(--arm) no-repeat,
    var(--h) right bottom / var(--arm) var(--w) no-repeat,
    var(--h) right bottom / var(--w) var(--arm) no-repeat;
}
@media (max-width: 767px) {
  .tp-section--brackets::before { --arm: 20px; --w: 2px; }
}
@media (max-width: 639px) {
  .tp-fde__row [role="cell"]::before { content: "Regular developer: "; color: var(--gray-500); font-weight: var(--weight-regular, 400); }
  .tp-fde__row .is-fde[role="cell"]::before { content: "FDE: "; color: var(--gold-500); }
}

/* No section frame: no guide lines, dots or corner brackets on any section */
.tp-section:not(.tp-cta):not(.tp-section--brackets)::before,
.tp-section:not(.tp-cta):not(.tp-section--brackets)::after,
.tp-section--brackets::before { content: none; }

/* ==========================================================================
   Curriculum – vertical journey (js/curriculum.js renderCurriculum)
   ========================================================================== */
.tp-jr { display: grid; gap: var(--space-5); }
.tp-jr__track { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--space-4); }
.tp-jr__rail { position: sticky; top: 120px; align-self: start; padding-left: 44px; }
.tp-jr__track::before { content: ""; position: absolute; left: 13px; top: 0; bottom: calc(-1 * var(--space-5)); width: 2px; background: var(--color-border); }
.tp-jr__track:last-child::before { bottom: 0; }
.tp-jr__track::after { content: ""; position: absolute; left: 13px; top: 0; bottom: calc(-1 * var(--space-5)); width: 2px; background: var(--color-accent); transform: scaleY(var(--p, 0)); transform-origin: top; }
.tp-jr__track:last-child::after { bottom: 0; }
.tp-jr__dot { z-index: 1; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 4px var(--color-bg-alt, #fff); }
.tp-jr__dot--1 { background: var(--ink-950); }
.tp-jr__eyebrow { margin: 4px 0 var(--space-1); font-size: var(--text-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; font-weight: var(--weight-bold); color: var(--gold-600, #8a6d00); }
.tp-jr__track-title { margin: 0; font-size: var(--text-body-lg); line-height: 1.3; font-weight: var(--weight-bold); color: var(--color-heading); }
.tp-jr__track-desc { margin: var(--space-1) 0; font-size: var(--text-body-sm, 15px); line-height: 1.6; color: var(--color-text-secondary); }
.tp-jr__rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink-950); }
.tp-jr__row { display: grid; grid-template-columns: 32px minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2); padding: var(--space-3) 0; border-bottom: 1px solid var(--color-border); }
.tp-jr__num { padding-top: 3px; font-size: var(--text-caption); font-weight: var(--weight-bold); color: var(--gold-600, #8a6d00); }
.tp-jr__title { display: grid; gap: 6px; align-content: start; justify-items: start; }
.tp-jr__title h3 { margin: 0; font-size: var(--text-body-lg); line-height: 1.3; font-weight: var(--weight-bold); color: var(--color-heading); }
.tp-jr__count { font-size: var(--text-caption); color: var(--color-text-secondary); }
.tp-jr__badge { padding: 2px 8px; border-radius: var(--radius-xs); background: var(--ink-950); color: var(--gold-500); font-size: 11px; font-weight: var(--weight-bold); }
.tp-jr__desc { margin: 0; font-size: var(--text-body-sm, 15px); line-height: 1.6; color: var(--color-text-secondary); }
.tp-jr__topics { margin: var(--space-1) 0 0; font-size: var(--text-caption); line-height: 1.6; color: var(--color-heading); }
.tp-jr__more { padding: 0; border: 0; background: none; font: inherit; font-weight: var(--weight-bold); color: var(--color-heading); text-decoration: underline; cursor: pointer; }
@media (max-width: 1023px) {
  .tp-jr__track { grid-template-columns: 1fr; }
  .tp-jr__rail { position: static; }
  .tp-jr__track::before { bottom: calc(-1 * var(--space-5)); }
  .tp-jr__rows { margin-left: 44px; }
}
@media (max-width: 767px) {
  .tp-jr__row { grid-template-columns: 28px minmax(0, 1fr); }
  .tp-jr__body { grid-column: 2; }
}

/* ==========================================================================
   Soft skills – dark band, 3-column skills grid
   ========================================================================== */
.tp-soft__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-6); margin: var(--space-8) 0 0; padding: 0; list-style: none; }
.tp-soft__item { display: grid; align-content: start; gap: var(--space-1-5); padding: var(--space-4) 0 var(--space-5); border-top: 1px solid var(--ink-700); }
.tp-soft__item:nth-last-child(-n+3) { padding-bottom: 0; }
.tp-soft__ico { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--ink-700); border-radius: var(--radius-md); background: var(--ink-800); color: var(--gold-500); }
.tp-soft__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tp-soft__item h3 { margin: var(--space-1) 0 0; font-size: var(--text-body-lg); line-height: 1.3; font-weight: var(--weight-bold); color: var(--white); }
.tp-soft__item p { margin: 0; font-size: var(--text-body-sm, 15px); line-height: 1.7; color: var(--color-text-secondary); }
.tp-soft__item .tp-soft__prac { margin-top: var(--space-1); font-size: var(--text-caption); line-height: 1.6; color: var(--gray-200, #e5e7eb); }
.tp-soft__prac strong { color: var(--gold-500); font-weight: var(--weight-bold); }
@media (max-width: 1023px) {
  .tp-soft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-4); margin-top: var(--space-5); }
  .tp-soft__item:nth-last-child(-n+3) { padding-bottom: var(--space-5); }
  .tp-soft__item:nth-last-child(-n+2) { padding-bottom: 0; }
}
@media (max-width: 639px) {
  .tp-soft__grid { grid-template-columns: 1fr; }
  .tp-soft__item { padding: var(--space-3) 0; }
  .tp-soft__item:nth-last-child(-n+3) { padding-bottom: var(--space-3); }
  .tp-soft__item:last-child { padding-bottom: 0; }
}

@media (max-width: 1023px) {
      .tp-sprint__bar { display: none; }
  .tp-sprint__steps { grid-template-columns: 1fr; gap: 0; margin-top: var(--space-5); }
  .tp-sprint__step { padding: 0 0 var(--space-4) 36px; }
  .tp-sprint__step::before { top: 0; }
  .tp-sprint__step::after, .tp-sprint__step:last-child::after { left: 9px; right: auto; top: 20px; bottom: 0; width: 2px; height: auto; background: var(--color-accent); }
  .tp-sprint__step h3 { margin-top: 4px; }
  .tp-sprint__chip { margin-top: 0; }
}
@media (max-width: 639px) {
        }

/* Daily session timeline motion (loops, same keyframes as the FDE loop); the labels above light up in step */
@keyframes tp-label-loop {
  0%   { color: var(--color-text-secondary); }
  5%, 85% { color: var(--color-accent); }
  95%, 100% { color: var(--color-text-secondary); }
}
.tp-sprint__bar span:nth-child(2) { --j: 2; }
.tp-sprint__bar span:nth-child(3) { --j: 4; }
.tp-sprint__tl:not(.is-pending) .tp-sprint__bar span { animation: tp-label-loop 8s ease-in-out calc(var(--j, 0) * 1.2s) infinite backwards; }
@media (prefers-reduced-motion: reduce) { .tp-sprint__bar span { animation: none !important; } }
.tp-sprint__step { --i: 0; }
.tp-sprint__step:nth-child(2) { --i: 1; }
.tp-sprint__step:nth-child(3) { --i: 2; }
.tp-sprint__step:nth-child(4) { --i: 3; }
.tp-sprint__step:nth-child(5) { --i: 4; }
.tp-sprint__step::after { transform-origin: left center; }
.tp-sprint__tl.is-pending .tp-sprint__step::before,
.tp-sprint__tl.is-pending .tp-sprint__step::after,
.tp-sprint__tl.is-pending .tp-sprint__step > * { opacity: 0; }
.tp-sprint__tl:not(.is-pending) .tp-sprint__step::before { animation: tp-ring-loop 8s ease-in-out calc(var(--i) * 1.2s) infinite backwards; }
.tp-sprint__tl:not(.is-pending) .tp-sprint__step:not(:last-child)::after { animation: tp-line-loop-x 8s ease-in-out calc(var(--i) * 1.2s + .3s) infinite backwards; }
.tp-sprint__tl:not(.is-pending) .tp-sprint__step > * { animation: tp-sec-rise 600ms var(--ease-out) calc(var(--i) * 200ms + 200ms) backwards; }
@media (max-width: 1023px) {
  .tp-sprint__step::after { transform-origin: center top; }
  .tp-sprint__tl:not(.is-pending) .tp-sprint__step:not(:last-child)::after { animation-name: tp-line-loop-y; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-sprint__step::before, .tp-sprint__step::after { animation: none !important; }
  .tp-sprint__step::before { background: var(--color-accent); }
}
