:root{
  --bg:#FBFBF9; --surface:#FFFFFF; --soft:#F3F4F6;
  --ink:#15171C; --muted:#5B606B; --line:#E7E8EC;
  --brand:#3557F5; --brand-soft:#EBEFFE;
  --peach:#FFEDE3; --mint:#E6F6EF; --lilac:#F1ECFD;
  --r:28px; --r-sm:16px;
  --shadow:0 1px 2px rgba(20,24,40,.04),0 12px 32px -12px rgba(20,24,40,.10);
  --head:"Inter Tight",system-ui,sans-serif; --body:"Inter",system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{font-family:var(--body);font-size:17px;line-height:1.7;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:6px}
.wrap{width:min(1200px,100% - 40px);margin-inline:auto}
h1,h2,.logo,.stat b{font-family:var(--head);letter-spacing:-.035em;line-height:1.05}

/* NAV */
.nav{position:sticky;top:0;z-index:20;background:rgba(251,251,249,.78);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid transparent;transition:border-color .3s}
.nav.is-scrolled{border-color:var(--line)}
.nav__in{display:flex;align-items:center;justify-content:space-between;height:72px;gap:24px}
.logo{font-size:30px;font-weight:700}
.logo span{color:var(--brand)}
.nav__links{display:flex;gap:6px}
.nav__links a{font-size:15px;font-weight:500;padding:8px 14px;border-radius:999px;transition:background .2s,color .2s}
.nav__links a:hover{background:var(--soft)}
.nav__right{display:flex;align-items:center;gap:14px}
.lang{display:flex;gap:6px;font-size:14px;font-weight:600;color:var(--muted);padding-left:18px;border-left:1px solid var(--line)}
.lang .is-on{color:var(--ink);border-bottom:1.5px solid var(--ink)}
.lang [aria-disabled]{opacity:.55;cursor:default}
.burger{display:none;width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:var(--surface);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:6px}
.burger span{width:18px;height:1.8px;background:var(--ink);border-radius:2px;transition:transform .3s}
.burger[aria-expanded="true"] span:first-child{transform:translateY(4px) rotate(45deg)}
.burger[aria-expanded="true"] span:last-child{transform:translateY(-4px) rotate(-45deg)}

/* HERO */
.hero{padding:40px 0 24px}
.hero__card{position:relative;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:36px;padding:clamp(48px,8vw,96px) 24px clamp(36px,5vw,56px);text-align:center;box-shadow:var(--shadow)}
.hero__glow{position:absolute;inset:-40% -10% auto;height:120%;background:radial-gradient(40% 50% at 25% 40%,#E3E9FF 0,transparent 70%),radial-gradient(35% 45% at 78% 35%,#FFE7DA 0,transparent 70%),radial-gradient(30% 40% at 55% 80%,#DFF5EC 0,transparent 70%);filter:blur(10px);animation:float 14s ease-in-out infinite alternate}
@keyframes float{to{transform:translate3d(0,6%,0) scale(1.06)}}
.hero__card>*{position:relative}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);background:rgba(255,255,255,.75);border:1px solid var(--line);padding:6px 14px;border-radius:999px;margin-bottom:28px}
.dot{width:7px;height:7px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 4px var(--brand-soft)}
h1{font-size:clamp(40px,7.4vw,92px);font-weight:600;max-width:14ch;margin-inline:auto}
h1 em{font-style:normal;color:var(--brand)}
.hero__line{display:block;width:min(620px,100%);margin:44px auto 0;color:#B9BDC8}
.wave{stroke:var(--ink);stroke-dasharray:800;stroke-dashoffset:800;animation:draw 2.2s .3s cubic-bezier(.65,0,.35,1) forwards}
.pulse{fill:var(--brand);stroke:#fff;stroke-width:3}
.ticks line{opacity:0;animation:fade .5s forwards}
.ticks line:nth-child(1){animation-delay:.5s}.ticks line:nth-child(2){animation-delay:.6s}.ticks line:nth-child(3){animation-delay:.7s}.ticks line:nth-child(4){animation-delay:.8s}
.ticks line:nth-child(5){animation-delay:.9s}.ticks line:nth-child(6){animation-delay:1s}.ticks line:nth-child(7){animation-delay:1.1s}.ticks line:nth-child(8){animation-delay:1.2s}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes fade{to{opacity:1}}

/* INTRO */
.intro{padding:72px 0 96px}
.intro__grid{display:grid;grid-template-columns:minmax(240px,380px) 1fr;gap:clamp(32px,6vw,88px);align-items:center;max-width:1040px}
.portrait{position:relative;justify-self:center;width:100%;max-width:340px}
.portrait__blob{aspect-ratio:1;border-radius:58% 42% 50% 50%/48% 55% 45% 52%;background:linear-gradient(145deg,#E9ECF6,#F6F0EC);overflow:hidden;display:grid;place-items:center;animation:morph 12s ease-in-out infinite alternate}
.portrait__blob img{width:100%;height:100%;object-fit:cover}
.portrait__ph{font-family:var(--head);font-size:120px;font-weight:600;color:#C9CEDC}
@keyframes morph{to{border-radius:45% 55% 42% 58%/55% 45% 55% 45%}}
.portrait__tag{position:absolute;bottom:8%;right:-4%;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);font-size:14px;font-weight:600;padding:10px 16px;border-radius:999px}
.intro__text h2{font-size:clamp(36px,5vw,60px);font-weight:600;margin-bottom:20px}
.intro__text p{color:var(--muted);max-width:60ch}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.chips span{font-size:14px;font-weight:500;padding:7px 14px;border-radius:999px;background:var(--soft);transition:background .2s,color .2s}
.chips span:hover{background:var(--brand-soft);color:var(--brand)}

/* STATS */
.stats{padding:96px 0;border-top:1px solid var(--line)}
.title{font-size:clamp(34px,5vw,64px);font-weight:600}
.stats .title{margin-bottom:48px}
.bento{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:32px 30px 28px;min-height:210px;display:flex;flex-direction:column;justify-content:space-between;transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s}
.stat:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.stat b{font-size:clamp(56px,6vw,84px);font-weight:600;font-variant-numeric:tabular-nums}
.stat p{color:var(--muted);font-size:16px;max-width:24ch}
.stat--blue{background:var(--brand-soft);border-color:transparent}.stat--blue b{color:var(--brand)}
.stat--peach{background:var(--peach);border-color:transparent}
.stat--mint{background:var(--mint);border-color:transparent}
.stat--lilac{background:var(--lilac);border-color:transparent}

/* WORKS */
.works{padding:96px 0 120px;border-top:1px solid var(--line)}
.works__head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:48px}
.link-arrow{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:15px;padding:10px 18px;border:1px solid var(--line);border-radius:999px;background:var(--surface);transition:background .2s,color .2s,border-color .2s}
.link-arrow svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s}
.link-arrow:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.link-arrow:hover svg{transform:translateX(3px)}
.works__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.work__stage{aspect-ratio:4/5;border-radius:var(--r);display:grid;place-items:center;overflow:hidden;transition:transform .4s cubic-bezier(.2,.7,.2,1)}
.work:hover .work__stage{transform:scale(.985)}
.work:hover .phone,.work:hover .laptop{transform:translateY(-8px) rotate(-1.5deg)}
.stage--blue{background:linear-gradient(160deg,#EEF1FE,#DDE4FD)}
.stage--peach{background:linear-gradient(160deg,#FFF3EC,#FFE2D2)}
.stage--mint{background:linear-gradient(160deg,#EDF8F3,#D7F0E4)}
.phone{width:44%;aspect-ratio:9/19;background:#1B1D22;border-radius:26px;padding:6px;box-shadow:0 30px 50px -20px rgba(20,24,40,.35);transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.screen{width:100%;height:100%;border-radius:20px;background:#fff;position:relative;overflow:hidden}
.s1{background:linear-gradient(#fff 0 30%,transparent 30%),repeating-linear-gradient(90deg,#F3D3D3 0 31%,#fff 31% 34.5%),#fff;background-size:100% 100%,100% 22%;background-position:0 0,0 40%;background-repeat:no-repeat}
.s1::before{content:"";position:absolute;top:10%;right:10%;width:22%;aspect-ratio:1;border-radius:50%;background:#E63946}
.s1::after{content:"";position:absolute;top:12%;left:10%;width:45%;height:5%;border-radius:4px;background:#E5E7EB;box-shadow:0 18px 0 -4px #F0F1F4}
.s3{background:linear-gradient(170deg,#CFE6D6,#A9CDB5)}
.s3::before{content:"";position:absolute;inset:30% 10% 22%;border-radius:12px;background:linear-gradient(160deg,#B3132B,#5E0A18)}
.s3::after{content:"";position:absolute;inset:auto 10% 8% 10%;height:10%;border-radius:8px;background:#fff}
.laptop{width:78%;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.laptop .screen{aspect-ratio:16/10;border:7px solid #1B1D22;border-radius:12px 12px 0 0;padding:12% 8% 8%;display:flex;align-items:end;gap:6%;background:#fff}
.laptop .screen i{flex:1;border-radius:3px 3px 0 0;background:var(--brand);opacity:.85}
.laptop .screen i:nth-child(1){height:40%}.laptop .screen i:nth-child(2){height:70%;opacity:.5}.laptop .screen i:nth-child(3){height:55%}.laptop .screen i:nth-child(4){height:90%;opacity:.5}.laptop .screen i:nth-child(5){height:65%}
.laptop .base{height:10px;margin:0 -7%;background:linear-gradient(#D6D8DE,#A9ADB7);border-radius:0 0 12px 12px;box-shadow:0 24px 40px -18px rgba(20,24,40,.4)}

/* FOOTER */
.footer{border-top:1px solid var(--line);padding:40px 0}
.footer__in{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.footer .logo{font-size:24px}
.footer__links{display:flex;gap:22px;font-size:15px;color:var(--muted)}
.footer__links a:hover{color:var(--ink)}
.copy{font-size:14px;color:var(--muted)}

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

/* RESPONSIVE */
@media (max-width:900px){
  .bento,.works__grid{grid-template-columns:repeat(2,1fr)}
  .works__grid .work:last-child{display:none}
}
@media (max-width:760px){
  .nav__links{position:absolute;top:72px;left:0;right:0;flex-direction:column;gap:0;background:var(--bg);border-bottom:1px solid var(--line);padding:8px 20px 20px;transform:translateY(-8px);opacity:0;pointer-events:none;transition:.25s}
  .nav__links.is-open{transform:none;opacity:1;pointer-events:auto}
  .nav__links a{padding:14px 4px;border-radius:0;border-bottom:1px solid var(--line);font-size:17px}
  .burger{display:flex}
  .lang{border:0;padding:0}
  .hero{padding-top:20px}
  .hero__card{border-radius:28px}
  .intro{padding:56px 0 72px}
  .intro__grid{grid-template-columns:1fr}
  .portrait{max-width:260px}
  .stats,.works{padding:72px 0}
  .stat{min-height:170px;padding:24px 22px}
  .works__grid{grid-template-columns:1fr}
  .works__grid .work:last-child{display:block}
  .works__head{flex-direction:column;align-items:start}
  .footer__in{flex-direction:column;align-items:start}
}
@media (max-width:420px){
  .bento{gap:10px}
  .stat{min-height:150px;padding:20px 18px;border-radius:22px}
  .stat b{font-size:48px}
  .stat p{font-size:15px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .wave{stroke-dashoffset:0}.ticks line{opacity:1}
  .reveal{opacity:1;transform:none}
}
