/* BABYSO 1.5.9 — transparent cutout storyboard, no poster cards */
.bci-how-story{position:relative;isolation:isolate;overflow:clip;padding:clamp(52px,6vw,88px) clamp(18px,5vw,76px) 0;background:radial-gradient(ellipse at 76% 40%,#d9f4ee 0,transparent 38%),linear-gradient(135deg,#f8f8f1 0%,#eff8f3 52%,#f8f6ee 100%);color:#173c35}
.bci-how-story:before,.bci-how-story:after{content:"";position:absolute;z-index:-1;border:1px solid #8edbd3;opacity:.32;border-radius:50%;width:58vw;height:18vw;left:-15vw;top:43%;transform:rotate(-8deg);pointer-events:none}
.bci-how-story:after{left:auto;right:-18vw;top:70%;transform:rotate(9deg);width:60vw}
.bci-how-story__intro{max-width:1180px;margin:0 auto 12px;position:relative;z-index:2}
.bci-how-story__intro h2{font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:-.045em;font-size:clamp(38px,5.6vw,76px);line-height:.98;margin:12px 0 16px;color:#173c35}
.bci-how-story__intro>p:last-child{color:#61756d;font-size:clamp(15px,1.4vw,18px);line-height:1.65;max-width:620px}
.bci-how-story__track{height:270vh;position:relative}
.bci-how-story__sticky{position:sticky;top:0;min-height:min(780px,100svh);height:100svh;max-height:940px;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.72fr);align-items:center;gap:clamp(18px,3.6vw,58px);padding:clamp(12px,2.2vw,30px) 0}
.bci-how-story__visual{position:relative;min-width:0;height:min(76vh,700px);display:grid;place-items:center;overflow:visible;background:transparent;border:0;border-radius:0;box-shadow:none;isolation:isolate;--how-progress:0}
.bci-how-story__visual:before{content:"";position:absolute;z-index:-1;width:78%;height:68%;left:11%;top:18%;border-radius:50%;background:radial-gradient(ellipse,#d9f3efb8 0%,#eaf8f300 70%);filter:blur(16px);pointer-events:none}
.bci-how-story__flow{position:absolute;z-index:0;inset:12% -4% 7%;width:108%;height:82%;overflow:visible;opacity:.85;pointer-events:none}
.bci-how-story__flow-path{fill:none;stroke:url(#bciHowFlow);stroke-width:7;stroke-linecap:round;stroke-dasharray:18 16;filter:drop-shadow(0 3px 8px #70d5d4aa);animation:bci-how-flow 12s linear infinite}
.bci-how-scene{position:absolute;inset:0;margin:0;display:grid;place-items:center;opacity:0;transform:translate3d(5%,22px,0) scale(.88);transition:opacity .7s ease,transform 1.05s cubic-bezier(.2,.7,.2,1);will-change:opacity,transform;pointer-events:none}
.bci-how-scene.is-active{opacity:1;transform:translate3d(0,0,0) scale(1);z-index:1}
.bci-how-scene img{display:block;width:100%;height:100%;max-height:76vh;object-fit:contain;object-position:center;filter:drop-shadow(0 24px 28px #255d4b20)}
.bci-how-scene[data-how-scene="0"] img{transform:translateX(-2%) scale(1.02)}
.bci-how-scene[data-how-scene="1"] img{transform:scale(1.04)}
.bci-how-scene[data-how-scene="2"] img{transform:translateX(2%) scale(1.04)}
.bci-how-story__bubble{position:absolute;z-index:3;width:13px;height:13px;border:1px solid #fff;background:#eaffff88;border-radius:50%;box-shadow:0 0 18px #fff;pointer-events:none;animation:bci-how-bubble 6s ease-in infinite}
.bci-how-story__bubble--one{left:13%;bottom:12%}.bci-how-story__bubble--two{right:17%;bottom:20%;width:8px;height:8px;animation-delay:-2.7s}
.bci-how-story__copy{max-width:470px;position:relative;padding:16px 0 16px 8px}
.bci-how-story__eyebrow{font-size:12px;letter-spacing:.2em;font-weight:700;color:#2c8a78;margin:0 0 20px}
.bci-how-copy{display:none;animation:bci-how-copy-in .65s both}.bci-how-copy.is-active{display:block}
.bci-how-copy h3{font-family:Georgia,'Times New Roman',serif;font-size:clamp(32px,4vw,54px);font-weight:500;line-height:1.03;letter-spacing:-.035em;margin:0 0 16px;color:#173c35}
.bci-how-copy p{font-size:clamp(15px,1.35vw,18px);line-height:1.8;color:#61756d;margin:0;max-width:420px}
.bci-how-story__steps{display:flex;align-items:center;gap:12px;margin-top:clamp(28px,4vw,54px)}
.bci-how-story__steps button{appearance:none;border:0;background:transparent;color:#648078;display:flex;align-items:center;gap:9px;padding:8px 0;cursor:pointer;font:600 13px/1 inherit;opacity:.65;transition:opacity .25s,color .25s}
.bci-how-story__steps button i{display:block;width:clamp(18px,3vw,48px);height:2px;background:#a9c9c0;transition:background .25s,transform .25s}
.bci-how-story__steps button.is-active{opacity:1;color:#087963}.bci-how-story__steps button.is-active i{background:#0c8e78;transform:scaleY(2)}
.bci-how-story__hint{display:flex;align-items:center;gap:10px;color:#71867e;font-size:12px;letter-spacing:.12em;margin:24px 0 0}.bci-how-story__hint span{font-size:23px;line-height:1;animation:bci-how-nudge 1.6s ease-in-out infinite}
@keyframes bci-how-flow{to{stroke-dashoffset:-340}}
@keyframes bci-how-bubble{0%{transform:translateY(24px) scale(.6);opacity:0}25%{opacity:.9}100%{transform:translateY(-180px) scale(1.25);opacity:0}}
@keyframes bci-how-copy-in{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes bci-how-nudge{0%,100%{transform:translateY(-2px)}50%{transform:translateY(5px)}}
@media(max-width:760px){.bci-how-story{padding:54px 16px 42px}.bci-how-story__intro{margin-bottom:20px}.bci-how-story__track{height:auto}.bci-how-story__sticky{position:relative;top:auto;height:auto;max-height:none;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:0}.bci-how-story__visual{height:auto;min-height:320px;aspect-ratio:1.08;order:0}.bci-how-scene img{max-height:420px}.bci-how-story__copy{max-width:none;padding:0 4px 18px;order:1}.bci-how-copy{display:block;opacity:1;animation:none;padding:0 0 22px;border-bottom:1px solid #c8ddd5;margin-bottom:20px}.bci-how-copy h3{font-size:32px}.bci-how-copy p{font-size:15px}.bci-how-story__steps{margin-top:0;justify-content:space-between}.bci-how-story__steps button{opacity:1}.bci-how-story__steps button i{width:clamp(12px,5vw,28px)}.bci-how-story__hint{display:none}.bci-how-story__flow{inset:18% -4% 12%;height:70%}}
@media(prefers-reduced-motion:reduce){.bci-how-story *,.bci-how-story *:before,.bci-how-story *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* BABYSO 1.6.3 — mobile uses the same scroll-driven three-step pinned storyboard */
@media(max-width:760px){
 .bci-how-story{padding:44px 16px 0}
 .bci-how-story__intro{margin-bottom:14px}
 .bci-how-story__track{height:300vh;height:300svh;position:relative}
 .bci-how-story__sticky{position:sticky;top:0;height:100vh;height:100svh;min-height:0;max-height:none;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:0;align-items:center;padding:3svh 0 7svh}
 .bci-how-story__visual{height:100%;min-height:0;max-height:53svh;aspect-ratio:1.12;order:0;overflow:visible}
 .bci-how-scene{inset:0}
 .bci-how-scene img{width:100%;height:100%;max-height:53svh;object-fit:contain}
 .bci-how-story__copy{width:100%;max-width:none;min-height:0;padding:0 4px 2px;order:1;align-self:end}
 .bci-how-story__eyebrow{font-size:10px;letter-spacing:.16em;margin:0 0 10px}
 .bci-how-copy{display:none!important;opacity:0;padding:0;border:0;margin:0}
 .bci-how-copy.is-active{display:block!important;opacity:1;animation:bci-how-copy-in .45s both}
 .bci-how-copy h3{font-size:clamp(29px,8vw,38px);line-height:1.02;margin:0 0 9px}
 .bci-how-copy p{font-size:14px;line-height:1.55;max-width:38em}
 .bci-how-story__steps{margin-top:16px;justify-content:flex-start;gap:clamp(12px,4vw,22px)}
 .bci-how-story__steps button{font-size:12px;gap:6px;padding:7px 0;opacity:.58}
 .bci-how-story__steps button.is-active{opacity:1}
 .bci-how-story__steps button i{width:clamp(15px,6vw,28px)}
 .bci-how-story__hint{display:flex;font-size:10px;margin:12px 0 0;letter-spacing:.08em}
 .bci-how-story__hint span{font-size:19px}
 .bci-how-story__flow{inset:15% -6% 8%;height:78%}
}
@media(max-width:390px){
 .bci-how-story__sticky{padding-top:2svh;padding-bottom:6svh}
 .bci-how-story__visual{max-height:48svh}
 .bci-how-scene img{max-height:48svh}
 .bci-how-copy h3{font-size:29px}
 .bci-how-copy p{font-size:13px}
 .bci-how-story__steps{gap:10px;margin-top:12px}
}
