/* Step Wars — site-wide responsive safeguards */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}img,svg,video,canvas{max-width:100%;height:auto}button,input,select,textarea{max-width:100%}body{overflow-x:hidden}.section,.wrap,.page{width:min(100%,1120px)}

/* Main landing + public journey: fluid intermediate widths */
@media (min-width:721px) and (max-width:1100px){
  .top{padding-left:clamp(18px,3vw,34px)!important;padding-right:clamp(18px,3vw,34px)!important}.nav{gap:clamp(10px,1.8vw,20px)!important}.nav a{font-size:clamp(8px,1vw,10px)!important;letter-spacing:clamp(.7px,.12vw,1.5px)!important}
  .heroInner{width:min(860px,94vw)!important}.hero .brand{width:min(560px,68vw)!important}.hero h1{font-size:clamp(38px,5.05vw,56px)!important;letter-spacing:clamp(-3px,-.22vw,-1.8px)!important}.hero .heroTransmission{font-size:clamp(9px,1.05vw,11px)!important;letter-spacing:clamp(2px,.3vw,3.4px)!important}
  .section{padding-left:clamp(20px,4vw,44px)!important;padding-right:clamp(20px,4vw,44px)!important}.battleGrid{grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr)!important}.contenderGrid{max-width:92vw!important}.contender{width:min(500px,58vw)!important}
}

/* Desktop landing: create a deliberate 3x gap between date and decoded subtitle */
@media (min-width:721px){
  .hero .dates{margin-bottom:0!important}
  .hero .heroTransmission{margin-top:clamp(54px,7vh,84px)!important}
}

/* Short desktop/laptop screens: keep full hero controls visible while retaining a clear date/subtitle gap */
@media (min-width:721px) and (max-height:760px){
  .hero{padding-top:10px!important;padding-bottom:58px!important}.heroInner{transform:scale(.72)!important}.hero .kicker{margin-bottom:14px!important}.hero .dates{margin-top:14px!important;margin-bottom:0!important}.hero .heroTransmission{margin-top:42px!important}.hero h1{margin-bottom:28px!important}.enter{bottom:6px!important}
}
@media (min-width:721px) and (max-height:620px){.heroInner{transform:scale(.62)!important}.hero .heroTransmission{margin-top:32px!important}.enter{font-size:7px!important}.enter i{font-size:21px!important}}

/* Phones and narrow devices */
@media (max-width:720px){
  body{min-width:0}.section,.wrap,.page{max-width:100%!important}.section{padding-left:clamp(14px,4.2vw,20px)!important;padding-right:clamp(14px,4.2vw,20px)!important}
  .hero{min-height:100svh!important;height:100svh!important}.heroInner{max-width:min(430px,100%)!important}.hero .brand{max-width:82vw!important}.hero h1{max-width:calc(100vw - 16px)!important}.hero .heroTransmission{max-width:calc(100vw - 28px)!important;font-size:clamp(7px,2.35vw,9px)!important;letter-spacing:clamp(1.5px,.75vw,3px)!important}
  .battleStats{gap:8px!important}.battleStats div{min-width:0!important}.battleGrid{min-width:0!important}.teamRanks,.walkerRanks,.mobileWalkerBoard{min-width:0!important}.rankLine{min-width:0!important}.rankLine strong{overflow-wrap:anywhere}.walker{min-width:0!important}.walker>*{min-width:0}.contenderGrid{max-width:100vw!important}.contender{max-width:84vw!important}
  .steps{min-width:0!important}.step{min-width:0!important}.btn{max-width:100%}
  .mobilebar,.swNav{max-width:100vw}.mobilebar a{min-width:0}.swNavItem{min-width:0}
}
@media (max-width:390px){
  .hero .kicker{font-size:8px!important;letter-spacing:3px!important}.hero .dates{font-size:9px!important;letter-spacing:2.2px!important}.hero h1{font-size:clamp(30px,11vw,43px)!important}.heroSubmitCue{font-size:10px!important}.section h2,.mobileWalkerHead h2{font-size:clamp(28px,9vw,34px)!important}.battleStats b{font-size:26px!important}.contender{max-width:88vw!important}.mobilebar a{font-size:6px!important}
}
@media (max-width:340px){.hero h1{font-size:clamp(27px,10.5vw,36px)!important}.hero .heroTransmission{letter-spacing:1px!important}.evidenceActions{grid-template-columns:1fr!important}.walker{grid-template-columns:34px minmax(0,1fr) auto!important;gap:7px!important}.steps{font-size:13px!important}}

/* Landscape phones: avoid clipping while preserving mobile navigation */
@media (max-width:900px) and (max-height:500px) and (orientation:landscape){
  .hero{height:auto!important;min-height:100svh!important;padding-top:18px!important;padding-bottom:82px!important;overflow:visible!important}.heroInner{height:auto!important;transform:none!important}.hero .brand{width:min(260px,42vw)!important;max-height:130px!important}.hero .kicker{margin-bottom:8px!important}.hero .dates{margin:8px 0 12px!important}.hero .heroTransmission{margin-top:0!important}.hero .actions{margin-bottom:0!important}.hero h1{font-size:clamp(28px,6vw,46px)!important;margin-bottom:12px!important}.heroSubmitCue{position:relative!important;left:auto!important;bottom:auto!important;transform:none!important;margin:14px auto 0!important}.heroBattleCue{bottom:8px!important}.swNav{height:62px!important}.swNavTrack{height:54px!important}.swNavItem{height:48px!important}
}

/* Submit / command-centre style subpages */
@media (min-width:601px) and (max-width:900px){.wrap{width:min(650px,92vw)!important;padding-left:0!important;padding-right:0!important}.top{padding-left:clamp(16px,4vw,32px)!important;padding-right:clamp(16px,4vw,32px)!important}}
@media (max-width:600px){.wrap{width:100%!important;padding-left:clamp(14px,4.5vw,20px)!important;padding-right:clamp(14px,4.5vw,20px)!important}.card{width:100%;min-width:0}.title{font-size:clamp(30px,9vw,36px)!important}.personPanel{max-width:100%}.evidenceActions{min-width:0}.evidenceBtn{min-width:0}.evidenceCopy strong{overflow-wrap:anywhere}}

/* Top walkers */
@media (max-width:720px){.page{padding-left:clamp(14px,4vw,20px)!important;padding-right:clamp(14px,4vw,20px)!important}.title{font-size:clamp(36px,12vw,58px)!important}.walker{grid-template-columns:clamp(32px,10vw,40px) minmax(0,1fr) auto!important;padding-left:clamp(10px,4vw,15px)!important;padding-right:clamp(10px,4vw,15px)!important}.name,.meta{max-width:100%}.steps{white-space:nowrap}}

/* Large / ultrawide displays: retain readable measure instead of stretching */
@media (min-width:1600px){.section{max-width:1240px}.heroInner{max-width:980px}.battleGrid{gap:18px}.contenderGrid{max-width:1080px!important}}
