#journey {
  margin: 0;
  color: #f8fbff;
  background: #07172f;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 88px;
}
#journey *, #journey *::before, #journey *::after { box-sizing: border-box; }
#journey .jr-shell {
  position: relative;
  background: radial-gradient(ellipse at 21% 54%, #123567 0, #0a2142 35%, transparent 62%);
}
#journey .jr-layout {
  width: min(100% - clamp(40px, 9vw, 150px), 1290px);
  margin-inline: auto;
  min-height: 480px;
  padding-block: clamp(64px, 7vw, 106px);
  display: grid;
  grid-template-columns: minmax(290px, .85fr) minmax(0, 1.4fr);
  align-items: center;
  gap: clamp(20px, 5vw, 80px);
}
#journey .jr-shell[dir="ltr"] { background: radial-gradient(ellipse at 79% 54%, #123567 0, #0a2142 35%, transparent 62%); }
#journey .jr-copy { min-width: 0; position: relative; z-index: 1; }
#journey .jr-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c5dcff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
#journey .jr-eyebrow > span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #60a0ff;
}
#journey .jr-copy h2 {
  font-size: clamp(36px, 4.4vw, 68px);
  font-weight: 700;
  line-height: 1.25;
  margin: 12px 0 clamp(20px, 2.3vw, 34px);
  color: #fff;
}
#journey .jr-copy h2 em { display: block; color: #85b9ff; font-style: normal; font-weight: inherit; }
#journey .jr-shell[dir=ltr] .jr-copy h2 { letter-spacing: -.044em; line-height: 1.03; }
#journey .jr-tabs {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #29405b;
  gap: clamp(10px, 2vw, 28px);
}
#journey button { font: inherit; letter-spacing: inherit; cursor: pointer; }
#journey .jr-tabs button {
  display: inline-flex;
  appearance: none;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0 0 12px;
  min-height: 44px;
  margin: 0;
  background: transparent;
  color: #b1c1d7;
  border: 0;
  border-radius: 0;
  position: relative;
  font-size: clamp(12px, .95vw, 14px);
  font-weight: 550;
  white-space: nowrap;
  transition: color .2s;
}
#journey .jr-tabs button::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: #77b4ff;
  transform: scaleX(0);
  transition: transform .22s ease;
}
#journey .jr-tabs button[aria-selected=true] { color: #fff; }
#journey .jr-tabs button[aria-selected=true]::after { transform: scaleX(1); }
#journey .jr-tabs button:hover { color: #fff; }
#journey .jr-tabs svg { width: 16px; height: 16px; flex-shrink: 0; }
#journey :focus-visible { outline: 2px solid #9bc9ff; outline-offset: 4px; }
#journey .jr-info { padding-block-start: 21px; text-align: start; min-height: 162px; }
#journey .jr-status { display:flex; align-items: center; gap: 6px; color: #8fb5e7; font: 500 10px/1.25 ui-monospace, 'SFMono-Regular', Consolas, monospace; letter-spacing: .1em; }
#journey .jr-status span { width: 5px; height: 5px; border-radius: 50%; background: #83baff; }
#journey .jr-info h3 { color: #fff; margin: 9px 0 4px; font-size: clamp(17px, 1.5vw, 23px); line-height: 1.4; font-weight: 650; }
#journey .jr-info p { margin: 0; max-width: 43ch; color: #c0ccde; line-height: 1.75; font-size: 14px; }
#journey .jr-action { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 9px; padding: 5px 0; border: 0; background: none; color: #a1caff; font-size: 13px; font-weight: 650; }
#journey .jr-action:hover { color: white; }
#journey .jr-action svg { width: 17px; height: 17px; }
#journey [dir=rtl] .jr-action svg { transform: scaleX(-1); }
#journey .jr-visual { position: relative; min-width: 0; align-self: center; padding-top: 19px; }
#journey .jr-map-id {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b2c6e0;
  width: max-content;
  margin-inline-start: auto;
  font-size: 11px;
}
#journey .jr-id-icon svg { display: block; width: 20px; height: 20px; color: #88b4ef; }
#journey .jr-map-id bdi {
  font: 500 10px/1.1 ui-monospace, 'SFMono-Regular', Consolas, monospace;
  letter-spacing: .06em;
  padding-inline-start: 9px;
  border-inline-start: 1px solid #47617f;
  color: #d4e4fa;
}
#journey .jr-map {
  position: relative;
  width: 100%;
  border-top: 1px solid #6483a532;
  border-bottom: 1px solid #6483a532;
  margin-block-start: 13px;
  background: radial-gradient(ellipse at center, #12345b24, transparent 70%);
}
#journey .jr-map::before, #journey .jr-map::after {
  content: '';
  position: absolute;
  pointer-events: none;
  width: 7px;
  height: 7px;
  border-color: #7e9dc2;
}
#journey .jr-map::before { top: -1px; left: 0; border-left: 1px solid; border-top: 1px solid; color: #7e9dc2; }
#journey .jr-map::after { bottom: -1px; right: 0; border-right: 1px solid; border-bottom: 1px solid; color: #7e9dc2; }
#journey .jr-scene { width: 100%; height: auto; overflow: visible; display: block; direction:ltr; }
#journey .jr-scene polyline { fill: none; stroke-linejoin: round; stroke-linecap: round; }
#journey .jr-grid { stroke: #7499bc; stroke-width: .55; opacity: .18; }
#journey .jr-street { stroke: #6a93bc; stroke-width: 1.05; opacity: .48; }
#journey .jr-rail { stroke: #98b6d3; stroke-width: .7; opacity: .55; }
#journey .jr-building { stroke: #517dab; stroke-width: .83; stroke-linejoin: round; }
#journey .jr-roof { fill: #193d62; }
#journey .jr-wall-near { fill: #112e50; }
#journey .jr-wall-side { fill: #163452; }
#journey .jr-roof-detail { stroke: #6083aa; opacity: .68; stroke-width: .6; }
#journey .jr-roof-trim { fill: #284e73; stroke: #6f93b9; stroke-width: .8; }
#journey .jr-façade { stroke: #6790b8; stroke-width: .75; }
#journey [data-structure].is-on { stroke: #a5d8ff; stroke-width: 1.3; }
#journey [data-structure].is-on .jr-roof { fill: #275884; }
#journey [data-structure].is-on .jr-roof-trim { fill: #326892; stroke: #8cc7fa; }
#journey .jr-route-bed { stroke: #09264c; stroke-width: 7; }
#journey .jr-route { stroke: #5b9ad8; stroke-width: 2; }
#journey .jr-segment { opacity:0; transition: opacity .3s; }
#journey .jr-segment.is-on { opacity:1; }
#journey .jr-route-glow { stroke: #479dff; stroke-width: 7; opacity: .21; }
#journey .jr-route-lit { stroke: #91c9ff; stroke-width: 2.2; }
#journey .jr-route-stream { stroke: white; stroke-width: 2.4; stroke-dasharray: 5 34; animation: jr-stream 3s linear infinite; }
#journey .jr-node { cursor: pointer; }
#journey .jr-ring { fill: #143b66; stroke: #6ca4d9; stroke-width: 1.3; }
#journey .jr-ring-inner { fill: #68a2d8; stroke: #b5d5f7; stroke-width: 1; }
#journey .jr-stem { fill: none; stroke: #679acc; stroke-dasharray: 2.5 2.5; }
#journey .jr-pin { fill: #102e50; stroke: #6996c1; }
#journey .jr-pin-type { fill: #bed6f3; font: 600 10px ui-monospace, 'SFMono-Regular', Consolas, monospace; letter-spacing: .06em; }
#journey .jr-node.is-on .jr-pin { fill: #b5dcff; stroke: #daf1ff; }
#journey .jr-node.is-on .jr-pin-type { fill: #06294c; }
#journey .jr-node.is-on .jr-ring { fill: #32699b; stroke: #c2e6ff; animation: jr-beacon 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
#journey .jr-node.is-on .jr-ring-inner { fill: #d6efff; }
#journey .jr-hit { fill: transparent; }
@keyframes jr-stream { to { stroke-dashoffset:-78; } }
@keyframes jr-beacon { 0%,100% {transform:scale(1); opacity:.95;} 50% {transform:scale(1.24); opacity:.5;} }
@media (max-width: 850px) {
  #journey .jr-layout { gap: 19px; grid-template-columns: minmax(260px, .87fr) minmax(0, 1.13fr); }
  #journey .jr-tabs { gap: 10px; }
}
@media (max-width: 690px) {
  #journey .jr-shell { background: radial-gradient(ellipse at 50% 80%, #14335b 0%, #0b2241 38%, transparent 72%); }
  #journey .jr-layout { width: min(100% - 40px, 510px); grid-template-columns: minmax(0,1fr); gap: 18px; padding-block: 48px 36px; min-height: auto; }
  #journey .jr-copy h2 { font-size: clamp(34px,8.4vw,48px); margin-block: 9px 18px; }
  #journey .jr-copy h2 em { display: inline; }
  #journey .jr-tabs { gap: 19px; }
  #journey .jr-tabs button { font-size: 13px; }
  #journey .jr-info { padding-block-start: 16px; min-height: 152px; }
  #journey .jr-info h3 { font-size: 19px; }
  #journey .jr-info p { max-width: 50ch; }
  #journey .jr-visual { padding: 0; }
  #journey .jr-map { margin-block-start: 9px; }
  #journey .jr-map-id { gap: 7px; }
}
@media (max-width: 355px) {
  #journey .jr-layout { width: calc(100% - 30px); }
  #journey .jr-tabs { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  #journey *, #journey *::before, #journey *::after { animation: none !important; transition: none !important; }
  #journey .jr-route-stream { display: none; }
}
