/* ===== About section — team photo slider ===== */
.about-section {
  background: var(--bg-soft, #fafafa);
}

.about-section .wrap {
  max-width: 1180px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(72px, 9vw, 120px);
}

.about-copy {
  max-width: 540px;
  padding-right: 0;
}

.about-copy .title {
  margin-bottom: 16px;
}

.about-copy p {
  color: var(--muted, #6a6a6a);
  line-height: 1.65;
  margin: 0 0 14px;
  font-size: clamp(15px, 1.8vw, 17px);
}

.about-copy ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--ink, #141414);
  line-height: 1.7;
}

.about-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.team-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0c0c0e;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.14);
  aspect-ratio: 4 / 5;
  width: 100%;
  max-height: none;
  margin: 0;
}

.team-slider__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.team-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.team-slider__img.is-active {
  opacity: 1;
  transform: scale(1);
}

.team-slider__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 7, 10, 0.82) 0%, rgba(6, 7, 10, 0.08) 45%, transparent 70%);
  pointer-events: none;
}

.team-slider__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px 22px 22px;
  color: #fff;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.team-slider__caption.is-switching {
  opacity: 0;
  transform: translateY(8px);
}

.team-slider__name {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.team-slider__name:empty {
  display: none;
  margin: 0;
}

.team-slider__role {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand, #ff7d54);
}

.team-slider__role:empty {
  display: none;
  margin: 0;
}

.team-slider__caption:has(.team-slider__name:empty) .team-slider__role {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.team-slider__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  width: 100%;
}

.team-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(20, 20, 20, 0.18);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.team-slider__dot.is-active {
  background: var(--brand, #ff7d54);
  transform: scale(1.15);
}

.team-slider__dot:hover {
  background: rgba(255, 125, 84, 0.55);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-copy {
    max-width: none;
  }

  .about-visual {
    order: -1;
  }

  .team-slider {
    aspect-ratio: 3 / 4;
    max-height: 460px;
  }
}

@media (min-width: 769px) {
  .team-slider__img {
    object-position: center 22%;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: minmax(0, 480px) minmax(400px, 1fr);
    gap: clamp(80px, 8vw, 112px);
  }

  .about-copy {
    max-width: 480px;
  }

  .team-slider {
    max-width: none;
    margin-left: auto;
    width: 100%;
  }
}
