/* One contrast chapter. All work remains in its original image or mockup. */
#amos-home-motion{--hm-bg:#101114;--hm-ink:#f2f4f8;--hm-muted:#b7bfcb;--hm-blue:#3045ff;--hm-line:#ffffff35;position:relative;isolation:isolate;direction:rtl;text-align:right;overflow:clip;background:var(--hm-bg);color:var(--hm-ink);padding:clamp(58px,6vw,88px) 0 60px}
#amos-home-motion,#amos-home-motion *{box-sizing:border-box}
#amos-home-motion :is(h2,p,figure){margin:0;padding:0;font-family:inherit;color:inherit;letter-spacing:normal}
#amos-home-motion button,#amos-home-motion a{font-family:inherit;box-shadow:none}
#amos-home-motion .hm-wrap{position:relative;width:min(1280px,calc(100% - 96px));margin-inline:auto}
#amos-home-motion .hm-topline{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:0 0 22px;border-bottom:1px solid var(--hm-line)}
#amos-home-motion .hm-topline>p{font-size:14px;line-height:1.6;color:var(--hm-muted)}
#amos-home-motion :is(button,a):focus-visible{outline:3px solid #7c8bff;outline-offset:6px}
#amos-home-motion .hm-masthead{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:clamp(32px,6vw,88px);padding-top:40px}
#amos-home-motion .hm-head-copy,#amos-home-motion .hm-card figcaption,#amos-home-motion .hm-footer>p{direction:rtl;text-align:right}
#amos-home-motion h2{font-size:clamp(60px,7.6vw,112px);font-weight:400;line-height:.95;letter-spacing:-.045em}
#amos-home-motion h2 span{color:#7383ff}
#amos-home-motion .hm-head-copy>p{margin-top:25px;color:var(--hm-muted);font-size:clamp(19px,1.8vw,25px);line-height:1.5}
#amos-home-motion .hm-atmosphere{position:relative;isolation:isolate;min-width:0;aspect-ratio:16/10;overflow:hidden;border:1px solid #dce6ec85;background:#e9eff1;box-shadow:15px 18px 0 -16px #3045ff,0 30px 50px #0005}
#amos-home-motion .hm-glass-still,#amos-home-motion .hm-glass-video{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;border:0;border-radius:0;filter:none;transform:none;opacity:1;margin:0;padding:0}
#amos-home-motion .hm-glass-player{position:absolute;inset:0}
#amos-home-motion .hm-glass-edge{position:absolute;inset:0;pointer-events:none;z-index:2;border:1px solid #fff9;box-shadow:inset 0 1px 1px #fff8}
#amos-home-motion .hm-canvas{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:clamp(18px,2.3vw,34px);height:auto;margin-top:42px;padding:24px 0 42px;perspective:1200px}
#amos-home-motion .hm-card{position:relative;z-index:2;transform:translateY(var(--hm-offset)) rotate(var(--hm-angle));transform-origin:center;min-width:0}
#amos-home-motion .hm-card-product{--hm-offset:-42px;--hm-angle:2deg}
#amos-home-motion .hm-card-brand{--hm-offset:0px;--hm-angle:-2deg;z-index:3}
#amos-home-motion .hm-card-package{--hm-offset:44px;--hm-angle:2.5deg}
#amos-home-motion .hm-card-float{position:relative}
#amos-home-motion .hm-card figcaption{position:relative;display:grid;grid-template-columns:1fr;align-items:center;row-gap:4px;width:fit-content;max-width:100%;margin:0 0 12px auto;padding:0 0 0 10px;background:transparent;border:0;text-shadow:none}
#amos-home-motion .hm-card figcaption strong{font-size:19px;font-weight:400;line-height:1.2;color:#fff}
#amos-home-motion .hm-credit{font-size:13px;line-height:1.4;color:var(--hm-muted)}
#amos-home-motion .hm-image-window{position:relative;overflow:hidden;border:1px solid #d3e2ef90;background:#c6d0db;box-shadow:0 23px 48px #0008,0 1px 1px #ffffff8c,inset 0 1px 1px #fff}
#amos-home-motion .hm-image-window:after{content:"";position:absolute;inset:0;pointer-events:none;border:1px solid #ffffff45}
#amos-home-motion .hm-image-window img{display:block;width:100%;height:auto;max-width:100%;margin:0;padding:0;border:0;border-radius:0;filter:none;transform:translateZ(0);backface-visibility:hidden;opacity:1}
#amos-home-motion .hm-orbit{position:absolute;pointer-events:none;border:1px solid #ffffff1c;border-radius:50%;width:80%;height:83%;top:12%;left:11%;transform:rotate(-19deg)}
#amos-home-motion .hm-orbit-two{width:76%;height:76%;top:15%;left:13%;border-color:#3045ff66;transform:rotate(17deg)}
#amos-home-motion .hm-light-trace{position:absolute;pointer-events:none;top:24%;left:6%;width:110px;height:2px;background:#7a8cff;box-shadow:0 0 18px #3045ff,0 0 32px #3045ff99;transform:rotate(-24deg);opacity:.7}
#amos-home-motion .hm-footer{position:relative;display:flex;justify-content:space-between;align-items:end;gap:35px;border-top:1px solid var(--hm-line);padding-top:26px;margin-top:22px}
#amos-home-motion .hm-footer>p{font-size:19px;line-height:1.5;color:var(--hm-muted)}
#amos-home-motion .hm-footer a{display:inline-flex;align-items:center;justify-content:space-between;gap:38px;min-height:48px;padding-block:10px;border-bottom:1px solid #9da6b5;color:#f2f4f8!important;background:transparent;text-decoration:none;font-size:18px;line-height:1.4;white-space:nowrap}
#amos-home-motion .hm-footer a svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .2s ease}
#amos-home-motion .hm-footer a:hover svg{transform:translate(-3px,-3px)}
@media(max-width:1100px){#amos-home-motion .hm-wrap{width:calc(100% - 64px)}#amos-home-motion .hm-card figcaption strong{font-size:17px}#amos-home-motion .hm-credit{font-size:12px}}
@media(max-width:767px){
 #amos-home-motion{padding:48px 0 50px}
 #amos-home-motion .hm-wrap{width:calc(100% - 40px)}
 #amos-home-motion .hm-topline{gap:14px;padding-bottom:16px}
 #amos-home-motion .hm-topline>p{font-size:12px}
 #amos-home-motion .hm-masthead{display:block;padding-top:30px}
 #amos-home-motion h2{font-size:clamp(48px,13.2vw,80px);line-height:1}
 #amos-home-motion .hm-head-copy>p{font-size:18px;margin-top:22px}
 #amos-home-motion .hm-atmosphere{width:100%;margin-top:28px;aspect-ratio:16/9;transform:none}
 #amos-home-motion .hm-canvas{grid-template-columns:1fr;gap:30px;height:auto;min-height:0;margin-top:35px;padding:0}
 #amos-home-motion .hm-card{position:relative;inset:auto!important;width:100%;transform:none!important;will-change:auto}
 #amos-home-motion .hm-card figcaption{margin-bottom:10px;column-gap:12px}
 #amos-home-motion .hm-card figcaption strong{font-size:20px}
 #amos-home-motion .hm-credit{font-size:14px}
 #amos-home-motion .hm-type{font-size:13px}
 #amos-home-motion .hm-orbit{display:none}
 #amos-home-motion .hm-light-trace{left:0;top:21%;width:72px}
 #amos-home-motion .hm-footer{display:block;margin-top:35px;padding-top:24px}
 #amos-home-motion .hm-footer>p{font-size:18px}
 #amos-home-motion .hm-footer a{display:flex;width:100%;margin-top:18px;font-size:18px}
}

/* Let the three materials arrive once, with their original resting geometry. */
@media (prefers-reduced-motion: no-preference) {
  #amos-home-motion [data-hm-work] {
    --hm-entry-x: 0px;
    --hm-entry-y: 15px;
    --hm-entry-delay: 0ms;
  }

  #amos-home-motion .hm-card-product {
    --hm-entry-x: 15px;
  }

  #amos-home-motion .hm-card-brand {
    --hm-entry-delay: 110ms;
  }

  #amos-home-motion .hm-card-package {
    --hm-entry-x: -15px;
    --hm-entry-delay: 215ms;
  }

  #amos-home-motion [data-hm-entered="true"] .hm-card-float {
    animation: hm-settle 900ms cubic-bezier(.2, .75, .24, 1) var(--hm-entry-delay) both;
  }

  #amos-home-motion [data-hm-entered="true"] .hm-image-window::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(112deg, transparent 28%, #f1f7ff20 49%, transparent 67%);
    animation: hm-material-light 1300ms ease-out var(--hm-entry-delay) both;
  }

  @media (max-width: 767px) {
    #amos-home-motion [data-hm-work] {
      --hm-entry-x: 0px;
      --hm-entry-y: 12px;
      --hm-entry-delay: 0ms;
    }
  }
}

@keyframes hm-settle {
  from {
    opacity: .52;
    transform: translate3d(var(--hm-entry-x), var(--hm-entry-y), 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hm-material-light {
  0% {
    opacity: 0;
    transform: translateX(62%);
  }
  29% {
    opacity: .7;
  }
  100% {
    opacity: 0;
    transform: translateX(-65%);
  }
}

@media (prefers-reduced-motion: reduce) {
  #amos-home-motion .hm-footer a svg {
    transition: none;
  }
}
