/* CoreX header: pill + mega-menu (built by hx.js) */
/* old nav stays in the HTML (crawlers, no-JS, fallback). It is held invisible for up to 1.5 s so it does not flash before the new
   header is built; once hx.js succeeds (body.hx-on) it is removed. If the script never runs, the old nav simply appears. */
#nav{visibility:hidden;animation:hxNavShow 0s 1.5s forwards}
@keyframes hxNavShow{to{visibility:visible}}
.hx-on #nav,.hx-on #drawer{display:none!important}
.hx{position:fixed;top:16px;left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:1200px;z-index:1000;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;padding:8px 8px 8px 20px;border-radius:999px;background:rgba(22,34,58,.52);border:1px solid rgba(168,203,255,.16);-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 18px 44px -22px rgba(2,6,16,.9);transition:background .35s,width .45s cubic-bezier(.3,.7,.2,1),box-shadow .6s;font-family:'Manrope',system-ui,sans-serif}
.hx.sc{background:rgba(10,18,34,.88);border-color:rgba(168,203,255,.22);grid-template-columns:auto auto auto;justify-content:space-between;column-gap:26px}
.hx a{color:inherit;text-decoration:none}
.hx button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
.hx [hidden],.hx-sheet [hidden]{display:none!important}
.hx-cta,.hx-cta:hover{text-decoration:none!important}

/* brand */
.hx-brand{display:flex;align-items:center;gap:10px;flex:none;justify-self:start;padding:4px 2px;border-radius:10px}
.hx-brand img{height:32px;width:auto;display:block;transition:transform .25s}.hx-brand:hover img{transform:scale(1.06)}
.hx-wm{font-family:'Archivo',system-ui,sans-serif;font-weight:500;font-size:17px;line-height:1.05;color:#AEBBD0;letter-spacing:.005em;white-space:nowrap;display:inline-block;max-width:180px;overflow:hidden;opacity:1;transition:max-width .45s cubic-bezier(.3,.7,.2,1),opacity .3s,margin .45s}
.hx.sc .hx-wm{max-width:0;opacity:0;margin-left:-10px}
/* wordmark matches the CX mark: Core = the C's white, X = the mark's blue gradient, Engineers secondary */
.hx-wm b{font-weight:800;color:#fff;letter-spacing:-.005em}.hx-wm i{font-style:normal;color:#1E8BFF;background:none;-webkit-text-fill-color:currentColor}
@supports (background-clip:text) or (-webkit-background-clip:text){.hx-wm i{background:linear-gradient(180deg,#2A9BFF 0%,#0A6CF0 55%,#0652D6 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}}
@media (forced-colors:active){.hx-wm i{background:none;color:CanvasText;-webkit-text-fill-color:currentColor}}
@media print{.hx-wm{color:#000;background:#fff}.hx-wm b,.hx-wm i{color:inherit;background:none;-webkit-text-fill-color:currentColor}}

/* links */
.hx-links{position:relative;display:flex;align-items:center;list-style:none;margin:0;padding:0;justify-self:center}
.hx-links>li{display:flex;align-items:center}
.hx-links>li+li::before{content:"";width:4px;height:4px;border-radius:50%;background:rgba(130,180,255,.45);margin:0 4px;flex:none}
.hx-links>li>a{position:relative;display:flex;align-items:center;gap:6px;padding:9px 13px;border-radius:999px;font-size:14.5px;font-weight:600;color:#C3CFE2;transition:color .2s,background .2s}
.hx-links>li>a:hover,.hx-links>li.open>a{color:#fff;background:rgba(255,255,255,.07)}
.hx-links>li>a.on{color:#fff}
.hx-glide{position:absolute;left:0;bottom:3px;width:18px;height:2px;border-radius:2px;background:linear-gradient(90deg,#0281F6,#82B4FF);opacity:0;transition:transform .35s cubic-bezier(.3,.7,.2,1),opacity .2s;pointer-events:none}
.hx-chev{width:10px;height:6px;transition:transform .25s}.hx-links li.open .hx-chev{transform:rotate(180deg)}
.hx>.hx-cta{justify-self:end}
.hx-cta{display:inline-flex;align-items:center;gap:8px;padding:11px 20px;border-radius:999px;font-weight:700;font-size:14.5px;color:#fff!important;background:linear-gradient(135deg,#1F6FDB,#2F5FC0);box-shadow:0 8px 22px -10px rgba(31,111,219,.8),inset 0 1px 0 rgba(255,255,255,.25);white-space:nowrap;flex:none}
.hx-cta span{transition:transform .2s}.hx-cta:hover span{transform:translateX(3px)}
.hx-burger{display:none;width:44px;height:44px;border-radius:999px;flex-direction:column;justify-content:center;align-items:center;gap:5px;justify-self:end}
.hx-burger span{display:block;width:18px;height:2px;border-radius:2px;background:#EAF0FA;transition:transform .3s,opacity .3s}
.hx-open .hx-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}.hx-open .hx-burger span:nth-child(2){opacity:0}.hx-open .hx-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.hx-qc{display:none}

/* perimeter progress trace: one quiet line, no glow */
.hx-trace{position:absolute;left:-1px;top:-1px;width:calc(100% + 2px);height:calc(100% + 2px);overflow:visible;pointer-events:none}
.hx-tl{fill:none;stroke:#4B93F5;stroke-width:1.5;stroke-linecap:round;opacity:.9}

/* ===== mega panels ===== */
.hx-mega{position:absolute;left:50%;top:calc(100% + 10px);transform:translate(-50%,6px);background:#0B1325;border:1px solid rgba(146,178,228,.2);border-radius:18px;box-shadow:0 34px 70px -30px rgba(0,0,0,.9),inset 0 1px 0 rgba(255,255,255,.04);opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility .2s;color:#EAF0FA;overflow-x:hidden;overflow-y:auto;max-height:calc(100vh - var(--hx-bottom,80px) - 26px);max-height:calc(100dvh - var(--hx-bottom,80px) - 26px);overscroll-behavior:contain}
.hx-mega.show{opacity:1;visibility:visible;transform:translate(-50%,0);transition:opacity .2s,transform .2s,visibility 0s}
.hx-m-svc{width:720px;max-width:calc(100vw - 40px)}
.hx-m-ind{width:800px;max-width:calc(100vw - 40px)}
.hx-mb{padding:14px}
/* level 1: group label */
.hx-gh{margin:0;font-family:'Archivo',system-ui,sans-serif;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#7FB0FF;line-height:1.3;white-space:nowrap}
/* pointer for level-2 items */
.hx-pt{flex:none;display:inline-grid;place-items:center;width:14px;height:14px;color:#4B8FF0;transition:transform .18s,color .18s}
.hx-pt svg{width:7px;height:11px}
/* ---- services: two equal panels, identical rows ---- */
.hx-sv{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch}
.hx-pn{display:flex;flex-direction:column;background:rgba(255,255,255,.022);border:1px solid rgba(146,178,228,.12);border-radius:14px;padding:14px 8px 8px}
.hx-pn>.hx-gh{padding:0 10px 10px;margin:0 0 4px;border-bottom:1px solid rgba(146,178,228,.12)}
.hx-rows{display:flex;flex-direction:column}
.hx-it{display:flex;align-items:flex-start;gap:8px;min-height:62px;box-sizing:border-box;padding:11px 10px;border-radius:10px;transition:background .15s}
.hx-it+.hx-it{margin-top:2px}
.hx-it .hx-pt{margin-top:3px}
.hx-tx{flex:1;min-width:0}
.hx-it b{display:block;font-family:'Archivo',system-ui,sans-serif;font-size:15px;font-weight:700;color:#F2F6FC;line-height:1.3}
.hx-d{display:block;margin-top:3px;font-size:12.8px;line-height:1.4;color:#93A3BC;white-space:nowrap}
.hx-go{align-self:center;color:#82B4FF;opacity:0;transform:translateX(-4px);transition:opacity .18s,transform .18s}
.hx-it:hover,.hx-it:focus-visible{background:rgba(130,180,255,.08)}
.hx-it:hover .hx-go,.hx-it:focus-visible .hx-go{opacity:1;transform:none}
.hx-it:hover .hx-pt,.hx-ml:hover .hx-pt{transform:translateX(2px);color:#82B4FF}
.hx-it.cur{background:rgba(75,143,240,.12)}.hx-it.cur b{color:#9FC6FF}
.hx-pnote{margin:auto 10px 4px;padding-top:12px;font-size:12px;line-height:1.45;color:#7D8CA5}
/* ---- industries: rail + pane ---- */
.hx-find{position:relative;margin:14px 14px 0}
.hx-find svg{position:absolute;left:12px;top:11px;width:15px;height:15px;color:#8C9DB8}
.hx-find input{width:100%;height:37px;border-radius:10px;border:1px solid rgba(146,178,228,.2);background:rgba(255,255,255,.035);color:#EAF0FA;font:inherit;font-size:13.5px;padding:0 12px 0 34px;box-sizing:border-box}
.hx-find input::placeholder{color:#7D8CA5}.hx-find input:focus{outline:2px solid #82B4FF;outline-offset:1px}
.hx-ix{display:grid;grid-template-columns:272px 1fr;gap:12px;padding:12px 14px 14px}
.hx-rail{display:flex;flex-direction:column;gap:2px;background:rgba(255,255,255,.022);border:1px solid rgba(146,178,228,.12);border-radius:14px;padding:6px}
.hx .hx-rt{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;padding:0 12px 0 16px;border-radius:10px;text-align:left;font-family:'Archivo',system-ui,sans-serif;font-size:14px;font-weight:600;color:#C3CFE2;white-space:nowrap;transition:background .15s,color .15s}
.hx-rt em{font-style:normal;font-family:'Manrope',system-ui,sans-serif;font-size:12px;font-weight:700;color:#7D8CA5;min-width:22px;height:22px;display:inline-grid;place-items:center;border-radius:999px;background:rgba(255,255,255,.05)}
.hx .hx-rt:hover{background:rgba(130,180,255,.06);color:#fff}
.hx .hx-rt.on{background:rgba(75,143,240,.14);color:#fff}
.hx-rt.on::before{content:"";position:absolute;left:6px;top:14px;bottom:14px;width:2px;border-radius:2px;background:#4B8FF0}
.hx-rt.on em{background:#2269C8;color:#fff}
.hx-pane{min-width:0;padding:6px 4px 0;min-height:212px}
.hx-pg{display:none}.hx-pg.on{display:block}
.hx-q .hx-pg{display:block}.hx-q .hx-pg+.hx-pg{margin-top:14px}
.hx-pg>.hx-gh{padding:4px 8px 10px;margin-bottom:4px;border-bottom:1px solid rgba(146,178,228,.12)}
.hx-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px 8px}
.hx-ml{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 8px;border-radius:9px;font-size:14px;color:#D3DCEA;white-space:nowrap;transition:background .15s,color .15s}
.hx-ml:hover,.hx-ml:focus-visible{background:rgba(130,180,255,.08);color:#fff}
.hx-ml.cur{background:rgba(75,143,240,.12);color:#9FC6FF}
.hx-none{margin:8px;color:#8C9DB8;font-size:13.5px}
.hx-foot{border-top:1px solid rgba(146,178,228,.12);padding:11px 22px;font-size:13px;font-weight:700}
.hx-foot a{color:#82B4FF}.hx-foot a span{display:inline-block;transition:transform .2s}.hx-foot a:hover span{transform:translateX(3px)}

/* phone / tablet sheet */
.hx-sheet{position:fixed;left:12px;right:12px;top:80px;max-height:calc(100vh - 96px);max-height:calc(100dvh - 96px);display:flex;flex-direction:column;overflow:hidden;z-index:999;border-radius:24px;border:1px solid rgba(146,178,228,.24);background:rgba(12,20,38,.98);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);opacity:0;visibility:hidden;transform:translateY(-8px) scale(.98);transform-origin:top center;transition:opacity .25s,transform .25s,visibility .25s;color:#EAF0FA;font-family:'Manrope',system-ui,sans-serif}
.hx-open .hx-sheet{opacity:1;visibility:visible;transform:none;transition:opacity .25s,transform .25s,visibility 0s}
.hx-scr{flex:1 1 auto;min-height:0;overflow:auto;padding:6px 18px 8px;overscroll-behavior:contain}
.hx-acc{border-bottom:1px solid rgba(146,178,228,.14)}
.hx-acc-h,.hx-row{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:56px;padding:12px 4px;font-family:'Archivo',system-ui,sans-serif;font-size:19px;font-weight:700;color:#EAF0FA;background:none;border:0;cursor:pointer;text-decoration:none;box-sizing:border-box}
.hx-row{border-bottom:1px solid rgba(146,178,228,.14)}.hx-row.on{color:#82B4FF}
.hx-acc-b{display:none;padding:2px 4px 16px}.hx-acc.open .hx-acc-b{display:block}.hx-acc.open .hx-chev{transform:rotate(180deg)}
.hx-acc-h .hx-chev{width:12px;height:8px}
/* phone groups */
.hx-grp{margin-top:14px}
.hx-grp .hx-gh{font-size:11.5px;margin-bottom:2px;white-space:normal}
.hx-grp .hx-list>a{display:flex;align-items:center;gap:10px;padding:10px 0 10px 2px;color:#C3CFE2;font-size:15.5px;text-decoration:none;border-bottom:1px solid rgba(146,178,228,.07)}
.hx-grp .hx-list>a:last-child{border-bottom:0}
.hx-grp .hx-list>a.cur{color:#82B4FF}
.hx-grp .hx-list>a:active{color:#fff}
.hx-all{display:inline-block;margin-top:14px;color:#82B4FF;font-weight:700;font-size:15px;text-decoration:none}
.hx-pin{flex:none;padding:14px 16px calc(14px + env(safe-area-inset-bottom));border-top:1px solid rgba(146,178,228,.16);background:#0B1324;display:flex;flex-direction:column;align-items:stretch;gap:8px}
.hx-sheet .hx-cta{justify-content:center;width:100%;box-sizing:border-box;padding:14px;border-radius:14px;font-size:16px}
.hx-note{text-align:center;color:#8C9DB8;font-size:12.5px;margin:0}
@keyframes hxIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.hx-open .hx-sheet .hx-acc,.hx-open .hx-sheet .hx-row{animation:hxIn .38s cubic-bezier(.3,.7,.2,1) both;animation-delay:var(--d)}
.hx-open .hx-pin{animation:hxIn .38s .3s cubic-bezier(.3,.7,.2,1) both}

/* logo entrance: CX mark wipes in with a light sweep, then the name slides in */
@keyframes hxDraw{0%{clip-path:inset(0 100% 0 0);transform:translateX(-8px) scale(.94);opacity:.3}55%{opacity:1}100%{clip-path:inset(0 0 0 0);transform:none;opacity:1}}
@keyframes hxSweep{0%{transform:translateX(-120%) skewX(-18deg);opacity:0}30%{opacity:1}100%{transform:translateX(260%) skewX(-18deg);opacity:0}}
@keyframes hxFade{from{opacity:0;transform:translateX(-8px)}to{opacity:1;transform:none}}
.hx-brand{position:relative;overflow:hidden}
.hx-draw .hx-brand img{animation:hxDraw .85s cubic-bezier(.3,.7,.2,1) both}
.hx-draw .hx-brand::after{content:"";position:absolute;top:0;bottom:0;left:0;width:34px;background:linear-gradient(90deg,transparent,rgba(190,220,255,.55),transparent);animation:hxSweep .9s .6s ease-out both;pointer-events:none}
.hx-draw .hx-wm{animation:hxFade .55s .5s both}

/* responsive */
@media (max-width:1180px){.hx-links>li>a{padding:9px 10px}}
@media (min-width:1101px){.hx-sheet{display:none}}
@media (max-width:1100px){
 .hx-links,.hx>.hx-cta,.hx-mega{display:none}
 .hx,.hx.sc{width:calc(100% - 32px);max-width:1200px;grid-template-columns:44px 1fr 44px;column-gap:10px;padding:6px;top:12px}
 .hx.sc .hx-wm{max-width:180px;opacity:1;margin-left:0}
 .hx-brand{grid-column:2;justify-self:center}
 .hx-burger{display:flex;grid-column:3;justify-self:end;width:42px;height:42px;border-radius:999px;background:rgba(130,180,255,.08);border:1px solid rgba(130,180,255,.22)!important;box-sizing:border-box}
}
@media (prefers-reduced-motion:reduce){.hx,.hx *,.hx-sheet,.hx-sheet *{transition:none!important;animation:none!important}}

/* close button inside the phone dialog for screen readers and keyboard (shows when focused) */
.hx-x{position:absolute;top:8px;right:12px;z-index:2;padding:6px 10px;border-radius:8px;border:1px solid rgba(130,180,255,.4);background:#0B1325;color:#EAF0FA;font:600 13px/1 'Manrope',system-ui,sans-serif;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap;cursor:pointer}
.hx-x:focus{clip-path:none;width:auto;height:auto;overflow:visible;outline:2px solid #82B4FF}

/* larger text (browser text zoom): let menu text wrap instead of overflowing */
.hx-d,.hx-ml,.hx .hx-rt,.hx-gh{white-space:normal}
.hx-sv,.hx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.hx-ml>span:last-child,.hx-rt>span{min-width:0;overflow-wrap:break-word}
.hx-none:empty{margin:0}

/* Sub-item style S3+S4 (owner-approved 9-12 Oct 2026): accent bar + small legend squares, no pointer arrows, no code chips */
.hx-pt{display:none!important}.hx-go{display:none!important}
.hx-ml,.hx-it,.hx-grp .hx-list>a{gap:0}
.hx-ml,.hx-grp .hx-list>a,.hx-it{position:relative;padding-left:14px!important}
.hx-ml::after,.hx-grp .hx-list>a::after,.hx-it::after{content:"";position:absolute;left:0;top:50%;width:2px;height:0;border-radius:2px;background:linear-gradient(180deg,#2A9BFF,#0A6CF0);transform:translateY(-50%);transition:height .2s}
.hx-it::after{left:4px}
.hx-ml:hover::after,.hx-ml:focus-visible::after,.hx-it:hover::after,.hx-it:focus-visible::after,.hx-grp .hx-list>a:hover::after,.hx-grp .hx-list>a:focus-visible::after,.hx-ml.cur::after,.hx-ml[aria-current]::after,.hx-grp .hx-list>a[aria-current]::after,.hx-it[aria-current]::after{height:60%}
.hx-ml{color:#C3CFE2}.hx-ml:hover{color:#fff!important}
.hx-ml.cur{background:none!important}
.hx-ml::before,.hx-grp .hx-list>a::before{content:""!important;width:6px;height:6px;border-radius:2px;background:#2F6FD6;margin-right:12px;flex:none;opacity:.8;transition:background .15s,transform .15s}
.hx-ml:hover::before,.hx-grp .hx-list>a:hover::before{background:#82B4FF;transform:scale(1.25)}
@media (forced-colors:active){.hx-ml::after,.hx-ml::before,.hx-grp .hx-list>a::before,.hx-grp .hx-list>a::after,.hx-it::after{background:CanvasText}}
