* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  background: #000 url("bg.jpg") center / cover no-repeat fixed;
  position: relative;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  padding: 2rem;
  z-index: 10;
}

main {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  gap: 2rem;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 2rem 2.5rem;
}

.client-grid span[data-client] {
  cursor: default;
}

.client-grid span:last-child:nth-child(4n+1) {
  grid-column: 1 / -1;
}

.modal {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
  z-index: 20;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

.modal.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 600px) {
  .client-grid {
    grid-template-columns: repeat(2, auto);
  }

  main {
    padding: 5rem 1.25rem 3rem;
  }
}
