/* =========================================================
   CEMA Health: editorial design system
   Two typefaces only: Cormorant Garamond (display) + Manrope (text)
   ========================================================= */
:root{
  --p:#0A84C1; --pd:#066496; --navy:#0B3552; --ink:#0B1F2E; --muted:#586B79;
  --line:#DCE6EE; --paper:#F5F8FB; --tint:#E8F3FA; --sky:#7FD0F7; --bg:#fff;
  --serif:'Cormorant Garamond',Georgia,serif; --sans:'Manrope',system-ui,sans-serif;
  --r:16px; --gutter:clamp(20px,5vw,56px);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:84px;-webkit-text-size-adjust:100%}
body{font-family:var(--sans);color:var(--ink);background:#fff;line-height:1.7;font-size:16px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ol,ul{list-style:none}
.wrap{width:min(1200px,100% - var(--gutter)*2);margin-inline:auto}
.narrow{width:min(860px,100% - var(--gutter)*2)}
.center{text-align:center}
.skip{position:absolute;left:-999px;top:8px;background:var(--p);color:#fff;padding:8px 14px;z-index:100}
.skip:focus{left:8px}
:focus-visible{outline:2px solid var(--p);outline-offset:3px}

/* type */
h1,h2,h3,h4{font-family:var(--serif);font-weight:500;letter-spacing:-.01em}
h2{font-size:clamp(38px,5.4vw,70px);line-height:1.02;margin-bottom:22px;color:var(--ink)}
h2 em,h1 em,.hl{font-style:italic;font-weight:500;color:var(--p)}
.body{font-size:clamp(16px,1.35vw,18px);color:var(--muted);line-height:1.75;max-width:600px}
.center .body,.sec-head.center .body,.body.center{margin-inline:auto}
.kicker{display:flex;align-items:center;gap:14px;font:700 12px/1 var(--sans);letter-spacing:.22em;text-transform:uppercase;color:var(--p);margin-bottom:22px}
.kicker::before{content:"";width:34px;height:1px;background:currentColor}
.center .kicker,.sec-head.center .kicker,.center-k{justify-content:center}
.kicker.light{color:var(--sky)}
.sec{padding:clamp(84px,11vw,150px) 0}
.sec-head{margin-bottom:clamp(40px,5vw,72px)}
.sec-head.center{text-align:center}
.sec-head .body{margin-top:0}
.sec-head.wide .body{max-width:640px}
.pn{font:500 20px/1 var(--serif);font-style:italic;color:var(--p);min-width:34px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 30px;font:600 15px/1 var(--sans);border:1px solid var(--p);border-radius:999px;cursor:pointer;transition:background .25s,color .25s,transform .25s,box-shadow .25s}
.btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn-solid{background:var(--navy);border-color:var(--navy);color:#fff}
.btn-solid:hover{background:var(--p);border-color:var(--p);transform:translateY(-1px)}
.btn-glass{color:#fff;border-color:rgba(255,255,255,.55);background:rgba(255,255,255,.08)}
.link{color:#fff;font-weight:600;border-bottom:1px solid rgba(255,255,255,.4);padding-bottom:3px;transition:color .2s,border-color .2s}
.link:hover{color:var(--sky);border-color:var(--sky)}

/* nav */
.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:saturate(1.3) blur(14px);-webkit-backdrop-filter:saturate(1.3) blur(14px);border-bottom:1px solid transparent;transition:border-color .3s,box-shadow .3s}
.nav.scrolled{border-color:var(--line)}
.nav-in{display:flex;align-items:center;justify-content:space-between;gap:24px;height:78px}
.brand{flex:none;display:block}
.brand img{height:46px;width:auto;max-width:none}
.menu{display:flex;gap:6px;font-size:14px;font-weight:600}
.menu a{color:var(--ink)}
.menu-cta{display:none}
.burger{display:none;background:none;border:0;width:44px;height:44px;cursor:pointer;position:relative;flex:none}
.burger span{position:absolute;left:10px;right:10px;height:2px;background:var(--ink);transition:.25s}
.burger span:first-child{top:17px}.burger span:last-child{top:25px}

/* hero typography */
.hero{color:#fff}
.hero h1{font-size:clamp(46px,6.6vw,92px);line-height:.98;margin-bottom:28px;color:#fff;font-weight:500}
.hero h1 em{color:var(--sky)}
.hero .lead{font:400 clamp(16px,1.5vw,19px)/1.75 var(--sans);color:#b9d2e2;max-width:500px;margin-bottom:36px}
.hero-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.hero-in{display:grid;grid-template-columns:1.02fr 1fr;gap:40px;align-items:center;min-height:560px}
.hero-copy>*{opacity:0;transform:translateY(18px);animation:rise .9s cubic-bezier(.2,.7,.2,1) forwards}
.hero-copy h1{animation-delay:.05s}.hero-copy .lead{animation-delay:.18s}.hero-copy .hero-actions{animation-delay:.3s}
@keyframes rise{to{opacity:1;transform:none}}

/* about / editorial split */
.ed{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(36px,6vw,96px);align-items:center}
.ed.rev{grid-template-columns:1.05fr 1fr}
.ed.rev .ed-photo{order:2}
.ed-photo img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:top;border-radius:var(--r)}
.edu .ed-photo img{aspect-ratio:4/3}
.vision{margin:38px 0 8px;padding:6px 0 6px 26px;border-left:2px solid var(--p);font:500 clamp(24px,2.6vw,34px)/1.2 var(--serif);color:var(--ink)}
.vision span{display:block;font:700 11px/1 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--p);margin-bottom:12px}
.mission{counter-reset:m;margin-top:30px;border-top:1px solid var(--line)}
.mission li{counter-increment:m;display:grid;grid-template-columns:44px 1fr;gap:6px;padding:18px 0;border-bottom:1px solid var(--line);color:var(--muted);font-size:15.5px}
.mission li::before{content:"0" counter(m);font:italic 500 20px/1.2 var(--serif);color:var(--p)}

/* market */
.decoded{background:var(--paper)}
.figures{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:clamp(40px,5vw,72px)}
.figures>div{padding:34px 24px 34px 0;margin-right:24px;border-right:1px solid var(--line)}
.figures>div:last-child{border:0;margin:0}
.fig{display:block;font:500 clamp(46px,5.2vw,76px)/1 var(--serif);color:var(--navy);letter-spacing:-.02em;margin-bottom:14px}
.figures span{display:block;font-weight:700;font-size:14px;line-height:1.4;margin-bottom:6px}
.figures small{display:block;font-size:13px;color:var(--muted);line-height:1.5}
.twin{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(36px,6vw,96px)}
.twin h3{font-size:clamp(26px,2.4vw,34px);line-height:1.1;margin-bottom:6px}
.cap{font-size:13px;color:var(--muted);margin-bottom:22px}
.hb{display:grid;grid-template-columns:170px 1fr 44px;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}
.hb i{display:block;height:6px;width:0;background:var(--p);border-radius:6px;transition:width 1.3s cubic-bezier(.2,.7,.2,1)}
.hb.in i{width:var(--w)}
.hb em{font-style:normal;font-weight:700;text-align:right}
.means ol{counter-reset:k;margin-top:18px}
.means li{counter-increment:k;display:grid;grid-template-columns:44px 1fr;gap:6px;padding:16px 0;border-bottom:1px solid var(--line);color:var(--muted);font-size:15.5px}
.means li::before{content:"0" counter(k);font:italic 500 20px/1.2 var(--serif);color:var(--p)}
.note{font-size:12px;color:var(--muted);margin-top:44px;max-width:900px;line-height:1.6}

/* problem to solution (dark) */
.dark{background:radial-gradient(90% 80% at 85% 0%,#0d4a73 0%,#0B3552 46%,#072438 100%);color:#fff;position:relative}
.dark h2{color:#fff}.dark h2 em{color:var(--sky)}.dark .body{color:#a9c6d8}
.dark .kicker{color:var(--sky)}
.phead,.prow{display:grid;grid-template-columns:56px 1fr 56px 1fr;gap:0 18px;align-items:start}
.phead{padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.25);font:700 11px/1 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--sky)}
.prow{padding:30px 0;border-bottom:1px solid rgba(255,255,255,.14)}
.prow .pn{color:var(--sky);font-size:24px}
.prow h4{font:600 20px/1.25 var(--serif);font-size:clamp(22px,2vw,28px);color:#fff;margin-bottom:8px}
.prow .pl h4{color:#c3d7e4}
.prow p{font-size:14.5px;color:#a9c6d8;line-height:1.65}
.prow .pr p{color:#d6e7f2}
.pa{display:grid;place-items:center;padding-top:6px}
.pa svg{width:26px;height:26px;fill:none;stroke:var(--sky);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* portfolio */
.pfgrid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(36px,6vw,96px);align-items:start}
.pf-photo{position:sticky;top:110px}
.pf-photo img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:var(--r)}
.pf-photo figcaption{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-top:14px}
.pf-list{margin-top:34px;border-top:1px solid var(--line)}
.pf{display:grid;grid-template-columns:52px 1fr;gap:6px;padding:26px 0;border-bottom:1px solid var(--line);transition:padding .3s}
.pf:hover{padding-left:10px}
.pf h3{font-size:clamp(24px,2.2vw,31px);line-height:1.12;margin-bottom:6px}
.pf p{color:var(--muted);font-size:15px;max-width:520px}
.support{margin-top:clamp(56px,7vw,100px);padding-top:34px;border-top:1px solid var(--ink);display:grid;grid-template-columns:260px 1fr;gap:30px;align-items:start}
.support h4{font-size:26px;line-height:1.15}
.support-items{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.support-items b{display:block;font-size:14px;margin-bottom:4px}
.support-items span{font-size:13px;color:var(--muted);line-height:1.5}

/* technology wave */
.tech{padding-bottom:0;overflow:hidden;background:#fff}
.wave-box{position:relative;height:540px;margin-top:10px}
.wave-box canvas{position:absolute;inset:0;width:100%;height:100%}
.pop{position:absolute;display:flex;gap:14px;background:#fff;border:1px solid var(--line);padding:20px 22px;max-width:340px;border-radius:var(--r);box-shadow:0 20px 50px rgba(11,53,82,.12)}
.pop i{flex:none;width:9px;height:9px;border-radius:50%;background:var(--navy);margin-top:8px}
.pop h4{font:600 22px/1.15 var(--serif);margin-bottom:6px}
.pop p{font-size:13.5px;color:var(--muted);line-height:1.6}
.pop-a{left:6%;top:80px}.pop-b{right:7%;top:50px}.pop-c{left:35%;bottom:80px}

/* why */
.why{background:var(--paper)}
.whygrid{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(36px,6vw,96px);align-items:start}
.why-list{margin-top:34px;border-top:1px solid var(--line)}
.why-list li{display:grid;grid-template-columns:52px 1fr;gap:6px;padding:24px 0;border-bottom:1px solid var(--line)}
.why-list h3{font-size:clamp(23px,2vw,29px);line-height:1.12;margin-bottom:6px}
.why-list p{color:var(--muted);font-size:15px;max-width:540px}
.why-photo{position:sticky;top:110px;border-radius:var(--r);overflow:hidden;background:var(--navy)}
.why-photo img{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center}
.why-photo figcaption{padding:28px 30px 32px;color:#fff}
.why-photo h4{font-size:30px;margin-bottom:14px}
.why-photo ul{display:grid;gap:10px;font-size:14.5px;color:#cfe3ef}
.why-photo li{padding-left:22px;position:relative}
.why-photo li::before{content:"";position:absolute;left:0;top:.7em;width:10px;height:1px;background:var(--sky)}

/* education / clients */
.edu{background:#fff}
.lines{margin-top:30px;border-top:1px solid var(--line)}
.lines li{padding:16px 0;border-bottom:1px solid var(--line);font-weight:600;font-size:15px}
.clients{padding-top:0}
.logos{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:26px 64px;margin-top:48px}
.logos img{height:64px;width:auto;object-fit:contain;filter:grayscale(1);opacity:.7;transition:.3s}
.logos img:hover{filter:none;opacity:1}

/* faq */
.faq{background:var(--paper)}
.acc{border-top:1px solid var(--ink)}
details{border-bottom:1px solid var(--line)}
summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:26px 0;font:500 clamp(22px,2.2vw,28px)/1.2 var(--serif)}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font:400 28px/1 var(--sans);color:var(--p);transition:transform .3s}
details[open] summary::after{transform:rotate(45deg)}
details p{padding:0 0 28px;color:var(--muted);max-width:680px;font-size:15.5px}

/* contact */
.contact{background:#fff}
.ctgrid{display:grid;grid-template-columns:1fr 1fr;gap:0;border-radius:var(--r);overflow:hidden;box-shadow:0 30px 80px rgba(11,53,82,.14)}
.ct-info{position:relative;color:#fff;background:var(--navy);min-height:640px;display:flex}
.ct-info>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.32}
.ct-info::after{content:"";position:absolute;inset:0;background:linear-gradient(160deg,rgba(11,53,82,.85),rgba(7,36,56,.96))}
.ct-in{position:relative;z-index:1;padding:clamp(32px,5vw,64px);display:flex;flex-direction:column;justify-content:center;gap:4px}
.ct-in h2{color:#fff;font-size:clamp(36px,4vw,56px)}.ct-in h2 em{color:var(--sky)}
.ct-in .body{color:#b9d2e2}
address{font-style:normal;margin-top:34px;font-size:15px;line-height:1.7;color:#cfe3ef}
address b{display:block;color:#fff;font-size:16px;margin-bottom:4px}
address a{color:var(--sky)}
.maplink{display:inline-flex;align-items:center;gap:8px;margin-top:22px;width:fit-content;font-weight:700;font-size:14px;color:#fff;border-bottom:1px solid rgba(255,255,255,.4);padding-bottom:3px}
.maplink svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
form{display:grid;grid-template-columns:1fr 1fr;gap:26px 22px;padding:clamp(28px,5vw,64px);background:#fff;align-content:center}
label{display:grid;gap:4px;font:700 11px/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.full{grid-column:1/-1}
input,select,textarea{font:500 16px/1.4 var(--sans);letter-spacing:0;text-transform:none;color:var(--ink);padding:12px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;transition:border-color .25s}
input:hover,select:hover,textarea:hover{border-color:#b5c7d4}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--p)}
textarea{resize:vertical}
.form-msg{grid-column:1/-1;font-size:14px;color:var(--pd);min-height:20px}

/* reveal */
.rv{opacity:0;transform:translateY(24px);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1)}
.rv.in{opacity:1;transform:none}

/* footer label (shared with footer block below) */
.eyebrow{font:700 12px/1 var(--sans);letter-spacing:.22em;text-transform:uppercase;color:#7fd0f7;margin-bottom:18px}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .figures{grid-template-columns:repeat(3,1fr)}
  .figures>div:nth-child(3){border:0;margin-right:0}
  .figures>div:nth-child(n+4){border-top:1px solid var(--line)}
  .support{grid-template-columns:1fr}.support-items{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:980px){
  .hero-in,.ed,.ed.rev,.pfgrid,.whygrid,.twin,.ctgrid{grid-template-columns:1fr}
  .ed.rev .ed-photo{order:0}
  .ed-photo img{aspect-ratio:16/11}
  .pf-photo,.why-photo{position:static}
  .pf-photo img{aspect-ratio:16/10}
  .why-photo img{aspect-ratio:16/10}
  .ct-info{min-height:0}
  .wave-box{height:auto;padding:230px var(--gutter) 28px;display:grid;gap:14px}
  .wave-box canvas{height:240px;inset:0 0 auto 0}
  .pop{position:relative;inset:auto!important;max-width:none}
}
@media (max-width:900px){
  .nav-in{height:66px}.brand img{height:40px}
  .menu{position:fixed;inset:66px 0 auto 0;background:#fff;flex-direction:column;gap:0;padding:8px var(--gutter) 24px;transform:translateY(-120%);transition:transform .35s;z-index:40;box-shadow:0 30px 50px rgba(11,53,82,.16);border-radius:0 0 var(--r) var(--r)}
  .menu.open{transform:none}
  .menu a{font:500 26px/1.2 var(--serif);padding:16px 0;border-bottom:1px solid var(--line)}
  .menu .menu-cta{display:inline-flex;justify-content:center;margin-top:18px;background:var(--navy);color:#fff;border-radius:999px;border:0;padding:16px;font:700 15px var(--sans)}
  .burger{display:block}
  .btn.ihb.nav-cta{display:none}
}
@media (max-width:760px){
  .sec{padding:72px 0}
  .figures{grid-template-columns:1fr 1fr}
  .figures>div{margin-right:0;padding:26px 16px 26px 0}
  .figures>div:nth-child(3){border-right:1px solid var(--line)}
  .figures>div:nth-child(even){border-right:0;padding-left:16px}
  .figures>div:nth-child(n+3){border-top:1px solid var(--line)}
  .figures>div:last-child{grid-column:1/-1;padding-left:0;border-top:1px solid var(--line)}
  .phead{display:none}
  .prow{grid-template-columns:34px 1fr;gap:6px 12px;padding:26px 0}
  .prow .pl{grid-column:2}
  .pa{grid-column:2;justify-items:start;padding:4px 0;transform:rotate(90deg);width:26px}
  .prow .pr{grid-column:2}
  .pf,.why-list li{grid-template-columns:40px 1fr}
  .support-items{grid-template-columns:1fr 1fr;gap:22px}
  .hb{grid-template-columns:1fr 40px}.hb span{grid-column:1/-1}.hb i{grid-column:1}
  .wave-box{padding-top:215px}
  form{grid-template-columns:1fr}
  .logos{gap:22px 36px}.logos img{height:50px}
  .hero-in{min-height:0}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}.rv,.hero-copy>*{opacity:1;transform:none}}


/* ===== retained: hero, hub, footer scene, button, menu ===== */
/* ===== footer + generative mountain scene ===== */
.foot{position:relative;isolation:isolate;overflow:hidden;color:#cfe3ef;background:radial-gradient(120% 90% at 50% 0%,#0b3552 0%,#06243a 55%,#041a2b 100%);padding:0}
.foot-scene{position:absolute;inset:0;z-index:-2;opacity:0;transition:opacity 1.4s ease}
.foot-scene.ready{opacity:1}
.foot-scene canvas{display:block;width:100%;height:100%}
.foot-scene.no-webgl{background:radial-gradient(60% 40% at 50% 100%,rgba(10,132,193,.55),transparent 70%)}
.foot-top{position:absolute;inset:0 0 auto 0;height:180px;z-index:-1;background:linear-gradient(180deg,#06243a,rgba(6,36,58,0))}
.foot::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(4,26,43,.55) 0%,rgba(4,26,43,0) 38%,rgba(4,26,43,0) 62%,rgba(4,26,43,.75) 100%)}
.foot-body{padding:120px 0 34px;min-height:760px;display:flex;flex-direction:column;justify-content:space-between;gap:70px}
.foot-hero{max-width:760px}
.eyebrow{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:#7fd0f7;margin-bottom:18px}
.foot-hero h2{font-size:clamp(34px,5.6vw,72px);color:#fff;line-height:1.05;margin-bottom:34px}
.foot-hero h2 span{display:block;color:#7fd0f7}
.btn-glass{color:#fff;border-color:rgba(255,255,255,.55);background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}
.btn-glass:hover{background:#fff;color:var(--navy);border-color:#fff}
.foot-cols{display:grid;grid-template-columns:1.4fr 1fr 1.2fr 1.1fr;gap:36px;padding:34px 30px;background:rgba(4,26,43,.55);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.12)}
.fc{display:flex;flex-direction:column;gap:9px;font-size:14px;font-style:normal}
.fc h4{font-family:var(--sans);font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#7fd0f7;margin-bottom:6px}
.fc a{color:#cfe3ef;width:fit-content;transition:color .2s,transform .2s}
.fc a:hover{color:#fff;transform:translateX(3px)}
.fc-brand p{max-width:300px;color:#9fbccd;font-size:14px}
.fc-brand img{align-self:flex-start;height:46px;width:auto;background:#fff;padding:6px 10px;border-radius:6px;margin-bottom:6px}
.foot-copy{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:12.5px;color:#8fb0c4;padding-top:2px}
@media (max-width:980px){.foot-cols{grid-template-columns:1fr 1fr}.foot-body{padding-top:90px;min-height:0}}
@media (max-width:560px){.foot-cols{grid-template-columns:1fr;padding:26px 22px}.foot-copy{flex-direction:column}}

/* hero entrance */
.hero-copy>*,.hero-art{opacity:0;transform:translateY(18px);animation:rise .9s cubic-bezier(.2,.7,.2,1) forwards}
.hero-copy h1{animation-delay:.05s}.hero-copy .lead{animation-delay:.18s}.hero-copy .hero-actions{animation-delay:.3s}.hero-art{animation-delay:.25s}
@keyframes rise{to{opacity:1;transform:none}}

/* ===== hero + vortex (dark, blends into the page) ===== */
.hero{position:relative;isolation:isolate;overflow:hidden;color:#fff;padding:72px 0 150px;background:radial-gradient(90% 70% at 78% 8%,#0d4a73 0%,#082b44 48%,#051c2e 100%)}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:200px;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(10,132,193,0) 0%,rgba(110,178,222,.45) 50%,rgba(214,234,246,.9) 80%,#fff 100%)}
.vortex{position:absolute;inset:0;z-index:-2;opacity:0;transition:opacity 1.6s ease;-webkit-mask-image:linear-gradient(180deg,#000 55%,transparent 98%);mask-image:linear-gradient(180deg,#000 55%,transparent 98%)}
.vortex.ready{opacity:1}
.vortex canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.vortex canvas[data-vx-main]{opacity:.9}
.vortex canvas[data-vx-glow]{filter:blur(7px) brightness(1.5);mix-blend-mode:screen;opacity:.9}
.hero .hero-glow{display:none}
.hero h1{color:#fff}
.hero .hl{color:#7fd0f7}
.hero .lead{color:#b7d2e3}
.hero .btn-solid{background:#1b9be0;border-color:#1b9be0;box-shadow:0 10px 30px rgba(10,132,193,.45)}
.hero .btn-solid:hover{background:#34aef0;border-color:#34aef0;transform:translateY(-1px)}
.hero .link{color:#fff;border-color:rgba(255,255,255,.35)}
.hero .link:hover{color:#7fd0f7;border-color:#7fd0f7}
.hero .art-lap{border-radius:14px;box-shadow:0 40px 90px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.14);filter:none}
.hero .art-wa{filter:drop-shadow(0 26px 34px rgba(0,0,0,.5))}
.hero .chip{background:rgba(7,38,60,.72);border-color:rgba(127,208,247,.35);color:#e3f2fb;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.hero .chip b{color:#7fd0f7}
@media (max-width:980px){.hero{padding:48px 0 120px}}

/* ===== hero hub: circular platform & services diagram ===== */
.hero-art{min-height:0;aspect-ratio:1/1;max-width:600px;width:100%;margin-inline:auto;opacity:1;animation:none}
.hub{position:relative;width:100%;height:100%;opacity:0;transform:scale(.96);animation:hubIn 1.1s .2s cubic-bezier(.2,.7,.2,1) forwards}
@keyframes hubIn{to{opacity:1;transform:none}}
.hub-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.hub-svg .ring{fill:none;stroke:rgba(127,208,247,.28);stroke-width:.25;stroke-dasharray:1.2 1.6;transform-origin:50% 50%;vector-effect:non-scaling-stroke}
.hub-svg .r1{animation:spin 60s linear infinite}
.hub-svg .r2{animation:spin 90s linear infinite reverse;stroke:rgba(127,208,247,.18)}
@keyframes spin{to{transform:rotate(360deg)}}
.hub-svg .spokes path{fill:none;stroke:rgba(127,208,247,.5);stroke-width:.3;stroke-dasharray:1.4 1.2;animation:flow 2.4s linear infinite;vector-effect:non-scaling-stroke}
@keyframes flow{to{stroke-dashoffset:-5.2}}
.hub-svg .dot{fill:#fff;filter:drop-shadow(0 0 3px #7fd0f7)}
.hub-core{position:absolute;left:50%;top:50%;width:35%;aspect-ratio:1/1;transform:translate(-50%,-50%);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:6%;
  background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.28),rgba(255,255,255,.06) 60%);border:1px solid rgba(255,255,255,.35);box-shadow:0 0 0 10px rgba(127,208,247,.08),0 0 0 22px rgba(127,208,247,.05),0 30px 80px rgba(0,0,0,.45),inset 0 0 40px rgba(127,208,247,.18);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.core-plate{background:#fff;border-radius:14px;padding:6px 10px;width:78%;box-shadow:0 8px 20px rgba(0,0,0,.25)}
.core-plate img{width:100%;height:auto}
.hub-core b{color:#fff;font-family:var(--serif);font-weight:300;font-size:clamp(12px,1.55vw,18px);line-height:1.15}
.sat{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:10px;width:max-content;max-width:46%;padding:9px 14px 9px 9px;border-radius:18px;color:#fff;
  background:rgba(7,38,60,.72);border:1px solid rgba(127,208,247,.38);box-shadow:0 14px 34px rgba(0,0,0,.35);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  animation:bob 6s ease-in-out var(--d) infinite;transition:border-color .25s,background .25s,box-shadow .25s}
.sat:hover{background:rgba(10,132,193,.45);border-color:#9fd6f3;box-shadow:0 18px 40px rgba(10,132,193,.45);z-index:3}
@keyframes bob{50%{transform:translate(-50%,calc(-50% - 7px))}}
.si{flex:none;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#2aa6e6,#0A84C1);box-shadow:0 6px 14px rgba(10,132,193,.5)}
.si svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.st{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.st b{font-size:13.5px;font-weight:600}
.st small{font-size:11.5px;color:#a9c9dc;margin-top:2px}
@media (max-width:1100px){.st small{display:none}.st b{font-size:13px}.sat{padding:8px 13px 8px 8px}}
@media (max-width:980px){.hero-art{max-width:520px}}
@media (max-width:560px){
  .hero-art{max-width:400px}
  .sat{flex-direction:column;gap:6px;padding:9px 8px;max-width:30%;text-align:center;border-radius:16px}
  .st b{font-size:10.5px;line-height:1.2}
  .si{width:32px;height:32px;border-radius:10px}.si svg{width:17px;height:17px}
  .hub-core{width:38%;gap:5px}.hub-core b{font-size:11px}
}
@media (prefers-reduced-motion:reduce){.hub,.sat,.hub-svg .ring,.hub-svg .spokes path{animation:none!important;opacity:1;transform:none}.sat{transform:translate(-50%,-50%)!important}.hub-svg .dot{display:none}}
.hub-svg .ring{stroke-width:1.2;stroke:rgba(127,208,247,.4);stroke-dasharray:3 7}
.hub-svg .r2{stroke:rgba(127,208,247,.25)}
.hub-svg .spokes path{stroke-width:1.6;stroke:rgba(127,208,247,.7);stroke-dasharray:5 6}
@keyframes flow{to{stroke-dashoffset:-22}}
.hub-svg .dot{r:1.1}
.nav-cta{white-space:nowrap}
@media (max-width:900px){
  .nav-in{height:64px}.brand img{height:40px}
  .menu{position:fixed;inset:64px 0 auto 0;background:#fff;flex-direction:column;gap:0;padding:10px var(--gutter) 22px;transform:translateY(-120%);transition:transform .3s;z-index:40;box-shadow:0 24px 40px rgba(11,53,82,.14);border-radius:0 0 var(--r) var(--r)}
  .menu.open{transform:none}
  .menu a{font-size:17px;padding:16px 0;border-bottom:1px solid var(--tint)}
  .menu .menu-cta{display:inline-flex;justify-content:center;margin-top:16px;background:var(--p);color:#fff;border-radius:999px;border:0;padding:15px}
  .burger{display:block}.nav-cta{display:none}
}

/* ===== smooth blue gradient (eased stops + grain to avoid banding) ===== */
.hero{background:radial-gradient(70% 55% at 80% 6%,rgba(30,120,190,.5),rgba(30,120,190,0) 70%),radial-gradient(60% 50% at 10% 0%,rgba(13,74,115,.65),rgba(13,74,115,0) 70%),linear-gradient(180deg,#082b44 0%,#082b44 46%,rgb(8,43,68) 46.0%,rgb(8,43,69) 50.5%,rgb(8,48,75) 55.0%,rgb(10,59,93) 59.5%,rgb(11,72,114) 64.0%,rgb(23,89,134) 68.5%,rgb(58,136,189) 73.0%,rgb(92,161,208) 77.5%,rgb(174,210,235) 82.0%,rgb(198,224,241) 86.5%,rgb(236,245,251) 91.0%,rgb(253,254,255) 95.5%,rgb(255,255,255) 100.0%)}
.hero::after{inset:0;height:auto;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");opacity:.08;mix-blend-mode:soft-light;z-index:-1;pointer-events:none}
.vortex{-webkit-mask-image:linear-gradient(180deg,#000 0%,#000 52%,rgba(0,0,0,.6) 66%,rgba(0,0,0,.25) 78%,transparent 90%);mask-image:linear-gradient(180deg,#000 0%,#000 52%,rgba(0,0,0,.6) 66%,rgba(0,0,0,.25) 78%,transparent 90%)}

/* ===== Interactive hover button (dot expands, label slides, arrow in) ===== */
.btn.ihb{position:relative;overflow:hidden;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;min-width:176px;height:50px;padding:0 28px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:600;box-shadow:none;cursor:pointer;white-space:nowrap}
.btn.ihb:hover{transform:none;box-shadow:0 12px 28px rgba(10,132,193,.28)}
.ihb-t{display:inline-block;transform:translateX(4px);transition:transform .3s ease,opacity .3s ease}
.ihb-h{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;opacity:0;transform:translateX(48px);transition:transform .3s ease,opacity .3s ease}
.ihb-h svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ihb-dot{position:absolute;z-index:1;left:20%;top:40%;width:8px;height:8px;border-radius:999px;background:var(--p);transform:scale(1);transition:left .3s ease,top .3s ease,width .3s ease,height .3s ease,transform .3s ease}
.ihb:hover .ihb-t,.ihb:focus-visible .ihb-t{transform:translateX(48px);opacity:0}
.ihb:hover .ihb-h,.ihb:focus-visible .ihb-h{transform:translateX(-4px);opacity:1}
.ihb:hover .ihb-dot,.ihb:focus-visible .ihb-dot{left:0;top:0;width:100%;height:100%;transform:scale(1.8)}
.ihb-nav{border-color:rgba(10,132,193,.45);color:var(--pd)}
.ihb-hero,.hero .btn.ihb{background:#fff;border-color:transparent;color:var(--ink);height:54px;min-width:196px;font-size:16px;box-shadow:0 14px 34px rgba(0,0,0,.28)}
.hero .btn.ihb:hover{box-shadow:0 16px 40px rgba(10,132,193,.55)}
.hero .btn.ihb .ihb-dot{background:#1b9be0}
.ihb-foot,.foot .btn.ihb{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.5);color:#fff;height:54px;min-width:196px;font-size:16px;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.foot .btn.ihb .ihb-dot{background:#7fd0f7}
.foot .btn.ihb .ihb-h{color:#06243a}
.foot .btn.ihb:hover{background:rgba(255,255,255,.1);color:#fff}
@media (max-width:760px){.hero-actions .btn.ihb{flex:1 1 auto}}
@media (hover:none){.ihb-dot{left:14%}}
@media (prefers-reduced-motion:reduce){.ihb-t,.ihb-h,.ihb-dot{transition:none}}

/* ===== v4: ultra-smooth hero gradient (64 OKLab stops, smootherstep) ===== */
.hero{background:radial-gradient(70% 50% at 82% 4%,rgba(30,120,190,.42),rgba(30,120,190,0) 72%),radial-gradient(60% 46% at 8% 0%,rgba(13,74,115,.55),rgba(13,74,115,0) 72%),linear-gradient(180deg,#082b44 0%,#082b44 42%,rgb(8,43,68) 42.00%,rgb(8,43,68) 42.91%,rgb(8,43,68) 43.81%,rgb(8,43,68) 44.72%,rgb(8,43,68) 45.62%,rgb(8,43,68) 46.53%,rgb(8,44,69) 47.44%,rgb(8,44,69) 48.34%,rgb(8,44,70) 49.25%,rgb(8,45,71) 50.16%,rgb(8,46,72) 51.06%,rgb(8,47,74) 51.97%,rgb(8,48,76) 52.88%,rgb(8,49,78) 53.78%,rgb(8,51,81) 54.69%,rgb(8,53,84) 55.59%,rgb(8,56,88) 56.50%,rgb(8,58,92) 57.41%,rgb(8,62,98) 58.31%,rgb(9,65,103) 59.22%,rgb(9,69,109) 60.12%,rgb(10,73,115) 61.03%,rgb(11,78,122) 61.94%,rgb(13,82,128) 62.84%,rgb(15,87,134) 63.75%,rgb(17,91,141) 64.66%,rgb(20,96,148) 65.56%,rgb(23,102,155) 66.47%,rgb(26,107,162) 67.38%,rgb(31,113,170) 68.28%,rgb(36,119,177) 69.19%,rgb(44,125,184) 70.09%,rgb(52,132,190) 71.00%,rgb(62,139,196) 71.91%,rgb(72,146,201) 72.81%,rgb(83,154,206) 73.72%,rgb(95,161,211) 74.62%,rgb(106,169,215) 75.53%,rgb(118,176,219) 76.44%,rgb(129,183,223) 77.34%,rgb(140,190,227) 78.25%,rgb(150,196,230) 79.16%,rgb(160,202,233) 80.06%,rgb(171,209,236) 80.97%,rgb(182,215,239) 81.88%,rgb(192,220,242) 82.78%,rgb(202,226,244) 83.69%,rgb(210,231,246) 84.59%,rgb(218,235,248) 85.50%,rgb(225,239,249) 86.41%,rgb(232,242,250) 87.31%,rgb(237,245,251) 88.22%,rgb(241,247,252) 89.12%,rgb(244,249,253) 90.03%,rgb(247,251,253) 90.94%,rgb(249,252,254) 91.84%,rgb(251,253,254) 92.75%,rgb(252,254,254) 93.66%,rgb(253,254,255) 94.56%,rgb(254,254,255) 95.47%,rgb(255,255,255) 96.38%,rgb(255,255,255) 97.28%,rgb(255,255,255) 98.19%,rgb(255,255,255) 99.09%,rgb(255,255,255) 100.00%);padding-bottom:clamp(200px,22vw,280px)}
.vortex{-webkit-mask-image:linear-gradient(180deg,#000 0%,#000 48%,rgba(0,0,0,1.000) 48.0%,rgba(0,0,0,0.999) 50.2%,rgba(0,0,0,0.991) 52.4%,rgba(0,0,0,0.973) 54.6%,rgba(0,0,0,0.942) 56.8%,rgba(0,0,0,0.896) 59.0%,rgba(0,0,0,0.837) 61.2%,rgba(0,0,0,0.765) 63.4%,rgba(0,0,0,0.683) 65.6%,rgba(0,0,0,0.593) 67.8%,rgba(0,0,0,0.500) 70.0%,rgba(0,0,0,0.407) 72.2%,rgba(0,0,0,0.317) 74.4%,rgba(0,0,0,0.235) 76.6%,rgba(0,0,0,0.163) 78.8%,rgba(0,0,0,0.104) 81.0%,rgba(0,0,0,0.058) 83.2%,rgba(0,0,0,0.027) 85.4%,rgba(0,0,0,0.009) 87.6%,rgba(0,0,0,0.001) 89.8%,rgba(0,0,0,0.000) 92.0%,transparent 100%);mask-image:linear-gradient(180deg,#000 0%,#000 48%,rgba(0,0,0,1.000) 48.0%,rgba(0,0,0,0.999) 50.2%,rgba(0,0,0,0.991) 52.4%,rgba(0,0,0,0.973) 54.6%,rgba(0,0,0,0.942) 56.8%,rgba(0,0,0,0.896) 59.0%,rgba(0,0,0,0.837) 61.2%,rgba(0,0,0,0.765) 63.4%,rgba(0,0,0,0.683) 65.6%,rgba(0,0,0,0.593) 67.8%,rgba(0,0,0,0.500) 70.0%,rgba(0,0,0,0.407) 72.2%,rgba(0,0,0,0.317) 74.4%,rgba(0,0,0,0.235) 76.6%,rgba(0,0,0,0.163) 78.8%,rgba(0,0,0,0.104) 81.0%,rgba(0,0,0,0.058) 83.2%,rgba(0,0,0,0.027) 85.4%,rgba(0,0,0,0.009) 87.6%,rgba(0,0,0,0.001) 89.8%,rgba(0,0,0,0.000) 92.0%,transparent 100%)}

/* ===== Magnetize menu: dark-blue particles are pulled into the hovered link ===== */
@media (min-width:901px){
  .menu{gap:8px}
  .menu a:not(.menu-cta){position:relative;padding:9px 16px;border-radius:999px;border-bottom:0;isolation:isolate;touch-action:none;transition:color .25s,background-color .3s}
  .menu a:not(.menu-cta).on{color:var(--pd);background:rgba(10,132,193,.1)}
  .menu a:not(.menu-cta):hover,.menu a:not(.menu-cta).att{color:var(--navy);background:rgba(11,53,82,.07)}
  .menu a.on:hover{color:var(--pd)}
  .mg-dot{position:absolute;left:50%;top:50%;z-index:-1;width:6px;height:6px;border-radius:50%;background:var(--navy);pointer-events:none;
    transform:translate(calc(-50% + var(--x,0px)),calc(-50% + var(--y,0px))) scale(1);opacity:.4;
    transition:transform .55s cubic-bezier(.3,1.35,.5,1),opacity .3s}
  .menu a.att .mg-dot{--x:0px!important;--y:0px!important;opacity:1;transform:translate(-50%,-50%) scale(.55);transition:transform .6s cubic-bezier(.3,1.35,.5,1),opacity .35s .42s}
  .menu a.att .mg-dot{opacity:0}
}
@media (prefers-reduced-motion:reduce){.mg-dot{display:none}}
@media (min-width:901px){
  .mg-dot{opacity:0;background:var(--navy);transition:transform .5s cubic-bezier(.3,1.35,.5,1)}
  .menu a.att .mg-dot{--x:0px!important;--y:0px!important;transform:translate(-50%,-50%) scale(.6);transition:transform .62s cubic-bezier(.3,1.35,.5,1);animation:mgfade .8s ease forwards}
}
@keyframes mgfade{0%{opacity:1}72%{opacity:1}100%{opacity:0}}


/* ===== refinements ===== */
h1,h2,h3,h4,.fig,.pn,.pf h3,summary,.vision{font-variant-numeric:lining-nums;font-feature-settings:"lnum" 1,"kern" 1}
.hero h1{font-size:clamp(44px,5.4vw,80px);line-height:1;max-width:11em}
@media (min-width:981px){.hero-in{grid-template-columns:1.1fr 1fr}}
@media (max-width:980px){.hero-in{grid-template-columns:1fr}.hero h1{max-width:none}}
/* hub chips: quieter, flatter */
.sat{background:rgba(6,36,58,.78);border:1px solid rgba(255,255,255,.22);border-radius:14px;box-shadow:0 16px 40px rgba(0,0,0,.28)}
.sat:hover{background:rgba(6,36,58,.92);border-color:var(--sky);box-shadow:0 18px 44px rgba(0,0,0,.4)}
.si{background:transparent;border:1px solid rgba(127,208,247,.55);box-shadow:none;border-radius:50%}
.si svg{stroke:var(--sky)}
.st b{font-family:var(--sans);font-weight:700}
.hub-core b{font-family:var(--serif);font-weight:500;font-size:clamp(14px,1.7vw,21px);line-height:1.1}
.hub-core{background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.2),rgba(255,255,255,.04) 60%);box-shadow:0 0 0 10px rgba(127,208,247,.06),0 30px 80px rgba(0,0,0,.4)}
.hero .btn.ihb{box-shadow:none}
.hero .btn.ihb:hover{box-shadow:none}
.nav-cta{height:46px}
/* nav pill hover remains subtle */
.menu a:not(.menu-cta){font-weight:600}
@media (max-width:760px){
  .hero-actions .btn.ihb{flex:0 0 auto;min-width:188px}
  .ihb-dot{left:15%}
}
