/* ===== Choose Your Melvin homepage slice: everything below is the component ===== */
.mlv-quiz {
  --mlv-red: #ce202f;
  --mlv-yellow: #f2c21b;
  --mlv-display: "Nexa Heavy", Montserrat, Arial, sans-serif; /* site uses Nexa Heavy; Montserrat is the demo stand-in */
  --mlv-body: Roboto, Arial, sans-serif;
  position: relative; overflow: hidden; color: #fff; font-family: var(--mlv-body);
  background:
    radial-gradient(ellipse 46% 52% at 72% 102%, rgba(0,0,0,.96) 0%, rgba(0,0,0,.85) 45%, rgba(0,0,0,0) 100%),
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 50%),
    url("art/metal-bg-desktop.webp") center / cover no-repeat #111;
}
.mlv-quiz *, .mlv-quiz *::before { box-sizing: border-box; }
.mlv-quiz p, .mlv-quiz h2 { margin: 0; }
.mlv-quiz__inner {
  max-width: 1440px; min-height: 700px; margin: 0 auto; padding: 72px 30px 34px 84px;
  display: grid; grid-template-columns: minmax(300px, 440px) 1fr; grid-template-rows: auto 1fr;
  grid-template-areas: "type crew" "copy crew"; column-gap: 32px;
}
.mlv-quiz__type { grid-area: type; }
.mlv-quiz__type img { display: block; width: 100%; height: auto; }
.mlv-quiz__copy { grid-area: copy; align-self: end; padding: 28px 0 30px 4px; display: flex; flex-direction: column; gap: 18px; max-width: 420px; }
.mlv-quiz__line { font: 800 23px/1.3 var(--mlv-display); }
.mlv-quiz__line span { color: var(--mlv-yellow); }
.mlv-quiz__button {
  align-self: flex-start; display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 40px; border-radius: 999px; background: var(--mlv-red); color: #fff;
  font: 800 16px/1 var(--mlv-display); letter-spacing: .08em; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.mlv-quiz__button:hover { background: #b51b28; transform: translateY(-2px); }
.mlv-quiz__button:focus-visible { outline: 3px solid var(--mlv-yellow); outline-offset: 3px; }
.mlv-quiz__fineprint { font-size: 13px; line-height: 1.5; color: #c8c8c8; }
.mlv-quiz__fineprint a { color: inherit; }

/* The crew: one box, each character placed by percentage so the lineup scales as a unit */
.mlv-quiz__crew { grid-area: crew; align-self: end; justify-self: end; position: relative; width: 100%; max-width: 909px; aspect-ratio: 909.2 / 381.8; }
.mlv-quiz__crew picture { position: absolute; display: block; }
.mlv-quiz__crew img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mlv-quiz__crew .is-killer-bee { left:12.51%;top:10.74%;width:30.66%;height:86.49%; }
.mlv-quiz__crew .is-dj-haze { left:33.26%;top:10.03%;width:30.84%;height:87.06%; }
.mlv-quiz__crew .is-2x4 { left:0.00%;top:11.86%;width:22.51%;height:85.25%; }
.mlv-quiz__crew .is-hopman { left:56.49%;top:8.01%;width:22.16%;height:91.99%; }
.mlv-quiz__crew .is-heyzeus { left:72.43%;top:0.00%;width:27.57%;height:96.86%; }

/* Phone and small tablet: type, then the crew, then the copy, all centered */
@media (max-width: 899px) {
  .mlv-quiz {
    background:
      radial-gradient(ellipse 90% 26% at 50% 66%, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 50%, rgba(0,0,0,0) 100%),
      url("art/metal-bg-mobile.webp") center / cover no-repeat #111;
  }
  .mlv-quiz__inner {
    min-height: 0; padding: 36px 20px 32px; grid-template-columns: 1fr; grid-template-rows: auto;
    grid-template-areas: "type" "crew" "copy"; row-gap: 0; text-align: center;
  }
  .mlv-quiz__type { justify-self: center; width: min(300px, 78vw); }
  .mlv-quiz__crew { justify-self: center; width: calc(100% + 16px); max-width: 560px; margin-top: 12px; }
  .mlv-quiz__copy { align-self: start; align-items: center; max-width: 560px; width: 100%; justify-self: center; padding: 20px 0 0; gap: 16px; }
  .mlv-quiz__line { font-size: 19px; }
  .mlv-quiz__button { align-self: stretch; min-height: 54px; }
  .mlv-quiz__fineprint { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .mlv-quiz__button { transition: none; } .mlv-quiz__button:hover { transform: none; } }
