/* Device-aware layout: desktop, tablet, mobile and touch */
html{-webkit-text-size-adjust:100%}img{max-width:100%}
@media(min-width:1400px){.shell{max-width:1280px}.hero__grid{gap:110px}.hero h1{font-size:78px}.service{min-height:360px}}
@media(min-width:901px) and (max-width:1180px){.shell{width:min(100% - 48px,1100px)}.hero__grid{gap:46px}.hero h1{font-size:clamp(46px,5.2vw,62px)}.portrait__badge{left:-16px}.portrait__logo{right:-10px}.service p{max-width:320px}.system{gap:38px}}
@media(min-width:641px) and (max-width:900px){.nav__links{gap:12px}.hero{min-height:100svh}.hero__grid{grid-template-columns:1.05fr .95fr;gap:32px;padding-top:120px}.hero h1{font-size:clamp(40px,6vw,56px)}.hero__lead{font-size:16px}.portrait__badge{width:130px;height:130px;left:-10px}.portrait__logo{width:92px;height:92px;right:-8px}.section__head{grid-template-columns:1fr}.service{grid-column:span 12}.system{grid-template-columns:1fr}.system__visual{order:2}.event{grid-template-columns:1fr}.steps{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){
  .shell{width:min(100% - 24px,1180px)}.nav{top:max(8px,env(safe-area-inset-top))}.nav__inner{height:58px}.nav__links .nav__cta{min-height:42px;display:inline-flex;align-items:center}.hero{min-height:auto}.hero__grid{grid-template-columns:1fr;padding:100px 0 56px;gap:44px}.hero h1{font-size:clamp(34px,10.5vw,46px);line-height:1.05}.hero__lead{font-size:16px;margin:22px 0 28px}.actions{display:grid;grid-template-columns:1fr}.portrait{width:calc(100% - 12px);margin-left:auto}.portrait__frame{border-radius:38% 38% 18px 18px}.portrait__badge{left:-4px;bottom:12px}.portrait__logo{right:-2px;top:10px}.marquee{padding:12px 0}.section{padding:66px 0}.section h2{font-size:clamp(30px,9vw,42px)}.section__intro{font-size:16px}.section__head{grid-template-columns:1fr;gap:22px;margin-bottom:34px}.services{display:block}.service{min-height:315px;margin-bottom:14px;padding:24px}.service h3{font-size:21px;margin-top:55px;max-width:78%}.service p{font-size:14px;max-width:76%}.service__visual{width:142px;height:142px;right:-26px;bottom:-18px;border-radius:28px}.system{grid-template-columns:1fr;gap:18px}.system__visual{min-height:390px;order:2;transform:scale(.76);margin:-55px}.system__copy h2{font-size:34px}.steps{grid-template-columns:1fr}.step{padding:24px 8px}.event{grid-template-columns:1fr;padding:27px 20px;border-radius:24px;gap:24px}.event__line{padding-inline:4px}.event:after{font-size:170px}.contact p{font-size:16px}.footer{padding-bottom:max(30px,env(safe-area-inset-bottom))}.footer__inner{flex-direction:column}
}
@media(max-width:360px){.hero h1{font-size:32px}.nav__cta{font-size:12px;padding-inline:10px}.service h3,.service p{max-width:100%}.service__visual{opacity:.23!important}.portrait__badge{width:108px;height:108px}.portrait__logo{width:72px;height:72px}}
@media(orientation:landscape) and (max-height:540px) and (min-width:640px){.hero{min-height:auto}.hero__grid{padding-top:100px;padding-bottom:50px}.portrait{max-width:430px}.section{padding-block:72px}}
@media(hover:none) and (pointer:coarse){.btn,.nav__cta{min-height:48px}.service:hover,.btn:hover{transform:none}.service:active{transform:scale(.99)}a,button{touch-action:manipulation}}
