.brick-window{position:relative;border:12px solid var(--rengaya-ochre);border-bottom-width:18px;border-radius:22px;box-shadow:0 5px 0 color-mix(in srgb,var(--rengaya-ink) 17%,var(--rengaya-ochre)),inset 0 2px 0 #fff6}
.brick-window::before{content:"";position:absolute;left:22px;right:22px;top:-27px;height:19px;background:radial-gradient(ellipse at 50% 46%,#fff5 0 17%,transparent 20%),var(--rengaya-ochre);background-size:46px 19px;mask:radial-gradient(ellipse 17px 9px at 23px 10px,#000 98%,transparent) 0 0/46px 19px repeat-x;pointer-events:none}
.assembly.brick-window{margin-top:32px;overflow:visible}.assembly.brick-window .photo-assembly{overflow:hidden}.assembly.brick-window .assembly-top{border-radius:9px 9px 0 0}.assembly.brick-window .assembly-bottom{border-radius:0 0 6px 6px}
.reference-photo{border:7px solid var(--rengaya-chalk);border-bottom-width:18px;padding:0;box-shadow:0 5px 0 #252b2817,0 10px 22px #252b2810}.reference-photo::before{content:"";position:absolute;top:-14px;left:16px;right:16px;height:8px;background:radial-gradient(ellipse 9px 4px at 12px 4px,var(--rengaya-chalk) 98%,transparent) 0 0/28px 8px repeat-x}
.squirrel-story{margin:22px 0 48px;background:var(--panel);border-color:var(--rengaya-mist);border-width:10px;border-bottom-width:16px;border-radius:24px;box-shadow:0 5px 0 color-mix(in srgb,var(--rengaya-sky) 35%,var(--rengaya-mist))}
.squirrel-story::before{background-color:var(--rengaya-mist)}
.squirrel-story-head{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;gap:16px}.squirrel-story-head h3{font:500 22px/1.3 var(--display);letter-spacing:-.025em}.story-controls{display:flex;gap:6px;flex-shrink:0}.story-controls button{font-size:11px;cursor:pointer}
.squirrel-canvas{overflow:hidden;border-block:1px solid var(--rule)}.squirrel-canvas svg{display:block;width:100%;height:auto}
.squirrel-captions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:17px 24px;color:var(--ink-2);font-size:12px}.squirrel-captions span{display:flex;gap:8px;align-items:center}.squirrel-captions b{display:grid;place-items:center;width:23px;height:23px;flex-shrink:0;background:var(--rengaya-ochre);border-radius:50%;color:var(--rengaya-ink);font-size:10px;font-weight:500}
.story-tail{transform-origin:412px 269px}.story-camera{transform-origin:445px 250px}.story-body{transform-origin:435px 292px}.story-build-paw{transform-origin:452px 256px;opacity:0}.story-click,.story-photo,.story-delight{opacity:0}.story-photo{transform-box:fill-box;transform-origin:center}.story-piece{transform-box:fill-box;transform-origin:center}
.story-piece-1{--dx:-80px;--dy:-80px;--turn:-15deg;--at:37%}.story-piece-2{--dx:130px;--dy:-40px;--turn:20deg}.story-piece-3{--dx:-90px;--dy:-100px;--turn:-20deg}.story-piece-4{--dx:80px;--dy:-90px;--turn:14deg}.story-piece-5{--dx:0px;--dy:-110px;--turn:-8deg}
.squirrel-story.is-animated .story-tail{animation:story-tail 12s ease-in-out both}.squirrel-story.is-animated .story-camera{animation:story-camera 12s ease-in-out both}.squirrel-story.is-animated .story-body{animation:story-body 12s ease-in-out both}.squirrel-story.is-animated .story-click{animation:story-click 12s linear both}.squirrel-story.is-animated .story-photo{animation:story-photo 12s ease-in-out both}.squirrel-story.is-animated .story-build-paw{animation:story-build 12s ease-in-out both}.squirrel-story.is-animated .story-delight{animation:story-delight 12s ease-in-out both}
.squirrel-story.is-animated .story-piece{animation:story-brick 1s cubic-bezier(.2,.8,.2,1) both}.squirrel-story.is-animated .story-piece-1{animation-delay:4.6s}.squirrel-story.is-animated .story-piece-2{animation-delay:5.5s}.squirrel-story.is-animated .story-piece-3{animation-delay:6.4s}.squirrel-story.is-animated .story-piece-4{animation-delay:7.3s}.squirrel-story.is-animated .story-piece-5{animation-delay:8.2s}
.squirrel-story.is-animated.is-paused svg *{animation-play-state:paused!important}
@keyframes story-tail{0%,28%,100%{transform:rotate(0)}12%,22%{transform:rotate(7deg)}45%,61%,77%{transform:rotate(-5deg)}53%,69%,85%{transform:rotate(5deg)}}
@keyframes story-camera{0%,6%{transform:translate(0,0) rotate(0)}14%,25%{transform:translate(-15px,-13px) rotate(-8deg);opacity:1}30%,100%{transform:translate(0,10px);opacity:0}}
@keyframes story-body{0%,32%,100%{transform:rotate(0)}42%,58%,74%{transform:rotate(6deg)}50%,66%,82%{transform:rotate(2deg)}90%{transform:translateY(-5px)}}
@keyframes story-click{0%,17%,21%,100%{opacity:0}18%,19%{opacity:1}}
@keyframes story-photo{0%,20%{opacity:0;transform:translate(-210px,20px) rotate(-8deg) scale(.65)}27%,32%{opacity:1;transform:translate(0,0) rotate(-8deg) scale(1)}45%,100%{opacity:1;transform:translate(248px,45px) rotate(8deg) scale(.8)}}
@keyframes story-build{0%,34%,86%,100%{opacity:0;transform:rotate(0)}40%,54%,68%,82%{opacity:1;transform:rotate(-20deg)}47%,61%,75%{opacity:1;transform:rotate(8deg)}}
@keyframes story-brick{0%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--turn))}20%{opacity:1}100%{opacity:1;transform:none}}
@keyframes story-delight{0%,74%,100%{opacity:0}78%,87%{opacity:1}}
/* Static illustration retains the matching photo and assembled model. */
.squirrel-story:not(.is-animated) .story-photo{opacity:1;transform:translate(248px,45px) rotate(8deg) scale(.8)}
@media(max-width:760px){.squirrel-story-head{padding:15px}.squirrel-story-head h3{font-size:19px}.squirrel-captions{padding:14px 12px;gap:8px;font-size:11px}.squirrel-captions span{flex-direction:column;text-align:center}.brick-window{border-width:8px;border-bottom-width:13px}.brick-window::before{top:-22px}.squirrel-story{margin-bottom:32px}.squirrel-canvas svg{width:125%;max-width:none;margin-left:-12.5%}}
@media(max-width:400px){.squirrel-story-head{align-items:flex-start}.squirrel-story-head h3{font-size:17px;max-width:12ch}.story-controls{gap:4px}.story-controls button{padding-inline:9px}.squirrel-captions b{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.squirrel-story.is-animated svg *{animation:none!important}.story-build-paw,.story-click,.story-delight{opacity:0}.squirrel-story.is-animated .story-photo{opacity:1;transform:translate(248px,45px) rotate(8deg) scale(.8)}}

.story-squirrel{transform-origin:435px 255px}.squirrel-story.is-animated .story-squirrel{animation:story-turn 12s ease-in-out both}.story-click{transform:translateX(-86px)}
@keyframes story-turn{0%,28%{transform:translateX(0) scaleX(-1)}35%{transform:translateX(35px) scaleX(1)}43%,100%{transform:translateX(150px) scaleX(1)}}
.squirrel-story:not(.is-animated) .story-squirrel{transform:translateX(150px)}
.squirrel-story:not(.is-animated) .story-camera{opacity:0}
.squirrel-story:not(.is-animated) .story-build-paw{opacity:1}
@media(prefers-reduced-motion:reduce){.squirrel-story .story-squirrel{transform:translateX(150px)!important}.squirrel-story .story-camera{opacity:0!important}.squirrel-story .story-build-paw{opacity:1!important}}
