/* The desktop axis and the mobile list share the same six milestones. */
.firm-journey {
 --journey-ink: #173d55;
 --journey-accent: #176c9e;
 --journey-rule: #bbced9;
 margin-top: clamp(64px, 7vw, 108px);
}
.journey-heading {
 display: flex;
 align-items: baseline;
 justify-content: space-between;
 gap: 16px;
 margin-bottom: clamp(22px, 2.6vw, 36px);
}
.journey-heading h2 { margin: 0; }
.journey-extent {
 flex: none;
 color: #516d7b;
 font-size: clamp(15px, 1.4vw, 19px);
 font-variant-numeric: tabular-nums;
 letter-spacing: .045em;
}
.journey-extent > span { padding: 0 .24em; }
.journey-sheet { border: 1px solid #d4dee3; background: #fafbf9; }
.firm-journey [hidden] { display: none !important; }

.journey-axis {
 display: grid;
 grid-template-columns: repeat(6, minmax(0, 1fr));
 padding: 30px 18px 24px;
}
.journey-stop {
 display: grid;
 grid-template-rows: auto 28px 1fr;
 align-items: start;
 width: 100%;
 min-width: 0;
 padding: 8px 0;
 border: 0;
 color: #526874;
 background: transparent;
 font: inherit;
 text-align: center;
 cursor: pointer;
}
.journey-stop:focus-visible, .journey-panel:focus-visible {
 outline: 2px solid #458fba;
 outline-offset: -2px;
}
.journey-stop-year {
 color: var(--journey-ink);
 font-size: clamp(17px, 1.6vw, 23px);
 line-height: 1.35;
 font-variant-numeric: tabular-nums;
 white-space: nowrap;
}
.journey-stop-title {
 padding-inline: 8px;
 font-size: 15px;
 line-height: 1.45;
 text-wrap: balance;
 overflow-wrap: anywhere;
}
.journey-pin {
 position: relative;
 display: block;
 align-self: stretch;
}
.journey-pin::before {
 content: '';
 position: absolute;
 inset: 50% 0 auto;
 height: 1px;
 background: var(--journey-rule);
}
.journey-stop:first-child .journey-pin::before { left: 50%; }
.journey-stop:last-child .journey-pin::before { right: 50%; }
.journey-pin::after {
 content: '';
 position: absolute;
 left: 50%;
 top: 50%;
 width: 8px;
 height: 8px;
 box-sizing: border-box;
 border: 1px solid #809eae;
 border-radius: 50%;
 background: #fafbf9;
 transform: translate(-50%, -50%);
}
.journey-stop:is(:hover,[aria-selected="true"]) :is(.journey-stop-year,.journey-stop-title) { color: var(--journey-accent); }
.journey-stop[aria-selected="true"] .journey-stop-year { font-weight: 600; }
.journey-stop[aria-selected="true"] .journey-pin::after {
 width: 10px;
 height: 10px;
 background: var(--journey-accent);
 border-color: var(--journey-accent);
 box-shadow: 0 0 0 3px #fafbf9, 0 0 0 4px #7ba9c1;
}

.journey-events { color: #fff; background: linear-gradient(110deg, #102f44, #184b67); }
.journey-panel {
 display: grid;
 grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr);
 align-items: center;
 gap: clamp(32px, 4.4vw, 70px);
 box-sizing: border-box;
 min-height: 260px;
 padding: 40px clamp(32px, 4.8vw, 78px);
}
.journey-period {
 min-width: 0;
 padding-block: 14px 22px;
 border-right: 1px solid rgba(210,234,246,.29);
 color: #e1eff5;
 font-size: clamp(74px, 7.1vw, 114px);
 font-weight: 300;
 letter-spacing: -.065em;
 line-height: 1;
 font-variant-numeric: lining-nums tabular-nums;
 white-space: nowrap;
}
.journey-period-range { font-size: clamp(36px, 3.6vw, 58px); line-height: 1.6; }
.journey-copy { min-width: 0; }
body.vision-v7 main .journey-copy h3 {
 margin: 0 0 14px;
 color: #fff;
 font-size: clamp(28px, 2.5vw, 40px) !important;
 line-height: 1.35;
 text-wrap: balance;
}
body.vision-v7 main .journey-copy p {
 max-width: 58ch;
 margin: 0;
 color: #e0ebf0;
 font-size: clamp(16px, 1.3vw, 19px);
 line-height: 1.8;
}

@media (max-width: 959px) {
 .journey-sheet { padding: 8px clamp(18px, 4vw, 36px); }
 .journey-events { color: var(--journey-ink); background: transparent; }
 .journey-panel {
  position: relative;
  display: block;
  min-height: 0;
  padding: 24px 0 24px 29px;
 }
 .journey-panel:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 37px;
  bottom: -37px;
  left: 5px;
  width: 1px;
  background: var(--journey-rule);
 }
 .journey-panel::after {
  content: '';
  position: absolute;
  top: 33px;
  left: 1px;
  width: 9px;
  height: 9px;
  box-sizing: border-box;
  border: 2px solid var(--journey-accent);
  border-radius: 50%;
  background: #fafbf9;
 }
 .journey-panel:first-child::after,.journey-panel:last-child::after { background: var(--journey-accent); }
 .journey-period, .journey-period-range {
  padding: 0;
  border: 0;
  color: var(--journey-accent);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.35;
 }
 body.vision-v7 main .journey-copy h3 { margin: 7px 0 7px; color: var(--journey-ink); font-size: 22px !important; }
 body.vision-v7 main .journey-copy p { color: #52656f; font-size: 16px; }
}
@media print {
 .journey-axis { display: none; }
 .firm-journey .journey-panel, .firm-journey .journey-panel[hidden] { display: block !important; min-height: 0; padding: 12px 0; break-inside: avoid; }
 .journey-events { background: white; }
 .journey-period, .journey-period-range { padding: 0; border: 0; font-size: 22px; }
 .journey-period, .journey-copy h3, .journey-copy p { color: #173d55 !important; }
}
