/* A finite chapter sequence. The first gesture holds; the second advances once. */
html{scroll-behavior:auto}
.site-preferences{display:flex;gap:18px;align-items:center;padding:0 clamp(20px,5.6vw,88px) 12px;max-width:1480px;margin:0 auto;font:10px/1.4 var(--sans);color:var(--muted)}
.site-preferences label{display:flex;align-items:center;gap:7px;min-height:28px;cursor:pointer}
.site-preferences input{accent-color:var(--olive);margin:0;width:14px;height:14px}
.site-preferences .motion-setting{font:inherit;min-height:28px}
.journey-controls{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px;padding:8px clamp(20px,5.6vw,88px);background:var(--paper);position:relative;z-index:20}
.journey-controls button{background:none;border:0;font:12px/1.4 var(--sans);min-height:44px;padding:8px 0;color:var(--ink)}
.journey-controls button:disabled{opacity:.35;cursor:default}
.journey-caption{text-align:center;display:flex;flex-direction:column;gap:2px}
#journey-label{font:10px/1.5 var(--mono);color:var(--olive)}
.journey-hint{font:10px/1.5 var(--sans);color:var(--muted)}
.guided body{height:100svh;display:grid;grid-template-rows:78px 36px minmax(0,1fr) 61px;overflow:hidden}
.guided .site-header{height:78px;width:100%;grid-row:1}
.guided .site-preferences{width:100%;grid-row:2;padding-bottom:8px;justify-content:flex-end}
.guided #main{grid-row:3;overflow:hidden;min-height:0;touch-action:pan-x pinch-zoom}
.guided .journey-controls{grid-row:4}
.guided #main>section{height:100%;max-height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b7b9aa transparent;scroll-behavior:auto}
.guided #main>section:focus{outline:none}
.guided .arrival{display:flex;flex-direction:column;}
.guided .arrival-scene{flex:1;min-height:480px;max-height:900px;height:auto;width:100%;margin:auto}
.guided .arrival-wordmark{font-size:clamp(100px,10vw,154px);margin:7px 0 0}
.guided .arrival-wordmark span{font-size:10px;letter-spacing:.42em;margin-top:18px}
.guided .arrival-paint{top:90px;height:calc(100% - 160px);max-height:480px;width:min(100%,1050px)}
.guided .arrival-introduction{bottom:15px;transition:opacity .42s ease,transform .42s ease;padding-top:24px}
.guided .arrival-headline{font-size:clamp(34px,3.8vw,48px)}
.guided .arrival-description{font-size:13px;margin-top:10px}
.guided .arrival-actions{margin-top:12px}
.guided .arrival-note{margin-top:10px}
.guided .arrival-bottom{display:none}
.guided[data-chapter="top"][data-beat="art"] .arrival-introduction{opacity:0;visibility:hidden;transform:translateY(8px)}
.guided[data-chapter="top"][data-beat="art"] .opening-controls{display:flex;bottom:12px}
.guided[data-beat="words"] .opening-controls{display:none}
.guided .notes{padding-top:clamp(28px,5vh,65px);padding-bottom:45px}
.guided .notes-heading{margin-bottom:33px}
.guided .notes-heading h2{margin-top:18px}
.guided .note-card{min-height:275px}
.guided .thinking,.guided .practice{padding-top:clamp(28px,6vh,75px);padding-bottom:50px;border-top:0}
.guided .perspective{width:100%;position:relative;min-height:0!important}
.guided .perspective img{width:100%;height:100%;min-height:500px;object-fit:contain;object-position:center;mask-image:linear-gradient(transparent,#000 12%,#000 87%,transparent)}
.guided .perspective-caption{top:10px;transition:opacity .42s ease,transform .42s ease}
.guided[data-chapter="perspective"][data-beat="art"] .perspective-caption{opacity:0;visibility:hidden;transform:translateY(8px)}
.guided .landscape-note{position:absolute;bottom:12px;left:24px;right:24px;margin:0;padding-top:24px;background:linear-gradient(transparent,var(--paper) 55%)}
.guided .about{padding-top:30px;padding-bottom:35px;gap:75px}
.guided .about-image{max-width:340px}
.guided .conversation-inner{padding-top:45px;padding-bottom:45px}
.conversation .site-footer{background:var(--paper);color:var(--ink);max-width:none}
.conversation .site-footer>p,.conversation .site-footer a{color:var(--ink)}
.chapter-enter{animation:chapter-arrival .42s cubic-bezier(.22,.7,.25,1) both}
@keyframes chapter-arrival{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:760px){
 .guided body{grid-template-rows:70px 34px minmax(0,1fr) 67px}
 .guided .site-header{height:70px}.guided .site-header .mobile-nav{top:69px}
 .guided .site-preferences{padding-left:24px;padding-right:24px;gap:15px;font-size:10px}
 .guided .site-preferences .motion-setting{width:auto;justify-content:flex-start}
 .guided .arrival-scene{min-height:500px}.guided .arrival-wordmark{font-size:104px;margin-top:12px}
 .guided .arrival-wordmark span{font-size:9px;letter-spacing:.3em;margin-top:15px}
 .guided .arrival-paint{top:124px;height:280px;max-height:55%;width:100%;object-fit:cover}
 .guided .arrival-introduction{bottom:12px;left:20px;right:20px;padding-top:24px}
 .guided .arrival-headline{font-size:35px}.guided .arrival-description{font-size:12px;line-height:1.6;max-width:300px}
 .guided .arrival-actions{margin-top:8px;gap:2px}.guided .arrival-actions .text-link{font-size:11px;min-height:38px}
 .guided .arrival-note{font-size:7px;margin-top:8px}
 .guided .notes{padding-top:28px;padding-bottom:35px}.guided .notes-heading{margin-bottom:28px}
 .guided .notes-heading h2{font-size:42px}.guided .note-card{min-height:195px}
 .guided .thinking,.guided .practice{padding-top:28px}
 .guided .perspective{min-height:0!important}.guided .perspective img{min-height:400px;object-fit:contain;padding-top:65px}
 .guided .perspective-caption{position:absolute;top:8px;padding-top:15px;margin:0;left:0;right:0}.guided .perspective-caption h2{font-size:40px}
 .guided .perspective-caption .eyebrow{margin-bottom:12px}.guided .landscape-note{bottom:25px;font-size:19px}
 .guided .about{padding-top:20px;gap:20px}.guided .about-image{max-width:235px}.guided .about-copy h2{font-size:46px}
 .journey-controls{padding:8px 20px;gap:10px}.journey-controls button{font-size:11px}.journey-caption{max-width:140px}.journey-hint{font-size:9px}#journey-label{font-size:9px}
 .guided .conversation-inner{padding-top:30px;padding-bottom:35px}.guided .conversation h2{font-size:57px}
}
@media(max-width:380px){.guided .arrival-wordmark{font-size:93px}.guided .arrival-headline{font-size:32px}.guided .site-preferences{padding-right:20px;gap:12px}.journey-controls{padding-left:16px;padding-right:16px}.journey-hint{max-width:100px}.guided .perspective-caption h2{font-size:36px}}
@media(prefers-reduced-motion:reduce){.chapter-enter{animation:none}.guided .arrival-introduction,.guided .perspective-caption{opacity:1;visibility:visible;transform:none}}
@media print{.site-preferences,.journey-controls{display:none!important}.guided body{display:block;height:auto;overflow:visible}.guided #main{overflow:visible}.guided #main>section{height:auto;max-height:none;overflow:visible;display:block!important}.guided .arrival-introduction,.guided .perspective-caption{opacity:1!important;visibility:visible!important;transform:none!important}.guided .arrival-scene{height:600px}.guided .perspective img{height:auto}}
@media(max-width:760px){
 .guided .note-card{grid-template-columns:1fr;min-height:0;padding:20px 24px 17px}
 .guided .note-card .note-sketch,.guided .note-card .note-scribble{display:none}
 .guided .note-card .note-title{max-width:none;font-size:32px;margin-top:16px}
 .guided .note-card .note-footer{margin-top:20px}
}
