/* ScaleCraft - mobile-fix.css (load LAST): navbar + Careers, smooth cursor, mobile responsive */

/* ================= NAVBAR (desktop): all 7 links incl. Careers always visible ================= */
@media(min-width:1140px){
  .sc-nav{flex-wrap:nowrap!important;gap:14px;min-height:92px!important}
  .sc-logo{flex:0 0 auto}
  .sc-logo img{height:clamp(62px,6vw,88px)!important;width:auto!important}
  .sc-topnav{display:flex!important;flex:1 1 auto;justify-content:center;min-width:0;margin:0!important;padding:0!important;gap:0!important}
  .sc-topnav a{padding:9px clamp(7px,.85vw,13px)!important;font-size:clamp(12.5px,1.05vw,14.5px)!important;white-space:nowrap}
  .sc-topnav a[href="careers.html"]:not([aria-current]){background:#fff6cf;color:#7a5a00}
  .sc-topnav a[href="careers.html"]:hover,.sc-topnav a[href="careers.html"][aria-current]{background:#ffd21f;color:#0b1e3f}
  .sc-nav-right{flex:0 0 auto;gap:10px}
  .sc-lang-btn{height:46px;padding:0 14px}
}
/* laptop/tablet/phone: links live inside MENU (Careers is in it) */
@media(max-width:1139px){
  .sc-topnav{display:none!important}
  .sc-menu{display:inline-flex!important;align-items:center;justify-content:center}
}

/* ================= CURSOR: ring glued to the pointer, zero easing ================= */
.sc-cur{display:none!important}
.sc-cur-ring{position:fixed!important;top:0!important;left:0!important;width:0!important;height:0!important;margin:0!important;border:0!important;background:none!important;
  pointer-events:none;z-index:99999;opacity:0;will-change:transform;transition:opacity .15s!important;mix-blend-mode:normal}
.sc-cur-ring::before{content:"";position:absolute;left:-15px;top:-15px;width:30px;height:30px;box-sizing:border-box;border:2px solid #3da5d9;border-radius:50%;
  transition:transform .14s ease-out,background-color .14s,border-color .14s}
.sc-cur-ring.hov::before{transform:scale(1.45);background:rgba(255,210,31,.28);border-color:#ffd21f}
.sc-cur-ring.down::before{transform:scale(.75)}
@media(hover:none),(pointer:coarse){.sc-cur-ring{display:none!important}}

/* less GPU work = smoother pointer */
.sc-glow{filter:none!important}
.sc-header{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(255,255,255,.97)!important}
#networkCanvas{opacity:.4}

/* ================= MOBILE / TABLET RESPONSIVE ================= */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{max-width:100%;overflow-x:clip}
img,svg,video,canvas,iframe{max-width:100%}
table{display:block;max-width:100%;overflow-x:auto}
.sc-shell{width:min(1240px,calc(100% - 48px))}

@media(max-width:1000px){
  .sc-menu-panel{max-height:calc(100vh - 110px);max-height:calc(100dvh - 110px);overflow-y:auto;-webkit-overflow-scrolling:touch}
  .sc-menu-panel a{display:block;padding:14px 16px!important;font-size:16px}
  .sc-lang-list{right:0;max-width:calc(100vw - 32px)}
  .tm-grid,.pf-grid,.cr-grid,.sn-grid{max-width:100%}
}

@media(max-width:700px){
  .sc-shell{width:calc(100% - 28px)}
  .sc-header{padding:10px 0 6px!important}
  .sc-nav{min-height:68px!important;gap:8px;flex-wrap:nowrap}
  .sc-logo img{height:54px!important;width:auto!important}
  .sc-nav-right{gap:8px;flex-shrink:0}
  .sc-lang-btn{height:44px!important;padding:0 11px!important;font-size:13px!important}
  .sc-menu{min-width:76px;height:44px!important;padding:0 14px}
  .sc-section{padding:56px 0!important}
  .sc-glow,#networkCanvas{display:none!important}

  h1{font-size:clamp(32px,10vw,46px)!important;line-height:1.05!important;word-break:break-word}
  h2{font-size:clamp(26px,8vw,38px)!important;line-height:1.1!important;word-break:break-word}
  h3{font-size:clamp(18px,5.4vw,22px)}
  p,li{font-size:15px}

  .sc-hero h1{font-size:clamp(34px,10.5vw,50px)!important}
  .sc-actions{flex-direction:column;align-items:stretch}
  .sc-actions .sc-btn,.sc-btn{width:100%;justify-content:center;min-height:48px}
  .sc-two-col,.sc-proof-grid,.sp-wrap,.sv-hero .sc-shell,.pl-wrap,.sc-contact,.bd-wrap{grid-template-columns:1fr!important;gap:22px!important}
  .sc-cards3,.sc-process-grid,.sc-stat-grid,.cr-grid,.cr-perks,.pf-grid,.tm-grid,.sn-grid,.sp-list,.sv-steps,.ct-notes,.bd-row{grid-template-columns:1fr!important}
  .sc-cards3{justify-items:center}
  .sc-cards3>*{width:min(100%,360px)!important;max-width:100%}
  .pf-stats,.tm-stats,.sc-stat-grid.sc-stats4{grid-template-columns:1fr 1fr!important;gap:14px!important}
  .pf-grid{justify-content:stretch;gap:30px!important}
  .pf-grid>*{max-width:100%}
  .sc-footer .sc-shell{grid-template-columns:1fr!important;gap:26px!important}
  .sc-footer-bottom{flex-direction:column!important;align-items:flex-start!important;gap:8px!important}
  .sc-final-cta .sc-shell{flex-direction:column!important;align-items:flex-start!important;gap:20px!important}

  /* forms: 16px stops iOS zoom-on-focus, big tap targets */
  input,select,textarea,.sc-form input,.sc-form textarea{font-size:16px!important;min-height:48px}
  textarea{min-height:110px}
  .bd-slot span{padding:12px 8px}
  .pf-filter,.pf-filter button{min-height:44px}
  .pf-filters,.pf-filter-row{display:flex;flex-wrap:wrap;gap:8px}

  .sc-wa{width:52px;height:52px;right:12px;bottom:12px}
  .sc-faq summary,.sv-faq summary,.bd-faq summary{padding:16px 14px;font-size:14.5px}
}

@media(max-width:380px){
  .sc-logo img{height:46px!important}
  .sc-lang-btn span{display:none}
  .sc-menu{min-width:68px}
  .pf-stats,.tm-stats,.sc-stat-grid.sc-stats4{grid-template-columns:1fr!important}
}


/* ================= v2: smaller MENU panel + balanced fonts ================= */
/* MENU dropdown: compact */
@media(min-width:1001px){
  .sc-menu-panel{width:220px!important;padding:8px!important;gap:0!important;border-radius:14px!important;right:40px!important;top:calc(100% - 6px)!important}
  .sc-menu-panel a{padding:8px 12px!important;font-size:14px!important;line-height:1.25;border-radius:8px}
  .sc-menu-panel .sc-menu-cta{margin-top:6px!important;padding:10px 12px!important;font-size:14px!important}
}
@media(max-width:1000px){
  .sc-menu-panel{left:auto!important;right:14px!important;width:min(250px,calc(100% - 28px))!important;padding:8px!important}
  .sc-menu-panel a{padding:10px 12px!important;font-size:15px!important}
}

/* Kicker labels (CAREERS, INTERNSHIPS...) were tiny -> readable */
.sc-kicker{font-size:14px!important;font-weight:800!important;letter-spacing:.16em!important;margin-bottom:16px!important}
.sc-page-hero p,.sc-lead,.sc-intro-copy p{font-size:17px!important;line-height:1.7!important}

/* Oversized headings -> calmer sizes (desktop/tablet; phone sizes are set above) */
@media(min-width:701px){
  .sc-hero h1{font-size:clamp(46px,6.2vw,88px)!important;line-height:1!important}
  .sc-page-hero h1,.sc-sv-hero h1,.sv-hero h1,.tm-hero h1{font-size:clamp(42px,5.6vw,78px)!important;line-height:1.02!important}
  .sc-intro h2,.sc-expertise h2,.sc-proof h2,.sc-about h2,.sc-sv-head h2,.sv-h2{font-size:clamp(34px,4.2vw,58px)!important;line-height:1.02!important}
  .sc-final-cta h2{font-size:clamp(38px,5vw,70px)!important}
  .cr-h2{font-size:clamp(30px,3.6vw,46px)!important}
}
/* Careers cards: readable text */
.cr-course h3{font-size:20px}.cr-course p{font-size:15px}
.cr-perk b{font-size:17px}.cr-perk span{font-size:14.5px}
.cr-badges span{font-size:14px}.cr-meta span{font-size:13px}.cr-link{font-size:13px}
.sn-card .sn-in small,.sc-note small{font-size:14px}
