/* ─── BEFORE / AFTER ─── */
#beforeafter { background: var(--cream); }

.ba-intro {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 40px auto 0;
  padding: 0 60px;
}

.ba-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
}

.ba-slide {
  position: relative;
  width: 100%; height: 100%;
  cursor: col-resize;
  user-select: none;
}

.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ba-after {
  clip-path: inset(0 50% 0 0);
}

.ba-label {
  position: absolute;
  bottom: 16px;
  background: rgba(250,247,242,.9);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--walnut);
  border: 1px solid rgba(201,168,76,.2);
}
.ba-before .ba-label { left: 14px; }
.ba-after  .ba-label { right: 14px; }

.ba-before img,
.ba-after  img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: var(--gold);
  z-index: 10;
}

.ba-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 11;
  box-shadow: 0 4px 16px rgba(61,43,31,.2);
  cursor: col-resize;
}
