
.garage-history {
  width: min(68rem, 92%); margin: 2rem auto; padding: clamp(1rem, 3vw, 2.5rem);
  box-sizing: border-box; background: #151412; color: #f6f1e9;
  border: 1px solid #65553b; border-radius: 1.5rem;
}
.garage-history h2, .garage-history h3 { color: #e4c48a; margin: 0 0 1rem; }
.garage-history h2 { font-size: clamp(1.75rem,4vw,3rem); }
.garage-history h3 { font-size: 1.35rem; }
.history-gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-bottom: 2rem; }
.history-gallery figure {
  display: grid; justify-items: center; align-content: start; align-items: center;
  grid-template-rows: 8rem auto; gap: .85rem; margin: 0; padding: 1rem .6rem;
  background: linear-gradient(150deg, #353432, #201f1e 64%, #292827);
  border: 1px solid #635c51; border-radius: 1.15rem;
  box-shadow: inset 0 1px 0 #ffffff25, 0 5px 12px #0006;
  text-align: center;
}
.history-gallery img {
  width: auto; max-width: 100%; height: auto; max-height: 8rem;
  border-radius: .7rem; filter: drop-shadow(0 3px 3px #0007);
}
.history-gallery .history-award img {
  width: 7.35rem; aspect-ratio: 1; border-radius: 50%;
  filter: drop-shadow(0 2px 2px #0007);
}
.history-gallery .history-motorsport { background: linear-gradient(145deg, #716f70, #393b40 76%); }
.history-gallery figcaption { margin: 0; max-width: 23ch; line-height: 1.35; color: #faf7ef; }
.history-brands {
  list-style: none; padding: 0; margin: 1.5rem 0;
  display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: center;
  gap: clamp(1rem,3vw,2.5rem);
}
.history-brands li { display: grid; place-items: center; min-height: 52px; }
.history-brands img {
  display: block; width: auto; height: auto; max-width: min(100%,145px); max-height: 58px;
  filter: drop-shadow(0 1px 1px #c9bfa980) drop-shadow(0 3px 3px #000);
}
.history-brands img[src*="geneva"], .history-brands img[src*="lock-tile"], .history-brands img[src*="monster-raxx"] {
  filter: brightness(0) invert(.89) drop-shadow(0 3px 2px #0009);
}
@media(max-width: 760px) { .history-brands {grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem 1.6rem;} }
.garage-history details, .garage-history #newsletter { border-top: 1px solid #554a38; margin-top: 1.25rem; padding-top: 1.25rem; }
.garage-history summary { cursor: pointer; }
.garage-history p { max-width: 60ch; margin: .6rem 0 1rem; }
@media(max-width: 640px) {
  .history-gallery { grid-template-columns: repeat(2,1fr); }
  .history-gallery figure { grid-template-rows: 6rem auto; }
  .history-gallery img { max-height: 6rem; max-width: 100%; }
  .history-gallery .history-award img { width: 6rem; }
}

#contact .contact-form {
  background: #090a0b var(--bodywork-clearcoat);
  border: 1px solid #36393d; border-radius: 1.25rem;
  box-shadow: var(--bodywork-edge);
  color: #fcfaf6;
}
#contact .contact-form label, #contact .contact-form .form-status { color: #fcfaf6; text-shadow: 0 1px 3px #080b10; }
#contact .contact-form :is(input, select, textarea) { color: #202124; background: #faf9f6; border-radius: .7rem; }
#contact .contact-form button { border-radius: 999px; }
.history-brands img[src*="bin-solutions"], .history-brands img[src*="hot-dawg"] {
  filter: brightness(1.45) drop-shadow(0 1px 1px #a9aeb180) drop-shadow(0 3px 2px #0008);
}

.garage-history, .history-gallery figure, .history-gallery .history-motorsport {
  background-image: var(--bodywork-clearcoat);
  background-color: #20242a;
  box-shadow: var(--bodywork-edge);
}
