.archive-controls { max-width: 30rem; }
.archive-clip { max-width: 58rem; margin-inline: auto; overflow-wrap: anywhere; }
.archive-clip h1, .archive-clip h2 { font-family: Georgia, serif; }
.archive-clip h1 { font-size: clamp(1.9rem, 5vw, 3.4rem); }
.archive-clip p, .archive-clip li { line-height: 1.75; }
.archive-clip > p, .archive-clip > ul, .archive-clip > blockquote { max-width: 75ch; }
.archive-clip h4 { font-size: 1.25rem; }
.archive-clip a { text-decoration: underline; }
.archive-clip figure, .archive-embed { margin-block: 1.5rem; }
.archive-clip img { display: block; max-width: 100%; height: auto; }
.archive-clip figcaption, .archive-media-note { color: var(--muted); }
.archive-clip audio { display: block; max-width: 100%; }
.archive-embed iframe { display: block; width: 100%; min-height: 32rem; border: 0; margin-top: 1rem; }
.archive-embed .archive-story-frame { height: clamp(32rem, 78svh, 56rem); }

.portfolio-table-scroll { overflow-x: auto; border: 1px solid #ddd8cb; }
.portfolio-table { width: 100%; min-width: 42rem; background: #fffdf7; }
.portfolio-table th, .portfolio-table td { padding: .85rem 1rem; text-align: left; vertical-align: top; }
.portfolio-table thead { background: #ebe7dc; }
.portfolio-table tbody tr + tr { border-top: 1px solid #ddd8cb; }
.portfolio-table tbody tr:hover, .portfolio-table tbody tr:focus-within { background: #f5f2e8; }
.portfolio-table th button {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 700;
  white-space: nowrap;
}
.portfolio-table th button::after { content: '↕' / ''; opacity: .55; }
.portfolio-table th[aria-sort="ascending"] button::after { content: '↑' / ''; opacity: 1; }
.portfolio-table th[aria-sort="descending"] button::after { content: '↓' / ''; opacity: 1; }
.portfolio-table time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.portfolio-table .portfolio-title { text-align: start; white-space: normal; }
