/* ============ THE SIGNAL ATLAS — coverage principal act ============
   Pinned ~300vh scroll cinema on /coverage/. One addressed timeline,
   three beats: Leaving → Landing → Connected.
   Photographic backdrops only; scrims for legibility. Transform/opacity
   animation only. html.ca-armed covers the pre-init flash; .ca-on is the
   steady-state stage selector. Without JS+GSAP the beats read as a
   normal stacked section. */

.cact{position:relative;background:#05080f;color:#f4f7fc;overflow:hidden}
.ca-pin{position:relative;height:100vh;height:100svh;overflow:hidden}

/* ---- photographic backdrops, one per beat ---- */
.ca-bgs{position:absolute;inset:0;z-index:0}
.ca-bg{position:absolute;inset:-4%;background-size:cover;background-position:center;will-change:transform,opacity}
.ca-bg1{z-index:1}
.ca-bg2{z-index:2;opacity:0}
.ca-bg3{z-index:3;opacity:0}
.ca-scrim{position:absolute;inset:0;z-index:4;
  background:linear-gradient(180deg,rgba(0,0,0,.84) 0%,rgba(0,0,0,.66) 42%,rgba(0,0,0,.86) 100%)}

/* ---- world map ---- */
.ca-map{position:absolute;inset:0;z-index:1;width:100%;height:100%;opacity:0}
.ca-grat{stroke:rgba(255,255,255,.10);stroke-width:1;fill:none}
.ca-arc{stroke:#7fe8d2;stroke-width:2;fill:none;stroke-linecap:round;opacity:.9;
  filter:drop-shadow(0 0 6px rgba(127,232,210,.8))}
.ca-node{fill:#fff;filter:drop-shadow(0 0 8px rgba(127,232,210,.9))}
.ca-node-halo{fill:none;stroke:rgba(127,232,210,.55);stroke-width:1.5}
.ca-city{fill:rgba(255,255,255,.8);font-size:13px;font-family:Satoshi,system-ui,sans-serif;letter-spacing:.04em}
.ca-pulse{fill:#d2f7ec;filter:drop-shadow(0 0 10px #7fe8d2)}

/* ---- stage grid ---- */
.ca-stage{position:relative;z-index:3;height:100%;max-width:1280px;margin:0 auto;
  padding:84px 48px 40px;display:flex;align-items:center;justify-content:center}
.ca-copy{position:relative;width:100%;max-width:880px;min-height:460px;text-align:center}
.ca-beat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}
html.ca-armed .ca-beat,.ca-on .ca-beat{position:absolute;inset:0}
html.ca-armed .ca-beat2,html.ca-armed .ca-beat3,
.ca-on .ca-beat2,.ca-on .ca-beat3{opacity:0;visibility:hidden}
.ca-kicker{display:flex;align-items:center;gap:12px;margin:0;
  font-size:13px;font-weight:700;letter-spacing:.28em;text-transform:uppercase;color:#8fe3cd}
.ca-chapter{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;
  padding:0 10px;border:1px solid rgba(143,227,205,.55);border-radius:999px;
  font-size:14px;letter-spacing:.12em;color:#d3f6ea}
.ca-title{margin:0;font-size:clamp(2.1rem,5.2vw,3.6rem);line-height:1.05;letter-spacing:-.02em;color:#fff;
  font-family:"Clash Display",Satoshi,system-ui,sans-serif}
.ca-title .ca-ch{display:inline-block;will-change:transform}
.ca-title .ca-w{display:inline-block;white-space:nowrap}
.ca-lede{margin:0;max-width:640px;font-size:1.08rem;line-height:1.65;color:#c9d6ee}

/* ---- beat 2: region counters (real coverage.json figures) ---- */
.ca-regions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:10px}
.ca-region{background:rgba(255,255,255,.06);border:1px solid rgba(143,227,205,.35);
  border-radius:16px;padding:18px 24px;min-width:130px;backdrop-filter:blur(6px)}
.ca-rname{display:block;font-size:11px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:#8fe3cd;margin-bottom:8px}
.ca-rfig{display:block;font-size:2rem;font-weight:700;color:#fff;font-variant-numeric:tabular-nums}

/* ---- beat 3: finale ---- */
.ca-total{font-size:clamp(3rem,8vw,5.2rem);font-weight:700;color:#fff;letter-spacing:-.03em;
  font-family:"Clash Display",Satoshi,system-ui,sans-serif;font-variant-numeric:tabular-nums}
.ca-total small{display:block;font-size:1rem;font-weight:400;letter-spacing:.14em;color:#8fe3cd;margin-top:6px}
.ca-cta{margin-top:6px}

/* ---- scroll hint ---- */
.ca-hint{position:absolute;z-index:4;left:50%;bottom:26px;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:8px;opacity:0;
  font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:#8fe3cd}
html.ca-armed .ca-hint,.ca-on .ca-hint{display:flex}
.ca-hint i{display:block;width:1px;height:44px;background:linear-gradient(180deg,#8fe3cd,transparent);
  animation:ca-hint 1.8s ease-in-out infinite}
@keyframes ca-hint{0%,100%{transform:scaleY(.4);transform-origin:top;opacity:.5}50%{transform:scaleY(1);opacity:1}}

/* ---- no stage mode: stacked readable section ---- */
html:not(.ca-armed) .cact:not(.ca-on){background:#0a1220}
html:not(.ca-armed) .cact:not(.ca-on) .ca-bgs,
html:not(.ca-armed) .cact:not(.ca-on) .ca-map{display:none}
html:not(.ca-armed) .cact:not(.ca-on) .ca-beat{padding:56px 0}
html:not(.ca-armed) .cact:not(.ca-on) .ca-hint{display:none}

@media (max-width:760px){
  .ca-stage{padding:72px 22px 30px}
  .ca-copy{min-height:560px}
  .ca-region{min-width:42%;padding:14px 16px}
  .ca-rfig{font-size:1.6rem}
  .ca-map{opacity:.5}
}
