.ats-opening{position:relative;background:#111719;color:#e8eaeb;--ats-blue:#879ba8;--ats-yellow:#d9de8d}
.ats-stage{position:relative;height:100svh;min-height:740px;overflow:hidden;isolation:isolate;--p:0;--reveal:0;--analysis:0;--quiet:0;--detail:0;--chapter-progress:0}
.ats-landscape{position:absolute;inset:0;transform:translateX(calc(var(--reveal)*10%)) scale(calc(1 - var(--reveal)*.16));transform-origin:80% 50%;opacity:calc(1 - var(--quiet)*.28);clip-path:var(--mask,polygon(0 0,100% 0,100% 100%,0 100%));}
.ats-landscape>img{width:100%;height:100%;object-fit:cover;max-width:none;filter:grayscale(var(--analysis)) saturate(.65) brightness(calc(.78 - var(--analysis)*.30));transform:scale(calc(1.07 - var(--p)*.07));}
.ats-analysis-grid{position:absolute;inset:0;background-image:linear-gradient(#879ba870 1px,transparent 1px),linear-gradient(90deg,#879ba870 1px,transparent 1px);background-size:46px 46px;opacity:var(--analysis);mask-image:linear-gradient(90deg,transparent 28%,black 55%);}
.ats-opening-shade{position:absolute;inset:0;background:linear-gradient(90deg,#111719dc 0%,#11171999 25%,transparent 70%),linear-gradient(0deg,#111719,transparent 24%);pointer-events:none;}
.ats-terrain-nodes{position:absolute;inset:0;opacity:var(--detail)}
.ats-terrain-nodes>i{position:absolute;left:var(--x);top:var(--y);width:5px;height:5px;border-radius:50%;background:#c1d2da}
.ats-terrain-nodes>i::after,.ats-source-node>i::after{content:'';position:absolute;inset:-7px;border:1px solid #90a9b7;border-radius:50%;animation:ats-node-breathe 2.8s ease-out infinite;animation-delay:var(--delay,0s)}
@keyframes ats-node-breathe{0%{transform:scale(.5);opacity:.8}85%,100%{transform:scale(2.3);opacity:0}}
.ats-copy-stack{position:absolute;left:4%;top:28%;width:31%;z-index:4}
.ats-copy{position:absolute;inset:0 auto auto 0;width:100%;transition:opacity .28s ease,transform .45s ease;}
.ats-copy[hidden]{display:none}
.ats-copy:not([hidden]){animation:ats-copy-in .5s ease both}
@keyframes ats-copy-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
.ats-opening .ats-eyebrow{display:block;font:10px 'ATS Ubuntu',Arial,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#a3b2b9;margin-bottom:34px}
.ats-eyebrow::before{content:'';display:inline-block;width:4px;height:4px;background:#d9de8d;margin-right:12px;vertical-align:middle}
.ats-opening .ats-copy h1,.ats-opening .ats-copy h2{margin:0;font:400 clamp(40px,4vw,70px)/1.04 'ATS Alliance',Arial,sans-serif;letter-spacing:-.055em;color:#e8eaeb}
.ats-opening .ats-copy em{font-style:normal;color:#b6c5cc}
.ats-opening .ats-copy p{margin:28px 0 0;font:clamp(14px,1.12vw,18px)/1.65 'ATS Ubuntu',Arial,sans-serif;color:#bfcbd0;max-width:440px}
.ats-stage[data-chapter='0'] .ats-copy-stack{top:37%;width:78%}
.ats-opening .ats-copy h1{font-size:clamp(60px,7vw,112px);max-width:1150px}
.ats-opening .ats-copy h1 em{color:#e8eaeb}
.ats-stage[data-chapter='0'] .ats-eyebrow{display:none}
.ats-stage[data-chapter='0'] .ats-copy p{max-width:520px}
.ats-visual{position:absolute;left:41%;top:15%;width:54%;height:68%;z-index:3;opacity:0;visibility:hidden;transform:translateY(14px);transition:opacity .4s,transform .55s,visibility .4s;pointer-events:none}
.ats-visual.is-active{opacity:1;visibility:visible;transform:none}
.ats-visual-label{font:11px 'ATS Ubuntu',Arial,sans-serif;letter-spacing:.1em;color:#c3d0d6;display:flex;justify-content:space-between;gap:15px;padding-bottom:20px;border-bottom:1px solid #879ba850}
.ats-visual-label>span{font-size:10px;letter-spacing:.025em;color:#8da0aa;text-transform:none}
.ats-observe{height:auto;top:31%;padding:30px;background:#15191dec;border:1px solid #879ba852;border-radius:16px;box-shadow:0 24px 60px #0002}
.ats-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:30px 0}
.ats-sources>div{min-width:0;padding:0 12px;border-right:1px solid #879ba831}
.ats-sources>div:last-child{border:0}
.ats-sources img{width:100%;height:110px;object-fit:contain;filter:brightness(0) invert(1);margin-bottom:28px}
.ats-sources strong{display:block;font:14px 'ATS Alliance',Arial,sans-serif;color:#eef2f3;margin-bottom:10px}
.ats-sources span{display:block;font:11px/1.5 'ATS Ubuntu',Arial,sans-serif;color:#99adb8}
.ats-source-footer{border-top:1px solid #879ba840;padding-top:19px;color:#a7b8c2;font:11px 'ATS Ubuntu',Arial,sans-serif;display:flex;align-items:center;gap:8px}
.ats-source-footer>span{margin-left:auto;font:9px 'Courier New',monospace;color:#7e919b}
.ats-source-footer>i,.ats-record-footer>i{width:4px;height:4px;background:#d9de8d;display:inline-block}
.ats-network,.ats-record-wires{position:absolute;inset:0;width:100%;height:100%;overflow:visible;stroke:#879ba8;stroke-width:1.4}
.ats-network path{vector-effect:non-scaling-stroke}
.ats-network .ats-flow{stroke:#c5d9e3;stroke-width:2;stroke-dasharray:7 220;stroke-dashoffset:0}
.ats-decide.is-active .ats-flow{animation:ats-transmit 3.6s linear infinite}
@keyframes ats-transmit{to{stroke-dashoffset:-454}}
.ats-source-node{position:absolute;width:20%;text-align:center;font:10px 'ATS Ubuntu',Arial,sans-serif;color:#bfced5;letter-spacing:.035em}
.ats-source-node>span{display:block;white-space:nowrap}
.ats-source-node>i{display:block;position:relative;width:6px;height:6px;border-radius:50%;background:#c9d8df;margin:0 auto 18px}
.ats-source-node.n1{left:0;top:12%;--delay:0s}.ats-source-node.n2{right:0;top:12%;--delay:.7s}.ats-source-node.n3{left:0;top:87%;--delay:1.4s}.ats-source-node.n4{right:0;top:87%;--delay:2.1s}
.ats-source-node.n3>span,.ats-source-node.n4>span{position:absolute;bottom:34px;width:100%}
.ats-command{margin:0;position:absolute;left:24%;top:27%;width:52%;border:1px solid #98aebf;border-radius:9px;overflow:hidden;background:#15191d;box-shadow:0 0 0 8px #11171980;transform:scale(calc(.94 + var(--chapter-progress)*.12))}
.ats-command>img{width:100%;aspect-ratio:16/10;object-fit:cover}
.ats-command figcaption{padding:16px 17px;font:11px 'ATS Alliance',Arial,sans-serif;display:flex;align-items:center;gap:8px;color:#eef1f2;flex-wrap:wrap}
.ats-command figcaption>i{width:5px;height:5px;background:#d9de8d;border-radius:50%}
.ats-command figcaption>span{font-size:9px;color:#9eb1bc;width:100%;padding-left:13px}
.ats-response{left:35%;width:62%;height:78%;top:9%;background:#111719;isolation:isolate}
.ats-response .h-tableau{width:100%;height:100%}
.ats-response .h-scene-matte{fill:#111719}
.ats-response .h-scene-operator{mix-blend-mode:screen;opacity:1}
.ats-response .h-wire-live,.ats-response .h-check-mark,.ats-response .h-photo-corners,.ats-response .h-gear-focus{stroke:#9ab0bd}
.ats-response .h-svg-number,.ats-response .h-svg-yellow{fill:#bccbd2}
.ats-response .h-terrain-lines{opacity:.4}
.ats-response .h-scene-photo{filter:saturate(.65) brightness(.9)}
.ats-response.is-active .h-wire-live{animation:ats-officer-link 2s ease both}
@keyframes ats-officer-link{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.ats-stage[data-chapter='3'] .ats-copy-stack{width:28%;top:28%}
.ats-record{height:68%;padding:0 10px}
.ats-record-wires{top:5%;height:88%;stroke:#8ba4b4}
.ats-evidence{position:absolute;width:38%;margin:0;background:#15191d;border:1px solid #7892a2;border-radius:7px;overflow:hidden}
.ats-evidence>img{width:100%;aspect-ratio:16/8;object-fit:cover;filter:saturate(.68)}
.ats-evidence figcaption{padding:10px 12px;font:10px 'ATS Ubuntu',Arial,sans-serif;color:#ccd8df}
.ats-evidence.ev1{left:0;top:13%}.ats-evidence.ev2{right:0;top:13%}.ats-evidence.ev3{left:0;bottom:9%}.ats-evidence.ev4{right:0;bottom:9%}
.ats-record-hub{position:absolute;left:44%;top:44%;width:12%;height:15%;display:grid;place-items:center;background:#111719;border:1px solid #8ba4b4;border-radius:50%;box-shadow:0 0 0 7px #111719,0 0 0 8px #879ba840}
.ats-record-hub img{width:54%;height:54%;object-fit:contain;filter:brightness(0) invert(1)}
.ats-record.is-active .ats-record-hub{animation:ats-evidence-confirm 3s ease-in-out infinite}
@keyframes ats-evidence-confirm{50%{box-shadow:0 0 0 10px #111719,0 0 0 11px #879ba870}}
.ats-record-footer{position:absolute;bottom:0;left:0;right:0;text-align:center;font:11px 'ATS Ubuntu',Arial,sans-serif;color:#adc0ca}
.ats-record-footer>i{margin-right:9px;vertical-align:middle}
.ats-chapter-nav{position:absolute;bottom:28px;left:4%;right:4%;display:flex;align-items:center;justify-content:space-between;gap:30px;z-index:5}
.ats-chapter-nav [role='tablist']{display:flex;gap:27px;border-top:1px solid #879ba84a;min-width:55%;padding-top:18px}
.ats-chapter-nav button{border:0;background:none;color:#95a6b0;padding:0 0 10px;cursor:pointer;font:11px 'ATS Alliance',Arial,sans-serif;position:relative;white-space:nowrap}
.ats-chapter-nav button>span{margin-right:9px;font:9px 'Courier New',monospace;color:#718591}
.ats-chapter-nav button[aria-selected='true']{color:#edf1f3}
.ats-chapter-nav button[aria-selected='true']::before{content:'';position:absolute;left:0;right:0;top:-20px;height:2px;background:#d9de8d}
.ats-chapter-nav button:focus-visible,.ats-skip:focus-visible{outline:2px solid #d9de8d;outline-offset:6px}
.ats-skip{font:11px 'ATS Ubuntu',Arial,sans-serif;color:#9db0bc;display:flex;align-items:center;gap:20px}
.ats-skip>span{display:grid;place-items:center;width:44px;height:44px;border:1px solid #879ba865;border-radius:50%;font-size:20px;color:#c5d3da}
.ats-progress{position:absolute;right:1.3%;top:40%;height:20%;width:1px;background:#879ba85c}.ats-progress>i{display:block;background:#d9de8d;height:calc(var(--p)*100%);width:1px}
.ats-motion-toggle{position:absolute;left:4%;bottom:9px;z-index:6;font:9px 'ATS Ubuntu',Arial,sans-serif;color:#8fa3ad;background:none;border:0;cursor:pointer;padding:3px 0}
@media(min-width:1051px) and (min-height:650px){.ats-opening.is-scroll{height:480svh}.ats-opening.is-scroll .ats-stage{position:sticky;top:0;height:100svh;min-height:0}}
@media(min-width:1051px) and (max-height:760px){.ats-copy-stack{top:25%}.ats-opening .ats-copy h2{font-size:44px}.ats-opening .ats-copy p{font-size:14px}.ats-opening .ats-eyebrow{margin-bottom:22px}.ats-sources img{height:75px;margin-bottom:16px}.ats-sources{padding:20px 0}.ats-observe{top:28%;padding:22px}.ats-record{top:12%;height:70%}}
@media(max-width:1050px),(max-height:649px){
 .ats-stage{height:1080px;min-height:0}.ats-copy-stack,.ats-stage[data-chapter='0'] .ats-copy-stack,.ats-stage[data-chapter='3'] .ats-copy-stack{top:160px;left:6%;width:88%}
 .ats-opening .ats-copy h1{font-size:clamp(42px,7.5vw,75px)}.ats-opening .ats-copy h2{font-size:clamp(38px,6vw,60px)}.ats-opening .ats-copy p{font-size:15px;max-width:620px;margin-top:22px}.ats-opening .ats-eyebrow{margin-bottom:22px}
 .ats-visual{left:6%;width:88%;top:470px;height:440px}.ats-observe{height:auto;padding:20px;top:500px}.ats-sources{gap:10px}.ats-sources>div{padding:0 4px}.ats-sources img{height:80px}.ats-sources strong{font-size:12px}.ats-sources span{font-size:10px}.ats-source-footer>span{display:none}
 .ats-response{left:0;width:100%;top:450px;height:490px}.ats-chapter-nav{left:6%;right:6%;bottom:30px;display:block}.ats-chapter-nav [role='tablist']{width:100%;gap:0;justify-content:space-between}.ats-chapter-nav button{font-size:10px}.ats-chapter-nav button>span{display:block;margin:0 0 8px}.ats-skip{margin-top:16px;justify-content:flex-end}.ats-progress{display:none}
 .ats-stage[data-chapter='0']{height:100svh;min-height:760px}.ats-source-node{font-size:9px}.ats-visual-label{font-size:10px}.ats-visual-label>span{font-size:9px}.ats-command figcaption{font-size:10px;padding:10px}.ats-command figcaption>span{font-size:8px}
}
@media(prefers-reduced-motion:reduce){.ats-opening *, .ats-opening *::after{animation:none!important;transition:none!important}}
body[data-motion='off'] .ats-opening *,body[data-motion='off'] .ats-opening *::after,.ats-opening:not(.is-in-view) *, .ats-opening:not(.is-in-view) *::after{animation-play-state:paused!important}

/* Equipment checks and a living evidence constellation. */
.ats-equipment-divider{fill:none;stroke:#879ba8;stroke-width:.8;opacity:.35}
.ats-equipment-check{fill:none;stroke:#d9e4e8;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.ats-equipment-label{fill:#c5d4dc;font:9.5px 'ATS Ubuntu',Arial,sans-serif;letter-spacing:.35px}
.ats-record-hub{border-color:#d3ce6e;box-shadow:none;isolation:isolate}
.ats-record.is-active .ats-record-hub{animation:none}
.ats-record-hub::before,.ats-record-hub::after{content:'';position:absolute;inset:-12px;border:1px solid #e4df75;border-radius:50%;pointer-events:none;opacity:0}
.ats-record-hub::before{background:radial-gradient(circle,#e4df751c 0%,#e4df750d 52%,transparent 73%);box-shadow:0 0 24px #e4df7520}
.ats-record.is-active .ats-record-hub::before{animation:ats-halo-breathe 3.8s ease-in-out infinite}
.ats-record.is-active .ats-record-hub::after{animation:ats-halo-expand 3.8s ease-out infinite .7s}
.ats-record-hub img{width:65%;height:65%;opacity:.9}
.ats-record .ats-evidence{box-shadow:0 16px 36px #0003;will-change:transform}
.ats-record.is-active .ev1{animation:ats-float-a 7.3s ease-in-out infinite -.8s}
.ats-record.is-active .ev2{animation:ats-float-b 8.7s ease-in-out infinite -2.9s}
.ats-record.is-active .ev3{animation:ats-float-b 7.9s ease-in-out infinite -5.1s}
.ats-record.is-active .ev4{animation:ats-float-a 9.1s ease-in-out infinite -3.6s}
@keyframes ats-float-a{0%,100%{transform:translate3d(-3px,5px,0) rotate(-.35deg)}50%{transform:translate3d(4px,-9px,0) rotate(.3deg)}}
@keyframes ats-float-b{0%,100%{transform:translate3d(4px,-7px,0) rotate(.3deg)}50%{transform:translate3d(-4px,7px,0) rotate(-.3deg)}}
@keyframes ats-halo-breathe{0%,100%{transform:scale(.98);opacity:.28}50%{transform:scale(1.14);opacity:.85}}
@keyframes ats-halo-expand{0%{transform:scale(.97);opacity:0}18%{opacity:.5}100%{transform:scale(1.65);opacity:0}}
@media(prefers-reduced-motion:reduce){.ats-record.is-active .ats-evidence,.ats-record.is-active .ats-record-hub::before,.ats-record.is-active .ats-record-hub::after{animation:none!important}.ats-record-hub::before{opacity:.3}}
body[data-motion='off'] .ats-record *,.ats-opening:not(.is-in-view) .ats-record *{animation-play-state:paused!important}
body[data-motion='off'] .ats-record-hub::before,body[data-motion='off'] .ats-record-hub::after,.ats-opening:not(.is-in-view) .ats-record-hub::before,.ats-opening:not(.is-in-view) .ats-record-hub::after{animation-play-state:paused!important}

/* The same territory remains beneath response and evidence. */
.ats-stage[data-chapter='3'] .ats-terrain-nodes,.ats-stage[data-chapter='4'] .ats-terrain-nodes{opacity:.55}
.ats-response{background:transparent;isolation:auto;mix-blend-mode:normal}
.ats-response .h-scene-matte{fill:transparent}
.ats-response .h-context-panel .h-frame-rule,.ats-response .h-check-equipment .h-frame-rule{fill:#111719e6}

.ats-response .h-scene-operator{mix-blend-mode:normal;filter:url(#ats-officer-alpha);opacity:1}

/* Continuous charcoal-to-paper handoff into traceability. */
.ats-hibrida .chain-threshold{height:clamp(90px,14vh,160px);background:var(--ats-trace-surface,#e0e4e1)}
.ats-hibrida .chain-threshold>span{background:transparent;opacity:0;pointer-events:none}

.ats-source-node.n1>span,.ats-source-node.n2>span{position:absolute;bottom:26px;width:100%}
.ats-source-node.n3>span,.ats-source-node.n4>span{position:absolute;top:26px;bottom:auto;width:100%}
.ats-source-node>i{margin:0 auto}
.ats-hibrida .chain-choreography{background:var(--ats-trace-surface,#e0e4e1)}
