/* bad.events · BAD artists ("MEET THE BADDIES.") · the pair · rev 2, 17 Nov 2026, the Designer.
   Load after /_static/bad.css:  <link rel="stylesheet" href="/_static/bad-artists-pair.css">
   Only touches #artists (.bx-artists, .bx-roster, .bx-artist); every other section keeps bad.css as it is.
   What it does: cards fill the width, numbered 01 · 02 (CSS counter, no markup); the photos sit as one diptych with a thin seam;
   name, genre line, bio and link row line up across the cards (subgrid, flex fallback); bigger names; on a wide screen the head
   stands as a poster column beside the pair, with JOIN THE BAD ROSTER level with the cards' links; on hover the photo lifts
   and a red bar slides in under it (its own layer, so the photo's grey filter leaves it red; one red at a time). The kit stays: ink, bone, Anton, Poppins, tracked caps, square corners. */

.bx-artists .bx-roster{counter-reset:bx-artist;grid-template-columns:minmax(0,1fr);gap:48px}
.bx-artists .bx-artist{position:relative;counter-increment:bx-artist}
.bx-artists .bx-artist::before{content:counter(bx-artist,decimal-leading-zero);position:absolute;top:0;left:0;z-index:1;padding:8px 9px 7px 10px;
  background:var(--ink);color:var(--bone);font-size:12px;font-weight:600;line-height:1;letter-spacing:.22em}
.bx-artists .bx-artist img,.bx-artists .bx-artist video{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;
  filter:grayscale(1) contrast(1.05);transition:filter .45s ease}
.bx-artists .bx-artist::after{content:"";position:absolute;top:0;left:0;width:100%;aspect-ratio:4/5;pointer-events:none;
  box-shadow:0 4px 0 var(--red);transform:scaleX(0);transform-origin:left;transition:transform .35s ease}
.bx-artists .bx-artist h3{margin-top:18px;font-size:40px}
.bx-artists .bx-artist .bx-muted{font-size:14px;max-width:46ch}

/* two up: the pair, rows lined up across the cards */
@media (min-width:600px){
  .bx-artists .bx-roster{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:6px;row-gap:0;margin-bottom:-56px}
  .bx-artists .bx-artist{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0;padding-bottom:56px}
  .bx-artists .bx-artist>:not(img):not(video){padding-right:28px}
  .bx-artists .bx-artist-links{align-self:start;align-content:flex-start}
}
@supports not (grid-template-rows:subgrid){
  @media (min-width:600px){.bx-artists .bx-artist{display:flex;flex-direction:column}.bx-artists .bx-artist-links{margin-top:auto;padding-top:12px}}
}
@media (min-width:900px){.bx-artists .bx-artist h3{font-size:46px}}

/* wide: the head as a poster column, the pair beside it */
@media (min-width:960px){
  .bx-artists{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);column-gap:24px;max-width:calc(var(--max) + 2 * var(--gutter));margin-inline:auto}
  .bx-artists .bx-head{display:flex;flex-direction:column;align-items:flex-start;gap:12px;max-width:none;margin:0}
  .bx-artists .bx-head .bx-textlink{margin:auto 0 0;align-self:flex-start}
  .bx-artists .bx-roster{max-width:none;margin:0 0 -56px}
}

/* hover and keyboard focus: the photo lifts, a red bar under it */
@media (hover:hover){
  .bx-artists .bx-artist:hover img,.bx-artists .bx-artist:hover video{filter:grayscale(1) contrast(1.22) brightness(1.06)}
  .bx-artists .bx-artist:hover::after{transform:scaleX(1)}
}
.bx-artists .bx-artist:focus-within img,.bx-artists .bx-artist:focus-within video{filter:grayscale(1) contrast(1.22) brightness(1.06)}
.bx-artists .bx-artist:focus-within::after{transform:scaleX(1)}
