/* V13: motion layer only. Layout, type and artwork dimensions remain in styles.css. */
.motion-enabled .reveal{transition-duration:.7s;transition-delay:var(--entry-delay,0ms);transition-timing-function:cubic-bezier(.18,.75,.25,1)}
.motion-enabled .reveal[data-entry="title"]{transform:translateY(20px);transition-property:transform,opacity}
.motion-enabled .reveal[data-entry="title"].is-visible{transform:none;animation:title-unmask .7s cubic-bezier(.18,.75,.25,1)}
.motion-enabled .reveal[data-entry="curtain"]{transform:translateY(0);transition-property:opacity;transition-duration:.95s}
.motion-enabled .reveal[data-entry="curtain"].is-visible{animation:curtain-unmask .95s cubic-bezier(.18,.75,.25,1)}
@keyframes title-unmask{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0)}}
@keyframes curtain-unmask{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
.motion-enabled .reveal[data-entry="rise"]{transform:translateY(32px);transition-property:transform,opacity}
.motion-enabled .reveal[data-entry="rise"].is-visible{transform:none}
.motion-enabled .cursor-glow{opacity:.65}
.motion-enabled [data-magnetic]{transition:translate .18s ease-out}
.creative-cursor{position:fixed;z-index:80;left:0;top:0;pointer-events:none;opacity:0;color:var(--red);transition:opacity .15s;will-change:transform}
.creative-cursor.is-visible{opacity:1}.cursor-frame{position:absolute;width:32px;height:32px;left:-16px;top:-16px;transition:width .2s,height .2s,left .2s,top .2s,transform .16s;transform:rotate(var(--cursor-tilt,0deg))}
.cursor-frame i{position:absolute;width:8px;height:8px;border-style:solid;border-width:0;border-color:currentColor}
.cursor-frame i:nth-child(1){left:0;top:0;border-left-width:1.5px;border-top-width:1.5px}.cursor-frame i:nth-child(2){right:0;top:0;border-right-width:1.5px;border-top-width:1.5px}.cursor-frame i:nth-child(3){right:0;bottom:0;border-right-width:1.5px;border-bottom-width:1.5px}.cursor-frame i:nth-child(4){left:0;bottom:0;border-left-width:1.5px;border-bottom-width:1.5px}
.creative-cursor.has-target .cursor-frame{width:62px;height:42px;left:-31px;top:-21px;transform:rotate(0)}
.creative-cursor.is-pressed .cursor-frame{transform:scale(.76)}
.cursor-caption{position:absolute;left:26px;top:27px;white-space:nowrap;font:700 10px/1.4 var(--mono);letter-spacing:.08em;color:#fff;background:#050505eb;padding:5px 8px;opacity:0;transform:translateY(4px);transition:opacity .18s,transform .18s;border-left:2px solid var(--red)}
.creative-cursor.has-target .cursor-caption{opacity:1;transform:none}.creative-cursor.on-red{color:white}
.chapter-cue{position:fixed;z-index:65;right:3vw;bottom:26px;display:flex;align-items:center;gap:14px;padding:12px 18px;color:#fff;background:#050505ec;border:1px solid #ffffff36;pointer-events:none;opacity:0;max-width:calc(100vw - 36px)}
.chapter-cue b{color:var(--red);font:700 12px/1.4 var(--mono)}.chapter-cue span{font:600 12px/1.5 var(--sans);white-space:nowrap}.chapter-cue:before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--red)}
.page-curtain{position:fixed;z-index:1000;inset:0;display:grid;grid-template-columns:repeat(3,1fr);pointer-events:none;visibility:hidden}.page-curtain.is-active{visibility:visible}.page-curtain i{background:#050505;transform:translateY(102%);border-top:2px solid var(--red)}
body.motion-dialog-open{overflow:hidden}.motion-dialog-open .creative-cursor{opacity:0!important}
@media(max-width:720px){.chapter-cue{right:18px;bottom:18px;padding:10px 13px;gap:10px}.chapter-cue span{font-size:11px}.motion-enabled .reveal[data-entry="curtain"]{transition-duration:.65s}.motion-enabled .reveal[data-entry="rise"]{transform:translateY(20px)}.motion-enabled .reveal[data-entry="rise"].is-visible{transform:none}}
@media(pointer:coarse){.creative-cursor{display:none}}
@media(prefers-reduced-motion:reduce){.creative-cursor,.chapter-cue,.page-curtain{display:none!important}.motion-enabled .reveal{clip-path:none!important;transform:none!important;opacity:1!important}[data-magnetic]{translate:none!important}}
