/* --------------------------------------------------------------------------
   Scruff case study page
   -------------------------------------------------------------------------- */
.scruff {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-inline: auto;
  max-width: var(--max-width);
  min-height: 100dvh;
  padding:
    clamp(3rem, 6vw, 5.5rem)
    var(--space-page)
    clamp(2rem, 4vw, 3rem);
}

.scruff .contact {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Collage stage — positions from Figma frame 1440 × 2606
   -------------------------------------------------------------------------- */
.scruff__stage {
  aspect-ratio: 1440 / 2606;
  margin-inline: auto;
  max-width: 90rem;
  overflow: visible;
  position: relative;
  width: 100%;
}

.scruff__title {
  color: var(--color-white);
  font-size: clamp(2rem, 4.72vw, 4.25rem);
  font-weight: 400;
  left: 7.708%;
  letter-spacing: -0.02em;
  line-height: 1;
  position: absolute;
  top: 5.095%;
  white-space: nowrap;
  z-index: 6;
}

.scruff__logo-wall {
  height: 25.071%;
  left: 4.628%;
  object-fit: cover;
  position: absolute;
  top: 10.611%;
  width: 45.372%;
  z-index: 1;
}

.scruff__water {
  height: 32.089%;
  left: 22.334%;
  object-fit: cover;
  position: absolute;
  top: 15.265%;
  width: 77.666%;
  z-index: 2;
}

.scruff__bleachers-man {
  height: 33.832%;
  left: 5.717%;
  object-fit: cover;
  position: absolute;
  top: 32.97%;
  width: 40.821%;
  z-index: 3;
}

.scruff__court {
  height: 47.666%;
  left: 48.176%;
  object-fit: cover;
  position: absolute;
  top: 48.645%;
  width: 50.253%;
  z-index: 4;
}

.scruff__bleachers-woman {
  height: 29.348%;
  left: 6.35%;
  object-fit: cover;
  position: absolute;
  top: 67.948%;
  width: 39.556%;
  z-index: 5;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .scruff__stage {
    aspect-ratio: auto;
    display: grid;
    gap: clamp(1rem, 3vw, 1.5rem);
    grid-template-columns: 1fr;
  }

  .scruff__title,
  .scruff__logo-wall,
  .scruff__water,
  .scruff__bleachers-man,
  .scruff__court,
  .scruff__bleachers-woman {
    height: auto;
    left: auto;
    position: static;
    top: auto;
    width: 100%;
  }

  .scruff__title {
    font-size: clamp(2rem, 10vw, 3rem);
    order: -1;
  }

}
