/* works.html only: project image carousels */

.mock-site--uptome {
  background: #f4f1e9;
}

.mock-site--sydney {
  background: #f3eee4;
}

.mock-site--tax {
  background: #f3f0e9;
}

/* Project carousel: crossfade + subtle Ken Burns settle */

.carousel {
  touch-action: pan-y;
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 1300ms cubic-bezier(0.45, 0, 0.2, 1), transform 1500ms cubic-bezier(0.25, 0, 0.15, 1);
  pointer-events: none;
}

.carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 250ms ease, transform 250ms ease;
}

.carousel-dot.is-active {
  background: #fff;
  transform: scale(1.35);
}

.carousel-frame {
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 22px 48px rgba(24, 33, 38, 0.14);
}

.carousel-dots,
.carousel-counter {
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.carousel-counter {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-slide {
    transition: opacity 250ms linear !important;
    transform: none !important;
  }
}

/* Scroll parallax target — set via works.js, transform only */

.works-parallax {
  will-change: transform;
}
