/* ==========================================================================
   who.css  -  WHO IT IS FOR (CONTENT)
   Used by: <section id="who"> in index.html (three cards for the three kinds of people).
   ========================================================================== */

/* PEOPLE: the grid of cards. As many columns as fit (at least 320px each). */
.people { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); background: var(--border-dark); border: 1px solid var(--border-dark); border-radius: 8px; overflow: hidden; }
/* PERSON: one card. */
.person { background: #fff; color: var(--text-main); padding: 30px; display: flex; flex-direction: column; gap: 20px; min-height: 320px; }
/* The highlighted card (the third one): a soft blue tint instead of the old black, so it matches the page. */
.person.accent { background: linear-gradient(160deg, #EEF4FF 0%, #E3EDFF 100%); }
/* Top line of a card (small text). */
.person .top-row { display: flex; justify-content: space-between; gap: 12px; font: 11.5px var(--font-mono); letter-spacing: .08em; color: var(--text-body); }
/* Card title. */
.person h3 { flex: 1; font-weight: 300; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.04; letter-spacing: -.04em; }
/* Highlighted word in the title. */
.person h3 em { color: var(--brand-blue); }
/* Card text. */
.person p { font-size: 16px; line-height: 1.55; color: var(--text-body); }
/* The link line at the bottom of a card. */
.person footer { padding-top: 16px; border-top: 1px solid var(--border-dark); font: 12px var(--font-mono); letter-spacing: .06em; transition: color .2s ease; }
/* The link line turns blue when the card is hovered. */
.person:hover footer { color: var(--brand-blue); }
/* On the tinted card the line and the link line take the blue family colours. */
.person.accent footer { border-color: var(--brand-line); color: var(--brand-blue-dark); }
