/* Мягкое появление карточек — без влияния на размер или позицию разделов. */
:root { --ekip-ease: cubic-bezier(.22,.75,.25,1); }
/* Переходы к якорям выполняет JS. Колёсико и тачпад остаются нативными. */
html {scroll-behavior:auto !important}
#contact-form, #contacts, section[id], article[id] { scroll-margin-top:110px; }
@media (max-width:760px) {#contact-form,#contacts,section[id],article[id]{scroll-margin-top:92px}}
.hero-actions .primary {animation:none !important}
#engineering-gallery .engineering-card { min-width:0; }
#engineering-gallery .engineering-card img {
  display:block;width:100%;height:clamp(220px,22vw,330px) !important;
  aspect-ratio:auto !important;object-fit:cover;object-position:center;
}
#engineering-gallery .engineering-carousel {align-items:stretch;}
@media (max-width:760px){#engineering-gallery .engineering-card img{height:clamp(190px,58vw,295px)!important}}
@media (prefers-reduced-motion:no-preference){
  .ekip-reveal-pending {
    opacity:.55 !important;
    transform:translate3d(0,8px,0) !important;
    transition:opacity .82s var(--ekip-ease),transform .82s var(--ekip-ease) !important;
    will-change:opacity,transform;
  }
  .ekip-reveal-pending.ekip-reveal-shown{opacity:1 !important;transform:translate3d(0,0,0) !important;}
  .ekip-side-cta {transition:background-color .25s ease,box-shadow .25s ease !important;}
  .marquee-track {animation-duration:68s !important;}
}
@media(prefers-reduced-motion:reduce){
  .ekip-reveal-pending {opacity:1 !important;transform:none !important;transition:none !important;}
}
