.author-section {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 24px 64px;
}
.author-identity { min-width: 0; position: relative; }
.author-section.author-has-photo { grid-template-columns: minmax(220px,320px) minmax(0,1fr); align-items: start; }
.author-has-photo .author-portrait { grid-row: 1 / span 2; align-self: center; }
.author-has-photo .author-story { grid-column: 2; }
.author-section:not(.author-has-photo) .author-story { grid-column: 2; grid-row: 1; }

.author-section h2 {
  font-size: clamp(38px,4.2vw,68px);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.author-name-line { display: block; }
.author-role { margin-top: 20px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.author-story { padding-top: 0; min-width: 0; }
.author-story h3 { font-weight: 400; font-size: 24px; letter-spacing: -.025em; line-height: 1.4; }
.author-bio {margin-top: 16px; max-width: 65ch; color: var(--muted); font-size: var(--type-control); line-height: 1.8;}
.author-bio + .author-bio { margin-top: 16px; }
.author-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 24px; }
.author-links[hidden],.author-portrait[hidden] {display: none;}
.author-profile-link {display: inline-flex; align-items: center; justify-content: space-between; min-height: 48px; gap: 24px; border-bottom: 1px solid var(--line); font-size: var(--type-control);}
.author-links svg {width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: var(--icon-stroke);}

.author-portrait { margin: 0; max-width: 320px; }
.author-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center; mask-image: linear-gradient(to bottom,#000 0%,#000 72%,transparent 100%); }

.site-footer .footer-author {font-size: var(--type-caption); line-height: 1.8;}
.footer-author a { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; }
@media (hover:hover) and (pointer:fine) {
  .author-profile-link:hover { color: var(--accent); border-color: var(--accent); }
  
  .footer-author a:hover { text-decoration-color: var(--accent); }
}
@media (max-width:760px) {
  .author-section,.author-section.author-has-photo {grid-template-columns: 1fr; gap: 24px;}
  .author-has-photo .author-portrait { grid-row: auto; }
  .author-section .author-story,.author-section:not(.author-has-photo) .author-story {grid-column: auto; grid-row: auto;}
  .author-story { padding-top: 0; }
  .author-portrait { max-width: 100%; }
  .author-section.author-has-photo .author-portrait { max-width: 280px; }
  .author-links { gap: 12px 24px; }
}
