/* EMIYA / cinematic experience. Educational surfaces remain light and legible. */
:root {
  --canvas: #f4f6fa;
  --ink: #132338;
  --muted: #526477;
  --blue: #2768b3;
  --ease-cinema: cubic-bezier(.16,1,.3,1);
  --ease-press: cubic-bezier(.2,.74,.22,1);
  --content-duration: 680ms;
}
body { background: var(--canvas); }
.topbar { box-shadow: 0 2px 20px #13233805; }
.topbar.is-scrolled { box-shadow: 0 5px 26px #122f5013; }
.topbar nav a { position: relative; }
.topbar nav a.active { background: #eaf2ff; color: #205ba4; }
.topbar nav a.active::after { content: ''; position: absolute; left: 27%; right: 27%; height: 2px; border-radius: 2px; bottom: 2px; background: #3981da; }
.nav-motion-track { position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; overflow: hidden; pointer-events: none; }
.nav-motion-track i, #route-motion-indicator { display: block; position: absolute; inset: 0; transform-origin: left center; }
.nav-motion-track i { background: linear-gradient(90deg,#3b7ee0,#58c2bb); transform: scaleX(var(--page-scroll,0)); opacity: .65; }
#route-motion-indicator { background: linear-gradient(90deg,#1782ff,#91d7ff,#68e3ca); opacity: 0; transform: scaleX(0); }
.home-container { padding-top: 28px; }
.initial-skeleton .skeleton-hero { min-height:525px; background:linear-gradient(135deg,#08152c,#163b53); border-color:#263e60; }
.initial-skeleton .skeleton-hero .skeleton-block { background:#31516b; }
.initial-skeleton .skeleton-hero .skeleton-block::after { background:linear-gradient(100deg,transparent 14%,#9fc9ee33 45%,transparent 77%); }

/* A layered, immersive hero: original course cover, luminous glass, orbital motion. */
.hero.hero-cinematic {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); align-items: center;
  min-height: 525px; padding: 60px 56px; gap: 30px; border-radius: 32px;
  background: linear-gradient(135deg,#08152c 0%,#112b4b 54%,#143e50 100%);
  border: 1px solid #263e60; box-shadow: 0 26px 80px #142b4b25;
  color: #f6faff;
}
.hero.hero-cinematic::before {
  content: ''; position: absolute; z-index: -2; inset: 0; width: auto; height: auto; border-radius: 0;
  background: linear-gradient(115deg,#183e6c44,transparent 65%);
  opacity: 1;
}
.hero.hero-cinematic::after,
html[data-motion] .hero.hero-cinematic::after { content: none; animation: none; }
.hero-aurora {
  position: absolute; z-index: -1; inset: -36% -20% -38% 6%; pointer-events: none;
  background: radial-gradient(ellipse at 73% 35%,#2783d775 0%,transparent 36%), radial-gradient(ellipse at 58% 64%,#23bbad47 0%,transparent 40%),radial-gradient(ellipse at 29% 27%,#6380e134 0%,transparent 31%);
  opacity: .9;
}
html[data-motion=full] .hero-aurora, html[data-motion=lite] .hero-aurora { animation: cinema-aurora 9s var(--ease-press) infinite alternate; }
@keyframes cinema-aurora { from { transform: translate3d(-6%,-4%,0) scale(.92); opacity:.62; } to { transform: translate3d(5%,4%,0) scale(1.11); opacity:1; } }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero-cinematic .hero-kicker { display: inline-flex; align-items: center; gap: 8px; color: #b9d9ff; border: 1px solid #91b9f036; background: #d1e8ff0b; border-radius: 999px; font-size: 12px; letter-spacing: .13em; margin: 0 0 20px; padding: 7px 12px; }
.hero-kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: #8cdbff; box-shadow: 0 0 12px #6cc9ff8c; }
.hero-cinematic h1 { font-size: clamp(44px,5.2vw,71px); line-height: 1.15; font-weight: 750; letter-spacing: -.058em; margin: 0 0 23px; }
.hero-cinematic .hero-title-row { display: block; padding: 0 0 .12em; margin-bottom: -.12em; overflow: hidden; }
.hero-cinematic h1 .hero-line-1 { color: #f5f8ff; }
.hero-cinematic h1 .hero-line-2 { background: linear-gradient(100deg,#9fc9ff 3%,#b8ecfa 51%,#79e5c7 99%); color: #b9dcff; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-cinematic p.hero-description { color: #c0d1e6; max-width: 460px; font-size: 17px; line-height: 1.85; margin: 0 0 27px; }
.hero-cinematic .hero-actions { gap: 12px; }
.hero-cinematic .hero-actions .primary { background: #f5f9ff; color: #152f55; border: 1px solid #e3f2ff; box-shadow: 0 5px 22px #7abfff44; font-weight: 700; min-height: 48px; }
.hero-cinematic .hero-actions .secondary { background: #f7fbff0b; color: #dbeaff; border: 1px solid #b6d2f34b; min-height: 48px; }
.hero-cinematic .hero-facts { display: flex; flex-wrap: wrap; gap: 9px 0; margin-top: 24px; font-size: 13px; color: #adc4df; line-height: 1.5; }
.hero-facts span+span { position: relative; padding-left: 16px; margin-left: 14px; }
.hero-facts span+span::before { content: ''; position: absolute; left: 0; top: .65em; width: 3px; height: 3px; background: #8ab3d9; border-radius: 50%; }
@media(hover:hover) and (pointer:fine) {
 .hero-cinematic .hero-actions .primary:hover { background: #fff; box-shadow: 0 7px 36px #9bd4fc66; }
 .hero-cinematic .hero-actions .secondary:hover { background: #b8dcff20; border-color: #aed3f8; }
}

/* Isolated stage, composed of transforms and opacity. No canvas or image dependencies. */
.hero-cinematic .hero-art {
  display: block; width: 100%; min-height: 400px; margin: 0;
  --book-width: 215px; --stage-rx: 0deg; --stage-ry: 0deg;
}
html[data-motion] .hero-cinematic .hero-art { animation:none; transform:translate3d(0,var(--parallax-y,0px),0); will-change:auto; }
.hero-cinematic .hero-art::before,.hero-cinematic .hero-art::after,
html[data-motion] .hero-cinematic .hero-art::before { content: none; animation: none; }
.stage-grid { position: absolute; z-index: -2; inset: -8% -8%; opacity: .22; pointer-events:none; background: linear-gradient(#c6e5ff15 1px,transparent 1px),linear-gradient(90deg,#c6e5ff15 1px,transparent 1px); background-size: 29px 29px; -webkit-mask-image: radial-gradient(ellipse,#000 15%,transparent 70%); mask-image: radial-gradient(ellipse,#000 15%,transparent 70%); }
.stage-halo { position: absolute; z-index: -1; left:50%; top:50%; width: 94%; aspect-ratio: 1; border-radius:50%; transform: translate(-50%,-50%); background: radial-gradient(circle,#6caff74d 0%,#4bc6c72e 29%,transparent 65%); }
.stage-orbit { position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; border: 1px solid #a6d3ff3a; left:50%; top:50%; aspect-ratio:1; }
.orbit-a { width: 82%; transform: translate(-50%,-50%) rotate(-32deg) scaleY(.77); }
.orbit-b { width: 97%; transform: translate(-50%,-50%) rotate(32deg) scaleY(.79); border-color: #75e6d326; }
.stage-orbit i { display:block; position:absolute; inset: -3px; border-radius:50%; }
.stage-orbit i::before { content: ''; position:absolute; left:50%; top:0; width: 6px; height: 6px; border-radius: 50%; background:#addefe; box-shadow:0 0 5px 2px #7fc7fa9b,0 0 18px 6px #398be994; }
.orbit-b i::before { top:auto; bottom:0; background:#a8f3e0; box-shadow:0 0 10px 3px #52cabb8c; }
html[data-motion=full] .orbit-a i,html[data-motion=lite] .orbit-a i { animation: orbit-turn 13s linear infinite; }
html[data-motion=full] .orbit-b i,html[data-motion=lite] .orbit-b i { animation: orbit-turn 19s linear infinite reverse; }
@keyframes orbit-turn { to { transform:rotate(360deg); } }
.stage-dust { position:absolute; inset:0; z-index: 1; pointer-events:none; }
.stage-dust i { position:absolute; width:3px; height:3px; background:#c1efff; border-radius:50%; box-shadow:0 0 10px #77c8ff9b; opacity:.65; }
.stage-dust i:nth-child(1){left:13%;top:22%}.stage-dust i:nth-child(2){left:84%;top:17%}.stage-dust i:nth-child(3){left:20%;top:79%}.stage-dust i:nth-child(4){left:89%;top:64%}
html[data-motion=full] .stage-dust i,html[data-motion=lite] .stage-dust i { animation: dust-glimmer 4.8s ease-in-out infinite alternate; }
.stage-dust i:nth-child(2){animation-delay:1.2s!important}.stage-dust i:nth-child(3){animation-delay:2.4s!important}.stage-dust i:nth-child(4){animation-delay:.7s!important}
@keyframes dust-glimmer { 0% { opacity:.2; scale:.7; } 100% { opacity:.95; scale:1.4; } }
.stage-object { position:absolute; z-index: 2; left:50%; top:50%; width:var(--book-width); aspect-ratio:595/842; transform:translate(-50%,-53%) perspective(1000px) rotateX(var(--stage-rx)) rotateY(var(--stage-ry)); transform-style:preserve-3d; transition:transform 240ms var(--ease-cinema); }
.stage-book-front,.stage-book-back { position:absolute; inset:0; border-radius:8px 13px 13px 8px; overflow:hidden; }
.stage-book-back { transform: translate3d(20px,10px,-10px) rotate(12deg) scale(.98); background:linear-gradient(145deg,#79b9d4,#37658b 53%,#18405c); color:#cbeeff; border:1px solid #a1c6de58; box-shadow:10px 17px 44px #0005; display:flex; flex-direction:column; padding:20px 13px; align-items:flex-end; font-size:12px; letter-spacing:.1em; }
.stage-book-back b { font-size:30px; line-height:1.1; }
.stage-book-front { transform:translate3d(-4px,0,8px) rotate(-10deg); box-shadow:0 28px 53px #0007,0 0 65px #508bc345; border:1px solid #f4f9ff; background:#fff; }
.hero-cinematic .stage-book-front .hero-book,html[data-motion] .hero-cinematic.hero-intro .stage-book-front .hero-book { display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:inherit; transform:none; box-shadow:none; border:0; animation:none; }
.book-glint { position:absolute; inset:0; pointer-events:none; background:linear-gradient(110deg,transparent 25%,#fff9 51%,transparent 63%); transform:translateX(-130%); opacity:0; }
.stage-chip { position:absolute; z-index:4; display:flex; align-items:center; gap:10px; background:#142f4cdd; border:1px solid #97c5ed50; border-radius:15px; box-shadow:0 16px 30px #0615286b; padding:11px 13px; white-space:nowrap; color:#ecf7ff; }
.stage-chip-top { left: 1%; top:15%; }
.stage-chip-bottom { right:1%; bottom:15%; background:#214a5bdd; border-color:#8ee5d450; }
.stage-chip small,.stage-chip strong { display:block; line-height:1.35; }
.stage-chip small { font-size:9px; color:#a9c9e4; font-weight:600; letter-spacing:.11em; }
.stage-chip strong { font-size:14px; font-weight:650; margin-top:3px; }
.stage-chip-symbol { display:grid; place-items:center; width:33px;height:33px;border-radius:10px;background:#94c7ff26;color:#e2f1ff;font-weight:700;font-size:20px; }
.stage-chip-status { width:11px;height:11px;border-radius:50%;background:#8aebcb;box-shadow:0 0 0 5px #b2ffdc13,0 0 12px #83dbba80; }
.stage-caption { position:absolute; bottom:0; width:100%; text-align:center; color:#c1d9ef92; letter-spacing:.15em; font-size:11px; }
html[data-motion=full] .stage-object,html[data-motion=lite] .stage-object { animation: stage-hover 5.4s ease-in-out infinite; }
html[data-motion=full] .stage-chip-top,html[data-motion=lite] .stage-chip-top { animation: chip-drift 5.9s 300ms ease-in-out infinite; }
html[data-motion=full] .stage-chip-bottom,html[data-motion=lite] .stage-chip-bottom { animation: chip-drift 6.3s 850ms ease-in-out infinite reverse; }
@keyframes stage-hover { 0%,100% { translate:0 0; } 50% { translate:0 -20px; } }
@keyframes chip-drift { 0%,100% { translate:0 0; } 50% { translate:3px 9px; } }

/* Entrance choreography: staggered text, book reveal, and a single sweep of light. */
html[data-motion] .hero-cinematic.hero-intro .hero-line-1 { animation: title-rise 850ms 120ms var(--ease-cinema) both; }
html[data-motion] .hero-cinematic.hero-intro .hero-line-2 { animation: title-rise 950ms 240ms var(--ease-cinema) both; }
html[data-motion] .hero-cinematic.hero-intro .hero-kicker { animation: cinema-rise 570ms 20ms var(--ease-cinema) both; }
html[data-motion] .hero-cinematic.hero-intro .hero-description { animation: cinema-rise 720ms 390ms var(--ease-cinema) both; }
html[data-motion] .hero-cinematic.hero-intro .hero-actions { animation: cinema-rise 720ms 510ms var(--ease-cinema) both; }
html[data-motion] .hero-cinematic.hero-intro .hero-facts { animation: cinema-rise 620ms 640ms var(--ease-cinema) both; }
html[data-motion=full] .hero-intro .stage-object,html[data-motion=lite] .hero-intro .stage-object { animation: object-arrive 1050ms 180ms var(--ease-cinema) both,stage-hover 5.4s 1230ms ease-in-out infinite; }
.hero-intro .stage-orbit,.hero-intro .stage-halo { animation: halo-arrive 1200ms var(--ease-cinema) both; }
html[data-motion=full] .hero-intro .stage-chip-top,html[data-motion=lite] .hero-intro .stage-chip-top { animation: chip-arrive 850ms 580ms var(--ease-cinema) both,chip-drift 5.9s 1430ms ease-in-out infinite; }
html[data-motion=full] .hero-intro .stage-chip-bottom,html[data-motion=lite] .hero-intro .stage-chip-bottom { animation: chip-arrive 850ms 710ms var(--ease-cinema) both,chip-drift 6.3s 1560ms ease-in-out infinite reverse; }
.hero-intro .book-glint { animation: book-shine 1150ms 780ms var(--ease-press) both; }
@keyframes title-rise { from { transform:translate3d(0,115%,0); opacity:.25; } to { transform:translate3d(0,0,0); opacity:1; } }
@keyframes cinema-rise { from { transform:translate3d(0,20px,0); opacity:0; } to { transform:translate3d(0,0,0); opacity:1; } }
@keyframes object-arrive { from { translate:30px 50px; scale:.76; opacity:0; } to { translate:0 0; scale:1; opacity:1; } }
@keyframes chip-arrive { from { opacity:0; scale:.87; transform:translate3d(0,15px,0); } to { opacity:1; scale:1; transform:translate3d(0,0,0); } }
@keyframes halo-arrive { from { opacity:0; scale:.85; } to { opacity:1; scale:1; } }
@keyframes book-shine { 0% { transform:translateX(-130%);opacity:0; } 25%,60% { opacity:.7; } 100% { transform:translateX(130%);opacity:0; } }
html[data-motion] .hero-offscreen .hero-aurora,html[data-motion] .hero-offscreen .stage-object,html[data-motion] .hero-offscreen .stage-orbit i,html[data-motion] .hero-offscreen .stage-chip,html[data-motion] .hero-offscreen .stage-dust i { animation-play-state:paused; }

/* Course cards and page sections. */
.section-heading { margin-top:48px; margin-bottom:19px; }
.section-heading h2 { letter-spacing:-.04em; font-size:clamp(24px,2.25vw,30px); }
.course-stack { gap:19px; }
.course-stack .course-card { position:relative; overflow:hidden; grid-template-columns:132px minmax(0,1fr); padding:24px; gap:22px; align-items:center; border-radius:25px; border:1px solid #e0e7f0; box-shadow:0 10px 45px #1536580a; }
.course-card::before { content:''; position:absolute; inset:0 auto 0 0; width:3px; background:linear-gradient(180deg,#6da1e4,#c2e2ee); opacity:.8; }
.course-card--2::before { background:linear-gradient(180deg,#74c1c6,#b5d9eb); }
.course-visual { position:relative; isolation:isolate; display:grid; place-items:center; min-width:0; align-self:stretch; min-height:180px; border-radius:16px; padding:12px; background:linear-gradient(145deg,#eaf1fd,#dee9fa); overflow:hidden; }
.course-card--2 .course-visual { background:linear-gradient(145deg,#e4f0f1,#cfe9e8); }
.course-visual::before { content:''; position:absolute; z-index:-1; inset:0; background:radial-gradient(ellipse at 50% 45%,#fff,transparent 68%); opacity:.8; }
.course-visual .cover { width:100%; max-width:107px; position:relative; transform:rotate(-5deg); border-radius:5px; box-shadow:6px 12px 20px #1d385a30; transition:transform 450ms var(--ease-cinema),box-shadow 300ms var(--ease-cinema); }
.course-visual .locked-cover { min-height:0; padding:7px; aspect-ratio:.707; transform:rotate(-5deg); color:#e8f5ff; border:1px solid #4b768e; background:linear-gradient(160deg,#234566,#3b8b94); }
.course-visual .locked-cover span,.course-visual .locked-cover small { color:#deeff4; }
.course-visual .locked-cover .cover-lock { background:#d7f0f2; color:#285b87; }
.course-visual .locked-cover b { font-size:36px; }
.course-info { min-width:0; }
.course-card h3 { font-size:21px; line-height:1.4; font-weight:700; }
.course-card .meta { gap:7px 12px; font-size:12px; }
.course-card .actions { gap:8px; }
.course-card .actions .primary,.course-card .actions .secondary { min-height:39px; padding:9px 13px; font-size:14px; }
.course-card.in-view .course-visual .cover { animation: cover-arrive 870ms var(--ease-cinema) 90ms backwards; }
@keyframes cover-arrive { from { transform:translate3d(-14px,15px,0) rotate(-13deg) scale(.85); opacity:0; } to { transform:rotate(-5deg) scale(1); opacity:1; } }
@media(hover:hover) and (pointer:fine) {
 html[data-motion=full] .course-card:hover { box-shadow:0 24px 52px #163a6022; }
 html[data-motion=full] .course-card:hover .course-visual .cover { transform:rotate(-2deg) translateY(-5px) scale(1.055); box-shadow:9px 17px 26px #18345b38; }
}
.practice-callout { border-radius:24px; background:linear-gradient(115deg,#e5edff,#f1faf8 86%); border-color:#d5e2f2; padding:26px; }
.learning-journey { margin-top:28px; position:relative; overflow:hidden; background:linear-gradient(130deg,#fff,#f7faff); border:1px solid #e0e8f2; border-radius:26px; padding:36px 38px; box-shadow:0 13px 42px #1f406908; }
.journey-heading { text-align:center; margin-bottom:29px; }.journey-heading .eyebrow{font-size:12px; margin-bottom:8px;}.journey-heading h2{font-size:clamp(24px,2.9vw,33px);letter-spacing:-.045em;margin:0;line-height:1.4;}.journey-heading p:not(.eyebrow){font-size:15px;color:var(--muted);margin:7px 0 0;}
.journey-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;position:relative;isolation:isolate;padding-top:5px;}
.journey-line{position:absolute;top:34px;left:16.67%;right:16.67%;height:2px;background:#dde9f2;border-radius:2px;z-index:-1;overflow:hidden;}
.journey-line i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#3b82d7,#42a99d);transform:scaleX(var(--journey-progress,0));transform-origin:left center;}
.journey-step{display:grid;justify-items:center;gap:13px;text-align:center;min-width:0;}
.journey-symbol{width:58px;height:58px;border-radius:18px;border:1px solid #dae6f3;background:#f2f7ff;display:grid;place-items:center;font-size:25px;font-weight:650;color:#446a99;box-shadow:0 5px 15px #1e498111;transition:background 420ms var(--ease-cinema),border-color 420ms var(--ease-cinema),color 420ms var(--ease-cinema),transform 500ms var(--ease-cinema),box-shadow 500ms var(--ease-cinema);}
.journey-step.is-in-stage .journey-symbol{background:linear-gradient(155deg,#3e83d0,#2663a5);border-color:#3c7fcb;color:white;transform:translateY(-4px);box-shadow:0 10px 26px #3a7aca32;}
.journey-step h3{font-size:18px;letter-spacing:-.02em;margin:0 0 4px;}.journey-step p{font-size:14px;color:var(--muted);margin:0;line-height:1.55;}
.unit-card,.progress-box,.contact-card { border-radius:22px; }
.progress-box .big { font-variant-numeric:tabular-nums; }
.bar i { position:relative; overflow:hidden; }
.bar i.progress-burst::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,transparent,#fff7,transparent); animation:progress-sheen 540ms var(--ease-cinema) both; }
@keyframes progress-sheen { from { transform:translateX(-100%); } to { transform:translateX(100%); } }

/* Scroll reveal uses a deliberately visible but brief vertical movement. */
html[data-motion=full] [data-reveal],html[data-motion=lite] [data-reveal] { opacity:0; translate:0 36px; transition:opacity 680ms var(--ease-cinema),translate 680ms var(--ease-cinema); transition-delay:var(--reveal-delay,0ms); }
html[data-motion=full] [data-reveal].in-view,html[data-motion=lite] [data-reveal].in-view { opacity:1; translate:0 0; }
html[data-motion] [data-reveal]:focus-within { opacity:1;translate:0 0;transition-delay:0ms; }
html[data-motion] .card[data-reveal].in-view,html[data-motion] .contact-card[data-reveal].in-view { transition:opacity 680ms var(--ease-cinema),translate 680ms var(--ease-cinema),transform 320ms var(--ease-cinema),box-shadow 320ms var(--ease-press),border-color 280ms var(--ease-press); transition-delay:var(--reveal-delay,0ms),var(--reveal-delay,0ms),0ms,0ms,0ms; }

/* Feedback: check stroke, subtle rings, fast tactile responses. */
.toast-mark { position:relative; }
.toast-mark::after { content:''; position:absolute; inset:-2px; border:1.5px solid #3cae83; border-radius:15px; pointer-events:none; animation:ring-out 820ms var(--ease-cinema) both; }
.motion-toast.achievement { border-color:#a8ddc4; box-shadow:0 16px 48px #164e3b32; }
.motion-toast .toast-mark svg path { stroke-dasharray:24; stroke-dashoffset:24; animation:check-draw 520ms 100ms var(--ease-cinema) forwards; }
@keyframes check-draw { to { stroke-dashoffset:0; } }
@keyframes ring-out { from { opacity:.8;scale:.82; } to { opacity:0;scale:1.6; } }
.unlock-panel.unlock-success .unlock-icon { animation:unlock-pop 440ms var(--ease-cinema) both; color:#16835b; background:#dff6ea; }
.unlock-panel .error-message.unlock-confirmed { color:#187751; }
.unlock-panel.unlock-success .unlock-icon svg path:first-of-type { animation:shackle-open 440ms var(--ease-cinema) both; transform-origin:8px 10px; }
@keyframes unlock-pop { 0% { scale:1; } 45% { scale:1.14; } 100% { scale:1; } }
@keyframes shackle-open { to { transform:translate(3px,-2px) rotate(23deg); } }
.score-value { font-variant-numeric:tabular-nums; }
.score-value [data-score-number] { display:inline-block; min-width:1ch; }
.sentence-feedback.feedback-good { border-left:3px solid #4daa82; }
.sentence-feedback.feedback-neutral { border-left:3px solid #d2a95e; }
.choice-button.selected { box-shadow:0 0 0 3px #b7d2f348; }
.answer-feedback.right { border-left:3px solid #61b79c; }
.answer-feedback.wrong { border-left:3px solid #d6af72; }

@media(max-width:1050px) {
 .initial-skeleton .skeleton-hero{min-height:475px;}
 .hero.hero-cinematic { padding:47px 42px; min-height:475px; gap:19px; }
 .hero-cinematic h1 { font-size:clamp(44px,5.6vw,60px); }
 .hero-cinematic .hero-art { --book-width:185px; min-height:355px; }
 .course-stack .course-card { grid-template-columns:110px minmax(0,1fr); gap:16px; padding:20px; }
 .course-visual { min-height:158px; }
 .course-card h3 { font-size:19px; }
}
@media(max-width:850px) {
 .initial-skeleton .skeleton-hero{min-height:400px;}
 .hero.hero-cinematic { grid-template-columns:minmax(0,1.06fr) minmax(0,1fr); padding:34px; min-height:400px; gap:15px; border-radius:26px; }
 .hero-cinematic h1 { font-size:clamp(36px,5.6vw,51px); }
 .hero-cinematic .hero-art { --book-width:142px; min-height:292px; }
 .stage-chip { padding:8px 10px; gap:7px; border-radius:11px; }.stage-chip strong{font-size:12px}.stage-chip small{font-size:8px}.stage-chip-symbol{width:27px;height:27px;font-size:16px}
 .hero-cinematic p.hero-description{font-size:16px;}.hero-cinematic .hero-facts{font-size:12px;}
 .course-stack .course-card { grid-template-columns:124px minmax(0,1fr); gap:20px; }
}
@media(max-width:620px) {
 .initial-skeleton .skeleton-hero{min-height:575px;}
 .home-container { padding-top:19px; }
 .hero.hero-cinematic { display:flex;flex-direction:column; align-items:stretch; gap:14px; padding:28px 22px 20px; min-height:0; border-radius:25px; }
 .hero-cinematic .hero-kicker{font-size:10px; margin-bottom:16px;padding:6px 10px;}
 .hero-cinematic h1 { font-size:clamp(39px,9.5vw,52px); line-height:1.14; margin-bottom:16px; }
 .hero-cinematic p.hero-description { font-size:15px; line-height:1.8; margin-bottom:20px; }
 .hero-cinematic .hero-actions .primary,.hero-cinematic .hero-actions .secondary { min-height:43px; padding:11px 14px; font-size:14px; }
 .hero-cinematic .hero-facts { margin-top:17px; font-size:12px; gap:5px 0; }
 .hero-facts span+span{padding-left:11px;margin-left:10px;}
 .hero-cinematic .hero-art { min-height:282px; --book-width:143px; }
 .stage-halo {width:100%;}.stage-orbit.orbit-a{width:78%}.stage-orbit.orbit-b{width:93%}
 .stage-chip-top{top:13%;left:-1%}.stage-chip-bottom{bottom:15%;right:-1%;}.stage-caption{font-size:10px;bottom:0;}
 .stage-book-back{transform:translate3d(14px,7px,-10px) rotate(12deg) scale(.98)}
 .section-heading{margin-top:31px;margin-bottom:15px;}.section-heading h2{font-size:24px;}
 .course-stack .course-card { grid-template-columns:91px minmax(0,1fr); gap:13px; padding:17px; border-radius:20px; }
 .course-visual { min-height:130px; padding:8px; border-radius:12px; }
 .course-visual .locked-cover b{font-size:30px;}.course-visual .locked-cover span{font-size:8px;}.course-visual .locked-cover small{font-size:8px;}
 .course-card h3{font-size:18px;}.course-card .actions .primary,.course-card .actions .secondary{padding:9px 10px;font-size:13px;}
 .course-card .meta{gap:4px 8px;font-size:11px;}.practice-callout{padding:20px;border-radius:19px;}
 .learning-journey{padding:25px 20px;border-radius:20px;margin-top:19px;}.journey-heading{text-align:left;margin-bottom:24px;}.journey-heading h2{font-size:24px;}.journey-heading p:not(.eyebrow){font-size:14px;}
 .journey-grid{grid-template-columns:1fr;gap:24px;padding-top:0;}.journey-step{grid-template-columns:50px 1fr;justify-items:start;text-align:left;align-items:center;gap:15px;}.journey-symbol{width:50px;height:50px;font-size:23px;border-radius:15px;}.journey-line{left:24px;top:25px;right:auto;bottom:25px;width:2px;height:auto;}.journey-line i{transform:scaleY(var(--journey-progress,0));transform-origin:top center;}
 .unit-card,.progress-box,.contact-card{border-radius:19px;}
}
@media(prefers-reduced-motion:reduce) {
 .hero-cinematic .hero-art { transform:none!important; }
 .stage-object,.stage-chip,.hero-aurora,.stage-orbit i,.stage-dust i,.book-glint,.hero-title-row>span,.hero-description,.hero-kicker,.hero-actions,.hero-facts { animation:none!important; opacity:1!important; }
 .book-glint,.toast-mark::after { display:none; }
 .motion-toast .toast-mark svg path{stroke-dashoffset:0;animation:none!important;}
 .nav-motion-track{display:none;}
 .journey-step.is-in-stage .journey-symbol{transform:none;}
 html[data-motion] [data-reveal] { opacity:1!important; translate:0 0!important; }
}
