﻿/* Brand artwork and narrated motion scenes. */
.nx-brand img.nx-wordmark,.brand img.nx-wordmark { width:170px; height:64px; object-fit:contain; mix-blend-mode:normal; }
.nx-brand,.brand { gap:0; }
.dragon-stage { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:445px; margin:0; isolation:isolate; overflow:hidden; }
.dragon-field { position:absolute; inset:0; z-index:-1; background:radial-gradient(ellipse at 50% 49%,#ec00001a,transparent 65%); }
.dragon-field::before { content:""; position:absolute; inset:0; background-image:radial-gradient(#858585 1px,transparent 1px); background-size:23px 23px; opacity:.17; mask-image:radial-gradient(ellipse,#000,transparent 70%); }
.dragon-ellipse { position:absolute; inset:17% 2%; border:1px solid #823030; border-radius:50%; transform:rotate(-25deg); }
.dragon-ellipse-two { inset:17% 16%; transform:rotate(39deg); border-color:#4a4a4a; }
.dragon-inputs { display:flex; justify-content:space-around; width:94%; gap:12px; position:relative; z-index:2; }
.dragon-inputs span { color:#ddd; background:#121212; border:1px solid #484848; padding:8px 12px; font-size:13px; text-align:center; }
.dragon-streams { position:relative; display:flex; justify-content:space-around; width:80%; height:55px; }
.dragon-streams i { width:1px; height:100%; background:linear-gradient(transparent,#8c1717); position:relative; transform-origin:bottom; }
.dragon-streams i:first-child { transform:rotate(-30deg); }
.dragon-streams i:last-child { transform:rotate(30deg); }
.dragon-streams i::after { content:""; position:absolute; top:0; left:-1px; width:3px; height:15px; background:#ec0000; box-shadow:0 0 14px #ec0000; animation:dragon-signal 2.8s ease-in-out infinite; }
.dragon-streams i:nth-child(2)::after { animation-delay:.7s; }
.dragon-streams i:nth-child(3)::after { animation-delay:1.4s; }
.motion-core { position:relative; display:grid; place-items:center; width:238px; height:238px; flex-shrink:0; }
.motion-emblem { display:grid; place-items:center; position:relative; width:162px; height:162px; border:1px solid #6b2020; border-radius:50%; background:radial-gradient(circle at 35% 25%,#282020,#060606 75%); box-shadow:inset 0 0 28px #ec000014,0 0 64px #ec000020,0 15px 25px #000; }
.motion-emblem::before { content:""; position:absolute; inset:7px; border-radius:50%; border:1px solid #4c3030; }
.motion-emblem img { width:83px; height:97px; object-fit:contain; filter:drop-shadow(0 0 12px #ec00003a); }
.motion-orbit { position:absolute; inset:0; border:1px solid #494949; border-radius:50%; border-right-color:#ec0000; transform:rotate(-35deg); animation:motion-orbit 20s linear infinite; }
.motion-orbit::after { content:""; position:absolute; width:6px; height:6px; border-radius:50%; background:#ec0000; box-shadow:0 0 15px #ec0000; top:50%; right:-3px; }
.motion-orbit-inner { inset:14px; border-style:dashed; opacity:.6; animation-direction:reverse; animation-duration:32s; }
.dragon-stage figcaption { display:grid; text-align:center; gap:7px; padding-top:23px; color:#f4f4f4; }
.dragon-stage figcaption strong { font:600 21px var(--body),Arial,sans-serif; letter-spacing:-.02em; }
.dragon-stage figcaption span { font:14px var(--body),Arial,sans-serif; letter-spacing:0; color:#bdbdbd; }
.dragon-pause { display:flex; align-items:center; gap:6px; font:12px var(--body),Arial,sans-serif; color:#a6a6a6; margin-top:18px; }
.dragon-pause input { accent-color:#ec0000; }
.dragon-stage:has(.dragon-pause input:checked) * { animation-play-state:paused!important; }
.motion-demo { position:relative; background:#080808; color:#f4f4f4; border:1px solid #4a4a4a; box-shadow:0 20px 75px #0003; font:16px/1.5 var(--body),Arial,sans-serif; overflow:hidden; }
.motion-demo * { box-sizing:border-box; }
.motion-demo [hidden] { display:none!important; }
.motion-demo h3,.motion-demo p,.motion-demo dl,.motion-demo dd { margin:0; }
.motion-demo button { font:inherit; cursor:pointer; border-radius:2px; }
.motion-demo button:focus-visible { outline:2px solid #f4f4f4; outline-offset:4px; }
.motion-chrome { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:17px 28px; border-bottom:1px solid #333; background:#101010; color:#f4f4f4; }
.motion-chrome>div { display:flex; align-items:center; gap:12px; }
.motion-chrome strong { font-size:16px; font-weight:600; letter-spacing:0; }
.motion-chrome>span { font-size:13px; color:#b4b4b4; }
.motion-stage { min-height:386px; position:relative; background:radial-gradient(ellipse at 28% 50%,#231111,transparent 60%); }
.motion-scene { display:grid; grid-template-columns:1.17fr 1fr; min-height:386px; align-items:center; animation:motion-enter .7s both; }
.motion-visual { height:386px; position:relative; overflow:hidden; border-right:1px solid #2b2323; }
.motion-grid { position:absolute; inset:0; background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px); background-size:30px 30px; mask-image:radial-gradient(ellipse at center,#000 20%,transparent 76%); }
.motion-narrative { padding:34px 42px; }
.motion-chapter-label { display:block; font-size:13px; color:#f4f4f4; text-transform:uppercase; letter-spacing:.13em; margin-bottom:18px; }
.motion-chapter-label::before { content:""; display:inline-block; width:22px; height:2px; background:#ec0000; vertical-align:middle; margin-right:10px; }
.motion-demo .motion-narrative h3 { font:600 clamp(25px,2.6vw,36px)/1.15 var(--body),Arial,sans-serif; letter-spacing:-.04em; margin-bottom:18px; color:#f4f4f4; }
.motion-narrative>p { font-size:16px; line-height:1.65; color:#bfbfbf; max-width:53ch; }
.motion-narrative dl { margin-top:25px; padding-top:18px; border-top:1px solid #444; }
.motion-narrative dt { font-size:12px; letter-spacing:.04em; color:#aaa; margin-bottom:6px; }
.motion-narrative dd { font-size:17px; color:#f4f4f4; }
.motion-source-stack { position:absolute; top:76px; left:7%; width:44%; display:grid; gap:15px; }
.motion-source-stack>div { position:relative; display:flex; align-items:center; gap:9px; min-height:55px; padding:10px 12px; border:1px solid #555; background:linear-gradient(110deg,#252525,#111); font-size:14px; z-index:2; animation:motion-source 3s ease-in-out infinite; animation-delay:calc(var(--item)*.5s); }
.motion-source-icon { display:grid; place-items:center; width:22px; height:22px; border:1px solid #777; font-size:16px; flex-shrink:0; color:#ddd; }
.motion-source-stack i { margin-left:auto; height:5px; width:5px; background:#ec0000; border-radius:50%; flex-shrink:0; }
.motion-data-path { position:absolute; top:112px; bottom:110px; left:50%; right:22%; }
.motion-data-path span { display:block; position:relative; height:1px; background:#6b2929; margin-bottom:70px; transform-origin:right; }
.motion-data-path span:first-child { transform:rotate(35deg); }
.motion-data-path span:last-child { transform:rotate(-35deg); }
.motion-data-path span::after { content:""; position:absolute; width:22px; height:2px; background:#ec0000; box-shadow:0 0 9px #ec0000; animation:motion-packet 2.7s ease-in-out infinite; }
.motion-data-path span:nth-child(2)::after { animation-delay:.5s; }
.motion-data-path span:nth-child(3)::after { animation-delay:1s; }
.motion-core-small { position:absolute; right:3%; top:102px; width:174px; height:174px; }
.motion-core-small .motion-emblem { width:119px; height:119px; }
.motion-core-small .motion-emblem img { width:59px; height:69px; }
.motion-asset-tag { position:absolute; bottom:45px; right:5%; font-size:12px; color:#ccc; display:flex; align-items:center; gap:7px; }
.motion-asset-tag i { width:5px; height:5px; background:#ec0000; border-radius:50%; }
.motion-scan-line { position:absolute; inset:0; background:linear-gradient(transparent 48%,#ec000022 50%,transparent 52%); animation:motion-scan 6s ease-in-out infinite; }
.motion-analysis-orbit { position:absolute; width:230px; height:230px; left:6%; top:72px; }
.motion-analysis-orbit svg { display:block; width:100%; height:100%; transform:rotate(-90deg); fill:none; }
.motion-ring-track { stroke:#353535; stroke-width:8; }
.motion-ring-progress { stroke:#ec0000; stroke-width:8; stroke-linecap:round; stroke-dasharray:647; stroke-dashoffset:65; animation:motion-ring 4.5s ease-in-out both; }
.motion-ring-inner { stroke:#555; stroke-width:1; stroke-dasharray:1 8; }
.motion-analysis-orbit img { position:absolute; width:64px; height:75px; top:78px; left:83px; }
.motion-orbit-point { position:absolute; inset:12px; border-radius:50%; border:1px solid transparent; animation:motion-orbit 16s linear infinite; }
.motion-orbit-point::after { content:""; position:absolute; top:50%; right:-2px; height:5px; width:5px; background:#f4f4f4; border-radius:50%; }
.motion-context-card { position:absolute; left:49%; top:116px; right:5%; padding:20px; background:#1a1a1a; border:1px solid #666; border-left:2px solid #ec0000; box-shadow:0 15px 40px #0008; }
.motion-context-card>span { font-size:12px; color:#bbb; display:block; margin-bottom:8px; }
.motion-context-card strong { font-size:17px; line-height:1.4; font-weight:600; display:block; }
.motion-bars { display:flex; align-items:end; gap:5px; height:36px; margin-top:20px; }
.motion-bars i { flex:1; background:#ec0000; height:60%; transform-origin:bottom; animation:motion-bar 2.5s ease-in-out infinite alternate; }
.motion-bars i:nth-child(2n) { height:90%; animation-delay:.3s; }
.motion-bars i:nth-child(3n) { height:40%; animation-delay:.7s; background:#777; }
.motion-route { position:absolute; inset:40px 9%; }
.motion-route-start { width:65%; padding:11px 16px; background:#161616; border:1px solid #444; font-size:14px; }
.motion-route-start span { display:block; color:#aaa; font-size:11px; }
.motion-route-line { position:relative; width:1px; height:34px; margin-left:20%; background:#6c2525; }
.motion-route-line i { position:absolute; width:3px; height:15px; background:#ec0000; box-shadow:0 0 12px #ec0000; animation:dragon-signal 2s linear infinite; }
.motion-action-card { position:relative; margin-left:13%; background:linear-gradient(120deg,#2a2222,#151515); padding:20px 24px; border:1px solid #9f3030; box-shadow:0 15px 40px #0008; animation:motion-source 4s ease-in-out infinite; }
.motion-card-label { font-size:11px; color:#bcbcbc; letter-spacing:.1em; }
.motion-action-card>strong { display:block; margin-top:8px; font-size:21px; line-height:1.2; }
.motion-person { display:flex; gap:10px; align-items:center; margin-top:20px; padding-top:15px; border-top:1px solid #444; font-size:13px; }
.motion-person>span { display:grid; place-items:center; background:#ec0000; color:#f4f4f4; border-radius:50%; height:28px; width:28px; flex-shrink:0; }
.motion-person small { display:block; font-size:11px; color:#aaa; letter-spacing:0; }
.motion-route-end { position:absolute; bottom:0; right:0; display:flex; align-items:center; gap:9px; font-size:12px; color:#ccc; }
.motion-route-end>span { border:1px solid #ec0000; width:20px; height:20px; text-align:center; }
.motion-report { position:absolute; width:64%; height:286px; top:52px; left:18%; background:linear-gradient(120deg,#292929,#151515); border:1px solid #666; padding:22px 25px; box-shadow:0 18px 35px #0008; transform:rotate(-3deg); }
.motion-report-back { transform:rotate(4deg) translate(9px,-3px); background:#1a1a1a; border-color:#4b3030; }
.motion-report-head { display:flex; gap:10px; align-items:center; padding-bottom:15px; border-bottom:1px solid #555; font-size:12px; letter-spacing:.06em; }
.motion-report-head small { color:#a6a6a6; font-size:9px; letter-spacing:.1em; }
.motion-report-lines { display:grid; gap:7px; padding-block:17px; }
.motion-report-lines i { height:3px; background:#595959; }
.motion-report-lines i:nth-child(2) { width:76%; }
.motion-report-lines i:nth-child(3) { width:89%; }
.motion-record>span { display:block; font-size:11px; color:#aaa; }
.motion-record strong { display:block; font-size:15px; margin-top:4px; line-height:1.3; }
.motion-seal { position:absolute; bottom:17px; right:-20px; display:flex; align-items:center; gap:12px; padding:12px 19px; background:#ec0000; border:1px solid #ff5252; box-shadow:0 10px 35px #0008; transform:rotate(3deg); animation:motion-seal .8s ease-out both; }
.motion-seal>span { font-size:28px; }
.motion-seal div { font-size:15px; font-weight:600; }
.motion-seal small { display:block; font-size:11px; color:#f4f4f4; letter-spacing:0; font-weight:400; }
.motion-progress { height:3px; background:#343434; }
.motion-progress i { display:block; width:0; height:100%; background:#ec0000; }
.motion-controls { display:flex; justify-content:space-between; align-items:center; padding:18px 25px; gap:20px; background:#101010; }
.motion-tabs { display:flex; gap:7px; flex-wrap:wrap; }
.motion-tabs button { color:#bfbfbf; border:1px solid #444; background:transparent; padding:8px 13px; font-size:14px; text-align:left; }
.motion-tabs button>span { font-size:10px; display:block; color:#a6a6a6; line-height:1.2; margin-bottom:4px; }
.motion-tabs button[aria-selected=true] { border-color:#ec0000; color:#f4f4f4; background:#ec000012; }
.motion-play { flex-shrink:0; border:0; background:#f4f4f4; color:#040404; font-size:13px!important; font-weight:600!important; padding:10px 15px; }
.motion-demo[data-playing=false] .motion-visual * { animation-play-state:paused!important; }
.motion-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.motion-home { background:#0b0b0b; border-block:1px solid #333; }
.motion-home .motion-heading { display:flex; justify-content:space-between; align-items:end; gap:40px; margin-bottom:32px; }
.motion-home .motion-heading p:last-child { max-width:40ch; font-size:18px; color:#bcbcbc; }
.motion-home h2 { font-family:var(--body),Arial,sans-serif; margin-top:15px; max-width:22ch; }
@keyframes motion-orbit { to{transform:rotate(360deg)} }
@keyframes dragon-signal { 0%{top:0;opacity:0}20%{opacity:1}90%{opacity:1}100%{top:80%;opacity:0} }
@keyframes motion-packet { 0%{left:0;opacity:0}20%{opacity:1}90%{opacity:1}100%{left:90%;opacity:0} }
@keyframes motion-enter { from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none} }
@keyframes motion-source { 0%,100%{border-color:#555}50%{border-color:#c42c2c} }
@keyframes motion-scan { from{transform:translateY(-45%)}to{transform:translateY(45%)} }
@keyframes motion-ring { from{stroke-dashoffset:647}to{stroke-dashoffset:65} }
@keyframes motion-bar { from{transform:scaleY(.45)}to{transform:scaleY(1)} }
@keyframes motion-seal { from{opacity:0;transform:translateY(15px) rotate(3deg)}to{opacity:1;transform:translateY(0) rotate(3deg)} }
@media(max-width:1000px) {
 .motion-narrative { padding:25px; }
 .motion-visual { height:370px; }
 .motion-core-small { right:1%; width:142px; height:142px; top:115px; }
 .motion-source-stack { left:5%; width:48%; }
 .motion-analysis-orbit { left:2%; width:210px; height:210px; top:85px; }
 .motion-analysis-orbit img { left:73px; top:68px; }
 .motion-context-card { padding:15px; }
 .motion-controls { flex-wrap:wrap; }
}
@media(max-width:760px) {
 .motion-scene { grid-template-columns:1fr; }
 .motion-visual { border-right:0; border-bottom:1px solid #383838; height:320px; }
 .motion-source-stack { top:49px; left:6%; width:43%; gap:13px; }
 .motion-source-stack>div { min-height:53px; }
 .motion-core-small { top:81px; right:6%; width:165px; height:165px; }
 .motion-data-path { top:87px; bottom:80px; }
 .motion-data-path span { margin-bottom:65px; }
 .motion-asset-tag { bottom:27px; }
 .motion-analysis-orbit { top:45px; left:6%; }
 .motion-context-card { top:89px; right:6%; }
 .motion-route { inset:25px 7%; }
 .motion-route-start { padding:8px 15px; }
 .motion-route-line { height:23px; }
 .motion-action-card { padding:16px 20px; }
 .motion-action-card>strong { font-size:18px; }
 .motion-person { margin-top:14px; padding-top:10px; }
 .motion-report { top:25px; height:260px; }
 .motion-report-lines { padding-block:13px; }
 .motion-narrative { min-height:302px; padding:27px; }
 .motion-controls { padding:16px; gap:15px; }
 .motion-tabs { width:100%; gap:6px; }
 .motion-tabs button { flex:1; padding:8px 5px; text-align:center; font-size:13px; }
 .motion-chrome { padding:13px 17px; }
 .motion-chrome>span { font-size:11px; max-width:13ch; text-align:right; }
 .motion-home .motion-heading { display:block; }
 .motion-home .motion-heading p:last-child { margin-top:18px; }
 .dragon-stage { min-height:425px; }
 .dragon-inputs span { font-size:12px; }
}
@media(max-width:400px) {
 .motion-core-small { right:2%; width:132px; height:132px; top:95px; }
 .motion-core-small .motion-emblem { width:100px; height:100px; }
 .motion-source-stack { width:47%; }
 .motion-source-stack>div { font-size:12px; gap:6px; padding:9px; }
 .motion-analysis-orbit { left:1%; width:180px; height:180px; top:58px; }
 .motion-analysis-orbit img { left:58px; top:53px; }
 .motion-context-card { left:48%; right:3%; padding:12px; }
 .motion-context-card strong { font-size:15px; }
 .motion-report { width:73%; left:11%; padding:19px; }
 .motion-narrative { padding:23px; }
 .motion-tabs button { font-size:11px; }
 .nx-brand img.nx-wordmark,.brand img.nx-wordmark { width:135px; height:57px; }
}
@media(prefers-reduced-motion:reduce) {
 .dragon-stage *,.motion-demo * { animation:none!important; transition:none!important; }
}
.motion-demo[data-playing=false] .motion-ring-progress { animation:none; stroke-dashoffset:65; }
.motion-demo[data-playing=false] .motion-seal { animation:none; }
