/* About: Angelo's photo in a rounded frame beside "About me.", his story, his name and role under a hairline,
   and the Repeat buyer drawing under them (owner, 05.11: About is Angelo's alone). The photo is shown whole,
   never stretched. The words line up with the photo (owner, 06.11): the heading's capitals start on its top
   edge and the drawing ends on its bottom edge. Where the words run longer than the photo, both start at the
   top. */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 104px); }
.about-photo { align-self: start; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); aspect-ratio: 1680 / 2102; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { display: flex; flex-direction: column; }
.about-copy h2 {
  margin-top: -0.18em; /* the space above Geist's capitals, so they start on the photo's top edge */
  font-family: var(--f-head);
  font-weight: 500;
  font-size: var(--t-headline);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.about-text { max-width: 620px; margin-top: 28px; font-size: 20px; line-height: 1.6; color: var(--fg-soft); text-wrap: pretty; }
.about-sign { max-width: 620px; margin-top: 40px; margin-bottom: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.about-name { font-size: 18px; font-weight: 500; line-height: 1.3; color: var(--fg); }
.about-role { margin-top: 4px; color: var(--fg-soft); }
.about-art { display: block; width: min(420px, 100%); margin-top: auto; aspect-ratio: 1088 / 433; overflow: hidden; }
/* the drawing's file has room around it (a 1200 x 900 box); this frame shows only the drawing, so its left edge
   lines up with the words and its bottom with the photo */
.about-art img { display: block; max-width: none; width: calc(100% * 1200 / 1088); height: auto; margin: calc(-100% * 233 / 1088) 0 0 calc(-100% * 56 / 1088); }

/* between the phone layout and 1240px the drawing has no room beside the photo: it steps out, and the name and
   role sit on the photo's bottom edge instead */
@media (min-width: 861px) and (max-width: 1239px) {
  .about-art { display: none; }
  .about-text { margin-bottom: 40px; }
  .about-sign { margin-top: auto; margin-bottom: 0; }
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { width: 100%; max-width: 460px; }
  .about-copy h2 { margin-top: 0; }
  .about-text { font-size: var(--t-lead); }
}
