/* Portraits and names match the linked scenario walkthroughs. */
.member-stories { background: #fcfaf7; padding: 48px 0 32px; margin-bottom: 48px; }
.member-stories .wrap { max-width: 1440px; padding-inline: 32px; }
.member-stories h2 { max-width: none; margin-bottom: 28px; }
.member-stories-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.member-stories-grid figure { margin: 0; min-width: 0; background: var(--raise, #fff); border: 1px solid var(--line, #CBD8E4); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.member-story-image-link { display: block; overflow: hidden; }
.member-story-photo { display: block; width: 100%; height: auto; aspect-ratio: 317 / 336; object-fit: cover; }
.member-story-link { display: inline-block; margin-top: auto; padding-top: 12px; color: var(--accent); font-size: .875rem; text-underline-offset: 4px; }
.member-stories-grid figcaption { margin: 0; padding: 18px; flex: 1; display: flex; flex-direction: column; font-size: 1rem; line-height: 1.5; color: var(--ink); text-align: left; }
.member-story-identity { display: block; min-height: 3em; margin-bottom: 8px; font-size: .875rem; color: var(--ink-soft); }
.member-story-identity strong { color: var(--ink); font-weight: 600; }
.member-story-purpose { display: block; min-height: 3em; margin-bottom: 8px; font-size: .875rem; font-weight: 600; color: var(--accent); }
.member-story-caption { display: block; min-height: 3em; font-size: .875rem; line-height: 1.55; }
.member-stories-note { margin: 18px 0 0; color: var(--ink-soft); font-size: .75rem; line-height: 1.4; text-align: right; }
:root[data-theme="dark"] .member-stories { background: var(--raise); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .member-stories { background: var(--raise); }
}
@media (max-width: 900px) {
  .member-stories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
}
@media (max-width: 540px) {
  .member-stories { padding-top: 36px; margin-bottom: 32px; }
  .member-stories .wrap { padding-inline: 24px; }
  .member-stories-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .member-stories-grid figcaption { text-align: center; }
  .member-story-identity, .member-story-purpose, .member-story-caption { min-height: 0; }
  .member-stories-note { text-align: center; }
}

.member-story-also { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.55; color: var(--ink-soft); }
