/* RTEC Motion — the animations of the sections (RTEC SiteOS and RTEC MASTER, the same file in both; see motion.js).
   Everything is visible and still without JavaScript and for visitors who asked for less motion. */
.mo-has-sticker,.mo-div,.mo-carousel,.mo-scene{position:relative}
.mo-has-sticker{overflow-x:clip}
.mo-sticker-slot{position:relative;height:0;z-index:4}
.mo-has-sticker>*:not(.mo-sticker){position:relative;z-index:1}

/* ---------------------------------------------------------------- decorative stickers */
.mo-sticker{--mo-t:0;position:absolute;z-index:3;pointer-events:none;top:-34px;width:96px;line-height:0;will-change:transform}
.mo-sticker img,.mo-sticker svg{width:100%;height:auto;display:block;filter:drop-shadow(0 10px 14px rgba(0,0,0,.18))}
.mo-sticker.mo-side-left{left:max(8px,calc(50% - 640px))}
.mo-sticker.mo-side-right{right:max(8px,calc(50% - 640px))}
.mo-sticker.mo-side-center{left:calc(50% - 48px)}
.mo-sticker.mo-pos-middle{top:calc(50% - 48px)}
.mo-sticker.mo-pos-bottom{top:auto;bottom:-40px}
.mo-sticker.mo-size-s{width:64px}.mo-sticker.mo-size-l{width:150px}.mo-sticker.mo-size-xl{width:210px}
@media (max-width:700px){.mo-sticker{width:64px}.mo-sticker.mo-size-s{width:46px}.mo-sticker.mo-size-l{width:100px}.mo-sticker.mo-size-xl{width:130px}}
.mo-ready:not(.mo-still) .mo-sticker[data-mo=drift]{transform:translate3d(calc(var(--mo-t) * 36px),calc(var(--mo-t) * -140px),0) rotate(calc(var(--mo-t) * 28deg))}
.mo-ready:not(.mo-still) .mo-sticker[data-mo=spin]{transform:translate3d(0,calc(var(--mo-t) * -90px),0) rotate(calc(var(--mo-t) * 300deg))}
.mo-ready:not(.mo-still) .mo-sticker[data-mo=float]{transform:translate3d(0,calc(var(--mo-t) * -60px),0)}
.mo-ready:not(.mo-still) .mo-sticker[data-mo=float]>*{animation:mo-bob 4.2s ease-in-out infinite}
.mo-ready:not(.mo-still) .mo-sticker[data-mo=swing]{transform-origin:50% 0;transform:translate3d(0,calc(var(--mo-t) * -50px),0)}
.mo-ready:not(.mo-still) .mo-sticker[data-mo=swing]>*{transform-origin:50% 0;animation:mo-swing 3.4s ease-in-out infinite}
@keyframes mo-bob{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-14px) rotate(5deg)}}
@keyframes mo-swing{0%,100%{transform:rotate(-9deg)}50%{transform:rotate(9deg)}}

/* ---------------------------------------------------------------- appear when in view */
.mo-reveal-ready .mo-reveal{transition:opacity .75s ease,transform .75s cubic-bezier(.2,.75,.2,1),filter .75s ease}
.mo-reveal-ready .mo-reveal:not(.mo-in){opacity:0}
.mo-reveal-ready .mo-reveal-fade-up:not(.mo-in){transform:translateY(32px)}
.mo-reveal-ready .mo-reveal-zoom-in:not(.mo-in){transform:scale(.93)}
.mo-reveal-ready .mo-reveal-slide-left:not(.mo-in){transform:translateX(-46px)}
.mo-reveal-ready .mo-reveal-slide-right:not(.mo-in){transform:translateX(46px)}
.mo-reveal-ready .mo-reveal-pop:not(.mo-in){transform:scale(.82)}
.mo-reveal-ready .mo-reveal-pop.mo-in{transition-timing-function:ease,cubic-bezier(.34,1.56,.64,1),ease}
.mo-reveal-ready .mo-reveal-blur:not(.mo-in){filter:blur(10px);transform:translateY(12px)}

/* ---------------------------------------------------------------- wavy edge at the bottom of a section */
.mo-div{z-index:1}
.mo-div::after{content:"";position:absolute;left:0;right:0;bottom:-38px;height:40px;background:inherit;z-index:2;pointer-events:none;
  -webkit-mask:var(--mo-edge) center top/100% 100% no-repeat;mask:var(--mo-edge) center top/100% 100% no-repeat}
.mo-div-wave{--mo-edge:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v8c-100 0-100 30-200 30S900 8 800 8s-100 30-200 30S500 8 400 8 300 38 200 38 100 8 0 8z'/%3E%3C/svg%3E")}
.mo-div-curve{--mo-edge:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v4C900 44 300 44 0 4z'/%3E%3C/svg%3E")}
.mo-div-zigzag{--mo-edge:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v6l-50 26-50-26-50 26-50-26-50 26-50-26-50 26-50-26-50 26-50-26-50 26-50-26-50 26-50-26-50 26-50-26-50 26-50-26-50 26-50-26-50 26-50-26-50 26-50-26-50 26-50-26z'/%3E%3C/svg%3E")}
.mo-div-tilt{--mo-edge:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v4L0 38z'/%3E%3C/svg%3E")}

/* ---------------------------------------------------------------- carousel: one row that moves by itself */
.mo-carousel :is([data-mo-track],.rs-grid,.ts-grid,.ts-tpl-grid,.ts-plans,.rs-gallery,.rs-testimonials-grid,.rs-pricing-grid,.rs-stats-grid){display:flex!important;flex-wrap:nowrap!important;
  grid-template-columns:none!important;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;gap:18px;padding:6px 4px 16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.mo-carousel :is([data-mo-track],.rs-grid,.ts-grid,.ts-tpl-grid,.ts-plans,.rs-gallery,.rs-testimonials-grid,.rs-pricing-grid,.rs-stats-grid)::-webkit-scrollbar{display:none}
.mo-carousel :is([data-mo-track],.rs-grid,.ts-grid,.ts-tpl-grid,.ts-plans,.rs-gallery,.rs-testimonials-grid,.rs-pricing-grid,.rs-stats-grid)>*{flex:0 0 clamp(220px,74%,320px)!important;max-width:none!important;scroll-snap-align:start}
.mo-ready:not(.mo-still) .mo-carousel .mo-track>*{transition:transform .5s cubic-bezier(.2,.75,.2,1)}
.mo-ready:not(.mo-still) .mo-carousel .mo-track>*:hover{transform:translateY(-6px) rotate(-1deg)}

/* ---------------------------------------------------------------- timeline: steps on a line that fills while scrolling */
.mo-timeline{--mo-p:0;--mo-c:var(--brand,var(--t-primary,#e2367a));position:relative;max-width:780px;margin:0 auto}
.mo-timeline ol{list-style:none;margin:0;padding:0 0 0 64px;display:grid;gap:22px;position:relative}
.mo-tl-line{position:absolute;left:24px;top:10px;bottom:10px;width:5px;border-radius:5px;background:color-mix(in srgb,var(--mo-c) 18%,transparent)}
.mo-tl-line i{display:block;height:calc(var(--mo-p) * 100%);border-radius:inherit;background:var(--mo-c)}
html:not(.mo-ready) .mo-tl-line i,.mo-still .mo-tl-line i{height:100%}
.mo-tl-item{position:relative}
.mo-tl-dot{position:absolute;left:-64px;top:14px;width:50px;height:50px;border-radius:50%;background:#fff;border:4px solid var(--mo-c);display:grid;place-items:center;font-weight:800;font-size:18px;color:var(--mo-c);box-shadow:0 6px 16px -8px rgba(0,0,0,.35)}
.mo-tl-dot svg{width:22px;height:22px}
.mo-tl-card{background:var(--mo-card,#fff);color:var(--mo-card-ink,inherit);border-radius:22px;padding:18px 22px;box-shadow:0 14px 30px -18px rgba(0,0,0,.35);text-align:left}
.mo-tl-card h3{margin:0 0 6px;color:var(--mo-c);font-size:1.2em}
.mo-tl-card p{margin:0}
.mo-reveal-ready .mo-tl-item{transition:opacity .7s ease,transform .7s cubic-bezier(.2,.75,.2,1)}
.mo-reveal-ready .mo-tl-item:not(.mo-in){opacity:0;transform:translateX(40px)}
.mo-reveal-ready .mo-tl-item:not(.mo-in) .mo-tl-dot{transform:scale(.4)}
.mo-tl-dot{transition:transform .6s cubic-bezier(.34,1.56,.64,1) .15s}

/* ---------------------------------------------------------------- scene: stays on screen and turns from the sketch into the picture */
.mo-scene{--mo-p:0;height:230vh}
.mo-scene-stage{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;overflow:hidden;padding:12px 0}
.mo-scene-pic{position:relative;width:min(980px,92%);transform:scale(calc(1.06 - var(--mo-p) * .06))}
.mo-scene-pic img{display:block;width:100%;height:auto;max-height:64vh;object-fit:cover;border-radius:28px;box-shadow:0 30px 60px -30px rgba(0,0,0,.45)}
.mo-scene-b{position:absolute;inset:0;width:100%;height:100%;opacity:calc(1 - var(--mo-p) * 1.5)}
.mo-scene-one .mo-scene-a{filter:grayscale(calc(1 - var(--mo-p))) contrast(calc(1.6 - var(--mo-p) * .6)) brightness(calc(1.18 - var(--mo-p) * .18))}
.mo-scene-text{position:relative;z-index:2;text-align:center;padding:0 16px;max-width:760px}
.mo-scene-text h2{margin:0 0 6px}
.mo-scene-cap{position:relative;margin:0;transform:translateY(calc((1 - var(--mo-p)) * 30px));opacity:calc((var(--mo-p) - .65) * 3);z-index:2;background:var(--mo-c,var(--brand,var(--t-primary,#e2367a)));color:#fff;border-radius:999px;padding:10px 20px;font-weight:700;white-space:nowrap;max-width:92vw;overflow:hidden;text-overflow:ellipsis}
html:not(.mo-ready) .mo-scene,.mo-still .mo-scene{height:auto}
html:not(.mo-ready) .mo-scene-stage,.mo-still .mo-scene-stage{position:static;height:auto;padding:40px 0;gap:16px}
html:not(.mo-ready) .mo-scene-text,.mo-still .mo-scene-text,html:not(.mo-ready) .mo-scene-cap,.mo-still .mo-scene-cap{position:static;transform:none;opacity:1}
html:not(.mo-ready) .mo-scene-b,.mo-still .mo-scene-b{display:none}
html:not(.mo-ready) .mo-scene-one .mo-scene-a,.mo-still .mo-scene-one .mo-scene-a{filter:none}
html:not(.mo-ready) .mo-scene-pic,.mo-still .mo-scene-pic{transform:none}

@media print{.mo-sticker{display:none}.mo-scene{height:auto}.mo-scene-stage{position:static;height:auto}.mo-scene-b{display:none}}
