/* Home-page brand-name collage. Loaded only on the home page. */

.brands-splash {
  position: relative;
  background: var(--sand);
  padding: 3.25rem 0 0;
  overflow: hidden;
}
.brands-splash-intro {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-bottom: .5rem;
}
.brands-splash-intro .copy { max-width: 38rem; }
.brands-splash-intro h2 { margin-bottom: .4rem; }
.brands-splash-intro p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}
.brands-splash-intro .btn { flex: none; }

.brands-splash-cloud {
  position: relative;
  width: min(var(--max), calc(100% - 2rem));
  margin: .75rem auto 0;
  height: 36rem;
  overflow: hidden;
}
.brands-splash-cloud span {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: center center;
  white-space: nowrap;
  line-height: 1.05;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 800px) {
  .brands-splash { padding-top: 2.5rem; }
  .brands-splash-cloud { height: 32rem; }
}
@media (max-width: 520px) {
  .brands-splash-cloud { height: 32rem; }
}
