/* Native scroll controls the story; only presentation layers are animated. */
.motion-enabled .motion-enter{opacity:calc(.18 + var(--enter,1)*.82);transform:translateY(calc((1 - var(--enter,1))*42px)) scale(calc(.975 + var(--enter,1)*.025));transform-origin:50% 65%;transition:none}
.motion-enabled .motion-enter.motion-near{will-change:transform,opacity}
.motion-enabled .motion-enter.motion-settled{transform:none;opacity:1;will-change:auto}
.motion-enabled .paper-row{animation:none}
.motion-enabled .motion-page-title{transform:translate3d(0,calc(var(--title-exit,0)*-42px),0);opacity:calc(1 - var(--title-exit,0)*.38)}
.motion-enabled .catalog-hero::before{translate:0 var(--header-drift,0px)}

/* These chapter links remain native anchors, including their keyboard behavior. */
.scroll-chapter-nav{position:sticky;top:92px;z-index:40;padding-block:12px;background:#faf9f6f5;border-bottom:1px solid #e3dfe8}
.scroll-chapter-nav .study-jumps,.scroll-chapter-nav .method-index{margin:0;gap:7px;border:0;background:transparent;border-radius:0}
.scroll-chapter-nav .study-jumps{display:flex;flex-wrap:wrap}
.scroll-chapter-nav .study-jumps a{font-size:12px;padding:10px 17px;background:transparent;border-color:transparent;transition:background .2s,color .2s}
.scroll-chapter-nav .method-index{display:flex;flex-wrap:wrap;overflow:visible}
.scroll-chapter-nav .method-index a{font-size:13px;padding:11px 18px;border:0;border-radius:26px}
.scroll-chapter-nav a[aria-current="location"]{background:#eae1f6;color:#5c338f}
.scroll-chapter-nav a:hover{background:#eee8f7}
html.motion-nav-page{scroll-padding-top:calc(105px + var(--chapter-nav-height,0px))}
.has-scroll-chapters>.catalog-hero{padding-bottom:35px}
.has-scroll-chapters>.study-hero{padding-bottom:30px}
.has-scroll-chapters>.void-hero{padding-bottom:35px}
.has-scroll-chapters>.method-catalog{padding-top:55px}

/* The opening unfolds during a short native scroll interval. */
.cover-scroll-ready{min-height:max(1280px,155svh);position:relative;isolation:isolate}
.cover-scroll-ready>.home-cover{position:sticky;top:0;min-height:max(780px,100svh)}
.cover-scroll-ready #home-title>span{opacity:calc(1 - var(--cover-exit,0)*.56)}
.cover-scroll-ready .cover-sheet{transform:translate3d(var(--sheet-x,0px),var(--sheet-y,0px),0) rotate(calc(var(--angle) + var(--sheet-rotation,0deg))) scale(var(--sheet-scale,1))}

/* One continuous material story: native text scrolls over a shared image plane. */
.material-story-scene{display:none}
.material-scroll-story{margin-top:55px}
.material-scroll-story.story-ready{--story-height:clamp(620px,calc(100svh - 125px),1000px);display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:start;position:relative;isolation:isolate}
.material-scroll-story.story-ready .material-story-scene{display:block;grid-column:1;grid-row:1;position:sticky;top:105px;height:var(--story-height);align-self:start;z-index:0;pointer-events:none;overflow:hidden;border-radius:22px;background:#faf9f6}
.material-story-images{position:absolute;inset:0;isolation:isolate}
.material-story-images::after{content:"";position:absolute;inset:-1px;z-index:1;background:linear-gradient(90deg,#faf9f6 0%,#faf9f6ed 24%,#faf9f6c7 45%,#faf9f624 82%),linear-gradient(0deg,#faf9f6 0%,#faf9f600 20%,#faf9f600 80%,#faf9f6 100%)}
.material-story-image{position:absolute;inset:0;display:flex;align-items:center;justify-content:flex-end;padding:35px 0;opacity:0;will-change:transform,opacity}
.material-story-image img{display:block;object-fit:contain;object-position:right center;height:100%;width:78%;max-width:none;opacity:.72;filter:blur(2px) saturate(.65)}
.material-story-image[data-story-image="3"] img{width:70%;padding:45px;filter:blur(5px) saturate(.65);opacity:.65}
.material-story-rail{position:absolute;z-index:2;left:clamp(28px,4.5vw,64px);right:clamp(28px,4.5vw,64px);bottom:25px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-width:600px}
.material-story-rail>span{min-width:0;color:#766a82;font-size:11px;line-height:1.5}
.material-story-rail i{display:block;position:relative;height:2px;background:#ded6e8;margin-bottom:12px;overflow:hidden}
.material-story-rail i::after{content:"";position:absolute;inset:0;background:#8a62c4;transform:scaleX(var(--step-fill,0));transform-origin:left}
.material-scroll-story.story-ready .home-material-path{grid-column:1;grid-row:1;position:relative;z-index:1;display:block;margin:0;padding:0}
.material-scroll-story.story-ready .home-path-art{display:none}
.material-scroll-story.story-ready .home-path-stage{display:flex;justify-content:center;min-height:var(--story-height);padding:52px clamp(28px,4.5vw,64px) 115px;border:0}
.material-scroll-story.story-ready .home-path-copy{width:65%;max-width:680px}
.material-scroll-story.story-ready .home-path-label{font-size:13px;margin-bottom:23px}
.material-scroll-story.story-ready .home-path-stage h3{font-size:clamp(42px,4.4vw,66px);font-weight:500;letter-spacing:-.045em;line-height:1.14;margin:0 0 29px}
.material-scroll-story.story-ready .home-path-stage p{font-size:18px;line-height:1.85;max-width:580px;color:#59545f}
.material-scroll-story.story-ready .home-path-stage .home-path-detail{margin-top:20px}
.material-scroll-story.story-ready .home-path-cta{margin-top:27px;font-size:14px}
.material-scroll-story.story-ready .home-path-stage:focus-visible{outline-offset:-5px}
.home-highlight-layout .highlight-intro{position:sticky;top:135px;align-self:start}

@media(max-width:1100px){
 .material-scroll-story.story-ready .home-path-copy{width:76%;max-width:630px}
 .material-scroll-story.story-ready .home-path-stage h3{font-size:clamp(40px,4.8vw,50px)}
 .material-scroll-story.story-ready .home-path-stage p{font-size:17px}
 .material-story-image img{width:85%}
}
@media(max-width:800px){
 .scroll-chapter-nav{top:76px;padding-block:9px}.scroll-chapter-nav .study-jumps a{padding:9px 13px;font-size:11px}.scroll-chapter-nav .method-index a{font-size:12px;padding:10px 13px}.scroll-chapter-nav .method-index a:last-child{border:0}
 html.motion-nav-page{scroll-padding-top:calc(90px + var(--chapter-nav-height,0px))}
 .cover-scroll-ready{min-height:calc(100svh + 310px)}.cover-scroll-ready>.home-cover{min-height:max(780px,100svh)}
 .material-scroll-story.story-ready .home-path-copy{width:85%}
 .home-highlight-layout .highlight-intro{position:static}
}
@media(max-width:600px){
 .cover-scroll-ready{min-height:calc(100svh + 240px)}.cover-scroll-ready>.home-cover{min-height:max(730px,100svh)}
 .material-scroll-story{margin-top:35px}
 .material-scroll-story.story-ready{--story-height:max(680px,calc(100svh - 95px))}
 .material-scroll-story.story-ready .material-story-scene{top:85px;border-radius:14px}
 .material-scroll-story.story-ready .home-path-stage{padding:35px 23px 112px}
 .material-scroll-story.story-ready .home-path-copy{width:100%;max-width:none}
 .material-scroll-story.story-ready .home-path-label{font-size:12px;margin-bottom:20px}
 .material-scroll-story.story-ready .home-path-stage h3{font-size:clamp(30px,8.6vw,42px);line-height:1.17;letter-spacing:-.04em;margin-bottom:25px}
 .material-scroll-story.story-ready .home-path-stage p{font-size:15px;line-height:1.9}
 .material-scroll-story.story-ready .home-path-stage .home-path-detail{margin-top:18px}
 .material-scroll-story.story-ready .home-path-cta{font-size:13px;margin-top:23px}
 .material-story-image{padding:40px 0}
 .material-story-image img{width:100%;opacity:.62}
 .material-story-image[data-story-image="3"] img{width:100%;padding:40px}
 .material-story-images::after{background:linear-gradient(90deg,#faf9f6e8 0%,#faf9f6c7 38%,#faf9f680 100%),linear-gradient(0deg,#faf9f6 0%,#faf9f600 25%,#faf9f600 75%,#faf9f6 100%)}
 .material-story-rail{left:23px;right:23px;bottom:24px;gap:10px}
 .material-story-rail>span{font-size:10px}
 .motion-enabled .motion-enter{transform:translateY(calc((1 - var(--enter,1))*26px))}
}
@media(max-width:360px){.material-scroll-story.story-ready .home-path-stage p{font-size:14px;line-height:1.85}.material-scroll-story.story-ready .home-path-stage h3{font-size:26px}}
@media(max-height:600px){.cover-scroll-ready{min-height:0}.cover-scroll-ready>.home-cover{position:relative}}
@media(prefers-reduced-motion:reduce){
 .motion-enter,.motion-page-title{transform:none!important;opacity:1!important}
 .scroll-chapter-nav a{transition:none!important}
 .cover-scroll-ready{min-height:0}.cover-scroll-ready>.home-cover{position:relative}
 .cover-scroll-ready .cover-content,.cover-scroll-ready .cover-sheet{transform:none;opacity:1}
}

.motion-enabled .motion-enter:focus-within{opacity:1;transform:none}

.cover-scroll-ready .cover-content:focus-within #home-title>span{opacity:1}

.scroll-chapter-nav a{display:inline-flex;align-items:center;min-height:44px}
@media(max-height:600px){.scroll-chapter-nav{position:relative;top:auto}html.motion-nav-page{scroll-padding-top:105px}}
