.band--journey { z-index: 1; overflow-x: clip; }
.journey {
  --axis: x;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.15fr) minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas: 'ch a sage b ca';
  align-items: center;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
}
.journey__stop { position: relative; z-index: 1; aspect-ratio: 2 / 1; }
.journey__stop--channel { grid-area: ch; }
.journey__stop--carrier { grid-area: ca; }
.journey__stop::before { content: ''; position: absolute; inset: 0; border: 1.5px dashed rgba(255, 255, 255, .22); border-radius: clamp(8px, 1.2vw, 14px); }
.journey__stop > .hub__tile { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s, box-shadow .35s; }
.journey__stop > .hub__tile.is-on,
.journey:not(.is-live) .journey__stop > .hub__tile:first-child { opacity: 1; visibility: visible; }
.journey .hub__sage { transition: box-shadow .35s; }
.journey__gap { position: relative; z-index: 0; display: grid; gap: clamp(12px, 2.2vw, 24px); }
.journey__gap--a { grid-area: a; }
.journey__gap--b { grid-area: b; }
.journey__leg { position: relative; display: flex; align-items: center; justify-content: center; min-height: 34px; }
.journey__leg::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .28); transition: background .3s, box-shadow .3s; }
.journey__leg::after { content: ''; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-top: 1.5px solid rgba(255, 255, 255, .5); border-right: 1.5px solid rgba(255, 255, 255, .5); }
.journey__leg--1::after, .journey__leg--2::after { right: 3px; transform: rotate(45deg); }
.journey__leg--3::after, .journey__leg--4::after { left: 3px; transform: rotate(-135deg); }
.journey__leg .pill { position: relative; z-index: 1; background: #141414; white-space: nowrap; }
.journey.is-live .journey__leg .pill { opacity: 0; will-change: transform, opacity; }
[data-seg='0'] .journey__leg--1::before, [data-seg='2'] .journey__leg--2::before,
[data-seg='4'] .journey__leg--3::before, [data-seg='6'] .journey__leg--4::before { background: var(--green); box-shadow: 0 0 8px var(--green); }
[data-seg='1'] .journey .hub__sage, [data-seg='5'] .journey .hub__sage { box-shadow: 0 0 60px color-mix(in srgb, #00b050 65%, transparent), 0 0 110px color-mix(in srgb, #00b050 34%, transparent); }
[data-seg='1'] .journey__stop--carrier > .is-on, [data-seg='3'] .journey__stop--carrier > .is-on,
[data-seg='7'] .journey__stop--channel > .is-on { box-shadow: 0 0 30px color-mix(in srgb, var(--tile-edge, #888888) 75%, transparent), 0 0 70px color-mix(in srgb, var(--tile-edge, #888888) 40%, transparent); }
.journey__steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; max-width: var(--max-w); margin: clamp(2.25rem, 5vw, 3.5rem) auto 0; padding-inline: max(var(--pad), env(safe-area-inset-left, 0px)) max(var(--pad), env(safe-area-inset-right, 0px)); }
.journey__steps .card { padding: 1.35rem; transition: border-color .3s, background .3s, box-shadow .3s; }
.journey__steps .card__title { display: flex; align-items: center; gap: .6rem; font-size: 1.02rem; }
.journey__steps .card__title::before { counter-increment: step; content: counter(step); flex: none; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; font-size: .82rem; color: var(--ink-mid); transition: background .3s, border-color .3s, color .3s; }
[data-step='1'] .journey__steps > :nth-child(1), [data-step='2'] .journey__steps > :nth-child(2),
[data-step='3'] .journey__steps > :nth-child(3), [data-step='4'] .journey__steps > :nth-child(4) { border-color: color-mix(in srgb, #00b050 70%, transparent); background: color-mix(in srgb, #00b050 9%, transparent); box-shadow: 0 0 34px color-mix(in srgb, #00b050 24%, transparent); }
[data-step='1'] .journey__steps > :nth-child(1) .card__title::before, [data-step='2'] .journey__steps > :nth-child(2) .card__title::before,
[data-step='3'] .journey__steps > :nth-child(3) .card__title::before, [data-step='4'] .journey__steps > :nth-child(4) .card__title::before { background: var(--green); border-color: var(--green); color: var(--btn-ink); }
@media (max-width: 960px) {
  .journey__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .journey { --axis: y; grid-template-columns: minmax(0, 1fr); grid-template-areas: 'ch' 'a' 'sage' 'b' 'ca'; justify-items: center; }
  .journey__stop, .journey .hub__sage { width: 62%; }
  .journey .hub__sage { margin-block: 0; }
  .journey__gap { width: 100%; height: 108px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
  .journey__leg { min-height: 0; }
  .journey__leg::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .journey__leg::after { top: auto; left: 50%; right: auto; margin: 0 0 0 -4px; }
  .journey__leg--1::after, .journey__leg--2::after { bottom: 3px; transform: rotate(135deg); }
  .journey__leg--3::after, .journey__leg--4::after { top: 3px; left: 50%; transform: rotate(-45deg); }
  .journey__leg .pill { padding: .25rem .6rem; font-size: .74rem; }
  .journey__steps { grid-template-columns: minmax(0, 1fr); }
}
