/* The mobile homepage is a two-entry overview; the film gets its own stage. */
body.teaser-focused .home-tag-flow,body.teaser-focused .gateway-intro,body.teaser-focused .gateway-panel{animation-play-state:paused}
.course-overview[data-motion-paused] .home-tag-flow{animation-play-state:paused;will-change:auto}
.teaser-dialog{width:min(980px,calc(100vw - 20px));height:min(900px,calc(100svh - 20px));max-width:none;max-height:none;padding:0;border:1px solid #536d7e;border-radius:14px;background:#162c3e;color:#dce8ee;overflow:hidden;box-shadow:0 16px 60px #07162466}
.teaser-dialog::backdrop{background:#071624ed}
.teaser-viewer-mount{height:100%}
.teaser-close{position:absolute;right:12px;top:12px;z-index:10;display:grid;place-items:center;width:44px;height:44px;border:1px solid #66818f66;border-radius:50%;background:#162c3e;color:#dce8ee;cursor:pointer}
.teaser-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
body.theme-a .teaser-dialog .teaser-panel{height:100%;min-height:0;animation:none;border:0;border-radius:0;contain:layout style}
.teaser-dialog .teaser-heading{top:30px;left:7%;right:70px}
.teaser-dialog .teaser-heading h2{font-size:28px}
.teaser-dialog .teaser-screen{inset:76px 5% 112px}
.teaser-dialog .teaser-bottom{left:7%;right:7%;bottom:18px}
.teaser-dialog .teaser-controls button{min-height:44px;font-size:13px}
.teaser-placeholder{border:1px solid #ffffff26;border-radius:8px;background:#162c3e}
@media(max-width:767px){
 .theme-a .gateway-header{min-height:60px;padding:8px 5%;gap:2px 12px}
 .theme-a .gateway-brand{font-size:16px;gap:8px}
 .theme-a .gateway-brand img{width:28px;height:28px}
 .theme-a .gateway-header nav{font-size:12px;gap:12px;min-height:44px}
 .theme-a .gateway-intro{padding:14px 5% 16px}
 .theme-a .gateway-intro h1{font-size:22px;line-height:1.25;margin-bottom:8px}
 .theme-a .site-purpose{font-size:11px;line-height:1.65;max-width:none}
 .theme-a .gateway-split{--entry-height:clamp(166px,calc((100svh - 246px)/2),218px);gap:12px}
 .theme-a .gateway-split>.gateway-panel,.theme-a .teaser-placeholder{height:var(--entry-height);min-height:0}
 .theme-a .gateway-split>.course-overview{padding:12px 16px;gap:6px;justify-content:space-between}
 .theme-a .course-overview .panel-copy h2{font-size:clamp(20px,5.4vw,24px);line-height:1.15;margin:0}
 .theme-a .course-overview .panel-copy h2 br{display:none}
 .theme-a .course-overview .panel-copy p{font-size:11px;line-height:1.5;margin:4px 0 0}
 .theme-a .home-course-showcase{flex:0 0 auto}
 .theme-a .home-paths{gap:10px;padding:0}
 .theme-a .home-path-card{height:54px;min-height:0;border-radius:10px;box-shadow:none;transform:none}
 .theme-a .home-path-card[data-track="finger"],.theme-a .home-path-card:hover,.theme-a .home-path-card:active{transform:none}
 .theme-a .home-path-copy{left:12px;bottom:14px;right:36px;transform:none}
 .theme-a .home-path-copy h3{font-size:22px;line-height:1.15;margin:0;letter-spacing:-.025em}
 .theme-a .home-path-copy p{display:none}
 .theme-a .home-path-arrow{width:24px;height:24px;top:14px;right:10px;font-size:16px}
 .theme-a .home-path-tags{inset:-100% -70%;opacity:.2;gap:10px}
 .theme-a .home-tag-flow span{font-size:12px}
 .theme-a .course-overview .course-entry{font-size:12px;gap:14px;line-height:1.3;padding:0;border:0;min-height:28px;align-items:center}
 .theme-a .course-entry>span{font-size:19px}
 .theme-a .gateway-split>.teaser-panel .teaser-heading{top:18px;left:18px;right:120px}
 .theme-a .gateway-split>.teaser-panel .teaser-heading h2{font-size:24px;margin-bottom:8px;white-space:nowrap}
 .theme-a .gateway-split>.teaser-panel .teaser-heading p{font-size:11px}
 .theme-a .gateway-split>.teaser-panel .teaser-screen{inset:16px 12px auto auto;width:100px;height:96px}
 .theme-a .gateway-split>.teaser-panel .teaser-idle{top:50%;width:95%;height:95%;opacity:.75}
 .theme-a .gateway-split>.teaser-panel .teaser-bottom{left:18px;right:18px;bottom:10px}
 .theme-a .gateway-split>.teaser-panel .teaser-controls button{min-height:44px;font-size:12px}
 .theme-a .gateway-split>.teaser-panel .teaser-status{display:none}
 .theme-a .gateway-footer{padding:18px 5%;gap:4px}
}
/* A shallow landscape screen uses two adjacent entries and the same viewer. */
@media(min-width:768px) and (max-height:600px){
 .theme-a .gateway-header{height:62px}
 .theme-a .gateway-intro{padding:12px 4.5% 16px}
 .theme-a .gateway-intro h1{font-size:22px;margin-bottom:6px}
 .theme-a .gateway-split{gap:12px;margin:0 4.5%}
 .theme-a .gateway-split>.gateway-panel{height:clamp(180px,calc(100svh - 166px),270px);min-height:0;border:1px solid #ffffff26;border-radius:8px}
 .theme-a .gateway-split>.course-overview{padding:18px;gap:8px}
 .theme-a .course-overview .panel-copy h2{font-size:24px;margin:0}
 .theme-a .course-overview .panel-copy h2 br{display:none}
 .theme-a .course-overview .panel-copy p{font-size:11px;margin-top:6px}
 .home-course-showcase{flex:0 0 auto}
 .theme-a .home-path-card{height:58px;min-height:0;transform:none;box-shadow:none}
 .theme-a .home-paths{padding:0;gap:10px}
 .theme-a .home-path-copy{left:12px;bottom:14px;transform:none}
 .theme-a .home-path-copy h3{font-size:24px;margin:0}
 .theme-a .home-path-copy p{display:none}
 .theme-a .home-path-arrow{width:28px;height:28px;right:12px;top:14px}
 .theme-a .course-overview .course-entry{font-size:12px;padding:0;min-height:26px;border:0;gap:20px;align-items:center}
 .theme-a .course-entry>span{font-size:20px}
 .theme-a .gateway-split>.teaser-panel .teaser-heading{top:20px;left:20px}
 .theme-a .gateway-split>.teaser-panel .teaser-heading h2{font-size:26px}
 .theme-a .gateway-split>.teaser-panel .teaser-screen{inset:60px 20px 60px auto;width:40%;height:auto}
 .theme-a .gateway-split>.teaser-panel .teaser-bottom{bottom:12px;left:20px;right:20px}
}
@media(max-height:560px) and (max-width:767px){
 .theme-a .gateway-intro h1{display:none}
 .theme-a .gateway-intro{padding-top:10px;padding-bottom:12px}
 .theme-a .gateway-split{--entry-height:166px}
}
@media(max-height:460px) and (max-width:767px){
 .theme-a .gateway-split{--entry-height:96px}
 .theme-a .home-course-showcase,.theme-a .course-overview .course-entry{display:none}
 .theme-a .gateway-split>.teaser-panel .teaser-heading{top:12px}
 .theme-a .gateway-split>.teaser-panel .teaser-heading h2{font-size:22px;margin-bottom:3px}
 .theme-a .gateway-split>.teaser-panel .teaser-bottom{left:auto;right:12px;bottom:10px}
 .theme-a .gateway-split>.teaser-panel .teaser-screen{display:none}
}
@media(max-height:480px){
 .teaser-dialog .teaser-heading{top:14px;left:4%}
 .teaser-dialog .teaser-heading h2{font-size:20px;margin-bottom:4px}
 .teaser-dialog .teaser-heading p{display:none}
 .teaser-dialog .teaser-screen{inset:34px 14% 68px}
 .teaser-dialog .teaser-bottom{left:4%;right:4%;bottom:8px}
 .teaser-close{top:8px;right:8px}
}
