/* Road Brawl About page: on top of ../legal/legal.css (kit art, fonts, top bar, plates, footer). The publisher and
   product overview Epic's brand review asks of the website (docs/research/epic-brand-review.md). */

/* ---------------------------------------------------------------- hero: key art in a plate, logo + title over it */
.ab-hero {
  position: relative; margin-top: 22px; display: grid; overflow: hidden;
  border-style: solid; border-width: 28px 38px 25.5px; border-image: url(../assets/ui/panels/panel_main.webp) 56 76 51 76 / 28px 38px 25.5px stretch;
  background: #16181b; background-clip: padding-box;
}
.ab-hero > * { grid-area: 1 / 1; }
.ab-hero__art { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.ab-hero::after {
  content: ''; grid-area: 1 / 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 12, 14, 0) 38%, rgba(11, 12, 14, 0.82) 88%), radial-gradient(ellipse 90% 70% at 50% 40%, transparent 55%, rgba(11, 12, 14, 0.55));
}
.ab-hero__copy { z-index: 1; align-self: end; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 16px 16px; text-align: center; }
.ab-hero .lg-title { font-size: 40px; min-height: 92px; }
.ab-hero .lg-meta { color: var(--off); text-shadow: 0 2px 3px var(--ink); }

/* ---------------------------------------------------------------- the game: lead paragraph and fact rows */
.ab-lead { font-size: 21px; line-height: 1.5; }
.ab-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; margin: 16px 0 6px; }
.ab-facts li {
  margin: 0; padding: 2px 6px 6px; display: flex; flex-direction: column; gap: 2px;
  border-style: solid; border-width: 25px 28.5px 19px; border-image: url(../assets/ui/panels/panel_inset.webp) 50 57 38 57 fill / 25px 28.5px 19px stretch;
}
.ab-facts li::before { display: none; }
.ab-facts b { font-family: var(--label); font-weight: 800; font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.ab-facts span { color: var(--off); font-size: 17.5px; line-height: 1.45; }
.ab-cta { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 18px 0 2px; }
.ab-cta .lg-btn { min-width: 168px; }

/* ---------------------------------------------------------------- modes: the in-game mode card art */
.ab-modes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 6px; }
.ab-mode { display: flex; flex-direction: column; gap: 6px; }
.ab-mode img {
  display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px;
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px #5b636d, 4px 6px 0 5px rgba(0, 0, 0, 0.55);
}
.ab-mode h3, .ab-car h3 {
  margin: 10px 0 0; font-family: var(--disp); font-weight: 900; font-style: italic; font-size: 24px; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em;
  color: #ffb52e; -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; text-shadow: 2px 2px 0 var(--ink);
}
.ab-mode p, .ab-car p { margin: 0; color: var(--warm); font-size: 16.5px; line-height: 1.4; }
.ab-car em { font-style: normal; font-weight: 600; color: var(--off); }

/* ---------------------------------------------------------------- cars: the shipped stock portraits */
.ab-cars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 14px; margin-top: 6px; }
.ab-car { display: flex; flex-direction: column; gap: 4px; }
.ab-car img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain;
  background: radial-gradient(ellipse 70% 60% at 50% 55%, rgba(255, 150, 60, 0.16), transparent 70%), #1d2024; border-radius: 3px;
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px #5b636d, 4px 6px 0 5px rgba(0, 0, 0, 0.55);
}

/* ---------------------------------------------------------------- who makes it: text and the studio card */
.ab-studio { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px 26px; align-items: start; }
.ab-card {
  margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: baseline;
  border-style: solid; border-width: 25px 28.5px 19px; border-image: url(../assets/ui/panels/panel_inset.webp) 50 57 38 57 fill / 25px 28.5px 19px stretch;
  padding: 0 4px 6px;
}
.ab-card dt { font-family: var(--label); font-weight: 800; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.ab-card dd { margin: 0; font-size: 17.5px; color: var(--off); overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- tablets and phones */
@media (max-width: 980px) {
  .ab-modes { grid-template-columns: repeat(3, 1fr); }
  .ab-cars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .ab-hero { border-width: 20px 18px 18px; border-image-width: 20px 26px 18px; margin-left: -6px; margin-right: -6px; }
  .ab-hero__art { aspect-ratio: 4 / 3; }
  .ab-hero .lg-title { font-size: clamp(24px, 7.6vw, 34px); min-height: 74px; }
  .ab-lead { font-size: 18.5px; }
  .ab-facts { grid-template-columns: 1fr; }
  .ab-facts li { border-width: 20px 18px 15px; border-image-width: 20px 22px 15px; }
  .ab-modes { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ab-mode h3, .ab-car h3 { font-size: 20px; }
  .ab-cars { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .ab-studio { grid-template-columns: 1fr; }
  .ab-card { border-width: 20px 18px 15px; border-image-width: 20px 22px 15px; }
  .ab-cta { justify-content: center; }
}
