﻿.collabs {
  position: relative;
  background-color: #000000;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
  overflow: hidden;
}



.collabs__splash {
  position: absolute;
  top: 6%;
  right: -1%;
  width: min(320px, 40vw);
  opacity: 0.85;
  z-index: 1;
}

.collabs__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.collabs__title {
  width: clamp(180px, 28vw, 260px);
  margin: 0 auto 1rem;
}

.collabs__subtitle {
  font-family: "Matcha Vibes", "Trebuchet MS", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.collabs__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.8rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  max-width: 767px;
  margin: 0 auto;
}

.collab-card {
  justify-self: center;
  width: min(280px, 80vw);
  transform: translate3d(0, var(--parallax-y, 0), 0) rotate(-2deg);
  transition: transform 0.2s ease;
}

.collab-card:nth-child(even) {
  transform: translate3d(0, var(--parallax-y, 0), 0) rotate(2deg);
}

.collab-card:hover,
.collab-card:focus-within {
  transform: translate3d(0, var(--parallax-y, 0), 0) rotate(0deg) scale(1.02);
}

.collabs__cta {
  margin-top: 3rem;
  font-family: "Matcha Vibes", "Trebuchet MS", sans-serif;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
}

.collabs__cta .scrivici{
  font-family: "Nexa Extra Light", "Trebuchet MS", sans-serif;
}

.collabs__cta strong {
  color: var(--white);
}

@media (max-width: 768px) {
  .collabs__splash {
    top: -2.5%;
    right: -5%;
    width: min(240px, 50vw);
  }

  .collabs__grid {
    grid-template-columns: 1fr;
  }
}
.collab-link {
  display: inline-block;
  justify-self: center;
}
.collabs__textures {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.collabs__texture {
  position: absolute;
  background: url("../assets/texture_sfumata.png") center/contain no-repeat;
  opacity: 0.28;
  mix-blend-mode: screen;
}


@media (max-width: 600px) {
  .collabs {
    padding: 3rem 0 4.5rem;
    margin-top:-15vw;
  }

  .collabs__title {
    width: clamp(160px, 50vw, 220px);
  }

  .collabs__subtitle {
    margin-bottom: 2rem;
    font-size: 1rem;
  }

  .collabs__grid {
    gap: 1.4rem;
  }

  .collab-card {
    width: min(260px, 88vw);
  }

  .collabs__cta {
    margin-top: 2.2rem;
  }
}

@media (max-width: 480px) {
  .collabs__splash {
    width: min(200px, 55vw);
  }
}

