/* --------------------------------------------------------------------------
   Art Central case study page
   -------------------------------------------------------------------------- */
.artcentral {
  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);
}

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

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

.artcentral__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: 6.708%;
  white-space: nowrap;
  z-index: 5;
}

.artcentral__photo {
  object-fit: cover;
  position: absolute;
  top: 17.635%;
  z-index: 2;
}

.artcentral__photo--left {
  height: 32.307%;
  left: 7.343%;
  width: 28.633%;
}

.artcentral__photo--center {
  height: 32.307%;
  left: 37.852%;
  width: 30.022%;
  z-index: 3;
}

.artcentral__photo--right {
  height: 32.307%;
  left: 69.749%;
  width: 26.543%;
}

.artcentral__portrait {
  height: 43.357%;
  left: 7.343%;
  object-fit: cover;
  position: absolute;
  top: 49.942%;
  width: 42.519%;
  z-index: 1;
}

.artcentral__typography {
  height: 21.656%;
  left: 51.181%;
  object-fit: contain;
  object-position: left top;
  position: absolute;
  top: 59.599%;
  width: 42.778%;
  z-index: 4;
}

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

  .artcentral__title,
  .artcentral__photo,
  .artcentral__portrait,
  .artcentral__typography {
    height: auto;
    left: auto;
    position: static;
    top: auto;
    width: 100%;
  }

  .artcentral__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    order: -1;
    white-space: normal;
  }

  .artcentral__photo--left {
    order: 1;
  }

  .artcentral__photo--center {
    order: 2;
  }

  .artcentral__photo--right {
    order: 3;
  }

  .artcentral__portrait {
    order: 4;
  }

  .artcentral__typography {
    order: 5;
    max-width: 24rem;
  }
}
