:root {
  --ink: #1d3035;
  --muted: #66777a;
  --paper: #ffffff;
  --line: #d8d9d1;
  --accent: #d76e59;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Arial, sans-serif; margin: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.page-shell { margin: 0 auto; max-width: 920px; padding: 0 32px; }
.site-header { align-items: center; border-bottom: 1px solid var(--line); display: flex; height: 70px; justify-content: space-between; }
.site-nav { display: flex; gap: 24px; margin-left: auto; }
.site-nav a, .section-note, .paper-meta, .site-footer, .eyebrow { color: var(--muted); font-family: 'SFMono-Regular', Consolas, monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.site-nav a { transition: color 160ms ease; }
.site-nav a:hover { color: var(--accent); }
.profile-links { display: flex; gap: 10px; }
.profile-links a { align-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); display: flex; height: 34px; justify-content: center; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; width: 34px; }
.profile-links a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.intro-links { margin: 0 0 24px; }
.profile-icon { color: var(--muted); display: block; height: 16px; width: 16px; }
.profile-icon svg { display: block; fill: currentColor; height: 100%; width: 100%; }
.profile-links a:hover .profile-icon { color: var(--paper); }
.intro { border-bottom: 1px solid var(--line); padding: 72px 0 68px; }
.eyebrow { align-items: center; display: flex; gap: 8px; margin: 0 0 24px; }
.eyebrow::before { background: var(--accent); border-radius: 50%; content: ''; display: inline-block; height: 6px; width: 6px; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.045em; }
h1 { font-size: clamp(40px, 6vw, 54px); line-height: 1; margin: 0 0 20px; }
.intro-summary { color: var(--muted); font-size: 19px; line-height: 1.55; margin: 0; max-width: 690px; }
.content-section { border-bottom: 1px solid var(--line); display: grid; gap: 36px; grid-template-columns: 54px minmax(0, 1fr); padding: 58px 0 66px; }
.section-label { color: var(--accent); font-family: 'SFMono-Regular', Consolas, monospace; font-size: 11px; padding-top: 6px; }
.section-body { min-width: 0; }
h2 { font-size: 32px; line-height: 1.08; margin: 0 0 24px; }
.section-body > p { color: var(--muted); font-size: 15px; line-height: 1.72; margin: 0 0 16px; max-width: 690px; }
.section-body > p:last-child { margin-bottom: 0; }
.inline-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.inline-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.about-links { margin-top: 28px; }
.about-links .paper-group-label { margin-bottom: 12px; }
.section-heading-row { align-items: baseline; display: flex; justify-content: space-between; }
.section-note { white-space: nowrap; }
.paper-legend { color: var(--muted); font-size: 12px; line-height: 1.5; margin: -10px 0 22px; }
.paper-legend span { color: var(--accent); font-weight: 700; }
.paper-list { border-top: 1px solid var(--ink); }
.paper-group + .paper-group { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 24px; }
.paper-group-label { color: var(--muted); font-family: 'SFMono-Regular', Consolas, monospace; font-size: 10px; letter-spacing: .06em; margin: 0; text-transform: uppercase; }
.paper-group .paper-item:first-of-type { border-top: 1px solid var(--line); margin-top: 12px; }
.paper-item { align-items: start; border-bottom: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: 44px minmax(0, 1fr) 18px; padding: 18px 0; transition: color 160ms ease, padding 160ms ease; }
.paper-item:hover { color: var(--accent); padding-left: 6px; padding-right: 6px; }
.paper-year { color: var(--muted); font-family: 'SFMono-Regular', Consolas, monospace; font-size: 11px; padding-top: 3px; }
.paper-main { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.paper-title { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; letter-spacing: -.015em; line-height: 1.3; }
.paper-authors { color: var(--muted); display: block; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.paper-authors .author-self { color: var(--ink); font-weight: 700; }
.paper-meta { letter-spacing: .03em; }
.paper-arrow { font-size: 15px; padding-top: 1px; text-align: right; }
.site-footer { display: flex; justify-content: space-between; padding: 26px 0 38px; }
@media (max-width: 620px) {
  .page-shell { padding: 0 20px; }
  .site-header { height: 62px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 9px; }
  .intro { padding: 58px 0 54px; }
  h1 { font-size: 42px; }
  .intro-summary { font-size: 17px; }
  .content-section { gap: 18px; grid-template-columns: 30px minmax(0, 1fr); padding: 44px 0 52px; }
  h2 { font-size: 29px; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 8px; }
  .paper-legend { margin-top: -2px; }
  .about-links { margin-top: 24px; }
  .paper-item { gap: 10px; grid-template-columns: 38px minmax(0, 1fr) 16px; }
  .paper-title { font-size: 17px; }
  .paper-authors { font-size: 12px; }
  .site-footer { align-items: start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { transition-duration: .01ms !important; } }
