/* Single source of truth: shared header on home and project pages. */
:root{--site-content-width:1360px}
html{scroll-padding-top:78px}
#site-header-mount{position:sticky;top:0;z-index:1000;min-height:64px}
#site-header-mount .hx-header{position:relative!important;top:auto!important}
body.hx .hx-header,body.showcase .hx-header{position:sticky!important;top:0!important;z-index:100!important;width:100%!important;max-width:none!important;height:64px!important;min-height:64px!important;padding:0!important;margin:0!important;display:block!important;background:rgba(6,16,36,.96)!important;border-bottom:1px solid #28416a!important;backdrop-filter:blur(18px)}
.hx-header .site-header-inner{width:min(1360px,90%);height:100%;margin:0 auto;display:flex;align-items:center;gap:24px}
.hx-header .hx-brand{display:flex!important;align-items:center;gap:10px;flex:none;font:800 20px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:-.6px;color:white!important;text-decoration:none;white-space:nowrap}
.hx-header .hx-logo,.hx-foot-brand .hx-logo,.hx-sig-mark .hx-logo{display:inline-block!important;font-family:Inter,system-ui,sans-serif!important;font-size:31px!important;font-weight:950!important;font-style:italic!important;letter-spacing:-5px!important;padding-right:6px!important;background:linear-gradient(130deg,#35e4f4 5%,#39bff6 50%,#8768ee 95%)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;text-shadow:none!important}
.hx-header .hx-nav{display:flex!important;align-self:stretch!important;align-items:center!important;justify-content:center!important;gap:28px!important;margin:0 auto!important;padding:0!important;min-width:0}
.hx-header .hx-nav a{display:flex!important;align-items:center!important;height:100%!important;margin:0!important;padding:0 3px!important;font-size:14px!important;font-weight:700!important;color:#d8e4f6!important;text-decoration:none!important;border:0!important;border-bottom:2px solid transparent!important;white-space:nowrap}
.hx-header .hx-nav a:hover,.hx-header .hx-nav a.is-current{color:#fff!important;border-bottom-color:#46d7ff!important}
.hx-header .hx-tools{display:flex!important;align-items:center!important;margin-left:auto!important;gap:10px}
.hx-header .hx-lang{position:relative}
.hx-header .hx-lang-toggle,.hx-header .hx-theme{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px;height:34px!important;border:1px solid #34507c!important;background:#0a1a36!important;color:#eaf1ff!important;border-radius:11px!important;cursor:pointer!important}
.hx-header .hx-lang-toggle{width:78px!important}
.hx-header .hx-theme{width:44px!important}
.hx-header .hx-lang-toggle svg{width:15px;height:15px}
.hx-header .hx-theme svg{width:19px;height:19px}
.hx-header .hx-lang-menu{position:absolute;right:0;top:42px;z-index:120;min-width:130px;padding:6px;display:none;flex-direction:column;gap:2px;background:#0b1c3a;border:1px solid #34507c;border-radius:12px;box-shadow:0 14px 34px #0009}
.hx-header .hx-lang.open .hx-lang-menu{display:flex}
.hx-header .hx-lang-menu button{all:unset;cursor:pointer;padding:8px 12px;border-radius:8px;font-size:14px;color:#dbe6fb}
.hx-header .hx-lang-menu button:hover,.hx-header .hx-lang-menu button.active{background:#1f3d70;color:#fff}
body.hx .hx-hero{overflow:hidden!important;isolation:isolate!important}
body.hx .hx-hero-art{position:absolute!important;inset:0!important;top:0!important;bottom:0!important;z-index:-1!important;pointer-events:none!important;background:linear-gradient(90deg,rgba(7,18,42,.82) 0%,rgba(7,18,42,.45) 30%,transparent 52%),linear-gradient(0deg,var(--hx-bg) 0%,rgba(7,18,42,.55) 20%,transparent 42%),url('/assets/hero-reference-v2.webp') right 30% top 22%/max(53%,1040px) auto no-repeat!important}
body.hx .hx-hero-inner,body.hx .hx-values{z-index:auto!important}
body.hx .hx-hero{padding-left:max(5%,calc((100vw - 1360px)/2))!important;padding-right:max(5%,calc((100vw - 1360px)/2))!important}
body.hx .hx-hero-inner,body.hx .hx-section-head,body.hx .hx-cards,body.hx .hx-ind-grid,body.hx .hx-signature{max-width:1360px;margin-left:auto;margin-right:auto}
body.hx .hx-projects{padding-left:5%!important;padding-right:5%!important}
body.showcase .product-container{width:min(1360px,90%)!important}
body.showcase .product-hero-grid{min-height:0!important}
body.showcase .product-copy{padding-top:32px!important}
@media(max-width:1180px){body.hx .hx-hero-art{background:linear-gradient(90deg,rgba(7,18,42,.85) 0%,rgba(7,18,42,.5) 45%,rgba(7,18,42,.1) 75%),linear-gradient(0deg,var(--hx-bg) 0%,rgba(7,18,42,.6) 40%,transparent 65%),url('/assets/hero-reference-v2.webp') 70% top/auto 100% no-repeat!important}}
@media(max-width:860px){body.hx .hx-header,body.showcase .hx-header{height:auto!important;min-height:64px!important}.hx-header .site-header-inner{flex-wrap:wrap;gap:8px 14px;padding:8px 0}.hx-header .hx-nav{order:3;width:100%;justify-content:flex-start!important;gap:18px!important;height:36px!important;overflow-x:auto}.hx-header .hx-brand{font-size:18px!important}}
@media(max-width:600px){body.hx .hx-hero-art{background:linear-gradient(0deg,var(--hx-bg) 0%,var(--hx-bg) 52%,rgba(7,18,42,.2) 72%,transparent 100%),url('/assets/hero-reference-v2.webp') 72% top/auto 330px no-repeat!important}body.showcase .product-copy{padding-top:18px!important}.hx-header .hx-logo{font-size:28px!important}}

/* v2.0.6: keep hero feature row inside the same 1360px content grid as the header and cards. */
@media (min-width:1181px){
  body.hx .hx-hero .hx-values{
    left:50%!important;
    right:auto!important;
    width:min(1360px,90%)!important;
    max-width:1360px!important;
    transform:translateX(-50%)!important;
    box-sizing:border-box!important;
  }
}
