/* Motion stays on presentation layers; copy and functional content are never scroll-gated. */
.hero .motion-gallery{position:relative;display:block;grid-area:auto;padding:0;overflow:hidden;border:1px solid #d4e3e9;border-radius:20px;background:#fff;box-shadow:0 22px 52px #183b6728;min-width:0}
.hero .motion-gallery::before{content:none}
.motion-stage{position:relative;aspect-ratio:4/3;overflow:hidden;background:#c5d9e1;isolation:isolate}
.motion-slide{position:absolute;inset:0;margin:0;overflow:hidden;opacity:0;visibility:hidden;transition:opacity .65s ease,visibility 0s .65s}
.motion-slide.is-current{opacity:1;visibility:visible;transition:opacity .65s ease;z-index:1}
.hero .motion-stage .motion-image{width:100%;height:100%;max-height:none;object-fit:cover;display:block;border-radius:0;border:0;margin:0;box-shadow:none;aspect-ratio:unset;transform:translate3d(0,var(--motion-offset,0px),0) scale(1.11)}
.motion-slide .motion-caption,.hero .motion-slide .motion-caption{position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:space-between;gap:.55rem 1rem;flex-wrap:wrap;min-height:52px;padding:.7rem 1rem;background:#112a40ed;color:#fff;font-size:.88rem;margin:0}
.motion-caption a,.hero .motion-caption a{color:#e6faff;text-underline-offset:.14em}
.motion-controls[hidden]{display:none!important}
.motion-controls{display:flex;align-items:center;justify-content:space-between;gap:.45rem;padding:.55rem .7rem;flex-wrap:wrap}
.motion-main-controls{display:flex;gap:.35rem;align-items:center}
.motion-controls button{border:1px solid #b5cdd8;border-radius:8px;background:#fff;color:#163b58;font:inherit;font-size:.88rem;font-weight:700;padding:.35rem .65rem;min-height:42px;cursor:pointer}
.motion-controls button:hover,.motion-controls button:focus-visible{background:#e9f6f6;border-color:#30727c}
.motion-controls button:active{transform:scale(.96)}
.motion-controls button:focus-visible{outline:2px solid #075a70;outline-offset:2px}
.motion-count{font-size:.88rem;color:#365776;min-width:3rem;text-align:center}
.motion-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hero h1 .motion-line{display:block;transform-origin:left center}
.hero h1 .motion-line.motion-first{color:inherit}
@media (prefers-reduced-motion:no-preference){
 .motion-enabled .hero h1 .motion-first{animation:imma-enter .72s cubic-bezier(.21,.72,.23,1) both}
 .motion-enabled .hero h1 .motion-second{animation:imma-enter .9s .16s cubic-bezier(.21,.72,.23,1) both}
 @keyframes imma-enter{from{opacity:0;transform:translateY(18px) rotate(-1.25deg) scale(.975)}to{opacity:1;transform:none}}
 .actions .btn,.nav-buttons a,.catalog-category,.office-rail a,.motion-controls button{transition:transform .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
 .actions .btn:active,.nav-buttons a:active{transform:scale(.975)}
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .actions .btn:hover,.nav-buttons a:hover,.office-rail a:hover{transform:translateY(-2px)}
 .catalog-category:hover{transform:translateY(-4px);box-shadow:0 12px 24px #143e5618}
}
@media(max-width:650px){.hero .motion-gallery{border-radius:14px;margin-top:1rem}.motion-controls button{min-height:44px}.hero .motion-slide .motion-caption{padding:.55rem .75rem}.motion-caption span{order:0}}
@media(prefers-reduced-motion:reduce){.motion-slide,.motion-slide.is-current{transition:none}.hero .motion-stage .motion-image{transform:none}.motion-controls button:active{transform:none}.actions .btn,.nav-buttons a,.catalog-category,.office-rail a{transition:none!important;transform:none!important}}
