/* Hallmark · page: about, 404 · shape: portrait beside the words, hairline rows, the shared close · page shape only, every component and state comes from site.css */
/* About: the portrait beside who I am, how I work as hairline rows, then the close. Tokens only. */

/* ---------- Who I am: the portrait holds five columns, the words sit beside it, centred on it, the personal line right after the lead ---------- */
/* The portrait is its own section, not part of the head: it takes the short section step, not the head's 64px (gate 59). */
.page-head + .about-who { padding-top: var(--section-gap-s); }
.about-who__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.about-who__photo { grid-column: 1 / 6; min-width: 0; }
.about-who__photo img { width: 100%; height: auto; border-radius: var(--radius-card); background: var(--color-paper-2); }
.about-who__text { display: flex; flex-direction: column; align-self: center; gap: var(--space-xl); grid-column: 7 / -1; min-width: 0; }
.about-who__intro { display: grid; gap: var(--space-lg); }
.about-who__home { max-width: 52ch; color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.45; }

/* ---------- How I work: a name on the left, one line on the right, hairlines between ---------- */
.ways { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.way { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: baseline; gap: var(--space-xs) var(--gap-columns); padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.way__name { grid-column: 1 / 6; margin: 0; }
.way__line { grid-column: 7 / -1; max-width: 46ch; color: var(--color-ink-2); font-size: var(--text-lg); line-height: 1.5; }

/* ---------- 404: it borrows this file for two spacing rules rather than carry a stylesheet of its own ---------- */
.notfound { padding-bottom: var(--section-gap); }
.notfound__links { margin-top: var(--space-xl); }

@media (max-width: 60rem) {
  .about-who__photo { grid-column: 1 / 8; }
  .about-who__text { grid-column: 1 / -1; }
  .way__name, .way__line { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .about-who__photo { grid-column: 1 / -1; }
  .way { padding-block: var(--space-lg); }
}
