/* A single viewport contains the persistent title, chapter copy and native art. */
.story-world:has(.personal-journey){position:relative;top:auto;background:#4428bc}
.story-world:has(.personal-journey)::before{display:none}
.personal-journey{--cream:#fff9eb;--journey-muted:var(--on-ink);--journey-accent:var(--yellow);--gutter:clamp(24px,5vw,80px);position:relative;padding:0;color:var(--cream);background:var(--journey-tone,#4428bc);scroll-margin-top:0}
.personal-journey *{box-sizing:border-box}
.personal-journey .journey-pin{width:100%;padding:24px 0;background:var(--journey-tone,#4428bc);overflow:clip}
.personal-journey.is-pinned .journey-pin{position:sticky;top:max(0px,calc((100svh - 680px)/2));height:min(680px,100svh);display:flex;flex-direction:column;justify-content:center}
.personal-journey .personal-head{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;max-width:1600px;margin:0 auto;padding:0 var(--gutter) 20px;flex:none}
.story-home .personal-journey .personal-head h2{font:800 clamp(32px,4vw,54px)/1.04 var(--text);letter-spacing:-.055em;text-transform:none;margin:0}
.story-home .personal-journey .personal-head h2 em{font-style:normal;color:var(--journey-accent)}
.personal-journey .personal-subtitle{font:400 14px/1.5 var(--text);margin:0;max-width:28em;color:var(--journey-muted)}
.personal-journey .journey-stage{position:relative;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;outline-offset:-4px;isolation:isolate;overscroll-behavior-x:contain;overflow-anchor:none;touch-action:pan-x pan-y pinch-zoom;cursor:auto;flex:none}
.personal-journey .journey-stage::-webkit-scrollbar{display:none}
.personal-journey.is-pinned .journey-stage{overflow:hidden;touch-action:pan-y pinch-zoom}
.personal-journey .journey-track{position:relative;height:100%;pointer-events:none}
.personal-journey.is-pinned .journey-track{will-change:transform}
.personal-journey .journey-chapter{position:absolute;top:0;left:0;height:100%;padding:0 var(--gutter)}
.personal-journey .chapter-copy{position:relative;z-index:1;width:100%;max-width:590px;margin:auto;text-align:center}
.story-home .personal-journey .chapter-copy h3{font:800 36px/1.1 var(--text);letter-spacing:-.04em;color:var(--cream);margin:0 0 10px;text-transform:none}
.personal-journey .chapter-copy>p{font:400 16px/1.5 var(--text);color:var(--journey-muted);margin:0}
.personal-journey .journey-art{position:absolute;left:0;pointer-events:none;image-rendering:pixelated;image-rendering:crisp-edges;display:block;max-width:none;z-index:-1}
.personal-journey .art-note{position:absolute;max-width:none;font:500 22px/1.2 var(--hand);color:#e4d9fa;transform:rotate(-3deg);text-align:center}
.personal-journey .speech-note{color:var(--cream)}
.personal-journey .genre-labels{position:absolute;left:0;display:grid;text-align:center;font:500 22px/1.15 var(--hand);color:#e4d9fa;align-items:start}
.personal-journey .genre-labels span{position:relative;padding-inline:8px;transform:rotate(-3deg)}
.personal-journey .journey-cta{position:absolute;bottom:12px;left:50%;translate:-50% 0;white-space:nowrap;pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:56px;max-width:calc(100% - 44px);color:var(--ink);background:var(--journey-accent);padding:16px 28px;border:1px solid #d5a518;border-radius:12px;box-shadow:inset 0 0 0 2px #fff2a6,0 5px 0 #170b30;text-decoration:none;font:800 16px/1.2 var(--text)}
.personal-journey .journey-cta span{font-size:24px}
.personal-journey .journey-cta:hover{background:#ffdf58}
.personal-journey a:focus-visible,.personal-journey .journey-stage:focus-visible{outline:2px solid var(--journey-accent);outline-offset:-2px}
.ol-scroll-brand.personal-tucked:not(:focus-visible){opacity:0;pointer-events:none}
@media(max-width:900px),(pointer:coarse){
 .personal-journey{--gutter:22px}
 .personal-journey .journey-pin{padding:18px 0}
 .personal-journey .personal-head{display:block;padding-bottom:20px}
 .story-home .personal-journey .personal-head h2{font-size:34px}
 .personal-journey .personal-subtitle{font-size:13px;line-height:1.45;margin-top:10px}
 .personal-journey .chapter-copy{max-width:none;width:calc(var(--chapter-width) - 44px);margin:0;text-align:left}
 .story-home .personal-journey .chapter-copy h3{font-size:30px}
 .personal-journey .chapter-copy>p{font-size:15px;line-height:1.4}
 .personal-journey .art-note,.personal-journey .genre-labels{font-size:18px}
 .personal-journey .journey-cta{gap:20px;font-size:15px}
}
@media(max-height:699px){
 .personal-journey .journey-pin{padding:12px 0}
 .personal-journey .personal-head{padding-bottom:16px}
 .story-home .personal-journey .personal-head h2{font-size:28px}
 .personal-journey .personal-subtitle{font-size:11px;margin-top:8px}
 .story-home .personal-journey .chapter-copy h3{font-size:26px;margin-bottom:6px}
 .personal-journey .chapter-copy>p{font-size:13px;line-height:1.35}
 .personal-journey .art-note,.personal-journey .genre-labels{font-size:16px}
}

@media(min-width:640px) and (max-height:559px){.personal-journey .personal-head{display:flex}.personal-journey .personal-subtitle{margin:0}}

.personal-journey{overflow-anchor:none}
.personal-journey .journey-pin,.personal-journey .journey-track{overflow-anchor:none}

/* One strong invitation, one chapter statement, one annotation beside its subject. */
.personal-journey .personal-head{padding-bottom:24px;justify-content:center;text-align:center}
.story-home .personal-journey .personal-head h2{font-size:clamp(48px,5.7vw,84px);line-height:1.04;letter-spacing:-.055em}
.story-home .personal-journey .personal-head h2 em{display:inline-block;font:600 1.3em/.8 var(--hand);letter-spacing:-.045em;transform:rotate(-5deg);padding:0 .08em .06em;border-bottom:4px solid var(--journey-accent)}
.story-home .personal-journey .chapter-copy h3{font-size:clamp(24px,2.4vw,32px);font-weight:600;line-height:1.16;letter-spacing:-.03em;margin:0}
.personal-journey .chapter-copy{text-align:center;max-width:620px}
.personal-journey .art-note{font-size:22px}
@media(max-width:900px),(pointer:coarse){
 .personal-journey .personal-head{padding-bottom:24px}
 .story-home .personal-journey .personal-head h2{font-size:clamp(40px,9vw,62px);max-width:520px;margin:auto}
 .story-home .personal-journey .personal-head h2 em{font-size:1.4em}
 .personal-journey .chapter-copy{text-align:center}
 .story-home .personal-journey .chapter-copy h3{font-size:25px;max-width:360px;margin:auto}
 .personal-journey .art-note{font-size:20px}
}
@media(max-height:599px){
 .personal-journey .personal-head{padding-bottom:16px}
 .story-home .personal-journey .personal-head h2{font-size:36px}
 .story-home .personal-journey .chapter-copy h3{font-size:22px}
 .personal-journey .art-note{font-size:18px}
}

.story-home .journey-next{background:#271642;color:#fff7e8;text-align:center;padding:64px 24px 80px;border-top:2px solid #7453af}
.story-home .journey-next p{font:750 clamp(28px,3.5vw,44px)/1.15 var(--text);letter-spacing:-.035em;margin:0 0 28px;max-width:none}
.story-home .journey-next em{color:#ffce20;font-style:normal}

@media(max-width:600px){.story-home .journey-next{padding:46px 22px 58px}.story-home .journey-next .world-cta{width:100%;max-width:330px;}}
/* Moving chapter labels cannot become browser scroll anchors. Otherwise the
   browser compensates for their transforms by dragging the document backwards. */
#bench,#bench *{overflow-anchor:none}

/* The valley continues into the invitation; native edge details recede only
   after the reader starts moving horizontally. Live headings stay above them. */
.personal-journey .journey-pin{position:relative;isolation:isolate}
.personal-journey .journey-landscape{position:absolute;top:0;left:50%;translate:-50% 0;z-index:-1;pointer-events:none;max-width:none;image-rendering:pixelated;opacity:calc(var(--arrival-art-opacity,1) * .35)}
.personal-journey .personal-head{position:relative;z-index:1}
