/* ==========================================================
   IMISI FOUNDATION — STORY VOICES
   04 / Voices & Perspectives
   ========================================================== */

.story-voices {
  position: relative;

  /*
   * Give the section enough vertical room for:
   * top bar → intro → 3 voices → closing statement
   */
  min-height: 100vh;

  padding: clamp(6rem, 10vw, 9rem) 6vw clamp(7rem, 12vw, 12rem);

  background: #0a6970;
  color: #f4f1e8;

  overflow: hidden;

  isolation: isolate;
}

/* ==========================================================
   TOP BAR
   ========================================================== */

.story-voices__top {
  position: relative;
  z-index: 2;

  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;

  margin-bottom: clamp(4rem, 7vw, 7rem);

  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-voices__eyebrow {
  color: #bed639;
}

.story-voices__index {
  color: #f4f1e8;
  opacity: 0.5;
}

/* ==========================================================
   INTRO
   ========================================================== */

.story-voices__intro {
  position: relative;
  z-index: 2;

  width: min(1050px, 92%);

  margin-bottom: clamp(5rem, 9vw, 9rem);
}

.story-voices__kicker {
  margin: 0 0 1.5rem;

  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;

  line-height: 1.4;

  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: #bed639;
}

.story-voices__title {
  margin: 0;

  font-family: "Marcellus", serif;
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 400;

  line-height: 0.88;

  letter-spacing: -0.045em;

  color: #f4f1e8;
}

.story-voices__title em {
  display: block;

  color: #bed639;

  font-style: italic;
  font-weight: 400;
}

/* ==========================================================
   VOICE TRACK
   ========================================================== */

.story-voices__track {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;

  width: min(1100px, 90%);

  margin-left: auto;

  border-top: 1px solid rgba(244, 241, 232, 0.22);
}

/* ==========================================================
   INDIVIDUAL VOICE
   ========================================================== */

.story-voice {
  position: relative;

  display: grid;

  grid-template-columns:
    clamp(55px, 8vw, 100px)
    minmax(0, 1fr);

  column-gap: clamp(1.5rem, 4vw, 4.5rem);

  padding: clamp(4rem, 6vw, 6.5rem) 0;

  border-bottom: 1px solid rgba(244, 241, 232, 0.2);
}

/* ==========================================================
   NUMBER
   ========================================================== */

.story-voice__number {
  padding-top: 0.65rem;

  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;

  line-height: 1;

  letter-spacing: 0.15em;

  color: #bed639;
}

/* ==========================================================
   QUOTE
   ========================================================== */

.story-voice__quote {
  position: relative;

  width: 100%;
  max-width: 850px;
}

.story-voice__mark {
  position: absolute;

  left: -0.08em;
  top: -0.48em;

  z-index: 0;

  font-family: "Marcellus", serif;
  font-size: clamp(5rem, 9vw, 9rem);

  font-weight: 400;
  line-height: 1;

  color: rgba(190, 214, 57, 0.2);

  pointer-events: none;
}

.story-voice blockquote {
  position: relative;
  z-index: 1;

  margin: 0;

  max-width: 850px;

  font-family: "Marcellus", serif;
  font-size: clamp(2rem, 4vw, 4.5rem);

  font-weight: 400;

  line-height: 1.08;

  letter-spacing: -0.025em;

  color: #f4f1e8;
}

/* ==========================================================
   PERSON / SOURCE
   ========================================================== */

.story-voice__person {
  grid-column: 2;

  display: flex;
  align-items: center;

  gap: 1.2rem;

  margin-top: clamp(2rem, 3vw, 2.75rem);
}

.story-voice__line {
  flex: 0 0 45px;

  width: 45px;
  height: 1px;

  background: #bed639;
}

.story-voice__person strong,
.story-voice__person span {
  display: block;

  font-family: "Manrope", sans-serif;
}

.story-voice__person strong {
  margin-bottom: 0.3rem;

  font-size: 0.7rem;
  font-weight: 600;

  line-height: 1.3;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #f4f1e8;
}

.story-voice__person span {
  font-size: 0.66rem;
  font-weight: 400;

  line-height: 1.5;

  letter-spacing: 0.02em;

  color: #f4f1e8;

  opacity: 0.55;
}

/* ==========================================================
   CLOSING STATEMENT
   ========================================================== */

.story-voices__closing {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: flex-start;

  gap: 1.5rem;

  width: min(720px, 90%);

  margin: clamp(6rem, 10vw, 10rem) auto 0;
}

.story-voices__closing > span {
  flex: 0 0 45px;

  width: 45px;
  height: 1px;

  margin-top: 0.85rem;

  background: #bed639;
}

.story-voices__closing p {
  margin: 0;

  max-width: 620px;

  font-family: "Marcellus", serif;

  font-size: clamp(1.5rem, 2.5vw, 2.5rem);

  font-weight: 400;

  line-height: 1.2;

  letter-spacing: -0.015em;

  color: #f4f1e8;
}

/* ==========================================================
   SUBTLE BACKGROUND ACCENT
   ========================================================== */

.story-voices::before {
  content: "";

  position: absolute;

  width: min(50vw, 700px);
  aspect-ratio: 1;

  right: -20%;
  top: 8%;

  border: 1px solid rgba(190, 214, 57, 0.08);

  border-radius: 50%;

  pointer-events: none;
}

.story-voices::after {
  content: "";

  position: absolute;

  width: min(35vw, 500px);
  aspect-ratio: 1;

  left: -18%;
  bottom: -20%;

  border: 1px solid rgba(244, 241, 232, 0.06);

  border-radius: 50%;

  pointer-events: none;
}

/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1000px) {
  .story-voices {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .story-voices__intro {
    width: 95%;
  }

  .story-voices__track {
    width: 95%;
  }

  .story-voice {
    grid-template-columns: 70px minmax(0, 1fr);
    column-gap: 2rem;
  }

  .story-voice blockquote {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {
  .story-voices {
    min-height: auto;

    padding: 6rem 7vw 7rem;
  }

  /* --------------------------------------------------------
     TOP
     -------------------------------------------------------- */

  .story-voices__top {
    align-items: flex-start;

    margin-bottom: 5rem;
  }

  .story-voices__index {
    display: none;
  }

  /* --------------------------------------------------------
     INTRO
     -------------------------------------------------------- */

  .story-voices__intro {
    width: 100%;

    margin-bottom: 5rem;
  }

  .story-voices__kicker {
    margin-bottom: 1.25rem;

    font-size: 0.65rem;
  }

  .story-voices__title {
    font-size: clamp(3.4rem, 16vw, 5.5rem);

    line-height: 0.9;
  }

  /* --------------------------------------------------------
     TRACK
     -------------------------------------------------------- */

  .story-voices__track {
    width: 100%;
  }

  /* --------------------------------------------------------
     VOICE
     -------------------------------------------------------- */

  .story-voice {
    grid-template-columns: 42px minmax(0, 1fr);

    column-gap: 1rem;

    padding: 4rem 0;
  }

  .story-voice__number {
    padding-top: 0.4rem;

    font-size: 0.62rem;
  }

  /* --------------------------------------------------------
     QUOTE
     -------------------------------------------------------- */

  .story-voice__quote {
    max-width: 100%;
  }

  .story-voice__mark {
    top: -0.45em;

    font-size: 5rem;
  }

  .story-voice blockquote {
    font-size: clamp(1.8rem, 7vw, 2.8rem);

    line-height: 1.08;
  }

  /* --------------------------------------------------------
     PERSON
     -------------------------------------------------------- */

  .story-voice__person {
    grid-column: 2;

    align-items: flex-start;

    gap: 0.9rem;

    margin-top: 2rem;
  }

  .story-voice__line {
    flex-basis: 32px;

    width: 32px;

    margin-top: 0.45rem;
  }

  .story-voice__person strong {
    font-size: 0.62rem;
  }

  .story-voice__person span {
    font-size: 0.6rem;
  }

  /* --------------------------------------------------------
     CLOSING
     -------------------------------------------------------- */

  .story-voices__closing {
    width: 100%;

    gap: 1rem;

    margin-top: 5rem;
  }

  .story-voices__closing > span {
    flex-basis: 32px;

    width: 32px;

    margin-top: 0.7rem;
  }

  .story-voices__closing p {
    font-size: clamp(1.35rem, 6vw, 2rem);

    line-height: 1.2;
  }

  /* --------------------------------------------------------
     BACKGROUND ACCENTS
     -------------------------------------------------------- */

  .story-voices::before {
    width: 90vw;

    right: -55%;
    top: 10%;
  }

  .story-voices::after {
    width: 70vw;

    left: -45%;
    bottom: -10%;
  }
}
