/* ===== (10) Member's story + creators & leaders — Figma 3280:22024 ===== */

.member { padding: 70px 0 140px; overflow: hidden; }
.member__lead { max-width: 770px; }

.member__cards {
  display: grid;
  grid-template-columns: 898fr 898fr;
  gap: 16px;
  margin-top: 72px;
}

.member-photo {
  position: relative;
  min-height: 750px;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}
.member-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.member-photo:hover img { transform: scale(1.03); }
.member-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 75%, #000 100%);
}
.member-photo figcaption {
  position: absolute;
  left: 56px;
  bottom: 56px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
}
.member-photo strong {
  font-weight: 400;
  font-size: clamp(40px, 2.8125vw, 54px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.member-photo span { font-size: 14px; line-height: 1.4; }

.member-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 750px;
  padding: 56px;
  border-radius: var(--radius-lg);
  background: var(--card);
  color: #0b0d0c;
}
.member-note__quote {
  font-size: clamp(24px, 1.667vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 820px;
}
.member-note__bottom { display: flex; flex-direction: column; gap: 56px; }
.member-note__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: clamp(17px, 1.042vw, 20px);
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #727272;
}
.member-note__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.member-note__name { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.member-note__role { margin-top: 12px; font-size: 16px; line-height: 1.5; letter-spacing: -0.01em; opacity: 0.7; }

.social-row { display: flex; gap: 12px; }
.social-row a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: #0b0d0c;
  transition: background-color 0.25s, color 0.25s;
}
.social-row a:hover { background: #0b0d0c; color: #fff; }
.social-row svg { width: 23.4px; height: 23.4px; }

/* --- Celebrity testimonials --- */

.celebs { margin-top: 64px; }
.celebs__title {
  font-weight: 400;
  font-size: clamp(28px, 1.875vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0b0d0c;
}

.celebs__viewport {
  margin-top: 40px;
  margin-right: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2));
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.celebs__viewport::-webkit-scrollbar { display: none; }
.celebs__track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-right: max(var(--gutter), (100vw - var(--max)) / 2);
}

.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  width: min(507px, 82vw);
  min-height: 320px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--card);
  color: #0b0d0c;
  scroll-snap-align: start;
}
.quote-card__top { display: flex; flex-direction: column; gap: 32px; }
.quote-card__avatar { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; background: #ebe9e3; }
/* avatars fade in once loaded instead of popping in */
.js .quote-card__avatar { opacity: 0; transition: opacity 0.6s var(--ease-out); }
.js .quote-card__avatar.is-loaded { opacity: 1; }
.quote-card__quote { font-size: 20px; line-height: 1.5; letter-spacing: -0.02em; color: #727272; }
.quote-card__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.quote-card__name { font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; }
.quote-card__role { margin-top: 12px; font-size: 14px; line-height: 1.4; letter-spacing: -0.01em; color: rgba(11, 13, 12, 0.65); }

/* Pager: ‹ • ━ • • • ›  — the active dot stretches and fills as autoplay progresses. */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
}
.pager__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  color: #0b0d0c;
  transition: background-color 0.2s;
}
.pager__btn:hover { background: #ebe9e3; }
.pager__btn svg { width: 20px; height: 20px; }
.pager__dots {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--card);
}
/* the visible dot stays 6px; ::after gives every dot a comfortable 28px tap area */
.pager__dot::after { content: ""; position: absolute; inset: -11px -4px; }
.pager__dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgba(11, 13, 12, 0.08);
  transition: width 0.4s var(--ease-out);
}
.pager__dot span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  width: 0;
  background: #0b0d0c;
}
.pager__dot.is-active { width: 24px; }
.pager__dot.is-active span { animation: pager-fill var(--autoplay, 5000ms) linear forwards; }
.is-paused .pager__dot.is-active span,
.is-offscreen .pager__dot.is-active span { animation-play-state: paused; }
.pager__dot.is-static span { animation: none; width: 100%; }
@keyframes pager-fill { from { width: 0; } to { width: 100%; } }

@media (max-width: 1024px) {
  .member__cards { grid-template-columns: 1fr; }
  .member-photo { min-height: 0; aspect-ratio: 898 / 750; }
  .member-note { min-height: 0; padding: 32px; }
  .member-photo figcaption { left: 32px; bottom: 32px; }
}

@media (max-width: 640px) {
  .member-note__author { flex-direction: column; align-items: flex-start; }
}
