/* M6 13 Nov 2026: dark copy of assets/anim/opt2.css (colours remapped by build/remap_dark.py; layout unchanged) */
/* Option 2: Flow Map (home hero only) + calm card stagger on all main pages. transform/opacity only. */
.nm-hero{position:relative;overflow:hidden}
.nm-hero>.nm-wrap{position:relative;z-index:1}
/* Desktop: map sits behind the right half of the hero, whole map fits inside the hero box (no clipping) */
.f2-map{position:absolute;z-index:0;pointer-events:none;top:12px;bottom:12px;right:2%;width:60%;display:flex;flex-direction:column}
.f2-map svg{display:block;width:100%;flex:1 1 auto;min-height:0}
.f2-land{fill:#f3efe7;stroke:#1f2940;stroke-width:.6}
.f2-arc{fill:none;stroke:#41d8c5;stroke-opacity:.18;stroke-width:1.2}
.f2-glow{fill:none;stroke:#0f7565;stroke-width:2;stroke-linecap:round;opacity:0;transition:opacity var(--d-slow) var(--ease-out)}
.f2-glow.on{opacity:.9}
.f2-hub{fill:#41d8c5;opacity:.35;transition:opacity var(--d-slow) var(--ease-out)}.f2-hub.on{opacity:1}
.f2-ind{fill:#edb72b}
.f2-ring{fill:none;stroke:#84620b;stroke-width:1.2;transform-box:fill-box;transform-origin:center;opacity:0;animation:f2ring 4s var(--ease-out) infinite}
@keyframes f2ring{0%{transform:scale(1);opacity:.7}15%{transform:scale(3.2);opacity:0}100%{transform:scale(3.2);opacity:0}}
.f2-cap{align-self:flex-end;font-size:12px;line-height:1.3;color:#c4cede;background:rgba(19,26,41,1);padding:2px 6px;border-radius:6px;margin-top:4px}
/* Text column stays readable: a soft fade behind the copy on desktop */
@media (min-width:761px){.nm-hero::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,rgba(19,26,41,1) 0%,rgba(19,26,41,1) 45%,rgba(10,14,23,0) 70%)}}
/* Mobile: map becomes its own band ABOVE the headline — fully visible, never under text */
@media (max-width:760px){
  .f2-map{position:relative;top:auto;bottom:auto;right:auto;width:auto;margin:0 12px 6px;display:block}
  .f2-map svg{height:auto}
  .f2-cap{display:block;text-align:right;margin-top:2px}
  .nm-hero{padding-top:10px}
}
.anim-on .f2-in{opacity:0;transform:translate3d(0,12px,0)}
.anim-on .f2-in.go{opacity:1;transform:none;transition:opacity var(--d-med) var(--ease-out),transform var(--d-med) var(--ease-out)}
