/* Cool, muted gray keeps the introduction quiet and the portrait secondary. */
.about-page {
  --case-paper: #626b70;
  --case-ink: #f1efea;
  --case-muted: #f1efea;
  --case-line: #e3e8e530;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--case-paper);
  color: var(--case-ink);
}
.about-page .case-header { width: 100%; max-width: 1152px; }
.about-page .case-header nav a,
.about-page .case-footer a { text-decoration-color: #bdc8cd; }
.about-page .case-header nav a:hover,
.about-page .case-footer a:hover { color: #fff; text-decoration-color: currentColor; }
.about-main { flex: 1; width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 44px; }
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
  min-height: 460px;
  padding: 56px 0 48px;
}
.about-page h1,
.about-page h2 { font-family: Raosand, Georgia, serif; font-weight: 400; letter-spacing: -.025em; }
.about-page h1 { margin: 0 0 26px; font-size: clamp(2.8rem, 5.4vw, 4.4rem); line-height: 1.12; }
.about-intro { min-width: 0; }
.about-intro > p { max-width: 49ch; margin: 0; color: var(--case-muted); font-size: 1.125rem; line-height: 1.85; }
.about-aside { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.about-photo { width: 220px; max-width: 100%; margin: 0; }
.about-photo img { display: block; width: 100%; height: auto; }
.about-fun-fact {
  display: grid; grid-template-columns: minmax(0, 1fr) 70px; align-items: center; gap: 12px;
  width: 230px; max-width: 100%; padding: 14px 16px;
  border: 1px solid #dce5e038; border-radius: 18px 18px 5px 18px; background: #556167;
}
.about-fun-fact h2 { margin: 0 0 5px; font-size: 1.25rem; line-height: 1.3; }
.about-fun-fact p { margin: 0; font-size: .9375rem; line-height: 1.5; }
.about-fun-fact img { display: block; width: 70px; height: 70px; mix-blend-mode: lighten; }
.about-cv { display: flex; align-items: baseline; gap: 20px; padding: 26px 0; border-top: 1px solid var(--case-line); }
.about-cv h2 { margin: 0; font-size: 1.8rem; line-height: 1.2; }
.about-cv-link { font-size: 1rem; color: var(--case-ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #bdc8cd; }
.about-cv-link:hover { color: #fff; text-decoration-color: currentColor; }
.about-cv-link:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; border-radius: 2px; }
.about-page .case-footer { width: 100%; max-width: 1152px; margin-top: 32px; border-top: 1px solid var(--case-line); }
@media (max-width: 760px) {
  .about-main { padding: 0 24px; }
  .about-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 32px; padding: 34px 0; }
  .about-intro > p { max-width: 52ch; }
  .about-aside { flex-direction: row; justify-content: flex-start; gap: 24px; }
  .about-photo { flex: 0 0 170px; width: 170px; }
}
@media (max-width: 520px) {
  .about-page .case-header { gap: 20px; align-items: flex-start; }
  .about-page .case-header nav { gap: 14px; flex-wrap: wrap; justify-content: end; }
  .about-page h1 { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .about-aside { gap: 18px; }
  .about-photo { flex-basis: 150px; width: 150px; }
  .about-fun-fact { grid-template-columns: minmax(0, 1fr); gap: 6px; width: 160px; padding: 12px; }
  .about-fun-fact img { width: 50px; height: 50px; justify-self: end; }
  .about-page .case-footer { gap: 24px; flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .about-photo { flex-basis: 130px; width: 130px; }
  .about-aside { gap: 12px; }
}
