/* VeinTrain Journey Explorer V2
   Brand source: VEINTRAIN_DESIGN_SYSTEM.html v3.1 + veintrain-design-tokens.css v1.1 (public-facing family).
   Colour values come only from the token file. No gradients. Red is accent-only (Train route marker).
   Neon/action blue glow is used only for route progression and the active stage, per design system §Neon. */

:root {
  --ink: var(--vt-charcoal-900);
  --ink-soft: var(--vt-grey-600);
  --line: var(--vt-grey-200);
  --page: var(--vt-grey-50);
  --card: var(--vt-white);
  --glow: 0 0 0 4px rgba(55, 174, 239, .28), 0 0 18px rgba(55, 174, 239, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Route colours: stroke/accent and a text-safe ink for each route */
  --learn: var(--vt-blue);      --learn-ink: var(--vt-blue-mid);
  --train: var(--vt-red);       --train-ink: var(--vt-red);
  --scale: var(--vt-blue-deep); --scale-ink: var(--vt-blue-deep);
  --route: var(--vt-blue-mid);  --route-ink: var(--vt-blue-mid);
}
[data-route="learn"] { --route: var(--learn); --route-ink: var(--learn-ink); }
[data-route="train"] { --route: var(--train); --route-ink: var(--train-ink); }
[data-route="scale"] { --route: var(--scale); --route-ink: var(--scale-ink); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-main, 'Figtree', sans-serif); color: var(--ink); background: var(--page);
  line-height: var(--lh-body); font-size: 16px; min-height: 100vh; display: flex; flex-direction: column;
}
img { max-width: 100%; }
h1, h2, h3, h4 { line-height: var(--lh-tight); margin: 0; }
a { color: var(--vt-blue-deep); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--vt-white); padding: 8px 12px; z-index: 99; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ---------- Public header (white bar + logo + red pill) ---------- */
.site-head { background: var(--vt-white); border-bottom: 1px solid var(--vt-charcoal-100); }
.site-head__inner { max-width: 1120px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 14px; }
.site-head__logo { display: inline-flex; }
.site-head__logo img { height: 40px; width: auto; display: block; }
.site-head__title { font-weight: var(--fw-semibold); color: var(--ink-soft); font-size: .95rem; padding-left: 14px; border-left: 1px solid var(--line); }
.proto-pill { margin-left: auto; background: var(--vt-red); color: var(--vt-white); font-size: .74rem; font-weight: var(--fw-bold); letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

/* ---------- Back link (VeinTrain App launcher + Journey Explorer header) ---------- */
.back-link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; min-height: 44px; padding: 8px 12px 8px 6px; font-weight: var(--fw-semibold); color: var(--vt-blue-deep); text-decoration: none; border-radius: var(--radius-sm); }
.back-link::before { content: ''; width: 9px; height: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 6px; }
.back-link:hover { background: var(--vt-grey-100); }
.back-link[hidden] { display: none; }
@media (max-width: 640px) { .site-head .back-link { padding-right: 6px; font-size: .92rem; } }

/* ---------- Progress strip ---------- */
.progress { background: var(--vt-white); border-bottom: 1px solid var(--vt-charcoal-100); position: sticky; top: 0; z-index: 20; }
.progress__inner { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
.progress__steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; overflow: hidden; }
.progress__steps li { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--ink-soft); white-space: nowrap; min-width: 0; }
.progress__steps li + li::before { content: ''; width: 18px; height: 2px; background: var(--line); flex: none; }
.progress__steps li.done + li::before, .progress__steps li.done::before { background: var(--route); }
.progress__dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: .72rem; font-weight: var(--fw-bold); background: var(--vt-white); flex: none; transition: all .3s var(--ease); }
.progress__steps li.done .progress__dot { background: var(--route-ink); border-color: var(--route-ink); color: var(--vt-white); }
.progress__steps li.current .progress__dot { border-color: var(--route); color: var(--route-ink); box-shadow: var(--glow); }
.progress__steps li.current { color: var(--ink); font-weight: var(--fw-semibold); }
.progress__label { overflow: hidden; text-overflow: ellipsis; }
.link-btn { background: none; border: 0; font: inherit; font-weight: var(--fw-semibold); color: var(--vt-blue-deep); cursor: pointer; padding: 8px 6px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 640px) {
  .progress__steps li:not(.current) .progress__label { display: none; }
  .progress__steps li + li::before { width: 10px; }
  .site-head__title { display: none; }
}

/* ---------- App & screen transitions ---------- */
.app { flex: 1; outline: none; }
.screen { animation: enter .5s var(--ease); padding-bottom: var(--space-6); }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.screen-title:focus { outline: none; }

/* ---------- Buttons ---------- */
.btn { font: inherit; font-weight: var(--fw-semibold); border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; padding: 12px 22px; line-height: 1.2; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: background .15s, transform .15s, box-shadow .2s; }
.btn--primary { background: var(--vt-blue-deep); color: var(--vt-white); }
.btn--primary:hover { background: var(--vt-blue-mid); }
.btn--primary:not(:disabled):hover { transform: translateY(-1px); }
.btn--secondary { background: var(--vt-white); color: var(--vt-blue-deep); border-color: var(--vt-blue-deep); }
.btn--secondary:hover { background: var(--vt-grey-100); }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--quiet:hover { border-color: var(--vt-charcoal-500); }
.btn--on-dark { background: var(--vt-white); color: var(--vt-charcoal-900); }
.btn--on-dark:hover { background: var(--vt-grey-100); }
.btn--outline-dark { background: transparent; color: var(--vt-white); border-color: var(--vt-white); }
.btn--outline-dark:hover { background: var(--vt-charcoal-700); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--next { box-shadow: 0 0 0 0 rgba(55,174,239,0); }
.btn--next.ready { box-shadow: var(--glow); }

/* ---------- Welcome hero (charcoal + swoosh watermark, as on the live site) ---------- */
.hero { position: relative; overflow: hidden; background: var(--vt-charcoal-900); color: var(--vt-white); }
.hero::after { content: ''; position: absolute; right: -120px; top: -40px; width: 720px; height: 445px; background: url('assets/veintrain-swoosh-grey-halo.svg') no-repeat center / contain; opacity: var(--swoosh-opacity); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 56px 16px 64px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: var(--fw-bold); color: var(--vt-blue); margin: 0 0 12px; }
.hero h1 { font-weight: var(--fw-heavy); font-size: clamp(2rem, 5.4vw, 3.3rem); max-width: 18ch; }
.hero__lead { font-size: 1.15rem; max-width: 52ch; margin: 18px 0 0; color: var(--vt-charcoal-100); }
.hero__note { font-size: .9rem; color: var(--vt-charcoal-300); margin: 14px 0 0; }

/* ---------- Route territory map (welcome) ---------- */
.territory { position: relative; max-width: 1120px; margin: -34px auto 0; padding: 0 16px; z-index: 2; }
.territory__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; z-index: 1; }
.trail-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.trail-base { fill: none; stroke: var(--vt-grey-400); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; animation: flow 2.8s linear infinite; }
.trail-progress { fill: none; stroke: var(--route); stroke-width: 5; stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease); }
.trail-glow { fill: none; stroke: var(--vt-blue); stroke-width: 10; stroke-linecap: round; opacity: .18; transition: stroke-dashoffset 1.1s var(--ease); }
@keyframes flow { to { stroke-dashoffset: -24; } }

.route-card { position: relative; text-align: left; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px 22px; cursor: pointer; font: inherit; color: inherit; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 8px; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.route-card:hover { transform: translateY(-4px); border-color: var(--route); box-shadow: var(--shadow-lg); }
.route-card:focus-visible { border-color: var(--route); }
.route-card__badge { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--vt-white); border: 3px solid var(--route); color: var(--route-ink); margin-bottom: 6px; }
.route-card__name { font-size: .8rem; font-weight: var(--fw-bold); letter-spacing: .14em; text-transform: uppercase; color: var(--route-ink); }
.route-card__promise { font-size: 1.3rem; font-weight: var(--fw-bold); }
.route-card__who { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.route-card__go { margin-top: auto; padding-top: 8px; font-weight: var(--fw-semibold); color: var(--vt-blue-deep); }
.route-card__step { position: absolute; top: 18px; right: 18px; font-size: .75rem; font-weight: var(--fw-bold); color: var(--ink-soft); }

.connect-note { max-width: 1120px; margin: 28px auto 0; padding: 0 16px; }
.connect-note__box { background: var(--vt-white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.connect-note__box p { margin: 0; color: var(--ink-soft); }
.connect-note__box strong { color: var(--ink); }
.unsure { max-width: 1120px; margin: 18px auto 0; padding: 0 16px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .territory__grid { grid-template-columns: 1fr; gap: 22px; }
  .route-card { margin-right: 18%; }
  .route-card:nth-child(2) { margin-right: 0; margin-left: 18%; }
}
@media (max-width: 640px) {
  .hero__inner { padding: 40px 16px 56px; }
  .hero::after { width: 460px; height: 284px; right: -180px; top: auto; bottom: -60px; }
  .route-card, .route-card:nth-child(2) { margin: 0; }
}

/* ---------- Question screens ---------- */
.q-head { max-width: 760px; margin: 0 auto; padding: 36px 16px 8px; }
.route-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: var(--fw-bold); letter-spacing: .12em; text-transform: uppercase; color: var(--route-ink); background: var(--vt-white); border: 2px solid var(--route); padding: 4px 12px 4px 6px; border-radius: 999px; }
.route-tag svg { width: 18px; height: 18px; }
.q-count { color: var(--ink-soft); font-size: .9rem; margin: 18px 0 6px; }
.q-head h2 { font-size: clamp(1.55rem, 4vw, 2.2rem); font-weight: var(--fw-heavy); }
.q-help { color: var(--ink-soft); margin: 10px 0 0; font-size: 1.02rem; }
.q-body { max-width: 760px; margin: 0 auto; padding: 18px 16px 0; }
.options { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.options legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option__card { display: flex; gap: 14px; align-items: flex-start; height: 100%; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius-md); padding: 16px; transition: border-color .15s, box-shadow .2s, transform .15s var(--ease); }
.option:hover .option__card { border-color: var(--vt-charcoal-500); transform: translateY(-2px); }
.option input:focus-visible + .option__card { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.option input:checked + .option__card { border-color: var(--route); box-shadow: 0 0 0 3px var(--route) inset; }
.option__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--vt-grey-100); color: var(--route-ink); transition: background .2s, color .2s; }
.option input:checked + .option__card .option__icon { background: var(--route-ink); color: var(--vt-white); }
.option__text { display: flex; flex-direction: column; gap: 2px; }
.option__label { font-weight: var(--fw-bold); font-size: 1.05rem; }
.option__hint { color: var(--ink-soft); font-size: .92rem; line-height: 1.45; }
.option__tick { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--route-ink); color: var(--vt-white); display: grid; place-items: center; opacity: 0; transform: scale(.5); transition: all .2s var(--ease); }
.option input:checked ~ .option__tick { opacity: 1; transform: none; }
.free { margin-top: 20px; }
.free summary { cursor: pointer; font-weight: var(--fw-semibold); color: var(--vt-blue-deep); padding: 6px 0; }
.free label { display: block; font-weight: var(--fw-semibold); margin: 10px 0 6px; }
.free textarea { width: 100%; min-height: 84px; font: inherit; border: 2px solid var(--line); border-radius: var(--radius-md); padding: 12px; resize: vertical; background: var(--vt-white); color: var(--ink); }
.free textarea:focus { border-color: var(--vt-blue-deep); }
.free small { display: block; color: var(--ink-soft); margin-top: 6px; }
.q-nav { max-width: 760px; margin: 0 auto; padding: 26px 16px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .options { grid-template-columns: 1fr; }
  .q-nav { position: sticky; bottom: 0; background: var(--page); padding-bottom: 12px; border-top: 1px solid var(--line); margin-top: 18px; }
  .q-nav .btn { flex: 1; }
}

/* ---------- Result: journey map ---------- */
.result-head { max-width: 1120px; margin: 0 auto; padding: 34px 16px 0; }
.result-head h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); font-weight: var(--fw-heavy); margin-top: 14px; max-width: 26ch; }
.result-head__sub { color: var(--ink-soft); margin: 10px 0 0; max-width: 64ch; font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: .85rem; background: var(--vt-white); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; color: var(--ink); }
.chip b { color: var(--ink-soft); font-weight: var(--fw-medium); }
.chip-edit { font-size: .85rem; }

.map { position: relative; max-width: 1120px; margin: 26px auto 0; padding: 0 16px; }
.map__canvas { position: relative; background: var(--vt-white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 24px 26px; box-shadow: var(--shadow-sm); overflow: hidden; }
.map__canvas::after { content: ''; position: absolute; left: -160px; bottom: -150px; width: 520px; height: 321px; background: url('assets/veintrain-swoosh-grey-halo.svg') no-repeat center / contain; opacity: .07; pointer-events: none; }
.map__hint { position: relative; z-index: 1; margin: 0 0 8px; color: var(--ink-soft); font-size: .92rem; }
.stations { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.station { display: flex; justify-content: center; }
.station:nth-child(even) { padding-top: 78px; }
.station:nth-child(odd) { padding-bottom: 78px; }
.station__btn { position: relative; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px; border-radius: var(--radius-md); max-width: 170px; text-align: center; }
.station__node { width: 64px; height: 64px; border-radius: 50%; background: var(--vt-white); border: 3px solid var(--vt-charcoal-500); display: grid; place-items: center; font-weight: var(--fw-heavy); font-size: 1.25rem; color: var(--ink-soft); transition: transform .35s var(--ease), border-color .3s, background .3s, color .3s, box-shadow .3s; }
.station__label, .station__teaser { display: block; }
.station__label { font-weight: var(--fw-bold); font-size: .98rem; line-height: 1.25; }
.station__teaser { font-size: .84rem; color: var(--ink-soft); line-height: 1.35; }
.station.reached .station__node { border-color: var(--route-ink); color: var(--route-ink); }
.station.active .station__node { background: var(--route-ink); border-color: var(--route-ink); color: var(--vt-white); transform: scale(1.14); box-shadow: var(--glow); }
.station__btn:hover .station__node { transform: scale(1.08); }
.station.active .station__btn:hover .station__node { transform: scale(1.14); }
.station__flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--vt-charcoal-900); color: var(--vt-white); font-size: .7rem; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.station.start .station__node { animation: beacon 2.4s ease-out infinite; }
.station.start.active .station__node { animation: none; }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 rgba(55,174,239,.55); } 70% { box-shadow: 0 0 0 16px rgba(55,174,239,0); } 100% { box-shadow: 0 0 0 0 rgba(55,174,239,0); } }

/* Stage detail (progressive disclosure) */
.detail { position: relative; z-index: 1; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 22px; }
.detail__top { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.detail__step { font-size: .78rem; font-weight: var(--fw-bold); letter-spacing: .12em; text-transform: uppercase; color: var(--route-ink); }
.detail h3 { font-size: 1.5rem; font-weight: var(--fw-heavy); margin-top: 4px; }
.detail__approved { color: var(--ink-soft); margin: 8px 0 0; max-width: 70ch; }
.detail__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.facet { background: var(--vt-grey-50); border: 1px solid var(--vt-charcoal-100); border-radius: var(--radius-md); padding: 14px 16px; }
.facet h4 { display: flex; align-items: center; gap: 8px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.facet h4 svg { width: 18px; height: 18px; color: var(--route-ink); }
.facet p { margin: 0; }
.facet--wide { grid-column: 1 / -1; }
.res-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.res { display: flex; align-items: flex-start; gap: 10px; }
.res__badge { flex: none; font-size: .68rem; font-weight: var(--fw-bold); letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; margin-top: 3px; }
.res__badge--live { background: var(--vt-blue-deep); color: var(--vt-white); }
.res__badge--check { background: var(--vt-white); color: var(--vt-charcoal-900); border: 1px dashed var(--vt-status-amber); }
.res__badge--listed { background: var(--vt-white); color: var(--vt-blue-deep); border: 1px solid var(--vt-blue-deep); }
.res a, .res__name { font-weight: var(--fw-semibold); }
.res small { display: block; color: var(--ink-soft); }
.competency { margin-top: 14px; border-left: 4px solid var(--vt-red); background: var(--vt-white); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .95rem; box-shadow: var(--shadow-sm); }
.detail__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .map__hint { margin-bottom: 26px; }
  .stations { grid-template-columns: 1fr; gap: 14px; }
  .station, .station:nth-child(odd), .station:nth-child(even) { padding: 0; justify-content: flex-start; }
  .station:nth-child(even) { padding-left: 34%; }
  .station__btn { flex-direction: row; text-align: left; max-width: none; align-items: center; gap: 14px; }
  .station__flag { left: 0; transform: none; top: -16px; }
  .station__node { flex: none; width: 56px; height: 56px; }
  .station__teaser { display: none; }
  .detail__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .map__canvas { padding: 26px 14px 18px; }
  .station:nth-child(even) { padding-left: 22%; }
}

/* ---------- Recommendation (charcoal call-to-action panel, as on the live site) ---------- */
.reco { max-width: 1120px; margin: 28px auto 0; padding: 0 16px; }
.reco__panel { position: relative; overflow: hidden; background: var(--vt-charcoal-900); color: var(--vt-white); border-radius: var(--radius-lg); padding: 32px 28px; }
.reco__panel::after { content: ''; position: absolute; right: -140px; top: -60px; width: 560px; height: 346px; background: url('assets/veintrain-swoosh-grey-halo.svg') no-repeat center / contain; opacity: var(--swoosh-opacity); pointer-events: none; }
.reco__panel > * { position: relative; z-index: 1; }
.reco__eyebrow { color: var(--vt-blue); }
.reco h3 { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: var(--fw-heavy); max-width: 28ch; }
.reco p { color: var(--vt-charcoal-100); max-width: 64ch; }
.reco__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.reco__small { font-size: .85rem; color: var(--vt-charcoal-300) !important; margin-top: 14px; }

/* ---------- Related routes (Learn → Train → Scale continuum) ---------- */
.related { max-width: 1120px; margin: 30px auto 0; padding: 0 16px; }
.section-title { font-size: 1.3rem; font-weight: var(--fw-heavy); }
.section-sub { color: var(--ink-soft); margin: 6px 0 0; }
.continuum { position: relative; margin-top: 18px; }
.continuum__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cont-card { background: var(--vt-white); border: 2px solid var(--line); border-radius: var(--radius-md); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.cont-card.here { border-color: var(--route); box-shadow: var(--glow); }
.cont-card__name { font-size: .78rem; font-weight: var(--fw-bold); letter-spacing: .12em; text-transform: uppercase; color: var(--route-ink); display: flex; align-items: center; gap: 8px; }
.cont-card__here { margin-left: auto; font-size: .68rem; background: var(--vt-charcoal-900); color: var(--vt-white); padding: 2px 8px; border-radius: 999px; letter-spacing: .06em; }
.cont-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.cont-card .btn { margin-top: auto; align-self: flex-start; min-height: 42px; padding: 8px 14px; }
@media (max-width: 900px) { .continuum__grid { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Take it with you ---------- */
.takeaway { max-width: 1120px; margin: 30px auto 0; padding: 0 16px; }
.takeaway__box { background: var(--vt-white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.takeaway__box p { margin: 0; color: var(--ink-soft); flex: 1 1 280px; }
.governance { max-width: 1120px; margin: 24px auto 0; padding: 0 16px; }
.governance details { background: var(--vt-white); border: 1px dashed var(--vt-grey-400); border-radius: var(--radius-md); padding: 12px 16px; font-size: .9rem; color: var(--ink-soft); }
.governance summary { cursor: pointer; font-weight: var(--fw-semibold); color: var(--ink); }
.governance ul { margin: 10px 0 0; padding-left: 18px; }

/* ---------- Toast & footer ---------- */
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--vt-charcoal-900); color: var(--vt-white); padding: 12px 18px; border-radius: var(--radius-md); font-size: .95rem; z-index: 60; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); }
.site-foot { margin-top: var(--space-6); background: var(--vt-white); border-top: 1px solid var(--vt-charcoal-100); }
.site-foot__inner { max-width: 1120px; margin: 0 auto; padding: 20px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.site-foot__inner img { height: 30px; width: auto; }
.site-foot__triad { font-weight: var(--fw-bold); margin: 0; }
.site-foot__note { margin: 0; font-size: .82rem; color: var(--ink-soft); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print: a clean journey summary ---------- */
.print-only { display: none; }
@media print {
  body { background: var(--vt-white); }
  .site-head__title, .proto-pill, .progress, .site-foot, .q-nav, .detail__nav, .takeaway, .related .btn, .reco__actions, .map, .chip-edit, .toast, .governance, .skip { display: none !important; }
  .reco__panel { background: var(--vt-white); color: var(--ink); border: 1px solid var(--line); }
  .reco__panel::after { display: none; }
  .reco p, .reco__small { color: var(--ink) !important; }
  .print-only { display: block; }
  .print-stage { break-inside: avoid; border-top: 1px solid var(--line); padding: 10px 0; }
  .print-stage h4 { margin: 0 0 4px; }
  .print-stage p { margin: 2px 0; font-size: .92rem; }
}

/* Public web build: internal link-status badges and notes are hidden. */
.res__badge, .res small { display: none; }

/* ---------- Top-and-tail pass (20 Oct 2026) ---------- */
.connect-note__line { margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ink-soft); text-align: center; font-size: 1rem; }
.connect-note__line svg { flex: none; color: var(--vt-blue-mid); }
@media (max-width: 640px) {
  .route-card__who { display: none; }
  .connect-note__line { align-items: flex-start; text-align: left; justify-content: flex-start; }
}

.layers { max-width: 1120px; margin: 26px auto 0; padding: 0 16px; }
.layers__box { background: var(--vt-white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.layers__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.layer { border: 1px solid var(--vt-charcoal-100); border-radius: var(--radius-md); background: var(--vt-grey-50); transition: border-color .2s, box-shadow .2s; }
.layer.open { border-color: var(--route-ink); box-shadow: 0 0 0 1px var(--route-ink) inset; background: var(--vt-white); }
.layer__head { margin: 0; font-size: 1rem; }
.layer__btn { width: 100%; display: flex; align-items: center; gap: 12px; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; padding: 12px 14px; text-align: left; min-height: 48px; border-radius: var(--radius-md); }
.layer__num { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: var(--fw-heavy); border: 2px solid var(--route-ink); color: var(--route-ink); background: var(--vt-white); transition: background .2s, color .2s; }
.layer.open .layer__num { background: var(--route-ink); color: var(--vt-white); }
.layer__title { flex: 1; font-weight: var(--fw-bold); font-size: 1.05rem; }
.layer__state { font-size: .82rem; font-weight: var(--fw-semibold); color: var(--vt-blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.layer__body { padding: 0 14px 14px 58px; animation: enter .35s var(--ease); }
.layer__body p { margin: 0; color: var(--ink); max-width: 68ch; }
.layers__note { margin: 14px 0 0; color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 640px) {
  .layers__box { padding: 18px 14px; }
  .layer__body { padding-left: 14px; }
}
.map__title { margin-bottom: 12px; }

.reco__alt { margin: 14px 0 0; color: var(--vt-charcoal-100); }
.reco__alt-link { color: var(--vt-white); font-weight: var(--fw-semibold); text-decoration: underline; text-underline-offset: 3px; }
.reco__alt-link:hover { color: var(--vt-charcoal-100); }
@media print { .layers, .reco__alt { display: none !important; } }

/* ---------- Footer return routes (20 Oct 2026; the HIIH header band was removed at Sarah's request) ---------- */

.site-foot__inner { align-items: flex-start; }
.site-foot__identity { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; flex: 1 1 380px; }
.site-foot__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 18px; flex: 1 1 340px; }
.site-foot__links a { min-height: 44px; display: inline-flex; align-items: center; font-weight: var(--fw-semibold); text-underline-offset: 3px; }
.site-foot__hub { padding: 8px 13px; border: 1px solid var(--vt-blue-mid); border-radius: 999px; text-decoration: none; }
.site-foot__hub:hover { background: var(--vt-grey-100); }
.site-foot__system { flex: 1 0 100%; margin: 2px 0 0; color: var(--ink-soft); font-size: .82rem; }
@media (max-width: 700px) {
  .site-foot__links { justify-content: flex-start; }
}
@media print { .site-foot__links, .site-foot__system { display: none !important; } }

/* ---------- Compact HALO levels strip (20 Oct 2026) ---------- */
/* A static reference inside the existing Scale layers box. Fixed Bronze > Silver > Gold > Platinum order,
   numbered, restrained Authority Red accent. The only motion is the rail drawing once, left to right,
   in the same vocabulary as the journey trails; prefers-reduced-motion removes it (global rule). */
.halo-strip { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--vt-charcoal-100); }
.halo-strip__title { margin: 0 0 10px; font-size: .8rem; font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.halo-strip__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.halo-strip__list::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 13px; height: 2px; background: var(--vt-red); opacity: .55; transform-origin: left center; animation: halo-rail .9s var(--ease) .2s both; }
@keyframes halo-rail { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.halo-strip__item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 0 4px; }
.halo-strip__num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--vt-white); border: 2px solid var(--vt-red); color: var(--vt-red); font-weight: var(--fw-heavy); font-size: .85rem; position: relative; z-index: 1; }
.halo-strip__name { font-weight: var(--fw-bold); font-size: .92rem; }
.halo-strip__line { font-size: .8rem; color: var(--ink-soft); line-height: 1.3; }
.halo-strip__caption { margin: 10px 0 0; font-size: .86rem; color: var(--ink-soft); max-width: 78ch; }
@media (max-width: 640px) {
  .halo-strip__line { display: none; }
  .halo-strip__name { font-size: .85rem; }
}
@media print {
  /* The layers box is hidden in print by the top-and-tail pass; keep just the HALO levels reference. */
  .screen .layers { display: block !important; }
  .screen .layers .layers__list, .screen .layers .layers__note, .screen .layers #layers-title { display: none !important; }
  .screen .layers .layers__box { box-shadow: none; }
  .halo-strip__list::before { animation: none !important; }
  .halo-strip__num, .halo-strip__list::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Three ways to start (20 Oct 2026) ---------- */
.start3 { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--vt-charcoal-100); }
.start3__title { margin: 0; font-size: 1.1rem; font-weight: var(--fw-heavy); }
.start3__intro { margin: 4px 0 0; color: var(--ink-soft); font-size: .92rem; }
.start3__grid { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.start3__card { display: flex; flex-direction: column; gap: 8px; background: var(--vt-grey-50); border: 1px solid var(--vt-charcoal-100); border-top: 4px solid var(--vt-blue-mid); border-radius: var(--radius-md); padding: 14px; min-width: 0; }
.start3__card h4 { margin: 0; font-size: 1rem; }
.start3__card p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.start3__card .start3__note { font-size: .82rem; }
.start3__actions { margin-top: auto; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding-top: 4px; }
.start3__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: var(--radius-sm); font-weight: var(--fw-semibold); text-decoration: none; border: 2px solid var(--vt-blue-deep); background: var(--vt-white); color: var(--vt-blue-deep); }
.start3__btn:hover { background: var(--vt-grey-100); }
.start3__btn--buy { background: var(--vt-blue-deep); color: var(--vt-white); }
.start3__btn--buy:hover { background: var(--vt-blue-mid); }
.start3__text { min-height: 44px; display: inline-flex; align-items: center; font-weight: var(--fw-semibold); text-underline-offset: 3px; }
@media (max-width: 900px) { .start3__grid { grid-template-columns: 1fr; } .start3__btn { width: 100%; justify-content: center; } }
@media print { .start3 { display: none !important; } }

/* ---------- Approved-palette levels strip (20 Oct 2026) ---------- */
/* Charcoal dominant (HALO level-card token), Action Blue numeral rings, HALO glow only on the progression connectors.
   No colour outside brand/veintrain-design-tokens.css. Tier names are text; numbers and names carry the order. */
.halo-strip__list { gap: 10px; }
.halo-strip__list::before { display: none; }
.halo-strip__item { position: relative; background: var(--vt-charcoal-800); color: var(--vt-white); border: 0; border-radius: var(--radius-md); padding: 14px 8px 14px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.halo-strip__num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--vt-white); color: var(--vt-charcoal-900); border: 3px solid var(--vt-blue); font-weight: var(--fw-heavy); font-size: .95rem; position: relative; z-index: 1; }
.halo-strip__name { color: var(--vt-white); font-size: 1rem; }
.halo-strip__line { color: var(--vt-charcoal-100); }
.halo-strip__item + .halo-strip__item::before { content: ''; position: absolute; left: -10px; top: 30px; width: 10px; height: 2px; background: var(--halo-neon); box-shadow: 0 0 8px var(--halo-neon); transform-origin: left center; animation: halo-rail .7s var(--ease) .2s both; }
.halo-strip__figure { margin: 12px 0 0; min-height: 96px; display: grid; place-items: center; text-align: center; padding: 16px 14px; border: 1.5px dashed var(--vt-charcoal-300); border-radius: var(--radius-md); background: var(--vt-grey-50); color: var(--vt-grey-600); font-size: .88rem; }
@media (max-width: 640px) {
  .halo-strip__item { padding: 10px 2px 10px; }
  .halo-strip__item + .halo-strip__item::before { left: -6px; width: 6px; top: 27px; }
  .halo-strip__num { width: 30px; height: 30px; }
  .halo-strip__name { font-size: .82rem; }
}
@media print {
  .halo-strip__item { background: var(--vt-white); color: var(--vt-charcoal-900); border: 2px solid var(--vt-charcoal-900); }
  .halo-strip__name { color: var(--vt-charcoal-900); }
  .halo-strip__line { color: var(--vt-grey-600); }
  .halo-strip__item + .halo-strip__item::before { animation: none !important; box-shadow: none; background: var(--vt-charcoal-900); }
  .halo-strip__figure { display: none !important; }
}

/* ---------- Partner and sponsor route (21 Oct 2026) ---------- */
/* Reuses the existing option cards, map, facets and motion. Only the item list below is new. */
.pitem-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pitem { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; background: var(--vt-white); border: 1px solid var(--vt-charcoal-100); border-left: 4px solid var(--vt-blue-mid); border-radius: var(--radius-sm); }
.pitem strong { font-size: .98rem; }
.pitem__note { color: var(--ink-soft); font-size: .9rem; }
.pitem a { font-weight: var(--fw-semibold); text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; width: fit-content; }
.pitem__marker { width: fit-content; margin-top: 4px; font-size: .72rem; font-weight: var(--fw-bold); letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border: 1px dashed var(--vt-status-amber); border-radius: 999px; color: var(--vt-charcoal-900); background: var(--vt-white); }
@media (max-width: 640px) { .options { grid-template-columns: 1fr; } }

/* ---------- Video stage (21 Oct 2026) ---------- */
/* An existing approved film on a neutral charcoal surface: the real poster shows at once, never a black screen. */
.vstage { max-width: 1120px; margin: 28px auto 0; padding: 0 16px; }
.vstage__frame { position: relative; margin: 14px auto 0; width: min(100%, calc(min(78vh, 760px) * var(--vratio, 1.7778))); aspect-ratio: var(--vratio, 1.7778); background: var(--vt-charcoal-800); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.vstage__poster { position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; padding: 0; cursor: pointer; background-color: var(--vt-charcoal-800); background-size: cover; background-position: center; display: grid; place-items: center; transition: opacity .45s var(--ease); }
.vstage__poster.is-hidden { opacity: 0; pointer-events: none; }
.vstage__glyph { width: 84px; height: 84px; border-radius: 50%; background: var(--vt-white); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.vstage__glyph::before { content: ''; margin-left: 6px; border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent var(--vt-charcoal-900); }
.vstage__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 18px 14px; text-align: left; color: var(--vt-white); font-weight: var(--fw-bold); background-color: rgba(42, 44, 44, .72); }
.vstage__poster:focus-visible { outline: var(--focus-ring); outline-offset: -4px; }
.vstage__mount, .vstage__mount iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; }
.vstage__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 12px auto 0; width: min(100%, calc(min(78vh, 760px) * var(--vratio, 1.7778))); }
.vstage__btn { min-width: 132px; }
.vstage__link { font-weight: var(--fw-semibold); text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.vstage__status { color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 640px) { .vstage__glyph { width: 64px; height: 64px; } .vstage__glyph::before { border-width: 11px 0 11px 18px; } .vstage__btn { flex: 1 1 140px; } }
@media print { .vstage { display: none !important; } }

/* ---------- Fable refinement, shared (22 Oct 2026) ---------- */
/* Stage picks: light preview cards. Knowledge Hub = open, HIIH = ecosystem (node icon), Sign in = lock, only where real. */
.pick-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.pick { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 12px; background: var(--vt-white); border: 1px solid var(--vt-charcoal-100); border-radius: var(--radius-md); min-width: 0; }
.pick__kind { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--vt-blue-deep); }
.pick__kind svg { width: 15px; height: 15px; }
.pick__title { font-size: .98rem; line-height: 1.3; }
.pick__line { color: var(--ink-soft); font-size: .9rem; line-height: 1.4; }
.pick__meta { color: var(--ink-soft); font-size: .78rem; }
.pick__btn { margin-top: auto; padding-top: 6px; width: fit-content; min-height: 36px; display: inline-flex; align-items: center; font-weight: var(--fw-semibold); text-underline-offset: 3px; color: var(--vt-blue-deep); }
.pick--hiih .pick__kind { color: var(--vt-charcoal-900); }
.pick--login .pick__kind { color: var(--vt-charcoal-500); }
.pick--login { border-style: dashed; }
/* Film section (reuses the video stage frame). Placeholder state: no frame, strip only. */
.film .vstage__frame { --vratio: 1.7778; }
.film__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 14px; }
.film__routes { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--ink-soft); font-size: .92rem; }
.chip--route { font: inherit; font-size: .85rem; cursor: pointer; border-color: var(--vt-blue-deep); color: var(--vt-blue-deep); min-height: 32px; }
.chip--route:hover { background: var(--vt-grey-100); }
.film__eco { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--fw-semibold); text-underline-offset: 3px; min-height: 44px; color: var(--vt-charcoal-900); }
.film__eco svg { width: 18px; height: 18px; color: var(--vt-blue); }
/* Learner and patient journey strip: numbered dots on a dotted track, progressive reveal, one line at a time on selection.
   Pattern carried over from the live learner journey page (jflow), restated in token colours. */
.jstrip { margin-top: 18px; padding: 16px 14px 12px; background: var(--vt-white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.jstrip__title { margin: 0 0 12px; font-size: .78rem; font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.jstrip__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; position: relative; }
.jstrip__list::before { content: ''; position: absolute; left: 7%; right: 7%; top: 22px; height: 0; border-top: 3px dotted var(--vt-grey-200); }
.jstrip__node { position: relative; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.jstrip__node.in { opacity: 1; transform: none; }
.jstrip__btn { width: 100%; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 2px; border-radius: var(--radius-sm); min-height: 44px; }
.jstrip__dot { width: 44px; height: 44px; border-radius: 50%; background: var(--vt-white); border: 2px solid var(--vt-blue); display: grid; place-items: center; font-weight: var(--fw-heavy); color: var(--vt-blue-deep); font-size: .9rem; transition: box-shadow .2s, background .2s, color .2s; }
.jstrip__btn:hover .jstrip__dot { box-shadow: var(--glow); }
.jstrip__node.is-open .jstrip__dot { background: var(--vt-blue-deep); color: var(--vt-white); border-color: var(--vt-blue-deep); box-shadow: var(--glow); }
.jstrip__label { font-size: .8rem; line-height: 1.25; text-align: center; font-weight: var(--fw-semibold); }
.jstrip__reveal { margin: 10px 0 0; min-height: 1.5em; text-align: center; color: var(--ink); font-size: .95rem; }
.jstrip__text { margin-top: 8px; font-size: .9rem; color: var(--ink-soft); }
.jstrip__text summary { cursor: pointer; font-weight: var(--fw-semibold); color: var(--vt-blue-deep); }
.jstrip__text p { margin: 6px 0 0; max-width: 70ch; }
@media (max-width: 900px) {
  .jstrip__list { grid-template-columns: repeat(4, 1fr); gap: 10px 4px; }
  .jstrip__list::before { display: none; }
}
@media (max-width: 480px) { .jstrip__list { grid-template-columns: repeat(2, 1fr); } .jstrip__label { font-size: .78rem; } }
/* HALO levels: click to reveal one line; the caption sits behind a disclosure. */
.halo-strip__btn { width: 100%; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 2px; border-radius: var(--radius-sm); min-height: 44px; }
.halo-strip__line { display: none; }
.halo-strip__reveal { margin: 10px 0 0; min-height: 1.5em; text-align: center; font-size: .92rem; color: var(--ink); }
.halo-strip__more { margin-top: 6px; font-size: .9rem; }
.halo-strip__more summary { cursor: pointer; font-weight: var(--fw-semibold); color: var(--vt-blue-deep); }
.halo-strip__figure { margin: 12px 0 0; min-height: 0; display: block; border: 0; padding: 0; background: none; }
.halo-strip__figure img { display: block; max-width: 100%; height: auto; border-radius: var(--radius-md); }
@media print { .halo-strip__line { display: block; } .halo-strip__more, .halo-strip__reveal, .jstrip__text, .film__actions { display: none !important; } .halo-strip__more[open] .halo-strip__caption { display: block; } }
/* Management-modes progression (adapted from Sarah's graphic): light surface, numbered rings, order 1 to 4. */
.halo-strip--managed .halo-strip__intro { margin: -4px 0 10px; font-size: .9rem; color: var(--ink-soft); }
.halo-strip--managed .halo-strip__item { background: var(--vt-white); color: var(--ink); border: 1px solid var(--vt-charcoal-100); padding: 10px 6px; }
.halo-strip--managed .halo-strip__name { color: var(--ink); font-size: .9rem; }
.halo-strip--managed .halo-strip__num { border-color: var(--vt-blue-deep); color: var(--vt-blue-deep); }
.halo-strip--managed .halo-strip__item.is-open { border-color: var(--vt-blue-deep); box-shadow: 0 0 0 1px var(--vt-blue-deep) inset; }
.halo-strip--managed .halo-strip__item.is-open .halo-strip__num { background: var(--vt-blue-deep); color: var(--vt-white); }
.halo-strip--managed .halo-strip__item + .halo-strip__item::before { background: var(--vt-grey-200); box-shadow: none; animation: none; }

/* Direction B: the four management modes take the graphic's own hue order in tokens: blue, mid blue (for teal), on-track green, deep blue (for navy). */
.halo-strip--managed .halo-strip__item[data-mode="1"] { --mode: var(--vt-blue); }
.halo-strip--managed .halo-strip__item[data-mode="2"] { --mode: var(--vt-blue-mid); }
.halo-strip--managed .halo-strip__item[data-mode="3"] { --mode: var(--vt-ontrack); }
.halo-strip--managed .halo-strip__item[data-mode="4"] { --mode: var(--vt-blue-deep); }
.halo-strip--managed .halo-strip__num { background: var(--mode); border-color: var(--mode); color: var(--vt-white); }
.halo-strip--managed .halo-strip__item.is-open { border-color: var(--mode); box-shadow: 0 0 0 1px var(--mode) inset; }
.halo-strip--managed .halo-strip__item.is-open .halo-strip__num { background: var(--mode); }

/* ---------- Fable refinement, direction B: colour as a meaning system (22 Oct 2026) ---------- */
/* Every value is an existing token in brand/veintrain-design-tokens.css v1.1. No new hex. The blue foundation stays:
   Learn = action blue, Prepare and practise = on-track green, Train and apply = mid blue, Demonstrate and develop =
   status purple, Knowledge Hub = deep blue, HIIH = charcoal with the HALO glow. Tiers deepen along one blue line.
   VTHQ note: --vt-ontrack and --vt-status-purple are reused here as stage colours; Sarah and Dot to confirm. */
:root {
  --stage-join: var(--route-ink);
  --stage-learn: var(--vt-blue);
  --stage-prepare: var(--vt-ontrack);
  --stage-apply: var(--vt-blue-mid);
  --stage-demonstrate: var(--vt-status-purple);
  --kh: var(--vt-blue-deep);
  --hiih: var(--vt-charcoal-800);
  --tier-1: var(--vt-blue); --tier-2: var(--vt-blue-mid); --tier-3: var(--vt-blue-deep); --tier-4: var(--vt-charcoal-900);
}
[data-stage-id="learn"] { --stage: var(--stage-learn); }
[data-stage-id="prepare"] { --stage: var(--stage-prepare); }
[data-stage-id="apply"] { --stage: var(--stage-apply); }
[data-stage-id="demonstrate"] { --stage: var(--stage-demonstrate); }
[data-stage-id="join"] { --stage: var(--stage-join); }
.station.reached .station__node { border-color: var(--stage, var(--route-ink)); color: var(--stage, var(--route-ink)); }
.station.active .station__node { background: var(--stage, var(--route-ink)); border-color: var(--stage, var(--route-ink)); }
.detail h3[data-stage-id] { padding-left: 12px; border-left: 4px solid var(--stage, var(--route-ink)); }
.detail h3[data-stage-id="learn"] { --stage: var(--stage-learn); }
.detail h3[data-stage-id="prepare"] { --stage: var(--stage-prepare); }
.detail h3[data-stage-id="apply"] { --stage: var(--stage-apply); }
.detail h3[data-stage-id="demonstrate"] { --stage: var(--stage-demonstrate); }
.pick--kh { border-top: 3px solid var(--kh); }
.pick--kh .pick__kind { color: var(--kh); }
.pick--hiih { background: var(--hiih); color: var(--vt-white); border-color: var(--hiih); }
.pick--hiih .pick__kind { color: var(--vt-white); }
.pick--hiih .pick__kind svg { color: var(--vt-blue); filter: drop-shadow(0 0 6px rgba(55, 174, 239, .8)); }
.pick--hiih .pick__line, .pick--hiih .pick__meta { color: var(--vt-charcoal-100); }
.pick--hiih .pick__btn { color: var(--vt-white); border: 2px solid var(--vt-white); border-radius: var(--radius-sm); padding: 6px 12px; text-decoration: none; }
.pick--hiih .pick__btn:hover { background: var(--vt-charcoal-700); }
.pick--vt { border-top: 3px solid var(--vt-blue-mid); }
.film__eco { background: var(--hiih); color: var(--vt-white); border-radius: 999px; padding: 6px 14px; text-decoration: none; }
.film__eco:hover { background: var(--vt-charcoal-700); }
/* Lighter HALO levels: white cards, a small tier marker that deepens along the line, no charcoal blocks. */
.halo-strip__item { background: var(--vt-white); color: var(--ink); border: 1px solid var(--vt-charcoal-100); padding: 10px 6px 10px; }
.halo-strip__item[data-tier="bronze"] { --tier: var(--tier-1); }
.halo-strip__item[data-tier="silver"] { --tier: var(--tier-2); }
.halo-strip__item[data-tier="gold"] { --tier: var(--tier-3); }
.halo-strip__item[data-tier="platinum"] { --tier: var(--tier-4); }
.halo-strip__num { border-color: var(--tier); color: var(--tier); background: var(--vt-white); }
.halo-strip__item.is-open { border-color: var(--tier); box-shadow: 0 0 0 1px var(--tier) inset; }
.halo-strip__item.is-open .halo-strip__num { background: var(--tier); color: var(--vt-white); }
.halo-strip__name { color: var(--ink); }
.halo-strip__item + .halo-strip__item::before { background: var(--vt-grey-200); box-shadow: none; animation: none; }
.halo-strip__item::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: var(--tier); }
@media print { .halo-strip__item { border: 1px solid var(--vt-charcoal-900); } .pick--hiih { background: var(--vt-white); color: var(--ink); } }

/* ---------- Direction B, second pass (22 Oct 2026) ---------- */
/* Softer top: the established charcoal sweep with the swoosh signature, not a near-black block. Same for the suggestion panel. */
.hero { background: var(--vt-charcoal-700); }
.hero::after { opacity: .7; }
.reco__panel { background: var(--vt-charcoal-700); }
.reco__panel::after { opacity: .65; }
.reco__level { margin-top: 14px; font-size: 1rem; color: var(--vt-white) !important; }
.reco__small-inline { color: var(--vt-charcoal-100); font-weight: var(--fw-medium); }
/* Story strip: the four steps take the deepening blue line. */
.halo-strip--story .halo-strip__item { background: var(--vt-white); color: var(--ink); border: 1px solid var(--vt-charcoal-100); padding: 10px 6px; }
.halo-strip--story .halo-strip__name { color: var(--ink); font-size: .9rem; }
.halo-strip--story .halo-strip__item[data-mode="1"] { --mode: var(--vt-blue); }
.halo-strip--story .halo-strip__item[data-mode="2"] { --mode: var(--vt-blue-mid); }
.halo-strip--story .halo-strip__item[data-mode="3"] { --mode: var(--vt-blue-deep); }
.halo-strip--story .halo-strip__item[data-mode="4"] { --mode: var(--vt-charcoal-900); }
.halo-strip--story .halo-strip__num { border-color: var(--mode); color: var(--mode); background: var(--vt-white); }
.halo-strip--story .halo-strip__item.is-open { border-color: var(--mode); box-shadow: 0 0 0 1px var(--mode) inset; }
.halo-strip--story .halo-strip__item.is-open .halo-strip__num { background: var(--mode); color: var(--vt-white); }
.halo-strip--story .halo-strip__item + .halo-strip__item::before { background: var(--vt-grey-200); box-shadow: none; animation: none; }
/* Starter cards: Bronze, Silver, Gold with the same four components; the suggested one is flagged. */
.start3__card { position: relative; border-top-width: 4px; }
.start3__card--bronze { border-top-color: var(--vt-blue); }
.start3__card--silver { border-top-color: var(--vt-blue-mid); }
.start3__card--gold { border-top-color: var(--vt-blue-deep); }
.start3__card.is-suggested { border-color: var(--vt-blue-deep); box-shadow: 0 0 0 1px var(--vt-blue-deep) inset, var(--shadow-sm); background: var(--vt-white); }
.start3__flag { position: absolute; top: -12px; right: 12px; background: var(--vt-charcoal-900); color: var(--vt-white); font-size: .68rem; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.start3__who { margin: 0 !important; font-size: .86rem !important; color: var(--vt-blue-deep) !important; font-weight: var(--fw-semibold); }
.start3__parts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.start3__parts li { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink); }
.start3__parts li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--vt-blue-mid); flex: none; }
.start3__platinum { margin: 10px 0 0; font-size: .86rem; color: var(--ink-soft); }
.start3__text { background: none; border: 0; padding: 0; font: inherit; color: var(--vt-blue-deep); cursor: pointer; text-decoration: underline; }
/* Expandable sections inside the layers box. */
.layers__details { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--vt-charcoal-100); }
.layers__summary { cursor: pointer; font-size: .8rem; font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); min-height: 44px; display: flex; align-items: center; }
.layers__details[open] .layers__summary { color: var(--ink); }
.halo-strip--managed .halo-strip__intro { margin: 8px 0 10px; }
.network__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.network__role { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--vt-grey-50); border: 1px solid var(--vt-charcoal-100); border-radius: var(--radius-sm); font-size: .86rem; }
.network__role svg { width: 18px; height: 18px; color: var(--vt-blue-deep); flex: none; }
.network__line { margin: 10px 0 0; font-size: .86rem; color: var(--ink-soft); }
.after__list { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: .92rem; }
/* Optional silent stage clip. Closed by default; nothing loads until opened. */
.clip { margin-top: 14px; border: 1px solid var(--vt-charcoal-100); border-radius: var(--radius-md); background: var(--vt-white); }
.clip__summary { cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 10px 14px; min-height: 44px; font-weight: var(--fw-semibold); color: var(--vt-blue-deep); }
.clip__summary svg { width: 18px; height: 18px; flex: none; }
.clip__secs { font-weight: var(--fw-medium); color: var(--ink-soft); font-size: .86rem; }
.clip__body { padding: 0 14px 14px; }
.clip__frame { position: relative; aspect-ratio: 16 / 9; background: var(--vt-charcoal-800) center / cover no-repeat; border-radius: var(--radius-md); overflow: hidden; max-width: 640px; }
.clip__mount, .clip__mount iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.clip__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 10px; }
.clip__title { font-size: .86rem; color: var(--ink-soft); }
@media (max-width: 900px) { .network__list { grid-template-columns: repeat(2, 1fr); } }
@media print { .layers__details, .clip, .start3__actions { display: none !important; } .start3 { display: block !important; } }

/* ---------- B3: buy now on the suggestion panel (22 Oct 2026) ---------- */
.buy { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--vt-charcoal-500); }
.buy__title { margin: 0; font-size: .78rem; font-weight: var(--fw-bold); letter-spacing: .12em; text-transform: uppercase; color: var(--vt-blue) !important; }
.buy__intro { margin: 4px 0 0; font-size: .9rem; color: var(--vt-charcoal-100) !important; }
.buy__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.buy__item { display: flex; flex-direction: column; gap: 6px; background: var(--vt-white); color: var(--ink); border-radius: var(--radius-md); padding: 12px 14px; }
.buy__label { font-weight: var(--fw-semibold); font-size: .95rem; line-height: 1.3; }
.buy__price { font-weight: var(--fw-heavy); font-size: 1.15rem; }
.buy__price small { font-weight: var(--fw-medium); font-size: .78rem; color: var(--ink-soft); }
.buy__price--shop { font-weight: var(--fw-medium); font-size: .88rem; color: var(--ink-soft); }
.buy__btn { margin-top: auto; align-self: flex-start; min-height: 40px; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: var(--radius-sm); background: var(--vt-blue-deep); color: var(--vt-white); text-decoration: none; font-weight: var(--fw-semibold); }
.buy__btn:hover { background: var(--vt-blue-mid); }
.buy__vat { margin: 10px 0 0; font-size: .82rem; color: var(--vt-charcoal-100) !important; }
@media print { .buy { border-top-color: var(--line); } .buy__title, .buy__intro, .buy__vat { color: var(--ink) !important; } .buy__btn { display: none; } }

/* Commercial route cards (22 Oct 2026): tokens only. */
.start3__card--rapid { border-top-color: var(--vt-blue); }
.start3__card--diagnostic { border-top-color: var(--vt-blue-mid); }
.start3__card--platinum { border-top-color: var(--vt-charcoal-900); }

/* ---------- Click & Pick Your Training (22 Oct 2026) ---------- */
.clickpick { margin: 20px 0 0; max-width: 60ch; padding: 14px 16px; border-left: 4px solid var(--vt-blue); background: rgba(255, 255, 255, .08); border-radius: var(--radius-sm); }
.clickpick__title { margin: 0; font-size: 1.15rem; font-weight: var(--fw-heavy); color: var(--vt-white); }
.clickpick__line { margin: 4px 0 0; color: var(--vt-charcoal-100); }
.clickpick__build { margin: 4px 0 0; font-weight: var(--fw-semibold); color: var(--vt-white); }
.route-card__aud { color: var(--ink-soft); font-weight: var(--fw-semibold); letter-spacing: .04em; text-transform: none; }
.reco__skill { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--vt-blue); background: rgba(255, 255, 255, .08); border-radius: var(--radius-sm); color: var(--vt-white) !important; font-size: .95rem; }
@media print { .clickpick { display: none; } .reco__skill { background: none; color: var(--ink) !important; } }
