/* The route stays visible while its selected stage changes. */
.process-map {
  --pm-surface: #edf0e5;
  --pm-track: #9da88b;
  --pm-active: #273ab1;
  --pm-ink: #293024;
  --pm-marker: clamp(3.35rem, 4.6vw, 4.25rem);
  padding-block: clamp(3.5rem, 6vw, 6rem);
  background: var(--pm-surface);
  border-block: 1px solid var(--line);
  color: var(--pm-ink);
}
.pm-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
}
.pm-intro h2 {margin-top: .72rem}
.pm-intro > p {max-width: 35ch; color: #4b5446; font-size: 1.06rem; line-height: 1.55;}
.pm-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  margin: 2.7rem 0 1.6rem;
  padding-top: .25rem;
}
.pm-stop {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: .72rem;
  padding: 0 .25rem .6rem;
  text-align: center;
  color: #46533a;
  border-radius: .22rem;
}
.pm-stop::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: calc(var(--pm-marker) / 2);
  left: 50%;
  width: 100%;
  border-top: 2px solid var(--pm-track);
}
.pm-stop:last-child::before {display:none}
.pm-station {
  position: relative;
  width: var(--pm-marker);
  height: var(--pm-marker);
  display: grid;
  place-items: center;
  border: 1px solid #88927b;
  border-radius: 50%;
  background: var(--pm-surface);
  color: #3b4831;
  transition: background-color .2s, color .2s, border-color .2s;
}
.pm-stop-label {
  font: 600 1rem/1.25 var(--sans);
  letter-spacing: -.02em;
}
.pm-index {
  display: inline-block;
  font: 400 .8rem/1 "Courier New",monospace;
  letter-spacing: 0;
  margin-right: .15em;
}
.pm-stop[aria-selected="true"] {color: var(--pm-active)}
.pm-stop[aria-selected="true"] .pm-station {
  color: #fff;
  border-color: var(--pm-active);
  background: var(--pm-active);
  outline: 2px solid var(--pm-active);
  outline-offset: 3px;
}
.pm-stop:hover .pm-station {border-color: var(--pm-active)}
.pm-stop:focus-visible {outline-offset: 4px}
.pm-glyph {display:block;position:relative;width:27px;height:27px}
.pm-glyph i,.pm-glyph::after,.pm-glyph::before {position:absolute;display:block}
.pm-glyph::after,.pm-glyph::before {content:""}
.pm-glyph-discover::before {width:16px;height:16px;border:2px solid currentColor;border-radius:50%;left:2px;top:1px}
.pm-glyph-discover::after {width:11px;height:2px;background:currentColor;left:18px;top:21px;transform:rotate(47deg);border-radius:2px}
.pm-glyph-explore i {border:1.7px solid currentColor;width:13px;height:13px;border-radius:3px;transform:rotate(45deg);top:13px;left:0}
.pm-glyph-explore i:nth-child(2) {left:14px}
.pm-glyph-explore i:nth-child(3) {left:7px;top:0}
.pm-glyph-prototype::before {inset:3px 0 4px;border:2px solid currentColor;border-radius:3px}
.pm-glyph-prototype::after {left:1px;right:1px;top:8px;height:1.5px;background:currentColor}
.pm-glyph-prototype i:first-child {top:12px;left:6px;width:7px;height:7px;border:1.5px solid currentColor;border-radius:1px}
.pm-glyph-prototype i:nth-child(2),.pm-glyph-prototype i:nth-child(3) {top:13px;left:16px;height:1.5px;width:6px;background:currentColor}
.pm-glyph-prototype i:nth-child(3) {top:17px;width:4px}
.pm-glyph-refine::before,.pm-glyph-refine::after {width:18px;height:11px;border:2px solid currentColor}
.pm-glyph-refine::before {left:2px;top:1px;border-bottom:0;border-right:0;border-top-left-radius:11px}
.pm-glyph-refine::after {bottom:2px;right:2px;border-top:0;border-left:0;border-bottom-right-radius:11px}
.pm-glyph-refine i:first-child,.pm-glyph-refine i:nth-child(2) {width:7px;height:7px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg);left:14px;top:-1px}
.pm-glyph-refine i:nth-child(2) {transform:rotate(225deg);left:7px;top:20px}
.pm-glyph-measure::before {left:0;bottom:2px;right:0;height:2px;background:currentColor}
.pm-glyph-measure i {width:5px;left:3px;bottom:5px;height:8px;border:1.5px solid currentColor}
.pm-glyph-measure i:nth-child(2) {left:11px;height:13px}
.pm-glyph-measure i:nth-child(3) {left:19px;height:19px}
.pm-glyph-share::before {inset:1px 4px;border:2px solid currentColor;border-radius:2px}
.pm-glyph-share i {top:8px;left:9px;width:10px;height:1.5px;background:currentColor}
.pm-glyph-share i:nth-child(2) {top:13px}
.pm-glyph-share i:nth-child(3) {top:18px;width:6px}
.pm-panels {
  background: var(--paper);
  border: 1px solid #b3bcaa;
  border-top: 3px solid var(--pm-active);
  border-radius: 2px 2px 6px 6px;
}
.pm-panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.75rem, 4.5vw, 4.7rem);
  padding: clamp(1.45rem, 3.3vw, 3rem);
  align-items: start;
}
.pm-panel[hidden] {display:none}
.pm-panels > .pm-panel + .pm-panel {border-top:1px solid #c6cbbd}
.pm-ready .pm-panels > .pm-panel + .pm-panel {border-top:0}
.pm-method h3 {
  font: 500 clamp(1.65rem, 2.8vw, 2.85rem)/1.06 Arial,Helvetica,sans-serif;
  letter-spacing: -.05em;
  margin: .6rem 0 .85rem;
}
.pm-method > p:last-child,.pm-evidence > p:nth-child(2) {
  font-size: 1rem; line-height:1.58; color: #434c3f; max-width: 61ch;
}
.pm-counter,.pm-project {
  font: 600 .81rem/1.4 "Courier New",monospace;
  letter-spacing: .065em;
  text-transform: uppercase;
  color: var(--pm-active);
}
.pm-counter span {color:#67705e}
.pm-evidence {border-left:1px solid #cbd1c0;padding-left:clamp(1.5rem,3.1vw,3.3rem)}
.pm-project {color:#526045;margin:0 0 .65rem}
.pm-link {display:inline-block;margin-top:.8rem;color:var(--pm-active);text-decoration:underline;text-underline-offset:.25em;font-size:.96rem}
.pm-link:hover {text-decoration-thickness:2px}
@media (max-width:800px) {
  .pm-intro {display:block}
  .pm-intro>p {max-width:56ch;margin-top:.8rem}
  .pm-marker {font-size:1rem}
  .pm-route {margin-top:2.15rem}
  .pm-index {display:block;margin:0 0 .2em}
  .pm-stop-label {font-size:.94rem}
  .pm-panel {grid-template-columns:1fr 1fr;gap:1.4rem}
  .pm-evidence {padding-left:1.35rem}
}
@media (max-width:600px) {
  .process-map {--pm-marker:2.75rem;--pm-turn-gutter:10px}
  .pm-route {grid-template-columns:repeat(3,minmax(0,1fr));row-gap:1.15rem;margin:1.75rem 0 1.2rem}
  .pm-stop {padding:0 .1rem .2rem;gap:.53rem}
  .pm-index {display:inline;margin-right:.14em;font-size:.76rem}
  .pm-stop-label {font-size:.92rem}
  .pm-glyph {transform:scale(.83)}
  .pm-stop:nth-child(4) {grid-column:3;grid-row:2}
  .pm-stop:nth-child(5) {grid-column:2;grid-row:2}
  .pm-stop:nth-child(6) {grid-column:1;grid-row:2}
  .pm-stop:nth-child(3)::before {
    box-sizing:border-box;
    width:calc(50% - var(--pm-turn-gutter));
    height:calc(100% + 1.15rem + 2px);
    border:2px solid var(--pm-track);
    border-left:0;
    border-radius:0 .75rem .75rem 0;
  }
  .pm-stop:nth-child(4)::before,.pm-stop:nth-child(5)::before {left:auto;right:50%}
  .pm-panel {display:block;padding:1.25rem}
  .pm-evidence {margin-top:1.1rem;border:0;border-top:1px solid #cbd1c0;padding:1rem 0 0}
  .pm-method h3 {font-size:1.75rem}
}
@media(max-width:360px){.pm-index{display:block;margin:0 0 .16em}}
@media(forced-colors:active) {
  .pm-stop[aria-selected="true"] .pm-station {outline-color:Highlight;color:Highlight}
  .pm-stop::before,.pm-stop:nth-child(3)::before {border-color:CanvasText}
}
