/* People on the About page: operating leadership and board.
   Loaded by about.html and index.html on top of styles.css. No card surfaces, no portrait
   rings and no tag chips: each person is a ruled row with a photo, a name, a short bio,
   and their career highlights one click away.

   Photos are shown in full colour on a tile with one large rounded corner. The photos on
   file are 200 px squares, so they stay small. When new portraits arrive (4:5, 1200 px or
   wider, one backdrop), add the class people--portraits to a .people-list. That switches
   it to large portraits with the name set over a soft gradient. */

.people-entry { display: grid; grid-template-columns: 1fr; gap: 1rem 1.75rem; align-items: start; padding: 2rem 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .people-entry { grid-template-columns: 9rem minmax(0, 1fr); } }

.people-photo { display: block; width: 7rem; aspect-ratio: 1; border-radius: .6rem .6rem 25% .6rem; overflow: hidden; background: var(--linen); }
@media (min-width: 640px) { .people-photo { width: 9rem; } }
.people-photo img { width: 100%; height: 100%; object-fit: cover; }

.people-name { font-size: 1.75rem; line-height: 1.15; }
.people-role { margin-top: .2rem; font-size: 1.02rem; font-weight: 700; color: var(--secondary); }
.people-creds, .people-focus { margin-top: .2rem; font-size: 14px; color: var(--ink-soft); }
.people-bio { margin-top: .9rem; max-width: 62ch; font-size: 1.02rem; line-height: 1.65; }

.people-more { margin-top: 1rem; }
.people-more summary { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem 0; font-size: 14.5px; font-weight: 700; color: var(--brand); cursor: pointer; list-style: none; }
.people-more summary::-webkit-details-marker { display: none; }
.people-more summary::after { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 1.3rem; height: 1.3rem; border: 1.5px solid currentColor; border-radius: 9999px; font-size: 15px; line-height: 1; }
.people-more[open] summary::after { content: "\2212"; }
.people-more summary:hover { color: var(--brand-hover); }
.people-more ul { max-width: 62ch; margin: .75rem 0 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.people-more li { position: relative; padding-left: 1rem; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.people-more li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 9999px; background: var(--brand); }
.people-more li strong { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .people-more[open] ul { animation: faq-in .25s var(--ease-out); } }

/* Board: the chair leads, the four directors sit two across. */
.people-board .people-entry { grid-template-columns: 1fr; }
@media (min-width: 640px) { .people-board .people-entry { grid-template-columns: 6.5rem minmax(0, 1fr); } }
@media (min-width: 900px) {
  .people-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
  .people-board .people-entry.is-chair { grid-column: 1 / -1; grid-template-columns: 9rem minmax(0, 1fr); }
}
.people-board .people-photo { width: 6.5rem; }
.people-board .is-chair .people-photo { width: 7rem; }
@media (min-width: 640px) { .people-board .is-chair .people-photo { width: 9rem; } }
.people-board .people-name { font-size: 1.45rem; }
.people-board .is-chair .people-name { font-size: 1.75rem; }

/* Large portraits, for when real photos exist. */
.people--portraits { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 2.5rem 1.5rem; }
.people--portraits .people-entry, .people--portraits .people-entry.is-chair { display: grid; grid-column: auto; grid-template-columns: 1fr; gap: .6rem 0; align-content: start; align-self: start; padding: 0; border-top: 0; }
.people--portraits .people-photo, .people--portraits.people-board .people-entry .people-photo { grid-area: 1 / 1; width: 100%; aspect-ratio: 4 / 5; border-radius: .75rem .75rem 3rem .75rem; position: relative; }
.people--portraits .people-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(29, 32, 54, .88) 0%, rgba(29, 32, 54, 0) 55%); }
.people--portraits .people-text { display: contents; }
.people--portraits .people-head { grid-area: 1 / 1; align-self: end; z-index: 1; padding: 1.25rem; }
.people--portraits .people-name, .people--portraits .people-role { color: var(--paper); }
.people--portraits .people-name, .people--portraits.people-board .people-entry .people-name { font-size: 1.35rem; }
.people--portraits .people-bio { max-width: none; margin-top: .4rem; font-size: .98rem; }

@media print {
  .people-entry { break-inside: avoid; }
}

/* Homepage teaser: three leaders side by side, same treatment as the About page. */
.people-strip { display: grid; gap: 0 2.5rem; }
@media (min-width: 900px) { .people-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.people-brief { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.1rem; align-items: start; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.people-brief .people-photo { width: 5.5rem; }
.people-brief .people-name { font-size: 1.2rem; }
.people-blurb { margin-top: .6rem; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
