/* Cinematic, single-image presentation surface for the electronic board. */
.presenter-mode { background: #091d1b; }
.presenter-shell { position: relative; width: 100%; height: 100dvh; min-height: 0; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.presenter-head { position: absolute; z-index: 20; inset: 0 0 auto; height: 76px; padding: 0 clamp(20px, 3.6vw, 66px); color: #fff9e9; background: linear-gradient(180deg, rgba(4, 23, 23, .88), rgba(4, 23, 23, .28) 82%, transparent); border: 0; }
.mini-brand, .presenter-context, .presenter-context b { color: #fff9e9; }
.mini-brand { font-size: 13px; letter-spacing: .02em; }
.presenter-context { gap: 13px; }
.presenter-context span { color: #d4ded1; border-left-color: rgba(255,255,255,.35); }
.presenter-tools button { border: 1px solid rgba(255,255,255,.38); background: rgba(8, 36, 33, .36); color: #fffdf2; backdrop-filter: blur(14px); border-radius: 999px; padding: 9px 13px; transition: background .25s, transform .25s; }
.presenter-tools button:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.slide-canvas { display: block; flex: 1; min-height: 0; position: relative; overflow: hidden; background: #183832; }
.slide-image { position: absolute; inset: 0; height: 100%; min-height: 0; overflow: hidden; }
.slide-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; animation: cinematic-pan 23s ease-in-out both; }
.slide-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.slide-image::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(4,22,22,.91) 0%, rgba(4,25,25,.70) 38%, rgba(7,29,28,.27) 75%, rgba(9,29,27,.24) 100%), linear-gradient(0deg, rgba(4,21,20,.85) 0%, transparent 31%, transparent 70%, rgba(3,20,20,.28) 100%); pointer-events: none; }
.slide-canvas::after { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; box-shadow: inset 0 0 130px rgba(4,18,18,.20); }
.slide-content { position: absolute; z-index: 3; inset: 0; height: 100%; min-height: 0; padding: clamp(99px, 13vh, 130px) clamp(36px, 6.4vw, 128px) clamp(106px, 13vh, 140px); background: transparent; color: #fffaf0; display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.4) transparent; }
.slide-content::before { display: none; }
.slide-kicker { color: #f9c279; font-size: clamp(12px,1.1vw,16px); font-weight: 800; letter-spacing: .22em; text-shadow: 0 2px 15px #081915; }
.slide-kicker i { width: 36px; height: 2px; background: #efba72; }
.slide-main { margin: auto 0; max-width: min(900px,100%); min-width: 0; }
.slide-number { color: #d7ded2; font-family: 'Noto Sans KR',sans-serif; font-size: clamp(13px,1.2vw,17px); font-weight: 700; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.slide-number i { font-style: normal; color: #f4c583; opacity: .75; }
.slide-main h1 { color: #fffaf0; font-family: 'Noto Serif KR',serif; font-size: clamp(42px,5vw,88px); font-weight: 800; line-height: 1.18; letter-spacing: -.075em; margin: 10px 0 clamp(16px,3vh,30px); text-shadow: 0 4px 32px rgba(0,10,10,.35); animation: none; }
.kinetic-word { display: inline-block; white-space: nowrap; transform-origin: bottom left; }
.animate .kinetic-word { animation: word-rise .95s cubic-bezier(.18,.8,.19,1) both; animation-delay: calc(.11s + var(--word-index) * .13s); }
.slide-question { max-width: 820px; color: #f2f0e4; font-size: clamp(21px,2vw,31px); line-height: 1.52; font-weight: 500; text-shadow: 0 2px 16px rgba(0,13,12,.5); margin-bottom: 0; animation: none; }
.animate .slide-kicker { animation: label-enter .7s both; }
.animate .slide-number { animation: number-enter .7s .16s both; }
.animate .slide-main h1 { animation: none; }
.animate .slide-question { animation: question-enter .9s .52s both; }
.slide-bottom { border: 0; color: #e0e9db; font-weight: 600; font-size: 12px; padding: 0; margin-top: auto; text-shadow: 0 2px 12px #041513; }
.slide-bottom span:last-child { color: #f3c786; }
.image-credit { z-index: 5; left: auto; right: clamp(20px,3.3vw,54px); bottom: 100px; background: rgba(3,24,23,.69); border: 1px solid rgba(255,255,255,.15); color: #f7eee0; backdrop-filter: blur(12px); border-radius: 8px; padding: 7px 10px; font-size: 10px; }
.answer { display: none; max-width: 850px; margin-top: 22px; padding: clamp(17px,2.2vw,27px) clamp(20px,2.7vw,34px); border: 1px solid rgba(255,255,255,.32); border-left: 4px solid #f5c37d; background: rgba(7,42,37,.77); color: #fff9e8; border-radius: 3px 18px 18px 3px; box-shadow: 0 20px 60px rgba(0,15,15,.19); backdrop-filter: blur(20px); }
.answer.visible { display: block; animation: answer-reveal .65s cubic-bezier(.2,.8,.2,1) both; }
.answer b { color: #f5c37d; font-size: 12px; letter-spacing: .13em; }
.answer p { color: #fffdf2; font-size: clamp(17px,1.48vw,24px); line-height: 1.6; margin: 7px 0 0; }
.presenter-foot { position: absolute; z-index: 20; inset: auto 0 0; height: 84px; padding: 0 clamp(20px,3.6vw,66px); background: linear-gradient(0deg, rgba(4,23,22,.96), rgba(4,23,22,.72) 70%, transparent); border: 0; }
.foot-left { color: #ecede0; }
.progress { height: 4px; background: rgba(255,255,255,.34); }
.progress span { background: #f4c37c; }
.foot-controls button { border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.10); backdrop-filter: blur(10px); border-radius: 999px; padding: 12px 23px; }
.foot-controls .next { color: #153c31; background: #f3c27b; border-color: #f3c27b; min-width: 186px; box-shadow: 0 6px 22px rgba(4,25,21,.22); }
.foot-controls .next:hover { background: #ffe0ab; }
.quiz-choices { gap: 10px; margin-top: clamp(18px,2.8vh,27px); max-width: 880px; }
.quiz-choice { min-height: 63px; color: #fff8ea; background: rgba(9,42,39,.72); border: 1px solid rgba(255,255,255,.34); backdrop-filter: blur(16px); border-radius: 13px; padding: 13px 17px; font-size: clamp(15px,1.2vw,19px); font-weight: 700; box-shadow: 0 5px 20px rgba(0,0,0,.08); transition: transform .22s, background .22s, border-color .22s; }
.quiz-choice:hover:not(:disabled), .quiz-choice.picked { transform: translateY(-3px); background: rgba(33,81,63,.9); border-color: #f1c67d; }
.quiz-choice.correct { background: rgba(29,111,69,.94); border-color: #bce6ac; color: #fff; }
.quiz-choice.wrong { background: rgba(122,53,41,.94); border-color: #f4b1a0; color: #fff; }
.choice-index { color: #183e32; background: #f3c47e; width: 31px; height: 31px; }
.picture-options .quiz-choice { padding: 7px; }
.picture-options .quiz-choice img { aspect-ratio: 2.4; max-height: 132px; }
.picture-options .quiz-choice>span:last-child { font-size: clamp(13px,1vw,16px); }
.scene-quiz:has(.picture-options) .slide-main { max-width: 100%; }
.scene-quiz .picture-options { grid-template-columns: repeat(4,minmax(0,1fr)); max-width: 1140px; }
.scene-quiz .picture-options .quiz-choice img { aspect-ratio: 1.9; max-height: 126px; }
.scene-quiz .slide-main h1 { font-size: clamp(38px,4.15vw,66px); margin-bottom: 9px; }
.scene-quiz .slide-question { font-size: clamp(19px,1.5vw,25px); }
.scene-quiz .answer { padding: 14px 20px; }
.scene-quiz .answer p { font-size: clamp(16px,1.23vw,20px); }
.micro-activity { margin-top: 24px; max-width: 770px; }
.micro-label { color: #f4c984; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.micro-options { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 11px; }
.micro-option { display: flex; align-items: center; gap: 10px; text-align: left; color: #fff9ec; font-size: clamp(14px,1.1vw,17px); font-weight: 700; padding: 11px 16px 11px 10px; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; background: rgba(8,47,40,.72); backdrop-filter: blur(14px); transition: transform .2s, background .2s, border-color .2s; }
.micro-option:hover:not(:disabled), .micro-option.chosen { transform: translateY(-2px); border-color: #f4c17b; background: rgba(35,94,69,.9); }
.micro-option.right { background: rgba(31,107,73,.95); border-color: #a9e1b5; }
.micro-option.wrong { background: rgba(128,55,43,.95); border-color: #f1a996; }
.micro-option>span { flex: none; display: grid; place-items: center; width: 25px; height: 25px; color: #244639; background: #f4ca8c; border-radius: 50%; font-size: 12px; }
.micro-explain { margin: 9px 0 0; color: #f7e9cc; font-size: 14px; line-height: 1.45; }
/* Links to real artifacts and sites: small glass pills under the question, readable over the dark image. */
.slide-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(14px,2.2vh,20px); max-width: 880px; }
.animate .slide-links { animation: question-enter .9s .62s both; }
.slide-links a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; color: #fff6e3; font-size: clamp(12px,.95vw,15px); font-weight: 700; line-height: 1.3; border: 1px solid rgba(245,195,125,.55); border-radius: 999px; background: rgba(8,42,37,.74); backdrop-filter: blur(12px); box-shadow: 0 6px 20px rgba(0,12,12,.16); transition: background .2s, border-color .2s, transform .2s; }
.slide-links a:hover { background: rgba(35,94,69,.92); border-color: #f5c37d; transform: translateY(-2px); }
.slide-links a span { color: #f5c37d; }
.qr-inline { display: inline-flex; align-items: center; gap: 24px; margin-top: 25px; border-radius: 999px; color: #153a30; background: #f6c77e; padding: 15px 23px; box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.qr-inline:hover { background: #ffe0a5; }
.skia-card { z-index: 3; left: auto; right: 5%; bottom: 18%; width: min(47%,680px); border: 1px solid rgba(255,255,255,.4); box-shadow: 0 26px 70px rgba(0,0,0,.3); }
.scene-inquiry .slide-main { max-width: min(760px,57%); }
.scene-inquiry .slide-content { padding-bottom: 72px; }
.scene-inquiry .slide-main h1 { font-size: clamp(39px,4.3vw,68px); }
.scene-inquiry .slide-question { font-size: clamp(19px,1.6vw,26px); }
.scene-inquiry.phase-1 .skia-card { top: 19%; bottom: auto; width: min(42%,600px); animation: answer-reveal .65s both; }
.student-mode .student-grid .story-option, .student-mode .class-row, .student-mode .action-choices button { transition: transform .2s, box-shadow .2s, background .2s; }
.student-mode .story-option:hover:not(:disabled), .student-mode .action-choices button:hover, .student-mode .class-row button:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(17,61,43,.12); }
.student-mode .story-option:active, .student-mode .action-choices button:active { transform: scale(.98); }
@keyframes cinematic-pan { from { transform: scale(1.03) translateX(0); } to { transform: scale(1.12) translateX(-1.5%); } }
@keyframes label-enter { from { opacity: 0; letter-spacing: .42em; transform: translateX(-18px); } to { opacity: 1; letter-spacing: .22em; transform: translateX(0); } }
@keyframes number-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes word-rise { from { opacity: 0; transform: translateY(.62em) rotate(-2deg); filter: blur(7px); } to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); } }
@keyframes question-enter { from { opacity: 0; transform: translateY(22px); filter: blur(4px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes answer-reveal { from { opacity: 0; transform: translateY(20px) scale(.98); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: translateY(0) scale(1); clip-path: inset(0 0 0 0); } }
@media (max-width: 1000px) {
 .presenter-shell { min-height: 0; height: 100dvh; overflow: hidden; }
 .presenter-head { min-height: 0; height: 82px; padding: 0 24px; flex-wrap: nowrap; }
 .presenter-tools { width: auto; overflow: visible; }
 .slide-canvas { display: block; grid-template-columns: none; }
 .slide-image { height: 100%; min-height: 0; }
 .slide-content { min-height: 0; padding: 116px 6vw 108px; }
 .slide-main h1 { font-size: clamp(39px,5.5vw,65px); }
 .slide-question { font-size: clamp(19px,2.5vw,26px); }
 .presenter-foot { position: absolute; height: 77px; }
 .scene-inquiry .slide-main { max-width: 60%; }
 .skia-card { right: 3%; width: 42%; bottom: 24%; }
}
@media (max-width: 700px) {
 .presenter-head { height: 104px; padding: 12px 19px; align-content: start; flex-wrap: wrap; row-gap: 7px; }
 .presenter-context { margin-left: auto; }
 .presenter-tools { width: 100%; gap: 5px; justify-content: space-between; }
 .presenter-tools button { font-size: 10px; padding: 7px 8px; }
 .slide-content { padding: 127px 22px 89px; }
 .slide-main h1 { font-size: clamp(37px,8vw,56px); }
 .slide-question { font-size: clamp(18px,4vw,23px); }
 .quiz-choices { grid-template-columns: 1fr 1fr; }
 .quiz-choice { min-height: 49px; padding: 8px; font-size: 13px; }
 .picture-options .quiz-choice img { aspect-ratio: 1.8; max-height: 85px; }
 .scene-quiz .picture-options { grid-template-columns: 1fr 1fr; }
 .micro-options { gap: 6px; }
 .micro-option { font-size: 12px; padding: 7px 10px 7px 6px; }
 .slide-links { gap: 6px; }
 .slide-links a { font-size: 11px; padding: 6px 10px; }
 .answer p { font-size: 17px; }
 .slide-bottom { display: none; }
 .image-credit { right: 15px; bottom: 74px; font-size: 8px; max-width: 52%; }
 .presenter-foot { height: 67px; padding: 8px 14px; }
 .foot-controls { gap: 6px; }
 .foot-controls button { padding: 9px 12px; }
 .foot-controls .next { min-width: 130px; }
 .scene-inquiry .slide-main { max-width: 100%; }
 .scene-inquiry .slide-main h1 { font-size: clamp(35px,7vw,48px); }
 .skia-card { width: 53%; right: 2%; bottom: 11%; opacity: .88; }
}
@media (max-height: 680px) and (min-width: 701px) {
 .slide-content { padding-top: 90px; padding-bottom: 91px; }
 .slide-main h1 { font-size: clamp(38px,4.2vw,62px); margin-bottom: 12px; }
 .slide-question { font-size: clamp(18px,1.55vw,25px); }
 .answer { padding: 14px 19px; margin-top: 13px; }
 .micro-activity { margin-top: 13px; }
 .quiz-choices { margin-top: 13px; }
 .quiz-choice { min-height: 50px; }
 .picture-options .quiz-choice img { max-height: 85px; }
}
@media (prefers-reduced-motion: reduce) {
 .slide-photo, .animate .kinetic-word, .animate .slide-kicker, .animate .slide-number, .animate .slide-question, .animate .slide-links, .answer.visible { animation: none !important; }
}
/* Player scenes (YouTube clips and the local intro video): the player sits on the right while the question stays readable on the left. */
.has-player { container-type: size; }
.has-player .slide-photo { filter: blur(8px) brightness(.5); transform: scale(1.08); animation: none; }
.has-player .slide-main { max-width: min(520px, 32cqw); }
.has-player .slide-main h1 { font-size: clamp(34px, 3.4vw, 58px); }
.has-player .slide-question { font-size: clamp(18px, 1.4vw, 24px); }
.has-player .answer { padding: 14px 20px; }
.has-player .answer p { font-size: clamp(16px, 1.2vw, 20px); }
.yt-figure { position: absolute; z-index: 4; right: 4cqw; top: 50%; transform: translateY(-50%); width: min(54cqw, calc(62cqh * 16 / 9)); margin: 0; }
.yt-frame { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #061b19; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 30px 80px rgba(0,12,12,.45); }
.yt-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.yt-frame video { display: block; width: 100%; height: 100%; background: #061b19; }
.yt-figure figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; color: #dfe7da; font-size: 13px; text-shadow: 0 2px 10px #041513; }
.yt-figure figcaption a { color: #f5c37d; font-weight: 700; white-space: nowrap; }
.yt-figure figcaption button { flex: none; padding: 0; border: 0; background: none; color: #f5c37d; font-size: inherit; font-weight: 700; white-space: nowrap; text-shadow: inherit; }
/* Intro video script inside the teacher note: time on the left, the on-screen sentence on the right. */
.doc-script { margin: 0 0 16px; padding: 0; list-style: none; font-size: 14px; line-height: 1.6; }
.doc-script li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid #ece6d8; }
.doc-script b { color: #9a6b2a; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
 .has-player .slide-main { max-width: 100%; }
 .has-player .slide-content { padding-bottom: calc((100vw - 44px) * 9 / 16 + 120px); }
 .yt-figure { top: auto; bottom: 80px; transform: none; left: 22px; right: 22px; width: auto; }
 .yt-figure figcaption { font-size: 11px; }
}
/* Rich scenes: storybook narration, timeline, cards, activity steps and picture order. */
.slide-narration { max-width: 880px; margin: 0 0 clamp(12px, 2vh, 18px); padding: clamp(12px, 1.6vw, 18px) clamp(16px, 1.9vw, 24px); color: #fffaf0; font-family: 'Noto Serif KR', serif; font-size: clamp(17px, 1.42vw, 24px); line-height: 1.72; background: rgba(6, 32, 29, .66); border-left: 3px solid #f5c37d; border-radius: 3px 14px 14px 3px; backdrop-filter: blur(12px); text-shadow: 0 1px 8px rgba(0, 12, 12, .35); }
.scene-story:has(.slide-narration) .slide-main h1, .scene-history:has(.slide-narration) .slide-main h1 { font-size: clamp(34px, 3.3vw, 56px); margin-bottom: 12px; }
.scene-story:has(.slide-narration) .slide-question, .scene-history:has(.slide-narration) .slide-question { font-size: clamp(18px, 1.45vw, 24px); }
:is(.scene-timeline, .scene-reading, .scene-law, .scene-today, .scene-classwork, .scene-sequence) .slide-main { max-width: min(1180px, 100%); }
.scene-evidence .slide-main { max-width: min(1080px, 100%); }
.scene-evidence .slide-main h1 { font-size: clamp(34px, 3.3vw, 56px); margin-bottom: 10px; }
.scene-evidence .slide-question { font-size: clamp(18px, 1.45vw, 24px); }
.scene-evidence .micro-activity { margin-top: 14px; }
.scene-evidence .answer { margin-top: 14px; padding: 14px 20px; }
.scene-evidence .answer p { font-size: clamp(16px, 1.25vw, 21px); }
:is(.scene-timeline, .scene-reading, .scene-law, .scene-today, .scene-classwork, .scene-sequence) .slide-photo { filter: blur(6px) brightness(.45); transform: scale(1.06); animation: none; }
:is(.scene-timeline, .scene-reading, .scene-law, .scene-today, .scene-classwork, .scene-sequence) .slide-main h1 { font-size: clamp(34px, 3.3vw, 56px); margin-bottom: 10px; }
:is(.scene-timeline, .scene-reading, .scene-law, .scene-today, .scene-classwork, .scene-sequence) .slide-question { font-size: clamp(18px, 1.45vw, 24px); }
:is(.scene-timeline, .scene-reading, .scene-law, .scene-today, .scene-classwork, .scene-sequence) .answer { max-width: 1000px; padding: 14px 20px; }
:is(.scene-timeline, .scene-reading, .scene-law, .scene-today, .scene-classwork, .scene-sequence) .answer p { font-size: clamp(16px, 1.25vw, 21px); }
.slide-timeline { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: clamp(12px, 2vh, 18px) 0 0; padding: 0; }
.slide-timeline li { padding: 12px 14px 14px; background: rgba(8, 42, 37, .8); border: 1px solid rgba(255, 255, 255, .26); border-top: 3px solid #f3c27b; border-radius: 10px; backdrop-filter: blur(14px); }
.slide-timeline b { display: block; margin-bottom: 6px; color: #f5c37d; font-size: clamp(15px, 1.15vw, 19px); font-variant-numeric: tabular-nums; }
.slide-timeline span { color: #fffaf0; font-size: clamp(14px, 1.02vw, 17px); line-height: 1.5; }
.slide-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: clamp(12px, 2vh, 18px); }
.slide-card { padding: 14px 18px; background: rgba(8, 42, 37, .8); border: 1px solid rgba(255, 255, 255, .26); border-radius: 12px; backdrop-filter: blur(14px); }
.slide-card b { display: block; margin-bottom: 6px; color: #f5c37d; font-size: 13px; letter-spacing: .08em; }
.slide-card p { margin: 0; color: #fffaf0; font-size: clamp(16px, 1.25vw, 21px); line-height: 1.55; }
.slide-card small { display: block; margin-top: 8px; color: #d9e3d6; font-size: clamp(13px, 1vw, 16px); line-height: 1.55; }
.scene-reading .slide-card p { font-family: 'Noto Serif KR', serif; letter-spacing: .06em; }
.slide-steps { display: grid; gap: 8px; max-width: 900px; margin: clamp(12px, 2vh, 18px) 0 0; padding: 0; list-style: none; counter-reset: step; }
.slide-steps li { counter-increment: step; display: flex; align-items: center; gap: 10px; padding: 9px 14px; color: #fffaf0; font-size: clamp(15px, 1.15vw, 19px); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; }
.slide-steps li::before { content: counter(step); flex: none; display: grid; place-items: center; width: 26px; height: 26px; color: #183e32; background: #f3c47e; border-radius: 50%; font-size: 13px; font-weight: 800; }
.sequence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1000px; margin-top: clamp(12px, 2vh, 18px); }
.sequence-card { margin: 0; overflow: hidden; background: rgba(8, 42, 37, .82); border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; }
.sequence-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sequence-card figcaption { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: #fffaf0; font-size: clamp(14px, 1.1vw, 18px); line-height: 1.4; }
.sequence-number { flex: none; display: grid; place-items: center; width: 30px; height: 30px; color: #183e32; background: #f3c47e; border-radius: 50%; font-weight: 800; }
.phase-1 .sequence-number { animation: answer-reveal .5s both; }
.rich-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; align-items: start; max-width: 1100px; }
.rich-row .slide-steps { max-width: none; }
@media (max-height: 780px) and (min-width: 701px) {
 :is(.scene-timeline, .scene-reading, .scene-law, .scene-today, .scene-classwork, .scene-sequence, .scene-evidence, .scene-value, .scene-inquiry) .slide-content,
 .scene-story:has(.slide-narration) .slide-content, .scene-history:has(.slide-narration) .slide-content { padding-top: 88px; padding-bottom: 94px; }
 :is(.scene-timeline, .scene-reading, .scene-law, .scene-today, .scene-classwork, .scene-sequence, .scene-evidence, .scene-value, .scene-inquiry) .slide-main h1,
 .scene-story:has(.slide-narration) .slide-main h1, .scene-history:has(.slide-narration) .slide-main h1 { font-size: clamp(30px, 3vw, 46px); margin: 6px 0 8px; }
 :is(.scene-timeline, .scene-reading, .scene-law, .scene-today, .scene-classwork, .scene-sequence, .scene-evidence, .scene-value, .scene-inquiry) .slide-question { font-size: clamp(16px, 1.3vw, 21px); }
 .slide-narration { font-size: clamp(16px, 1.3vw, 21px); line-height: 1.62; padding: 10px 16px; }
 .slide-steps li { padding: 6px 12px; }
 .slide-card, .slide-timeline li { padding: 10px 14px; }
 :is(.scene-timeline, .scene-reading, .scene-law, .scene-today, .scene-classwork, .scene-sequence, .scene-evidence, .scene-value, .scene-inquiry) .answer { margin-top: 10px; padding: 10px 16px; }
}
@media (max-width: 700px) {
 .sequence-grid { grid-template-columns: 1fr; }
 .slide-timeline { grid-template-columns: 1fr 1fr; }
 .rich-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
 .phase-1 .sequence-number { animation: none; }
}
