/* Six lessons, one continuous scroll. Native scrolling drives the scene layers. */
.levels-section.course-story {
  --story-ink: #1e0b0d;
  --story-cream: #f6f4f0;
  --story-rose: #dea6ab;
  max-width: none;
  padding: 100px 0 0;
  overflow: visible;
  background: var(--story-ink);
  isolation: isolate;
}
.course-story::before {
  width: min(74vw, 850px);
  height: min(74vw, 850px);
  right: 0;
  top: 0;
  box-shadow: none;
  pointer-events: none;
  z-index: -1;
}
.course-story > .section-kicker,
.course-story > .section-head {
  width: min(1262px, calc(100% - 110px));
  margin-left: auto;
  margin-right: auto;
}
.course-story > .section-head { margin-bottom: 36px; }
.course-story .section-head h2 { font-size: clamp(48px, 5.3vw, 78px); }
.course-story .section-head > p { max-width: 320px; }
.course-track { position: relative; height: 460svh; }
.course-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  max-height: 960px;
  padding: 25px max(40px, calc((100vw - 1340px) / 2));
  display: grid;
  grid-template-rows: 48px minmax(0, 1fr) 30px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 79% 49%, #521d2355 0, #260e121c 46%, transparent 70%), var(--story-ink);
}
.course-sticky::before {
  content: '';
  position: absolute;
  inset: 72px 3% 46px 42%;
  pointer-events: none;
  z-index: -1;
  background: repeating-linear-gradient(0deg, transparent 0 69px, #dea6ab08 69px 70px), repeating-linear-gradient(90deg, transparent 0 69px, #dea6ab08 69px 70px);
  mask-image: radial-gradient(ellipse, #000, transparent 72%);
}
.course-hud {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid #dea6ab36;
  border-bottom: 1px solid #dea6ab26;
  position: relative;
  z-index: 10;
}
.course-hud-label { font-size: 9px; font-weight: 700; letter-spacing: .13em; color: #e9e2d9; white-space: nowrap; }
.course-hud-label b { font: 800 24px/1 var(--display); letter-spacing: -.05em; margin-right: 10px; vertical-align: -2px; }
.course-counter { color: var(--story-rose); font: 800 25px/1 var(--display); margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.course-counter i { font: 400 10px/1 var(--body); color: #c9bcae; margin-left: 5px; }
.course-progress { display: flex; align-items: center; gap: 5px; width: 170px; }
.course-progress i { flex: 1; height: 3px; background: #dea6ab28; transition: background .22s ease, transform .22s ease; transform-origin: center; }
.course-progress i.is-past { background: #a44f58; }
.course-progress i.is-current { background: var(--story-rose); transform: scaleY(1.8); }
.course-scroll-cue { font-size: 8px; color: #c9bcae; letter-spacing: .11em; white-space: nowrap; }
.course-scroll-cue span { margin-left: 9px; font-size: 16px; }
.course-stage { position: relative; min-height: 0; }
.course-scene {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  grid-template-rows: minmax(0, 1fr) auto;
  column-gap: clamp(32px, 5vw, 80px);
  padding: 40px 0 32px;
  opacity: var(--scene-opacity, 0);
  transform: translate3d(0, var(--scene-y, 60px), 0) scale(var(--scene-scale, .98));
  transform-origin: 50% 50%;
  pointer-events: none;
  will-change: transform, opacity;
}
.course-scene.is-current { z-index: 2; }
.course-scene .scene-copy,
.course-scene .scene-task,
.course-scene .scene-number { opacity: var(--copy-opacity, 1); }
.scene-number {
  position: absolute;
  top: -5px;
  left: -8px;
  font: 800 clamp(190px, 24vw, 330px)/.85 var(--display);
  letter-spacing: -.055em;
  color: #dea6ab09;
  user-select: none;
  z-index: -1;
}
.scene-copy { grid-column: 1; grid-row: 1; align-self: center; position: relative; z-index: 2; padding-top: 16px; }
.scene-kicker { margin: 0 0 22px; font-size: 9px; line-height: 1.4; color: var(--story-rose); letter-spacing: .14em; font-weight: 700; text-transform: uppercase; }
.scene-copy h3 { font: 800 clamp(50px, 5.65vw, 82px)/.94 var(--display); text-transform: uppercase; letter-spacing: -.025em; margin: 0 0 24px; max-width: 510px; text-wrap: balance; }
.scene-copy > p:last-child { font-size: 14px; line-height: 1.85; color: #c9bcae; max-width: 400px; margin: 0; }
.course-scene .scene-art {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  min-height: 0;
  height: min(500px, 64svh);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1000px;
  transform: translate3d(0, var(--art-drift, 0px), 0) rotate(var(--art-tilt, 0deg));
  transform-style: preserve-3d;
  color: #251917;
  will-change: transform;
}
.scene-task { grid-column: 1; grid-row: 2; display: flex; align-items: center; gap: 13px; border-top: 1px solid #dea6ab32; padding-top: 19px; margin-top: 24px; min-height: 67px; position: relative; z-index: 2; }
.scene-task > b { background: var(--story-rose); color: #521d23; width: 32px; height: 32px; display: grid; place-items: center; font-size: 14px; font-weight: 400; flex-shrink: 0; border-radius: 50%; }
.scene-task small { display: block; font-size: 7px; letter-spacing: .13em; color: #c9bcae; margin-bottom: 5px; }
.scene-task strong { font-size: 12px; line-height: 1.6; font-weight: 700; display: block; color: var(--story-cream); }
.course-preview-note { align-self: end; margin: 0; font-size: 8px; line-height: 1.6; color: #a89991; text-align: right; }

/* Welcome: a photograph and an overlapping printed manifesto. */
.course-scene .welcome-art { display: block; width: 100%; height: 100%; position: relative; }
.course-scene .welcome-art img { position: absolute; left: 0; top: 1%; width: 68%; height: 88%; object-fit: cover; border-radius: 3px; filter: grayscale(1); transform: rotate(-5deg) translateY(calc(var(--art-drift, 0px) * -.15)); border: 7px solid #e9e2d9; box-shadow: 0 30px 60px #0005; }
.course-scene .welcome-art > div { position: absolute; right: 0; bottom: 0; width: 57%; padding: 29px 28px; background: var(--story-cream); color: #521d23; transform: rotate(4deg) translateY(calc(var(--art-drift, 0px) * .3)); border-radius: 2px; box-shadow: 0 25px 45px #0006; }
.course-scene .welcome-art small { font-size: 8px; line-height: 1.6; letter-spacing: .11em; margin-bottom: 20px; }
.course-scene .welcome-art b { font-size: clamp(42px, 4.1vw, 60px); line-height: .94; }
.course-scene .welcome-art b > span { color: #a44f58; }
.course-scene .welcome-art p { font-size: 11px; line-height: 1.8; color: #766c68; margin: 18px 0 0; }

/* The three territories are oversized physical cards at different depths. */
.course-scene .lesson-niche-cards { width: 100%; display: flex; gap: 0; padding: 0; align-items: center; justify-content: center; }
.course-scene .lesson-niche-cards > div { width: 36%; flex: 0 0 36%; height: 320px; padding: 24px 20px; border-radius: 4px; border: 1px solid #dea6ab66; color: #521d23; background: #e9e2d9; box-shadow: 12px 30px 40px #0005; transform: translateY(calc(var(--art-drift, 0px) * -.5)) rotate(-10deg); }
.course-scene .lesson-niche-cards > div:nth-child(2) { background: #521d23; color: #f6f4f0; transform: translateY(calc(-28px + var(--art-drift, 0px) * .3)) rotate(1deg); z-index: 2; margin: 0 -5%; }
.course-scene .lesson-niche-cards > div:nth-child(3) { background: #dea6ab; transform: translateY(calc(15px + var(--art-drift, 0px) * .6)) rotate(10deg); }
.course-scene .lesson-niche-cards small { font-size: 8px; line-height: 1.5; letter-spacing: .13em; }
.course-scene .lesson-niche-cards span { font-size: 71px; line-height: 1; }
.course-scene .lesson-niche-cards b { font-size: clamp(29px, 3.15vw, 46px); line-height: .99; }

/* A profile taking shape, with the identity lifted out of the editor. */
.course-scene .profile-builder { width: min(100%, 520px); position: relative; background: #f6f4f0; padding: 48px 37px 35px; display: block; border: 1px solid #e9e2d9; border-radius: 7px; box-shadow: 17px 22px 0 #521d23, 0 30px 55px #0005; transform: rotate(3deg); }
.course-scene .profile-builder::before { content: 'DEIN ACCOUNT · DEINE IDENTITÄT'; font-size: 8px; letter-spacing: .16em; color: #766c68; position: absolute; left: 37px; top: 23px; }
.course-scene .builder-avatar { width: 91px; height: 91px; border-radius: 50%; position: absolute; top: -26px; right: 25px; font-size: 42px; background: #521d23; color: #f6f4f0; outline: 8px solid #dea6ab; box-shadow: 0 17px 25px #25191725; transform: rotate(-10deg) translateY(calc(var(--art-drift, 0px) * -.4)); }
.course-scene .builder-fields label { font-size: 9px; letter-spacing: .1em; margin: 15px 0 8px; }
.course-scene .builder-fields strong { font-size: 22px; line-height: 1.35; padding: 0 0 17px; margin: 0 0 15px; color: #521d23; }
.course-scene .builder-fields p { font-size: 14px; line-height: 1.9; color: #4a403c; }

/* Inspiration board: staggered full size editorial prints. */
.course-scene .winner-board { width: 100%; display: flex; align-items: center; justify-content: center; gap: 0; }
.course-scene .winner-mini { flex: 0 0 36%; width: 36%; height: 330px; padding: 24px 19px; border-radius: 3px; border: 1px solid #a44f58; background: #521d23; color: #f6f4f0; box-shadow: 13px 25px 35px #0005; transform: rotate(-10deg) translateY(calc(var(--art-drift, 0px) * -.5)); }
.course-scene .winner-mini:nth-child(2) { margin: 0 -5%; background: #f6f4f0; color: #251917; transform: rotate(2deg) translateY(calc(-26px + var(--art-drift, 0px) * .2)); z-index: 2; }
.course-scene .winner-mini:nth-child(3) { background: #dea6ab; color: #521d23; transform: rotate(11deg) translateY(calc(17px + var(--art-drift, 0px) * .6)); }
.course-scene .winner-mini small { font-size: 8px; letter-spacing: .045em; line-height: 1.4; }
.course-scene .winner-mini strong { font-size: clamp(33px, 3.35vw, 49px); line-height: .96; }
.course-scene .winner-mini > span { font-size: 9px; line-height: 1.5; padding-top: 12px; }

/* First post: the poster takes centre stage, its checklist floats above it. */
.course-scene .first-post { position: relative; width: 100%; height: 100%; display: block; }
.course-scene .first-post-card { position: absolute; left: 5%; top: 1%; width: 62%; height: 92%; padding: 30px; background: #f6f4f0; color: #521d23; border-radius: 3px; box-shadow: 11px 12px 0 #a44f58, 0 30px 60px #0005; transform: rotate(-7deg); }
.course-scene .first-post-card small { font-size: 9px; letter-spacing: .12em; }
.course-scene .first-post-card b { font-size: clamp(56px, 5.4vw, 78px); line-height: .91; white-space: nowrap; }
.course-scene .first-post-card > span { font-size: 8px; letter-spacing: .07em; }
.course-scene .post-checklist { position: absolute; right: -2%; bottom: 2%; width: 52%; gap: 16px; font-size: 11px; padding: 25px 20px; background: #dea6ab; color: #521d23; border: 1px solid #f6f4f04d; box-shadow: 0 20px 35px #0005; border-radius: 3px; transform: rotate(6deg) translateY(calc(var(--art-drift, 0px) * -.4)); }
.course-scene .post-checklist span { line-height: 1.5; }
.course-scene .post-checklist span::before { color: #521d23; margin-right: 7px; }

/* A real paper checklist, sized to be read. */
.course-scene .playbook-checklist { width: min(94%, 530px); position: relative; background: #f6f4f0; border-color: #e9e2d9; border-radius: 3px; padding: 35px; box-shadow: 10px 12px 0 #c57881, 20px 24px 0 #521d23, 0 35px 55px #0004; transform: rotate(-5deg); }
.course-scene .playbook-checklist > small { font-size: 8px; line-height: 1.6; letter-spacing: .13em; color: #766c68; }
.course-scene .playbook-checklist h4 { font-size: clamp(42px, 4vw, 58px); line-height: .95; color: #521d23; margin: 23px 0 29px; max-width: 290px; }
.course-scene .playbook-checklist > div { font-size: 13px; line-height: 1.5; padding: 15px 0; gap: 10px; }
.course-scene .playbook-checklist > div > b { white-space: nowrap; color: #a44f58; font-size: 11px; }

@media (min-width: 761px) {
  .course-scene .lesson-niche-cards > div:nth-child(3),
  .course-scene .winner-mini:nth-child(3) { text-align: right; align-items: flex-end; }
}

@media (max-width: 1050px) and (min-width: 761px) {
  .course-sticky { padding-left: 32px; padding-right: 32px; }
  .course-scene { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 25px; }
  .scene-copy h3 { font-size: 60px; }
  .scene-copy > p:last-child { font-size: 13px; }
  .course-scene .scene-art { height: min(410px, 60svh); }
  .course-scene .welcome-art > div { padding: 22px; width: 64%; }
  .course-scene .welcome-art b { font-size: 40px; }
  .course-scene .lesson-niche-cards > div, .course-scene .winner-mini { height: 270px; padding: 20px 13px; }
  .course-scene .lesson-niche-cards b { font-size: 28px; }
  .course-scene .winner-mini strong { font-size: 33px; }
  .course-scene .first-post-card { width: 68%; padding: 25px 22px; }
  .course-scene .first-post-card b { font-size: 57px; }
  .course-scene .post-checklist { width: 58%; padding: 19px 14px; font-size: 10px; }
  .course-scene .profile-builder { padding: 48px 25px 28px; }
  .course-scene .profile-builder::before { left: 25px; font-size: 6px; }
  .course-scene .builder-avatar { width: 70px; height: 70px; font-size: 34px; }
  .course-scene .builder-fields strong { font-size: 19px; }
  .course-scene .builder-fields p { font-size: 12px; }
}

@media (max-width: 760px) {
  .levels-section.course-story { padding-top: 66px; }
  .course-story > .section-kicker, .course-story > .section-head { width: calc(100% - 46px); }
  .course-story > .section-kicker { margin-bottom: 30px; }
  .course-story > .section-head { margin-bottom: 25px; }
  .course-story .section-head h2 { font-size: clamp(44px, 12.2vw, 65px); }
  .course-story .section-head > p { max-width: 320px; font-size: 13px; line-height: 1.8; }
  .course-track { height: 460svh; }
  .course-sticky { max-height: none; height: 100svh; padding: 13px 23px 12px; grid-template-rows: 43px minmax(0, 1fr) 28px; }
  .course-sticky::before { inset: 17% -10% 4%; }
  .course-hud { gap: 12px; }
  .course-hud-label { font-size: 7px; letter-spacing: .09em; }
  .course-hud-label b { font-size: 22px; margin-right: 5px; }
  .course-counter { font-size: 25px; }
  .course-counter i { font-size: 8px; margin-left: 3px; }
  .course-progress { gap: 4px; width: 93px; }
  .course-progress i { height: 2px; }
  .course-scroll-cue { display: none; }
  .course-scene { padding: 27px 0 13px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; gap: 13px; }
  .scene-number { top: 7px; left: auto; right: -1px; font-size: 180px; color: #dea6ab0b; }
  .scene-copy { grid-column: 1; grid-row: 1; align-self: start; padding: 0; }
  .scene-kicker { font-size: 8px; letter-spacing: .13em; margin-bottom: 12px; }
  .scene-copy h3 { font-size: clamp(42px, 12vw, 64px); line-height: .95; max-width: 420px; margin: 0 0 12px; text-wrap: balance; }
  .scene-copy > p:last-child { font-size: 12px; line-height: 1.75; max-width: 390px; }
  .course-scene .scene-art { grid-column: 1; grid-row: 2; align-self: stretch; height: auto; min-height: 0; margin: 0 auto; max-width: 430px; }
  .scene-task { grid-column: 1; grid-row: 3; gap: 10px; padding-top: 13px; min-height: 51px; margin-top: 0; }
  .scene-task > b { width: 26px; height: 26px; font-size: 12px; }
  .scene-task small { font-size: 6px; margin-bottom: 4px; letter-spacing: .11em; }
  .scene-task strong { font-size: 10px; line-height: 1.5; max-width: 300px; }
  .course-preview-note { font-size: 7px; line-height: 1.5; text-align: left; max-width: none; padding-right: 90px; align-self: center; }
  .course-scene .welcome-art { max-height: 390px; margin: auto; }
  .course-scene .welcome-art img { top: 4%; left: 1%; width: 65%; height: 83%; border-width: 5px; }
  .course-scene .welcome-art > div { right: -1%; bottom: 4%; width: 62%; padding: 20px 18px; }
  .course-scene .welcome-art small { font-size: 6px; line-height: 1.5; margin-bottom: 13px; }
  .course-scene .welcome-art b { font-size: clamp(34px, 9vw, 47px); }
  .course-scene .welcome-art p { font-size: 9px; margin-top: 13px; line-height: 1.7; }
  .course-scene .lesson-niche-cards { height: 100%; max-height: 340px; }
  .course-scene .lesson-niche-cards > div { width: 38%; flex-basis: 38%; height: 75%; max-height: 280px; min-height: 193px; padding: 17px 13px; border-radius: 3px; }
  .course-scene .lesson-niche-cards > div:nth-child(2) { margin: 0 -7%; transform: translateY(calc(-17px + var(--art-drift, 0px) * .3)) rotate(1deg); }
  .course-scene .lesson-niche-cards > div:nth-child(3) { transform: translateY(calc(9px + var(--art-drift, 0px) * .6)) rotate(10deg); }
  .course-scene .lesson-niche-cards small { font-size: 6px; letter-spacing: .05em; }
  .course-scene .lesson-niche-cards span { font-size: 48px; }
  .course-scene .lesson-niche-cards b { font-size: clamp(24px, 6.6vw, 32px); line-height: 1; }
  .course-scene .profile-builder { width: 93%; padding: 41px 22px 20px; box-shadow: 10px 13px 0 #521d23, 0 25px 40px #0005; transform: rotate(3deg); }
  .course-scene .profile-builder::before { left: 22px; top: 20px; font-size: 6px; letter-spacing: .09em; }
  .course-scene .builder-avatar { width: 69px; height: 69px; right: 15px; top: -21px; font-size: 32px; outline-width: 6px; }
  .course-scene .builder-fields label { font-size: 7px; margin: 8px 0 6px; }
  .course-scene .builder-fields strong { font-size: 18px; padding-bottom: 10px; margin-bottom: 11px; }
  .course-scene .builder-fields p { font-size: 11px; line-height: 1.8; }
  .course-scene .winner-board { height: 100%; max-height: 340px; }
  .course-scene .winner-mini { flex-basis: 38%; width: 38%; height: 76%; min-height: 200px; max-height: 275px; padding: 16px 12px; }
  .course-scene .winner-mini:nth-child(2) { margin: 0 -7%; transform: rotate(2deg) translateY(calc(-18px + var(--art-drift, 0px) * .2)); }
  .course-scene .winner-mini:nth-child(3) { transform: rotate(11deg) translateY(calc(11px + var(--art-drift, 0px) * .6)); }
  .course-scene .winner-mini small { font-size: 6px; letter-spacing: .01em; }
  .course-scene .winner-mini strong { font-size: clamp(28px, 7.6vw, 38px); }
  .course-scene .winner-mini > span { font-size: 7px; line-height: 1.4; padding-top: 9px; }
  .course-scene .first-post { max-height: 380px; margin: auto; }
  .course-scene .first-post-card { left: 3%; top: 4%; width: 63%; height: 88%; padding: 22px 20px; box-shadow: 7px 8px 0 #a44f58, 0 20px 40px #0005; }
  .course-scene .first-post-card small { font-size: 6px; letter-spacing: .07em; }
  .course-scene .first-post-card b { font-size: clamp(44px, 12.2vw, 63px); line-height: .92; }
  .course-scene .first-post-card > span { font-size: 6px; letter-spacing: .02em; }
  .course-scene .post-checklist { right: -1%; bottom: 7%; width: 52%; gap: 11px; font-size: 9px; padding: 19px 14px; }
  .course-scene .post-checklist span::before { margin-right: 4px; }
  .course-scene .playbook-checklist { width: 91%; padding: 25px 23px 20px; box-shadow: 7px 8px 0 #c57881, 14px 16px 0 #521d23, 0 25px 45px #0004; }
  .course-scene .playbook-checklist > small { font-size: 6px; letter-spacing: .085em; }
  .course-scene .playbook-checklist h4 { font-size: 39px; margin: 17px 0 18px; max-width: 220px; }
  .course-scene .playbook-checklist > div { font-size: 10px; padding: 11px 0; }
  .course-scene .playbook-checklist > div > b { font-size: 8px; }
}

/* Short phones keep the visual large enough without allowing artwork to cover copy. */
@media (max-width: 760px) and (max-height: 740px) {
  .course-sticky { padding-top: 8px; padding-bottom: 8px; grid-template-rows: 38px minmax(0, 1fr) 24px; }
  .course-scene { padding-top: 19px; padding-bottom: 10px; gap: 9px; }
  .scene-copy h3 { font-size: clamp(38px, 10.7vw, 51px); margin-bottom: 9px; }
  .scene-kicker { margin-bottom: 8px; font-size: 7px; }
  .scene-copy > p:last-child { font-size: 11px; line-height: 1.65; }
  .scene-task { min-height: 44px; padding-top: 9px; }
  .scene-task strong { font-size: 9px; }
  .course-scene .welcome-art > div { padding: 14px; bottom: 3%; }
  .course-scene .welcome-art b { font-size: 32px; }
  .course-scene .welcome-art small { margin-bottom: 8px; font-size: 5px; }
  .course-scene .welcome-art p { margin-top: 10px; font-size: 8px; }
  .course-scene .lesson-niche-cards > div { min-height: 170px; padding: 14px 12px; }
  .course-scene .lesson-niche-cards span { font-size: 37px; }
  .course-scene .lesson-niche-cards b { font-size: 24px; }
  .course-scene .winner-mini { min-height: 174px; padding: 13px 10px; }
  .course-scene .winner-mini strong { font-size: 26px; }
  .course-scene .winner-mini > span { font-size: 6px; }
  .course-scene .profile-builder { padding: 34px 20px 16px; }
  .course-scene .profile-builder::before { top: 15px; left: 20px; }
  .course-scene .builder-avatar { width: 55px; height: 55px; font-size: 28px; top: -16px; }
  .course-scene .builder-fields label { font-size: 6px; margin: 4px 0; }
  .course-scene .builder-fields strong { font-size: 16px; margin-bottom: 7px; padding-bottom: 7px; }
  .course-scene .builder-fields p { font-size: 10px; line-height: 1.6; }
  .course-scene .first-post-card { padding: 16px; }
  .course-scene .first-post-card b { font-size: 37px; }
  .course-scene .post-checklist { padding: 13px 11px; gap: 9px; font-size: 8px; }
  .course-scene .playbook-checklist { padding: 18px 20px 14px; }
  .course-scene .playbook-checklist h4 { font-size: 34px; margin: 11px 0 12px; }
  .course-scene .playbook-checklist > div { padding: 8px 0; font-size: 9px; }
}

/* Reduced motion and shallow landscape: every scene remains in the reading flow. */
.course-story.is-static .course-track { height: auto; }
.course-story.is-static .course-sticky { position: relative; top: auto; height: auto; max-height: none; display: block; overflow: hidden; }
.course-story.is-static .course-stage { display: flex; flex-direction: column; }
.course-story.is-static .course-scene { position: relative; inset: auto; opacity: 1; transform: none; min-height: 650px; will-change: auto; border-bottom: 1px solid #dea6ab26; }
.course-story.is-static .scene-art { transform: none; height: 450px; will-change: auto; }
.course-story.is-static .course-counter, .course-story.is-static .course-progress, .course-story.is-static .course-scroll-cue { display: none; }
.course-story.is-static .course-hud { min-height: 48px; }
.course-story.is-static .course-preview-note { padding: 24px 0 10px; }
@media (max-width: 760px) {
  .course-story.is-static .course-scene { min-height: 710px; padding: 37px 0 28px; grid-template-rows: auto 340px auto; gap: 20px; }
  .course-story.is-static .scene-art { height: 340px; }
  .course-story.is-static .scene-copy h3 { font-size: 46px; }
}

/* On a phone the fan opens vertically: every title keeps its own clear space. */
@media (max-width: 760px) {
  .course-scene .lesson-niche-cards,
  .course-scene .winner-board { display: block; position: relative; height: 92%; max-height: 390px; width: 100%; }
  .course-scene .lesson-niche-cards > div,
  .course-scene .winner-mini {
    position: absolute;
    left: 1%;
    top: 1%;
    width: 88%;
    height: 29%;
    min-height: 0;
    max-height: none;
    margin: 0;
    padding: 14px 18px;
    transform: rotate(-4deg) translateY(calc(var(--art-drift, 0px) * -.15));
    box-shadow: 8px 14px 22px #0004;
  }
  .course-scene .lesson-niche-cards > div:nth-child(2),
  .course-scene .winner-mini:nth-child(2) { left: 6%; top: 35%; margin: 0; transform: rotate(3deg) translateY(calc(var(--art-drift, 0px) * .08)); }
  .course-scene .lesson-niche-cards > div:nth-child(3),
  .course-scene .winner-mini:nth-child(3) { left: 10%; top: 69%; transform: rotate(-3deg) translateY(calc(var(--art-drift, 0px) * .15)); }
  .course-scene .lesson-niche-cards > div { display: grid; grid-template-columns: 53px 1fr; grid-template-rows: auto 1fr; gap: 4px 14px; align-items: center; }
  .course-scene .lesson-niche-cards small { grid-column: 1; grid-row: 1; font-size: 5px; letter-spacing: .01em; white-space: nowrap; }
  .course-scene .lesson-niche-cards span { grid-column: 1; grid-row: 2; font-size: 43px; }
  .course-scene .lesson-niche-cards b { grid-column: 2; grid-row: 1 / 3; font-size: 31px; line-height: .98; }
  .course-scene .winner-mini { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
  .course-scene .winner-mini small { position: absolute; right: 16px; top: 13px; width: 34%; font-size: 6px; line-height: 1.4; }
  .course-scene .winner-mini strong { font-size: 29px; line-height: .91; max-width: 62%; }
  .course-scene .winner-mini > span { width: 35%; align-self: end; font-size: 8px; line-height: 1.5; padding-top: 8px; margin-bottom: 2px; }
}
@media (max-width: 760px) and (max-height: 740px) {
  .course-scene .lesson-niche-cards,
  .course-scene .winner-board { height: 96%; max-height: none; }
  .course-scene .lesson-niche-cards > div,
  .course-scene .winner-mini { padding: 8px 15px; }
  .course-scene .lesson-niche-cards > div { grid-template-columns: 42px 1fr; gap: 2px 13px; }
  .course-scene .lesson-niche-cards span { font-size: 30px; }
  .course-scene .lesson-niche-cards b { font-size: 25px; }
  .course-scene .lesson-niche-cards small { font-size: 4px; }
  .course-scene .winner-mini strong { font-size: 23px; }
  .course-scene .winner-mini small { top: 9px; right: 14px; font-size: 5px; }
  .course-scene .winner-mini > span { font-size: 7px; padding-top: 6px; }
}
