/* BB reel: short photoreal intro video (10-30 s) that plays once when scrolled into view.
   Its beat cards light up as the video reaches them and stay lit. Markup: see js/bb-reel.js. */
.bb-reel{margin:24px 0;padding:0;border-radius:16px;overflow:hidden;
  border:1px solid var(--theme-border,rgba(127,140,150,.28));
  background:var(--theme-surface,rgba(10,16,22,.55))}
.bb-reel-grid{display:grid;grid-template-columns:1fr;gap:0}
.bb-reel-stage{position:relative;background:#000;aspect-ratio:16/9;max-height:62vh}
.bb-reel-stage video{display:block;width:100%;height:100%;object-fit:cover;background:#000}
.bb-reel-ctrls{position:absolute;left:12px;bottom:12px;display:flex;gap:8px}
.bb-reel-ctrls button{font:600 14px/1 inherit;font-family:inherit;padding:8px 12px;border-radius:999px;cursor:pointer;
  color:#fff;background:rgba(0,0,0,.6);border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(4px)}
.bb-reel-ctrls button:hover,.bb-reel-ctrls button:focus-visible{background:rgba(0,0,0,.82);border-color:rgba(255,255,255,.6)}
.bb-reel-side{padding:16px 18px;display:flex;flex-direction:column;gap:10px}
.bb-reel-kicker{margin:0;font-size:13px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;
  color:var(--theme-accent,var(--bb-kelly,#3ddc84))}
.bb-reel-beats{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.bb-reel-beats li{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:9px 12px;border-radius:10px;
  border:1px solid var(--theme-border,rgba(127,140,150,.25));opacity:.38;transform:translateX(6px);
  transition:opacity .45s ease,transform .45s ease,border-color .45s ease,background .45s ease}
.bb-reel-beats li.on{opacity:1;transform:none;border-color:var(--theme-accent,var(--bb-kelly,#3ddc84));
  background:color-mix(in srgb,var(--theme-accent,#3ddc84) 9%,transparent)}
.bb-reel-beats b{font-family:ui-monospace,Consolas,monospace;font-size:14px;color:var(--theme-accent,var(--bb-kelly,#3ddc84));padding-top:2px}
.bb-reel-beats span{font-size:15px;line-height:1.45}
.bb-reel-beats strong{display:block;font-size:15px}
.bb-reel-note{margin:2px 0 0;font-size:13px;opacity:.75}
/* Side-by-side only when the reel itself is wide (container query), so narrow article columns stack instead of leaving a gap. */
.bb-reel{container-type:inline-size}
@container (min-width:960px){
  .bb-reel-grid{grid-template-columns:minmax(0,1.9fr) minmax(280px,1fr)}
  .bb-reel-stage{max-height:none}
  .bb-reel-side{max-height:62vh;overflow:auto}
}
@container (min-width:560px) and (max-width:959px){
  .bb-reel-beats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bb-reel-beats li:last-child{grid-column:1/-1}
}
/* Current beat (Brett 11/8): stronger highlight + accent bar; side list auto-scrolls to it (js). Beats are clickable to seek. */
.bb-reel-side{scroll-behavior:smooth}
.bb-reel-beats li.on{opacity:.82}
.bb-reel-beats li.now{opacity:1;border-color:var(--theme-accent,var(--bb-kelly,#3ddc84));
  background:color-mix(in srgb,var(--theme-accent,#3ddc84) 18%,transparent);
  box-shadow:inset 4px 0 0 var(--theme-accent,var(--bb-kelly,#3ddc84)),0 0 0 1px var(--theme-accent,var(--bb-kelly,#3ddc84))}
.bb-reel-beats li.seek{cursor:pointer}
.bb-reel-beats li.seek:hover{opacity:1}
.bb-reel-beats li.seek:focus-visible{outline:2px solid var(--theme-accent,var(--bb-kelly,#3ddc84));outline-offset:2px}
@media (prefers-reduced-motion:reduce){.bb-reel-beats li{transition:none;transform:none}.bb-reel-side{scroll-behavior:auto}}
