/* Scroll-only scenes. No visitor-facing navigation or effect controls. */
@media(min-height:300px){
 body main :is(#metoda,#programe,#parcurs).story-enabled {position:relative;height:calc(var(--story-stage) + var(--story-run))!important;min-height:0!important;padding-block:0!important;margin-block:40px!important}
 body #metoda.story-enabled .wheel-stage,body #programe.story-enabled .cp-stage,body #parcurs.story-enabled .journey-stage {position:sticky!important;top:var(--story-top)!important;height:var(--story-stage)!important;min-height:0!important;transform:none!important;padding:16px 0!important;overflow:visible!important;display:flex;align-items:center}
 body #metoda.story-enabled .wheel-inner {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:48px;width:min(1180px,calc(100% - 48px))}
 body #metoda.story-enabled .wheel-head {align-self:center}
 body #metoda.story-enabled .wheel-head h2 {font-size:clamp(30px,3.4vw,48px)}
 body #metoda.story-enabled .wheel-head .lead {font-size:18px;line-height:1.6}
 body #metoda.story-enabled .wheel-viewport {position:relative;height:var(--wheel-window)!important;perspective:900px!important;overflow:hidden!important;mask-image:linear-gradient(transparent,#000 16%,#000 84%,transparent)!important;-webkit-mask-image:linear-gradient(transparent,#000 16%,#000 84%,transparent)!important}
 body #metoda.story-enabled .wheel-band {display:block!important;position:absolute;top:50%;left:0;width:100%;height:var(--wheel-band,150px);transform:translateY(-50%);border-block:1px solid #494735;pointer-events:none}
 body #metoda.story-enabled .wheel-drum {display:block;position:relative;height:100%;transform-style:preserve-3d}
 body #metoda.story-enabled .wheel-item {position:absolute;top:50%;left:0;right:0;min-height:120px;height:auto!important;margin:0!important;padding:16px 0!important;border:0;align-content:center;transform:translateY(calc(-50% + var(--wheel-y))) rotateX(var(--wheel-angle)) scale(var(--wheel-scale))!important;opacity:var(--wheel-alpha)!important;pointer-events:none;backface-visibility:hidden}
 body #metoda.story-enabled .wheel-body h3 {font-size:clamp(26px,2.6vw,38px);line-height:1.2}
 body #metoda.story-enabled .wheel-body p {font-size:18px;line-height:1.5;opacity:var(--wheel-detail,1)}
 body #metoda.story-enabled .wheel-num {font-size:16px}
 body #programe.story-enabled .cp-stage {align-items:flex-start}
 body #programe.story-enabled .cp-layout {gap:16px;width:min(1180px,calc(100% - 48px))}
 body #programe.story-enabled .cp-heading {display:grid;grid-template-columns:1fr;gap:8px 20px;max-width:none;align-items:center}
 body #programe.story-enabled .cp-heading>.cp-eyebrow {grid-column:1/-1;margin:0;font-size:12px}
 body #programe.story-enabled .cp-heading h2 {font-size:clamp(24px,2.5vw,34px);line-height:1.15;margin:0;max-width:650px}
 body #programe.story-enabled .story-controls {margin:0;justify-content:flex-end;max-width:400px}
 body #programe.story-enabled .story-caption {text-align:right}
 body #programe.story-enabled .cp-scene {display:grid;position:relative;height:var(--course-window)!important;overflow:hidden!important;perspective:none;mask-image:none!important}
 body #programe.story-enabled .cp-pair {grid-area:1/1;align-self:start;position:relative!important;margin:0!important;opacity:var(--scene-alpha,0)!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(var(--scene-y,0px))!important;transition:none;gap:20px}
 body #programe.story-enabled .cp-pair[data-scene-visible=true] {visibility:visible!important}
 body #programe.story-enabled .cp-pair[data-story-active=true] {pointer-events:auto!important}
 body #programe.story-enabled .cp-card {padding:24px}
 body #programe.story-enabled .cp-card h3 {font-size:28px;margin:10px 0}
 body #programe.story-enabled .cp-description {margin-bottom:12px}
 body #programe.story-enabled .cp-features {margin-bottom:12px}
 body #programe.story-enabled .cp-features li {padding-block:10px}
 body #programe.story-enabled .cp-footer {padding-top:16px;flex-wrap:wrap;gap:12px}
 body #programe.story-enabled .cp-footer>div {margin-right:auto}
 body #programe.story-enabled .cp-details {padding:10px 16px;min-height:44px}
 body #parcurs.story-enabled .journey-stage {display:block;padding-block:24px!important}
 body #parcurs.story-enabled .section-head {max-width:none;width:100%;margin-bottom:36px;display:grid;grid-template-columns:1fr;gap:8px 24px;align-items:center}
 body #parcurs.story-enabled .section-head .kicker {grid-column:1/-1}
 body #parcurs.story-enabled h2 {font-size:clamp(28px,3vw,42px);line-height:1.2;margin:0}
 body #parcurs.story-enabled .story-controls {max-width:400px;margin:0;justify-content:flex-end}
 body #parcurs.story-enabled .story-caption {text-align:right}
 body #parcurs.story-enabled .next-steps {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
 body #parcurs.story-enabled .next-step {opacity:0!important;transform:translateY(24px)!important;visibility:hidden;transition:opacity .25s ease,transform .25s ease}
 body #parcurs.story-enabled .next-step[data-revealed=true] {opacity:1!important;transform:none!important;visibility:visible}
 body #parcurs.story-enabled .next-step h3 {font-size:25px;line-height:1.2;margin-block:12px}
 body #parcurs.story-enabled .next-body {font-size:16px;line-height:1.6}
 body #parcurs.story-enabled .next-when {font-size:13px}
 body #parcurs.story-enabled .next-promise {margin-top:28px;font-size:24px;visibility:hidden}
 body #parcurs.story-enabled .next-promise[data-revealed=true] {visibility:visible}
}

@media(max-width:699px) and (min-height:300px){
 body #metoda.story-enabled .wheel-stage {align-items:flex-start}
 body #metoda.story-enabled .wheel-inner {grid-template-columns:1fr;gap:20px;width:calc(100% - 40px)}
 body #metoda.story-enabled .wheel-head h2 {font-size:28px;line-height:1.15;margin:0 0 14px}
 body #metoda.story-enabled .wheel-head .lead {font-size:16px;line-height:1.5;margin:0}
 body #metoda.story-enabled .wheel-body h3 {font-size:25px}
 body #metoda.story-enabled .wheel-body p {font-size:16px;line-height:1.5}
 body #metoda.story-enabled .wheel-item {display:grid;grid-template-columns:28px 1fr;gap:12px}
 body #programe.story-enabled .cp-layout {width:calc(100% - 40px);gap:16px}
 body #programe.story-enabled .cp-heading h2 {font-size:26px;line-height:1.15}
 body #programe.story-enabled .cp-pair {display:contents!important;visibility:visible!important;opacity:1!important;transform:none!important;pointer-events:auto!important}
 body #programe.story-enabled .cp-card {grid-area:1/1;align-self:start;position:relative;min-width:0;padding:22px;opacity:var(--scene-alpha,0)!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(var(--scene-y,0px))!important}
 body #programe.story-enabled .cp-card[data-scene-visible=true] {visibility:visible!important}
 body #programe.story-enabled .cp-card[data-story-active=true] {pointer-events:auto!important}
 body #programe.story-enabled .cp-card h3 {font-size:27px}
 body #programe.story-enabled .cp-description,body #programe.story-enabled .cp-features {font-size:16px;line-height:1.5}
 body #parcurs.story-enabled .journey-stage {width:calc(100% - 40px);margin-inline:auto;padding-top:16px!important}
 body #parcurs.story-enabled .section-head {margin-bottom:28px}
 body #parcurs.story-enabled h2 {font-size:28px}
 body #parcurs.story-enabled .next-steps {display:grid;grid-template-columns:1fr;align-items:start;gap:0;min-height:220px}
 body #parcurs.story-enabled .next-step {grid-area:1/1;min-width:0}
 body #parcurs.story-enabled .next-step h3 {font-size:28px}
 body #parcurs.story-enabled .next-body {font-size:17px;line-height:1.6}
 body #parcurs.story-enabled .next-promise {font-size:22px;line-height:1.35;margin-top:20px}
}
@media(max-height:550px) and (min-height:300px){
 body #metoda.story-enabled .wheel-inner {grid-template-columns:1fr 1fr;gap:20px}
 body #metoda.story-enabled .wheel-head h2 {font-size:24px}
 body #metoda.story-enabled .wheel-head .lead {font-size:14px}
 body #metoda.story-enabled .wheel-viewport {height:calc(var(--story-stage) - 32px)!important}
 body #parcurs.story-enabled .section-head {margin-bottom:16px}
 body #parcurs.story-enabled .next-steps {min-height:150px}
 body #parcurs.story-enabled .next-promise {font-size:18px;margin-top:10px}
}
@media(prefers-reduced-motion:reduce){
 body .story-enabled .next-step {transition:none!important;transform:none!important}
}
/* Override the legacy mobile/static wheel geometry explicitly. */
body #parcurs.story-enabled[data-journey-mobile=true] .next-step {
 opacity:var(--journey-alpha,0)!important;
 transform:translateY(var(--journey-y,0px))!important;
 transition:none!important;
}
body #parcurs.story-enabled[data-journey-mobile=true] .next-promise {opacity:var(--journey-alpha,0)!important}
body #metoda.story-enabled .wheel-viewport {position:relative!important}
body #metoda.story-enabled .wheel-drum {height:100%!important;position:relative!important;inset:0!important}
body #metoda.story-enabled .wheel-item {position:absolute!important;top:50%!important;bottom:auto!important;left:0!important;right:0!important;min-height:120px!important}
@media(max-width:699px) and (min-height:551px){
 body #parcurs.story-enabled .journey-stage {display:flex!important;flex-direction:column;align-items:stretch}
 body #parcurs.story-enabled .next-steps {flex:1;align-items:center}
 body #parcurs.story-enabled .next-promise {min-height:84px;margin-bottom:24px}
}
@media(min-width:700px) and (max-width:899px) and (min-height:551px){
 body #metoda.story-enabled .wheel-stage {align-items:flex-start}
 body #metoda.story-enabled .wheel-inner {grid-template-columns:1fr;gap:20px}
 body #metoda.story-enabled .wheel-head h2 {font-size:28px;line-height:1.15;margin:0 0 14px}
 body #metoda.story-enabled .wheel-head .lead {font-size:16px;line-height:1.5;margin:0}
}
@media(min-width:700px) and (max-height:550px) and (min-height:300px){
 body #parcurs.story-enabled .journey-stage {display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:1fr auto;gap:12px 32px;width:calc(100% - 48px);margin-inline:auto;align-items:start;padding:16px 0!important}
 body #parcurs.story-enabled .section-head {grid-column:1;grid-row:1/3;margin:0}
 body #parcurs.story-enabled h2 {font-size:26px}
 body #parcurs.story-enabled .next-steps {grid-column:2;grid-row:1;display:grid;grid-template-columns:1fr;gap:0;min-height:150px}
 body #parcurs.story-enabled .next-step {grid-area:1/1}
 body #parcurs.story-enabled .next-step h3 {font-size:24px;margin-block:8px}
 body #parcurs.story-enabled .next-body {font-size:16px;line-height:1.45}
 body #parcurs.story-enabled .next-promise {grid-column:2;grid-row:2;font-size:18px;line-height:1.3;margin:0}
}
