/* CyberPath identity system — one motion idea across the public site: signals travel the route.
   Header: the copper node tracks reading progress along a GRC/PT/SOC route line.
   Hero: the native converge pattern; track signals funnel into the copper decision node.
   Tracks: one bundle leaves the decision node and divides into three equal lanes that meet the track cards.
   Loaded last. CSS/SVG only; kinetics.js and site.js just observe visibility, scroll position and sections. */

/* ───────────── Header ───────────── */







/* Route line: three equal track segments and the copper node at the reading position. Hidden at the top of the opening. */






/* Navigation: numbered programme index; the current section takes the copper node. */












/* Language: one square switch, the current language filled. */








/* Apply: solid sand with its own decision node. */







@media(max-width:900px){
 
 
 /* Mobile menu: a numbered programme index in Display type. */
 
 
 
 
 
 
 
 
 
 
 
 
}



@keyframes menu-enter{from{opacity:0;translate:0 14px}to{opacity:1;translate:0 0}}

/* ───────────── Hero: convergence field ───────────── */
.home-hero{--hero-rail:198px}
/* The field starts behind the header so the routes enter from the top edge; layout is unchanged. */
.hero-field{position:absolute;inset-inline:0;top:calc(-1 * (var(--public-header-height) + env(safe-area-inset-top)));bottom:var(--hero-rail);z-index:0;overflow:clip;pointer-events:none;contain:paint}
.hero-field>svg{display:block;width:100%;height:100%}
.hero-field path{fill:none;stroke-width:12}
.hero-field__routes path{stroke:var(--sand);opacity:.08}
.hero-field__routes .hero-field__chosen{stroke:var(--copper);opacity:.42}
.hero-poster{position:relative;z-index:1}
/* Track signals: one every 1.2s; each takes 7.2s to reach the decision node. */
.hero-field__signals path{stroke-width:8}
.hero-signal{stroke-dasharray:.075 1.2;stroke-dashoffset:.075;opacity:.72;animation:hero-signal 7.2s linear infinite;animation-delay:calc(var(--signal-index) * 1.2s);animation-play-state:paused;transition:opacity 280ms,stroke-width 280ms}
.hero-signal--grc{stroke:var(--grc)}.hero-signal--pt{stroke:var(--pt)}.hero-signal--soc{stroke:var(--soc)}
.hero-field__decision{position:absolute;left:50%;top:-8px;width:16px;height:16px;margin-left:-8px;z-index:2;pointer-events:none}
.hero-field__node,.hero-field__echo{position:absolute;inset:0}
.hero-field__node{background:var(--copper);animation:hero-node 1.2s linear infinite;animation-play-state:paused}
.hero-field__echo{border:2px solid var(--copper);opacity:0;animation:hero-echo 1.2s cubic-bezier(.16,1,.3,1) infinite;animation-play-state:paused}
.hero-field[data-in-view] .hero-signal,.hero-field__decision[data-in-view]>*{animation-play-state:running}
/* Pointing at or focusing a track field below intensifies that track's signals; selection on tap navigates. */
.home-hero:has(.hero-path:is(:hover,:focus-visible)) .hero-signal{opacity:.22}
.home-hero:has(.hero-path--grc:is(:hover,:focus-visible)) .hero-signal--grc,
.home-hero:has(.hero-path--pt:is(:hover,:focus-visible)) .hero-signal--pt,
.home-hero:has(.hero-path--soc:is(:hover,:focus-visible)) .hero-signal--soc{opacity:1;stroke-width:16}
@keyframes hero-signal{from{stroke-dashoffset:.075}to{stroke-dashoffset:-1}}
/* Arrival lands at about 61% of each 1.2s beat: the node registers it and a square echo widens. */
@keyframes hero-node{0%,50%{transform:scale(1)}61%{transform:scale(1.3)}78%,100%{transform:scale(1)}}
@keyframes hero-echo{0%,58%{opacity:0;transform:scale(1)}61%{opacity:.75;transform:scale(1)}100%{opacity:0;transform:scale(2.6)}}
@media(max-width:760px){.home-hero{--hero-rail:156px}.hero-field__routes path{opacity:.065}.hero-field__routes .hero-field__chosen{opacity:.4}.hero-field__decision{width:12px;height:12px;margin-left:-6px;top:-6px}}

/* ───────────── Tracks: the junction ───────────── */
.home-tracks{background:var(--charcoal)}
.home-tracks__heading{margin-bottom:24px}
.track-junction{position:relative;height:184px;margin-bottom:0}
.track-junction>svg{display:block;width:100%;height:100%;overflow:visible}
.track-junction__node{position:absolute;top:-6px;left:50%;width:14px;height:14px;margin-left:-7px;background:var(--copper)}
.junction-lane,.junction-signal{fill:none}
.junction-lane--grc,.junction-signal--grc{--lane:var(--grc)}.junction-lane--pt,.junction-signal--pt{--lane:var(--pt)}.junction-lane--soc,.junction-signal--soc{--lane:var(--soc)}
.junction-lane{stroke:var(--lane);stroke-width:2;opacity:.2;transition:opacity 420ms cubic-bezier(.65,0,.35,1)}
.track-junction[data-selected=GRC] .junction-lane--grc,.track-junction[data-selected=PT] .junction-lane--pt,.track-junction[data-selected=SOC] .junction-lane--soc{opacity:.85}
.home-tracks:has(.track-tab--grc:is(:hover,:focus-visible)) .junction-lane--grc,
.home-tracks:has(.track-tab--pt:is(:hover,:focus-visible)) .junction-lane--pt,
.home-tracks:has(.track-tab--soc:is(:hover,:focus-visible)) .junction-lane--soc{opacity:.7}
/* Each track keeps its challenge character: GRC steady and fast, PT a strike with recovery, SOC a slow scan. */
.junction-signal{stroke:var(--lane);stroke-width:4;stroke-dasharray:.14 1.3;stroke-dashoffset:.14;opacity:.45;animation:junction-flow 1.65s linear infinite;animation-delay:calc(var(--lane-index) * -.41s);animation-play-state:paused;transition:opacity 420ms}
.junction-signal--pt{animation-name:junction-strike;animation-duration:4.8s;animation-delay:calc(var(--lane-index) * -.8s)}
.junction-signal--soc{stroke-dasharray:.32 1.4;stroke-dashoffset:.32;animation-name:junction-scan;animation-duration:6s;animation-delay:calc(var(--lane-index) * -1.5s)}
.track-junction[data-selected=GRC] .junction-signal--grc,.track-junction[data-selected=PT] .junction-signal--pt,.track-junction[data-selected=SOC] .junction-signal--soc{opacity:1}
.track-junction[data-in-view] .junction-signal{animation-play-state:running}
@keyframes junction-flow{from{stroke-dashoffset:.14}to{stroke-dashoffset:-1}}
@keyframes junction-strike{0%,30%{stroke-dashoffset:.14;opacity:0}34%{opacity:1}52%{stroke-dashoffset:-1;opacity:1}53%,100%{stroke-dashoffset:-1;opacity:0}}
@keyframes junction-scan{from{stroke-dashoffset:.32}to{stroke-dashoffset:-1}}
/* The selected card is where its lanes land. */
.track-tab.cp-card[aria-selected=true]::before{height:5px;top:-5px}
@media(max-width:900px){.track-junction{height:150px}}
@media(max-width:760px){.home-tracks__heading{margin-bottom:12px}.track-junction{height:112px}.track-junction__node{width:10px;height:10px;margin-left:-5px;top:-4px}}

/* ───────────── Pause, hidden documents, reduced motion ───────────── */
.home-experience.is-motion-paused :is(.hero-signal,.hero-field__node,.hero-field__echo,.junction-signal){animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){
 .junction-lane,.junction-signal,.hero-signal{transition:none}
 
 /* A complete still frame: the signal routes are drawn in full, the node at rest. */
 .hero-signal{animation:none;stroke-dasharray:none;opacity:.22}
 .hero-field__node,.hero-field__echo{animation:none}
 .junction-signal{display:none}
}
