/* ---------- design tokens ---------- */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f4f1ec;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-mute: #7a7a7a;
  --line: #e6e1d8;
  --accent: #b85c3c;        /* warm terracotta */
  --accent-soft: #f4dccd;
  --accent-ink: #6e2e16;
  --venue-1: #d5c7a3;
  --venue-2: #aac4b1;
  --venue-3: #c9a8b4;
  --venue-4: #a7b8d6;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.04);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1080px;
  --serif: "Source Serif Pro", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131210;
    --surface: #1c1b18;
    --surface-2: #232220;
    --ink: #ece7dc;
    --ink-soft: #c4bfb3;
    --ink-mute: #8c887d;
    --line: #2c2a26;
    --accent: #e88a64;
    --accent-soft: #3a2419;
    --accent-ink: #f4c2a8;
    --venue-1: #5a4f33;
    --venue-2: #3d5546;
    --venue-3: #553b46;
    --venue-4: #364660;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s ease; }
a:hover { border-bottom-color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: 1.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; color: var(--ink-soft); }

/* ---------- nav ---------- */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
nav.top .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 14px; }
nav.top .brand { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--ink); border: 0; }
nav.top .links { display: flex; gap: 22px; flex-wrap: wrap; }
nav.top .links a { color: var(--ink-soft); border: 0; font-size: .92rem; }
nav.top .links a:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 32px; }
.hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: center; }
@media (max-width: 720px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } .hero-grid .photo { order: -1; } }
.hero .photo {
  width: 100%; max-width: 340px; aspect-ratio: 3 / 4;
  border-radius: 0; overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface-2);
}
.hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.hero .eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.hero h1 { margin-bottom: 16px; }
.hero .lede { font-size: 1.05rem; max-width: 60ch; }
.hero .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .82rem; color: var(--ink-soft);
}
.pill.accent { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }

/* ---------- section ---------- */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section .eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }

/* ---------- news ---------- */
.news { display: grid; gap: 14px; }
.news .item {
  display: grid; grid-template-columns: 110px 1fr; gap: 18px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.news .item:last-child { border-bottom: 0; }
.news .date { font-family: var(--mono); font-size: .82rem; color: var(--ink-mute); padding-top: 2px; }
.news .item p { margin: 0; color: var(--ink); }
@media (max-width: 560px) { .news .item { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- venues viz · circles + paper-dot clusters ---------- */
.venue-viz {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.v-cluster {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px 14px;
  display: flex; flex-direction: column; align-items: center;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.v-cluster:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.v-cluster.track-upcoming { background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 8px, var(--surface-2) 8px, var(--surface-2) 9px); }
.v-svg { width: 100%; height: auto; max-width: 240px; aspect-ratio: 1 / 1; display: block; }

.v-halo { fill: var(--surface-2); opacity: .55; }
.v-hub  { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.4; }
.v-svg.v-imwut    .v-hub { fill: #f3e6c7; stroke: #b9942f; }
.v-svg.v-tist     .v-hub { fill: #e6dac4; stroke: #8a7240; }
.v-svg.v-aaai     .v-hub { fill: #d2e5d8; stroke: #4d8466; }
.v-svg.v-neuripsw .v-hub { fill: #cfe1eb; stroke: #3d7592; }
.v-svg.v-neurips  .v-hub { fill: #cfe1eb; stroke: #3d7592; }
.v-svg.v-iclr     .v-hub { fill: #d8e3f1; stroke: #3a5a87; }
.v-svg.v-icassp   .v-hub { fill: #e7d4dc; stroke: #95506b; }
.v-svg.v-iswc     .v-hub { fill: #f1d6c1; stroke: #b56a3c; }
.v-svg.v-ubicomp  .v-hub { fill: #d8d2e2; stroke: #6a5b8e; }
.v-svg.v-arxiv    .v-hub { fill: var(--surface-2); stroke: var(--ink-mute); stroke-dasharray: 3 3; }
.v-svg.v-mlhc     .v-hub { fill: #ddebe2; stroke: #4f8c6c; stroke-dasharray: 3 3; }

.v-name { font-family: var(--serif); font-weight: 600; font-size: 13px; fill: var(--ink); text-anchor: middle; }
.v-num  { font-family: var(--mono); font-size: 9px; fill: var(--ink-mute); text-anchor: middle; letter-spacing: .06em; }

.v-link { stroke: var(--line); stroke-width: 1; }
.v-dot {
  fill: var(--surface);
  stroke: var(--accent);
  stroke-width: 1.6;
  cursor: pointer;
  transform-origin: center;
  transform-box: fill-box;
  transition: transform .15s ease, fill .15s ease;
  animation: pop-in .5s cubic-bezier(.2,.9,.3,1.3) both;
}
@keyframes pop-in { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.v-dot:hover { fill: var(--accent); transform: scale(1.4); }
.v-dot.is-first { fill: var(--accent); }
.v-dot.is-first:hover { fill: var(--accent-ink); }
.v-dot.is-upcoming { stroke-dasharray: 2 2; fill: var(--surface); }
.v-dot.is-upcoming.is-first { fill: var(--accent-soft); }

.v-cap { text-align: center; margin-top: 4px; }
.v-cap-name { display: block; font-family: var(--serif); font-weight: 600; font-size: .98rem; color: var(--ink); }
.v-cap-meta { display: block; font-size: .78rem; color: var(--ink-mute); margin-top: 2px; }

.v-legend {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  margin: 10px 0 0; font-size: .82rem; color: var(--ink-mute);
}
.v-legend .leg-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--accent); background: var(--accent); margin-right: 6px; vertical-align: middle;
}
.v-legend .leg-dot.outline { background: var(--surface); }
.v-legend .leg-dot.dashed { background: var(--surface); border-style: dashed; }
.vviz-hint { font-family: var(--mono); font-size: .82rem; color: var(--ink-mute); margin-top: 14px; min-height: 2.6em; }

/* ---------- research universe ---------- */
.research-universe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0fr;
  gap: 0;
  margin-top: 22px;
  align-items: start;
  transition: grid-template-columns .45s cubic-bezier(.4,0,.2,1), gap .45s ease;
}
.research-universe.panel-open {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 22px;
}
@media (max-width: 920px) {
  .research-universe { grid-template-columns: 1fr; }
  .research-universe.panel-open { grid-template-columns: 1fr; }
}
.rc-svg {
  width: 100%;
  height: auto;
  aspect-ratio: 1100 / 760;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent-soft) 18%, var(--surface)) 0%, var(--surface) 70%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: block;
  transition: aspect-ratio .45s ease;
}

/* cluster colors keyed off cluster klass */
.rc-aicaring { --rc-fill: #d2e5d8; --rc-stroke: #4d8466; --rc-ink: #295140; }
.rc-sra      { --rc-fill: #cfe1eb; --rc-stroke: #3d7592; --rc-ink: #1f4359; }
.rc-mllm     { --rc-fill: #d8d2e2; --rc-stroke: #6a5b8e; --rc-ink: #3e3257; }
.rc-optumai  { --rc-fill: #e9d6cf; --rc-stroke: #a0533c; --rc-ink: #5d2c1a; }
.rc-bbg      { --rc-fill: #e6dac4; --rc-stroke: #8a7240; --rc-ink: #4a3c1d; }

/* spokes from core to cluster */
.rc-spoke { stroke: var(--line); stroke-width: 1.5; transition: stroke .25s ease, stroke-width .25s ease, opacity .25s ease; }
.rc-spoke.is-active { stroke: var(--accent); stroke-width: 2.6; }
.rc-spoke.is-peek   { stroke: var(--accent); stroke-width: 2; opacity: .8; }

/* cross-cluster curves */
.rc-xlink {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-dasharray: 6 5;
  opacity: .4;
  transition: opacity .25s ease, stroke-width .25s ease, stroke .25s ease;
  animation: rc-dash 18s linear infinite;
}
.rc-xlink-dot {
  fill: var(--accent-soft);
  stroke: var(--accent);
  stroke-width: 1.2;
  opacity: .6;
  transition: opacity .25s ease, r .25s ease;
}
.rc-xlink.is-active     { opacity: 1; stroke-width: 2.6; }
.rc-xlink.is-peek       { opacity: .9; stroke-width: 2.2; }
.rc-xlink-dot.is-active { opacity: 1; }
.rc-xlink-dot.is-peek   { opacity: .9; }
.rc-xlink.is-dim, .rc-xlink-dot.is-dim { opacity: .08; }
@keyframes rc-dash { to { stroke-dashoffset: -120; } }

/* core node */
.rc-core-halo-outer { fill: var(--accent-soft); opacity: .35; }
.rc-core-halo       { fill: var(--accent-soft); opacity: .6; }
.rc-pulse           { transform-origin: center; transform-box: fill-box; animation: rc-pulse 4s ease-in-out infinite; }
@keyframes rc-pulse { 0%,100% { opacity: .35; } 50% { opacity: .55; } }

.rc-core-circle {
  fill: url(#rc-core-grad);
  stroke: var(--accent);
  stroke-width: 2.5;
  transition: stroke-width .25s ease;
}
.rc-core-label  { font-family: var(--serif); font-size: 26px; font-weight: 600; fill: var(--accent-ink); text-anchor: middle; letter-spacing: -.005em; }
.rc-core-sub    { font-family: var(--mono); font-size: 11px; fill: var(--accent-ink); text-anchor: middle; letter-spacing: .12em; opacity: .8; text-transform: uppercase; }
.rc-core-hint   { font-family: var(--mono); font-size: 10px; fill: var(--accent-ink); text-anchor: middle; letter-spacing: .1em; opacity: .55; }

.rc-core-node.is-hover .rc-core-circle  { stroke-width: 4; }
.rc-core-node.is-active .rc-core-circle { stroke-width: 4; }

/* cluster node */
.rc-cluster-node { transition: transform .35s cubic-bezier(.2,.9,.3,1.3); transform-origin: center; transform-box: fill-box; }
.rc-cluster-node.is-active { transform: scale(1.06); }
.rc-cluster-node.is-hover  { transform: scale(1.03); }

.rc-cluster-halo {
  fill: var(--rc-fill, var(--surface-2));
  opacity: .65;
  transition: opacity .25s ease;
}
.rc-cluster-ring {
  fill: var(--rc-fill, var(--accent-soft));
  stroke: var(--rc-stroke, var(--accent));
  stroke-width: 2.5;
  transition: stroke-width .25s ease, fill .25s ease;
}
.rc-cluster-node.is-active .rc-cluster-ring  { stroke-width: 4; }
.rc-cluster-node.is-hover  .rc-cluster-ring  { stroke-width: 3.4; }

.rc-cluster-label  { font-family: var(--serif); font-size: 19px; font-weight: 600; fill: var(--rc-ink, var(--ink)); text-anchor: middle; letter-spacing: .02em; }
.rc-cluster-count  { font-family: var(--mono); font-size: 11px;  fill: var(--rc-ink, var(--ink-soft)); text-anchor: middle; opacity: .85; letter-spacing: .04em; }
.rc-cluster-hint   { font-family: var(--mono); font-size: 9px;   fill: var(--rc-ink, var(--ink-mute)); text-anchor: middle; letter-spacing: .1em; opacity: .55; text-transform: uppercase; }
.rc-cluster-node.is-active .rc-cluster-hint { opacity: 0; }

/* paper dots and animated lines */
.rc-cluster-paper {
  fill: var(--surface);
  stroke: var(--rc-stroke, var(--accent));
  stroke-width: 2;
  transition: cx .55s cubic-bezier(.2,.9,.3,1.3), cy .55s cubic-bezier(.2,.9,.3,1.3), r .25s ease, fill .2s ease, stroke-width .2s ease;
  cursor: pointer;
}
.rc-cluster-paper:hover { stroke-width: 3.2; r: 11; }
.rc-cluster-paper.is-first { fill: var(--rc-stroke, var(--accent)); }
.rc-cluster-paper.is-upcoming { stroke-dasharray: 3 2; fill: var(--surface); }
.rc-paper-link-line {
  stroke: var(--rc-stroke, var(--line));
  stroke-width: 1.2;
  opacity: .35;
  transition: x2 .55s cubic-bezier(.2,.9,.3,1.3), y2 .55s cubic-bezier(.2,.9,.3,1.3), opacity .25s ease, stroke-width .2s ease;
}
.rc-cluster-node.is-active .rc-paper-link-line { opacity: .8; stroke-width: 1.6; }

/* paper text labels: hidden by default, visible when cluster is active */
.rc-paper-label {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  fill: var(--rc-ink, var(--ink));
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.rc-cluster-node.is-active .rc-paper-label { opacity: .92; transition-delay: .25s; }

/* dimming */
.rc-node.is-dim                          { opacity: .35; }
.rc-node.is-dim .rc-cluster-paper        { opacity: .35; }
.rc-node.is-dim .rc-paper-link-line      { opacity: .15; }

/* side panel: hidden by default, slides in on cluster activation */
.rc-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 84px;
  align-self: start;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px);
  transition: max-height .4s ease, opacity .35s ease, transform .35s cubic-bezier(.2,.9,.3,1.1), padding .3s ease, border-color .3s ease;
}
.research-universe:not(.panel-open) .rc-panel {
  padding-top: 0;
  padding-bottom: 0;
  border-top-color: transparent;
  border-bottom-color: transparent;
}
.research-universe.panel-open .rc-panel {
  max-height: 78vh;
  overflow-y: auto;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: .1s;
}
.rc-panel-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-mute);
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  z-index: 2;
}
.rc-panel-close:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: rotate(90deg);
}
.rc-panel-eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }
.rc-panel-subhead { margin-top: 18px; }
.rc-panel-title   { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; line-height: 1.3; }
.rc-panel-meta    { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: .76rem; color: var(--ink-mute); margin-bottom: 12px; letter-spacing: .04em; }
.rc-panel-blurb   { font-size: .92rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: 8px; }
.rc-panel-note    { font-size: .85rem; color: var(--ink-mute); margin-top: 6px; font-style: italic; }

.rc-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.rc-cluster-card {
  text-align: left;
  cursor: pointer;
  background: var(--rc-fill, var(--surface-2));
  border: 1px solid var(--rc-stroke, var(--line));
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  color: var(--rc-ink, var(--ink));
  transition: transform .15s ease, box-shadow .15s ease;
}
.rc-cluster-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.rc-cluster-card-name { font-family: var(--serif); font-weight: 600; font-size: 1rem; margin-bottom: 2px; }
.rc-cluster-card-full { font-size: .82rem; opacity: .85; }
.rc-cluster-card-meta { font-family: var(--mono); font-size: .72rem; opacity: .7; margin-top: 6px; letter-spacing: .04em; }

.rc-paper-list { list-style: none; padding: 0; margin: 0; }
.rc-paper-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.rc-paper-list li:last-child { border-bottom: 0; }
.rc-paper-link { font-family: var(--serif); font-size: .98rem; color: var(--ink); border-bottom: 1px solid transparent; }
.rc-paper-link:hover { border-bottom-color: var(--accent); color: var(--accent); }
.rc-paper-venue { font-size: .82rem; color: var(--ink-mute); margin-top: 2px; font-style: italic; }
.rc-paper-shared { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.rc-empty { color: var(--ink-mute); font-style: italic; }

.rc-people-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

.rc-cross-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.rc-cross-list li { font-size: .88rem; color: var(--ink-soft); line-height: 1.55; }

.rc-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .04em;
  background: var(--rc-fill, var(--surface-2));
  color: var(--rc-ink, var(--ink));
  border: 1px solid var(--rc-stroke, var(--line));
  cursor: pointer;
  font-weight: 500;
}
.rc-pill:hover { transform: translateY(-1px); }

.rc-back {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 14px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
}
.rc-back:hover { border-color: var(--accent); color: var(--accent); }

.person {
  display: inline-block;
  padding: 4px 9px;
  background: var(--surface-2);
  border-radius: 999px;
  font-size: .8rem;
  color: var(--ink-soft);
}
.person em { font-style: normal; color: var(--ink-mute); font-size: .75rem; }
.person.lead { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }

/* ---------- projects ---------- */
.proj-subhead {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 28px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.proj-subhead:first-of-type { margin-top: 22px; }
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-bottom: 8px; }
.project-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  border-bottom: 1px solid var(--line);
}
.project-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.project-card .thumb {
  height: 140px; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  position: relative;
}
.project-card .thumb.gradient-1 { background: linear-gradient(135deg, #e8c8b0, #b85c3c); }
.project-card .thumb.gradient-2 { background: linear-gradient(135deg, #b8d0c2, #5a8a76); }
.project-card .thumb.gradient-3 { background: linear-gradient(135deg, #d6b8c8, #8a5670); }
.project-card .thumb.gradient-4 { background: linear-gradient(135deg, #b8c8e0, #4e6a96); }
.project-card .thumb .v-tag {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,.92); color: #1a1a1a;
  padding: 3px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .04em;
}
.project-card .body { padding: 16px 18px 18px; }
.project-card .body h3 { color: var(--ink); margin-bottom: 6px; font-family: var(--serif); }
.project-card .body p { font-size: .9rem; margin: 0; color: var(--ink-soft); }
.project-card a { border: 0; }

/* ---------- publications ---------- */
.year-group { margin-bottom: 28px; }
.year-group h3 { font-family: var(--mono); font-size: .85rem; letter-spacing: .14em; color: var(--ink-mute); text-transform: uppercase; margin-bottom: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.pub { display: grid; grid-template-columns: 88px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.pub:last-child { border-bottom: 0; }
.pub .vbadge {
  display: inline-flex; align-items: center; justify-content: center;
  height: 22px; padding: 0 10px;
  background: var(--accent-soft); color: var(--accent-ink);
  border-radius: 4px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .04em;
  white-space: nowrap;
}
.pub .vbadge.gray { background: var(--surface-2); color: var(--ink-mute); }
.pub .pub-title { font-family: var(--serif); font-size: 1rem; color: var(--ink); font-weight: 500; margin-bottom: 4px; line-height: 1.35; }
.pub .pub-authors { font-size: .88rem; color: var(--ink-mute); margin-bottom: 4px; }
.pub .pub-authors .me { color: var(--ink); font-weight: 500; }
.pub .pub-venue { font-size: .82rem; color: var(--ink-mute); font-style: italic; }
.pub .pub-abstract { font-size: .9rem; color: var(--ink-soft); margin: 8px 0 0; line-height: 1.6; }
.pub .pub-links { margin-top: 6px; display: flex; gap: 14px; flex-wrap: wrap; }
.pub .pub-links a { font-size: .82rem; color: var(--accent); border-bottom: 1px solid transparent; }
.pub .pub-links a:hover { border-bottom-color: var(--accent); }
@media (max-width: 560px) { .pub { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 12px; }
.contact .pill { font-size: .9rem; }

/* ---------- footer ---------- */
footer { padding: 32px 0 48px; border-top: 1px solid var(--line); margin-top: 32px; color: var(--ink-mute); font-size: .82rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- project page ---------- */
.proj-hero { padding: 56px 0 24px; }
.proj-hero .back { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); border: 0; }
.proj-hero .back:hover { color: var(--accent); }
.proj-hero .v-tag { display: inline-block; margin-top: 16px; margin-bottom: 12px; padding: 4px 12px; background: var(--accent-soft); color: var(--accent-ink); border-radius: 999px; font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; }
.proj-hero h1 { margin-bottom: 12px; line-height: 1.15; }
.proj-hero .authors { font-size: .95rem; color: var(--ink-mute); margin-bottom: 8px; }
.proj-hero .authors .me { color: var(--ink); font-weight: 500; }
.proj-hero .venue-line { font-size: .9rem; color: var(--ink-mute); font-style: italic; margin-bottom: 18px; }
.proj-hero .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--ink); color: var(--bg);
  border-radius: 8px;
  font-size: .88rem;
  border: 0;
  font-weight: 500;
}
.btn:hover { background: var(--accent); color: #fff; border: 0; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

.proj-figure { margin: 32px 0; text-align: center; }
.proj-figure img { max-width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); display: inline-block; image-rendering: auto; }
.proj-figure figcaption { margin-top: 10px; font-size: .85rem; color: var(--ink-mute); text-align: center; }

.proj-body h2 { margin-top: 40px; margin-bottom: 12px; }
.proj-body p { font-size: 1rem; line-height: 1.7; }
.proj-body .callout {
  border-left: 3px solid var(--accent);
  padding: 6px 16px;
  margin: 24px 0;
  color: var(--ink-soft);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.proj-body code, .bibcode {
  font-family: var(--mono); font-size: .82rem;
  background: var(--surface-2);
  padding: 1px 6px; border-radius: 4px;
}
.bibblock {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--mono); font-size: .78rem; line-height: 1.5;
  color: var(--ink-soft);
  white-space: pre-wrap; overflow-x: auto;
}
