.network-hero { overflow: clip; }
.network-layout {
  display: grid;
  grid-template-columns: var(--raster-sporen);
  column-gap: var(--raster-goot);
  align-items: center;
  padding-block: clamp(24px, 2.8vw, 44px);
}
.network-intro { grid-column: 1 / 6; padding-block: 20px; }
.network-intro h1 {
  max-width: 14ch;
  font-size: var(--page-title); line-height: 1.055;
  letter-spacing: var(--display-tracking); font-weight: 540;
}
.network-number {
  --overhang: max(var(--gutter), calc((100vw - 1520px) / 2));
  grid-column: 6 / -1;
  position: relative; isolation: isolate;
  display: grid; place-items: center;
  min-height: clamp(405px, 34vw, 540px);
  color: white;
}
.network-number::before {
  content: "";
  position: absolute; z-index: -1;
  inset: 0 calc(-1 * var(--overhang)) 0 0;
  border-radius: var(--vlak-radius) 0 0 var(--vlak-radius);
  background: radial-gradient(ellipse at 55% 44%, #365bd0 0%, transparent 62%),
              linear-gradient(120deg, #1d3585, #294ab1 62%, #2e50b6);
}
.network-readout { text-align: center; pointer-events: none; }
.network-value {
  display: inline-flex; align-items: flex-start;
  font-size: clamp(88px, 8.8vw, 154px); font-weight: 510;
  line-height: .94; letter-spacing: -.065em; font-variant-numeric: tabular-nums;
}
.network-value [data-network-count] { min-width: 1.56em; text-align: end; }
.network-plus { font-size: .43em; line-height: 1; margin: .08em 0 0 .09em; }
.network-caption { display: block; margin-top: 8px; color: #edf2ff; font-size: clamp(16px, 1.32vw, 22px); }
.network-readable { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.network-orbits {
  --tilt: 6deg;
  position: absolute; inset: 4% 0;
  transform: skewY(calc(-1 * var(--tilt)));
}
.network-orbits::before, .network-orbits::after {
  content: ""; position: absolute; pointer-events: none;
  border: 1px solid rgb(209 227 255 / 34%); border-radius: 50%;
}
.network-orbits::before { inset: 12% 3%; }
.network-orbits::after { inset: 23% 16%; border-color: rgb(209 227 255 / 21%); }
.network-orbits a {
  position: absolute; z-index: 1;
  top: var(--y); left: var(--x);
  translate: var(--align, -10px) -50%;
  transform: skewY(var(--tilt));
  transform-origin: 10px center;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 4px 8px;
  border-radius: 8px;
  font-size: clamp(13px, .98vw, 16px); font-weight: 530; line-height: 1.25;
  white-space: nowrap; color: #fff;
  text-shadow: 0 1px 4px #2445a4;
}
.network-orbits a::before {
  content: ""; flex: none; width: 5px; height: 5px;
  border-radius: 50%; background: #eff8ff;
  box-shadow: 0 0 0 3px rgb(169 209 255 / 17%), 0 0 10px rgb(185 224 255 / 48%);
}
.network-orbits a:is(:hover, :focus-visible) {
  background: #24449e; text-decoration: underline; text-underline-offset: .24em;
}
.network-orbits a:focus-visible { outline: 2px solid #edf4ff; outline-offset: 2px; }
.network-orbits .node-banken { --x: 14.5%; --y: 25%; }
.network-orbits .node-krediet { --x: 55.7%; --y: 12.3%; --delay: 50ms; }
.network-orbits .node-fondsen { --x: 71.9%; --y: 29.3%; --delay: 100ms; }
.network-orbits .node-particulier { --x: 8.9%; --y: 68.4%; --delay: 150ms; }
.network-orbits .node-beleggers { --x: 96.5%; --y: 55.3%; --delay: 200ms; }
.network-orbits .node-vermogens { --x: 38.6%; --y: 86.9%; --delay: 250ms; }
.network-orbits .node-family { --x: 85%; --y: 75.4%; --delay: 300ms; }
.node-beleggers, .node-family {
  --align: calc(-100% + 10px);
  flex-direction: row-reverse; transform-origin: calc(100% - 10px) center;
}
.network-index > div[id] { scroll-margin-top: 24px; }
.network-index > div:target dt { color: var(--action-blue); }
.network-index > div:focus-visible { outline: 2px solid var(--action-blue); outline-offset: 5px; }

@media (prefers-reduced-motion: no-preference) {
  .is-counting .network-orbits a { animation: netwerk-binnen .42s ease-out var(--delay, 0ms) backwards; }
  .is-counting .network-plus { opacity: 0; }
  .is-settled .network-plus { animation: netwerk-plus .22s ease-out; }
  @keyframes netwerk-binnen {
    from { opacity: 0; transform: skewY(var(--tilt)) translateY(6px); }
  }
  @keyframes netwerk-plus { from { opacity: 0; transform: translateY(3px); } }
}

@media (max-width: 850px) {
  .network-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 35px 0; }
  .network-intro, .network-number { grid-column: 1; }
  .network-intro { padding: 0; }
  .network-intro h1 { max-width: 20ch; }
  .network-number { min-height: 375px; }
  .network-number::before { border-radius: var(--vlak-radius) 0 0 0; }
}
@media (max-width: 640px) {
  .network-number {
    display: block; min-height: 0;
    padding-block: 29px 26px;
  }
  .network-number::before { inset-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  .network-readout { width: 100%; text-align: left; }
  .network-value { font-size: clamp(72px, 15vw, 94px); }
  .network-caption { margin-top: 2px; }
  .network-orbits {
    --tilt: 0deg;
    position: static; transform: none; margin-top: 17px;
    display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 0 14px; width: 100%;
  }
  .network-orbits::before, .network-orbits::after { content: none; }
  .network-orbits a {
    position: static; translate: none; flex-direction: row;
    min-height: 44px; padding: 5px 0 5px 2px;
    border-top: 1px solid rgb(218 233 255 / 17%); border-radius: 0;
    font-size: clamp(13px, 3.55vw, 15px); white-space: normal;
    hyphens: auto; overflow-wrap: anywhere;
  }
}
