/* Native motion: short entrances, bounded scroll depth, no scroll replacement. */
.hero{--hero-shift:0px;--card-spread:0px}
.hero-art.kami-art{isolation:isolate}
.hero-character{position:relative;z-index:1;translate:0 var(--hero-shift)}
.art-satellites{position:absolute;inset:0;pointer-events:none;z-index:2}
.art-satellite{position:absolute;display:block;width:28%;border:1px solid var(--line);border-radius:16px;padding:7px;background:var(--surface2);box-shadow:0 16px 30px #0004;transform-origin:50% 80%}
.art-satellite img{display:block;width:100%;height:auto;max-height:none;border-radius:10px;aspect-ratio:4/5;object-fit:cover}
.satellite-rose{left:-9%;top:6%;transform:translateX(calc(-1 * var(--card-spread))) rotate(-13deg)}
.satellite-rose img{object-fit:contain;background:var(--surface)}
.satellite-gold{right:-5%;bottom:4%;transform:translateX(var(--card-spread)) rotate(11deg)}
.art-satellite img{animation:paper-float 6s ease-in-out infinite alternate;animation-play-state:paused}
.satellite-gold img{animation-delay:-3s}
.hero.motion-visible .art-satellite img{animation-play-state:running}
.logo-stage{isolation:isolate}
.logo-stage::after{content:'';position:absolute;inset:12%;border:1px solid var(--line);border-radius:28%;transform:rotate(-18deg);pointer-events:none;z-index:-1}
.logo-object{translate:0 calc(var(--hero-shift) * -.6)}
.hero.motion-visible .logo-orbit{animation-play-state:running}
.hero:not(.motion-visible) .logo-orbit{animation-play-state:paused}
.hero-art .art-halo{opacity:.7}
.collection summary{transition:background .3s ease}
.collection summary:focus-visible,.collection summary:hover{background:color-mix(in srgb,var(--accent) 4%,transparent)}
.collection .mini-fan img{transition:transform .65s cubic-bezier(.16,1,.3,1),box-shadow .3s}
.collection[open] .mini-fan img:nth-child(1){transform:translateX(-18px) rotate(-18deg)}
.collection[open] .mini-fan img:nth-child(2){transform:translateY(-9px) rotate(0deg)}
.collection[open] .mini-fan img:nth-child(3){transform:translateX(18px) rotate(18deg)}
.collection[open] .expand-icon{background:var(--accent);color:var(--bg)}
.expand-icon{transition:background .25s,color .25s,transform .45s}
.button{transition:transform .25s ease,box-shadow .25s ease,background .25s ease}
.button:active{transform:translateY(1px) scale(.98)}
.profile-switch{transition:background .4s,border-color .4s}
.community-invite{transition:border-color .3s,transform .3s}
@media(hover:hover) and (pointer:fine){
 .community-invite:hover{border-color:var(--accent);transform:translateY(-4px)}
 .art-item:hover .art-frame img{scale:1.025}
 .art-frame img{transition:scale .5s cubic-bezier(.16,1,.3,1)}
}
@media(min-width:901px) and (min-height:651px){
 .demo-layout{display:flex;flex-direction:column;gap:90px;padding-bottom:48px;isolation:isolate;--stack-scale:1}
 .demo-card{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);align-items:center;position:sticky;top:116px;width:100%;min-height:330px;margin:0;box-shadow:0 22px 48px #0003;transform-origin:50% 0}
 .demo-card video{height:auto;align-self:center}
 .demo-copy{padding:clamp(24px,3vw,40px)}
 .demo-copy h3{font-size:clamp(26px,2.8vw,38px);line-height:1.12}
 .demo-skills{scale:var(--stack-scale);background:var(--surface2);z-index:1}
 .demo-command{top:144px;z-index:2;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);background:var(--surface)}
}
@media(max-width:900px),(max-height:650px){
 .art-satellites{display:none}
 .hero-character,.logo-object{translate:none}
 .hero-art img{animation:none}
}
@media(max-width:650px){
 .collection .mini-fan img{width:52px;height:76px;left:12px}
 .collection>summary:hover .mini-fan img,.collection[open] .mini-fan img:nth-child(n){transform:translateX(calc((var(--i) - 1)*6px)) rotate(calc((var(--i) - 1)*10deg))}
 .collection>summary:hover .mini-fan img:nth-child(2),.collection[open] .mini-fan img:nth-child(2){transform:translateY(-6px)}
}
@keyframes paper-float{from{translate:0 0}to{translate:0 -6px}}
:root.motion-suspended *,:root.motion-suspended *::before,:root.motion-suspended *::after{animation-play-state:paused!important}
:root[data-motion=off] .hero-character,:root[data-motion=off] .logo-object{translate:none}
:root[data-motion=off] .demo-card{position:relative;top:auto;scale:1}
@media(prefers-reduced-motion:reduce){
 .hero-character,.logo-object{translate:none}
 .demo-card{position:relative;top:auto;scale:1}
}
