/* Phase A1.1: public responsive corrections only. */
img,svg,video,iframe{max-width:100%}
.site-header,.site-footer,main{min-width:0;max-width:100%}
.mobile-menu{max-width:100%;overflow-x:clip;overflow-y:auto}

/* Provider explorer: horizontal movement belongs to the rails, never the document. */
.provider-explorer,.provider-heading,.provider-profile,.explorer-tools{min-width:0}
.provider-rail,.explorer-filters,.provider-filter-strip,.type-nav,.detail-nav{max-width:100%;min-width:0;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.provider-profile>*{min-width:0}
.provider-profile-copy h3{overflow-wrap:anywhere}

@media(max-width:800px){
  .site-header{width:100%;height:68px;padding-inline:clamp(8px,3vw,16px);gap:clamp(6px,2vw,12px);display:grid;grid-template-columns:minmax(88px,1fr) auto 44px}
  .site-header .brand-logo{min-width:0;margin:0}
  .site-header .brand-logo img{width:clamp(100px,29vw,132px);max-width:100%}
  .site-header .header-radar-access{justify-self:center;margin:0;min-width:0;min-height:40px;padding:4px 7px;gap:5px}
  .site-header .header-radar-access>i{flex:0 0 auto;width:12px;height:12px;box-shadow:0 0 0 5px #ff295a12,0 0 12px #ff295a}
  .site-header .header-radar-access>i:after{inset:-6px}
  .site-header .header-radar-name{font-size:9px;letter-spacing:.02em}
  .site-header .header-radar-live{padding:4px 6px;font-size:7px;letter-spacing:.025em}
  .site-header .menu-toggle{justify-self:end;margin:0;width:44px;height:44px;min-width:44px}
  .provider-explorer{width:100%;max-width:100%;overflow-x:clip}
  .provider-rail{width:100%;margin-inline:0;padding-inline:2px;scroll-padding-inline:2px}
  .provider-tab{flex-shrink:0}
  .provider-profile{width:100%;max-width:100%}
  .explorer-filters{width:100%}
}

@media(max-width:650px){
  /* The approved 777 asset becomes an integrated product-card illustration. */
  .home-radar-closing{position:relative;display:block;min-height:0;margin-inline:12px;isolation:isolate}
  .home-radar-closing:after{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,#0d0b1ff7 0 47%,#0d0b1fbd 65%,transparent 88%);pointer-events:none}
  .home-radar-closing-copy{position:relative;z-index:3;width:72%;padding:42px 0 44px 22px}
  .home-radar-closing-copy h2{font-size:clamp(29px,9.2vw,38px);letter-spacing:-.035em;margin:10px 0 12px}
  .home-radar-closing-copy>p{max-width:31ch;margin:0;color:#c3bbd0;font-size:12px;line-height:1.5}
  .home-radar-closing-copy ul{margin:13px 0 15px;gap:5px}
  .home-radar-closing-copy li{display:none;padding:5px 8px;font-size:8px}
  .home-radar-closing-copy li:first-child{display:block}
  .home-radar-closing-copy .actions{display:block;margin:15px 0 13px}
  .home-radar-closing-copy .actions .cta{display:block;width:max-content;max-width:100%;padding:10px 12px;font-size:11px;text-align:center}
  .home-radar-closing-copy .actions .ghost{display:inline-block;margin-top:8px;padding:0;border:0;color:#c29eff;font-size:10px}
  .home-radar-closing-copy>small{max-width:34ch;font-size:9px;line-height:1.35}
  .home-radar-closing-art{position:absolute;z-index:0;right:-12%;top:0;width:62%;height:100%;min-height:0;overflow:hidden;place-items:center}
  .home-radar-closing-art img{width:150%;max-width:none;max-height:none;object-fit:contain;object-position:center right;filter:drop-shadow(0 18px 26px #000c)}
}

@media(max-width:390px){
  .site-header{grid-template-columns:minmax(84px,1fr) auto 42px;padding-inline:8px;gap:6px}
  .site-header .brand-logo img{width:clamp(94px,28vw,110px)}
  .site-header .header-radar-access{min-height:38px;padding:4px 6px;gap:4px}
  .site-header .header-radar-access>i{width:10px;height:10px}
  .site-header .header-radar-name{font-size:8px}
  .site-header .header-radar-live{padding:4px 5px;font-size:6.5px}
  .site-header .menu-toggle{width:42px;height:42px;min-width:42px}
  .home-radar-closing{min-height:0}
  .home-radar-closing-copy{width:76%;padding:40px 0 42px 19px}
  .home-radar-closing-art{right:-17%;width:65%}
}

@media(max-width:340px){
  .site-header{grid-template-columns:minmax(76px,1fr) auto 40px;padding-inline:7px;gap:4px}
  .site-header .brand-logo img{width:90px}
  .site-header .header-radar-access{padding-inline:5px;gap:3px}
  .site-header .header-radar-access>i{width:9px;height:9px}
  .site-header .header-radar-name{font-size:7.5px}
  .site-header .header-radar-live{padding:3px 4px;font-size:6px}
  .site-header .menu-toggle{width:40px;height:40px;min-width:40px}
  .home-radar-closing{min-height:0;margin-inline:9px}
  .home-radar-closing-copy{width:79%;padding:38px 0 40px 17px}
  .home-radar-closing-copy h2{font-size:28px}
  .home-radar-closing-copy>p{font-size:11px}
  .home-radar-closing-art{right:-21%;width:69%}
}

/* Phase A1.2: preserve the complete Top 3 artwork across provider aspect ratios. */
@media(max-width:800px){
  .radar-222 .r222-card-art{display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle,#194460,#020b15)}
  .radar-222 .r222-card-art img{display:block;width:100%;height:100%;max-height:none;object-fit:contain!important;object-position:center!important}
}

@media(prefers-reduced-motion:reduce){
  .site-header .header-radar-access>i,.site-header .header-radar-access>i:after{animation:none!important}
}
