/* About: one table line across the hero. The name sits on it at the left,
   the portrait stands on it at the right, role and intro sit under it. */
  .about-hero {
    --table-line: color-mix(in oklab, var(--accent) 55%, transparent);
    --table-line-w: 2px;
    padding: clamp(40px, 6vw, 88px) var(--pad-x) clamp(48px, 6vw, 88px);
  }
  /* Light mode: a solid ink line, heavier than the dark one so it reads on a pale page. */
  [data-theme="light"] .about-hero {
    --table-line: #17324a;
    --table-line-w: 3px;
  }
  .about-table {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    column-gap: clamp(24px, 4vw, 64px);
    align-items: end;
    border-bottom: var(--table-line-w) solid var(--table-line);
  }
  /* Bottom padding keeps the descenders of j and y clear of the line. */
  .about-name { font-size: clamp(48px, 7.4vw, 112px); margin: 0; padding-bottom: 0.18em; max-width: none; }
  /* The stage covers only the inked part of the PNG (837 of 900 rows),
     so the figure's base lands exactly on the border. */
  .portrait-stage {
    position: relative;
    isolation: isolate;
    justify-self: end;
    width: 100%;
    max-width: 620px;
    aspect-ratio: 1204 / 837;
  }
  .portrait-img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: auto;
    display: block;
    transition: opacity 0.25s ease, filter 0.25s ease;
  }
  /* Half dome of glow rising from the table, cut off at the line. */
  .portrait-stage::before {
    content: "";
    position: absolute;
    inset: -10% -4% 0;
    z-index: -1;
    background: radial-gradient(ellipse 60% 90% at 50% 100%, var(--accent-soft), transparent 70%);
  }
  /* Light mode: soften the dark ink so the portrait is not heavy on a pale page. */
  [data-theme="light"] .portrait-img {
    opacity: 0.88;
    filter: brightness(1.05) saturate(0.9);
  }
  .about-under {
    display: grid; gap: 10px;
    max-width: 52ch;
    padding-top: clamp(20px, 2.4vw, 32px);
  }
  .about-role { margin: 0; color: var(--ink); }
  .about-intro { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
  @media (max-width: 900px) {
    .about-table { grid-template-columns: 1fr; row-gap: 20px; }
    .about-name { padding-bottom: 0; }
    .portrait-stage { justify-self: center; max-width: 520px; }
  }
