/* Carlos V2 mobile release: preserve cinematic desktop, correct mobile
   legibility, fade bugs, focus/tap targets and fit without horizontal overflow. */
@media(max-width:800px){
  .scrolly-enabled .scroll-scene.active{
    opacity:1!important;
    filter:none!important;
    transform:none!important;
  }
  .scrolly-enabled .scroll-scene.active .scene-copy,
  .scrolly-enabled .scroll-scene.active .scene-inner{
    opacity:1!important;filter:none!important;
  }
  .scrolly-enabled .scroll-scene.active h2,
  .scrolly-enabled .scroll-scene.active p{
    text-shadow:0 2px 15px rgba(0,0,0,.8);
  }
  .scrolly-enabled .scroll-scene.active a{
    background:#244e3d;color:#fff;border:1px solid #6ca88d;
    min-height:44px;max-width:100%;box-sizing:border-box;
    white-space:normal;line-height:1.35;
  }
  .scrolly-enabled .scene-intro{background:#05070b!important}
  .scrolly-enabled .scene-app,.scrolly-enabled .scene-data{background:#04060a!important}
  .scrolly-enabled .hero-corner,.scrolly-enabled .packed-label{
    font-size:clamp(11px,3vw,13px)!important;
    letter-spacing:.055em!important;line-height:1.5!important;
  }
  .scrolly-enabled .hero-heading{
    font-size:clamp(36px,9.1vw,58px)!important;
    line-height:1.09!important;
    max-width:calc(100% - 32px)!important;
    margin-inline:16px!important;
    text-wrap:balance;overflow-wrap:normal;
  }
  .scrolly-enabled .scene-intro .scene-inner{
    max-width:90%!important;
    width:90%!important;
    right:5%!important;left:5%!important;
    text-align:center!important;
  }
  .scrolly-enabled .scene-intro .scene-inner p{
    color:#f3f0fa!important;font-size:clamp(14px,3.9vw,17px)!important;line-height:1.5!important;
  }
  .scrolly-enabled .scene-app .scene-copy h2,
  .scrolly-enabled .scene-data .scene-copy h2{
    font-size:clamp(29px,8.2vw,40px)!important;
    line-height:1.13!important;
  }
  .scrolly-enabled .scene-app .scene-copy p,
  .scrolly-enabled .scene-data .scene-copy p{
    color:#f0eef5!important;font-size:clamp(14px,3.75vw,17px)!important;
    line-height:1.48!important;
  }
  .scrolly-enabled .scene-app .scene-flex,.scrolly-enabled .scene-data .scene-flex{
    min-width:0;max-width:100%;padding-inline:clamp(15px,5vw,26px)!important;
  }
  .scrolly-enabled .scene-app .scene-copy,.scrolly-enabled .scene-data .scene-copy{min-width:0;max-width:100%}
  .packed-shade{background:linear-gradient(180deg,rgba(0,0,0,.19),rgba(0,0,0,.49) 45%,rgba(0,0,0,.66))}
  .llm-strip{max-width:100%;overflow:hidden}
  #site-footer .footer-col a,#site-footer .footer-social a,#site-footer .footer-cta,
  #site-footer .footer-backtop,#site-footer .footer-legal-links a{
    min-height:44px;display:inline-flex;align-items:center;
  }
  #site-footer .footer-social a{min-width:44px;justify-content:center}
  .header .mobile-trigger{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  .hero-corner,.packed-label{max-width:calc(100% - 34px);text-wrap:balance}
}
@media(max-width:420px){
 .scrolly-enabled .scene-intro .scene-inner h2{font-size:clamp(28px,8vw,37px)!important}
 .scrolly-enabled .scroll-scene .scene-kicker{font-size:11px!important}
 .scrolly-enabled .scene-app .scene-flex,.scrolly-enabled .scene-data .scene-flex{gap:13px!important}
 #site-footer .footer-top{gap:20px 16px}
}
@media(prefers-reduced-motion:reduce){
  .scrolly-enabled .scroll-scene{transition:none!important;filter:none!important}
  .scrolly-enabled .scroll-scene.active{opacity:1!important}
  .scrolly-enabled .scroll-scene.active .scene-inner,
  .scrolly-enabled .scroll-scene.active .scene-copy{opacity:1!important}
  .packed-shard,.packed-film-viewport,.float-image,.llm-track{animation:none!important}
}
