.standards-spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "intro index"
    "map index"
    "link index";
  column-gap: clamp(32px, 6.5vw, 100px);
  row-gap: 22px;
  align-items: start;
}

.standards-intro { grid-area: intro; }
.standards-intro h2 { max-width: 14ch; }
.standards-index { grid-area: index; }
.standards-guide { grid-area: link; justify-self: start; margin-top: -14px; }

.evidence-map {
  grid-area: map;
  padding: clamp(18px, 1.9vw, 30px);
  background-color: #302331;
  background-image: radial-gradient(#66526670 .7px, transparent .9px);
  background-size: 15px 15px;
  color: #fff6e9;
}

.evidence-map figcaption {
  margin-bottom: clamp(14px, 1.8vw, 26px);
  font: 400 clamp(21px, 1.9vw, 29px)/1.15 var(--serif);
  letter-spacing: -.025em;
}

.evidence-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.evidence-steps li {
  --stage-color: #ffbd72;
  position: relative;
  min-width: 0;
  padding: 0 5px;
  text-align: center;
}

.evidence-steps li:nth-child(2) { --stage-color: #ffa984; }
.evidence-steps li:nth-child(3) { --stage-color: #edb0d6; }
.evidence-steps li:nth-child(4) { --stage-color: #d3bdff; }

.evidence-steps svg {
  display: block;
  width: clamp(44px, 4.4vw, 66px);
  height: auto;
  margin-inline: auto;
  fill: none;
  stroke: var(--stage-color);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ev-paper { fill: #423143; }
.ev-ink { stroke: #f8e4d5; }
.ev-accent { stroke-width: 2.5; }

.evidence-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(50% + clamp(22px, 2.2vw, 33px));
  width: calc(100% - clamp(44px, 4.4vw, 66px));
  top: clamp(22px, 2.2vw, 33px);
  height: 7px;
  margin-top: -3px;
  background: var(--stage-color);
  clip-path: polygon(0 42%, calc(100% - 4px) 42%, calc(100% - 7px) 0, calc(100% - 5px) 0, 100% 50%, calc(100% - 5px) 100%, calc(100% - 7px) 100%, calc(100% - 4px) 58%, 0 58%);
}

.evidence-label { display: block; margin-top: 7px; }
.evidence-label strong { display: block; font-size: 14px; line-height: 1.35; font-weight: 560; }
.evidence-label span {
  display: block;
  margin-top: 3px;
  color: #dfd0db;
  font-size: clamp(11px, .86vw, 13px);
  line-height: 1.4;
  text-wrap: balance;
}

.standards-index summary {
  display: grid;
  grid-template-columns: clamp(39px, 3.3vw, 49px) minmax(0, 1fr) 18px;
  gap: clamp(12px, 1.3vw, 22px);
  width: 100%;
  min-height: 83px;
  padding-block: clamp(15px, 1.55vw, 23px);
}

.standard-symbol {
  display: block;
  width: 100%;
  height: auto;
  fill: none;
  stroke: #563d54;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.standard-symbol .ss-wash { fill: #c9b1c2; stroke: none; }
.standard-symbol .ss-paper { fill: #ede5ed; }
.standard-symbol .ss-accent { stroke: #814128; stroke-width: 1.9; }
.standard-label { display: block; }
.standard-label small {
  display: block;
  margin-top: 5px;
  color: #605164;
  font: 450 clamp(11px, .9vw, 14px)/1.45 var(--sans);
  letter-spacing: .012em;
}

.standards-index details > div { padding-left: calc(clamp(39px, 3.3vw, 49px) + clamp(12px, 1.3vw, 22px)); }
.standards-index summary:focus-visible { outline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .standards-intro.in-view + .evidence-map li:not(:last-child)::after {
    animation: evidence-connect .55s var(--ease) both;
    transform-origin: left;
  }
  .standards-intro.in-view + .evidence-map li:nth-child(2)::after { animation-delay: .12s; }
  .standards-intro.in-view + .evidence-map li:nth-child(3)::after { animation-delay: .24s; }
  @keyframes evidence-connect { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

@media (max-width: 900px) {
  .standards-spread {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "map" "index" "link";
    row-gap: 23px;
  }
  .standards-intro h2 { max-width: none; }
  .evidence-map { padding: clamp(19px, 4vw, 29px); }
  .standards-guide { margin-top: -7px; }
}

@media (max-width: 510px) {
  .evidence-map { padding: 20px 16px; }
  .evidence-map figcaption { margin: 0 0 13px; }
  .evidence-steps { grid-template-columns: minmax(0, 1fr); }
  .evidence-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    min-height: 51px;
    text-align: left;
  }
  .evidence-steps svg { width: 38px; margin: 0; }
  .evidence-steps li:not(:last-child)::after {
    left: 19px;
    width: 1px;
    height: 13px;
    top: 50%;
    margin-top: 19px;
    clip-path: none;
  }
  .evidence-label { margin: 0; }
  .evidence-label span { margin-top: 1px; font-size: 12px; }
  .standards-index summary { grid-template-columns: 34px minmax(0, 1fr) 16px; gap: 10px; min-height: 75px; }
  .standards-index details > div { padding: 0 2px 16px 44px; }
}
