/* Shared chapter rhythm. Long chapters keep their natural content height. */
html.page-chapters{scroll-snap-type:y proximity!important;scroll-padding-top:80px!important;scroll-behavior:smooth}
.page-chapters .page-screen{scroll-snap-align:start;scroll-snap-stop:normal}
.page-chapters .footer{scroll-snap-stop:normal}
.text-chapter{min-height:calc(100svh - 80px);padding:35px 0;display:flex;flex-direction:column;justify-content:center}
.article-body .text-chapter h2{margin-top:0}
.page-about .article-layout,.page-oulu .article-layout{padding-top:0;padding-bottom:0;align-items:start}
.page-about .article-layout>aside,.page-oulu .article-side{padding-top:35px}
.page-credits .section.compact{padding:0}
.page-about .subhero,.page-oulu .subhero,.page-credits .subhero{min-height:calc(100svh - 80px);display:flex;flex-direction:column;justify-content:center;padding-block:35px}
.page-about .subhero p,.page-oulu .subhero p,.page-credits .subhero p{margin-bottom:0}
.academy-learning{min-height:calc(100svh - 80px);display:flex;flex-direction:column;justify-content:center}
.join-details{min-height:calc(100svh - 80px)}
.news-opening{min-height:calc(100svh - 80px)}
.page-chapter-motion .page-screen-content> *{opacity:0;transform:translateY(25px);transition:opacity .65s ease,transform .8s cubic-bezier(.2,.65,.25,1);transition-delay:var(--chapter-delay,0ms)}
.page-chapter-motion .page-screen-content.chapter-visible> *,.page-chapter-motion .page-screen-content:focus-within> *{opacity:1;transform:none}
@media(min-width:1001px){
 .academy-opening,.join-illustration{height:calc(100svh - 80px);min-height:520px;aspect-ratio:auto}
 .academy-scene{object-fit:contain;object-position:right center}.join-scene{object-fit:cover;object-position:center top}
 .join-details{padding:25px 6% 22px}.join-details-top{padding:17px 0 25px}.join-details-grid{padding-bottom:23px}.join-essential-copy>p{margin-bottom:24px}.join-essential-copy li{padding:10px 0}.join-invoice{margin-bottom:20px}.join-details-bottom{padding-top:16px}
 .page-oulu main>.wrap>.oulu-editorial-photo{min-height:calc(100svh - 80px);margin:0;display:flex;flex-direction:column;justify-content:center;padding-block:25px}
 .page-oulu main>.wrap>.oulu-editorial-photo img{max-height:calc(100svh - 145px);object-fit:contain}
}
@media(max-width:1000px){html.page-chapters{scroll-snap-type:y proximity!important}.text-chapter{min-height:calc(100svh - 80px)}}
@media(max-width:680px){
 html.page-chapters{scroll-padding-top:68px!important}
 .text-chapter{min-height:calc(100svh - 68px);padding:28px 0}
 .page-about .subhero,.page-oulu .subhero,.page-credits .subhero,.academy-learning,.join-details,.news-opening{min-height:calc(100svh - 68px)}
 .page-chapter-motion .page-screen-content> *{transform:translateY(15px)}
 .page-chapter-motion .page-screen-content.chapter-visible> *,.page-chapter-motion .page-screen-content:focus-within> *{transform:none}
}
@media(prefers-reduced-motion:reduce){html.page-chapters{scroll-snap-type:none!important;scroll-behavior:auto}.page-screen-content> *{opacity:1;transform:none;transition:none}}
@media(min-width:1001px){
 .news-opening{padding:30px 6% 25px;gap:25px}.news-opening-grid{padding:20px 0}.news-opening h1{font-size:clamp(70px,7.6vw,112px)}
 .news-latest{padding:25px 6%;gap:30px}.news-feature{padding-bottom:10px}.news-feature h2{font-size:clamp(52px,5.9vw,88px)}.news-excerpt{font-size:15px}
}

/* Keep reading immediate; scrolling is fully browser-native, without wheel locks. */
html.page-chapters{scroll-behavior:auto}
.page-chapter-motion .page-screen-content> *,
.chapters-ready .story-screen [data-reveal],
.knowledge-page.is-enhanced [data-knowledge-reveal],
.news-motion [data-news-reveal]{opacity:1!important;transform:none!important;transition:opacity .2s ease,transform .25s ease;transition-delay:0s!important}
html:has(.page-oulu){scroll-snap-type:none!important;scroll-behavior:auto!important}
.page-oulu .subhero{min-height:0;display:block;padding:55px 0 30px}
.page-oulu .article-layout{padding:30px 0 70px}
.page-oulu main>.wrap>.oulu-editorial-photo{min-height:0;display:block;padding:0;margin:0 0 30px}
.page-oulu main>.wrap>.oulu-editorial-photo img{max-height:none;height:auto;object-fit:contain}
@media(max-width:680px){.page-oulu .subhero{padding:35px 0 25px}.page-oulu .article-layout{padding:15px 0 45px}}
.page-about .subhero h1 em{font-family:'DM Serif Display',Georgia,serif;font-weight:400}

/* Content-led spacing: short sections no longer occupy an entire screen. */
html.page-chapters,html.chapter-scroll,html.news-scroll,html:has(.knowledge-page){scroll-snap-type:none!important}
.eas-worlds .story-screen{min-height:0;grid-template-rows:none;align-content:start;padding-block:32px 40px;row-gap:30px}
.eas-worlds .story-screen .whole-heading h2{font-size:clamp(42px,4.7vw,70px)}
.eas-worlds .story-screen .pathways-heading h2{font-size:clamp(38px,4vw,60px)}
.eas-worlds .conversation-copy h2{font-size:clamp(44px,4.8vw,72px)}
.eas-worlds .join-copy h2{font-size:clamp(48px,5.5vw,84px)}
.eas-worlds .join-copy{padding-block:12px}
.eas-worlds .text-chapter{min-height:0;justify-content:flex-start;padding-block:26px}
.eas-worlds .academy-learning,.eas-worlds .join-details{min-height:0;justify-content:flex-start;padding-block:38px}
.eas-worlds .news-latest{min-height:0;gap:30px;padding-block:38px}
.knowledge-page .resource-group{padding-block:40px}
.knowledge-page .resource-group-heading{margin-bottom:25px}
.eas-worlds .closing-note{padding-block:36px}
.page-credits .subhero{min-height:0;padding-block:45px 30px}
@media(max-width:680px){
 .eas-worlds .story-screen{padding-block:26px 32px;row-gap:24px}
 .eas-worlds .story-screen .whole-heading{gap:22px}
 .eas-worlds .story-screen .whole-heading h2{font-size:clamp(39px,10vw,50px)}
 .eas-worlds .story-screen .pathways-heading h2{font-size:38px}
 .eas-worlds .conversation-copy h2{font-size:44px}
 .eas-worlds .join-copy h2{font-size:48px}
 .eas-worlds .academy-learning,.eas-worlds .join-details,.eas-worlds .news-latest{padding-block:28px}
 .knowledge-page .resource-group{padding-block:30px}
 .eas-worlds .text-chapter{padding-block:20px}
 .eas-worlds .closing-note{padding-block:28px}
}
