/* Mobile composition. Brand, desktop layout and integration contracts are retained. */
.mobile-dock{display:none}
@media(max-width:600px){
 html{scroll-padding-top:20px;scroll-padding-bottom:100px}
 body{padding-bottom:calc(78px + env(safe-area-inset-bottom));overscroll-behavior-y:none}
 .wrap{padding-left:22px;padding-right:22px}
 .hero-shell{height:calc(100svh - 78px - env(safe-area-inset-bottom));min-height:650px;overflow:hidden;background:#24151e}
 .hero-shell>.wrap{height:100%}
 .hero-shell header{height:80px;gap:8px;border:0}
 .hero-shell .brand{gap:8px;min-width:0;flex-shrink:1}
 .hero-shell .brand .header-circus-mark{width:45px;height:45px;flex-basis:45px}
 .hero-shell .brand .header-wordmark{width:166px;height:25px}
 .hero-shell .brand .header-brand-description{font-size:6.7px;padding-left:2px;letter-spacing:0}
 .language-switch{padding:3px;font-size:11px;background:#321e2ccc}
 .language-switch button{min-width:29px;min-height:32px;padding:5px}
 .hero-shell .hero{height:calc(100% - 80px);min-height:0;max-height:none;display:block;padding:20px 0 0}
 .hero-shell .hero-copy{position:static;width:100%}
 .hero-copy h1{font-size:clamp(37px,10.2vw,46px);line-height:1.045;letter-spacing:-1.6px;margin:0 0 16px;max-width:360px}
 html[lang=uz] .hero-copy h1{font-size:clamp(33px,9.2vw,42px);line-height:1.08;letter-spacing:-1.3px}
 .hero-copy .intro{font-size:13px;line-height:1.6;margin:0;max-width:250px;color:#f4e2e3db}
 .hero-copy .hero-actions{position:absolute;left:0;bottom:62px;margin:0;width:100%;z-index:5}
 .hero-shell .hero-actions .pill.fill{min-height:52px;width:100%;font-size:13px;padding:15px 12px;box-shadow:0 8px 32px #210c2555;background:#cb3979;border-color:#d94785}
 .hero-help{position:absolute;left:0;right:0;bottom:29px;text-align:center;margin:0;font-size:10px;color:#eedbdf}
 .hero-scene{top:auto;bottom:0;height:calc(100% - 190px);width:100%;object-fit:cover;object-position:73% center;mask-image:linear-gradient(180deg,transparent,#000 20%,#000 85%,transparent)}
 .hero-shade{background:linear-gradient(180deg,#24151e00 0%,#24151e00 50%,#24151e05 66%,#39262c 100%);z-index:-1}
 #stage-lighting{mask-image:linear-gradient(180deg,transparent 23%,#0009 42%,#000 60%,transparent 100%)}
 .hero-shell .arena{position:absolute;inset:0;overflow:visible;width:100%;height:100%;pointer-events:none}
 .hero-shell .arena:before{display:none}
 .hero-shell .logotype{top:auto;bottom:28%;left:0;width:25%;max-width:104px;transform:none;animation:none;opacity:1}
 .hero-shell .stage-logo,.hero-shell .stage-logo-fill{animation:none}
 .hero-shell .magic-controls{left:auto;right:0;bottom:138px;gap:0}
 .hero-shell #replay{display:none}
 .hero-shell #pause{height:38px;width:38px;padding:0;font-size:13px;background:#2a17275c;border-color:#ffdddf55;backdrop-filter:blur(6px)}
 .hero-shell .hero-bottom{bottom:8px;padding:0;justify-content:center;font-size:9px}
 .hero-bottom>a{display:none}
 .hero-shell .hero-bottom>span:nth-child(2){display:block;color:#efd1d5a6}
 .studio-feature{background:linear-gradient(180deg,#39262c,#a17b80 20%,#ead8d2 43%,#fcf8f3 80%)}
 .bridge-copy{padding-top:20px;padding-bottom:30px}
 .bridge-copy>p{font-size:11px;line-height:1.6;margin:0;color:#f1d8df}
 .studio-body{min-height:0;display:block}
 .studio-copy{padding:22px 0 96px;max-width:100%}
 .studio-copy h2{font-size:33px;line-height:1.12;letter-spacing:-1.3px;margin:12px 0 16px}
 .studio-copy>p:not(.eyebrow){font-size:14px;line-height:1.8;margin:0 0 18px}
 .studio-body .studio-wash{background:linear-gradient(#fcf8f3b3,#fcf8f3e0 65%,transparent)}
 .studio-body>img{object-position:63% center;mask-image:linear-gradient(transparent,#0008 38%,#000 75%,transparent)}
 .learning-points{gap:6px;margin-bottom:20px}
 .learning-points span{font-size:10px;padding:7px 10px}
 .studio-copy .pill{font-size:12px;min-height:46px;padding:12px 18px}
 .image-note{bottom:16px;font-size:9px}
 .lower-story{display:flex;flex-direction:column}
 .lower-story>#directions{order:1}.lower-story>#directions+div{order:2;width:100%}
 .lower-story>#parents{order:3}.lower-story>#backstage{order:4}.lower-story>#schedule{order:5}
 .lower-story>#questions{order:6}.lower-story>#contact{order:7}.lower-story>#contact+div{order:8;width:100%}
 .lower-story>section.wrap{width:100%}
 section.content{padding-top:36px;padding-bottom:36px}
 .section-top{display:block;margin-bottom:22px}
 .section-top h2,h2,.parents h2,.schedule-section h2,.contact h2{font-size:34px;line-height:1.13;letter-spacing:-1.3px}
 .eyebrow{font-size:10px;letter-spacing:1.4px}
 .section-top p{font-size:14px;line-height:1.8;max-width:none;margin:16px 0 0}
 .directions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .directions .card{min-height:0;padding:0;border-radius:16px;transform:none}
 .direction-picture{aspect-ratio:1.5;flex-shrink:0}
 .card-copy{padding:14px 12px 12px}
 .card h3{font-size:21px;line-height:1.15;letter-spacing:-.5px;overflow-wrap:normal}
 .card-actions{margin-top:auto;padding-top:10px}
 .card-actions button{font-size:11px;min-height:36px;margin:0 0 8px;width:100%}
 .direction-trial{font-size:11px;min-height:38px;justify-content:center;width:100%;padding:10px 5px}
 .trial-callout{padding:22px;margin:0 0 24px;border-radius:18px}
 .trial-callout h3{font-size:27px}
 .trial-callout p{font-size:13px;line-height:1.75}
 .trial-callout .pill,.parents .pill,.moments-copy .pill,.schedule-guidance .pill,.contact .pill{min-height:48px;font-size:12px}
 .parents-inner{padding-top:24px!important;padding-bottom:34px!important}
 .parents .intro{font-size:14px;line-height:1.8;max-width:none}
 .steps{gap:14px;margin-top:24px}
 .step{padding:17px 0 0}
 .step h3{font-size:24px;margin:0 0 8px}
 .step p{font-size:13px;line-height:1.8}
 .backstage{padding-top:36px!important;padding-bottom:36px!important;border-radius:26px 26px 0 0}
 .moments-copy h2{font-size:34px;line-height:1.15;letter-spacing:-1.3px}
 .moments-copy>p:not(.eyebrow){font-size:14px;line-height:1.8}
 .moments-copy small{font-size:11px;line-height:1.7;margin-bottom:24px}
 .moments-collage{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:178px;gap:10px}
 .moment-tile{border-radius:13px}
 .moment-tile>span{font-size:11px;padding:28px 10px 12px}
 .moment-invite{display:none}
 .schedule-section{padding-top:36px!important;padding-bottom:32px!important}
 .schedule-card{padding:20px;border-radius:18px}
 .schedule-guidance p{font-size:13px;line-height:1.8}
 #questions.content{padding-top:30px;padding-bottom:32px}
 .faq-enquire{font-size:12px;min-height:44px;display:inline-flex;align-items:center;margin-bottom:12px}
 .faq summary{font-size:14px;line-height:1.65;gap:15px;min-height:32px}
 .faq details p{font-size:13px;line-height:1.8}
 .contact{padding:30px 22px!important;border-radius:24px 24px 0 0!important}
 .contact aside,.contact .trial-note{font-size:13px;line-height:1.8}
 footer{gap:14px;font-size:10px;line-height:1.6}
 .floating-apply,.circus-consult{display:none!important}
 .mobile-dock{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:1fr 1fr 1.4fr;align-items:center;gap:8px;z-index:80;min-height:78px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fffaf6ed;backdrop-filter:blur(20px);border-top:1px solid #c294a13b;box-shadow:0 -8px 28px #3a192511;color:#754759;font-size:10px;line-height:1.4}
 .mobile-dock>a,.mobile-dock>button{min-width:0;min-height:52px;border:0;border-radius:15px;display:flex;align-items:center;justify-content:center;font:inherit;gap:3px}
 .dock-directions,.mobile-question{flex-direction:column;background:none}
 .mobile-dock .dock-directions>span:first-child,.mobile-question>span:first-child{font-size:23px;line-height:1}
 .mobile-question{color:#a34d76;background:radial-gradient(ellipse,#f5dfec90,transparent)}
 .mobile-question>span:first-child{color:#c65b98;text-shadow:0 0 12px #e57aaa55}
 .mobile-dock .dock-trial{gap:8px;background:linear-gradient(125deg,#cf3a7c,#b42c69);color:#fff8f3;font-size:12px;font-weight:600;box-shadow:0 4px 15px #bc397633}
 .dock-trial>span:last-child{font-size:18px}
 .mobile-dock :focus-visible{outline:2px solid #b42c69;outline-offset:2px}
 .consult-status{bottom:calc(90px + env(safe-area-inset-bottom));right:16px}
 #chatWidgetContainer .prefix_chat-widget{bottom:calc(88px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 112px - env(safe-area-inset-bottom))!important}
 #apply{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:calc(100dvh - 24px);border:0;border-radius:26px 26px 0 0;padding:0;overflow:auto;overscroll-behavior:contain;scroll-padding:24px;background:#fffaf6}
 #apply[open]{animation:mobile-sheet .25s ease-out}
 #apply:before{content:'';display:block;width:36px;height:4px;background:#d8bec8;border-radius:3px;margin:12px auto 2px}
 #apply .apply-grid{display:block}
 #apply .apply-close{position:absolute;right:16px;top:12px;z-index:4;width:44px;height:44px;font-size:26px;background:#f1e4e9;border-radius:50%}
 #apply .apply-intro{padding:14px 24px 0;background:transparent;min-height:0}
 #apply .apply-intro>img,#apply .apply-intro>.eyebrow,#apply .apply-intro>p:not(.direction-choice){display:none}
 #apply .apply-intro h2{font-size:30px;line-height:1.1;margin:0;padding-right:38px;letter-spacing:-1px}
 #apply .apply-intro h2 br{display:none}
 #apply .apply-intro .direction-choice{font-size:12px;line-height:1.6;margin:12px 0 0;padding:8px 12px}
 #apply .apply-form{padding:18px 24px calc(24px + env(safe-area-inset-bottom))}
 #apply .apply-form>h3{display:none}
 #apply .apply-subtitle{font-size:13px;margin:0 0 18px;line-height:1.7}
 #apply input,#apply select{font-size:16px;min-height:46px}
 #apply .consent-row input{min-height:0}
 #apply label{font-size:12px}
 #apply .form-two{grid-template-columns:1fr 1fr;gap:10px}
 #apply .native-submit{width:100%;min-height:50px;font-size:14px}
 #apply .form-note{font-size:11px;line-height:1.65}
 #detail{border-radius:24px;padding:26px;max-height:calc(100dvh - 40px);overflow:auto}
 #detail h2{font-size:30px}#detail p{font-size:14px}
 body:has(dialog[open]){overflow:hidden}
 @keyframes mobile-sheet{from{transform:translateY(24px);opacity:.7}to{transform:none;opacity:1}}
}
@media(max-width:370px){
 .wrap{padding-left:18px;padding-right:18px}
 .hero-shell .brand .header-wordmark{width:146px;height:23px}
 .hero-shell .brand .header-circus-mark{width:41px;height:41px;flex-basis:41px}
 .hero-shell .brand .header-brand-description{font-size:6px}
 .hero-copy h1{font-size:37px}
 .card h3{font-size:19px}
 .mobile-dock{gap:5px;padding-left:10px;padding-right:10px;font-size:9px}
 .mobile-dock .dock-trial{font-size:11px}
}
@media(max-width:600px) and (max-height:730px){
 .hero-shell{min-height:610px}
 .hero-shell header{height:72px}
 .hero-shell .hero{height:calc(100% - 72px);padding-top:12px}
 .hero-copy h1{font-size:36px;margin-bottom:12px}
 html[lang=uz] .hero-copy h1{font-size:32px}
 .hero-scene{height:calc(100% - 170px)}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}#apply[open]{animation:none}}
@media(max-width:600px){
 .mobile-dock a.dock-trial{display:flex;font-size:12px}
 #apply input:not([type=checkbox]),#apply select{font-size:16px!important}
 .hero-scene{object-position:78% center}
}
@media(max-width:600px){.card:nth-child(3) h3{font-size:clamp(15px,4.15vw,18px)}.card h3{hyphens:auto}.card-copy{min-width:0}}
@media(max-width:600px){html[lang=uz] .hero-copy h1{font-size:clamp(28px,7.7vw,34px);max-width:100%;line-height:1.12}}
@media(max-width:600px){html{scrollbar-width:none}html::-webkit-scrollbar{display:none}}
