/* as213941.net
   A light, warm page built around a real 3D map. Instrument Sans (variable weight and width)
   for text, with headings in its narrower widths; IBM Plex Mono for what a router would print
   (AS numbers, prefixes, capacities). Azure carries links and live data, orange marks what is
   coming (the capacity upgrade) and the pulse of the network on the map. */

@font-face { font-family: "Instrument Sans"; font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; src: url("fonts/instrument-sans-latin-wdth-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --bg: #fbf9f6;
  --bg-alt: #f4f0e9;
  --surface: #ffffff;
  --thead: #faf7f2;
  --ink: #1b2740;
  --strong: #0e1a33;
  --muted: #5a6376;
  --line: #e9e3d9;
  --line-strong: #d6cec1;
  --accent: #0868c2;
  --accent-strong: #064f96;
  --accent-bright: #1a8cf0;
  --accent-soft: #e5f1fc;
  --on-accent: #ffffff;
  --warm: #ff7a3d;
  --warm-strong: #b8430f;
  --warm-soft: #fff1e7;
  --ok: #17794a;
  --bad: #b3261e;
  --idle: #7b8494;
  --chip: #0e1a33;
  --on-chip: #ffffff;
  --land: #ece6da;
  --land-2: #dfd6c6;
  --focus: #0868c2;
  --map-accent: #0868c2;
  --radius: 8px;
  --shadow-1: 0 1px 2px rgba(27, 39, 64, 0.06), 0 3px 10px rgba(27, 39, 64, 0.06);
  --shadow-2: 0 2px 4px rgba(27, 39, 64, 0.06), 0 12px 28px rgba(27, 39, 64, 0.1);
  --shadow-3: 0 4px 8px rgba(27, 39, 64, 0.06), 0 24px 56px rgba(27, 39, 64, 0.16);

  --navy: #0e1a33;
  --navy-line: rgba(255, 255, 255, 0.14);
  --on-navy: #eef2f8;
  --on-navy-soft: #c9d3e2;
  --on-navy-muted: #9fadc2;

  --sans: "Instrument Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1200px;
  --gutter: 32px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16.5px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono, .num { font-family: var(--mono); font-size: 0.9em; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.na { color: var(--idle); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.skip { position: absolute; left: -9999px; top: 0; padding: 10px 16px; background: var(--accent); color: var(--on-accent); z-index: 60; }
.skip:focus { left: 0; }

.link-button { padding: 0; border: 0; background: none; color: var(--accent); cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link-button:hover { color: var(--accent-strong); text-decoration-thickness: 2px; }
html:not(.js) [data-view], .map-failed [data-view] { display: none; }

.button {
  display: inline-flex; align-items: center; padding: 11px 18px; border: 1px solid transparent; border-radius: 6px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 15.5px; line-height: 1.3; text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 2px rgba(6, 79, 150, 0.3), 0 6px 16px rgba(8, 104, 194, 0.22);
  transition: background-color 0.15s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.button:hover { background: var(--accent-strong); color: var(--on-accent); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(6, 79, 150, 0.3), 0 10px 22px rgba(8, 104, 194, 0.26); }
.button:active { transform: none; }
.button.ghost { background: var(--surface); border-color: var(--line-strong); color: var(--strong); box-shadow: none; }
.button.ghost:hover { background: var(--surface); border-color: var(--accent); color: var(--accent-strong); box-shadow: var(--shadow-1); }

/* Copy buttons */
.copy {
  position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 26px; height: 26px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--muted); cursor: pointer;
}
.copy svg { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.copy:hover { background: var(--accent-soft); color: var(--accent-strong); }
.copy.is-done { color: var(--ok); }
.copy.is-done::after, .link-button.is-done::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
  padding: 4px 9px; border-radius: 5px; background: var(--chip); color: #fff; font: 500 12.5px/1.3 var(--sans); white-space: nowrap; pointer-events: none;
}
.link-button[data-copy] { position: relative; }

/* Blocks ease in once as they arrive (assets/app.js adds .is-in). */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); }
  .js .reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
}

/* ---- announcement bar ------------------------------------------------ */
.notice { background: var(--warm-soft); border-bottom: 1px solid #fbdcc6; color: var(--strong); font-size: 14.5px; line-height: 1.45; }
.notice:empty { display: none; }
.notice p { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gutter); }
.notice-tag { display: inline-block; margin-right: 8px; padding: 1px 9px; border-radius: 4px; background: var(--warm); color: var(--strong); font-size: 12.5px; font-weight: 700; }
.notice a { color: var(--strong); font-weight: 600; white-space: nowrap; margin-left: 4px; }
.notice a:hover { color: var(--warm-strong); }

/* ---- header ---------------------------------------------------------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow 0.25s; }
.site-head.is-scrolled { box-shadow: 0 6px 24px rgba(27, 39, 64, 0.08); }
.head-row { display: flex; align-items: center; gap: 22px; min-height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--strong); text-decoration: none; font-size: 18px; line-height: 1; white-space: nowrap; }
.brand:hover { color: var(--strong); }
.brand-name { font-weight: 700; letter-spacing: -0.01em; }
.brand-sub { padding-left: 10px; border-left: 1px solid var(--line-strong); color: var(--muted); font-size: 15px; }
.mark { display: block; flex: none; width: 40px; height: 30px; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 2px; }
.site-nav a {
  display: block; padding: 8px 11px; border-radius: 6px; color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 11px calc(100% - 3px) / 0 2px;
  transition: color 0.15s, background-size 0.25s var(--ease);
}
.site-nav a:hover { color: var(--strong); }
.site-nav a[aria-current] { color: var(--strong); background-size: calc(100% - 22px) 2px; }

.head-cta { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--strong); font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color 0.15s, color 0.15s, box-shadow 0.2s; }
.head-cta:hover { border-color: var(--accent); color: var(--accent-strong); box-shadow: var(--shadow-1); }

.lang { display: flex; padding: 2px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); font-size: 13px; font-weight: 600; }
.lang a { padding: 4px 8px; border-radius: 4px; color: var(--muted); text-decoration: none; }
.lang a:hover { color: var(--strong); }
.lang a[aria-current] { background: var(--chip); color: var(--on-chip); }

/* ---- hero: the map is the page's first screen ------------------------- */
.hero { background: var(--bg); }
.map-stage {
  position: relative; height: clamp(560px, calc(100vh - 150px), 740px); overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 120% at 70% 35%, #ffffff 0%, #eef5fc 42%, #f6efe4 100%);
  border-bottom: 1px solid var(--line);
}
.map-canvas { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 0.9s; font-family: var(--sans); }
.map-stage.is-live .map-canvas { opacity: 1; }
.map-stage.is-failed .map-canvas, .map-stage.is-failed .map-views, .map-stage.is-failed .map-hint { display: none; }

.hero-inner { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; pointer-events: none; }
.hero-panel {
  width: min(500px, 100%); padding: 30px 32px 28px; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 12px; pointer-events: auto;
  background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: saturate(1.3) blur(16px); backdrop-filter: saturate(1.3) blur(16px);
  box-shadow: var(--shadow-3);
}
.ident { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 3px 2px 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--strong); font-size: 15px; }

h1 { color: var(--strong); font-weight: 700; font-stretch: 82%; font-size: clamp(34px, 3.7vw, 50px); line-height: 1.04; letter-spacing: -0.014em; text-wrap: balance; }
.lede { margin-top: 16px; color: var(--ink); font-size: 17.5px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.fresh { display: flex; gap: 10px; align-items: baseline; margin-top: 20px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.fresh::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--idle); transform: translateY(-1px); }
.fresh.is-live::before { background: #22a565; box-shadow: 0 0 0 3px rgba(34, 165, 101, 0.2); }
.fresh.is-saved::before { background: none; border: 1.5px solid var(--idle); }
@media (prefers-reduced-motion: no-preference) {
  .fresh.is-live::before { animation: beat 2.4s ease-out infinite; }
  .fresh.is-checking::before { animation: blink 1s ease-in-out infinite; }
}
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(34, 165, 101, 0.45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(34, 165, 101, 0); } }
@keyframes blink { 50% { opacity: 0.3; } }

/* Static map shown while the 3D map loads, and kept if it cannot start. */
.map-fallback { position: absolute; top: 0; bottom: 0; right: 0; left: 36%; z-index: 0; transition: opacity 0.9s, visibility 0s 0.9s; }
.map-stage.is-live .map-fallback { opacity: 0; visibility: hidden; }
.map-fallback figcaption { display: none; }
.map-stage.is-failed .map-fallback figcaption { display: block; position: absolute; right: 16px; bottom: 76px; max-width: 26em; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--muted); font-size: 14px; box-shadow: var(--shadow-1); }
.reach-map { display: block; width: 100%; height: 100%; font-family: var(--sans); }
.reach-map .land { fill: var(--land); }
.reach-map .home { fill: var(--land-2); }
.reach-map .borders { fill: none; stroke: #fbf8f3; stroke-width: 1; stroke-linejoin: round; }
.reach-map .rings circle { fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-opacity: 0.55; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.reach-map .ring-labels text { font-family: var(--mono); font-size: 16px; fill: var(--accent); paint-order: stroke; stroke: #f4f7fb; stroke-width: 7px; stroke-linejoin: round; }
.reach-map .cities circle { fill: var(--strong); }
.reach-map .cities text { font-size: 19.5px; font-weight: 500; fill: var(--strong); paint-order: stroke; stroke: #fbf8f3; stroke-opacity: 0.8; stroke-width: 4px; stroke-linejoin: round; }
.reach-map .cities .dist { font-family: var(--mono); font-size: 15.5px; font-weight: 400; fill: var(--muted); }
.reach-map .pop-halo { fill: var(--warm); fill-opacity: 0.28; transform-box: fill-box; transform-origin: center; }
.reach-map .pop-dot { fill: var(--accent); stroke: #fff; stroke-width: 2.5; }
.reach-map .pop-name { font-size: 27px; font-weight: 700; fill: var(--strong); paint-order: stroke; stroke: #fbf8f3; stroke-opacity: 0.85; stroke-width: 5px; stroke-linejoin: round; }
.reach-map .pop-codes { font-family: var(--mono); font-size: 18.5px; font-weight: 500; fill: var(--accent); paint-order: stroke; stroke: #fbf8f3; stroke-opacity: 0.85; stroke-width: 5px; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .reach-map .pop-halo { animation: halo 2.8s ease-out infinite; }
}
@keyframes halo { 0% { transform: scale(0.6); fill-opacity: 0.5; } 70%, 100% { transform: scale(2); fill-opacity: 0; } }

/* Map controls */
.map-views { position: absolute; z-index: 5; top: 16px; right: 16px; display: none; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow-2); }
.js .map-views { display: flex; }
.map-views button { padding: 7px 13px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.3; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.map-views button:hover { background: var(--accent-soft); color: var(--accent-strong); }
.map-views button[aria-pressed="true"] { background: var(--chip); color: var(--on-chip); }
.map-hint { position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translateX(-50%); display: none; padding: 5px 12px; border-radius: 20px; background: rgba(14, 26, 51, 0.72); color: #fff; font-size: 13px; white-space: nowrap; pointer-events: none; }
.map-stage.is-live .map-hint { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .map-stage.is-live .map-hint { animation: hint 9s ease-in both; }
}
@keyframes hint { 0%, 8% { opacity: 0; } 16%, 82% { opacity: 1; } 100% { opacity: 0; } }
@media (hover: none) { .map-hint { visibility: hidden; } }

/* Markers and popups (elements created by assets/map.js inside MapLibre) */
.map-pin { width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
.map-pin-dot { position: absolute; inset: 6px; border: 3px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 2px 6px rgba(14, 26, 51, 0.45); }
.map-pin-dot::after { content: ""; position: absolute; inset: -12px; border: 2px solid var(--warm); border-radius: 50%; opacity: 0; }
.map-pin-tag { position: absolute; left: 100%; top: 50%; transform: translateY(-50%); display: flex; gap: 7px; align-items: baseline; margin-left: 2px; padding: 4px 9px; border-radius: 6px; background: var(--chip); color: #fff; font: 500 12.5px/1.35 var(--mono); white-space: nowrap; box-shadow: 0 2px 8px rgba(14, 26, 51, 0.35); transition: background-color 0.15s; }
.map-pin-tag .city { font: 700 14px/1.2 var(--sans); }
.map-pin:hover .map-pin-tag, .map-pin.is-active .map-pin-tag { background: var(--accent); }
.map-canvas .maplibregl-canvas:focus-visible { outline-offset: -3px; }
.map-pin:focus-visible { outline: none; }
.map-pin:focus-visible .map-pin-dot { outline: 2px solid var(--focus); outline-offset: 3px; }
.map-canvas.zoom-far .map-pin:not(.is-cluster), .map-canvas:not(.zoom-far) .map-pin.is-cluster { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .map-pin-dot::after { animation: pin-pulse 2.6s ease-out infinite; }
}
@keyframes pin-pulse { 0% { transform: scale(0.4); opacity: 0.95; } 75%, 100% { transform: scale(1.3); opacity: 0; } }

.map-canvas .maplibregl-popup-content { padding: 14px 34px 14px 16px; border-radius: 8px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-3); font: 400 14.5px/1.5 var(--sans); }
.map-canvas .maplibregl-popup-close-button { width: 30px; height: 30px; padding: 0; color: var(--muted); font-size: 20px; line-height: 1; border-radius: 0 8px 0 6px; }
.map-canvas .maplibregl-popup-close-button:hover { background: var(--bg-alt); color: var(--ink); }
.map-canvas .maplibregl-ctrl-group { border-radius: 8px; box-shadow: var(--shadow-2); }
.map-pop-name { color: var(--strong); font-size: 16px; font-weight: 700; }
.map-pop-addr { color: var(--muted); }
.map-pop-cap { margin-top: 8px; }
.map-pop-cap strong { font-family: var(--mono); font-size: 0.92em; font-weight: 500; }
.map-pop-links { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 8px; }

/* Key figures: four cards that sit across the bottom edge of the map */
.figures-wrap { position: relative; z-index: 6; margin-top: -58px; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.figure { padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-2); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.figure:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.figure dt { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.figure-value { margin-top: 4px; color: var(--strong); white-space: nowrap; }
.figure-value .fig { font-size: 44px; font-weight: 700; font-stretch: 82%; line-height: 1.1; letter-spacing: -0.015em; font-variant-numeric: tabular-nums lining-nums; }
.figure-value .unit { color: var(--muted); font-size: 17px; font-weight: 600; }
.figure-note { margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.figure.is-primary { border-color: transparent; background: linear-gradient(140deg, #0868c2 0%, #0a7fe0 60%, #2a9cf5 100%); box-shadow: 0 2px 4px rgba(6, 79, 150, 0.25), 0 14px 32px rgba(8, 104, 194, 0.32); }
.figure.is-primary dt, .figure.is-primary .figure-note, .figure.is-primary .figure-value .unit { color: rgba(255, 255, 255, 0.9); }
.figure.is-primary .figure-value { color: #fff; }

/* ---- sections -------------------------------------------------------- */
.band { padding: 84px 0 92px; }
.band.alt { background: var(--bg-alt); }
.band-head { max-width: 46rem; margin-bottom: 40px; }
h2 { color: var(--strong); font-weight: 700; font-stretch: 84%; font-size: clamp(28px, 3vw, 38px); line-height: 1.12; letter-spacing: -0.012em; }
h3 { color: var(--strong); font-weight: 600; font-size: 19px; line-height: 1.3; }
.intro { margin-top: 14px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.note { margin-top: 14px; max-width: 52em; color: var(--muted); font-size: 14.5px; }

/* ---- points of presence ---------------------------------------------- */
.pop-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pop-card { position: relative; display: flex; flex-direction: column; padding: 24px 26px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-1); transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease); }
.pop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.pop-card.is-active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-2); }
.pop-head { display: flex; align-items: center; gap: 12px; }
.pop-head h3 { font-size: 21px; font-stretch: 90%; }
.pop-code { flex: none; padding: 3px 8px; border-radius: 5px; background: var(--chip); color: var(--on-chip); font: 500 13px/1.4 var(--mono); }
.pop-addr { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.pop-facts { margin-top: 16px; }
.pop-facts > div { display: grid; grid-template-columns: 8.4em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.pop-facts dt { color: var(--muted); }
.pop-facts dd { color: var(--strong); font-weight: 500; }
.planned { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 4px; background: var(--warm-soft); color: var(--warm-strong); font-family: var(--sans); font-size: 13px; font-weight: 600; white-space: nowrap; }
.pop-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; }

/* ---- capacity -------------------------------------------------------- */
.cap-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 64px; align-items: start; }
.cap-figure { color: var(--strong); white-space: nowrap; }
.cap-figure .fig { font-size: clamp(76px, 10vw, 128px); font-weight: 700; font-stretch: 78%; line-height: 0.9; letter-spacing: -0.025em; font-variant-numeric: tabular-nums lining-nums; background: linear-gradient(140deg, #064f96 0%, #0a7fe0 55%, #36a5f7 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--accent); }
.cap-figure .unit { margin-left: 4px; color: var(--muted); font-size: 26px; font-weight: 600; font-stretch: 88%; }
.cap-caption { margin-top: 12px; color: var(--muted); }
.callout { margin-top: 28px; padding: 16px 20px 18px; border: 1px solid #fbdcc6; border-left: 4px solid var(--warm); border-radius: var(--radius); background: var(--warm-soft); }
.callout h3 { font-size: 17.5px; }
.callout p { margin-top: 4px; font-size: 15.5px; }

.cap-bars { padding: 6px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-2); }
.cap-bars li { padding: 24px 0 26px; }
.cap-bars li + li { border-top: 1px solid var(--line); }
.cap-row { display: flex; align-items: center; gap: 10px; }
.cap-name { color: var(--strong); font-weight: 600; }
.cap-val { margin-left: auto; color: var(--strong); font-size: 16px; font-weight: 500; }
.cap-bar { display: block; width: 100%; height: 14px; margin-top: 14px; border-radius: 7px; overflow: hidden; }
.cap-bar .track { fill: #efe9df; }
.cap-bar .planned { fill: var(--warm); fill-opacity: 0.42; }
.cap-bar .now { fill: var(--accent-bright); }
.cap-plan { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--warm-strong); font-size: 14.5px; font-weight: 500; }
.cap-plan::before { content: ""; flex: none; width: 14px; height: 8px; border-radius: 4px; background: var(--warm); opacity: 0.5; }

.js .cap-grid .cap-bar .now, .js .cap-grid .cap-bar .planned { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); }
.js .cap-grid.is-in .cap-bar .now, .js .cap-grid.is-in .cap-bar .planned { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .cap-grid.is-in .cap-bar .now { transition: transform 1.1s var(--ease); }
  .js .cap-grid.is-in .cap-bar .planned { transition: transform 1.1s var(--ease) 0.5s; }
}

/* ---- tables ---------------------------------------------------------- */
.table-wrap { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-1); overflow-x: auto; }
.table-tools { display: flex; justify-content: flex-end; margin-top: -8px; font-size: 14.5px; }
.table-tools + .table-wrap { margin-top: 10px; }
table.data { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.data th, .data td { padding: 14px 20px; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--line); }
.data tbody tr:last-child th, .data tbody tr:last-child td { border-bottom: 0; }
.data thead th { padding-top: 11px; padding-bottom: 10px; background: var(--thead); color: var(--muted); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.data tbody tr { transition: background-color 0.15s; }
.data tbody tr:hover { background: #fcfaf7; }
.data tbody th { color: var(--strong); font-weight: 600; }
.data td:last-child, .data .state, .data .num { white-space: nowrap; }
.data .sub { margin-left: 4px; color: var(--muted); font-size: 13.5px; font-weight: 400; }
.data tbody th a { color: var(--strong); text-decoration-color: var(--line-strong); }
.data tbody th a.sub { color: var(--muted); }
.data tr.off th, .data tr.off td, .data tr.off th a { color: var(--muted); }
.data tbody tr th a:hover, .data tbody tr td a:hover { color: var(--accent); text-decoration-color: currentColor; }
.data a:focus-visible { outline-offset: 1px; }

.state { display: inline-flex; gap: 8px; align-items: baseline; }
.state::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--idle); }
.state-ok::before { background: #22a565; box-shadow: 0 0 0 3px rgba(34, 165, 101, 0.16); }
.state-bad::before { background: var(--bad); }
.state-idle::before { background: none; border: 1.5px solid var(--idle); }

.share { display: inline-flex; gap: 12px; align-items: center; }
.share svg { display: block; width: 96px; height: 8px; border-radius: 4px; overflow: hidden; }
.share .track { fill: #efe9df; }
.share .fill { fill: var(--accent-bright); }
.share .num { min-width: 2.8em; }

/* ---- transit diagram (assets/render.js: tpTopology), isometric stage ----
   Palette: ink #14213a, muted #5d6678, blue #0a7de0 / #0858a8 / #e3f1fd, orange #ff7a3d / #fff0e8,
   green #17794a, idle #8a93a3. */
.diagram { padding: 18px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #ffffff 0%, #fdfbf8 100%); box-shadow: var(--shadow-2); overflow-x: auto; }
.tp {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* ---- ground ------------------------------------------------------------- */
.tp .tp-stage { fill: #ffffff; fill-opacity: 0.6; stroke: #e8e3da; stroke-width: 1; }

/* ---- links -------------------------------------------------------------- */
.tp .tp-tube path, .tp .tp-trace { fill: none; }
.tp .tp-tube-edge { stroke: #c3d2e3; stroke-linecap: round; }
.tp .tp-tube-case { stroke: #ffffff; stroke-linecap: round; }
.tp .tp-tube-core { stroke-linecap: round; }
.tp .tp-tube-gloss { stroke: #ffffff; stroke-opacity: 0.45; stroke-linecap: round; }

/* declared only, or an open slot: a dotted trace on the ground, no tube, no light */
.tp .tp-trace { stroke: #b3ab9c; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 0.1 6.4; }
.tp .tp-trace-open { stroke: #ff7a3d; stroke-opacity: 0.75; }

/* light pulses travelling towards the core: a round head and a short trail behind it,
   drawn as dashes on a copy of the tube path normalised with pathLength="100".
   The number of pulses on a tube follows its share of routes (tp-f1 .. tp-f6). */
.tp .tp-flow path { stroke: #ffffff; stroke-linecap: round; }
.tp .tp-flow-trail { stroke-opacity: 0.42; stroke-dashoffset: -40; animation: tp-trail 5.2s linear infinite; }
.tp .tp-flow-head { stroke-dashoffset: -44; animation: tp-head 5.2s linear infinite; }
.tp .tp-f1 .tp-flow-trail { stroke-dasharray: 4 96; }
.tp .tp-f1 .tp-flow-head { stroke-dasharray: 0.1 99.9; }
.tp .tp-f2 .tp-flow-trail { stroke-dasharray: 4 46; }
.tp .tp-f2 .tp-flow-head { stroke-dasharray: 0.1 49.9; }
.tp .tp-f3 .tp-flow-trail { stroke-dasharray: 4 29.3333; }
.tp .tp-f3 .tp-flow-head { stroke-dasharray: 0.1 33.2333; }
.tp .tp-f4 .tp-flow-trail { stroke-dasharray: 4 21; }
.tp .tp-f4 .tp-flow-head { stroke-dasharray: 0.1 24.9; }
.tp .tp-f5 .tp-flow-trail { stroke-dasharray: 4 16; }
.tp .tp-f5 .tp-flow-head { stroke-dasharray: 0.1 19.9; }
.tp .tp-f6 .tp-flow-trail { stroke-dasharray: 4 12.6667; }
.tp .tp-f6 .tp-flow-head { stroke-dasharray: 0.1 16.5667; }
/* towards a customer: one slower pulse leaving the core */
.tp .tp-out .tp-flow-trail { stroke-dasharray: 8 92; stroke-dashoffset: -50; animation: tp-trail-out 4.2s linear infinite; }
.tp .tp-out .tp-flow-head { stroke-dasharray: 0.1 99.9; stroke-dashoffset: -58; animation: tp-head-out 4.2s linear infinite; }

@keyframes tp-trail { from { stroke-dashoffset: 60; } to { stroke-dashoffset: -40; } }
@keyframes tp-head { from { stroke-dashoffset: 56; } to { stroke-dashoffset: -44; } }
@keyframes tp-trail-out { from { stroke-dashoffset: 50; } to { stroke-dashoffset: -50; } }
@keyframes tp-head-out { from { stroke-dashoffset: 42; } to { stroke-dashoffset: -58; } }

/* ---- nodes -------------------------------------------------------------- */
.tp .tp-base-top { fill: #ffffff; stroke: #e2dccf; stroke-width: 1; }
.tp .tp-tile-contact { fill: #4a3b22; fill-opacity: 0.1; }
.tp .tp-tile-top { fill: #ffffff; stroke-width: 0.9; stroke-linejoin: round; }
.tp .tp-node-up .tp-tile-top { stroke: #a9cdf1; }
.tp .tp-node-dn .tp-tile-top { stroke: #ffc3a3; }
.tp .tp-node-up .tp-tile-inset { fill: #e3f1fd; }
.tp .tp-node-dn .tp-tile-inset { fill: #fff0e8; }
.tp .tp-lamp { fill: #17794a; }
.tp .tp-lamp-halo { fill: #17794a; fill-opacity: 0.22; }
.tp .tp-node .tp-lamp-halo {
  transform-box: fill-box;
  transform-origin: center;
  animation: tp-lamp 3.2s ease-in-out infinite;
}

.tp .tp-ghost-base { fill: #ffffff; fill-opacity: 0.55; stroke: #8a93a3; stroke-width: 1; stroke-dasharray: 3 3.5; }
.tp .tp-ghost-tile { fill: #f1eee8; stroke: #8a93a3; stroke-width: 1; stroke-dasharray: 2.5 2.5; stroke-linejoin: round; }
.tp .tp-key-ghost { fill: #f1eee8; stroke: #8a93a3; stroke-width: 1; stroke-dasharray: 2 1.6; stroke-linejoin: round; }
.tp .tp-ghost-open .tp-ghost-base { fill: #fff0e8; fill-opacity: 0.8; stroke: #ff7a3d; stroke-opacity: 0.8; }
.tp .tp-ghost-open .tp-ghost-tile { fill: #ffffff; stroke: #ff7a3d; stroke-opacity: 0.8; }

@keyframes tp-lamp {
  0%, 100% { transform: scale(0.85); fill-opacity: 0.14; }
  50% { transform: scale(1.25); fill-opacity: 0.3; }
}

/* ---- hub ---------------------------------------------------------------- */
.tp .tp-plinth-top { fill: #ffffff; stroke: #d5deea; stroke-width: 1; }
.tp .tp-plinth-ring { fill: #f3f8fe; stroke: #cfe4f9; stroke-width: 1.2; }
.tp .tp-tower-band { fill: none; stroke: #ffffff; stroke-opacity: 0.2; stroke-width: 1; }
.tp .tp-tower-top { stroke: #c9e5fd; stroke-width: 0.9; stroke-linejoin: round; }
.tp .tp-tower-inset { fill: #ffffff; fill-opacity: 0.2; stroke: #ffffff; stroke-opacity: 0.7; stroke-width: 0.9; }
.tp .tp-beacon { fill: #ff7a3d; stroke: #ffffff; stroke-width: 1; }
.tp .tp-beacon-ring {
  fill: none;
  stroke: #ff7a3d;
  stroke-width: 1.2;
  stroke-opacity: 0.55;
  transform-box: fill-box;
  transform-origin: center;
  animation: tp-beacon 3s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}

@keyframes tp-beacon {
  0% { transform: scale(0.7); stroke-opacity: 0.8; }
  70%, 100% { transform: scale(3); stroke-opacity: 0; }
}

/* ---- flat labels -------------------------------------------------------- */
.tp .tp-plate-stem { fill: none; stroke: #14213a; stroke-opacity: 0.4; stroke-width: 1; }
.tp .tp-plate-box { fill: #ffffff; stroke: #e8e3da; stroke-width: 1; }
.tp .tp-plate-as { font-family: var(--mono); font-weight: 500; fill: #14213a; }
.tp .tp-plate-op { font-weight: 500; font-stretch: 85%; fill: #5d6678; }

.tp .tp-tag { fill: #ffffff; stroke: #cfe0f2; stroke-width: 1; }
.tp .tp-num { font-family: var(--mono); font-weight: 500; fill: #0858a8; }

.tp .tp-head { font-weight: 600; font-stretch: 85%; fill: #5d6678; }
.tp .tp-name { font-weight: 600; font-stretch: 85%; fill: #14213a; }
.tp .tp-tight { font-stretch: 75%; }
.tp .tp-as { font-family: var(--mono); font-weight: 400; fill: #5d6678; }
.tp .tp-as-solo { font-weight: 500; fill: #14213a; }
.tp .tp-row-off .tp-name, .tp .tp-row-off .tp-as-solo { fill: #5d6678; }
.tp .tp-open { font-weight: 600; font-stretch: 85%; fill: #a84a17; }
.tp .tp-key { font-weight: 500; font-stretch: 85%; fill: #5d6678; }

/* ---- hover: the row under the pointer stays, the others step back ------- */
.tp .tp-hit { fill: none; pointer-events: all; }
@media (hover: hover) {
  .tp .tp-row { transition: opacity 0.22s ease-out; }
  .tp:has(.tp-row:hover) .tp-row:not(:hover) { opacity: 0.4; }
}

/* ---- motion off ---------------------------------------------------------
   Nothing depends on the animations: with them off the tubes keep their pulses as
   fixed points of light and the lamps and beacon stay lit. */
@media (prefers-reduced-motion: reduce) {
  .tp .tp-flow-trail,
  .tp .tp-flow-head,
  .tp .tp-node .tp-lamp-halo,
  .tp .tp-beacon-ring { animation: none; }
  .tp .tp-beacon-ring { transform: scale(1.5); stroke-opacity: 0.35; }
  .tp .tp-row { transition: none; }
}

/* ---- peering, contact, tools ----------------------------------------- */
.peering-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 56px; align-items: start; }
.spec { border-bottom: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: 13em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.spec dt { color: var(--muted); }
.spec dd { color: var(--strong); font-weight: 500; overflow-wrap: anywhere; }
.spec dd .num { white-space: nowrap; }
.request { padding: 26px 28px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-2); }
.request h3 { font-size: 21px; font-stretch: 90%; }
.request p { margin-top: 10px; }
.request p + p { margin-top: 20px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.contact-grid h3 { margin-bottom: 14px; }
.tools { border-bottom: 1px solid var(--line); }
.tools li { display: grid; grid-template-columns: 12.5em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.tools a { font-weight: 600; }
.tools span { color: var(--muted); }

/* ---- our sites ------------------------------------------------------- */
.site-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.site-card { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 200px; padding: 26px 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-1); overflow: hidden; transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease); }
.site-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.site-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-3); color: var(--ink); }
.site-card:hover::before, .site-card.is-current::before { transform: none; }
.site-card.is-current::before { background: linear-gradient(90deg, var(--warm), #ffa46b); }
.site-name { color: var(--strong); font-size: 24px; font-weight: 700; font-stretch: 86%; line-height: 1.2; }
.site-desc { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.site-domain { margin-top: auto; padding-top: 18px; color: var(--accent); font-size: 14.5px; }
.site-card:hover .site-domain { text-decoration: underline; text-underline-offset: 3px; }
.here { margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: var(--warm-soft); color: var(--warm-strong); font: 600 12.5px/1.5 var(--sans); letter-spacing: 0; }

/* ---- footer ---------------------------------------------------------- */
.site-foot { background: var(--navy); color: var(--on-navy-soft); padding: 64px 0 0; font-size: 15px; --focus: #7cc4fa; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-foot .brand { color: #fff; }
.site-foot .brand-sub { border-left-color: rgba(255, 255, 255, 0.25); color: var(--on-navy-muted); }
.foot-brand p + p { margin-top: 14px; max-width: 30em; color: var(--on-navy-muted); }
.site-foot h2 { margin-bottom: 12px; color: var(--on-navy-muted); font-size: 13.5px; font-weight: 500; font-stretch: 100%; letter-spacing: 0; line-height: 1.5; }
.site-foot li + li { margin-top: 7px; }
.site-foot a { color: var(--on-navy); text-decoration: none; overflow-wrap: anywhere; }
.site-foot a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; }
.site-foot [data-slot="siteLinks"] a { font-family: var(--mono); font-size: 14px; }
.foot-base { display: flex; gap: 12px 48px; justify-content: space-between; align-items: baseline; margin-top: 52px; padding-top: 22px; padding-bottom: 30px; border-top: 1px solid var(--navy-line); color: var(--on-navy-muted); font-size: 13.5px; }
.foot-base p:first-child { max-width: 60em; }
.foot-base p:last-child { white-space: nowrap; }

/* ---- narrower screens ------------------------------------------------ */
@media (max-width: 1180px) {
  .head-cta { display: none; }
  .site-nav a { padding: 8px 9px; background-position: 9px calc(100% - 3px); }
  .site-nav a[aria-current] { background-size: calc(100% - 18px) 2px; }
  .cap-grid { gap: 40px; }
}

@media (max-width: 940px) {
  :root { --gutter: 24px; }
  html { scroll-padding-top: 118px; }
  .head-row { flex-wrap: wrap; gap: 0 20px; }
  .brand { min-height: 56px; }
  .lang { margin-left: auto; }
  /* The section links become one scrolling row; the fade on the right says there is more. */
  .site-nav { order: 3; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { width: max-content; padding: 4px calc(var(--gutter) + 36px) 4px calc(var(--gutter) - 9px); }
  .site-nav a { padding: 9px 9px; }
  .site-nav a:focus-visible { outline-offset: -2px; }

  /* The text comes first, the map below it at full width. */
  .map-stage { height: auto; overflow: visible; display: flex; flex-direction: column; background: var(--bg); border-bottom: 0; }
  .hero-inner { position: static; display: block; order: 0; padding-top: 28px; padding-bottom: 24px; pointer-events: auto; }
  .hero-panel { width: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .map-views { position: static; order: 1; align-self: flex-start; margin: 0 var(--gutter) 12px; }
  .map-canvas { position: relative; inset: auto; order: 2; height: 0; }
  .map-stage.is-live .map-canvas { height: 460px; }
  .map-fallback { position: relative; inset: auto; left: auto; order: 3; height: 460px; background: radial-gradient(120% 120% at 60% 40%, #ffffff 0%, #eef5fc 55%, #f6efe4 100%); }
  .map-stage.is-live .map-fallback { display: none; }
  .map-stage.is-failed .map-fallback figcaption { bottom: 50px; left: 16px; }
  .map-hint { display: none; }
  .figures-wrap { margin-top: -34px; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

  .band { padding: 60px 0 68px; }
  .band-head { margin-bottom: 32px; }
  .cap-grid, .peering-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .site-cards { grid-template-columns: minmax(0, 1fr); }
  .site-card { min-height: 0; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .foot-base { flex-direction: column; }
}

@media (max-width: 720px) {
  .diagram { padding: 12px 8px 14px; }
  .tp { min-width: 760px; }
  .pop-cards { grid-template-columns: minmax(0, 1fr); }
  .map-stage.is-live .map-canvas, .map-fallback { height: 420px; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .lede { font-size: 17px; }
  .intro { font-size: 17px; }
  .brand-sub { display: none; }
  .map-views button { padding: 7px 10px; font-size: 13.5px; }
  .reach-map .cities .far { display: none; }
  .figure { padding: 16px 16px 18px; }
  .figure-value .fig { font-size: 34px; }
  .figure-value .unit { font-size: 15px; }
  .spec > div, .tools li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .data th, .data td { padding: 12px 14px; }
  .share svg { width: 64px; }
  .cap-bars { padding: 2px 18px; }
  .pop-card { padding: 20px 20px 18px; }
  .request { padding: 20px 20px 22px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}

@media print {
  .site-head { position: static; }
  .notice, .site-nav, .lang, .head-cta, .actions, .skip, .copy, .map-views, .map-canvas, .map-hint, .table-tools { display: none; }
  .map-stage.is-live .map-fallback { display: block; opacity: 1; visibility: visible; }
  .table-wrap { overflow: visible; }
  .band { padding: 28px 0; break-inside: avoid; }
  .js .reveal { opacity: 1; transform: none; }
  .js .cap-grid .cap-bar .now, .js .cap-grid .cap-bar .planned { transform: none; }
}
