.journey-heading {
  text-align: center;
  margin: 0 0 40px;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.about-page {
  max-width: 1120px;
  margin: 24px auto 56px;
  color: #292e33;
}

.about-page h1 {
  margin: 0 0 20px;
  text-align: left;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}

.about-flow {
  text-align: center;
  min-width: 0;
}

.about-flow h3 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
}

.about-flow ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.flow-null {
  margin: 20px 0 0;
  font-family: monospace;
  font-size: 1.25rem;
  color: #d63384;
}
.flow-arrow,
.about-flow li + li::before {
  display: block;
  content: "";
  width: 12px;
  height: 48px;
  margin: 12px auto;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 10px, 60% 10px, 60% 100%, 40% 100%, 40% 10px, 0 10px);
}

.flow-box {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  padding: 5px 16px;
  border: 1px solid #3b4249;
  border-radius: 4px;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.journey-entry {
  margin: 0;
}

.journey-entry .flow-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 120px;
  padding: 16px;
}

.journey-entry img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-placeholder {
  color: #687078;
  font-size: 1rem;
  font-weight: 400;
}

.journey-entry figcaption {
  margin-top: 10px;
  font-size: 1.125rem;
  overflow-wrap: anywhere;
}

.entry-title {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
}
.entry-dates {
  display: block;
  margin-top: 4px;
  font-size: .95rem;
  color: #626b74;
}

@media (max-width: 600px) {
  .about-columns {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.about-intro {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  margin-bottom: 48px;
}

.profile-photo {
  width: 240px;
  aspect-ratio: 4 / 5;
}

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

.intro-copy {
  /* Balance the visible text against the photo, accounting for font leading. */
  position: relative;
  top: -4px;
}

.intro-copy p {
  line-height: 1.6;
}

.intro-summary {
  font-size: 1.2rem;
}

.resume-action {
  margin-bottom: 0;
}

.resume-button {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--accent-strong);
  border-radius: 4px;
  background: var(--accent);
  color: black;
  font-weight: 600;
  text-decoration: none;
}

.resume-button:hover {
  background: var(--accent-strong);
}

.resume-button:focus-visible {
  outline: 2px solid #292e33;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .about-intro {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    top: 0;
  }

  .profile-photo {
    width: min(240px, 100%);
    justify-self: center;
  }
}
