/* v2.18 course scroll story + course objects (drawn in CSS, no images, no libraries). Motion budget: one object, transform/opacity only. */
.cs-story{position:relative;margin-top:8px}
.cs-stage{display:grid;gap:24px}
.cs-scene{display:flex;justify-content:center;perspective:1200px;padding:8px 0 4px}
.cs-chs{display:grid;gap:16px}
.cs-ch{background:#fff;border:1px solid #E3E7F0;border-radius:18px;padding:22px 22px 18px}
.cs-ch h3{margin:0 0 8px}
.cs-ch p{margin:0}
.cs-ch .cs-k{font:700 14px/1.2 var(--font-d,inherit);color:#B4500F;margin:0 0 6px;letter-spacing:.02em}
.cs-ctl{margin:18px 0 0}
.cs-motion{min-height:44px;padding:10px 18px;border-radius:999px;border:1.5px solid #253679;background:#fff;color:#14204A;font:600 15px/1.2 inherit;cursor:pointer}
.cs-motion[aria-pressed="true"]{background:#F57E20;border-color:#F57E20}
.cs-obj{transform:rotateX(10deg) rotateY(-12deg);transform-style:preserve-3d}
@media (min-width:900px){
 .cs-stage{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}
 .cs-scene{order:2}
 .cs-chs{gap:20px}
 .cs-story.cs-live .cs-stage{position:sticky;top:0;height:100vh;height:100svh;background:var(--cs-bg,#FFF6EA);border-radius:28px;padding:0 40px;overflow:hidden}
 .cs-story.cs-live .cs-chs{position:relative;height:60svh}
 .cs-story.cs-live .cs-ch{position:absolute;left:0;right:0;top:50%;margin-top:-90px;opacity:0;will-change:opacity}
 .cs-story.cs-live .cs-obj{will-change:transform}
}
@media (prefers-reduced-motion:reduce){.cs-obj{transform:none!important}}
.rm-user .cs-obj{transform:none!important}
/* objects: one per course */
.cs-obj{width:min(380px,80vw);border-radius:22px;box-shadow:0 30px 50px -28px rgba(20,32,74,.55),0 0 0 1px rgba(20,32,74,.06);background:#fff;position:relative}
.o-synth{padding:14px;background:linear-gradient(160deg,#fffdf8,#f3e9da);border-bottom:14px solid #F57E20}
.o-synth .o-top{display:flex;gap:10px;height:88px}
.o-synth .o-screen{flex:1.4;background:#14204A;border-radius:10px;padding:10px;display:flex;align-items:flex-end;gap:4px}
.o-synth .o-screen i{flex:1;border-radius:2px;background:linear-gradient(#F57E20,#FEC623)}
.o-synth .o-knobs{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:8px;place-items:center}
.o-synth .o-knobs b{width:28px;height:28px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff 0 18%,transparent 19%),#253679}
.o-synth .o-knobs b:nth-child(2){background-color:#14A38B}.o-synth .o-knobs b:nth-child(3){background-color:#7A5AF8}.o-synth .o-knobs b:nth-child(4){background-color:#F57E20}
.o-synth .o-keys{margin-top:12px;height:70px;border-radius:8px;background:repeating-linear-gradient(90deg,#fff 0 calc(100%/14 - 2px),#cdd3e2 calc(100%/14 - 2px) calc(100%/14))}
.o-laptop{background:transparent;box-shadow:none}
.o-laptop .o-lid{background:#14204A;border-radius:16px 16px 4px 4px;padding:18px 18px 22px;border:8px solid #253679;display:grid;gap:9px}
.o-laptop .o-lid i{display:block;height:9px;border-radius:5px;background:#FEC623;width:var(--w,60%)}
.o-laptop .o-lid i:nth-child(2n){background:#4DBAE5}.o-laptop .o-lid i:nth-child(3n){background:#F57E20}
.o-laptop .o-base{height:18px;margin:0 -18px;background:linear-gradient(#dfe4ee,#b9c1d3);border-radius:0 0 18px 18px;box-shadow:0 26px 40px -24px rgba(20,32,74,.6)}
.o-pad{padding:16px;display:grid;grid-template-columns:1fr 64px;gap:12px;background:#fff;border-bottom:14px solid #7A5AF8}
.o-pad .o-canvas{aspect-ratio:4/3;border-radius:12px;background:#FFF6EA;position:relative;overflow:hidden}
.o-pad .o-canvas span{position:absolute;border-radius:50%}
.o-pad .o-canvas .s1{width:46%;aspect-ratio:1;left:10%;top:18%;background:#F57E20}
.o-pad .o-canvas .s2{width:34%;aspect-ratio:1;right:12%;top:30%;background:#4DBAE5;border-radius:12px;transform:rotate(14deg)}
.o-pad .o-canvas .s3{width:70%;height:10%;left:15%;bottom:12%;background:#253679;border-radius:6px}
.o-pad .o-sw{display:grid;gap:8px}.o-pad .o-sw b{border-radius:8px;background:#F57E20}.o-pad .o-sw b:nth-child(2){background:#FEC623}.o-pad .o-sw b:nth-child(3){background:#14A38B}.o-pad .o-sw b:nth-child(4){background:#7A5AF8}.o-pad .o-sw b:nth-child(5){background:#253679}
.o-tiles{padding:16px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;background:linear-gradient(150deg,#fffdf8,#f3e9da);border-bottom:14px solid #F57E20}
.o-tiles b{aspect-ratio:1;border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:center;font:800 36px/1 var(--font-d,inherit);color:#14204A;box-shadow:inset 0 -6px 0 var(--t,#F57E20)}
.o-tiles b:nth-child(2){--t:#253679}.o-tiles b:nth-child(3){--t:#14A38B}.o-tiles b:nth-child(4){--t:#7A5AF8}.o-tiles b:nth-child(5){--t:#FEC623}.o-tiles b:nth-child(6){--t:#4DBAE5}
.o-board{padding:16px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;background:#fff;border-bottom:14px solid #253679}
.o-board i{display:block;aspect-ratio:1;border-radius:6px;background:#FEC623;transform:rotate(-3deg)}
.o-board i:nth-child(2){background:#FFD7B3;transform:rotate(2deg)}.o-board i:nth-child(3){background:#CFE9F6}.o-board i:nth-child(4){background:#D9F2EC;transform:rotate(3deg)}.o-board i:nth-child(5){background:#FFE9A8}.o-board i:nth-child(6){background:#E6DEFF;transform:rotate(-2deg)}
/* new course pages */
.nc-pill{display:inline-block;margin:0 0 14px;padding:6px 14px;border-radius:999px;background:#FFF1E6;color:#7A3306;font-weight:700;font-size:14px}
.nc-facts{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:22px 0 0}
.nc-facts li{background:#fff;border:1px solid #E3E7F0;border-radius:12px;padding:10px 14px;font-size:15px}
.nc-facts b{display:block;font-size:14px;color:#B4500F}
.nc-credit{margin-top:28px;padding:18px 20px;border-left:6px solid #F57E20;background:#fff;border-radius:6px 14px 14px 6px;max-width:760px}
.nc-credit p{margin:0}
.cs-scene.has-3d .cs-obj{display:none}.cs-spline{border:0;width:min(520px,100%);aspect-ratio:1;background:transparent}
/* stage sits below the sticky site header (65px at desktop) */
@media (min-width:900px){.cs-story.cs-live .cs-stage{top:65px;height:calc(100vh - 65px);height:calc(100svh - 65px)}}
/* v2.18.3 no scroll-jack (Rowan 18:00): overrides the old pinned stage. Normal flow; the object column is a small sticky beside the chapters. */
@media (min-width:900px){
 .cs-story.cs-live .cs-stage{position:relative;top:auto;height:auto;overflow:visible;align-items:start;background:#FFF6EA;border-radius:28px;padding:40px}
 .cs-story.cs-live .cs-scene{position:sticky;top:120px;align-self:start}
 .cs-story.cs-live .cs-chs{position:relative;height:auto;gap:20px}
 .cs-story.cs-live .cs-ch{position:relative;left:auto;right:auto;top:auto;margin-top:0;opacity:1!important;transform:none!important;will-change:auto;transition:border-color .25s ease,box-shadow .25s ease}
 .cs-story.cs-live .cs-ch.on{border-color:#F57E20;box-shadow:0 14px 30px -20px rgba(20,32,74,.45)}
 .cs-story.cs-live .cs-obj{transition:transform .5s cubic-bezier(.22,.9,.24,1)}
}
@media (prefers-reduced-motion:reduce){.cs-story .cs-obj,.cs-story .cs-ch{transition:none!important}}
.rm-user .cs-story .cs-obj,.rm-user .cs-story .cs-ch{transition:none!important}