/* One case-specific narrative. Original comparison is the accessible fallback. */
:root{--story-float-duration:6s;--story-float-ease:ease-in-out}
.phone-story-static>.phone-story-stage{display:contents}
.phone-story.comparison{display:block;width:100%;max-width:none;height:100svh;min-height:760px;padding:0;margin:0;position:relative;overflow:clip}
.phone-story-stage{position:relative;height:100%;min-height:760px;perspective:1500px;isolation:isolate}
.phone-story .before,.phone-story .after{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:clamp(50px,8vw,130px);transform-style:preserve-3d;will-change:transform,opacity}
.phone-story .before figure{display:contents}
.phone-story .before .phone{--phone-width:clamp(250px,28vw,min(420px,38svh));margin:0}
.phone-story .before figcaption{padding:0;max-width:350px}
.phone-story figcaption h2,.phone-story .after-caption>h2{font-size:clamp(26px,3vw,40px);letter-spacing:-.035em;line-height:1.12}
.phone-story .comparison p,.phone-story p{font-size:20px;line-height:1.45;margin-top:18px}
.phone-story .after{opacity:0;gap:clamp(35px,6vw,90px)}
.phone-story .new-phones{gap:24px;flex:none;padding:0;transform-style:preserve-3d}
.phone-story .after .phone{--phone-width:clamp(250px,28vw,min(420px,38svh))}
.phone-story .phone-day{transform:rotateX(5deg) rotateY(calc(-12deg + var(--story-turn,0deg))) rotateZ(-7deg)}
.phone-story .phone-detail{transform:translateY(36px) rotateX(7deg) rotateY(calc(-15deg - var(--story-turn,0deg))) rotateZ(7deg)}
.phone-story .after-caption{padding:0;max-width:300px}
.phone-story.story-in-view.story-settled .new-phones{animation:story-float var(--story-float-duration) var(--story-float-ease) infinite}
@keyframes story-float{0%,100%{translate:0 0;}50%{translate:0 -12px;}}
@media(max-width:1100px){.phone-story .after{gap:35px}.phone-story .before .phone,.phone-story .after .phone{--phone-width:clamp(230px,31vw,320px)}.phone-story .after-caption{max-width:240px}.phone-story p{font-size:18px}}
@media(max-width:760px){
 .phone-story.comparison{height:100svh;min-height:780px}
 .phone-story-stage{min-height:780px}
 .phone-story .before,.phone-story .after{flex-direction:column;gap:38px;padding-block:40px}
 .phone-story .before .phone{--phone-width:clamp(160px,43vw,210px)}
 .phone-story .before figcaption,.phone-story .after-caption{width:100%;max-width:360px;padding:0}
 .phone-story figcaption h2,.phone-story .after-caption>h2{font-size:28px}
 .phone-story p{font-size:18px;margin-top:12px}
 .phone-story .new-phones{gap:0;padding:0 6px 20px}
 .phone-story .after .phone{--phone-width:clamp(140px,43vw,210px)}
 .phone-story .phone-detail{transform:translateY(20px) rotateX(7deg) rotateY(calc(-15deg - var(--story-turn,0deg))) rotateZ(7deg)}
}
@media(max-height:650px) and (min-width:761px){.phone-story-stage{min-height:0}.phone-story .phone,.phone-story .after .phone,.phone-story .before .phone{--phone-width:clamp(150px,32vh,220px)}}
@media(prefers-reduced-motion:reduce){.phone-story-stage{display:contents}.phone-story .new-phones{animation:none}}
@media print{.phone-story.comparison{height:auto}.phone-story-stage{display:contents}.phone-story .before,.phone-story .after{position:static;opacity:1!important;transform:none!important}.phone-story .new-phones{animation:none}}

/* Futuno icon red, with dark type for readable body copy. */
.phone-story-theme{background:var(--paper);color:var(--ink)}
.phone-story-theme p{color:var(--ink)}
.phone-story-static.comparison{width:100%;padding:56px var(--gutter)}
.story-replay{position:absolute;right:0;top:24px;z-index:5;min-height:44px;padding:9px 18px;border:1px solid #080808;border-radius:0;background:transparent;color:#080808;font:500 16px/1.4 Instrument,Arial,sans-serif;cursor:pointer}
.story-replay:hover{background:#080808;color:white}
.story-replay:focus-visible{outline:2px solid #080808;outline-offset:4px}
.story-replay[hidden]{display:none}
@media print{.story-replay{display:none}.phone-story-theme{background:white;color:#171717}}

/* The devices reveal individually; captions follow their screen, then settle. */
.phone-story .phone,.phone-story figcaption,.phone-story .after-caption>h2,.phone-story .after-caption>p{will-change:transform,opacity}
.phone-story .after-caption>h2{display:inline-block}
.phone-story .phone-detail{transform-origin:50% 65%}
.phone-story .phone-day{transform-origin:50% 70%}
@media(max-width:760px){.phone-story .after{gap:28px}.phone-story .phone-day{z-index:2}.phone-story .after .phone-detail{margin-top:0;margin-left:-44px}}

.before figcaption h2,.after-caption h2{font-weight:500;margin:0}

/* Desktop pair: larger screens, with a small overlap and the day view in front. */
@media(min-width:761px){
 .phone-story .new-phones{gap:0}
 .phone-story .phone-day{z-index:2}
 .phone-story .phone-detail{margin-left:-90px}
}

/* Transparent, phone-centred puff overlay. The shared story clock owns motion. */
.story-poof{position:absolute;z-index:4;overflow:visible;pointer-events:none;visibility:hidden;transform:translate(-50%,-50%)}
.phone-story-static .story-poof{display:none}
@media(prefers-reduced-motion:reduce){.story-poof{display:none}}
@media print{.story-poof{display:none}}

/* Product capabilities share the caption reveal, leaving phone motion intact. */
.phone-story .plaanid-features{font-size:18px;line-height:1.45;margin:20px 0 0;padding-left:21px}.phone-story .plaanid-features li+li{margin-top:6px}.phone-story .after-copy .plaanid-more{font-size:18px;margin-top:12px}.phone-story .after-copy{will-change:transform,opacity}

@media(max-width:760px){.phone-story.comparison,.phone-story-stage{min-height:1000px}}
