/* A touch-operated SVG studio; the pencil trail adds no layout height. */
.hero-art{border:0;padding:0;background:transparent;color:var(--blue);text-align:inherit;cursor:pointer;touch-action:manipulation;isolation:isolate}
.hero-art:focus-visible{outline:3px solid var(--orange);outline-offset:5px;border-radius:10px}
.studio-tap-hint{position:absolute;left:36%;bottom:-9px;font-size:10px;font-weight:800;white-space:nowrap;transform:rotate(-3deg);color:#486f7b;opacity:.85}
.studio-tap-hint span{display:inline-block;color:#c17d0d;animation:studio-invitation 3s ease-in-out infinite}
.studio-burst{opacity:0;pointer-events:none}.is-playing .studio-burst{opacity:1}
.is-playing .studio-burst>*{animation:studio-paint-pop 1.5s ease-out both;transform-box:fill-box;transform-origin:center}
.studio-burst .burst-blue{--paint-x:-90px;--paint-y:-125px}.studio-burst .burst-orange{--paint-x:54px;--paint-y:-150px}.studio-burst .burst-coral{--paint-x:86px;--paint-y:-72px}.studio-burst .burst-green{--paint-x:-130px;--paint-y:-40px}.studio-burst .burst-star{--paint-x:-20px;--paint-y:-195px}
.is-playing .studio-pencil{animation:studio-pencil-party 1.6s ease-in-out both}.is-playing .studio-brush{animation:studio-brush-party 1.6s ease-in-out both}.is-playing .studio-paper{animation:studio-paper-party 1.6s ease-in-out both}
.is-playing .rainbow-line{animation:draw-rainbow 1.8s ease-in-out both}.is-playing .rainbow-two{animation-delay:.1s}.is-playing .rainbow-three{animation-delay:.2s}
.gallery-section{position:relative}.mobile-art-trail{display:none;pointer-events:none}
.artwork-lightbox{isolation:isolate}
.artwork-lightbox:before,.artwork-lightbox:after{content:"";position:absolute;width:27px;height:27px;background:url('assets/spark.svg') center/contain no-repeat;z-index:1;pointer-events:none;animation:artwork-spark 5s ease-in-out infinite}
.artwork-lightbox:before{top:15px;left:15px}.artwork-lightbox:after{right:17px;bottom:19px;width:19px;height:19px;animation-delay:-2.5s}
.artwork-lightbox img.paper-reveal{animation:artwork-paper-reveal .48s cubic-bezier(.2,.8,.2,1) both;transform-origin:50% 80%}
.motion-suspended .studio-illustration *,.motion-suspended .mobile-motion-illustration *,.motion-outside .studio-illustration *,.mobile-art-trail.motion-outside *{animation-play-state:paused!important}
@keyframes studio-invitation{0%,60%,100%{transform:translate(0,0)}75%{transform:translate(3px,-3px)}85%{transform:translate(0,0)}}
@keyframes studio-paint-pop{0%{opacity:0;transform:translate(0,0) scale(.1)}15%{opacity:1;transform:scale(1.2)}75%{opacity:1}100%{opacity:0;transform:translate(var(--paint-x),var(--paint-y)) scale(.35) rotate(120deg)}}
@keyframes studio-pencil-party{0%,100%{transform:rotate(-2deg) translate(0,0)}20%{transform:rotate(14deg) translate(-45px,-50px)}45%{transform:rotate(-10deg) translate(-95px,-70px)}65%{transform:rotate(12deg) translate(-45px,-20px)}85%{transform:rotate(-8deg) translate(-12px,-12px)}}
@keyframes studio-brush-party{0%,100%{transform:rotate(-3deg)}30%{transform:rotate(-18deg) translateY(-18px)}65%{transform:rotate(15deg) translateY(-8px)}}
@keyframes studio-paper-party{0%,100%{transform:rotate(0) translateY(0)}25%{transform:rotate(-4deg) translateY(-7px)}60%{transform:rotate(3deg) translateY(-2px)}}
@keyframes artwork-paper-reveal{from{opacity:.35;transform:translateY(13px) rotate(-2deg) scale(.97)}to{opacity:1;transform:none}}
@keyframes artwork-spark{0%,65%,100%{opacity:.28;transform:scale(.7) rotate(0)}80%{opacity:1;transform:scale(1.12) rotate(35deg)}}
@keyframes mobile-trail-draw{0%,6%{stroke-dashoffset:380}64%,91%,100%{stroke-dashoffset:0}}
@keyframes mobile-pencil-travel{0%,6%{transform:translate(0,0) rotate(0)}20%{transform:translate(38px,-6px) rotate(6deg)}34%{transform:translate(85px,1px) rotate(-4deg)}48%{transform:translate(142px,-6px) rotate(5deg)}64%,84%{transform:translate(203px,0) rotate(-4deg)}91%,100%{transform:translate(0,0) rotate(0)}}
@keyframes mobile-paper-flutter{0%,65%,100%{transform:translateY(0) rotate(-2deg)}75%{transform:translateY(-4px) rotate(3deg)}85%{transform:translateY(-1px) rotate(-1deg)}}
@keyframes mobile-paint-hop{0%,46%,70%,100%{transform:translateY(0) scale(1,1)}52%{transform:translateY(-7px) scale(.9,1.1)}61%{transform:translateY(0) scale(1.1,.9)}}
@keyframes mobile-fold{0%,68%,100%{transform:skewY(0)}79%{transform:skewY(17deg)}}
@media(max-width:800px){
 .hero-art{pointer-events:auto}.hero-copy{pointer-events:none}.hero-copy>*{pointer-events:auto}.hero-actions{width:max-content;max-width:100%}
 .mobile-art-trail{display:block;position:absolute;left:24px;right:24px;top:-25px;height:48px;z-index:0;opacity:.95}
 .mobile-motion-illustration{width:100%;height:100%;overflow:visible}
 .trail-scribble{stroke-dasharray:380;animation:mobile-trail-draw 7.5s ease-in-out infinite}.trail-blue-line{stroke-dasharray:220;animation:mobile-trail-draw 9s ease-in-out -2s infinite;opacity:.45}
 .trail-pencil{animation:mobile-pencil-travel 7.5s ease-in-out infinite;transform-origin:20px 35px}.trail-paper{animation:mobile-paper-flutter 6s ease-in-out infinite;transform-origin:340px 24px}
 .trail-fold{animation:mobile-fold 6s ease-in-out infinite;transform-origin:42px 34px}.trail-paint{transform-box:fill-box;transform-origin:center bottom;animation:mobile-paint-hop 4.5s ease-in-out infinite}
 .trail-paint-orange{animation-delay:-1.7s}.trail-spark{animation:artwork-spark 5s ease-in-out -1s infinite;transform-origin:307px 8px}.section-heading{position:relative;z-index:1}
}
@media(max-width:560px){
 .hero{overflow:hidden;overflow:clip}.hero-art{width:182px;right:2px;bottom:24px;z-index:1}.hero-art:before{display:none}
 .studio-tap-hint{left:26%;bottom:-3px;font-size:9px;background:#fff9ede6;padding:0 4px}.mobile-art-trail{left:15px;right:15px;top:-26px;height:43px}
 .hero .studio-pencil{animation-duration:3.8s}.hero .studio-brush{animation-duration:4.4s}.hero .studio-palette{animation-duration:5.3s}.hero .paint-dot{animation-duration:2.5s}
}
@media(max-width:350px){.hero-art{width:152px;right:0}.studio-tap-hint{font-size:8px;left:20%}}
@media(prefers-reduced-motion:reduce){
 .mobile-motion-illustration *,.studio-illustration *,.studio-tap-hint span,.artwork-lightbox:before,.artwork-lightbox:after,.artwork-lightbox img.paper-reveal{animation:none!important;transition:none!important}
 .trail-scribble,.trail-blue-line{stroke-dashoffset:0}.studio-burst{display:none}
}

.hero .hero-art.is-playing .studio-pencil,.hero .hero-art.is-playing .studio-brush{animation-duration:1.6s}
