.social-strip {
  padding: 120px 0;
  background: var(--background);
}

.social-strip__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.social-strip__handle {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.social-carousel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.social-carousel__viewport {
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  padding: 0 clamp(16px, 8vw, 96px);
  margin: 0 -8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.social-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.social-carousel__viewport::before,
.social-carousel__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 8vw, 96px);
  pointer-events: none;
  z-index: 1;
}

.social-carousel__viewport::before {
  left: 0;
  background: linear-gradient(
    90deg,
    var(--background) 0%,
    rgba(245, 243, 240, 0) 100%
  );
}

.social-carousel__viewport::after {
  right: 0;
  background: linear-gradient(
    270deg,
    var(--background) 0%,
    rgba(245, 243, 240, 0) 100%
  );
}

.social-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, clamp(60%, 68vw, 420px));
  gap: clamp(16px, 4vw, 36px);
  padding: 8px 0 16px;
}

.social-carousel__slide {
  position: relative;
  scroll-snap-align: center;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.social-carousel__slide.is-active {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.social-carousel__frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--background-elevated);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.social-carousel__frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.social-carousel__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0) 0%,
    rgba(10, 10, 10, 0.75) 100%
  );
  color: var(--background-elevated);
  display: grid;
  gap: 12px;
}

.social-carousel__tag {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.1;
}

.social-carousel__meta {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.social-carousel__cta {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--background-elevated);
  background: rgba(255, 255, 255, 0.12);
}

.social-carousel__cta:hover,
.social-carousel__cta:focus {
  background: var(--background-elevated);
  color: var(--text-primary);
}

.social-carousel__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-carousel__control {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--background-elevated);
  color: var(--text-primary);
  font-size: 18px;
  display: grid;
  place-items: center;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.social-carousel__control:hover,
.social-carousel__control:focus {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: var(--background-elevated);
}

.social-carousel__control[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--background);
  color: var(--text-muted);
}

.social-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--border);
  border: none;
  padding: 0;
  transition:
    background 0.3s ease,
    width 0.3s ease;
  cursor: pointer;
}

.social-carousel__dot.is-active {
  background: var(--text-primary);
  width: 28px;
}

@media (max-width: 768px) {
  .social-strip {
    padding: 80px 0;
  }

  .social-strip__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .social-carousel__viewport {
    padding: 0 clamp(12px, 6vw, 48px);
    margin: 0;
  }

  .social-carousel__viewport::before,
  .social-carousel__viewport::after {
    display: none;
  }

  .social-carousel__track {
    grid-auto-columns: minmax(220px, 85%);
  }

  .social-carousel__slide.is-active {
    transform: translateY(0);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  }
}
