/* Home page hero, V7.1: a line-up of trucks that builds itself out of dots (hero-dots.js), on the site's own paper colour.
   Without JavaScript or WebGL the cut-out photograph simply shows in the same place. */
.home-hero--dots { position: relative; isolation: isolate; overflow: hidden; }
.hero-dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.home-hero--dots .home-hero__inner { position: relative; z-index: 1; display: block; padding-block: 3.25rem 0; }
.home-hero--dots .home-hero__top { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); column-gap: 4rem; align-items: end; }
.home-hero--dots .home-hero__copy { padding: 0; }
html body .home-hero--dots h1 { max-width: 14ch; font-size: clamp(2.8rem, 4.6vw, 4.6rem) !important; margin-bottom: 0; }
.home-hero--dots .lede { max-width: 44ch; }
.home-hero--dots .home-hero__facts { margin-top: 1.75rem; }

/* the line-up: this box is where the trucks stand; the dots are drawn on the canvas behind everything */
.home-hero__lineup { position: relative; margin: 2.75rem 0 0; aspect-ratio: 896 / 208; cursor: pointer; }
.home-hero__lineup img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-hero__lineup.is-live img { visibility: hidden; }
/* the ground they stand on: a hairline, and a soft shadow lying on it */
.home-hero__ground { position: relative; height: 1px; background: linear-gradient(90deg, transparent, rgba(20, 23, 26, .28) 10%, rgba(20, 23, 26, .28) 90%, transparent); }
.home-hero__ground::before { content: ""; position: absolute; left: 4%; right: 4%; bottom: 0; height: 22px; pointer-events: none;
  background: radial-gradient(50% 100% at 50% 100%, rgba(20, 23, 26, .16), transparent 72%); }
.home-hero__caption { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .06em; color: var(--on-light-3, #626a62); padding: .9rem 0 1.4rem; margin: 0; }

@media (max-width: 1023px) {
  /* one column: headline, then the trucks straight under it, then the rest */
  .home-hero--dots .home-hero__inner { display: flex; flex-direction: column; gap: 0; padding-top: 2.25rem; }
  .home-hero--dots .home-hero__top { display: contents; }
  .home-hero--dots .home-hero__copy { order: 1; }
  .home-hero__lineup { order: 2; margin-top: 1.75rem; }
  .home-hero__ground { order: 3; }
  .home-hero__caption { order: 4; padding-bottom: .5rem; }
  .home-hero--dots .home-hero__side { order: 5; padding: .75rem 0 2.25rem; }
  html body .home-hero--dots h1 { font-size: clamp(2.5rem, 7vw, 4rem) !important; }
  .home-hero--dots .lede { max-width: 56ch; }
}
@media (max-width: 720px) {
  /* six trucks across a phone would be specks: the row runs wider than the screen and shows the middle four */
  .home-hero__lineup { width: 164%; margin-left: -32%; margin-top: 1.5rem; cursor: default; }
  .home-hero__caption span:last-child { display: none; }
}
