/* ══════════════════════════════════════════════════════
   SECTION 08 — "Success Stories / This is what Magnetic feels like."

   Frame 181:4339 — x=156, y=8294 (within Landingpage), w=1128, h=682
   Gap from section top to frame: ~120px

   Background: #150d00 (continuous). Star grain texture.

   Layout:
     .s8__inner      — 1128px centred, flex-col, gap 40px, items-center
     .s8__title-block — eyebrow + headline + subtitle (gap 30px between header/sub)
     .s8__cards       — 3-col grid (gap 24px, 360px each)
     .s8__footer-text — "More stories coming soon..."
     .s8__deco-line   — 197px centred decorative rule
   ══════════════════════════════════════════════════════ */


/* ── Section shell ── */
.s8 {
  position: relative;
  width: 100%;
  background: #150d00;
  padding: 120px 0 120px;
  overflow: hidden;
  isolation: isolate;
}

/* ── Star/grain texture — color-dodge at 60% ── */
.s8__texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: color-dodge;
  opacity: 0.6;
  overflow: hidden;
}
.s8__texture img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}


/* ════════════════════════════════════════
   CONTENT WRAPPER — 1128px centred
   ════════════════════════════════════════ */
.s8__inner {
  position: relative;
  z-index: 1;
  width: 1128px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}


/* ════════════════════════════════════════
   TITLE BLOCK
   ════════════════════════════════════════ */
.s8__title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  width: 100%;
}

.s8__title-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.s8__eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3.264px;
  line-height: 16.32px;
  color: var(--color-gold);
  margin: 0;
}

.s8__headline {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  line-height: 86px;
  letter-spacing: -4px;
  background: linear-gradient(to bottom, #ffffff 19.478%, #c0c0c0 93.976%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.s8__hl-gold {
  -webkit-text-fill-color: var(--color-gold);
  color: var(--color-gold);
}

.s8__subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  width: 100%;
}


/* ════════════════════════════════════════
   TESTIMONIAL CARDS — 3-col grid
   ════════════════════════════════════════ */
.s8__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

/* Single card */
.s8__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 23px;
  background: rgba(255, 245, 230, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  backdrop-filter: blur(22.4px);
  -webkit-backdrop-filter: blur(22.4px);
  min-height: 353px;
}

/* Quote icon — 32×32px double opening marks */
.s8__quote-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.s8__quote-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Stars row */
.s8__stars {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-shrink: 0;
}
.s8__stars img {
  width: 23px;
  height: 23px;
  display: block;
}

/* Quote text */
.s8__quote-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: #cccccc;
  margin: 0;
  flex: 1;
}

/* Person row — divider + avatar + name/role */
.s8__person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.s8__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(213, 153, 62, 0.2);
  overflow: hidden;
  flex-shrink: 0;
}
.s8__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.s8__person-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.s8__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  line-height: 21.6px;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
}

.s8__role {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  color: var(--color-gold);
  margin: 0;
  white-space: nowrap;
}


/* ════════════════════════════════════════
   FOOTER — "More stories coming soon..."
   ════════════════════════════════════════ */
.s8__footer-text {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 300;
  line-height: 30px;
  letter-spacing: -1px;
  color: #ffffff;
  text-align: center;
  margin: 0;
}

/* Decorative horizontal rule — 197px, gold gradient */
.s8__deco-line {
  width: 197px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(213, 153, 62, 0.5), transparent);
}
