/* ==========================================================================
   About page (/about) — builds on styles.css and theme.css
   ========================================================================== */
.nw { white-space: nowrap; }

/* No sticky photo: the copy sits beside it, headline level with the top of the
   photo and the last rule level with its bottom. Type: headline, chapter headings, one body style. */
/* Photo column: 0.7 to 1 with the copy, but never taller than the window allows */
.ab-grid {
  padding-top: 56px; padding-bottom: 96px; display: grid; gap: 72px; align-items: stretch;
  --gap: 72px; column-gap: var(--gap);
  grid-template-columns: min(calc((100% - var(--gap)) * 0.7 / 1.7), calc((100svh - 73px - 56px - 24px) * 0.8)) 1fr;
}
.ab-media { align-self: start; }
.ab-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; max-width: 672px; }
.ab-open { display: flex; flex-direction: column; gap: 20px; }
.ab-open .h2-about { margin-top: -0.12em; font-size: clamp(36px, 3.6vw, 52px); text-wrap: balance; }
.ab-chapter { border-top: 1px solid var(--ink-line-15); padding: 18px 0 20px; display: flex; flex-direction: column; gap: 6px; }
.ab-chapter:last-child { border-bottom: 1px solid var(--ink-line-15); }
.ab-chapter h2 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance; }
@media (min-width: 961px) and (max-width: 1200px) { .ab-grid { --gap: 48px; } }
/* Tablets and phones: photo first, then the copy */
@media (max-width: 960px) {
  .ab-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; padding-bottom: 64px; }
  .ab-copy { gap: 28px; }
  .ab-open .h2-about { margin-top: 0; }
}
@media (min-width: 561px) and (max-width: 960px) { .ab-media { max-width: 440px; } }
/* Phones: the headline holds two lines, as on the home page */
@media (max-width: 600px) { .ab-open .h2-about { font-size: min(36px, 8.2vw); } }

/* The opening paragraph reads as the introduction by weight alone: the body size, black, medium weight */
.ab-open .about-body { color: var(--ink); font-weight: 500; }
/* Chapter text in black too, not grey */
.ab-chapter .about-body { color: var(--ink); }
