/* ── THE NETWORK MAP ── see network-map.js
   Shared by the home Network block and network.html. */
.netmap {
  position: relative;
  width: 100%;
  aspect-ratio: 360 / 141;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.netmap canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* soft edges: the land fades out on all four sides, so the map never
   reads as a hard rectangle (24 October 2026) */
.netmap-land {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}
.netmap-pins { position: absolute; inset: 0; pointer-events: none; }
.netmap-pin {
  position: absolute;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
  cursor: default;
}
.netmap-pin:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.netmap-tip {
  position: absolute;
  top: 0; left: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 13px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(49, 27, 66, 0.14);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: 2;
}
.netmap-tip.is-on { opacity: 1; }
.netmap-tip b {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.netmap-tip span {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.62;
}

/* ── network.html: the map section under the hero ── */
.netmap-card { padding: 40px 44px 34px; }
.netmap-card:hover { transform: none; }
.netmap-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.netmap-count {
  font-family: var(--ff-display);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}
.netmap-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
}
.netmap-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(49, 27, 66, 0.1);
}
.netmap-list li {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.55;
  cursor: default;
  transition: opacity 200ms ease, color 200ms ease;
}
.netmap-list li:hover,
.netmap-list li.is-on { opacity: 1; color: #4e9680; }
@media (max-width: 760px) {
  .netmap-card { padding: 26px 0 24px; overflow: hidden; }
  .netmap-head { padding: 0 22px; flex-direction: column; gap: 8px; }
  .netmap-list { margin: 22px 22px 0; gap: 4px 14px; }
}

/* ── network.html: the Academy path, the five real areas ── */
.acad-path { cursor: default; padding: 22px 6px 18px; }
.acad-path .acad-modules { list-style: none; padding: 6px 12px 10px; }
.acad-path .acad-module { animation: none; }
.acad-path .acad-module:first-child { background: rgba(122, 191, 171, 0.3); opacity: 1; }
.acad-path-label,
.acad-path-foot {
  padding: 0 24px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
}
.acad-path-foot { padding-top: 6px; opacity: 0.62; letter-spacing: 0.1em; }
.acad-net-lead { font-weight: 600; opacity: 0.92; margin-bottom: 12px; }
/* the card already carries the count, so the header meta steps aside on phones */
@media (max-width: 560px) {
  .netmap-section .section-meta { display: none; }
}
