/* The page is the canvas. No frame, panel or dashboard encloses the route. */
body:has(.journey-hero) .site-header{position:absolute!important;inset:0 0 auto;max-width:none;background:transparent;border-bottom:0;height:96px!important}
.journey-hero{position:relative;height:310svh;width:100%;background:var(--paper);isolation:isolate}.journey-stage{position:sticky;top:0;width:100%;height:100svh;min-height:650px;overflow:clip;isolation:isolate;background:radial-gradient(ellipse at 78% 69%,#e7ddf044 0,transparent 52%)}.journey-stage:before{content:'';position:absolute;inset:0;background-image:radial-gradient(#ab98bb 1px,transparent 1px);background-size:32px 32px;opacity:.19;mask-image:linear-gradient(transparent 30%,#000 67%);pointer-events:none;z-index:-1}.journey-network{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:-1}.journey-network path{fill:none;stroke-linecap:round;stroke-linejoin:round}.background-road{stroke:#e4dce9;stroke-width:2;opacity:.8}.journey-track{stroke:#dcd0e74d;stroke-width:13}.journey-route{stroke:var(--purple);stroke-width:5}.merge-route{stroke:#a78bc9;stroke-width:1.5;stroke-dasharray:5 8;opacity:0}.journey-packet{fill:#d8f49a;stroke:var(--purple);stroke-width:3}.journey-halo{fill:#6f35e8;opacity:.08}.scene-copy{position:absolute;left:var(--gutter);top:16%;max-width:74%;z-index:3}.scene-copy .eyebrow{font-size:10px;letter-spacing:1.3px;margin:0 0 22px;display:flex;align-items:center;gap:9px}.scene-copy h1{font-size:clamp(62px,6.8vw,112px);line-height:1.1;letter-spacing:-.065em}.scene-description{font-size:clamp(15px,1.35vw,20px);line-height:1.85;letter-spacing:-.025em;margin:24px 0 0;color:#554962}.scene-actions{display:flex;align-items:center;gap:25px;margin-top:22px;transform-origin:left top;transition:opacity .18s}.scene-actions .primary-link{font-size:13px;padding:12px 20px}.scene-aside{position:absolute;top:20%;right:var(--gutter);width:170px;text-align:left}.scene-counter{font-size:10px;letter-spacing:2px;color:#655570}.scene-aside>p{font:500 20px/1.6 SUIT;letter-spacing:-.045em;margin:20px 0 17px}.scene-aside-rule{display:block;width:33px;height:1px;background:#a28bae;margin:0 0 16px}.scene-aside small{font:400 12px/1.8 SUIT;color:var(--muted)}.floating-work{position:absolute;left:0;top:0;width:clamp(150px,13vw,200px);min-height:104px;border:1px solid #d5c9df;border-radius:15px;background:#fffcf7;box-shadow:0 14px 35px #41215c08;padding:17px 20px;will-change:transform;z-index:2;transform-origin:center center}.floating-work:before{content:'';position:absolute;left:50%;top:-4px;width:7px;height:7px;transform:translateX(-50%);border:1.5px solid #a789c2;background:var(--paper);border-radius:50%}.work-index{display:block;font:500 9px/1.5 SUIT;color:#705584;letter-spacing:1px;margin-bottom:9px}.floating-work strong{display:block;font:500 clamp(17px,1.35vw,21px)/1.4 SUIT;letter-spacing:-.045em;white-space:nowrap}.work-detail{display:block;font:400 12px/1.7 SUIT;color:var(--muted);margin-top:6px}.work-result{display:block;font:400 12px/1.7 SUIT;color:#5e3b89;height:0;overflow:hidden;opacity:0;white-space:nowrap}.work-result i{font-style:normal;font-size:10px;display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#e5f0cb;color:#354220;margin-right:4px}.floating-work.is-solved{border-color:#baa0d9;background:#fffef9}.work-extra{width:155px;min-height:84px;padding:16px 18px;border-color:#ded5e4;background:#f9f6f0;box-shadow:0 10px 25px #41215c04}.work-extra:before{display:none}.work-extra strong{font-size:16px}.work-extra .work-detail{font-size:11px}.loose-mark{position:absolute;right:12px;top:8px;font-size:16px;color:#9378a5}.scene-resolution{position:absolute;right:var(--gutter);top:39%;display:flex;gap:12px;align-items:flex-start;max-width:300px;opacity:0;transform:translateY(12px);z-index:2}.resolution-dot{width:8px;height:8px;border-radius:50%;background:var(--purple);box-shadow:0 0 0 5px #6f35e810;flex:none;margin-top:8px}.scene-resolution p{font:400 14px/1.8 SUIT;margin:0;color:#554962;letter-spacing:-.025em}.scene-resolution strong{font-weight:500}.scene-footer{position:absolute;bottom:24px;left:var(--gutter);right:var(--gutter);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;border-top:1px solid #d9cfdf;padding-top:18px;z-index:5}.phase-nav{display:flex;gap:16px;align-items:center}.phase-nav>a{font:500 12px/1.5 SUIT;color:#796586;white-space:nowrap}.phase-nav>a>span{font-size:9px;margin-right:8px;opacity:.8}.phase-nav>a[aria-current=step]{color:var(--purple)}.phase-nav>i{height:1px;width:38px;background:#d2c3dd}.scene-motion{font-size:11px;color:#65546f;padding:4px 0;background:none;border:0}.scene-motion>span{margin-left:9px;font-size:10px}.scene-disclaimer{width:100%;font:400 10px/1.7 SUIT;margin:0;color:#65546f}.scroll-invitation{position:absolute;right:var(--gutter);bottom:125px;writing-mode:vertical-rl;font:400 9px/1.5 SUIT;letter-spacing:2px;color:#796586;z-index:0}.scroll-invitation b{font-weight:400;margin-top:14px;writing-mode:horizontal-tb;font-size:16px}.scene-anchor{position:absolute;left:0;width:1px;height:1px;pointer-events:none}#route-scattered{top:0}#route-connected{top:35%}#route-resolved{top:68%}.journey-hero.is-calm{height:100svh;min-height:700px}.is-calm .journey-stage{position:relative}.is-calm .scroll-invitation{display:none}.journey-hero:not(.is-live){height:100svh;min-height:720px}.journey-hero:not(.is-live) .work-0{left:9%;top:67%;transform:rotate(-8deg)}.journey-hero:not(.is-live) .work-1{left:68%;top:43%;transform:rotate(8deg)}.journey-hero:not(.is-live) .work-2{left:38%;top:78%;transform:rotate(-5deg)}.journey-hero:not(.is-live) .work-3{left:80%;top:77%;transform:rotate(7deg)}.journey-hero:not(.is-live) .work-extra{display:none}
@media(min-width:1700px){.scene-copy{top:17%}.scene-copy h1{font-size:112px}.scene-description{font-size:21px}.scene-aside{width:200px}.scene-aside>p{font-size:24px}}
@media(max-width:1100px){.scene-copy h1{font-size:clamp(60px,7.1vw,82px)}.scene-copy{max-width:77%;top:17%}.scene-aside{width:140px;top:21%}.scene-aside>p{font-size:17px}.scene-description{font-size:16px}.floating-work{width:165px;padding:15px 17px}.floating-work strong{font-size:18px}.scene-resolution{top:40%;max-width:250px}.scene-resolution p{font-size:13px}.scene-aside small{font-size:11px}}
@media(max-width:900px){body:has(.journey-hero) .site-header{height:80px!important}.scene-copy{top:15%;max-width:85%}.scene-copy h1{font-size:clamp(52px,7.7vw,70px)}.scene-aside{right:var(--gutter);top:21%;width:115px}.scene-aside>p{font-size:15px}.scene-aside small,.scene-aside-rule{display:none}.scene-copy .eyebrow{font-size:9px}.scene-description{font-size:15px;margin-top:20px}.scene-resolution{top:40%;max-width:225px}.phase-nav{gap:11px}.phase-nav>i{width:25px}.floating-work{width:150px;min-height:100px;padding:14px 15px}.floating-work strong{font-size:16px}.work-detail,.work-result{font-size:11px}.work-extra{width:140px;min-height:76px}.work-extra strong{font-size:14px}}
@media(max-width:640px){.journey-hero{height:285svh}.journey-stage{height:100svh;min-height:680px;background:radial-gradient(ellipse at 55% 69%,#e5daf044 0,transparent 60%)}.scene-copy{left:24px;right:24px;top:14%;max-width:none}.scene-copy .eyebrow{font-size:8px;letter-spacing:.7px;margin-bottom:17px;gap:7px}.scene-copy h1{font-size:clamp(40px,11.8vw,56px);line-height:1.16;letter-spacing:-.065em}.scene-description{font-size:13px;line-height:1.8;margin-top:17px;letter-spacing:-.035em}.scene-actions{margin-top:20px;gap:17px}.scene-actions .primary-link{font-size:11px;padding:10px 15px;gap:15px}.scene-actions .quiet-link{font-size:11px}.scene-aside{top:96px;right:24px;width:auto;text-align:right}.scene-aside>p{display:none}.scene-counter{font-size:8px;letter-spacing:1px}.floating-work{width:136px;min-height:91px;padding:12px 14px;border-radius:12px}.floating-work strong{font-size:15px}.work-index{font-size:8px;margin-bottom:7px;letter-spacing:.8px}.work-detail,.work-result{font-size:10px;margin-top:5px;line-height:1.6}.work-extra{width:126px;min-height:72px;padding:12px 13px}.work-extra strong{font-size:13px}.work-extra .work-detail{font-size:10px}.loose-mark{font-size:12px;right:9px;top:5px}.scene-resolution{right:24px;left:auto;top:36%;max-width:235px;gap:10px}.scene-resolution p{font-size:11px;line-height:1.8}.resolution-dot{width:6px;height:6px;margin-top:7px}.journey-track{stroke-width:10}.journey-route{stroke-width:4}.background-road{stroke-width:1.5}.scene-footer{left:24px;right:24px;bottom:18px;gap:13px;padding-top:14px}.phase-nav{gap:9px;justify-content:space-between;width:100%}.phase-nav>a{font-size:10px}.phase-nav>a>span{font-size:8px;margin-right:4px}.phase-nav>i{width:16px}.scene-motion{font-size:10px;position:absolute;right:0;bottom:0}.scene-disclaimer{max-width:75%;font-size:9px;line-height:1.8;margin:0}.scroll-invitation{right:12px;bottom:130px;font-size:7px;letter-spacing:1.2px}.scroll-invitation b{font-size:12px}.is-calm.journey-hero{height:100svh;min-height:680px}}
@media(max-height:760px) and (min-width:641px){.journey-stage{min-height:580px}.scene-copy{top:16%}.scene-copy h1{font-size:clamp(60px,6.3vw,90px)}.scene-copy .eyebrow{margin-bottom:15px}.scene-description{margin-top:17px;font-size:15px}.scene-actions{margin-top:16px}.scene-aside{top:22%}.scene-resolution{top:40%}.scene-footer{bottom:18px;gap:11px;padding-top:14px}.floating-work{min-height:95px;padding:13px 17px}.work-index{margin-bottom:6px}.scene-disclaimer{font-size:9px}}
@media(max-width:640px) and (max-height:740px){.journey-stage{min-height:620px}.scene-copy{top:14%}.scene-copy h1{font-size:42px}.scene-description{font-size:12px;margin-top:14px}.scene-actions{margin-top:15px}.scene-actions .primary-link{padding:8px 12px}.floating-work{min-height:84px}.scene-aside{top:85px}.scene-resolution{top:37%}.scene-footer{bottom:12px}}
@media(prefers-reduced-motion:reduce){.floating-work{will-change:auto}.journey-stage *{transition:none!important}}

@media(max-width:640px) and (max-height:740px){.work-extra,.merge-route,.scene-resolution{display:none}}

/* Copy and route have separate breathing room at every scroll phase. */
.floating-work .work-detail{height:20px;overflow:hidden}
@media(min-width:641px) and (max-height:800px){
 .scene-copy{top:14%}.scene-copy h1{font-size:clamp(54px,5.7vw,76px)}
 .scene-copy .eyebrow{margin-bottom:13px}.scene-description{margin-top:15px;font-size:14px;line-height:1.7}
 .scene-actions{margin-top:16px}.scene-actions .primary-link{padding:10px 18px}
 .work-extra,.merge-route{display:none}.floating-work{min-height:94px}
}
@media(max-width:640px){.work-extra,.merge-route{display:none}.scene-copy{top:13%}.scene-copy h1{font-size:clamp(39px,10.7vw,50px)}}
@media(max-width:640px) and (max-height:740px){.scene-copy h1{font-size:39px}.scene-copy .eyebrow{margin-bottom:13px}.scene-description{margin-top:12px}.scene-actions{margin-top:13px}}

.floating-work .work-result{margin-top:0}
@media(max-width:640px) and (max-height:740px){.floating-work{padding:10px 12px;min-height:84px}.floating-work strong{font-size:14px}.work-index{margin-bottom:5px}}

/* Joining is staggered along a tall bend outside the copy rectangle. */
.floating-work.is-joining{border-color:#9470c4;box-shadow:0 15px 35px #6f35e814}
.journey-hero[data-route-layout=return-bend] .scene-resolution{top:40%;max-width:230px}
.journey-hero[data-route-layout=return-bend] .scroll-invitation{opacity:.4!important}
