:root{box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);--brand-red:#D62839;--brand-sky:#0C7AD8;--brand-light:#EAF5FF;--brand-navy:#0A2342}
html{scroll-behavior:smooth;scroll-padding-top:calc(5rem + env(safe-area-inset-top,0px))}
body{background:#f9fbff;color:#1e293b}
.card{transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-4px);box-shadow:0 12px 28px -10px rgba(10,35,66,.25)}
.btn-red{background:var(--brand-red);color:#fff;box-shadow:0 10px 24px rgba(214,40,57,.25);transition:transform .2s ease, box-shadow .2s ease, filter .2s ease}.btn-red:hover{background:#b81f2e;transform:translateY(-2px);box-shadow:0 16px 28px rgba(214,40,57,.32);filter:saturate(1.08)}
:focus-visible{outline:3px solid var(--brand-sky);outline-offset:2px}

section[id]{animation:sectionFade .8s ease both}
@keyframes sectionFade{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}

header nav a,header nav button,.card,.client-item,.btn-red,.scene,.chip{transition:transform .25s ease, box-shadow .25s ease, opacity .25s ease}

.client-item:hover{transform:perspective(900px) rotateX(8deg) rotateY(-8deg) translateY(-4px) scale(1.01);box-shadow:0 20px 32px -22px rgba(10,35,66,.42);border-color:rgba(12,122,216,.25)}

.hero-copy h1,.hero-copy p,.hero-copy a{animation:fadeUp .8s ease both}
.hero-copy h1{animation:heroTitleReveal 1s cubic-bezier(.2,.75,.25,1) both;transform-origin:left center}
.hero-copy h1::after{content:"";display:block;width:clamp(5rem,18vw,9rem);height:4px;margin-top:.55em;border-radius:999px;background:linear-gradient(90deg,var(--brand-red),var(--brand-sky));transform:scaleX(0);transform-origin:left;animation:heroTitleRule .65s .5s cubic-bezier(.2,.75,.25,1) forwards}
@keyframes heroTitleReveal{from{opacity:0;filter:blur(7px);transform:translateY(24px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}
@keyframes heroTitleRule{to{transform:scaleX(1)}}
.hero-copy p:nth-of-type(1){animation-delay:.1s}.hero-copy p:nth-of-type(2){animation-delay:.2s}.hero-copy a:nth-of-type(1){animation-delay:.25s}.hero-copy a:nth-of-type(2){animation-delay:.35s}
@keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}

.scene:hover .cube{transform:scale(1.04)}
.client-marquee{overflow:hidden;position:relative;mask-image:linear-gradient(90deg,transparent,black 8%,black 92%,transparent);cursor:grab;user-select:none}
.client-marquee.dragging{cursor:grabbing}
.client-marquee:hover .client-track,.client-marquee:focus-within .client-track{animation-play-state:paused}
.client-track{display:flex;width:max-content;gap:1rem;animation:scrollClients 100s linear infinite;will-change:transform;animation-play-state:running}
.client-item{flex:0 0 auto;width:220px;height:120px;border:1px solid rgba(12,122,216,.12);border-radius:1rem;background:linear-gradient(135deg,#ffffff,#f5f9ff);display:grid;place-items:center;box-shadow:0 12px 20px -18px rgba(10,35,66,.3);transform-style:preserve-3d;transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease}
.client-item:hover{transform:perspective(900px) rotateX(8deg) rotateY(-8deg) translateY(-4px);box-shadow:0 18px 28px -20px rgba(10,35,66,.38);border-color:rgba(12,122,216,.25)}
.client-item img{max-width:150px;max-height:64px;width:auto;height:auto;object-fit:contain;transform:translateZ(18px)}
@media(max-width:767px){.client-item{width:180px;height:100px}.client-item img{max-width:160px;max-height:72px}} 
@keyframes scrollClients{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.hero-copy{animation:hero-enter .7s ease-out both}
@keyframes hero-enter{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
.graph-bar{transform-origin:bottom;animation:graph-grow .9s cubic-bezier(.2,.75,.3,1) both}
.graph-bar:nth-child(2){animation-delay:.12s}.graph-bar:nth-child(3){animation-delay:.24s}.graph-bar:nth-child(4){animation-delay:.36s}.graph-bar:nth-child(5){animation-delay:.48s}
@keyframes graph-grow{from{opacity:.35;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}
.scene{perspective:900px}
.cube{width:150px;height:150px;position:relative;transform-style:preserve-3d;animation:spin 16s linear infinite}
.face{position:absolute;inset:0;display:grid;place-items:center;color:#fff;border:1px solid rgba(255,255,255,.6);background:linear-gradient(135deg,rgba(56,182,255,.4),rgba(214,40,57,.4));box-shadow:inset 0 0 30px rgba(255,255,255,.2)}
.face svg{width:44px;height:44px}
.f1{transform:translateZ(75px)}.f2{transform:rotateY(180deg) translateZ(75px)}.f3{transform:rotateY(90deg) translateZ(75px)}.f4{transform:rotateY(-90deg) translateZ(75px)}.f5{transform:rotateX(90deg) translateZ(75px)}.f6{transform:rotateX(-90deg) translateZ(75px)}
.ring{position:absolute;width:270px;height:270px;border:2px dashed rgba(255,255,255,.45);border-radius:50%;transform:rotateX(70deg);animation:rot 10s linear infinite}
.chip{position:absolute;background:#fff;color:#0B2E5C;font-weight:600;font-size:.75rem;padding:.4rem .8rem;border-radius:999px;box-shadow:0 8px 20px rgba(0,0,0,.25);animation:bob 4s ease-in-out infinite}
@keyframes spin{from{transform:rotateX(-20deg) rotateY(0)}to{transform:rotateX(-20deg) rotateY(360deg)}}
@keyframes rot{to{transform:rotateX(70deg) rotate(360deg)}}
@keyframes bob{50%{transform:translateY(-14px)}}
@media(prefers-reduced-motion:reduce){.cube,.ring,.chip,.hero-copy,.hero-copy h1,.hero-copy h1::after,.graph-bar,.client-track{animation:none;opacity:1;filter:none;transform:none}.client-marquee:hover .client-track,.client-marquee:focus-within .client-track{animation-play-state:running}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card{transition:none}}
@media(max-width:767px){body{overflow-x:hidden}header nav{padding-left:.5rem;padding-right:.5rem;height:64px}header nav>a{gap:.5rem;max-width:72%}header nav>a img{height:2.2rem;width:auto}header nav>a span{font-size:1.05rem;line-height:1.1}#menuBtn{padding:.45rem}#mobileMenu{padding-top:.75rem;padding-bottom:.75rem}main section{scroll-margin-top:5rem}.hero-copy h1{font-size:clamp(2.1rem,8vw,3rem)!important;line-height:1.08; margin-top:0 !important}.hero-copy p.text-xl{font-size:1.06rem!important}.hero-copy p{font-size:1rem}.hero-copy .mt-7{display:flex;flex-direction:column;align-items:stretch}.hero-copy .mt-7 a{width:100%;text-align:center;justify-content:center}.scene{margin-top:.5rem}.cube{transform:scale(.9)}.chip{font-size:.68rem;padding:.35rem .7rem}.client-marquee{mask-image:linear-gradient(90deg,transparent,black 6%,black 94%,transparent)}.client-item{width:180px;height:100px}.client-item img{max-width:120px;max-height:54px}#clients h2{font-size:1.8rem !important;line-height:1.25;max-width:15ch;margin-inline:auto}#about h2{font-size:1.75rem !important;line-height:1.2;max-width:12ch;margin-inline:auto}.#featured,#serviceList,#process,#values{gap:1rem}#values{justify-content:flex-start}#values span{width:fit-content}.btn-red,.border-2{padding-left:1.1rem;padding-right:1.1rem}}
@media(max-width:640px){.ring{width:190px;height:190px}h2.text-3xl{font-size:2rem!important}.max-w-6xl{padding-left:.9rem;padding-right:.9rem}section{padding-top:4.5rem!important;padding-bottom:4.5rem!important}#contact .grid{gap:1rem}#contact .md\:col-span-2,#contact .md\:col-span-3{grid-column:span 1!important}footer .grid{grid-template-columns:1fr}footer .grid > div{padding-bottom:.5rem}}

#values span{display:inline-block;opacity:0;transform:translateY(12px) scale(.96);animation:valueReveal .55s ease forwards}
#values span:nth-child(1){animation-delay:.05s}#values span:nth-child(2){animation-delay:.10s}#values span:nth-child(3){animation-delay:.15s}#values span:nth-child(4){animation-delay:.20s}#values span:nth-child(5){animation-delay:.25s}
#values span:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 12px 22px -18px rgba(10,35,66,.35);border-color:rgba(12,122,216,.32)}
@keyframes valueReveal{to{opacity:1;transform:translateY(0) scale(1)}}

#process{list-style:none}
#process li{
	position:relative;overflow:hidden;
	background:linear-gradient(135deg,#ffffff,#f5f9ff);border:1px solid rgba(12,122,216,.12);border-radius:1.25rem;
	padding:1.5rem 1.1rem 1.2rem;box-shadow:0 16px 28px -25px rgba(10,35,66,.34);
}
#process.is-visible li{opacity:0;transform:translateY(28px) scale(.97);animation:processReveal .7s cubic-bezier(.22,1,.36,1) forwards}
#process li::before{
	content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--brand-red),var(--brand-sky));
	transform:scaleX(0);transform-origin:left;transition:transform .45s ease
}
#process li:hover{transform:translateY(-8px) scale(1.01);box-shadow:0 24px 34px -28px rgba(10,35,66,.42);border-color:rgba(12,122,216,.2)}
#process li:hover::before{transform:scaleX(1)}
#process li > span{
	position:relative;display:grid;place-items:center;width:2.75rem;height:2.75rem;margin:0 auto;border-radius:50%;
	background:linear-gradient(135deg,var(--brand-red),#ef4b5d);color:#fff;font-weight:700;box-shadow:0 14px 24px -18px rgba(214,40,57,.9);
	transition:transform .25s ease, box-shadow .25s ease
}
#process.is-visible li > span{animation:stepPulse 2.8s ease-in-out infinite}
#process li > p:nth-of-type(1){margin-top:.9rem;font-size:.9rem;font-weight:700;letter-spacing:.02em;color:var(--brand-navy)}
#process li > p:nth-of-type(2){margin-top:.45rem;color:#475569;line-height:1.65;font-size:.95rem}
#process.is-visible li:nth-child(2){animation-delay:.1s}#process.is-visible li:nth-child(3){animation-delay:.2s}#process.is-visible li:nth-child(4){animation-delay:.3s}
@keyframes processReveal{to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes stepPulse{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-4px) scale(1.03)}}

@media(prefers-reduced-motion:reduce){#process.is-visible li,#process li > span{animation:none;opacity:1;transform:none}}

@media(max-width:640px){
	#process li{padding:1.25rem .9rem 1rem}
	#process li > span{width:2.5rem;height:2.5rem}
	#process li > p:nth-of-type(2){font-size:.9rem}
}