/* Shared profile links and biography additions use the existing site palette. */
.profile-social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.profile-social-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 9px 14px; border: 1px solid currentColor; border-radius: 999px; font-size: .88rem; text-decoration: none; overflow-wrap: anywhere; }
.profile-social-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.profile-social-links a:focus-visible, .profile-image-credit a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
footer .profile-social-links { flex-basis: 100%; }
.profile-image-credit { margin: 12px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.profile-image-credit a { text-decoration: underline; text-underline-offset: 3px; }
.profile-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 28px 0; }
.profile-facts div { min-width: 0; padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); }
.profile-facts dt { color: var(--muted); font-size: .82rem; margin-bottom: 6px; }
.profile-facts dd { margin: 0; overflow-wrap: anywhere; }
.profile-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.profile-work-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); min-width: 0; }
.profile-work-card h3, .profile-work-card p { margin: 0; }
.profile-work-card .btn { margin-top: auto; }
.profile-work-role, .profile-updated { color: var(--muted); font-size: .88rem; }
.profile-rights-copy { max-width: 800px; }
.profile-rights-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.profile-rights-gallery figure { margin: 0; }
.profile-rights-gallery img { width: 100%; height: 220px; object-fit: contain; background: var(--paper); border-radius: var(--radius-md); }
.profile-rights-gallery figcaption { font-size: .85rem; padding-top: 10px; }
@media (max-width: 650px) {
  .profile-facts, .profile-work-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-rights-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-rights-gallery img { height: 150px; }
}
