/* Gutters page: opening tuned to a long H1, the runoff line, the hand-off */

/* Opening */
.opening h1 { font-size: clamp(1.75rem, 5.2vw, 4.5rem); text-wrap: balance; }
.plate__foot .plate__ask { font-family: var(--display); font-size: var(--t-h3); line-height: 1.05; margin: 0 0 0.8rem; }
.opening__pic { margin: 1.25rem 0 0; }
@media (max-width: 47.99em) {
  .opening { grid-template-rows: minmax(30rem, auto) auto; }
}
@media (min-width: 48em) {
  .opening__pic { margin: 0 0 0 -5rem; }
}

/* Runoff line: stations in column one, the line itself drawn in three segments */
.run {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2rem;
  column-gap: var(--gap);
  margin-top: 1.5rem;
}
.run__st {
  grid-column: 1;
  display: grid;
  gap: 0.3rem 1.5rem;
  align-content: center;
  padding-block: 0.9rem;
}
.run__st h3 { font-size: var(--t-h2); margin: 0; }
.run__st p { margin: 0; font-size: calc(var(--t-body) * 1.15); line-height: 1.45; max-width: 34em; }
.run__st--1 { grid-row: 1; padding-top: 0.25rem; }
.run__st--2 { grid-row: 3; }
.run__st--3 { grid-row: 4; min-height: 8rem; }
@media (min-width: 48em) {
  .run__st { grid-template-columns: minmax(10rem, 18rem) minmax(0, 1fr); align-items: center; }
  .run__st--3 { min-height: 10rem; }
}

.run__seg {
  position: relative;
  display: block;
  border: 0.1875rem solid currentColor;
}
.run__seg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  border-radius: inherit;
  transition: clip-path var(--step);
}
.run__seg--trough {
  grid-row: 2;
  grid-column: 1 / -1;
  height: 1.75rem;
  border-radius: 0 0 var(--sc) var(--sc);
}
.run__seg--trough::after { clip-path: inset(0 100% 0 0); }
.run__seg--outlet,
.run__seg--spout {
  grid-column: 2;
  margin-top: 0.35rem;
}
.run__seg--outlet { grid-row: 3; }
.run__seg--spout { grid-row: 4; border-radius: 0 0 0.4rem 0.4rem; }
.run__seg--outlet::after,
.run__seg--spout::after { clip-path: inset(0 0 100% 0); }
.run__seg.is-on::after { clip-path: inset(0 0 0 0); }
html:not(.js) .run__seg::after { clip-path: inset(0 0 0 0); }

/* Hand-off */
.hand { display: grid; gap: var(--gap); align-items: center; }
@media (min-width: 48em) {
  .hand { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
.hand .lead { margin-bottom: 1.25rem; }
.hand__edge { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 2rem; align-items: center; }
.hand .section3 { width: 11rem; }
.hand .section3__row { min-height: 2.2rem; font-size: 1rem; }
.hand__note { margin: 0 0 0.4rem; }
.hand__links { list-style: none; margin: 0; padding: 0; }
@media (max-width: 30em) {
  .hand__edge { grid-template-columns: minmax(0, 1fr); }
}
