/* Scoped version of the six-station scroll structure; no global .container rules. */
.tm-site main > .tm-journey { background: #fff; padding-block: 120px 100px; }
.tm-journey-intro { max-width: 580px; margin: 0 auto 96px; text-align: center; }
.tm-journey-intro .tm-eyebrow { justify-content: center; margin-bottom: 20px; }
.tm-journey-intro h2 { font-size: clamp(30px,3.6vw,48px); font-weight: 900; line-height: 1.55; letter-spacing: -.8px; margin: 0 0 22px; }
.tm-journey-intro h2 > span { color: var(--brand-accent); }
.tm-journey-intro p { color: var(--text-secondary); font-size: 14px; max-width: 420px; margin: 0 auto 26px; }
.tm-journey-hint { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; font-size: 12px; color: var(--text-muted); }
.tm-journey-hint > span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 50%; font: 18px Arial,sans-serif; }
.tm-journey-main { position: relative; isolation: isolate; max-width: 1050px; margin-inline: auto; }
.tm-journey-stations { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: clamp(40px,10vw,150px); row-gap: 64px; padding: 0; margin: 0; list-style: none; }
.tm-journey-step { position: relative; z-index: 1; display: flex; align-items: center; gap: 26px; min-height: 150px; min-width: 0; }
.tm-journey-step:nth-child(odd) { grid-column: 1; }
.tm-journey-step:nth-child(even) { grid-column: 2; flex-direction: row-reverse; text-align: left; }
.tm-journey-step.initial { grid-row: 1; z-index: 2; }
.tm-journey-step.second { grid-row: 2; }
.tm-journey-step.third { grid-row: 3; }
.tm-journey-step.fourth { grid-row: 4; }
.tm-journey-step.fifth { grid-row: 5; }
.tm-journey-step.sixth { grid-row: 6; }
.tm-journey-node { position: relative; flex: 0 0 88px; width: 88px; height: 88px; display: grid; place-items: center; border: 1px dashed #b9c6da; border-radius: 20px; background: #fff; transition: border-color .3s, background .3s; }
.tm-journey-node .marker { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); color: #73809a; font: 14px monospace; }
.tm-journey-node .box { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; display: grid; place-items: center; z-index: 3; border-radius: 14px; background: var(--brand-primary); color: #fff; box-shadow: 0 8px 22px #0d1d7322; will-change: transform; }
.tm-journey-node .box > span:first-child { direction: ltr; font: 19px monospace; }
.tm-journey-spark { position: absolute; right: 7px; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: #80ceff; }
.tm-journey-copy { min-width: 0; flex: 1; }
.tm-journey-label { display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 10px; }
.tm-journey-copy h3 { font-size: clamp(18px,1.8vw,23px); font-weight: 700; margin: 0 0 10px; line-height: 1.7; color: var(--text-primary); }
.tm-journey-copy p { font-size: 13px; color: var(--text-secondary); margin: 0; max-width: 270px; }
.tm-journey-track { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; pointer-events: none; }
.tm-journey-track path { fill: none; stroke-width: 1.5; }
.tm-journey-line { stroke: #dce3ee; stroke-dasharray: 4 8; }
.tm-journey-progress { stroke: var(--brand-accent); opacity: 0; }
.tm-journey.is-animated .tm-journey-progress { opacity: .65; }
.tm-journey-step.is-active .tm-journey-node { border-color: var(--brand-accent); background: #f6faff; }
.tm-journey-step.is-active h3 { color: var(--brand-accent); }
.tm-journey-step.is-complete .marker { color: var(--brand-primary); background: #edf3fa; border-color: #c7d5e9; }
.tm-journey-outro { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 96px auto 0; padding-top: 40px; border-top: 1px solid var(--border); max-width: 540px; text-align: center; }
.tm-journey-outro p { margin: 0; font-size: 20px; font-weight: 700; }
.tm-journey-method { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--text-muted); }
@media (max-width: 1023px) {
  .tm-journey-stations { column-gap: 40px; row-gap: 54px; }
  .tm-journey-step { gap: 18px; }
  .tm-journey-node { flex-basis: 72px; width: 72px; height: 72px; border-radius: 17px; }
  .tm-journey-node .marker, .tm-journey-node .box { width: 48px; height: 48px; border-radius: 12px; }
  .tm-journey-node .box { margin: -24px 0 0 -24px; }
}
@media (max-width: 767px) {
  .tm-site main > .tm-journey { padding-block: 80px; }
  .tm-journey-intro { margin-bottom: 56px; }
  .tm-journey-intro h2 { font-size: clamp(28px,6.7vw,36px); }
  .tm-journey-stations { grid-template-columns: minmax(0,1fr); row-gap: 48px; }
  .tm-journey-step:nth-child(n) { grid-column: 1; flex-direction: row; text-align: right; min-height: 120px; align-items: flex-start; }
  .tm-journey-node { flex-basis: 64px; width: 64px; height: 64px; margin-top: 5px; }
  .tm-journey-copy { padding-top: 3px; }
  .tm-journey-copy h3 { font-size: 20px; }
  .tm-journey-outro { margin-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .tm-journey-node .box { will-change: auto; }
}
