/* ============================================================================
   SYHF 2026 — Track pages, launch polish (2026-11)

   Loaded after tracks.css on surgical-tracks.html and track-detail.html.
   One layout system for all eight tracks: the same section order, the same
   five facts, one "Who gets priority" component, a day-tabbed schedule, the
   supervisors' designed cards (the same set the all-tracks page shows), one
   instructor card, drawn icons, and the package and Apply block last.
   Colour comes only from the locked track roles in tracks.css
   (--tk-hue / --td-c1 / --td-c2 / --tk-bright); no new hues.
   ========================================================================== */

/* ---- All-tracks hub ------------------------------------------------------- */
.tk-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 clamp(1rem, 2.4vw, 1.5rem); }
.tk-filter__btn { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0.45rem 1rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.32); background: rgba(255,255,255,0.04);
  color: #fff; font: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer;
  transition: background 200ms, border-color 200ms, color 200ms; }
.tk-filter__btn:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1); }
.tk-filter__btn[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--syhs-ink); }
.tk-filter__btn:focus-visible { outline: 3px solid var(--syhs-tint-mint); outline-offset: 3px; }
.tk-filter__n { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 0.35rem; border-radius: 999px;
  font-size: 0.74rem; font-variant-numeric: tabular-nums; background: rgba(255,255,255,0.14); }
.tk-filter .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.tk-filter__btn[aria-pressed="true"] .tk-filter__n { background: color-mix(in srgb, var(--syhs-ink) 10%, #fff); }
.tk[hidden] { display: none !important; }
.tk__tier.is-dim { opacity: 0.45; }
:root.is-ar .tk-filter__btn { font-family: var(--font-arabic), var(--font-sans); }

/* Every card is the same box; the normalised artwork does the rest. A light
   lift and tilt on hover, none under reduced motion. */
.tkp__slot { aspect-ratio: 380 / 398; }
.tkp__img { width: 100%; height: 100%; object-fit: contain; }
.tk:hover .tkp__slot { transform: none; }
.tkp__slot:hover { transform: translateY(-4px) rotate(-0.6deg); }
@media (max-width: 63.99em) {
  .tkp__slot { flex: 0 0 auto; width: 5.4rem; }
  .tkp__img { height: auto; }
}
@media (prefers-reduced-motion: reduce) { .tkp__slot:hover { transform: none; } }

/* ---- Header: back to all tracks plus the same Apply action ---------------- */
.app-bar__nav { display: flex; align-items: center; gap: 0.75rem; }
.app-bar__nav .app-bar__back { display: inline-flex; align-items: center; min-height: 44px; }
.app-bar__apply { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; white-space: nowrap;
  font-weight: 800; font-size: 0.9rem; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, var(--td-c1), var(--td-c2)); }
@media (max-width: 360px) { .app-bar__apply { padding: 0 0.85rem; font-size: 0.82rem; } }
.app-bar__apply:hover { filter: brightness(1.1); }
.app-bar__apply:focus-visible { outline: 3px solid var(--td-c1); outline-offset: 3px; }

/* ---- Hero: Apply + countdown chip ---------------------------------------- */
.detail-apply { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.detail-actions__btn--apply { background: var(--syhs-tint-mint); color: #10331f; font-weight: 800; }
.detail-actions__btn--apply:hover span { transform: none; }
.cd-chip { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 32px; padding: 0.25rem 0.8rem; border-radius: 999px;
  background: rgba(0,0,0,0.28); border: 1px solid rgba(255,255,255,0.35); color: #fff; font-size: 0.8rem; font-weight: 700; }
.cd-chip[hidden] { display: none; }
.cd-chip__t { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.cd-chip__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--syhs-tint-mint);
  box-shadow: 0 0 0 0 rgba(102,211,161,0.6); animation: cdpulse 2s ease-out infinite; }
@keyframes cdpulse { 70% { box-shadow: 0 0 0 7px rgba(102,211,161,0); } 100% { box-shadow: 0 0 0 0 rgba(102,211,161,0); } }
.cta-when { white-space: normal; }

/* ---- Scroll-spy ---------------------------------------------------------- */
.td-spy { position: sticky; top: 62px; z-index: 30; margin: 0 calc(var(--gutter, 1rem) * -1) var(--space-5);
  padding: 0.4rem var(--gutter, 1rem);
  background: color-mix(in srgb, var(--tk-hue, #8363D8) 14%, #fff);
  border-bottom: 1px solid color-mix(in srgb, var(--td-c1) 16%, transparent); }
@supports (backdrop-filter: blur(8px)) {
  .td-spy { background: color-mix(in srgb, color-mix(in srgb, var(--tk-hue, #8363D8) 14%, #fff) 82%, transparent); backdrop-filter: blur(10px); }
}
.td-spy__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.35rem; overflow-x: auto; scrollbar-width: none; }
.td-spy__list::-webkit-scrollbar { display: none; }
.td-spy__a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.9rem; border-radius: 999px; white-space: nowrap;
  font-size: 0.85rem; font-weight: 700; text-decoration: none; color: var(--syhs-ink-soft); }
.td-spy__a:hover { color: var(--syhs-ink); background: rgba(255,255,255,0.7); }
.td-spy__a[aria-current="true"] { color: #fff; background: linear-gradient(135deg, var(--td-c1), var(--td-c2)); }
.td-spy__a:focus-visible { outline: 3px solid var(--td-c1); outline-offset: 2px; }
#track-overview, #track-priority, #track-programme, #track-supervisors, #track-instructors, #track-package { scroll-margin-top: 130px; }

/* ---- Section headings: one style, no numbers ------------------------------ */
.track-detail__body .detail-h { font-family: var(--font-serif); font-weight: 500; }
:root.is-ar .track-detail__body .detail-h { font-family: var(--font-arabic), var(--font-sans); font-weight: 800; }
.track-detail__body .detail-h::before { content: ""; display: inline-block; width: 1.1rem; height: 0.18em; border-radius: 999px;
  align-self: center; background: linear-gradient(90deg, var(--td-c1), var(--td-c2)); }

/* ---- Five key facts ------------------------------------------------------- */
.fact-row--five { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; }
.fact-row--five[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact-row--five .fact { display: flex; flex-direction: column; justify-content: flex-start; min-height: 7.5rem; }
.fact__seats { display: flex; align-items: center; gap: 0.6rem; }
.fact__seats .fact__val { white-space: nowrap; }
.fact__seats .fact__val small { font-size: 0.9rem; }
.seat-ring { width: 2.6rem; height: 2.6rem; flex: 0 0 auto; transform: rotate(-90deg); }
.seat-ring__bg { fill: none; stroke: color-mix(in srgb, var(--td-c1) 14%, #fff); stroke-width: 6; }
.seat-ring__fg { fill: none; stroke: var(--td-c1); stroke-width: 6; stroke-linecap: round;
  transition: stroke-dashoffset 1100ms cubic-bezier(.2,.7,.2,1); }
:root[dir="rtl"] .seat-ring { transform: rotate(-90deg) scaleY(-1); }
.fact__foot { display: block; margin-top: 0.35rem; font-size: 0.72rem; line-height: 1.35; color: var(--syhs-ink-soft); }
@media (max-width: 1080px) { .fact-row--five, .fact-row--five[data-n="4"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .fact-row--five, .fact-row--five[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-row--five[data-n="5"] .fact:first-child, .fact-row--five[data-n="3"] .fact:first-child { grid-column: 1 / -1; min-height: 0; }
  .fact-row--five .fact { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .seat-ring__fg { transition: none; } .cd-chip__dot { animation: none; } }

/* ---- Who gets priority ---------------------------------------------------- */
.prio { margin: 0 0 clamp(2.5rem, 6vw, 4rem); padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-md);
  background: #fff; border: 1px solid color-mix(in srgb, var(--tk-hue) 38%, var(--syhs-line-on-light));
  box-shadow: 0 18px 40px -32px rgba(22,18,31,0.5); }
.prio .detail-h { margin-bottom: var(--space-3); }
.prio__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  gap: var(--space-3); position: relative; }
.prio__steps::before { content: ""; position: absolute; top: 1.15rem; inset-inline: 1.15rem; height: 2px;
  background: linear-gradient(90deg, var(--td-c1), color-mix(in srgb, var(--td-c2) 40%, #fff)); }
:root[dir="rtl"] .prio__steps::before { background: linear-gradient(270deg, var(--td-c1), color-mix(in srgb, var(--td-c2) 40%, #fff)); }
.prio__step { position: relative; display: flex; flex-direction: column; gap: 0.6rem; }
.prio__n { position: relative; z-index: 1; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  font-weight: 800; font-variant-numeric: tabular-nums; color: #fff; background: linear-gradient(135deg, var(--td-c1), var(--td-c2));
  box-shadow: 0 0 0 5px #fff; }
.prio__t { font-size: 0.98rem; line-height: 1.45; color: var(--syhs-ink); font-weight: 600; }
.prio__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.prio__chips li { padding: 0.45rem 0.95rem; border-radius: 999px; font-size: 0.92rem; font-weight: 600; color: var(--syhs-ink);
  background: color-mix(in srgb, var(--tk-hue) 12%, #fff); border: 1px solid color-mix(in srgb, var(--td-c1) 26%, transparent); }
.prio__callout { display: flex; align-items: flex-start; gap: 0.6rem; margin: var(--space-4) 0 0; padding: 0.8rem 1rem;
  border-radius: var(--radius-sm); background: color-mix(in srgb, var(--tk-hue) 12%, #fff); color: var(--syhs-ink); }
.prio__ic { flex: 0 0 auto; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--td-c1); color: #fff; font-weight: 800; font-size: 0.85rem; }
.prio__note { margin: var(--space-3) 0 0; color: var(--syhs-ink-soft); font-size: 0.95rem; }
@media (max-width: 760px) {
  .prio__steps { grid-template-columns: 1fr; gap: 0.9rem; }
  .prio__steps::before { top: 1.15rem; bottom: 1.15rem; inset-inline: 1.1rem auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--td-c1), color-mix(in srgb, var(--td-c2) 40%, #fff)); }
  .prio__step { flex-direction: row; align-items: center; gap: 0.9rem; }
}

/* ---- Schedule ------------------------------------------------------------- */
.sch-venue { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0 0 var(--space-4); font-size: 0.92rem; color: var(--syhs-ink-soft); }
.sch-venue svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; color: var(--td-c1); margin-top: 0.1rem; }
.sch-venue strong { color: var(--syhs-ink); }
.timeline2 { display: grid; gap: var(--space-3); }
.tl-tabs { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; padding: 0.15rem; }
.tl-tabs::-webkit-scrollbar { display: none; }
.tl-tab { flex: 1 0 auto; min-width: 7.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem;
  min-height: 56px; padding: 0.55rem 1rem; border-radius: var(--radius-sm); cursor: pointer; font: inherit; text-align: start;
  color: var(--syhs-ink); background: #fff; border: 1px solid color-mix(in srgb, var(--tk-hue) 38%, var(--syhs-line-on-light));
  transition: background 200ms, color 200ms, border-color 200ms; }
.tl-tab__wd { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--syhs-ink-soft); }
.tl-tab__dt { font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.tl-tab[aria-selected="true"] { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--td-c1), var(--td-c2)); }
.tl-tab[aria-selected="true"] .tl-tab__wd { color: #fff; }
.tl-tab:focus-visible { outline: 3px solid var(--td-c1); outline-offset: 2px; }
:root.is-ar .tl-tab__wd { letter-spacing: 0; text-transform: none; }
.tl-day2 { background: #fff; border: 1px solid color-mix(in srgb, var(--tk-hue) 38%, var(--syhs-line-on-light));
  border-radius: var(--radius-md); padding: clamp(1rem, 2.6vw, 1.6rem); }
.tl-day2[hidden] { display: none; }
.tl-day2:focus-visible { outline: 3px solid var(--td-c1); outline-offset: 2px; }
.tl-day2__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: var(--space-3); }
.tl-day2__title { margin: 0; font-size: 1.15rem; color: var(--syhs-ink); }
.tl-calday { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0 0.9rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 0.82rem; font-weight: 700; color: var(--td-c1); background: color-mix(in srgb, var(--tk-hue) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--td-c1) 24%, transparent); }
.tl-calday svg, .tl-cal svg { width: 1.1rem; height: 1.1rem; }
.tl-calday:hover { background: color-mix(in srgb, var(--tk-hue) 22%, #fff); }
.tl-calday:focus-visible, .tl-cal:focus-visible { outline: 3px solid var(--td-c1); outline-offset: 2px; }
.timeline2 .tl-list { gap: 0; padding-inline-start: 0.4rem; border-inline-start: 2px solid color-mix(in srgb, var(--tk-hue) 30%, var(--syhs-line-on-light)); }
.timeline2 .tl-item { grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding-block: 0.95rem;
  border-bottom: 1px solid color-mix(in srgb, var(--syhs-line-on-light) 70%, transparent); }
.timeline2 .tl-item:last-child { border-bottom: 0; }
.timeline2 .tl-item__dot { top: 1.35rem; }
.timeline2 .tl-item__time { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem;
  font-size: 0.86rem; font-weight: 800; color: var(--syhs-ink); }
.tl-cal { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-inline-start: -0.65rem; border-radius: 50%;
  border: 0; background: none; color: var(--td-c1); cursor: pointer; }
.tl-cal:hover { background: color-mix(in srgb, var(--tk-hue) 14%, #fff); }
.timeline2 .tl-item__title { margin: 0; font-size: 1.02rem; font-weight: 800; line-height: 1.35; color: var(--syhs-ink); }
.tl-meta-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.45rem; }
.tl-venue, .tl-pkgchip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.18rem 0.6rem; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; line-height: 1.5; }
.tl-venue { color: var(--syhs-ink-soft); background: color-mix(in srgb, var(--syhs-ink) 5%, #fff); }
.tl-venue svg { width: 0.9rem; height: 0.9rem; color: var(--td-c1); }
.tl-venue--lab { color: var(--syhs-ink); background: color-mix(in srgb, var(--tk-hue) 16%, #fff); }
.tl-pkgchip { color: #fff; background: linear-gradient(135deg, var(--td-c1), var(--td-c2)); }
.timeline2 .tl-tag { margin: 0; }
.tl-k { display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--syhs-ink-soft); }
:root.is-ar .tl-k { letter-spacing: 0; text-transform: none; font-size: 0.78rem; }
.tl-people2 { margin-top: 0.7rem; }
.tl-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
.tl-chip { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 36px; padding: 0.2rem 0.75rem 0.2rem 0.2rem;
  border-radius: 999px; background: #fff; border: 1px solid color-mix(in srgb, var(--td-c1) 20%, var(--syhs-line-on-light));
  font-size: 0.84rem; font-weight: 600; color: var(--syhs-ink); text-decoration: none; }
:root[dir="rtl"] .tl-chip { padding: 0.2rem 0.2rem 0.2rem 0.75rem; }
a.tl-chip:hover { border-color: var(--td-c1); }
a.tl-chip:focus-visible { outline: 3px solid var(--td-c1); outline-offset: 2px; }
.tl-chip__r { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.05rem 0.45rem; border-radius: 999px;
  color: color-mix(in srgb, var(--td-c1) 75%, var(--syhs-ink)); background: color-mix(in srgb, var(--tk-hue) 14%, #fff); }
:root.is-ar .tl-chip__r { letter-spacing: 0; text-transform: none; }
.tl-notes { display: grid; gap: 0.35rem; margin-top: 0.6rem; font-size: 0.86rem; color: var(--syhs-ink-soft); line-height: 1.45; }
.tl-note .tl-k { display: inline; margin-inline-end: 0.35rem; }
.tl-sponsors2 { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.tl-spons { display: grid; gap: 0.3rem; }
.tl-spons__k, .detail-spons .tl-spons__k { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--syhs-ink-soft); }
:root.is-ar .tl-spons__k { letter-spacing: 0; text-transform: none; font-size: 0.78rem; }
.tl-spons__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
/* One white plate of one size for every logo, the mark contained inside it,
   in full colour. A mark drawn for a dark ground keeps its own dark plate. */
.tl-logo { display: inline-grid; place-items: center; width: 8.5rem; height: 3.6rem; padding: 0.45rem 0.7rem; border-radius: 10px;
  background: #fff; border: 1px solid var(--syhs-line-on-light); }
.tl-logo img { display: block; width: 100%; height: 100%; object-fit: contain; filter: none; opacity: 1; }
.tl-logo--dark { background: #16121f; border-color: #16121f; }
/* Text wordmark plate: the logo file is wrong or missing until the client
   resends it, so the company name is the mark, on the same plate. */
.tl-logo__word { font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem; line-height: 1.1; letter-spacing: -0.01em;
  color: var(--syhs-ink); text-align: center; overflow-wrap: anywhere; }
:root.is-ar .tl-logo__word { font-family: var(--font-arabic), var(--font-sans); letter-spacing: 0; }
.detail-spons { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 var(--space-5); }
.timeline2 .tl-item--break { padding-block: 0.55rem; }
.timeline2 .tl-item--break .tl-item__time, .timeline2 .tl-item--break .tl-item__title { font-weight: 600; font-size: 0.86rem; color: var(--syhs-ink-soft); }
.timeline2 .tl-sub { padding: 0.9rem 0 0.1rem 1.1rem; list-style: none; }
.pgx__hint { margin: 0 0 var(--space-3); }
.tl-obj--rich .tl-grps { margin-top: 0.5rem; }

/* Session timetable (General Surgery postgraduate): on a phone each row becomes
   a small card, time on top, so nothing is squeezed into a narrow column. */
@media (max-width: 640px) {
  .timeline2 .tl-item { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .timeline2 .tl-item__time { flex-direction: row; align-items: center; justify-content: space-between; }
  .tl-cal { margin: -0.4rem 0; }
  .tl-tt, .tl-tt tbody, .tl-tt tr, .tl-tt td { display: block; width: 100%; }
  .tl-tt thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tl-tt tr { padding: 0.55rem 0.7rem; border-top: 1px solid color-mix(in srgb, var(--syhs-line-on-light) 70%, transparent); }
  .tl-tt tbody tr:first-child { border-top: 0; }
  .tl-tt td { padding: 0; border: 0; }
  .tl-tt td.tl-tt__time { width: auto; min-width: 0; margin-bottom: 0.15rem; font-size: 0.78rem; }
  .tl-tab { min-width: 6.4rem; padding: 0.5rem 0.8rem; }
  .tl-logo { width: 7.2rem; height: 3.2rem; }
}

/* ---- Supervisors: the designed cards ---------------------------------------- */
.sup2-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 2.4vw, 1.75rem); }
.sup2 { margin: 0; flex: 0 1 13.5rem; max-width: 15rem; }
.sup2__link { display: flex; flex-direction: column; gap: 0.8rem; height: 100%; text-decoration: none; color: inherit; border-radius: var(--radius-md); }
.sup2__link:focus-visible { outline: 3px solid var(--td-c1); outline-offset: 4px; }
.sup2__frame { display: block; position: relative; overflow: hidden; aspect-ratio: 380 / 398; border-radius: var(--radius-md);
  background: linear-gradient(150deg, color-mix(in srgb, var(--tk-deep) 86%, #000) 0%, var(--tk-deep) 50%, color-mix(in srgb, var(--tk-hue) 42%, var(--syhs-ink)) 100%);
  box-shadow: 0 20px 40px -28px rgba(22,18,31,0.75); transition: transform 280ms var(--ease-editorial), box-shadow 280ms; }
.sup2__frame .av { position: absolute; inset: 12%; width: auto; }
.sup2__card { display: block; width: 100%; height: 100%; object-fit: contain; }
.sup2__link:hover .sup2__frame { transform: translateY(-5px); box-shadow: 0 28px 50px -28px color-mix(in srgb, var(--td-c1) 80%, #000); }
.sup2__cap { display: grid; gap: 0.2rem; text-align: center; }
.sup2__role { justify-self: center; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.12rem 0.6rem;
  border-radius: 999px; color: color-mix(in srgb, var(--td-c1) 75%, var(--syhs-ink)); background: color-mix(in srgb, var(--tk-hue) 14%, #fff); }
:root.is-ar .sup2__role { letter-spacing: 0; text-transform: none; font-size: 0.78rem; }
.sup2__name { font-size: 1.02rem; font-weight: 800; color: var(--syhs-ink); line-height: 1.25; }
.sup2__title { font-size: 0.8rem; line-height: 1.4; color: var(--syhs-ink-soft); }
@media (max-width: 600px) {
  .sup2-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 0.75rem; }
  .sup2 { max-width: none; }
  .sup2__title { font-size: 0.74rem; }
  .sup2-grid[data-n="1"] { grid-template-columns: minmax(0, 15rem); justify-content: center; }
  .sup2-grid > .sup2:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 0.375rem); }
}
@media (prefers-reduced-motion: reduce) { .sup2__frame { transition: none; } .sup2__link:hover .sup2__frame { transform: none; } }

/* ---- Avatars: photo or designed monogram, one size system ------------------ */
.av { position: relative; display: inline-block; flex: 0 0 auto; border-radius: 50%; overflow: hidden; aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, var(--td-c2), var(--td-c1)); box-shadow: 0 0 0 2px #fff, 0 0 0 4px color-mix(in srgb, var(--td-c1) 55%, transparent); }
.av img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; background: #fff; }
.av--xs { width: 30px; box-shadow: none; }
.av--lg { width: 5.25rem; }
.av--xl { width: 76%; }
.av--mono { display: inline-grid; place-items: center; color: #fff;
  background: radial-gradient(120% 120% at 25% 15%, color-mix(in srgb, var(--tk-hue) 70%, #fff) 0%, var(--td-c2) 45%, var(--td-c1) 100%); }
.av--mono span { font-family: var(--font-serif); font-style: italic; font-weight: 600; letter-spacing: 0.02em; line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.av--xs.av--mono span { font-family: var(--font-sans); font-style: normal; font-weight: 800; font-size: 0.66rem; }
.av--lg.av--mono span { font-size: 1.7rem; }
.av--xl.av--mono span { font-size: 3rem; }
.av--mono::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 9px, rgba(255,255,255,0.07) 9px 10px); }

/* ---- Instructors ------------------------------------------------------------ */
.fx2-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: var(--space-3); }
.fx2 { align-items: flex-start; }
.fx2 .fx-card__more { margin: 0; min-height: 44px; }
@media (max-width: 40em) { .fx2-grid { grid-template-columns: 1fr; } .fx2 .av--lg { width: 4.25rem; } }

/* ---- What you will gain: no orphan on the last row -------------------------- */
.gain-grid--bal { display: flex; flex-wrap: wrap; justify-content: center; }
.gain-grid--bal .gain { flex: 0 1 calc((100% - 2 * var(--space-3)) / 3); min-width: 15rem; }
.gain-grid--bal[data-n="2"] .gain, .gain-grid--bal[data-n="4"] .gain { flex-basis: calc((100% - var(--space-3)) / 2); }
@media (max-width: 760px) { .gain-grid--bal .gain, .gain-grid--bal[data-n] .gain { flex-basis: 100%; min-width: 0; } }

/* ---- What is included: drawn icons ------------------------------------------ */
.inc-grid--svg .inc { align-items: flex-start; background: #fff; border-color: color-mix(in srgb, var(--tk-hue) 38%, var(--syhs-line-on-light)); line-height: 1.45; }
.inc-grid--svg .inc__ic { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: 0 0 auto; border-radius: 12px; font-size: 1rem;
  color: var(--td-c1); background: color-mix(in srgb, var(--tk-hue) 14%, #fff); }
.inc-grid--svg .inc__ic svg { width: 1.45rem; height: 1.45rem; }
.inc-grid--svg .inc > span:last-child { padding-top: 0.45rem; }

/* ---- Package / Apply ---------------------------------------------------------- */
#track-package .pgx-confirm__k { margin: 0 0 0.35rem; }
.pgx__price { display: block; font-size: 0.8rem; color: var(--syhs-ink-soft); margin-top: 0.15rem; }
.px__rate-opt i { display: none; }
.px__note { font-weight: 600; }
.detail-cta .pgx-confirm__k { color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
:root.is-ar .detail-cta .pgx-confirm__k { letter-spacing: 0; text-transform: none; font-size: 0.85rem; }
.detail-cta__title { color: #fff; font-weight: 800; }

/* ---- DNA-helix accent: one quiet strand down the hero's edge ------------------ */
.detail-hero--rich::before { content: ""; position: absolute; inset-block: 0; inset-inline-end: clamp(1rem, 6vw, 5rem); width: 64px; pointer-events: none;
  opacity: 0.22; background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 128'%3E%3Cpath d='M18 0c0 32 28 32 28 64S18 96 18 128' fill='none' stroke='white' stroke-width='2'/%3E%3Cpath d='M46 0c0 32-28 32-28 64s28 32 28 64' fill='none' stroke='white' stroke-width='2' opacity='.55'/%3E%3Cpath d='M22 16h20M22 112h20M26 40h12M26 88h12' stroke='white' stroke-width='1.6' opacity='.5'/%3E%3C/svg%3E") repeat-y center / 64px 128px;
  animation: helixdrift 22s linear infinite; }
@keyframes helixdrift { to { background-position: center 128px; } }
@media (max-width: 640px) { .detail-hero--rich::before { width: 40px; background-size: 40px 80px; opacity: 0.16; } }
@media (prefers-reduced-motion: reduce) { .detail-hero--rich::before { animation: none; } }
/* Phones: the hero carries "Back to all tracks", so the bar keeps Apply only. */
@media (max-width: 480px) {
  .app-bar__nav .app-bar__back { display: none; }
  .app-bar__apply { padding: 0 0.9rem; font-size: 0.85rem; }
}
