/* The network: a dark map section under the home hero. */
.net { background: #05070c; color: #fff; padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 8vw, 112px); position: relative; overflow: hidden; --line: rgba(255, 255, 255, .12); }
.net::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 56% 58%, rgba(42, 120, 214, .12), transparent 70%); pointer-events: none; }
.net .wrap { position: relative; }
.net-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-top: 22px; border-top: 1px solid var(--line); }
.net-head .h-l { margin-top: 14px; max-width: 14ch; }
.net-head .lede { color: rgba(255, 255, 255, .72); justify-self: end; max-width: 44ch; }
.net .kw { color: #a3a8b5; }

.net-map { position: relative; margin: clamp(40px, 5vw, 64px) 0 0; }
.net-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.net .land path { fill: rgba(255, 255, 255, .075); stroke: rgba(5, 7, 12, .9); stroke-width: .4; }
.net .land path.h { fill: rgba(255, 255, 255, .26); }
.net .land path.g { fill: rgba(255, 255, 255, .16); }
.net .na { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: var(--sw, .6); stroke-linecap: round; transition: stroke .3s, opacity .3s; }
.net .np { fill: #fff; }
.net .nd .ring { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1; vector-effect: non-scaling-stroke; }
.net .nd .core { fill: #fff; }
.net .nd:not(.hub) .ring { stroke-dasharray: 2 2; stroke: rgba(255, 255, 255, .45); }
.net .nd:not(.hub) .core { fill: #a3a8b5; }
.net .nd.hub .ring { animation: netp 3.2s cubic-bezier(.2, .7, .2, 1) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes netp { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.net.focus .na { opacity: .18; }
.net.focus .na.on { opacity: 1; stroke: #fff; stroke-width: calc(var(--sw, .6) * 1.8); }

.net-pins { position: absolute; inset: 0; }
.nl { position: absolute; transform: translate(14px, -50%); display: flex; flex-direction: column; gap: 2px; white-space: nowrap; padding: 4px 0; color: #fff; transition: opacity .3s; }
.nl.l { transform: translate(calc(-100% - 14px), -50%); text-align: right; }
.nl b { font: 400 .95rem/1.1 var(--f-display); letter-spacing: .01em; }
.nl small { font-size: .72rem; color: rgba(255, 255, 255, .58); font-variant-numeric: tabular-nums; }
.nl small .tzh { display: none; }
.nl:not(.hub) b { font-size: .8rem; color: rgba(255, 255, 255, .8); }
.nl:hover b, .nl:focus-visible b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.net.focus .nl:not(.on) { opacity: .35; }

.net-key { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 28px; font-size: .78rem; color: rgba(255, 255, 255, .6); }
.net-key span { display: inline-flex; align-items: center; gap: 10px; }
.net-key i { display: inline-block; }
.k-hub { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
.k-gate { width: 8px; height: 8px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .7); }
.k-arc { width: 22px; height: 1px; background: rgba(255, 255, 255, .6); }

.net-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.net-figs > div { padding: 22px 24px 0 0; display: flex; flex-direction: column; gap: 8px; }
.net-figs > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.net-figs b { font: 300 clamp(2.2rem, 3.6vw, 3.2rem)/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.net-figs b i { font-style: normal; font-size: .5em; margin-left: 4px; color: #a3a8b5; letter-spacing: 0; }
.net-figs > div > span { font-size: .82rem; color: rgba(255, 255, 255, .62); }
.net-src { margin: 28px 0 0; font-size: .72rem; line-height: 1.5; color: rgba(255, 255, 255, .42); max-width: 90ch; }

@media (max-width: 980px) {
  .net-head { grid-template-columns: 1fr; gap: 18px; }
  .net-head .lede { justify-self: start; }
  .net-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .net-figs > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .net-figs > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 22px; }
}
@media (max-width: 640px) {
  .net { padding: 56px 0; }
  .net-map { margin: 32px calc(-1 * var(--gut)) 0; }
  .nl { transform: translate(8px, -50%); }
  .nl.l { transform: translate(calc(-100% - 8px), -50%); }
  .nl b { font-size: .68rem; }
  .nl:not(.hub) b { font-size: .6rem; }
  .nl small { display: none; }
  .net-key { gap: 16px; font-size: .7rem; margin-top: 20px; }
  .net-figs > div { padding: 18px 12px 0 0; }
  .net-figs > div + div { padding-left: 12px; }
  .net-figs > div:nth-child(3) { padding-left: 0; }
  .net-figs b { font-size: 1.9rem; }
  .net-figs > div > span { font-size: .74rem; }
}
/* the map dissolves at its edges rather than ending on a hard crop */
.net-map svg { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); mask-composite: intersect; }
@media (min-width: 641px) { .net-map { max-width: calc(74svh * var(--ar, 1.45)); margin-inline: auto; } }
@media (max-width: 640px) { .nl.l[data-n="casablanca"] { transform: translate(8px, -50%); text-align: left; } }

/* partner markets: a solid ring, between a hub and a gateway */
.net .np { fill: #fff; opacity: .85; }
.net .nd.pt .ring { stroke: rgba(255, 255, 255, .7); }
.net .nd.pt .core { fill: #dfe3ee; }
.nl.pt b { font-size: .86rem; }
.k-pt { width: 8px; height: 8px; border-radius: 50%; background: #dfe3ee; box-shadow: 0 0 0 2px rgba(5, 7, 12, 1), 0 0 0 3px rgba(255, 255, 255, .6); }

/* the network in numbers: four equal columns, figure over label */
.net-figs > div { padding-top: 26px; gap: 12px; }
.net-figs b { display: inline-flex; align-items: flex-start; }
.net-figs b i { font-size: .46em; margin: .12em 0 0 4px; color: #a3a8b5; }
.net-figs > div > span { font: 500 .72rem/1.2 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
@media (max-width: 640px) {
  .net { --sw: 1.2; }
  .nl.pt b { font-size: .62rem; }
  .net-figs > div > span { font-size: .62rem; }
}
.net-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(36px, 4vw, 52px); }
@media (max-width: 640px) { .net-cta { flex-wrap: nowrap; } .net-cta .btn { flex: 1 1 0; min-width: 0; justify-content: center; padding: 0 10px; } }
/* labels never collide: London sits above its dot, every label carries a halo over the lines */
.nl.tl { transform: translate(calc(-100% + 6px), calc(-100% - 10px)); text-align: right; }
.nl b, .nl small { text-shadow: 0 0 6px #05070c, 0 0 2px #05070c, 0 0 12px rgba(5, 7, 12, .9); }
@media (max-width: 640px) { .nl.tl { transform: translate(calc(-100% + 4px), calc(-100% - 6px)); } }
