body{background:#09131b}
.chapter{position:relative;isolation:isolate;min-height:100svh;display:flex;align-items:flex-end;padding:100px 5vw 6vh;overflow:hidden}
.photo-scene{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--focus,50%) center}
.chapter::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#040c13ed 0%,#08111cb3 19%,transparent 64%),linear-gradient(90deg,#04141b66,transparent 75%)}
.words{max-width:760px;color:white}.chapter-label{margin:0 0 12px;color:#b1f5ff;font-size:1rem;font-weight:500;display:flex;align-items:center;gap:.7rem}.chapter-label:before{content:"";background:#68e4ff;width:28px;height:2px;box-shadow:0 0 9px #28c9df}
.words h1,.words h2{font-size:clamp(2.5rem,5.5vw,6rem);font-weight:500;line-height:1.02;letter-spacing:-.05em;margin:0;max-width:18ch;text-wrap:balance}
.description{font-size:clamp(1rem,1.22vw,1.28rem);line-height:1.52;max-width:58ch;margin:15px 0 0}.words .offer{margin-top:18px}
.enhanced .story{height:520svh}.enhanced .screen{height:100svh;position:sticky;top:0;overflow:hidden}
.enhanced .chapter{position:absolute;inset:0;min-height:0;pointer-events:none;visibility:hidden}
.enhanced .chapter.on{visibility:visible}.enhanced .chapter:not([inert]){pointer-events:auto}
.controls{position:absolute;z-index:10;right:4vw;bottom:6vh;align-items:center;gap:14px;font-variant-numeric:tabular-nums}
.controls:not([hidden]){display:flex}.controls button{cursor:pointer;color:white;background:#13202bbd;border:1px solid #ffffff80;backdrop-filter:blur(8px);border-radius:50%;width:46px;height:46px;font:28px/1 system-ui}.controls button:disabled{opacity:.35;cursor:default}
.progress{position:absolute;bottom:0;left:0;width:100%;height:3px;transform-origin:left;transform:scaleX(0);background:#82eaff;box-shadow:0 0 12px #1ed6ff}
@media(max-width:800px){.chapter{padding:80px 6vw 90px}.controls{bottom:18px;right:6vw}.words h1,.words h2{font-size:clamp(2.2rem,8vw,4rem)}.chapter::before{background:linear-gradient(0deg,#040c13 0%,#040c13ef 18%,#040c1390 45%,transparent 75%)}.description{margin-top:10px}.chapter-label{margin-bottom:8px}}
@media(max-height:600px) and (min-width:801px){.chapter{padding-bottom:24px}.words h1,.words h2{font-size:2.6rem}.description{max-width:65ch}}
@media(prefers-reduced-motion:reduce){.chapter{min-height:min(860px,100svh)}}
@media(min-width:801px){.words{width:calc(100% - 155px)}}

/* The storyboard pairs each planning illustration with its project step. */
.chapter{background:#09131b}
.enhanced .story{height:680svh}
.chapter .photo-scene{inset:12% 3% 11% auto;width:53%;height:77%;object-fit:contain}
.chapter::before{background:none}
.chapter{align-items:center}
.chapter .words{width:39%;max-width:620px}
.chapter .words h1,.chapter .words h2{font-size:clamp(2.2rem,4.2vw,4.6rem)}
@media(max-width:800px){
 .chapter{flex-direction:column;align-items:stretch;justify-content:center;gap:1.2rem;padding:76px 6vw 76px}
 .chapter .photo-scene{position:relative;inset:auto;width:100%;height:min(39svh,420px);flex-shrink:1;min-height:0}
 .chapter .words{width:100%}
 .chapter .words h1,.chapter .words h2{font-size:clamp(1.8rem,6.7vw,3rem)}
 .chapter .description{line-height:1.38}
}

.scene-frame{position:absolute;right:3vw;width:min(54vw,103svh);aspect-ratio:3/2;overflow:hidden;border-radius:6px}
.scene-plane{position:absolute;inset:0}
.chapter .scene-plane .photo-scene,.scene-trace{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:auto}
.scene-trace{overflow:visible;pointer-events:none;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 2px currentColor)}
.scene-trace path{opacity:0}
.enhanced .chapter.engaged .scene-trace path{animation:trace-line 2.9s ease var(--delay) both}
@keyframes trace-line{0%{opacity:0;stroke-dasharray:1;stroke-dashoffset:1}12%{opacity:.95}65%{stroke-dasharray:1;stroke-dashoffset:0;opacity:1}100%{stroke-dasharray:1;stroke-dashoffset:0;opacity:.12}}
.enhanced .chapter.engaged .words{animation:words-arrive .65s cubic-bezier(.2,.6,.2,1) both}
@keyframes words-arrive{from{transform:translateY(12px);opacity:.2}to{transform:none;opacity:1}}
@media(max-width:800px){.scene-frame{position:relative;right:auto;flex:none;width:min(100%,55svh);align-self:center}.chapter{gap:clamp(12px,2vh,24px)}}
@media(prefers-reduced-motion:reduce){.scene-trace{display:none}}
