/* MPC mobile fixes (Nov 2026)
   Loaded last on every page. Only touches phone/tablet behavior.
   Does not change desktop layout, typefaces, or brand styling. */

html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
img,video,iframe,svg{max-width:100%}

@media(max-width:859px){
  /* Stop the off-canvas menu from widening the page (side scroll / zoomed out look) */
  html,body{overflow-x:hidden}
  @supports(overflow:clip){html,body{overflow-x:clip}}
  body{width:100%;position:relative}

  /* Partner hero logos had a 320px minimum width, wider than small phones */
  .hero-monogram{max-width:100%}

  /* backdrop-filter on the header traps the fixed drawer inside the header box,
     which squashed the menu to ~100px and hid most links. Header bg is ~97% opaque,
     so removing the blur on phones is visually identical. */
  header{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;filter:none!important}

  /* Closed drawer: keep it out of tab order and off the screen */
  header nav{max-height:100vh;max-height:100dvh}
  header nav:not(.open){visibility:hidden}
  header nav.open{visibility:visible}

  /* Keep the hamburger on screen on narrow phones */
  header .menu-toggle,header #toggle{flex:0 0 auto;margin-right:0}
  header > .logo, header > a:first-child, header > .brand{min-width:0;flex:0 1 auto}
  header .logo img, header > a:first-child img, header .brand img{max-width:100%}

  /* Comfortable tap targets inside the drawer */
  header nav a{min-height:36px}
  header nav .mpc-nav-submenu a{min-height:32px;display:flex!important;align-items:center}
}

/* ---------- Drawer for pages that had no mobile menu button ---------- */
@media(max-width:859px){
  html.mpc-drawer header{
    display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
    align-items:center!important;justify-content:space-between!important;
    gap:1rem!important;min-height:62px!important;padding:.72rem 1rem!important;
    text-align:left!important;
  }
  html.mpc-drawer header > a:first-child img,
  html.mpc-drawer header .brand img,
  html.mpc-drawer header .logo img{height:42px!important;width:auto!important;max-height:none!important}

  html.mpc-drawer header nav{
    position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;
    width:min(82vw,330px)!important;height:100vh!important;height:100dvh!important;margin:0!important;
    z-index:1000!important;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
    align-items:flex-start!important;justify-content:flex-start!important;gap:1.2rem!important;
    padding:5rem 2rem 2.5rem!important;background:#07152b!important;
    border:0!important;border-left:1px solid rgba(217,164,65,.22)!important;
    box-shadow:-12px 0 32px rgba(0,0,0,.35)!important;
    transform:translateX(100%)!important;
    transition:transform .32s ease,visibility 0s linear .32s!important;
    overflow-y:auto!important;-webkit-overflow-scrolling:touch;
  }
  html.mpc-drawer header nav.open{transform:translateX(0)!important;transition:transform .32s ease,visibility 0s!important}
  html.mpc-drawer header nav a{font-size:.98rem!important;letter-spacing:.07em!important;padding:.18rem 0!important;width:auto!important;white-space:nowrap!important}
  html.mpc-drawer header nav .mpc-nav-submenu a{font-size:.82rem!important}

  .mpc-injected-toggle{
    display:flex;flex-direction:column;justify-content:center;gap:5px;
    width:30px;height:24px;padding:0;margin-left:auto;background:none;border:0;cursor:pointer;
    position:relative;z-index:1001;flex:0 0 auto;-webkit-tap-highlight-color:transparent;
  }
  .mpc-injected-toggle span{display:block;width:100%;height:2px;background:#cdd1d8;border-radius:2px;transition:transform .3s ease,opacity .3s ease}
  .mpc-injected-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .mpc-injected-toggle.open span:nth-child(2){opacity:0}
  .mpc-injected-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .mpc-injected-toggle:focus-visible{outline:2px solid #cdd1d8;outline-offset:3px}

  .mpc-injected-backdrop{position:fixed;inset:0;z-index:999;background:rgba(5,5,7,.6);opacity:0;pointer-events:none;transition:opacity .3s ease}
  .mpc-injected-backdrop.open{opacity:1;pointer-events:auto}
}
@media(min-width:860px){.mpc-injected-toggle,.mpc-injected-backdrop{display:none!important}}

/* ---------- Tablets 860-1000px: desktop nav is showing, so keep sub-menus as dropdowns
   (they were expanding inline and pushing the nav past the screen edge) ---------- */
@media(min-width:860px) and (max-width:1000px){
  .mpc-nav-group{flex-direction:row!important;align-items:center!important;gap:0!important}
  .mpc-nav-submenu{display:none!important;position:absolute!important;top:calc(100% + 8px)!important;left:0!important;z-index:200!important;min-width:210px!important;padding:8px!important;background:#0d2342!important;border:1px solid rgba(240,174,60,.45)!important;border-radius:8px!important;box-shadow:0 16px 32px rgba(0,0,0,.45)!important}
  .mpc-nav-group:hover>.mpc-nav-submenu,.mpc-nav-group:focus-within>.mpc-nav-submenu{display:flex!important;flex-direction:column!important}
  nav .mpc-nav-submenu a{padding:12px 13px!important}
  header nav{flex-wrap:nowrap;gap:.7rem!important}
  header nav > a, header nav .mpc-nav-parent a{letter-spacing:.06em!important}
}
@media(min-width:860px) and (max-width:940px){
  header nav{gap:.55rem!important}
  header nav > a, header nav .mpc-nav-parent a{letter-spacing:.035em!important}
  header{padding-left:1rem!important;padding-right:1rem!important}
}

/* ---------- Cards that ran edge to edge on phones (border clipped at screen edge) ---------- */
@media(max-width:1040px){
  .mpc-action-band{width:calc(100% - 2rem);box-sizing:border-box}
  body > .testimonials-grid, main > .testimonials-grid{padding-left:1.2rem;padding-right:1.2rem;box-sizing:border-box}
}
@media(max-width:740px){
  section.artist-hero{width:calc(100% - 2rem);box-sizing:border-box;padding:2.25rem 1.25rem}
  .artist-avatar{max-width:100%;height:auto!important;aspect-ratio:1/1}
}
