.nodes-heading {
  background: var(--pattern) 0 0 / 20px 20px, linear-gradient(180deg, var(--hero-top), var(--hero-bottom));
  border-block-end: 1px solid var(--border-soft);
}

.nodes-heading-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(36px, 6vw, 88px);
}

.nodes-heading-copy {
  min-width: 0;
}

.nodes-heading-copy h1 {
  margin-block: 14px;
  text-align: start;
}

.nodes-heading-copy p {
  max-width: 29em;
  color: var(--text-muted);
}

.nodes-heading-copy strong {
  color: var(--text);
}

.nodes-jump {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  max-width: 25em;
  margin-block-start: 22px;
}

.nodes-jump a {
  min-height: 38px;
  justify-content: center;
  padding-inline: 4px;
  text-align: center;
}

.nodes-jump a:hover {
  border-color: var(--cobalt);
  background: var(--hero-top);
}

.nodes-chart {
  overflow: hidden;
  background: var(--bg-panel2);
}

.nodes-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.nodes-intro {
  justify-items: start;
  text-align: start;
}

.nodes-region-note {
  margin-block-start: 12px;
  color: var(--text-muted);
}

.nodes-reference {
  background: var(--head-glass);
  border-block: 1px solid var(--border-soft);
}

.nodes-route-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  align-items: start;
  gap: clamp(14px, 4vw, 52px);
}

@media (max-width: 768px) {
  .nodes-heading-inner,
  .nodes-route-entry {
    grid-template-columns: minmax(0, 1fr);
  }

  .nodes-chart {
    width: min(100%, 25em);
  }
}

@media (max-width: 480px) {
  .nodes-chart svg {
    aspect-ratio: 2 / 1;
  }
}