.about-photo-copy { min-width:0; }
.about-portrait { margin:0; min-width:0; }
.about-portrait img,.author-photo-placeholder { display:block; width:100%; aspect-ratio:4 / 5; object-fit:cover; border:1px solid var(--color-border); border-radius:8px; }
.author-photo-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; text-align:center; padding:20px; color:var(--color-text-secondary); background:linear-gradient(145deg,#f7f6f4,#ebe9e6); font-size:.8rem; line-height:1.5; }
.author-photo-placeholder span { overflow-wrap:anywhere; max-width:100%; font-size:.7rem; }
.about-content.has-author-photos { max-width:1000px; }
.about-photo-row.has-photo { display:grid; grid-template-columns:minmax(0,230px) minmax(0,1fr); gap:36px; align-items:start; }
.about-content.has-author-photos .about-divider,.about-content.has-author-photos .about-quote,.about-photo-row:not(.has-photo) { max-width:700px; margin-left:auto; margin-right:auto; }
.about-work { max-width:700px; margin-left:auto; margin-right:auto; }
.author-gallery { margin:20px 0 28px; padding:0; border:0; }
.author-gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.author-gallery-tile { display:block; width:100%; padding:0; border:1px solid var(--color-border); border-radius:8px; overflow:hidden; background:var(--color-surface); cursor:zoom-in; }
.author-gallery-tile img { display:block; width:100%; aspect-ratio:4 / 3; object-fit:cover; transition:opacity .2s; }
.author-gallery-tile:hover img { opacity:.88; }
.author-gallery-grid > .author-photo-placeholder { aspect-ratio:4 / 3; }
.author-gallery-tile:focus-visible,.author-viewer button:focus-visible { outline:3px solid var(--color-accent); outline-offset:4px; }
.author-viewer { width:min(1100px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); margin:auto; padding:16px; color:var(--color-text); background:white; border:1px solid var(--color-border); border-radius:8px; overflow:auto; overscroll-behavior:contain; }
.author-viewer::backdrop { background:rgb(0 0 0 / .8); }
.author-viewer-header { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.author-viewer-header h2 { font-size:1rem; }
.author-viewer button { min-width:44px; min-height:44px; padding:8px 14px; border:1px solid var(--color-border); border-radius:5px; background:white; font:inherit; }
.author-viewer img { display:block; width:100%; max-height:calc(100dvh - 130px); object-fit:contain; }
@media(max-width:900px) {
  .author-gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  .about-photo-row.has-photo { grid-template-columns:minmax(0,180px) minmax(0,1fr); gap:24px; }
}
@media(min-width:601px) and (max-width:900px) {
  .author-gallery-grid > :last-child { grid-column:1 / -1; width:calc((100% - 16px) / 2); justify-self:center; }
}
@media(max-width:600px) {
  .about-photo-row.has-photo { display:flex; flex-direction:column; gap:24px; }
  .about-portrait { width:min(100%,280px); align-self:center; }
  .about-photo-copy { width:100%; }
  .author-gallery { margin:18px 0 24px; }
  .author-gallery-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
}
