/* Mobile menu: used wherever site.css hides the desktop menu (980px and below) */
.mm-btn,.mm-panel{display:none}
@media(max-width:980px){
  header .nav{gap:10px}
  header .navcta{margin-left:auto}
  .mm-btn{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.02);color:var(--text);cursor:pointer}
  .mm-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  .mm-btn .mm-x,.mm-btn[aria-expanded=true] .mm-bars{display:none}
  .mm-btn[aria-expanded=true] .mm-x{display:block}
  .mm-panel.open{display:block;position:absolute;top:100%;left:0;right:0;max-height:calc(100vh - 72px);max-height:calc(100dvh - 72px);overflow-y:auto;overscroll-behavior:contain;background:var(--bg);border-block:1px solid var(--line);box-shadow:0 30px 60px -20px #000}
  .mm-panel .wrap{padding-top:10px;padding-bottom:24px}
  .mm-panel a:not(.btn){display:flex;flex-direction:column;justify-content:center;min-height:48px;padding:8px 4px;color:var(--text);font-weight:600;font-size:17px;border-bottom:1px solid var(--line)}
  .mm-panel a:not(.btn):hover,.mm-panel a[aria-current]{color:var(--cyan)}
  .mm-panel .mm-sub{border-bottom:1px solid var(--line);padding:4px 0 8px 14px}
  .mm-panel .mm-sub a{border:0;min-height:52px}
  .mm-panel .mm-sub b{font-size:15px;font-weight:600}
  .mm-panel .mm-sub span{font-size:13px;font-weight:400;color:var(--muted)}
  .mm-cta{display:grid;gap:10px;margin-top:18px}
  .mm-cta .btn{justify-content:center}
  html.mm-lock{overflow:hidden}
}
/* Header spacing: room for the longer Case Studies menu label */
@media(min-width:981px) and (max-width:1240px){.menu>div>a{padding:10px 8px}}
@media(min-width:1341px){header .nav{max-width:1320px}}
/* Small-screen layout fixes: keep cards and logos inside the page */
@media(min-width:981px) and (max-width:1240px){.partners .wrap{grid-template-columns:220px minmax(0,1fr);gap:24px}.plogos{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.partners .wrap,.phead{grid-template-columns:minmax(0,1fr)}.plogos,.models,.inds,.overview,.facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.plogo{padding:14px 12px;gap:10px}.plogo svg{width:30px;height:30px}.model,.ind,.ov{padding:22px 18px}}
@media(max-width:400px){.inds,.models{grid-template-columns:minmax(0,1fr)}.ind{min-height:0}}
@media(max-width:360px){.plogos,.overview,.facts{grid-template-columns:minmax(0,1fr)}}
/* Room for the Careers dropdown arrow where the header is tightest */
@media(min-width:1101px) and (max-width:1180px){.menu>div>a{padding:10px 5px}}
@media(min-width:1341px){.menu>div>a{padding:10px 9px}}
