/* Compact academic lists with shared typography across the portfolio. */
.portfolio-page { --ink: #252d31; --muted: #60696a; --accent: #8b3454; --line: #dfdfd8; margin: 0; background: #faf9f6; color: var(--ink); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.portfolio-page *, .portfolio-page *::before, .portfolio-page *::after { box-sizing: border-box; }
.portfolio-page a { color: inherit; text-decoration: none; transition: color .15s; }
.portfolio-page a:hover { color: var(--accent); }
.portfolio-page a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.portfolio-page h1, .portfolio-page h2, .portfolio-page h3, .portfolio-page p { margin: 0; }
.portfolio-header { max-width: 1040px; padding: 20px 32px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.portfolio-brand { font-size: 22px; font-weight: 650; letter-spacing: -.5px; line-height: 1.3; white-space: nowrap; }
.portfolio-brand span { display: block; font-size: 11px; letter-spacing: 1px; font-weight: 500; color: var(--muted); margin-top: 3px; text-transform: uppercase; }
.portfolio-nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.portfolio-nav a { padding: 6px 0; }
.portfolio-nav a[aria-current] { color: var(--accent); box-shadow: 0 2px var(--accent); }
.portfolio-nav .terminal-link { font-family: monospace; }
.portfolio-main { max-width: 1040px; padding: 0 32px 40px; margin: auto; }
.page-intro { padding: 28px 0 12px; }
.page-intro h1 { font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 400; line-height: 1.2; letter-spacing: -.8px; }
.section-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }
.section-nav a { color: var(--accent); font-size: 14px; padding: 3px 0; text-decoration: underline; text-decoration-color: #d1a5b6; text-underline-offset: 3px; }
.portfolio-section { scroll-margin-top: 20px; margin-top: 24px; }
.section-heading { padding-bottom: 6px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.section-heading h2 { font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 400; letter-spacing: -.3px; }
.talk-list, .paper-list, .teaching-list, .poster-list { list-style: none; padding: 0; margin: 0; }
.paper-entry + .paper-entry, .talk-entry + .talk-entry, .teaching-entry + .teaching-entry { margin-top: 18px; }
.entry-content h3, .paper-entry h3 { font-size: 17px; font-weight: 600; line-height: 1.4; }
.paper-authors { font-size: 14px; color: var(--muted); margin-top: 3px !important; }
.paper-authors b { color: var(--ink); }
.paper-meta, .entry-meta { font-size: 13px; color: var(--muted); margin-top: 3px !important; }
.paper-venue { color: var(--accent); font-weight: 600; }
.entry-links { display: inline; margin-left: 8px; }
.entry-meta > .entry-links:first-child { margin-left: 0; }
.entry-links:empty { display: none; }
.entry-links a { display: inline-block; color: var(--accent); margin-right: 8px; text-decoration: underline; text-decoration-color: #d1a5b6; text-underline-offset: 3px; }
.entry-links a:last-child { margin-right: 0; }
.talk-entry, .teaching-entry { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; }
.entry-date { font-size: 13px; color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums; }
.entry-event { font-size: 14px; margin-top: 3px !important; }
.entry-location { color: var(--muted); }
.entry-description { color: var(--muted); font-size: 14px; margin-top: 3px !important; }
.course-code { font-size: 14px; color: var(--accent); font-weight: 600; }
.contribution-note { font-size: 13px; color: var(--muted); }
.contribution-note a { text-decoration: underline; }
.poster-list { margin-top: 16px; }
.poster-list li + li { margin-top: 20px; }
.poster-entry { display: flex; align-items: center; gap: 20px; }
.poster-entry img { width: 100px; height: 76px; object-fit: contain; object-position: left center; flex-shrink: 0; }
.poster-entry h2 { font-size: 17px; font-weight: 600; }
.poster-entry p { color: var(--muted); font-size: 14px; }
.poster-entry span { color: var(--accent); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.portfolio-footer { width: calc(100% - 64px); max-width: 976px; margin: auto; border-top: 1px solid var(--line); padding: 16px 0 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--muted); }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px 20px; background: #fff; z-index: 100; }
.skip-link:focus { top: 12px; }
@media (max-width: 760px) {
  .portfolio-header { padding: 18px 20px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .portfolio-nav { gap: 4px 18px; }
  .portfolio-main { padding: 0 20px 32px; }
  .page-intro { padding-top: 24px; }
  .page-intro h1 { font-size: 32px; }
  .portfolio-footer { width: auto; margin: 0 20px; }
}
@media (max-width: 540px) {
  .talk-entry, .teaching-entry { grid-template-columns: 1fr; gap: 3px; }
  .entry-date { padding-top: 0; }
  .entry-content h3, .paper-entry h3 { font-size: 16px; }
  .paper-entry + .paper-entry, .talk-entry + .talk-entry, .teaching-entry + .teaching-entry { margin-top: 20px; }
  .poster-entry { gap: 14px; }
  .poster-entry img { width: 76px; height: 60px; }
}
