/* The homepage returns to the full-screen chapter language of the Pear reference.
   Public course pages and the approved logo retain their own reading layouts. */
/* Keep the expansive chapter layout; header and content share its edges. */
.home-immersive{--rail:68px;--page-gutter:28px;--page-left:calc(var(--rail) + var(--page-gutter));--page-right:var(--page-gutter);--stage-line:rgba(255,250,244,.26);--chapter-vh:100svh}
.home-immersive .content-width{width:calc(100% - var(--page-left) - var(--page-right));max-width:none;margin-left:var(--page-left);margin-right:var(--page-right)}
.home-immersive .site-header{padding-left:var(--page-left);padding-right:var(--page-right);gap:24px;background:var(--paper);transition:background .4s,color .4s,border-color .4s}
.home-immersive.on-cinematic:not(.menu-visible) .site-header{background:transparent;color:var(--cream);border-color:var(--stage-line)}
.home-immersive.on-cinematic:not(.menu-visible) .site-header .brand-wordmark{filter:brightness(0) invert(96%) sepia(8%) saturate(299%)}
.home-immersive .primary-nav{display:none}
.home-immersive .mobile-education-link{display:flex;margin-left:auto;color:inherit;font-size:11px;letter-spacing:.1em;text-transform:uppercase;align-items:center;min-height:44px}
.home-immersive .social-account{color:inherit}
.home-immersive .header-social{border-color:currentColor}
.home-immersive .menu-button{font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.immersive-rail{position:fixed;z-index:29;left:0;top:var(--header);bottom:0;width:var(--rail);border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;padding-top:24px;gap:6px;color:var(--ink);transition:color .35s,border-color .35s;pointer-events:none}
.on-cinematic .immersive-rail{color:var(--cream);border-color:var(--stage-line)}
.immersive-rail a{position:relative;display:grid;place-items:center;width:44px;height:44px;font:10px/1 var(--sans);letter-spacing:.06em;opacity:.65;pointer-events:auto}
.immersive-rail a:after{content:'';position:absolute;width:3px;height:3px;border-radius:50%;background:currentColor;left:0;top:50%;opacity:0;transition:opacity .3s}
.immersive-rail a[aria-current]{opacity:1}.immersive-rail a[aria-current]:after{opacity:1}
.rail-name{writing-mode:vertical-rl;position:absolute;bottom:28px;font:9px/1 var(--sans);letter-spacing:.2em}
.home-immersive .opening-slideshow{position:relative;width:100%;max-width:none;margin:0;padding:0;height:170svh;background:#241d19;color:var(--cream)}
.opening-viewport{position:relative}
.home-immersive .opening-viewport{position:sticky;top:0;height:var(--chapter-vh);overflow:hidden}
.home-immersive .opening-stage{height:100%;position:relative}
.home-immersive .opening-slide{position:relative;width:100%;height:var(--chapter-vh);min-height:0;display:block;background:#241d19}
.home-immersive .opening-media{position:absolute;inset:0;z-index:0;width:100%;height:100%;margin:0;background:#241d19}
.home-immersive .opening-slide:first-child .opening-media{left:28%;width:72%}
.home-immersive .opening-media:after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(24,17,14,.64),rgba(24,17,14,.08) 70%),linear-gradient(0deg,rgba(24,17,14,.48),transparent 45%);pointer-events:none}
.home-immersive .opening-slide:first-child .opening-media:after{background:linear-gradient(90deg,#241d19,rgba(36,29,25,.7) 10%,transparent 45%),linear-gradient(0deg,rgba(24,17,14,.42),transparent 48%)}
.home-immersive .opening-media>img,.home-immersive .opening-media>picture,.home-immersive .opening-media>video{transform:scale(calc(1.025 + var(--opening-progress,0)*.045));object-position:var(--media-position);transform-origin:60% 45%}
.home-immersive .opening-slide:first-child .opening-media>img{object-position:50% 24%}
.home-immersive .opening-copy{position:absolute;z-index:3;left:var(--page-left);top:50%;width:min(650px,57%);padding:0;transform:translateY(calc(-50% - var(--opening-progress,0)*26px));opacity:calc(1 - var(--opening-progress,0)*.45)}
.home-immersive .opening-copy .eyebrow{color:var(--cream);font-size:10px;letter-spacing:.17em;margin-bottom:25px}
.home-immersive .opening-copy h1,.home-immersive .opening-copy h2{font:400 clamp(54px,6vw,98px)/.98 var(--serif);letter-spacing:-.035em;max-width:17ch;text-wrap:balance}
.home-immersive .opening-copy em{color:inherit;font-style:normal}
.home-immersive .opening-intro{color:var(--cream);font:400 clamp(17px,1.8vw,24px)/1.3 var(--serif);max-width:420px;margin-top:24px}
.home-immersive .opening-copy .button{background:#211a17;color:var(--cream);border-color:#fff4;font-size:10px;text-transform:uppercase;letter-spacing:.1em;min-height:44px;margin-top:32px;padding:8px 12px;gap:24px}
.home-immersive .opening-copy .button:hover{background:var(--wine)}
.home-immersive .opening-copy .button span{border:1px solid #fff5;width:24px;height:24px;display:grid;place-items:center;font-size:17px}
.home-immersive .opening-controls{position:absolute;z-index:5;bottom:0;left:var(--page-left);right:var(--page-right);margin:0;padding:18px 0 20px;gap:20px;border-color:var(--stage-line);color:var(--cream)}
.home-immersive .opening-controls:before{content:'＋';position:absolute;left:calc(-1 * var(--gutter) - 6px);top:-13px;font:20px var(--serif)}
.home-immersive .opening-pagination button{color:var(--cream);width:44px;height:44px;font-size:10px;background:transparent}
.home-immersive .ring-track{stroke:#fff5}.home-immersive .ring-fill{stroke:var(--cream)}
.home-immersive .opening-pagination [aria-selected=true]{background:#fff1;color:var(--cream)}
.home-immersive .opening-pause,.home-immersive .opening-next{color:var(--cream);font-size:10px;letter-spacing:.07em}
.home-immersive .opening-media figcaption{bottom:calc(var(--opening-controls-height,84px) + 16px);right:var(--gutter);font-size:10px;background:#211a179c;padding:5px 8px}
.home-immersive .chapter-section{padding-block:90px}
.home-immersive .chapter-heading{margin-bottom:42px;align-items:end}
.home-immersive .chapter-heading h2,.home-immersive .home-inspiration-heading h2,.home-immersive .home-blog-heading h2,.home-immersive .faq h2{font-weight:400;font-size:clamp(42px,5vw,76px)}
.home-immersive h2 em{font-style:normal;color:inherit}
.home-immersive .eyebrow{font-size:10px;letter-spacing:.15em}
.home-immersive .chapter-link{font-size:12px}
.home-immersive .catalog-cover{aspect-ratio:4/5}
.home-immersive .catalog-cover img{object-position:50% 50%}
.home-immersive .catalog-number{background:transparent;color:var(--cream);border:1px solid #fff8;border-radius:50%}
.home-immersive .catalog-copy h3{font-size:clamp(28px,3vw,40px);font-weight:400}
.home-immersive .catalog-copy p{font-size:14px;max-width:32ch}
.home-immersive .catalog-meta{font-size:10px;letter-spacing:.06em}
.home-immersive .catalog-footnote{font-size:12px}
/* A single pinned viewport holds three techniques; wheel/touch only advances
   the active example, while buttons remain an equivalent keyboard route. */
.home-immersive .chapter-method{height:320svh;padding:0;background:#302720;border:0;position:relative;color:var(--cream);scroll-margin-top:0}
.method-stick{position:relative}
.home-immersive .method-stick{position:sticky;top:0;height:var(--chapter-vh);overflow:hidden;isolation:isolate}
.home-immersive .method-stick>.content-width{position:relative;width:100%;max-width:none;height:100%;margin:0}
.home-immersive .chapter-method .chapter-heading{position:absolute;left:var(--page-left);top:22%;z-index:3;display:block;max-width:480px;margin:0;pointer-events:none}
.home-immersive .chapter-method .eyebrow{color:var(--cream);margin-bottom:28px}
.home-immersive .chapter-method h2{max-width:8ch;font-size:clamp(52px,6vw,80px);font-weight:400;line-height:1.02}
.home-immersive .chapter-hint{max-width:32ch;color:var(--cream);font-size:15px;margin-top:24px}
.home-immersive .learning-theater{display:block;height:100%;position:relative}
.home-immersive .learning-screen{position:absolute;inset:0;z-index:-1}
.home-immersive .learning-screen:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(19,15,13,.62),rgba(19,15,13,.1) 75%),linear-gradient(0deg,rgba(19,15,13,.65),transparent 30%);pointer-events:none}
.home-immersive .learning-clip{height:100%;position:absolute;inset:0}
.home-immersive .learning-clip.learning-enter{animation:scene-dissolve .7s ease-out both}
.home-immersive .learning-clip .chapter-media{height:100%;aspect-ratio:auto;clip-path:none;overflow:hidden}
.home-immersive .learning-clip .chapter-media picture,.home-immersive .learning-clip .chapter-media video{transform:scale(1.03)}
.home-immersive .learning-choices{position:absolute;z-index:4;bottom:28px;left:var(--page-left);right:var(--page-right);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;border-color:var(--stage-line)}
.home-immersive .learning-choice{min-height:100px;color:var(--cream);border-color:var(--stage-line);padding:18px 0 10px;gap:12px;background:transparent;text-align:left}
.home-immersive .learning-choice strong{font:400 25px/1.12 var(--serif)}
.home-immersive .learning-choice .learning-short-label{display:none}
.home-immersive .learning-choice small{color:#fffaf4bd;font-size:11px}
.home-immersive .learning-number,.home-immersive .learning-arrow{display:block;color:var(--cream);font-size:10px}
.home-immersive .learning-choice:after{background:var(--cream)}
.home-immersive .learning-clip .chapter-media-footer{position:absolute;z-index:3;right:var(--page-right);top:calc(var(--header) + 16px);color:var(--cream);border:0;font-size:10px;background:#2019178f;padding:0 10px;min-height:40px}
.home-immersive .learning-clip .chapter-media-footer button{color:var(--cream);font-size:10px;min-height:40px}
/* Portrait and text form one scene rather than an isolated headshot card. */
.home-immersive .chapter-about{height:185svh;background:#32251e;padding:0;color:var(--cream);border:0;scroll-margin-top:0;overflow:visible}
.home-immersive .atelier-grid{position:sticky;top:0;height:var(--chapter-vh);width:100%;max-width:none;margin:0;display:block;overflow:hidden;isolation:isolate}
.home-immersive .atelier-portrait{position:absolute;inset:0 0 0 28%;z-index:-2;display:block}
.home-immersive .atelier-portrait-frame{height:100%;min-height:0;clip-path:none}
.home-immersive .atelier-portrait-frame:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#32251e,rgba(50,37,30,.45) 16%,transparent 45%),linear-gradient(0deg,#32251e77,transparent 35%)}
.home-immersive .atelier-portrait-frame img{object-position:50% 31%;transform:scale(calc(1.025 + var(--about-progress,0)*.04))}
.home-immersive .atelier-portrait figcaption{position:absolute;bottom:28px;right:var(--gutter);color:var(--cream);border:0;font-size:10px;min-height:0}
.home-immersive .atelier-intro{position:absolute;z-index:3;left:var(--page-left);top:50%;transform:translateY(-50%);width:min(45%,540px);max-height:calc(100% - var(--header) - 65px)}
.home-immersive .atelier-intro h2{font-size:clamp(48px,5.5vw,78px);font-weight:400;max-width:10ch}
.home-immersive .atelier-intro .eyebrow{color:var(--cream);margin-bottom:24px}
.home-immersive .atelier-story{font-size:14px;line-height:1.7;color:var(--cream);max-width:44ch;margin-top:24px}
.home-immersive .atelier-experience{font-size:11px;margin-top:24px}
.home-immersive .atelier-intro .chapter-link{color:var(--cream);border-color:var(--stage-line);margin-top:20px}
.home-immersive .atelier-film{position:absolute;right:var(--page-right);bottom:62px;width:160px;z-index:3}
.home-immersive .atelier-film .chapter-media{aspect-ratio:16/10;clip-path:none}
.home-immersive .atelier-film .chapter-media-footer{display:flex;min-height:32px;border-color:var(--stage-line);justify-content:end}
.home-immersive .atelier-film .chapter-media-footer>span{display:none}
.home-immersive .atelier-film .chapter-media-footer button{font-size:10px;min-height:32px;color:var(--cream)}
.home-immersive .cinema-scene{height:195svh;scroll-margin-top:0}
.home-immersive .cinema-stick{top:0;height:var(--chapter-vh);min-height:0}
.home-immersive .cinema-media{clip-path:inset(0);transform:scale(calc(1.01 + var(--scene-progress,0)*.06))}
.home-immersive .cinema-copy{padding-block:var(--header);transform:none}
.home-immersive .cinema-copy h2{font-weight:400;font-size:clamp(54px,6.5vw,92px)}
.home-immersive .cinema-copy em{color:inherit;font-style:normal}
.home-immersive .cinema-copy p{max-width:30ch;font-size:16px}
.home-immersive .cinema-caption{left:var(--page-left);right:var(--page-right)}
.home-immersive .home-inspiration,.home-immersive .home-blog,.home-immersive .faq{padding-block:90px}
.home-immersive .home-inspiration-heading{align-items:end}
.home-immersive .inspiration-strip{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:24px}
.home-immersive .inspiration-image{aspect-ratio:4/5}
.home-immersive .inspiration-strip>a:nth-child(2){padding-top:70px}
.home-immersive .inspiration-strip>a:nth-child(3){padding-top:140px}
.home-immersive .inspiration-strip>a>span{font-size:12px;min-height:48px}
.home-immersive .home-blog{background:#efe9df}
.home-immersive .home-blog-links strong{font-weight:400}
.home-immersive .faq-grid{grid-template-columns:1fr 1.2fr}
.home-immersive .closing{padding-top:60px;margin-top:60px}
.home-immersive .closing h2{font-weight:400}
.home-immersive footer{padding-left:0}
.home-immersive .chapter-method,.home-immersive .chapter-about,.home-immersive .cinema-scene{scroll-margin-top:calc(-1 * (var(--header) + 20px))}
@keyframes scene-dissolve{from{opacity:0;transform:scale(1.025)}to{opacity:1;transform:none}}
@media(max-width:1050px){.home-immersive{--rail:52px;--page-gutter:22px}.home-immersive .header-actions .header-social{display:none}.home-immersive .atelier-story{font-size:13px}.home-immersive .atelier-story p+p{display:none}}
@media(max-width:760px){
 .home-immersive{--rail:0px;--gutter:22px;--page-gutter:22px;--header:76px}
 .home-immersive .site-header{gap:12px}.home-immersive .site-header .brand-wordmark{width:160px}
 .immersive-rail{display:none}
 .home-immersive .opening-slideshow{height:145svh}
 .home-immersive .opening-slide:first-child .opening-media{left:0;width:100%}
 .home-immersive .opening-slide:first-child .opening-media>img{object-position:58% 38%}
 .home-immersive .opening-media:after,.home-immersive .opening-slide:first-child .opening-media:after{background:linear-gradient(0deg,#211a17c9,rgba(33,26,23,.35) 55%,rgba(33,26,23,.12)),linear-gradient(90deg,#211a1726,transparent)}
 .home-immersive .opening-copy{top:auto;bottom:calc(var(--opening-controls-height,78px) + 42px);width:calc(100% - var(--gutter)*2);transform:translateY(calc(var(--opening-progress,0)*-20px))}
 .home-immersive .opening-copy .eyebrow{margin-bottom:18px;font-size:9px;letter-spacing:.12em}
 .home-immersive .opening-copy h1,.home-immersive .opening-copy h2{font-size:clamp(46px,12.4vw,66px);max-width:17ch;line-height:1.02}
 .home-immersive .opening-intro{font:400 18px/1.3 var(--serif);margin-top:16px;max-width:29ch}
 .home-immersive .opening-copy .button{margin-top:22px;font-size:9px;min-height:44px}
 .home-immersive .opening-controls{gap:12px;padding:14px 0 18px}
 .home-immersive .opening-controls:before{display:none}
 .home-immersive .opening-pagination{gap:5px;max-width:calc(100% - 76px)}
 .home-immersive .opening-pagination button{width:44px;height:44px}
 .home-immersive .opening-pause{margin-left:auto}.home-immersive .opening-next{display:none}
 .home-immersive .opening-media figcaption{right:22px;font-size:9px}
 .home-immersive .chapter-section,.home-immersive .home-inspiration,.home-immersive .home-blog,.home-immersive .faq{padding-block:48px}
 .home-immersive .chapter-heading{margin-bottom:28px;display:flex;align-items:end;gap:18px}
 .home-immersive .chapter-heading h2,.home-immersive .home-inspiration-heading h2,.home-immersive .home-blog-heading h2,.home-immersive .faq h2{font-size:40px}
 .home-immersive .chapter-heading .chapter-link{font-size:11px;white-space:normal;margin:0;max-width:90px;gap:10px}
 .home-immersive .catalog-card>a{grid-template-columns:112px minmax(0,1fr);gap:18px}
 .home-immersive .catalog-cover{aspect-ratio:3/4}.home-immersive .catalog-copy h3{font-size:28px}.home-immersive .catalog-copy p{font-size:13px;line-height:1.5}
 .home-immersive .chapter-method{height:300svh;padding:0}
 .home-immersive .chapter-method .chapter-heading{top:auto;bottom:184px;max-width:calc(100% - 44px);display:block}
 .home-immersive .chapter-method h2{font-size:clamp(48px,13vw,66px);max-width:9ch}
 .home-immersive .chapter-method .eyebrow{font-size:9px;margin-bottom:18px}
 .home-immersive .chapter-hint{font-size:14px;margin-top:18px;max-width:29ch}
 .home-immersive .learning-screen:after{background:linear-gradient(0deg,#201813d9,rgba(32,24,19,.32) 68%,rgba(32,24,19,.13))}
 .home-immersive .learning-choices{gap:12px;bottom:24px}
 .home-immersive .learning-choice{display:block;min-height:100px;height:auto;padding:14px 0;background:transparent;border-width:1px 0 0;text-align:left;color:var(--cream)}
 .home-immersive .learning-choice.is-active{background:transparent;border-color:var(--cream)}
 .home-immersive .learning-choice .learning-number{display:block;line-height:1;margin-bottom:14px}
 .home-immersive .learning-choice .learning-short-label{display:block;font:400 20px/1.2 var(--serif);color:var(--cream)}
 .home-immersive .learning-choice .learning-arrow,.home-immersive .learning-choice small,.home-immersive .learning-full-label{display:none}
 .home-immersive .learning-clip .chapter-media-footer{top:calc(var(--header) + 10px);min-height:36px;font-size:9px}.home-immersive .learning-clip .chapter-media-footer button{font-size:9px}
 .home-immersive .chapter-about{height:150svh;padding:0}
 .home-immersive .atelier-portrait{inset:0;display:block}
 .home-immersive .atelier-portrait-frame img{object-position:55% 30%}
 .home-immersive .atelier-portrait-frame:after{background:linear-gradient(0deg,#2a1c16e8,rgba(42,28,22,.55) 48%,rgba(42,28,22,.03) 80%)}
 .home-immersive .atelier-intro{top:auto;bottom:52px;width:calc(100% - 44px);transform:none;max-height:none}
 .home-immersive .atelier-intro h2{font-size:52px;max-width:10ch}
 .home-immersive .atelier-intro .eyebrow{font-size:9px;margin-bottom:18px}
 .home-immersive .atelier-mobile-story{font-size:14px;line-height:1.65;color:var(--cream);max-width:34ch;margin-top:20px}
 .home-immersive .atelier-intro .chapter-link{font-size:12px;margin-top:20px}
 .home-immersive .atelier-portrait figcaption{display:none}
 .home-immersive .atelier-film{width:100px;right:22px;top:calc(var(--header) + 14px);bottom:auto}
 .home-immersive .atelier-film .chapter-media{height:auto;aspect-ratio:4/3}
 .home-immersive .atelier-film .chapter-media-footer{justify-content:center;background:#221c1799}.home-immersive .atelier-film .chapter-media-footer button{font-size:9px}
 .home-immersive .cinema-scene{height:155svh}
 .home-immersive .cinema-stick{position:sticky;height:var(--chapter-vh);top:0}
 /* Keep the decoration and tweezers inside the portrait crop. */
 .home-immersive .cinema-media>img,.home-immersive .cinema-media>video{object-position:75% 50%;transform-origin:75% 50%}
 .home-immersive .cinema-copy h2{font-size:52px}.home-immersive .cinema-copy p{font-size:14px}
 .home-immersive .inspiration-strip{display:grid;grid-template-columns:1fr 1fr;gap:20px;border:0}
 .home-immersive .inspiration-strip>a{display:block;padding:0;border:0}.home-immersive .inspiration-strip>a:nth-child(2){padding-top:50px}.home-immersive .inspiration-strip>a:nth-child(3){grid-column:1/-1;padding-top:0;width:70%;margin-left:auto}
 .home-immersive .inspiration-image{aspect-ratio:3/4}.home-immersive .inspiration-strip>a:nth-child(3) .inspiration-image{aspect-ratio:4/3}
 .home-immersive .inspiration-strip>a>span{font-size:11px;display:flex;justify-content:space-between;padding-top:12px;min-height:48px}
 .home-immersive .faq-grid{grid-template-columns:1fr}.home-immersive .closing{margin-top:40px;padding-top:40px}
 .home-immersive .home-blog-heading h2{font-size:42px}.home-immersive .home-blog-links strong{font-size:26px}
}
@media(max-width:360px){.home-immersive .site-header{gap:6px}.home-immersive .site-header .brand-wordmark{width:122px}.home-immersive .opening-copy h1,.home-immersive .opening-copy h2{font-size:43px}.home-immersive .opening-intro{font-size:17px}.home-immersive .catalog-card>a{grid-template-columns:90px 1fr;gap:14px}}
/* Pinning is optional: zoom, short windows and reduced motion get a readable
   natural page with the same controls and all content still available. */
@media(max-height:560px){
 .home-immersive .opening-slideshow,.home-immersive .chapter-method,.home-immersive .chapter-about,.home-immersive .cinema-scene{height:auto}
 .home-immersive .opening-viewport,.home-immersive .opening-slide,.home-immersive .method-stick,.home-immersive .atelier-grid,.home-immersive .cinema-stick{position:relative;height:680px;min-height:0}
 .home-immersive .opening-copy{top:50%;bottom:auto;transform:translateY(-50%)}
 .home-immersive .chapter-method .chapter-heading{top:25%;bottom:auto}
 .home-immersive .atelier-intro{top:38%;bottom:auto;transform:translateY(-20%)}
 .home-immersive .atelier-film{display:none}
}
.home-immersive.motion-off .opening-slideshow,.home-immersive.motion-off .chapter-method,.home-immersive.motion-off .chapter-about,.home-immersive.motion-off .cinema-scene{height:auto}
.home-immersive.motion-off .opening-viewport,.home-immersive.motion-off .method-stick,.home-immersive.motion-off .atelier-grid,.home-immersive.motion-off .cinema-stick{position:relative}
.home-immersive.motion-off .opening-copy,.home-immersive.motion-off .opening-media>img,.home-immersive.motion-off .opening-media>video,.home-immersive.motion-off .atelier-portrait-frame img,.home-immersive.motion-off .cinema-media{opacity:1}
.home-immersive.motion-off .opening-media>img,.home-immersive.motion-off .opening-media>video,.home-immersive.motion-off .atelier-portrait-frame img,.home-immersive.motion-off .cinema-media{transform:none}
@media(prefers-reduced-motion:reduce){
 .home-immersive .opening-slideshow,.home-immersive .chapter-method,.home-immersive .chapter-about,.home-immersive .cinema-scene{height:auto}
 .home-immersive .opening-viewport,.home-immersive .method-stick,.home-immersive .atelier-grid,.home-immersive .cinema-stick{position:relative}
 .home-immersive .opening-media>img,.home-immersive .opening-media>video,.home-immersive .atelier-portrait-frame img,.home-immersive .cinema-media{transform:none}
 .home-immersive .opening-copy{opacity:1}.home-immersive .learning-enter{animation:none}
}
