
.site-story{margin-top:var(--section-join-space,120px);color:var(--ink);font-family:inherit;display:grid;grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);align-items:center;gap:var(--space-40,40px);padding:var(--space-40,40px) 0 var(--space-40,40px)}
.story-intro h2{font-size:var(--type-h2);font-weight:500;line-height:1.08;letter-spacing:-.045em;margin:0 0 var(--space-24,24px)}.story-intro p{font-size:var(--type-body);line-height:1.55;color:var(--muted);margin:0;max-width:480px}.story-intro strong{font-weight:500;color:var(--ink)}
.story-scene{position:relative;aspect-ratio:1.22;isolation:isolate;perspective:1100px;min-width:0;overflow:hidden;background:none}.story-piece{position:absolute;transform-origin:center;will-change:transform,opacity}.story-blueprint{left:2%;top:6%;width:65%;height:52%;color:#a3b0b1;transform:rotate(-12deg) skewY(-4deg);z-index:1}.story-blueprint svg{width:100%;height:100%;overflow:visible}.story-type{left:4%;bottom:8%;font-size:clamp(54px,8vw,120px);letter-spacing:-.095em;line-height:.85;font-weight:500;color:#25313a;transform:rotate(-8deg);z-index:3}.story-palette{display:flex;gap:5px;margin:12px 0 0 9px}.story-palette i{width:22px;height:22px;background:#25313a;border-radius:50%;border:1px solid #25313a22}.story-palette i:nth-child(2){background:#50595f}.story-palette i:nth-child(3){background:#f4f3f0}.story-palette i:nth-child(4){background:#e3b99a}.story-code{right:2%;bottom:6%;margin:0;font:clamp(9px,1.1vw,15px)/1.5 monospace;color:#566b65;transform:rotate(5deg);z-index:2;white-space:pre}.story-code em{color:#a17150;font-style:normal}.story-result{width:82%;left:13%;top:24%;z-index:4;transform:rotate(-5deg) rotateY(-9deg);filter:drop-shadow(0 18px 18px #25313a30)}.story-result img{display:block;width:100%;height:auto;border-radius:9px;border:1px solid #b9a89a}.story-scene.ready .story-piece{will-change:auto}.story-scene.pending .story-piece{opacity:0}.story-scene.pending .story-blueprint{transform:translate(-15%,8%) rotate(-23deg) scale(.8)}.story-scene.pending .story-type{transform:translate(-55%,40%) rotate(-20deg)}.story-scene.pending .story-code{transform:translate(45%,50%) rotate(19deg)}.story-scene.pending .story-result{transform:translate(25%,-23%) rotate(9deg) rotateY(-25deg) scale(.76)}
.story-scene.playing .story-piece{transition:transform 2.1s cubic-bezier(.16,1,.3,1),opacity 1.15s ease-out}.story-scene.playing .story-type{transition-delay:.45s}.story-scene.playing .story-code{transition-delay:.9s}.story-scene.playing .story-result{transition-delay:1.45s}
@media(max-width:900px){.site-story{grid-template-columns:1fr;gap:var(--space-24,24px)}.story-scene{max-width:660px;width:100%;margin:0 auto}.story-type{font-size:clamp(54px,14vw,110px)}}body[data-mode=mobile] .site-story{grid-template-columns:1fr;gap:var(--space-24,24px)}body[data-mode=mobile] .story-type{font-size:64px}body[data-mode=mobile] .story-code{font-size:10px}@media(prefers-reduced-motion:reduce){.story-scene .story-piece{transition:none!important;opacity:1!important}}

/* One-shot warm light, following the assembly. No persistent glow. */
.story-scene.playing .story-blueprint{animation:story-line-light 1.65s ease-in-out .15s both}
.story-scene.playing .story-type{animation:story-line-light 1.65s ease-in-out .6s both}
.story-scene.playing .story-code{animation:story-line-light 1.65s ease-in-out 1.05s both}
.story-result::after{content:"";position:absolute;inset:0;border:1px solid #eec39d;border-radius:9px;pointer-events:none;opacity:0;box-shadow:0 0 9px #f3b983,0 0 22px #efb17e88,inset 0 0 8px #ffd6a455}
.story-scene.playing .story-result::after{animation:story-final-light 2.1s ease-in-out 1.45s both}
@keyframes story-line-light{0%,100%{filter:none}42%{filter:drop-shadow(0 0 3px #d99d65) drop-shadow(0 0 8px #f0bc8977)}}
@keyframes story-final-light{0%,100%{opacity:0}48%{opacity:.95}70%{opacity:.55}}
@media(prefers-reduced-motion:reduce){.story-scene .story-piece,.story-result::after{animation:none!important}}

/* ContactActions belongs to SiteStory composition; no section join between them. */
.site-story{row-gap:var(--space-text)}
