/* The Mentor's biography: the course page's scenes over his portrait. Colors from tokens only. */

/* First paint already shows the portrait, before the canvas draws it. */
.bio-page .journey-stage {
  background: var(--scene-veil) url("../mentor/portrait.d479ce2e46d3.jpg") center / cover no-repeat;
}

.bio-page .scene-copy {
  align-items: flex-start;
  max-width: 30rem;
}

.bio-page .scene-stage.is-right .scene-copy {
  align-items: flex-end;
}

.bio-page .bio-opening h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
}

.bio-page .scene-copy .btn {
  align-self: flex-start;
}

/* On phones the face is in the middle of the screen, so the words sit below it. */
@media (max-width: 640px) {
  .bio-page .scene {
    align-items: flex-end;
    padding-bottom: 6.5rem;
  }

  .bio-page .scene-stage.is-right .scene-copy {
    align-items: flex-start;
  }
}
