/* Soft Commotion · Story Card Cinematics v461
   Three deliberately distinct reading chapters, not the same panel three times.
   The card stays keyboard-operable, quiet, motion-optional and photo-safe. */
.sc-card-art .sc-card-story-stage{isolation:isolate;scrollbar-width:thin}
.sc-card-art .sc-card-story-stage:before,
.sc-card-art .sc-card-story-stage:after{content:"";position:absolute;pointer-events:none;z-index:-1}
.sc-card-art .sc-card-story-stage>*{position:relative;z-index:1}
.sc-card-art .sc-card-story-stage .sc-card-story-engraving-holder{transition:transform .7s ease,opacity .7s ease;min-width:0}
.sc-card-art .sc-card-story-stage .sc-card-story-imprint{font-size:8px;letter-spacing:.16em}
.sc-card-art .sc-card-story-stage h3{text-wrap:balance}
.sc-card-art .sc-card-story-stage p{max-width:38ch}
/* First chapter / Invitation to the memory — architectural arch and paper. */
.sc-card-art .sc-card-story-chapter-1{
 background:radial-gradient(ellipse 90% 70% at 50% 18%,color-mix(in srgb,var(--card-light) 85%,white),transparent 84%),var(--card-bg);
 animation:sc-card-chapter-one .78s cubic-bezier(.2,.74,.24,1) both
}
.sc-card-art .sc-card-story-chapter-1:before{
 top:7%;left:9%;right:9%;height:80%;
 border:1px solid color-mix(in srgb,var(--card-rule) 65%,transparent);
 border-radius:47% 47% 2px 2px / 16% 16% 2px 2px
}
.sc-card-art .sc-card-story-chapter-1 .sc-card-story-engraving-holder{width:min(34%,135px)}
.sc-card-art .sc-card-story-chapter-1 .sc-card-story-count{margin-top:6%}
.sc-card-art .sc-card-story-chapter-1 h3{font-style:italic;letter-spacing:-.036em}
/* Second chapter / The memory becomes personal — gallery light and contrast. */
.sc-card-art .sc-card-story-chapter-2{
 background:linear-gradient(107deg,color-mix(in srgb,var(--card-accent) 10%,transparent),transparent 38%,color-mix(in srgb,var(--card-light) 55%,transparent) 90%),var(--card-bg);
 animation:sc-card-chapter-two .72s cubic-bezier(.2,.74,.24,1) both
}
.sc-card-art .sc-card-story-chapter-2:before{inset:8.5%;border:1px solid color-mix(in srgb,var(--card-rule) 65%,transparent)}
.sc-card-art .sc-card-story-chapter-2:after{
 left:50%;top:11%;bottom:11%;width:1px;
 background:linear-gradient(transparent,var(--card-rule),transparent);
 opacity:.28;transform:rotate(18deg)
}
.sc-card-art .sc-card-story-chapter-2 .sc-card-story-engraving-holder{width:min(29%,125px);transform:rotate(-7deg)}
.sc-card-art .sc-card-story-chapter-2 .sc-card-story-count{letter-spacing:.3em}
.sc-card-art .sc-card-story-chapter-2 h3{font-family:Georgia,serif;font-weight:400}
/* Third chapter / The final page before the personal letter — the keepsake. */
.sc-card-art .sc-card-story-chapter-3{
 background:radial-gradient(circle at 50% 28%,color-mix(in srgb,var(--card-light) 92%,transparent),transparent 74%),var(--card-bg);
 animation:sc-card-chapter-three .83s cubic-bezier(.14,.75,.2,1) both
}
.sc-card-art .sc-card-story-chapter-3:before{inset:7%;border:2px double color-mix(in srgb,var(--card-rule) 72%,transparent)}
.sc-card-art .sc-card-story-chapter-3:after{inset:9.5%;border:1px solid color-mix(in srgb,var(--card-rule) 32%,transparent)}
.sc-card-art .sc-card-story-chapter-3 .sc-card-story-engraving-holder{width:min(38%,153px)}
.sc-card-art .sc-card-story-chapter-3 h3{font-style:italic;font-size:clamp(26px,5vw,49px)}
.sc-card-art .sc-card-story-chapter-3 .sc-card-story-imprint{font-weight:800}
/* Settle the words after the page comes to rest. */
.sc-card-art .sc-card-story-stage h3,
.sc-card-art .sc-card-story-stage p{
 animation:sc-card-chapter-text .65s cubic-bezier(.2,.7,.2,1) .17s both
}
@keyframes sc-card-chapter-one{
 from{opacity:0;clip-path:inset(100% 0 0 0);filter:brightness(1.03)}
 to{opacity:1;clip-path:inset(0);filter:none}
}
@keyframes sc-card-chapter-two{
 from{opacity:0;transform:translateX(13px) scale(.985)}
 to{opacity:1;transform:none}
}
@keyframes sc-card-chapter-three{
 from{opacity:0;clip-path:circle(20% at 50% 50%);transform:scale(1.02)}
 to{opacity:1;clip-path:circle(150% at 50% 50%);transform:none}
}
@keyframes sc-card-chapter-text{
 from{opacity:0;transform:translateY(8px)}
 to{opacity:1;transform:none}
}
@media(max-width:450px){
 .sc-card-art .sc-card-story-stage{gap:10px}
 .sc-card-art .sc-card-story-chapter-1 .sc-card-story-engraving-holder,
 .sc-card-art .sc-card-story-chapter-2 .sc-card-story-engraving-holder{width:min(26%,92px)}
 .sc-card-art .sc-card-story-chapter-3 .sc-card-story-engraving-holder{width:min(29%,105px)}
 .sc-card-art .sc-card-story-chapter-3 h3{font-size:clamp(23px,6vw,33px)}
 .sc-card-art .sc-card-story-stage p{font-size:clamp(12px,3.3vw,15px);line-height:1.5}
}
@media(prefers-reduced-motion:reduce){
 .sc-card-art .sc-card-story-stage,
 .sc-card-art .sc-card-story-stage h3,
 .sc-card-art .sc-card-story-stage p{animation:none!important;clip-path:none!important;transform:none!important;filter:none!important;opacity:1!important}
 .sc-card-art .sc-card-story-stage .sc-card-story-engraving-holder{transition:none!important}
}