/* A compact page heading brings the profile into the first screen. */
body[data-page="about"] > .inner-main {
  display: flex;
  flex-direction: column;
}

body[data-page="about"] .about-page-hero {
  flex: 0 0 auto;
  min-height: 0;
  padding-block: 24px 28px;
}

.about-page-hero .eyebrow {
  margin-top: 16px;
}

body[data-page="about"] .about-page-hero h1 {
  margin-top: 8px;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
  text-align: left;
}

.about-page-hero .page-hero-bottom {
  align-items: flex-start;
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}

body[data-page="about"] .about-content {
  flex: 1 0 auto;
  padding-block: 32px 80px;
}

.about-content .about-layout {
  grid-template-columns: minmax(200px, 320px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}

.about-content .about-portrait-placeholder {
  margin-top: 24px;
}

.about-content .about-copy {
  max-width: 720px;
}

.about-content .about-copy h2 {
  margin-top: 12px;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.15;
}

/* Long profile copy uses regular weight; the name retains the emphasis. */
.about-content .about-copy > p:not(.eyebrow, .placeholder-tag) {
  font-weight: 400;
}

.about-content .about-copy .profile-keyword {
  font-weight: 600;
}

.about-content .about-copy > p.about-lead {
  max-width: min(100%, 24em);
  margin-top: 24px;
  font-size: 28px;
  line-height: 1.65;
}

.about-content .about-copy > p:not(.eyebrow, .placeholder-tag, .about-lead) {
  margin-top: 24px;
}

.about-content .about-facts {
  margin-top: 40px;
}

.about-content .text-link {
  margin-top: 32px;
}

.about-copy > .about-resume-link {
  margin-inline-start: 32px;
}

.about-resume-link[aria-disabled="true"] {
  color: var(--muted);
  border-color: currentColor;
  cursor: default;
}

@media (max-width: 760px) {
  body[data-page="about"] .about-page-hero {
    padding-block: 20px 24px;
  }

  body[data-page="about"] .about-page-hero h1 {
    font-size: 36px;
  }

  body[data-page="about"] .about-content {
    padding-block: 28px 56px;
  }

  .about-content .about-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .about-content .about-copy { grid-row: 1; }
  .about-content .about-side { grid-row: 2; }
  .about-content .about-copy h2 { font-size: 32px; }

  .about-content .about-copy > p.about-lead {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .about-copy > .about-resume-link {
    display: flex;
    width: 178px;
    margin-inline-start: 0;
    margin-top: 16px;
  }
}
