/* bad.events, the top of the home: "the triangle is the door". Designed by Tara, 21 Nov 2026.
   The red A of the mark, huge, as a window in the black, with BAD's own room inside it, red on black.
   Two faint outlines leave the door like a bass note: the signal. */
.bx-hero-media .heroLiveVideo, .bx-hero-media .bp-torch { display: none !important; }
.bx-hero-media { background: #050505; }
.bx-hero:after { background: linear-gradient(180deg, rgba(10,10,10,0) 64%, rgba(10,10,10,.82) 100%); }
.bx-hero { --bt-w: min(81vw, 400px); --bt-red: #ff2b2b; padding-top: 0; }
.bt-portal { position: absolute; left: 50%; top: 10px; width: var(--bt-w); aspect-ratio: 10 / 9; transform: translateX(-50%); }
.bt-glow { position: absolute; inset: -6% -6% -2%; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: radial-gradient(60% 70% at 50% 78%, rgba(232,30,37,.55), rgba(232,30,37,.16) 60%, rgba(232,30,37,0) 100%); filter: blur(34px); opacity: .9; }
.bt-tri { position: absolute; inset: 0; clip-path: polygon(50% 0.6%, 99.4% 99.4%, 0.6% 99.4%); background: #120202; opacity: 0; animation: bt-room 1.1s ease .95s both; }
.bt-tri img, .bt-tri video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform: translateY(-9%) scale(1.14); transform-origin: 50% 30%; }
.bt-video { opacity: 0; transition: opacity .7s ease; }
.bt-video.is-on { opacity: 1; }
.bt-tri:after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(0,0,0,.16) 0 1px, rgba(0,0,0,0) 1px 3px), linear-gradient(180deg, rgba(5,5,5,.25) 0%, rgba(5,5,5,0) 30%, rgba(5,5,5,0) 46%, rgba(5,5,5,.62) 78%, rgba(5,5,5,.72) 100%); }
.bt-edge { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bt-edge polygon { fill: none; stroke: var(--bt-red); vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.bt-line { stroke-width: 3;
  filter: drop-shadow(0 0 3px rgba(255,255,255,.55)) drop-shadow(0 0 10px rgba(255,43,43,.95)) drop-shadow(0 0 30px rgba(232,30,37,.7));
  animation: bt-on 1.5s steps(1) .15s both, bt-buzz 9s steps(1) 4s infinite; }
.bt-echo { stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: 50% 66.7%; animation: bt-echo 4.4s cubic-bezier(.2,.6,.3,1) 2.4s infinite; }
.bt-echo-b { animation-delay: 4.6s; }
.bt-portal.is-paused .bt-edge polygon { animation-play-state: paused; }
.bt-pause { position: absolute; z-index: 3; right: var(--gutter); top: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(0,0,0,.5); color: rgba(255,255,255,.75); cursor: pointer; }
.bt-pause svg { width: 12px; height: 12px; fill: currentColor; }
.bt-pause:hover { color: #fff; border-color: rgba(255,255,255,.4); }
@keyframes bt-room { from { opacity: 0; } to { opacity: 1; } }
@keyframes bt-on { 0% { opacity: 0; } 8% { opacity: 1; } 12% { opacity: .15; } 20% { opacity: 1; } 26% { opacity: .3; } 30% { opacity: 1; } 52% { opacity: .55; } 56% { opacity: 1; } 100% { opacity: 1; } }
@keyframes bt-buzz { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 48% { opacity: .5; } 49% { opacity: 1; } 50% { opacity: .7; } 51% { opacity: 1; } }
@keyframes bt-echo { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.36); opacity: 0; } }

/* the page's own blocks: on a phone the headline is bolted across the door */
.bx-hero-inner { gap: 14px; }
.bx-hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: calc(var(--bt-w) * .45 + 12px); text-shadow: 0 2px 26px rgba(0,0,0,.8); }
.bx-hero-copy .bx-eyebrow { order: 3; margin: 35px 0 0; font-size: 10px; text-shadow: none; }
.bx-hero-copy .heroDecisionLine { justify-content: center; }
.bx-hero-copy .bx-hero-support { display: none; }
.bx-upnext { position: relative; padding: 16px 14px 6px; }
.bx-upnext h2 { font-size: 38px; }
.bx-upnext > .bx-eyebrow { position: absolute; left: 12px; top: -7px; padding: 0 8px; background: #0a0a0a; }

@media (min-width: 720px) and (max-width: 1023px) {
  .bx-hero { --bt-w: 500px; }
  .bx-hero-copy .bx-hero-support { display: block; order: 2; margin-top: 44px; }
  .bx-hero-copy .bx-eyebrow { margin-top: 12px; font-size: 12px; }
  .bx-upnext { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (min-width: 1024px) {
  .bx-hero { min-height: 664px; display: flex; align-items: center; padding-top: 64px; padding-bottom: 88px; }
  .bx-hero-inner { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 38px; }
  .bx-hero-copy { display: block; text-align: left; margin-top: 0; }
  .bx-hero-copy .bx-eyebrow { margin: 0 0 14px; font-size: 12px; }
  .bx-hero-copy .heroDecisionLine { justify-content: flex-start; }
  .bx-hero-copy .bx-hero-support { display: block; }
  .bt-portal { left: auto; right: calc(50% - min(600px, 50% - var(--gutter)) - 60px); top: 22px; width: auto; height: calc(100% - 44px); transform: none; }
  .bt-tri img, .bt-tri video { transform: none; }
  .bt-tri:after { background: repeating-linear-gradient(180deg, rgba(0,0,0,.16) 0 1px, rgba(0,0,0,0) 1px 3px), linear-gradient(180deg, rgba(5,5,5,.3) 0%, rgba(5,5,5,0) 30%, rgba(5,5,5,0) 78%, rgba(5,5,5,.5) 100%); }
  .bx-upnext { width: min(600px, 50vw); padding: 20px 20px 16px; background: rgba(8,8,8,.84); }
  .bx-upnext.is-empty { width: min(460px, 44vw); padding-bottom: 20px; }
  .bx-upnext:not(.is-empty) { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "joint joint" "row btn" "row more"; column-gap: 26px; row-gap: 6px; align-items: center; }
  .bx-upnext:not(.is-empty) > .bx-joint { grid-area: joint; }
  .bx-upnext:not(.is-empty) > .bx-upnext-row { grid-area: row; }
  .bx-upnext:not(.is-empty) > .bx-btn { grid-area: btn; align-self: end; width: auto; min-width: 176px; }
  .bx-upnext:not(.is-empty) > .bx-more { grid-area: more; align-self: start; justify-self: center; }
  .bx-upnext h2 { font-size: 38px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .bx-upnext, .bx-upnext.is-empty { width: min(430px, 44vw); }
  .bx-upnext:not(.is-empty) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "joint" "row" "btn" "more"; row-gap: 12px; }
  .bx-upnext:not(.is-empty) > .bx-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .bt-tri { animation: none; opacity: 1; }
  .bt-line { animation: none; }
  .bt-echo { animation: none; opacity: .22; transform: scale(1.12); }
  .bt-echo-b { opacity: .1; transform: scale(1.24); }
  .bt-pause { display: none; }
}
@media (forced-colors: active) { .bt-portal { display: none; } }
