/* ==========================================================================
   BAB · 10-responsive.css
   Cross-device consistency layer and mobile constellation labels
   NOTE: file number = load order. Later files intentionally override earlier ones.
   ========================================================================== */

/*@layer b20*/
/* ===== Cross-device consistency layer ===== */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;overflow-x:clip;scroll-padding-top:calc(76px + env(safe-area-inset-top,0px))}
body{overflow-x:clip;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,video,canvas{max-width:100%}
h1,h2,h3{overflow-wrap:break-word}
button{font-family:inherit;-webkit-tap-highlight-color:transparent}
.wrap{padding-left:max(22px,env(safe-area-inset-left));padding-right:max(22px,env(safe-area-inset-right))}

/* one shared edge for header and hero on wide screens */
header.top .wrap,.hero2 .wrap{max-width:1320px;padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right))}
header.top .wrap{flex-wrap:nowrap;min-height:72px;padding-top:10px;padding-bottom:10px}
header.top nav{flex-wrap:nowrap;align-items:center}
.menu-toggle{display:none}

/* tablet + phone header: logo + menu button, links in a panel */
@media (max-width:820px){
  header.top .wrap{min-height:64px}
  .brand .logo-h{height:30px}
  .menu-toggle{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:46px;height:46px;margin-right:-8px;background:none;border:0;border-radius:12px;cursor:pointer}
  .menu-toggle span{display:block;width:24px;height:2px;border-radius:2px;background:#EFEFEF;transition:transform .25s ease,opacity .2s ease}
  header.top.open .menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  header.top.open .menu-toggle span:nth-child(2){opacity:0}
  header.top.open .menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  header.top nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:6px;padding:10px max(24px,env(safe-area-inset-left)) 22px;background:#0B0B0B;border-bottom:1px solid #262626;box-shadow:0 24px 40px rgba(0,0,0,.55)}
  header.top.open nav{display:flex;animation:babMenuIn .22s ease both}
  header.top nav button{width:100%;min-height:48px;text-align:left;border-radius:12px;padding:12px 14px;font-size:15px;letter-spacing:2px}
  header.top nav button.on{background:rgba(255,255,255,.08);color:#fff}
  .top nav button.event-bab-cta{width:100%;justify-content:center;text-align:center;margin-top:6px}
}
@keyframes babMenuIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

/* decorative line behind the headline hurts legibility below desktop */
@media (max-width:900px){.wave,.hero2 .wave{display:none!important}}

/* touch devices: comfortable targets, no sticky hover states */
@media (pointer:coarse){
  .btn,.btn2,.vzchip,.chipb,.rt,.pbtn,.menu-toggle{min-height:44px}
}
@media (hover:none){
  .card:hover,.pcard:hover,.btn:hover,.btn2:hover{transform:none!important}
}

/* short landscape phones: don't let a sticky header eat the screen */
@media (max-height:520px) and (orientation:landscape){
  header.top{position:relative}
  html{scroll-padding-top:0}
}

/* very small phones */
@media (max-width:360px){
  .wrap{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
  header.top .wrap{padding-left:16px;padding-right:16px}
  h2{font-size:clamp(26px,8vw,34px)}
}
@media (max-width:820px){header.top nav{max-height:calc(100vh - 72px);max-height:calc(100dvh - 72px);overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
#welcome .vzsec.b .eyebrow{text-align:center}
@media (max-width:820px){header.top nav button.on{border-bottom:0!important;box-shadow:inset 3px 0 0 #fff}}

/* --- phones: the labels live in the list below the band, so hide the tiny duplicates --- */
@media (max-width:600px){
  #bandsvg .label-group{display:none}
  #bandsvg{margin-top:-17%;margin-bottom:-9%;pointer-events:none}
}
/* --- performance: no live blur filters over animated art, glow pulses use opacity only --- */
#bandsvg{filter:none!important}
#welcome #who-we-are .orbwrap,#welcome #who-we-are .bab-orb-stage{filter:none!important}
.club-beam{mix-blend-mode:normal!important}
@keyframes cuffBandPulse{0%,100%{opacity:.82}50%{opacity:1}}
@keyframes nightBandPulse{0%,100%{opacity:.82}50%{opacity:1}}
@keyframes paceBandGlow{from{opacity:.82}to{opacity:1}}
@keyframes comicStagePulse{0%,100%{opacity:.85}50%{opacity:1}}
/* animations sleep while their section is off screen */
.bab-off,.bab-off *,.bab-off *::before,.bab-off *::after{animation-play-state:paused!important}

/*@layer b24*/
/* On phones, replace the crowded callouts and four-row list with one rotating label. */
.mobile-callout{display:none}
@media(max-width:600px){
  #bandsvg .label-group{display:none!important}
  #bandsvg{margin-top:-17%;margin-bottom:-4%;pointer-events:none}
  .feat{display:none!important}
  .mobile-callout{display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:3px;align-items:baseline;min-height:66px;margin:0 0 10px;padding:10px 2px 12px;border-bottom:1px solid rgba(220,220,220,.22);animation:mobileCalloutFade .7s ease both}
  .mobile-callout-kicker{grid-row:1 / span 2;font:500 10px/1.4 'Outfit',sans-serif;letter-spacing:1px;color:#8F9A99;white-space:nowrap}
  .mobile-callout-title{font:600 12px/1.35 'Outfit',sans-serif;letter-spacing:1.3px;color:#EFEFEF}
  .mobile-callout-description{font:400 12px/1.45 'Outfit',sans-serif;color:#C4C4C4}
  .mobile-callout-rule{grid-column:2;width:38px;height:1px;margin-top:5px;background:linear-gradient(90deg,#EFEFEF,transparent)}
}
@keyframes mobileCalloutFade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.mobile-callout{animation:none!important}}
