:root {
  --bg:        #fefdf9;
  --ink:       #253342;
  --text:      #4b5a6a;
  --muted:     #87919c;
  --line:      rgba(39, 55, 70, 0.105);
  --link:      #244e76;
  --accent:    #9e3a26;
  --code-bg:   #f4f2ec;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --page: 980px;
}

/* Dark applies when the OS asks for it and the reader has not forced light,
   or when the reader has explicitly forced dark. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:      #14171a;
    --ink:     #e4e6e8;
    --text:    #adb6c0;
    --muted:   #7e878f;
    --line:    rgba(200, 214, 228, 0.13);
    --link:    #8fb6e0;
    --accent:  #d9836b;
    --code-bg: #1e2226;
  }
}
:root[data-theme="dark"] {
    --bg:      #14171a;
    --ink:     #e4e6e8;
    --text:    #adb6c0;
    --muted:   #7e878f;
    --line:    rgba(200, 214, 228, 0.13);
    --link:    #8fb6e0;
    --accent:  #d9836b;
    --code-bg: #1e2226;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 30px;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ───────────────────────────  header  ─────────────────────────── */

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}

.site-name {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.site-name:hover { text-decoration: none; }

.nav { font-size: 15.5px; }
.nav a { color: #4f5d6b; }
.nav a.active { color: var(--ink); }
.nav-sep { color: #b8bec5; margin: 0 7px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav a { color: var(--text); }
  :root:not([data-theme="light"]) .nav-sep { color: #4c565f; }
}
:root[data-theme="dark"] .nav a { color: var(--text); }
:root[data-theme="dark"] .nav-sep { color: #4c565f; }

/* ───────────────────────────  home hero  ─────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  margin-bottom: 46px;
}

.hero-art {
  width: 100%;
  height: auto;
  display: block;
  margin-left: -14px;   /* the artwork carries its own optical padding */
}

/* Natural aspect ratio — the portrait is never cropped. */
.hero-photo {
  width: 100%;
  height: auto;
  border-radius: 3px;
  display: block;
  margin-bottom: 18px;
}

.hero-text { padding-top: 2px; }

/* right rail beside the About prose */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  gap: 34px;
  align-items: start;
}
.accent-art {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.95;
}
.rail-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 8px;
}

.kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.02;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}

.hero-lede {
  font-size: 16.5px;
  color: var(--text);
  margin: 0 0 13px;
  max-width: 42em;
}
.hero-lede:last-of-type { margin-bottom: 17px; }

.hero-email {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.hero-links {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}
.hero-links a { color: var(--link); }
.hero-links .sep { margin: 0 5px; color: #b8bec5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-links .sep { color: #4c565f; } }
:root[data-theme="dark"] .hero-links .sep { color: #4c565f; }

/* ───────────────────────────  prose  ─────────────────────────── */

.prose p {
  margin: 0 0 17px;
  color: var(--text);
  max-width: 68ch;
}
.prose p strong { color: var(--ink); font-weight: 600; }

h2.section {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin: 52px 0 18px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.005em;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
h2.section .more {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
}

/* ───────────────────────────  news  ─────────────────────────── */

.news {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 8px;
}
.news li {
  display: flex;
  gap: 14px;
  padding: 8px 0;
  font-size: 15.5px;
  color: var(--text);
  border-bottom: 1px solid transparent;
}
.news .date {
  flex: none;
  width: 104px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}

/* ───────────────────────────  publications  ─────────────────────────── */

.pub-year {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin: 34px 0 14px;
  text-transform: uppercase;
}

.pub {
  margin-bottom: 22px;
}
.pub-title {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin: 0 0 4px;
}
.pub-title a { color: var(--ink); }
.pub-authors {
  font-family: var(--serif);
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 3px;
}
.pub-authors .me { color: var(--ink); font-weight: 600; }
.pub-venue {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.pub-venue .award { color: var(--accent); }
.pub-links {
  font-size: 13.5px;
  margin-top: 3px;
}
.pub-links a { margin-right: 10px; }

.note {
  font-family: var(--serif);
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ───────────────────────────  cv  ─────────────────────────── */

.cv-entry {
  display: flex;
  gap: 22px;
  margin-bottom: 24px;
}
.cv-when {
  flex: none;
  width: 128px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.cv-what { flex: 1; min-width: 0; }
.cv-what h3 {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 2px;
  line-height: 1.35;
}
.cv-role {
  font-family: var(--serif);
  font-size: 14.5px;
  color: var(--text);
  margin: 0 0 6px;
}
.cv-role .where { color: var(--muted); }
.cv-what ul {
  font-family: var(--serif);
  margin: 0;
  padding-left: 17px;
  font-size: 14.5px;
  color: var(--text);
}
.cv-what li { margin-bottom: 5px; }
.cv-what li::marker { color: var(--muted); }

.skills { font-family: var(--serif); font-size: 15px; color: var(--text); }
.skills p { margin: 0 0 8px; }
.skills strong { color: var(--ink); font-weight: 600; }

.dl-row {
  font-family: var(--serif);
  font-size: 15px;
  margin-bottom: 4px;
}

/* ───────────────────────────  blog index  ─────────────────────────── */

.post-item {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.post-item:hover { text-decoration: none; }
.post-item:hover .post-item-title { text-decoration: underline; text-underline-offset: 2px; }
.post-item-title {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 5px;
}
.post-item-meta {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.post-item-excerpt {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--text);
  margin: 6px 0 0;
}

.empty-state {
  font-family: var(--serif);
  color: var(--muted);
  font-size: 15.5px;
  padding: 8px 0 40px;
}

/* ─────────────────────  blog post (Medium-style)  ───────────────────── */

.post-wrap { max-width: 680px; }

.post-header { margin-bottom: 34px; }
.post-header h1 {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.014em;
  color: var(--ink);
  margin: 0 0 12px;
}
.post-subtitle {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--muted);
  line-height: 1.4;
  margin: -4px 0 14px;
}
.post-meta {
  font-size: 13.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.post-body {
  font-family: var(--serif);
  font-size: 19.5px;
  line-height: 1.75;
  color: var(--ink);
}
.post-body p { margin: 0 0 25px; }
.post-body h2 {
  font-size: 27px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.008em;
  margin: 46px 0 14px;
}
.post-body h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 34px 0 10px;
}
.post-body ul, .post-body ol { margin: 0 0 25px; padding-left: 26px; }
.post-body li { margin-bottom: 9px; }
.post-body li::marker { color: var(--muted); }
.post-body img { max-width: 100%; height: auto; display: block; margin: 30px auto; border-radius: 2px; }
.post-body figure { margin: 30px 0; }
.post-body figcaption {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-top: 9px;
}
.post-body blockquote {
  margin: 28px 0;
  padding: 2px 0 2px 22px;
  border-left: 3px solid var(--line);
  color: var(--text);
  font-style: italic;
}
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body hr {
  border: 0;
  text-align: center;
  margin: 44px 0;
}
.post-body hr::before {
  content: "* * *";
  color: var(--muted);
  letter-spacing: 0.5em;
}
.post-body code {
  font-family: var(--mono);
  font-size: 0.83em;
  background: var(--code-bg);
  padding: 2px 5px;
  border-radius: 3px;
}
.post-body pre {
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 15px 17px;
  overflow-x: auto;
  margin: 0 0 25px;
  line-height: 1.55;
}
.post-body pre code {
  font-size: 14px;
  background: none;
  padding: 0;
  border-radius: 0;
}
.post-body table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 15.5px;
  margin: 0 0 25px;
  display: block;
  overflow-x: auto;
}
.post-body th, .post-body td {
  text-align: left;
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--line);
}
.post-body th { color: var(--ink); font-weight: 600; }
.post-body td { color: var(--text); }

.post-body .footnote {
  font-size: 15.5px;
  color: var(--text);
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding-top: 8px;
}
.post-body .footnote ol { padding-left: 20px; }

.post-nav {
  margin-top: 52px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

/* ───────────────────────────  footer  ─────────────────────────── */

.site-footer {
  margin-top: 68px;
  padding: 18px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ───────────────────────────  mobile  ─────────────────────────── */

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header { padding-top: 22px; margin-bottom: 32px; }
  .site-name { font-size: 21px; }
  .nav { font-size: 14.5px; }
  .nav-sep { margin: 0 5px; }

  .hero { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
  .hero-art { margin-left: 0; max-width: 400px; }
  .hero-photo { width: 132px; margin-bottom: 14px; }
  .hero-text { padding-top: 0; }
  .hero h1 { font-size: 34px; }
  .about { grid-template-columns: 1fr; gap: 22px; }
  .accent-art { max-width: 320px; }
  h2.section { margin-top: 42px; }

  .news li { flex-direction: column; gap: 1px; padding: 9px 0; }
  .news .date { width: auto; padding-top: 0; }

  .cv-entry { flex-direction: column; gap: 4px; }
  .cv-when { width: auto; }

  .post-header h1 { font-size: 30px; }
  .post-subtitle { font-size: 18px; }
  .post-body { font-size: 18.5px; line-height: 1.7; }
  .post-body h2 { font-size: 24px; }
  .post-body h3 { font-size: 20px; }
}

/* ───────────────────────────  print  ─────────────────────────── */

@media print {
  .site-header .nav, .site-footer, .dl-row { display: none; }
  body { font-size: 11pt; background: #fff; color: #000; }
  a { color: #000; }
  .cv-entry { break-inside: avoid; }
}

/* ══════════════════════════════════════════════════════════════════════
   Landing page, second pass — warmer, less rigid. Serif body, dot-rule
   section marks, link cards, numbered publications, art interleaved
   between text blocks instead of parked in a rail.
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --art-ink: #253342; --art-terra: #c05c3e; --art-blue: #7fa8cd;
  --art-teal: #4a8b8b; --art-mustard: #d9a441;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --art-ink: #c6d2dd; --art-terra: #d9836b; --art-blue: #6d93b8;
    --art-teal: #5d9c9c; --art-mustard: #c9a05a;
  }
}
:root[data-theme="dark"] {
    --art-ink: #c6d2dd; --art-terra: #d9836b; --art-blue: #6d93b8;
    --art-teal: #5d9c9c; --art-mustard: #c9a05a;
}

/* body copy in serif — the single biggest shift away from "academic page" */
.prose p, .hero-lede {
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.68;
}

/* ── section mark: title over a dot + short rule ── */
.sec { margin: 56px 0 22px; }
.sec:first-of-type { margin-top: 46px; }
.sec h2 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 9px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.sec h2 .more {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 400;
}
.sec .rule { display: flex; align-items: center; gap: 7px; }
.sec .rule i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--art-terra); flex: none;
}
.sec .rule s {
  width: 62px; height: 2px; background: var(--link);
  opacity: 0.45; text-decoration: none;
}

/* ── callout: the "right now" line ── */
.callout {
  border-left: 3px solid var(--art-terra);
  background: color-mix(in srgb, var(--art-terra) 6%, transparent);
  padding: 11px 16px;
  margin: 18px 0 20px;
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--text);
  border-radius: 0 3px 3px 0;
}

/* ── text beside artwork ── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 38px;
  align-items: center;
}
.split.flip { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); align-items: start; }
.split .art { width: 100%; height: auto; display: block; }
.split .portrait {
  width: 100%;
  max-width: 190px;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* ── link cards ── */
.linkcards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  margin: 30px 0 6px;
}
.linkcard {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 12px;
  border-right: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}
.linkcard:last-child { border-right: 0; }
.linkcard:hover { text-decoration: none; background: color-mix(in srgb, var(--art-blue) 8%, transparent); }
.linkcard .badge {
  width: 27px; height: 27px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; flex: none;
}
.linkcard .arw { margin-left: auto; color: var(--muted); font-size: 13px; }

/* ── numbered publications ── */
.pubrow {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.pubrow:last-of-type { border-bottom: 0; }
.pubnum {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--art-terra);
  padding-top: 2px;
}
.pubrow .pub-title { margin: 0 0 3px; }
.chips { display: flex; gap: 6px; flex: none; padding-top: 2px; align-self: start; }
.chip {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 11.5px;
  color: var(--text);
  white-space: nowrap;
}
.chip:hover { text-decoration: none; border-color: var(--link); color: var(--link); }
.vlabel {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--link);
  margin-top: 4px;
}
.vlabel .hl { color: var(--art-terra); }

@media (max-width: 720px) {
  .split, .split.flip { grid-template-columns: 1fr; gap: 22px; }
  .split .portrait { max-width: 150px; }
  .linkcards { grid-template-columns: repeat(2, 1fr); }
  .linkcard { border-bottom: 1px solid var(--line); }
  .sec h2 { font-size: 22px; }
}

/* ── standout: the thing a visitor should not miss ── */
.standout {
  border: 1px solid color-mix(in srgb, var(--art-mustard) 55%, transparent);
  background: color-mix(in srgb, var(--art-mustard) 13%, transparent);
  border-radius: 4px;
  padding: 14px 18px;
  margin: 30px 0 4px;
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
}
.standout strong { font-weight: 600; }
.standout .tag {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--art-mustard) 78%, var(--ink));
  margin-bottom: 5px;
}

/* ══════════════════════════════════════════════════════════════════════
   Ambient background. Without this the page is a flat field and the
   artworks read as floating on nothing.
   ══════════════════════════════════════════════════════════════════════ */

:root { --dot: rgba(39, 55, 70, 0.10); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --dot: rgba(200, 214, 228, 0.075); } }
:root[data-theme="dark"] { --dot: rgba(200, 214, 228, 0.075); }

/* fine dot field */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at center, var(--dot) 1px, transparent 1.3px);
  background-size: 25px 25px;
}

/* soft colour washes, so the field is not uniform */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(62% 46% at 10% -4%,
      color-mix(in srgb, var(--art-blue) 13%, transparent), transparent 72%),
    radial-gradient(52% 40% at 96% 14%,
      color-mix(in srgb, var(--art-terra) 8%, transparent), transparent 70%),
    radial-gradient(58% 42% at 78% 96%,
      color-mix(in srgb, var(--art-teal) 8%, transparent), transparent 72%);
}

/* content sits above the ambient layers */
.wrap { position: relative; z-index: 1; }

/* two artworks stacked in the About column — identical aspect ratios, so
   they align cleanly (the earlier portrait-over-landscape pairing did not) */
.artstack { display: grid; gap: 20px; }
.artstack img { width: 100%; height: auto; display: block; }

/* ══════════════════════════════════════════════════════════════════════
   Theme toggle, nav anchors, link icons
   ══════════════════════════════════════════════════════════════════════ */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: 26px; }

.nav-wrap { display: flex; align-items: center; gap: 14px; }

.theme-toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  flex: none;
  transition: color 0.15s, border-color 0.15s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--muted); }
.theme-toggle svg { width: 15px; height: 15px; display: block; }
/* the button shows the mode it will switch TO */
.theme-toggle .i-sun { display: none; }
.theme-toggle .i-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .i-sun  { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun  { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

/* ── link icons on publications ── */
.chip svg, .plink svg { width: 11px; height: 11px; flex: none; }
.chip { display: inline-flex; align-items: center; gap: 5px; }

.plinks { display: flex; flex-wrap: wrap; gap: 7px; margin: 7px 0 0; }
.plink {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 3px 11px;
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--text);
  line-height: 1.5;
  white-space: nowrap;
}
.plink:hover { text-decoration: none; border-color: var(--link); color: var(--link); }
.plink.pdf svg    { color: #b0472b; }
.plink.arxiv svg  { color: #b31b1b; }
.plink.code svg   { color: var(--ink); }
.plink.hf svg     { color: #e5a01e; }
.plink.data svg   { color: var(--art-teal); }
.plink.site svg   { color: var(--art-blue); }

/* ── publications page: year rail + entries ── */
.page-intro { margin-bottom: 34px; }
.page-intro h1 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.page-intro p {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--text);
  margin: 0;
  max-width: 62ch;
}
.page-intro .star { color: var(--art-terra); }

.pubgroup {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.pubrail {
  position: sticky;
  top: 22px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--art-terra);
  padding-top: 19px;
}
.pubentry { padding: 17px 0 19px; border-top: 1px solid var(--line); }
.pubgroup:first-of-type .pubentry:first-child { border-top: 0; padding-top: 2px; }
.pubentry .pub-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.4;
}
.pubentry .pub-authors { margin: 0 0 5px; font-size: 14.5px; color: var(--text); }
.pubentry .vlabel { margin: 0; }
.hf-emoji { font-size: 12px; line-height: 1; }

@media (max-width: 720px) {
  .pubgroup { grid-template-columns: 1fr; gap: 6px; }
  .pubrail { position: static; padding-top: 22px; }
  .page-intro h1 { font-size: 28px; }
}
