/* About me page. Heading and body use locally served Outfit. */

.page-aboutme {
  color: #000;
  background: #fff;
}

.hero-aboutme {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #000;
}

.hero-aboutme .hero-media,
.hero-aboutme .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-aboutme .hero-media img {
  object-fit: cover;
  object-position: center center;
  max-width: none;
}

.hero-aboutme::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0, 0, 0);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.hero-aboutme .hero-copy {
  position: absolute;
  z-index: 1;
  left: 23px;
  right: 23px;
  bottom: 12%;
  width: auto;
  color: #fff;
}

.hero-aboutme h1 {
  color: #fff;
  text-align: center;
}

.about-bio,
.about-timeline {
  width: 88%;
  max-width: 1400px;
  margin: 0 auto;
}

.about-bio {
  padding: 56px 0 0;
}

.about-intro {
  text-align: justify;
}

.about-heading--journey {
  margin: 32px 0;
  font-size: 22.08px;
  line-height: 30.17px;
}

.about-heading--know {
  margin: 32px 0 0;
  font-size: 34.23px;
  line-height: 44.47px;
  text-align: center;
}

.about-timeline {
  padding: 34px 0 24px;
}

.timeline-entry {
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  margin-bottom: 34px;
}

.timeline-copy {
  z-index: 1;
  grid-column: 2 / span 9;
  grid-row: 2;
  width: 100%;
  margin-top: -20cqi;
  padding: 9cqi;
  background: #e0e0db;
}

.timeline-copy h3 {
  margin-bottom: 2.88cqi;
  font-size: 16px;
  font-weight: 300;
  line-height: 28.8px;
}

.timeline-copy p {
  margin-bottom: 0;
}

.timeline-photo {
  grid-column: 1 / span 9;
  grid-row: 1;
  width: 100%;
  margin: 0;
}

.timeline-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.timeline-photo-square img {
  aspect-ratio: 1 / 1;
}

.timeline-photo-wide img {
  aspect-ratio: 4 / 3;
}

.timeline-entry--reverse .timeline-photo {
  grid-column: 2 / span 9;
}

.timeline-entry--reverse .timeline-copy {
  grid-column: 1 / span 9;
}

@media screen and (min-width: 768px) {
  .about-bio,
  .about-timeline {
    width: 94%;
  }

  .about-bio {
    padding-top: 72px;
  }

  .about-heading--journey {
    font-size: 26.08px;
    line-height: 35.64px;
  }

  .about-heading--know {
    font-size: 46.24px;
    line-height: 60.08px;
  }

  .timeline-entry {
    align-items: center;
  }

  .timeline-photo {
    grid-column: 1 / span 7;
    grid-row: 1;
  }

  .timeline-copy {
    grid-column: 6 / span 5;
    grid-row: 1;
    margin-top: 0;
    padding: 5cqi;
  }

  .timeline-copy h3 {
    margin-bottom: 1.6cqi;
  }

  .timeline-entry--reverse .timeline-photo {
    grid-column: 4 / span 7;
  }

  .timeline-entry--reverse .timeline-copy {
    grid-column: 1 / span 5;
  }
}

@media screen and (min-width: 1440px) {
  .hero-aboutme .hero-copy {
    left: 50%;
    right: auto;
    width: min(700px, calc(50% - 3vw));
    bottom: 139px;
  }
}
