:root{--motion-glass:rgba(245,243,237,.94);--motion-shadow:0 24px 70px rgba(2,16,11,.28)}
html{scroll-behavior:smooth}
body{padding-bottom:190px;transition:background .5s ease}
.grid{perspective:1400px}
.slot{position:relative;transition:opacity .55s ease,filter .55s ease,transform .7s cubic-bezier(.22,.8,.22,1);transform-origin:center center;will-change:transform,opacity}
.slot .phone{transition:box-shadow .6s ease,transform .6s ease;will-change:transform}
body.motion-running .slot:not(.is-active){opacity:.18;filter:saturate(.55) blur(.3px);transform:scale(.94)}
body.motion-running .slot.is-active{opacity:1;filter:none;transform:scale(1.09) translateY(-10px);z-index:30}
body.motion-running .slot.is-active .phone{box-shadow:0 45px 95px -35px rgba(0,0,0,.65),0 0 0 1px rgba(255,255,255,.08) inset}
.slot.is-entering .card,.slot.is-entering .list-item,.slot.is-entering .upload-box,.slot.is-entering .ring-wrap{animation:motionLift .75s cubic-bezier(.22,.8,.22,1) both}
.slot.is-entering .list-item:nth-child(2),.slot.is-entering .card:nth-child(2){animation-delay:.09s}
.slot.is-entering .list-item:nth-child(3),.slot.is-entering .card:nth-child(3){animation-delay:.16s}
.slot.is-entering .list-item:nth-child(4),.slot.is-entering .card:nth-child(4){animation-delay:.23s}
@keyframes motionLift{from{opacity:.15;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
.motion-caption{position:fixed;left:38px;bottom:92px;width:min(430px,calc(100vw - 76px));z-index:120;background:var(--motion-glass);backdrop-filter:blur(18px);border:1px solid rgba(11,43,34,.12);border-radius:18px;padding:18px 20px;box-shadow:var(--motion-shadow);transition:opacity .3s ease,transform .3s ease}
.motion-caption h2{font-family:'Source Serif 4',serif;font-size:25px;line-height:1.12;margin:5px 0 5px;color:#0B2B22}
.motion-caption p{margin:0;color:#5C6B62;font-size:12px;line-height:1.5}
.motion-eyebrow{font-size:9px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#2F6B3E}
.motion-controls{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:130;display:flex;align-items:center;gap:8px;padding:10px 12px;background:rgba(3,16,11,.94);color:#F5F3ED;border:1px solid rgba(255,255,255,.12);border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.35);backdrop-filter:blur(18px)}
.motion-controls button,.motion-controls select{border:1px solid rgba(255,255,255,.16);background:transparent;color:#F5F3ED;border-radius:10px;padding:9px 12px;font:700 11px Inter,sans-serif;cursor:pointer}
.motion-controls button:hover,.motion-controls select:hover{background:rgba(255,255,255,.08)}
.motion-controls .primary-control{background:#E3EFDF;color:#0B2B22;border-color:#E3EFDF;min-width:64px}
.motion-controls label{display:flex;align-items:center;gap:6px;font-size:10px;color:rgba(245,243,237,.75)}
.motion-controls select{padding:8px 28px 8px 10px}
.control-divider{height:26px;width:1px;background:rgba(255,255,255,.16);margin:0 3px}
.toggle-label input{accent-color:#BFE0C4}
.chapter-dots{position:fixed;right:34px;bottom:96px;z-index:125;display:flex;flex-direction:column;gap:9px}
.chapter-dots button{width:9px;height:9px;padding:0;border-radius:50%;border:1px solid rgba(245,243,237,.55);background:rgba(245,243,237,.18);cursor:pointer;transition:.25s}
.chapter-dots button.active{height:26px;border-radius:10px;background:#BFE0C4;border-color:#BFE0C4}
body.mode-vertical{padding-left:0;padding-right:0}
body.mode-vertical .sheet-head{max-width:520px}
body.mode-vertical .grid{display:flex;justify-content:center;align-items:flex-start;min-height:760px;max-width:520px}
body.mode-vertical .slot{display:none}
body.mode-vertical .slot.is-active{display:flex;transform:scale(1.02);opacity:1;filter:none}
body.mode-vertical .motion-caption{top:24px;bottom:auto;left:50%;transform:translateX(-50%);width:min(430px,calc(100vw - 30px))}
body.mode-vertical .sheet-head{opacity:.18;pointer-events:none}
body.reduced-motion *,body.reduced-motion *::before,body.reduced-motion *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
@media(max-width:820px){body{padding:28px 12px 180px}.sheet-head{margin-bottom:24px}.motion-controls{width:calc(100vw - 20px);overflow-x:auto;justify-content:flex-start;bottom:10px}.motion-caption{left:12px;bottom:82px;width:calc(100vw - 24px)}.chapter-dots{display:none}.grid{grid-template-columns:320px}.sheet-head .sub{display:none}}
