/**
 * Stats Images - EXACT copy from ScrollTrigger GSAP Horizontal Clip Path/style.css
 */

.stats-images-section {
  background-color: #010101;
}

.stats-images-section img {
  object-fit: cover;
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: inline-block;
  vertical-align: middle;
}

.work_item {
  background-color: #010101;
  align-items: stretch;
  width: 100%;
  height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
}

.work_item-background {
  aspect-ratio: 16 / 9;
  filter: brightness();
  width: 100%;
  height: 100%;
  position: absolute;
}

.work_item-wrapper {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  flex-flow: column;
  flex: 1;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: space-around;
  align-items: stretch;
  width: 100%;
  padding: 5rem 4vw 2.5rem;
  display: flex;
  position: relative;
}

.work_text {
  flex: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
}

.work_text-title {
  color: #fff;
  letter-spacing: clamp(0.2rem, 1vw, 0.5rem);
  text-transform: uppercase;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-primary);
  font-size: clamp(3rem, 12.5vw, 10rem);
  font-weight: 700;
  line-height: 1;
  display: flex;
  position: relative;
  text-align: center;
}

.work_section {
  position: relative;
}

.work_container {
  position: relative;
}

.work_item-overlay {
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  background-color: #010101;
  width: 105%;
  height: 105%;
  position: absolute;
  inset: 0%;
}

.work_item-container {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}

/* Images removed - keeping rules hidden for backwards compatibility */
.work_item-images {
  display: none;
}

.work_item-image {
  display: none;
}

.image-wrapper {
  display: none;
}

.line {
  will-change: transform;
  position: relative;
}

.line-wrapper {
  overflow: hidden;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.color-0 {
  color: #b8e6da;
}

.color-1 {
  color: #ffa6a6;
}

.color-2 {
  color: #b3d3ff;
}

.color-3 {
  color: #fff2b3;
}

/* Ghost container for scroll tracking */
.ghost_work-container {
  position: relative;
}

.ghost_work-item {
  width: 100%;
  height: 300vh;
}

/* Tablet */
@media screen and (max-width: 1024px) {
  .work_text-title {
    font-size: clamp(3rem, 10vw, 8rem);
  }

  .work_item-wrapper {
    padding: clamp(3rem, 6vw, 5rem) 4vw clamp(2rem, 4vw, 2.5rem);
  }
}

@media screen and (max-width: 900px) {
  .work_text-title {
    font-size: clamp(2.5rem, 10vw, 6rem);
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  .work_item-wrapper {
    padding: 4rem 3vw 2rem;
  }

  .work_text-title {
    font-size: clamp(2rem, 10vw, 5rem);
    letter-spacing: 0.3rem;
  }
}

@media screen and (max-width: 480px) {
  .work_item-wrapper {
    padding: 3rem 2vw 1.5rem;
  }

  .work_text-title {
    font-size: clamp(1.75rem, 11vw, 4rem);
    letter-spacing: 0.2rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .work_item,
  .work_item-background,
  .line {
    transition: none !important;
    animation: none !important;
  }
}
