/*
 * 06 · Platform. Not the designer's: what the live site needed after launch, linked AFTER his five so
 * a rule here wins over his at equal specificity. Every selector is under `.cira-ir`, as his are.
 *
 * Fallback faces. The page paints in the stack's fallback until a web font arrives (his faces are
 * `font-display: swap`), and Georgia and Arial are drawn at other widths and heights than Source
 * Serif 4 and Albert Sans: the text visibly jumps in size when the real face lands. These two faces
 * are Georgia and Arial rescaled to the web fonts' metrics (Next's `next/font` method: size-adjust
 * from the average glyph width, ascent and descent divided by it; values from Next's
 * capsize-font-metrics.json), placed straight after the web font in each stack, so the swap moves
 * nothing. His Arabic stacks (`[dir='rtl']`, more specific, so untouched here) fall back to a
 * system Arabic face, which has no published metrics; those faces are preloaded instead
 * (`Chrome.tsx`).
 */
@font-face {
  font-family: 'CIRA Serif Fallback';
  src: local('Georgia');
  size-adjust: 107.45%;
  ascent-override: 96.42%;
  descent-override: 31.18%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'CIRA Sans Fallback';
  src: local('Arial'), local('ArialMT');
  size-adjust: 103.86%;
  ascent-override: 91.47%;
  descent-override: 24.07%;
  line-gap-override: 0%;
}
.cira-ir {
  --ci-disp: 'Source Serif 4', 'CIRA Serif Fallback', Georgia, 'Times New Roman', serif;
  --ci-body: 'Albert Sans', 'CIRA Sans Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/*
 * A lead card without a portrait. His wide card is a 220px portrait column beside the text; with no
 * portrait uploaded (CIRA's board, at launch) the text fell into that 220px column and an opened
 * biography ran several screens long beside an empty card. Without a portrait the text takes the
 * card. With one, nothing changes.
 */
.cira-ir .ci-person.is-wide:not(:has(> img)) {
  grid-template-columns: 1fr;
}
