/* Original Harnence signal exchange. All colour comes from the current theme.
   Motion describes reciprocal interpretation, never a live measurement. */
.signal-route,.signal-periphery{fill:none;stroke:var(--line2);stroke-width:1;vector-effect:non-scaling-stroke}
.signal-transfer,.signal-return{fill:none;stroke:var(--accent);stroke-width:2.4;stroke-linecap:round;stroke-dasharray:3 97;stroke-dashoffset:100;vector-effect:non-scaling-stroke;animation:signal-exchange-out 8.4s linear infinite;animation-delay:var(--signal-delay,0s)}
.signal-return{stroke:var(--sub);stroke-width:1.8;stroke-dasharray:1 99;animation-name:signal-exchange-back;opacity:.7}
.signal-plane{fill:var(--surface);fill-opacity:.88;stroke:var(--accent);stroke-width:1;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.signal-glyph{stroke:var(--accent);stroke-width:1.2;fill:none;stroke-linecap:round}
.signal-kernel{fill:var(--accent)}
.signal-exchange{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.signal-periphery{stroke-dasharray:2 7;opacity:.45}
.signal-label{fill:var(--sub);font:10px var(--font-mono);letter-spacing:.06em}
.signal-receiver-halo{fill:var(--accent-bg);stroke:var(--accent);stroke-opacity:.15}
.signal-receiver{animation:signal-receive 8.4s ease-in-out infinite;animation-delay:var(--signal-delay,0s);transform-box:fill-box;transform-origin:center}
.signal-centre-fill{fill:var(--surface);stroke:var(--line2);stroke-width:1}
.signal-resonance{fill:none;stroke:var(--accent);stroke-width:.7;opacity:.4;animation:signal-resonance 6s ease-out infinite;transform-box:fill-box;transform-origin:center}
.signal-resonance.secondary{animation-delay:-3s;stroke:var(--muted)}
.signal-centre-wave{stroke:var(--accent);fill:none;stroke-width:1.3;stroke-linecap:round}
/* Keep the earlier orb as the contextual field behind the exchanging signals. */
.artifact-scene .artifact-orb{opacity:.33}
.artifact-floating-card{z-index:1;max-width:210px;padding:12px}
.artifact-floating-card:not(.secondary){inset-block-start:0;inset-inline-end:0}
.artifact-floating-card.secondary{inset-block-end:0;inset-inline-start:0}
.signal-field{position:absolute;inset:0 0 auto;height:510px;overflow:hidden;pointer-events:none;z-index:0;opacity:.7;mask-image:linear-gradient(90deg,#000,transparent 27%,transparent 73%,#000)}
.signal-field svg{width:100%;height:100%;display:block}
.signal-field .signal-plane{fill:var(--accent-bg);fill-opacity:.3;stroke-opacity:.5}
.signal-field .signal-route{stroke-opacity:.6}
.signal-field .signal-transfer{stroke-width:1.8}
.signal-field-layer{animation:signal-layer-drift 12s ease-in-out infinite;animation-delay:var(--signal-delay,0s)}
.institutional-site .lp-card{position:relative;overflow:hidden}
.signal-card-art{position:absolute;inset-inline-end:-6px;top:12px;width:160px;height:70px;pointer-events:none;opacity:.7}
.signal-card-art .signal-plane{stroke:var(--muted);fill:var(--surface)}
.signal-card-art .signal-transfer{stroke-width:1.8}
.signal-card-layer{animation:signal-layer-drift 10s ease-in-out infinite;animation-delay:var(--signal-delay,0s)}
.site-motion-toggle{position:fixed;z-index:18;inset-inline-end:20px;bottom:18px;display:flex;align-items:center;gap:8px;border:1px solid var(--line2);background:var(--surface);padding:9px 12px;color:var(--sub);box-shadow:0 3px 14px color-mix(in srgb,var(--text) 4%,transparent);font-size:11px!important}
.site-motion-toggle .icon{width:14px;height:14px}
.site-motion-toggle:hover{color:var(--accent-ink);border-color:var(--accent)}
/* Animation starts on intersection; content stays readable without JS/observers. */
.site-reveal.was-visible{animation:signal-reveal .65s cubic-bezier(.2,.65,.25,1) both}
.lp-grid .site-reveal:nth-child(2){animation-delay:.08s}.lp-grid .site-reveal:nth-child(3){animation-delay:.16s}
.evidence-atlas .ea-selected{transform-box:fill-box;transform-origin:center;animation:signal-selection 7s ease-in-out infinite;animation-play-state:paused}
.evidence-atlas .ea-dot-hot{animation:signal-evidence 7s ease-in-out infinite;animation-delay:var(--signal-delay,0s);animation-play-state:paused}
.evidence-atlas .ea-connector{stroke-dasharray:4 7;animation:signal-trace-flow 9s linear infinite;animation-play-state:paused}
.ea-trace li:not(:last-child)::after{background:linear-gradient(90deg,var(--line2) 0%,var(--line2) 32%,var(--accent) 50%,var(--line2) 68%,var(--line2) 100%);background-size:220% 100%;animation:signal-trace-band 9s linear infinite;animation-play-state:paused}
.ea-trace li:nth-child(2)::after{animation-delay:-4.5s}
.evidence-atlas.is-in-view :is(.ea-selected,.ea-dot-hot,.ea-connector),.evidence-atlas.is-in-view .ea-trace li::after{animation-play-state:running}
.site-closing .artifact-closing-rings i{animation:signal-closing-orbit 26s ease-in-out infinite;animation-play-state:paused}
.site-closing .artifact-closing-rings i:nth-child(2){animation-delay:-9s;animation-direction:reverse}.site-closing .artifact-closing-rings i:nth-child(3){animation-delay:-17s}
.site-closing.is-in-view .artifact-closing-rings i{animation-play-state:running}
.institutional-site:is([data-motion="paused"],[data-page-visibility="hidden"]) :is(.artifact-loop,.ea-selected,.ea-dot-hot,.ea-connector,.artifact-closing-rings i),.institutional-site:is([data-motion="paused"],[data-page-visibility="hidden"]) .ea-trace li::after{animation-play-state:paused!important}
.institutional-site[data-motion="paused"] .site-reveal,.institutional-site[data-motion="paused"] .artifact-trace li::before{animation:none!important}
@keyframes signal-exchange-out{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@keyframes signal-exchange-back{from{stroke-dashoffset:0}to{stroke-dashoffset:100}}
@keyframes signal-receive{0%,30%,70%,100%{opacity:.65;transform:scale(1)}48%,54%{opacity:1;transform:scale(1.045)}}
@keyframes signal-resonance{0%{transform:scale(.7);opacity:.1}30%{opacity:.5}100%{transform:scale(1.23);opacity:.08}}
@keyframes signal-layer-drift{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes signal-reveal{from{opacity:.35;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes signal-selection{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.35);opacity:.65}}
@keyframes signal-evidence{0%,100%{opacity:1}50%{opacity:.38}}
@keyframes signal-trace-flow{from{stroke-dashoffset:0}to{stroke-dashoffset:-44}}
@keyframes signal-trace-band{from{background-position:120% 0}to{background-position:-100% 0}}
@keyframes signal-closing-orbit{0%,100%{transform:rotate(-18deg) scale(1)}50%{transform:rotate(9deg) scale(1.04)}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .institutional-site .land-button{transition:background .2s,color .2s,transform .2s}
 .institutional-site .land-button:hover{transform:translateY(-2px)}
 .signal-card-art{transition:opacity .25s}.lp-card:hover .signal-card-art{opacity:1}
}
@media(max-width:720px){
 .signal-field{height:420px;opacity:.3;mask-image:linear-gradient(90deg,#000,transparent 12%,transparent 88%,#000)}
 .signal-card-art{width:125px;inset-inline-end:0;opacity:.5}
 .signal-label{font-size:16px}
 .site-motion-toggle{inset-inline-end:12px;bottom:12px;padding:9px;font-size:10px!important}
 .artifact-floating-card:not(.secondary){inset-block-start:0}.artifact-floating-card.secondary{inset-block-end:0}
}
@media(prefers-reduced-motion:reduce){
 .institutional-site .site-reveal,.institutional-site .artifact-loop,.institutional-site .ea-selected,.institutional-site .ea-dot-hot,.institutional-site .ea-connector,.institutional-site .ea-trace li::after,.institutional-site .artifact-closing-rings i{animation:none!important;transform:none}
 .site-motion-toggle{display:none}.signal-transfer{stroke-dashoffset:58;opacity:.7}.signal-return{stroke-dashoffset:18;opacity:.35}
 .signal-receiver{opacity:1}.signal-resonance{opacity:.25}
}
