/* Refinement V3 — BAYT editorial hierarchy, mobile stage sizing, and verified content. */
#byat .byat-panel-subtitle{
  font-size:clamp(11px,.92vw,13px)!important;font-weight:650!important;
  letter-spacing:.13em!important;line-height:1.3!important;
  text-transform:uppercase;color:var(--brand-primary)!important;margin:0!important;
}
#byat .exterior-panel:first-child .bayt-epigraph{
  margin:clamp(4px,.5vw,9px) 0 0!important;padding:0 0 0 clamp(10px,.9vw,15px);
  border-left:2px solid var(--brand-primary);
  color:var(--brand-white)!important;font-style:italic;font-weight:450;
  font-size:clamp(15px,1.22vw,20px)!important;line-height:1.38!important;
}
#byat .exterior-panel:first-child .bayt-epigraph-author{
  font-size:clamp(10px,.83vw,13px)!important;line-height:1.38!important;
  color:var(--brand-muted)!important;font-weight:450;letter-spacing:normal!important;
}
/* Text matching the gallery is highlighted with weight as well as the existing accent. */
#byat .elevation-description.is-active{font-weight:700!important}
#byat .elevation-description.is-inactive{font-weight:400!important}
/* Desktop keeps source text next to source drawings. The mobile alternate is independent. */
#byat .mobile-dynamic-caption{display:none}
#byat .exterior-panel .photo-stage{min-width:0}
#byat .exterior-drawings.elevation-editorial .photo-stage,
#byat .exterior-drawings.elevation-editorial .photo-slide{background-color:var(--brand-plum)!important}
#byat .exterior-drawings.elevation-editorial .photo-stage .photo-slide{
  object-fit:contain!important;object-position:center center!important;
}
@media(max-width:900px){
 #byat .exterior-panel{
   box-sizing:border-box!important;min-height:0!important;
   gap:var(--ds-bayt-caption-gap)!important;
 }
 #byat .exterior-panel>.byat-copy{
   padding:clamp(9px,2.6vw,16px)!important;
   padding-right:clamp(9px,2.6vw,16px)!important;
   gap:clamp(4px,.85svh,8px)!important;
   min-height:0!important;overflow:visible!important;
   flex:none!important;display:flex!important;flex-direction:column!important;
   text-align:left!important;text-align-last:left!important;
   hyphens:none!important;-webkit-hyphens:none!important;
 }
 #byat .exterior-panel .byat-copy :is(h2,p,blockquote){margin:0!important}
 #byat .exterior-panel>.byat-copy h2{
   font-size:clamp(25px,6.5vw,34px)!important;
   line-height:1.07!important;letter-spacing:-.04em!important;
   padding:0!important;
 }
 #byat .exterior-panel .byat-panel-subtitle{font-size:11px!important;margin:2px 0 7px!important}
 #byat .exterior-panel .render-kicker{
   font-size:clamp(9px,2.4vw,11px)!important;line-height:1.33!important;
   letter-spacing:normal!important;max-width:none!important;
   margin:3px 0 5px!important;color:var(--brand-muted)!important;
 }
 #byat .exterior-panel:first-child .byat-copy{
   gap:clamp(5px,.9svh,10px)!important;
   height:auto!important;max-height:none!important;
 }
 #byat .exterior-panel:first-child .byat-copy .editorial-mobile{
   font-size:clamp(12px,3.05vw,14px)!important;line-height:1.42!important;
 }
 #byat .exterior-panel:first-child .bayt-epigraph{
   font-size:clamp(13px,3.65vw,16px)!important;line-height:1.35!important;
   padding-left:10px!important;border-left-width:2px;
 }
 #byat .exterior-panel:first-child .bayt-epigraph-author{font-size:10px!important;line-height:1.35!important}
 #byat .exterior-panel:first-child>.photo-gallery{
   display:flex!important;flex:1 1 auto!important;min-height:180px!important;
   justify-content:stretch!important;
 }
 #byat .exterior-panel:first-child .photo-stage{
   flex:1 1 auto!important;height:auto!important;min-height:170px!important;
 }
 #byat .exterior-panel:first-child .photo-stage .photo-slide{object-fit:cover!important}
 /* Read three plan narratives below their 4 images, not in a nested scroller. */
 #byat .exterior-panel.plan-editorial>.byat-copy{
   order:0!important;gap:6px!important;
 }
 #byat .exterior-panel.plan-editorial>.byat-copy .render-kicker{display:none!important}
 #byat .exterior-panel.plan-editorial>.byat-copy .editorial-desktop{display:none!important}
 #byat .exterior-panel.plan-editorial>.photo-gallery{
   order:1!important;flex:0 1 auto!important;min-height:0!important;
   gap:clamp(5px,1vw,10px)!important;
 }
 #byat .exterior-panel.plan-editorial .photo-stage{
   width:100%!important;height:var(--ds-bayt-mobile-plan-stage-height)!important;
   min-height:0!important;max-height:var(--ds-bayt-mobile-plan-stage-height)!important;
   flex:0 0 auto!important;aspect-ratio:auto!important;
   border-radius:var(--brand-radius-photo)!important;
 }
 #byat .exterior-panel.plan-editorial .photo-slide{
   object-fit:cover!important;object-position:center!important;
 }
 #byat .exterior-panel.plan-editorial .photo-stage .photo-arrow,
 #byat .exterior-panel.elevation-editorial .photo-stage .photo-arrow{
   width:var(--ds-bayt-gallery-controls-mobile)!important;
   height:var(--ds-bayt-gallery-controls-mobile)!important;
   min-width:var(--ds-bayt-gallery-controls-mobile)!important;
   min-height:var(--ds-bayt-gallery-controls-mobile)!important;
   font-size:24px!important;
 }
 #byat .exterior-panel.plan-editorial .photo-dots,
 #byat .exterior-panel.elevation-editorial .photo-dots{
   height:23px!important;min-height:23px!important;
 }
 #byat .exterior-panel .mobile-dynamic-caption{
   display:block!important;order:2!important;
   flex:0 0 auto!important;min-height:0!important;
   margin:0 clamp(8px,2.5vw,16px)!important;
   padding:0!important;
   text-align:left!important;
 }
 #byat .mobile-dynamic-caption p{
   display:none!important;margin:0!important;
   color:var(--brand-paper)!important;
   font-size:clamp(12px,3.1vw,14px)!important;line-height:1.43!important;
   font-weight:400!important;
 }
 #byat .mobile-dynamic-caption p.is-active{display:block!important}
 #byat .mobile-dynamic-caption strong{color:var(--brand-primary);font-weight:700}
 /* Elevation: fixed title and lead, larger centered opaque picture, then live note. */
 #byat .exterior-panel.elevation-editorial>.byat-copy{
   order:0!important;gap:clamp(4px,.8svh,8px)!important;
   padding:clamp(10px,2.6vw,16px)!important;
 }
 #byat .exterior-panel.elevation-editorial .byat-copy .elevation-description,
 #byat .exterior-panel.elevation-editorial .byat-copy .elevation-materials.editorial-desktop{
   display:none!important;
 }
 #byat .exterior-panel.elevation-editorial .byat-copy .elevation-lead{
   display:block!important;font-size:clamp(12px,3.1vw,14px)!important;
   line-height:1.42!important;margin:4px 0 0!important;
 }
 #byat .exterior-panel.elevation-editorial .byat-copy .elevation-materials.editorial-mobile{
   display:block!important;color:var(--brand-muted)!important;
   font-size:clamp(10px,2.75vw,12px)!important;line-height:1.4!important;
   margin:1px 0 0!important;
 }
 #byat .exterior-panel.elevation-editorial>.photo-gallery{
   order:1!important;flex:0 1 auto!important;min-height:0!important;
   justify-content:flex-start!important;gap:6px!important;
 }
 #byat .exterior-panel.elevation-editorial .photo-stage{
   width:100%!important;height:var(--ds-bayt-mobile-elevation-stage-height)!important;
   min-height:0!important;max-height:var(--ds-bayt-mobile-elevation-stage-height)!important;
   flex:none!important;border-radius:var(--brand-radius-photo)!important;
   background-color:var(--brand-plum)!important;
 }
 #byat .exterior-panel.elevation-editorial .photo-stage .photo-slide{
   width:100%!important;height:100%!important;object-fit:contain!important;
   background-color:var(--brand-plum)!important;
 }
 #byat .exterior-panel.elevation-editorial .elevation-mobile-caption p.is-active{
   color:var(--brand-white)!important;font-weight:700!important;
 }
 #byat .exterior-panel.elevation-editorial .elevation-mobile-caption{
   padding-top:5px!important;
   border-top:1px solid color-mix(in srgb,var(--brand-white) 15%,transparent);
 }
}
