*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#142033;background:#fff;line-height:1.5;-webkit-font-smoothing:antialiased}
img,svg{display:block}
a{color:#0B7A6E}
a:hover{color:#075A51}
h1,h2,h3{font-family:"Space Grotesk",Inter,sans-serif;margin:0;letter-spacing:-.02em}
p{margin:0}
:focus-visible{outline:3px solid #3DDCC4;outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-999px;top:8px;background:#3DDCC4;color:#0B1626;padding:10px 16px;border-radius:8px;z-index:100}
.skip:focus{left:8px}
.wrap{max-width:1240px;margin:0 auto;padding:0 32px}
.eyebrow{font-size:14px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#0B7A6E}
.dark .eyebrow{color:#3DDCC4}
.muted{color:#4B5870}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:999px;font-weight:600;font-size:16px;text-decoration:none;border:0;cursor:pointer;font-family:inherit;transition:transform .15s ease,background .15s ease}
.btn:hover{transform:translateY(-1px)}
.btn-accent{background:#3DDCC4;color:#0B1626}
.btn-accent:hover{background:#5BE6D1;color:#0B1626}
.btn-dark{background:#0B1626;color:#fff}
.btn-dark:hover{background:#16263F;color:#fff}
.btn-ghost{border:1px solid #3A4F72;color:#fff;font-weight:500}
.btn-ghost:hover{background:#16263F;color:#fff}

/* header */
.site-header{background:#0B1626;border-bottom:1px solid #1C2B45;position:sticky;top:0;z-index:50}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff}
.brand:hover{color:#fff}
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-name{font-family:"Space Grotesk",sans-serif;font-weight:700;font-size:21px;letter-spacing:-.02em}
.brand-sub{font-size:10.5px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:#9DAECB;padding-top:4px}
.nav{display:flex;align-items:center;gap:4px}
.nav a{padding:10px 14px;border-radius:999px;text-decoration:none;color:#C3CFE2;font-weight:500;font-size:15px}
.nav a:hover{color:#fff;background:#16263F}
.nav a[aria-current="page"]{color:#fff;background:#16263F}
.nav a.btn{color:#0B1626;background:#3DDCC4}
.nav .btn{margin-left:10px;min-height:44px;padding:0 20px;font-size:15px}
.nav .btn:hover{background:#5BE6D1;color:#0B1626}
.menu-btn{display:none;background:none;border:1px solid #2A3D5E;border-radius:10px;width:44px;height:44px;align-items:center;justify-content:center;cursor:pointer}
@media (max-width:860px){
.menu-btn{display:flex}
.nav{display:none;position:absolute;left:0;right:0;top:76px;background:#0B1626;border-bottom:1px solid #1C2B45;flex-direction:column;align-items:stretch;padding:12px 24px 20px}
.nav.open{display:flex}
.nav a{padding:14px 12px}
.nav .btn{margin:8px 0 0}
}

/* hero */
.dark{background:#0B1626;color:#fff}
.grid-bg{background-color:#0B1626;background-image:linear-gradient(#132239 1px,transparent 1px),linear-gradient(90deg,#132239 1px,transparent 1px);background-size:56px 56px}
.hero{padding:96px 0 112px}
.hero .wrap{display:flex;flex-wrap:wrap;gap:64px;align-items:center}
.hero-copy{flex:1 1 540px;min-width:0;display:flex;flex-direction:column;gap:28px}
.pill{align-self:flex-start;display:inline-flex;align-items:center;gap:10px;padding:8px 16px;border:1px solid #2A3D5E;border-radius:999px;background:#0F1D33;font-size:14px;color:#C3CFE2}
.dot{width:8px;height:8px;border-radius:50%;background:#3DDCC4}
.hero h1{font-size:clamp(40px,6vw,68px);line-height:1.02;letter-spacing:-.035em;font-weight:700}
.accent{color:#3DDCC4}
.lead{font-size:clamp(17px,2vw,20px);line-height:1.6;color:#B5C3D9;max-width:600px}
.actions{display:flex;flex-wrap:wrap;gap:12px}
.flow{flex:1 1 420px;min-width:0;background:#0F1D33;border:1px solid #22324D;border-radius:24px;padding:28px;display:flex;flex-direction:column;gap:18px}
.flow-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.flow-head p{font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#9DAECB}
.tag{font-size:12px;padding:5px 10px;border-radius:999px;background:#123A3A;color:#7FF0DD}
.flow-cols{display:flex;flex-wrap:wrap;gap:10px}
.flow-col{flex:1 1 110px;min-width:0;display:flex;flex-direction:column;gap:8px}
.flow-col p{font-size:12px;color:#8E9FBC}
.chip{padding:10px 12px;border-radius:10px;background:#16263F;font-size:14px}
.chip.s2{background:#1E2E48}.chip.s3{background:#2A3D5E}.chip.s4{background:#3DDCC4;color:#0B1626;font-weight:600}
.flow-foot{display:flex;flex-wrap:wrap;gap:10px;border-top:1px solid #22324D;padding-top:16px;font-size:13px;color:#9DAECB}

.page-hero{padding:88px 0 96px}
.page-hero .wrap{display:flex;flex-direction:column;gap:22px}
.page-hero h1{font-size:clamp(38px,5vw,60px);line-height:1.04;letter-spacing:-.035em;max-width:900px}

/* sections */
.section{padding:112px 0}
.section.tight{padding:96px 0}
.alt{background:#F3F5F9}
.head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:48px}
.head-copy{flex:1 1 520px;min-width:0;display:flex;flex-direction:column;gap:14px;max-width:760px}
.h2{font-size:clamp(32px,4vw,46px);line-height:1.08;letter-spacing:-.025em}
.link-arrow{font-weight:600;font-size:16px}

.bento{display:flex;flex-wrap:wrap;gap:20px}
.tile{flex:1 1 300px;min-width:0;text-decoration:none;color:#142033;background:#F3F5F9;border-radius:24px;padding:32px;display:flex;flex-direction:column;gap:10px;transition:transform .2s ease,box-shadow .2s ease}
.tile:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(11,22,38,.08);color:#142033}
.tile h3{font-size:22px;font-weight:600}
.tile p{font-size:15px;line-height:1.6;color:#4B5870}
.tile.big{flex:2 1 520px;min-height:280px;background:#0B1626;color:#fff;justify-content:space-between;padding:36px}
.tile.big:hover{color:#fff}
.tile.big h3{font-size:30px}
.tile.big p{font-size:17px;color:#B5C3D9;max-width:560px}
.tile.mint{min-height:280px;background:#EAFBF7;justify-content:flex-end;padding:36px}
.tile.mint h3{font-size:26px}
.tile.mint p{font-size:16px;color:#3F4D63}

.split{display:flex;flex-wrap:wrap;gap:64px;align-items:flex-start}
.split > *{flex:1 1 420px;min-width:0}
.stack{display:flex;flex-direction:column;gap:16px}
.steps{display:flex;flex-direction:column;gap:12px}
.step{background:#fff;border-radius:18px;padding:24px 28px;display:flex;gap:20px;align-items:flex-start}
.step-num{font-family:"Space Grotesk",sans-serif;font-weight:700;font-size:18px;color:#0B7A6E;min-width:32px}
.step strong{display:block;font-size:18px;margin-bottom:4px}
.step span{font-size:15px;line-height:1.6;color:#4B5870}

.cards{display:flex;flex-wrap:wrap;gap:20px}
.card{flex:1 1 460px;min-width:0;text-decoration:none;color:#142033;border:1px solid #E1E6EE;border-radius:24px;padding:36px;display:flex;flex-direction:column;gap:14px;transition:border-color .2s ease}
a.card:hover{border-color:#3DDCC4;color:#142033}
.card .k{font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#0B7A6E}
.card h3{font-size:26px;font-weight:600}
.card p{font-size:16px;line-height:1.6;color:#4B5870}

.cta{padding:0 32px 112px}
.cta-box{max-width:1176px;margin:0 auto;background:#3DDCC4;border-radius:28px;padding:64px 56px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:28px}
.cta-box.navy{background:#0B1626}
.cta-box h2{flex:1 1 480px;min-width:0;font-size:clamp(28px,3.5vw,42px);line-height:1.1;letter-spacing:-.025em;color:#0B1626}
.cta-box.navy h2{color:#fff}
.cta-box p{color:#10302C;font-size:18px;margin-top:10px}
@media (max-width:600px){.cta-box{padding:40px 28px}.wrap{padding:0 20px}.cta{padding:0 20px 80px}.section{padding:80px 0}}

/* services */
.svc{border:1px solid #E1E6EE;border-radius:24px;padding:40px;display:flex;flex-wrap:wrap;gap:32px 56px;margin-bottom:20px}
.svc > div{flex:1 1 380px;min-width:0}
.svc-num{font-family:"Space Grotesk",sans-serif;font-weight:700;font-size:16px;color:#0B7A6E}
.svc h2{font-size:30px;line-height:1.15;margin:12px 0}
.svc p{font-size:17px;line-height:1.6;color:#4B5870}
.deliv{background:#F3F5F9;border-radius:18px;padding:28px;display:flex;flex-direction:column;gap:12px}
.deliv .label{font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#4B5870}
.deliv ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.deliv li{display:flex;gap:12px;align-items:flex-start;font-size:16px;line-height:1.5}
.deliv li svg{flex:none;margin-top:2px}
.models{display:flex;flex-wrap:wrap;gap:20px}
.model{flex:1 1 300px;min-width:0;background:#fff;border-radius:22px;padding:32px;display:flex;flex-direction:column;gap:12px}
.model h3{font-size:22px}
.model p{font-size:16px;line-height:1.6;color:#4B5870}

/* work */
.case{border:1px solid #E1E6EE;border-radius:28px;overflow:hidden;display:flex;flex-wrap:wrap;margin-bottom:28px}
.case-side{flex:1 1 360px;min-width:0;background:#0B1626;color:#fff;padding:44px;display:flex;flex-direction:column;gap:18px}
.case-side .tag{align-self:flex-start;font-size:13px;padding:6px 12px}
.case-side h2{font-size:32px;line-height:1.15}
.case-side p{font-size:15px;line-height:1.6;color:#9DAECB}
.case-body{flex:2 1 520px;min-width:0;padding:44px;display:flex;flex-direction:column;gap:24px}
.case-body .k{font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#0B7A6E;margin-bottom:6px}
.case-body p{font-size:17px;line-height:1.6;color:#3F4D63}
.outcome{background:#EAFBF7;border-radius:16px;padding:20px 22px}
.outcome p:last-child{font-weight:600;color:#142033}

/* about */
.facts{background:#F3F5F9;border-radius:24px;padding:32px;display:flex;flex-direction:column;gap:18px}
.facts dl{margin:0;display:flex;flex-direction:column;gap:16px}
.facts dt{font-size:14px;color:#4B5870}
.facts dd{margin:2px 0 0;font-size:16px;font-weight:600}
.prose p{font-size:18px;line-height:1.7;color:#3F4D63}
.values{display:flex;flex-wrap:wrap;gap:20px}
.value{flex:1 1 260px;min-width:0;background:#fff;border-radius:22px;padding:30px;display:flex;flex-direction:column;gap:10px}
.value h3{font-size:21px}
.value p{font-size:15px;line-height:1.6;color:#4B5870}
.leader{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.avatar{flex:0 0 200px;height:200px;border-radius:28px;background:#0B1626;display:flex;align-items:center;justify-content:center;font-family:"Space Grotesk",sans-serif;font-size:60px;font-weight:700;color:#3DDCC4}
.leader-copy{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:14px}
.leader-copy h2{font-size:clamp(28px,3vw,36px)}
.leader-copy p{font-size:17px;line-height:1.7;color:#3F4D63}
.creds{padding:64px 0}
.creds .wrap{display:flex;flex-wrap:wrap;gap:32px}
.creds .wrap > div{flex:1 1 260px;min-width:0;display:flex;flex-direction:column;gap:6px}
.creds strong{font-family:"Space Grotesk",sans-serif;font-size:20px;font-weight:600}
.creds span{font-size:15px;line-height:1.6;color:#9DAECB}

/* contact */
.contact-grid{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start}
.form{flex:3 1 520px;min-width:0;border:1px solid #E1E6EE;border-radius:28px;padding:40px;display:flex;flex-direction:column;gap:20px}
.row{display:flex;flex-wrap:wrap;gap:20px}
.field{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:8px}
.field label{font-size:14px;font-weight:600}
.field input,.field select,.field textarea{min-height:52px;padding:12px 16px;border:1px solid #C5CEDB;border-radius:12px;font-size:16px;font-family:inherit;background:#fff;color:#142033}
.field textarea{resize:vertical;min-height:150px}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#0B7A6E;outline:2px solid #3DDCC4;outline-offset:0}
.hp{position:absolute;left:-9999px}
.note{font-size:13px;line-height:1.6;color:#4B5870}
.status{border-radius:16px;padding:18px 20px;font-weight:600}
.status.ok{background:#EAFBF7}
.status.err{background:#FDECEC;color:#8A1C1C}
.side{flex:2 1 320px;min-width:0;display:flex;flex-direction:column;gap:16px}
.side-card{border-radius:24px;padding:32px;display:flex;flex-direction:column;gap:18px}
.side-card .k{font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#9DAECB}
.side-card.light .k{color:#4B5870}
.side-card small{display:block;font-size:14px;color:#9DAECB;margin-bottom:4px}
.side-card .big{font-size:18px;font-weight:600;text-decoration:none}

/* legal */
.legal{max-width:860px;margin:0 auto;padding:72px 32px 96px;display:flex;flex-direction:column;gap:36px}
.legal h2{font-size:26px;margin-bottom:10px}
.legal p{font-size:17px;line-height:1.75;color:#3F4D63}

/* footer */
.site-footer{background:#0B1626;color:#C3CFE2}
.site-footer .wrap{padding-top:64px;padding-bottom:36px;display:flex;flex-direction:column;gap:40px}
.foot-cols{display:flex;flex-wrap:wrap;gap:40px}
.foot-cols > div{flex:1 1 160px;min-width:0;display:flex;flex-direction:column;gap:12px;font-size:15px}
.foot-cols > .about{flex:2 1 300px}
.foot-cols .about p{max-width:340px;line-height:1.6;color:#9DAECB}
.foot-cols h2{font-family:Inter,sans-serif;font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#fff;margin:0}
.foot-cols a{color:#C3CFE2;text-decoration:none}
.foot-cols a:hover{color:#fff}
.foot-cols a.mail{color:#3DDCC4}
.legal-line{border-top:1px solid #1C2B45;padding-top:24px;display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:1.7;color:#8E9FBC}

/* ---------- motion ---------- */
.progress{position:fixed;top:0;left:0;right:0;height:3px;background:#3DDCC4;transform:scaleX(0);transform-origin:0 50%;z-index:60;pointer-events:none}
.site-header{transition:background .3s ease,box-shadow .3s ease}
.site-header .wrap{transition:min-height .3s ease}
.site-header.scrolled{background:rgba(11,22,38,.88);-webkit-backdrop-filter:saturate(140%) blur(12px);backdrop-filter:saturate(140%) blur(12px);box-shadow:0 10px 30px rgba(0,0,0,.25)}
.site-header.scrolled .wrap{min-height:64px}
.motion-ready .rv{opacity:0;transition:opacity 1s cubic-bezier(.2,.7,.2,1) var(--d,0s),transform 1s cubic-bezier(.2,.7,.2,1) var(--d,0s);will-change:transform,opacity}
.motion-ready .rv-up{transform:translateY(42px)}
.motion-ready .rv-left{transform:translateX(-48px)}
.motion-ready .rv-right{transform:translateX(48px)}
.motion-ready .rv-zoom{transform:scale(.92)}
.motion-ready .rv.in{opacity:1;transform:none}
.motion-ready [data-split] .w{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.08em;margin-bottom:-.08em}
.motion-ready [data-split] .wi{display:inline-block;transform:translateY(105%);transition:transform .9s cubic-bezier(.2,.75,.2,1)}
.motion-ready [data-split].in .wi{transform:none}

/* hero streams */
.hero,.page-hero{position:relative;overflow:hidden}
.hero .wrap,.page-hero .wrap{position:relative;z-index:1}
.streams{position:absolute;right:-8%;bottom:-12%;width:78%;height:120%;pointer-events:none;opacity:.55;z-index:0}
.page-hero .streams{width:60%;opacity:.4}
.streams path{fill:none;stroke-width:1.4;stroke-linecap:round;stroke-dasharray:420 1600;animation:stream 9s linear infinite}
.streams path:nth-child(2n){animation-duration:12s;stroke-dasharray:260 1400}
.streams path:nth-child(3n){animation-duration:15s;animation-delay:-4s}
.streams path:nth-child(4n){animation-delay:-7s}
@keyframes stream{from{stroke-dashoffset:2000}to{stroke-dashoffset:0}}
.glow{position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(61,220,196,.16),rgba(61,220,196,0) 65%);top:-160px;right:8%;pointer-events:none;animation:drift 14s ease-in-out infinite alternate;z-index:0}
@keyframes drift{from{transform:translate(0,0)}to{transform:translate(-120px,80px)}}

/* flow card live */
.flow .chip{transition:background .4s ease,color .4s ease,box-shadow .4s ease}
.flow.in .chip{animation:pulse 4.8s ease-in-out infinite}
.flow.in .flow-col:nth-child(1) .chip:nth-child(2){animation-delay:0s}
.flow.in .flow-col:nth-child(1) .chip:nth-child(3){animation-delay:.2s}
.flow.in .flow-col:nth-child(1) .chip:nth-child(4){animation-delay:.4s}
.flow.in .flow-col:nth-child(2) .chip:nth-child(2){animation-delay:1.2s}
.flow.in .flow-col:nth-child(2) .chip:nth-child(3){animation-delay:1.5s}
.flow.in .flow-col:nth-child(2) .chip:nth-child(4){animation:none;box-shadow:0 0 0 0 rgba(61,220,196,.6);animation:gold 4.8s ease-out 1.8s infinite}
.flow.in .flow-col:nth-child(3) .chip:nth-child(2){animation-delay:2.6s}
.flow.in .flow-col:nth-child(3) .chip:nth-child(3){animation-delay:2.8s}
.flow.in .flow-col:nth-child(3) .chip:nth-child(4){animation-delay:3s}
@keyframes pulse{0%,100%{box-shadow:inset 0 0 0 1px rgba(61,220,196,0)}8%{box-shadow:inset 0 0 0 1px rgba(61,220,196,.9);color:#7FF0DD}20%{box-shadow:inset 0 0 0 1px rgba(61,220,196,0)}}
@keyframes gold{0%{box-shadow:0 0 0 0 rgba(61,220,196,.55)}25%{box-shadow:0 0 0 12px rgba(61,220,196,0)}100%{box-shadow:0 0 0 0 rgba(61,220,196,0)}}
.tag{position:relative}
.flow .tag::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#3DDCC4;margin-right:6px;vertical-align:middle;animation:blink 1.6s ease-in-out infinite}
@keyframes blink{50%{opacity:.25}}
.dot{animation:blink 1.6s ease-in-out infinite}

/* marquee */
.marquee{background:#F3F5F9;border-bottom:1px solid #E1E6EE;overflow:hidden;padding:22px 0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.marquee-track{display:flex;gap:14px;width:max-content;animation:marquee 38s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee span{flex:none;padding:10px 18px;border-radius:999px;background:#fff;border:1px solid #DCE2EA;font-size:15px;font-weight:500;color:#142033;white-space:nowrap}
.marquee span.hl{background:#0B1626;color:#fff;border-color:#0B1626}
@keyframes marquee{to{transform:translateX(-50%)}}

/* hover spotlight + lift */
.spot{position:relative;overflow:hidden;isolation:isolate}
.spot::after{content:"";position:absolute;inset:0;background:radial-gradient(420px circle at var(--mx,50%) var(--my,50%),rgba(61,220,196,.16),transparent 45%);opacity:0;transition:opacity .35s ease;pointer-events:none;z-index:-1}
.spot:hover::after{opacity:1}
.svc,.model,.value,.case{transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease}
.svc:hover,.case:hover{border-color:#BFEFE6;box-shadow:0 18px 44px rgba(11,22,38,.08)}
.model:hover,.value:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(11,22,38,.08)}
.tile.big .tag,.tile h3{transition:transform .35s ease}
.tile:hover h3{transform:translateX(4px)}
.link-arrow{display:inline-block;transition:transform .25s ease}
.link-arrow:hover{transform:translateX(5px)}
.btn{position:relative;overflow:hidden}
.btn::before{content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent);transform:skewX(-20deg);transition:left .6s ease}
.btn:hover::before{left:120%}

/* steps progress line */
.steps{position:relative;padding-left:22px}
.steps::before,.steps::after{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:3px;background:#DCE2EA}
.steps::after{background:#3DDCC4;transform-origin:top;transform:scaleY(var(--fill,0));transition:transform .15s linear}
.step{transition:transform .35s ease,box-shadow .35s ease}
.step:hover{transform:translateX(6px);box-shadow:0 12px 28px rgba(11,22,38,.07)}

/* page load */
@keyframes pagein{from{opacity:0}to{opacity:1}}
main{animation:pagein .5s ease both}
.no-motion .streams path,.no-motion .glow,.no-motion .marquee-track{animation:none}
@media (max-width:860px){.streams{width:140%;right:-40%;opacity:.35}.glow{width:360px;height:360px}}

/* prevent sideways scroll from slide-in animations */
main,.site-footer{overflow-x:hidden;overflow-x:clip}
