.story-window{--ease:cubic-bezier(.45, 0, .25, 1);font-family:var(--font-sans)}.story-window .s-frame{fill:var(--color-field);stroke:var(--color-ink);stroke-width:2px}.story-window .s-line{stroke:var(--color-rule);stroke-width:1.5px}.story-window .s-dot{fill:var(--color-rule)}.story-window .s-address{fill:var(--color-paper);stroke:var(--color-rule);stroke-width:1.5px}.story-window .s-caret{stroke:var(--color-oxblood);stroke-width:3px;opacity:0;transition:opacity .3s}.story-window[data-step="0"] .s-caret{opacity:1;animation:1s step-end infinite story-blink}.story-window .s-sketch path{stroke:var(--color-ink);stroke-width:1.6px;stroke-dasharray:1;stroke-dashoffset:1px;transition:stroke-dashoffset .7s var(--ease) calc(var(--i) * 70ms), opacity .5s}.story-window:not([data-step="0"]) .s-sketch path{stroke-dashoffset:0}.story-window:is([data-step="2"],[data-step="3"],[data-step="4"],[data-step="5"]) .s-sketch path{opacity:0}.story-window .s-design{opacity:0;transition:opacity .6s var(--ease), transform .6s var(--ease);transform:translateY(6px)}.story-window:is([data-step="2"],[data-step="3"],[data-step="4"],[data-step="5"]) .s-design{opacity:1;transform:none}.story-window .s-logo{fill:var(--color-ink);font-family:var(--font-serif);font-size:17px}.story-window .s-serif{fill:var(--color-ink);font-family:var(--font-serif);font-size:30px}.story-window .s-accent{fill:var(--color-oxblood)}.story-window .s-muted{fill:var(--color-rule)}.story-window .s-ink-bar{fill:var(--color-ink)}.story-window .s-wash{fill:var(--color-wash)}.story-window .s-hill{fill:color-mix(in srgb, var(--color-oxblood) 30%, var(--color-wash))}.story-window .s-sun{fill:color-mix(in srgb, var(--color-oxblood) 55%, var(--color-wash))}.story-window .s-button{fill:var(--color-oxblood)}.story-window .s-button-text{fill:var(--color-paper);font-size:12px;font-weight:500}.story-window .s-head{transition:opacity .5s var(--ease)}.story-window .s-head-b,.story-window[data-step="5"] .s-head-a{opacity:0}.story-window[data-step="5"] .s-head-b{opacity:1}.story-window .s-code{opacity:0;transition:opacity .5s var(--ease), transform .5s var(--ease);transform:translateY(24px)}.story-window[data-step="3"] .s-code{opacity:1;transform:none}.story-window .s-code-bg{fill:var(--color-ink)}.story-window .s-c{font-family:var(--font-mono);opacity:0;transition:opacity .3s calc(.25s + var(--i) * .12s);font-size:12px}.story-window[data-step="3"] .s-c{opacity:1}.story-window .s-c-comment{fill:#8e9082}.story-window .s-c-key{fill:#e3a1aa}.story-window .s-c-plain{fill:var(--color-paper)}.story-window .s-c-stack{fill:#c9c2a6}.story-window .s-launch{opacity:0;transition:opacity .3s}.story-window:is([data-step="4"],[data-step="5"]) .s-launch{opacity:1}.story-window .s-url{fill:var(--color-ink);font-family:var(--font-mono);font-size:11px}.story-window .s-url-mask{fill:var(--color-paper);transform-box:fill-box;transform-origin:100%;transition:transform .9s steps(15,end) .2s}.story-window:is([data-step="4"],[data-step="5"]) .s-url-mask{transform:scaleX(0)}.story-window .s-live-dot{fill:var(--color-oxblood)}.story-window:is([data-step="4"],[data-step="5"]) .s-live-dot{animation:1.6s ease-in-out infinite story-pulse}.story-window .s-live{fill:var(--color-oxblood);font-family:var(--font-mono);letter-spacing:.1em;font-size:10px}.story-window .s-cursor{opacity:0;transition:transform 1.1s var(--ease) .3s, opacity .3s .3s;transform:translate(560px,410px)}.story-window[data-step="4"] .s-cursor{opacity:1;transform:translate(118px,254px)}.story-window .s-arrow{fill:var(--color-ink);stroke:var(--color-paper);stroke-width:1.5px}.story-window .s-ripple{fill:none;stroke:var(--color-oxblood);stroke-width:2px;opacity:0;transform-box:fill-box;transform-origin:50%}.story-window[data-step="4"] .s-ripple{animation:.7s ease-out 1.45s story-ripple}.story-window[data-step="4"] .s-button{transform-box:fill-box;transform-origin:50%;animation:.3s ease-out 1.4s story-press}@keyframes story-blink{50%{opacity:0}}@keyframes story-pulse{50%{opacity:.35}}@keyframes story-ripple{0%{opacity:.9;transform:scale(.3)}to{opacity:0;transform:scale(1.6)}}@keyframes story-press{50%{transform:scale(.94)}}@media (prefers-reduced-motion:reduce){.story-window *,.story-chapter{transition:none!important;animation:none!important}}
