/* ═══════════════════════════════════════════════════════
   §4  REVIEWS  ·  reviews.css
═══════════════════════════════════════════════════════ */

/* ── Section: full-height physics canvas ── */
.reviews-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--c-black);
  /* dot-grid inherited from body via transparency */
  user-select: none;
  -webkit-user-select: none;
}

.reviews-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--c-yellow);
  clip-path: circle(var(--bg-radius, 0px) at 50% 0%);
  pointer-events: none;
  z-index: 0;
}

/* ── Pinned header (pointer-events: none so cards pass through) ── */
.reviews-section__header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--pad) var(--pad) 0;
  pointer-events: none;
  z-index: 1;
}

.reviews-section__header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 40px;
  text-align: center;
}

.reviews-section__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(60px, 10vw, 100px);
  font-weight: 400;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--c-olive-dark);
  line-height: 0.85;
}

.reviews-section__description {
  margin: 0 auto;
  max-width: 360px;
  font-family: var(--f-body);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.5;
  text-align: center;
  color: var(--c-grey);
}

.reviews-section__divider {
  height: 1px;
  max-width: var(--design-w);
  margin: 0 auto;
  border: 0;
  background: var(--c-divider);
}

/* ── Review card ── */
.rv-card {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(430px * var(--rv-scale, 1));
  height: calc(222px * var(--rv-scale, 1));
  background: var(--c-yellow);
  border: 1.5px solid var(--c-black);
  border-radius: 3px;
  padding: calc(22px * var(--rv-scale, 1)) calc(26px * var(--rv-scale, 1));
  cursor: grab;
  overflow: hidden;
  will-change: transform;
  box-shadow: none;
  transition: box-shadow 0.28s ease;
}

.rv-card.lifted {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  cursor: grabbing;
}

/* ── Card header ── */
.rv-card-header {
  display: flex;
  align-items: center;
  gap: calc(13px * var(--rv-scale, 1));
  margin-bottom: calc(15px * var(--rv-scale, 1));
}

.rv-card-avatar {
  width: calc(46px * var(--rv-scale, 1));
  height: calc(46px * var(--rv-scale, 1));
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(var(--c-black-rgb), 0.15);
  background: #1e1e1e;
  display: block;
}

.rv-card-avatar-ph {
  width: calc(46px * var(--rv-scale, 1));
  height: calc(46px * var(--rv-scale, 1));
  border-radius: 50%;
  background: #1e1e1e;
  border: 1.5px solid rgba(var(--c-black-rgb), 0.15);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rv-card-avatar-ph svg {
  opacity: 0.28;
  transform: scale(var(--rv-scale, 1));
}

.rv-card-title-wrap {
  flex: 1;
  min-width: 0;
}

.rv-card-name {
  font-family: var(--f-display);
  font-size: calc(23px * var(--rv-scale, 1));
  font-weight: 400;
  color: var(--c-black);
  letter-spacing: 0.04em;
  line-height: 1;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rv-card-meta {
  text-align: right;
  flex-shrink: 0;
}

.rv-card-projects {
  display: block;
  font-size: calc(15px * var(--rv-scale, 1));
  font-weight: 700;
  color: var(--c-black);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.4;
}

.rv-card-country {
  display: block;
  font-size: calc(16px * var(--rv-scale, 1));
  color: var(--c-grey);
  font-weight: 300;
  line-height: 1.4;
}

/* ── Review text ── */
.rv-card-review {
  font-size: calc(16px * var(--rv-scale, 1));
  line-height: 1.72;
  color: var(--c-black);
  font-weight: 300;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.rv-card-review em {
  font-style: italic;
  color: var(--c-black);
  font-weight: 700;
}

/* ── Carousel (Commented out for potential restoration) ── */
/*
.reviews-carousel__divider {
  position: absolute;
  bottom: 220px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--c-black);
  border: none;
  margin: 0;
  z-index: 1;
}

.reviews-carousel {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  max-height: 300px;
  background: var(--c-yellow);
  overflow: hidden;
}

.reviews-carousel__track {
  display: flex;
  gap: 40px;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: carousel-scroll 20s linear infinite;
  padding: 0 20px;
}

.reviews-carousel__img {
  height: 200px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  background: none;
}

@keyframes carousel-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}
*/