:root {
  color-scheme: light dark;

  --bg:        #fbfaf8;
  --bg-sunken: #f1efeb;
  --shell:     rgba(251, 250, 248, 0.78);
  --ink:       #14141a;
  --ink-2:     #52525e;
  --ink-3:     #6b6b76;
  --rule:      #e4e2dc;
  --rule-firm: #c7c5bd;

  --accent:      #005bac;
  --accent-pure: #005bac;
  --on-accent:   #ffffff;
  --highlight:   rgba(0, 91, 172, 0.22);
  --lift:        0 12px 34px -20px rgba(20, 20, 26, 0.55);

  --fs-name:  clamp(2.4rem, 5.4vw, 3.7rem);
  --fs-h2:    clamp(1.35rem, 2.1vw, 1.6rem);
  --fs-lede:  clamp(1.08rem, 1.8vw, 1.24rem);
  --fs-key:   1.22rem;
  --fs-h3:    1.08rem;
  --fs-body:  1rem;
  --fs-small: 0.93rem;
  --fs-meta:  0.82rem;
  --fs-chip:  0.7rem;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system,
          "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-plate: 14px;
  --r-pill:  999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --measure: 62ch;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --stack: clamp(2.25rem, 4.5vw, 4rem);
  --bar: 4.6rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0d0d10;
    --bg-sunken: #17171c;
    --shell:     rgba(13, 13, 16, 0.74);
    --ink:       #f0f0f2;
    --ink-2:     #a5a5b0;
    --ink-3:     #8b8b97;
    --rule:      #26262c;
    --rule-firm: #3b3b44;
    --accent:      #6fb2f2;
    --accent-pure: #0a6ec4;
    --on-accent:   #ffffff;
    --highlight:   rgba(64, 150, 232, 0.40);
    --lift:        0 12px 34px -18px rgba(0, 0, 0, 0.8);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip; /* not hidden: that makes the page a scroll container and breaks the fixed bar */
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--highlight); color: var(--ink); }

body::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--accent-pure);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.25rem) var(--gutter) 2.5rem;
}

a {
  color: var(--accent);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, var(--accent) 32%, transparent);
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
a:hover { text-decoration-color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

strong { font-weight: 600; }
em { font-style: italic; }

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(150px, 20vw, 232px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
}

/* no portrait yet (or the image failed to load): reclaim the reserved column */
.masthead:not(:has(.portrait)) { grid-template-columns: minmax(0, 1fr); }

.masthead h1 {
  font-size: var(--fs-name);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.035em;
}
.masthead h1 .hangul {
  display: block;
  margin-top: 0.75rem;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink-3);
}

.role {
  margin-top: 0.7rem;
  font-size: var(--fs-small);
  font-weight: 450;
  color: var(--ink-2);
  line-height: 1.55;
}
.role .advisor { display: block; color: var(--ink-3); }

.lede {
  position: relative;
  z-index: 0;
  margin-top: 0.6rem;
  max-width: 44ch;
  font-size: var(--fs-lede);
  font-weight: 500;
  line-height: 1.36;
  letter-spacing: -0.018em;
}
.lede .scope { color: var(--ink-2); font-weight: 400; }

.mark { position: relative; display: inline; padding-inline: 0.1em; }
.mark::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.44em;
  background: var(--highlight);
  z-index: -1;
  transform-origin: left center;
}

.channels {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: var(--fs-meta);
  font-weight: 500;
}
.channels a { padding-inline: 0.85rem; }
.channels a:first-child { padding-left: 0; }
.channels a:not(:last-child) { border-right: 1px solid var(--rule-firm); }

.portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-plate);
  background: var(--bg-sunken);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bar-anchor { height: 1px; margin-top: -1px; }
.tail-anchor { height: 1px; }
.bar-rail { height: 0; }

.jump {
  position: fixed;
  top: 0.7rem;
  z-index: 30;
  width: fit-content;
  max-width: calc(100vw - 3rem);
  margin-left: calc(-0.25rem - 0.82rem - 1px);
  padding: 0.25rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
}
.jump.pinned {
  visibility: visible;
  opacity: 1;
  transform: none;
  border-color: var(--rule);
  background: var(--shell);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: var(--lift);
}
@media (prefers-reduced-transparency: reduce) {
  .jump.pinned {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.jump ul {
  list-style: none;
  display: flex;
  gap: 0.1rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.jump ul::-webkit-scrollbar { display: none; }

.jump a {
  display: block;
  padding: 0.42rem 0.82rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-meta);
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: center;
}
.jump a:hover { color: var(--ink); background: var(--bg-sunken); }
.jump a.here { background: var(--accent-pure); color: var(--on-accent); }

.band {
  padding-block: var(--stack) 0;
  scroll-margin-top: 1.25rem;
}

.band > h2 {
  position: relative;
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
}
.band > h2 span { position: relative; display: inline-block; }
.band > h2 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-1rem - 2px);
  height: 2px;
  background: var(--accent-pure);
  transform: scaleX(0);
  transform-origin: left center;
}
.band.shown > h2 span::after { transform: scaleX(1); }

.feed { list-style: none; }
.feed li {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1.6rem;
  padding-block: 0.38rem;
}
.feed li:nth-child(n+6) { display: none; }
.feed .when {
  font-family: var(--mono);
  font-size: var(--fs-meta);
  color: var(--ink-3);
  padding-top: 0.28rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.feed p { font-size: var(--fs-body); color: var(--ink-2); }
.feed strong { color: var(--ink); font-weight: 600; }

.thread { display: grid; gap: 1.5rem; }
.thread article { max-width: var(--measure); }
.thread h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.thread p { margin-top: 0.7rem; color: var(--ink-2); font-size: var(--fs-body); }

.year-group {
  display: grid;
  grid-template-columns: clamp(4.5rem, 9vw, 7.5rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.2rem);
  padding-block: 1.5rem;
}
.filterbar + .year-group { padding-top: 0; } /* not :first-of-type: .filterbar is the first div here */
.year-group:last-of-type { padding-bottom: 0; }
.year-group + .year-group { border-top: 1px solid var(--rule); }

.work[hidden] { display: none; } /* .work sets display:grid, which outranks [hidden] */
.year-group.is-hidden { display: none; }
.year-group.is-first { padding-top: 0; border-top: 0; }
.year-group.is-last { padding-bottom: 0; }

.band > h2:has(+ .filterbar) { margin-bottom: 0.75rem; }
.filterbar {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
  margin-bottom: 1.2rem;
}
.filterbar[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.filters button {
  font: inherit;
  font-size: var(--fs-chip);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-2);
  background: none;
  border: 1px solid color-mix(in srgb, var(--ink-3) 75%, var(--bg));
  border-radius: var(--r-pill);
  padding: 0.16rem 0.7rem;
  cursor: pointer;
  white-space: nowrap;
}
.filters button:hover { color: var(--ink); border-color: var(--ink); }
.filters button[aria-pressed="true"] {
  background: var(--accent-pure);
  border-color: var(--accent-pure);
  color: var(--on-accent);
}
.filters button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.filter-note { font-size: var(--fs-small); color: var(--ink-3); }
.filter-note[hidden] { display: none; }

.year {
  font-size: var(--fs-key);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.year-group > .year { position: sticky; top: var(--bar); align-self: start; }

.works { list-style: none; display: grid; gap: 1.5rem; }

.work {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 1.75rem;
  align-items: start;
}
.plate { grid-column: 1; grid-row: 1; }
.work > .tags { grid-column: 1; grid-row: 2; }
.work > div { grid-column: 2; grid-row: 1 / span 2; min-width: 0; }

.plate {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r-plate);
  background: var(--bg-sunken);
  border: 1px solid var(--rule);
}
.plate img { width: 100%; height: 100%; object-fit: cover; display: block; background: #fff; }

/* entries with no thumbnail: collapse to one column so no empty plate slot is left */
.work:not(:has(.plate)) {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: none;
}
.work:not(:has(.plate)) > div,
.work:not(:has(.plate)) > .tags { grid-column: 1; grid-row: auto; }
.work:not(:has(.plate)) > .tags { margin-top: 0.7rem; }

.work h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.022em;
}
.work .abstract { margin-top: 0.55rem; font-size: var(--fs-small); color: var(--ink-2); }
.work .byline { margin-top: 0.75rem; font-size: var(--fs-small); color: var(--ink-2); }
.work .byline strong { color: var(--ink); font-weight: 600; }

.imprint {
  margin-top: 0.4rem;
  font-size: var(--fs-small);
  line-height: 1.5;
}
.imprint > * { margin-right: 0.7rem; } /* each imprint is one source line: a newline between items renders as a space */
.imprint > *:last-child { margin-right: 0; }
.imprint .where { color: var(--ink); font-weight: 500; }
.imprint .state { color: var(--ink-3); font-style: italic; }
.imprint a:not([href]) { color: var(--ink-3); text-decoration: none; cursor: default; }

.tags { margin-top: 0.4rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags li {
  list-style: none;
  font-size: var(--fs-chip);
  font-weight: 500;
  color: var(--ink-2);
  border: 1px solid var(--rule-firm);
  border-radius: var(--r-pill);
  padding: 0.16rem 0.62rem;
  white-space: nowrap;
}

.commissions {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 3rem;
}
.commissions .sponsor {
  display: inline-block;
  font-size: var(--fs-key);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.commissions p { font-size: var(--fs-body); color: var(--ink-2); }

.grants { list-style: none; display: grid; gap: 1.1rem; }
.grants li {
  display: grid;
  grid-template-columns: clamp(5rem, 10vw, 8rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.2rem);
  align-items: baseline;
}
.grants li > div { min-width: 0; }
.grants .sum {
  font-size: var(--fs-key);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.grants h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.grants .funder { margin-top: 0.3rem; font-size: var(--fs-small); color: var(--ink-2); }
.grants .term,
.honours .term {
  margin-left: 0.7rem;
  font-family: var(--mono);
  font-size: var(--fs-meta);
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.honours {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 3rem;
}
.honours .stamp {
  display: block;
  font-size: var(--fs-key);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.honours h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.honours p { font-size: var(--fs-small); color: var(--ink-2); margin-top: 0.2rem; }

.grants .project,
.honours .project {
  margin-top: 0.3rem;
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--ink-3);
}

.docket { list-style: none; display: grid; gap: 0.8rem; max-width: var(--measure); }
.docket .subject {
  display: block;
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.docket p { font-size: var(--fs-body); color: var(--ink-2); margin-top: 0.15rem; }

.colophon { max-width: var(--measure); }
.colophon p { color: var(--ink-2); font-size: var(--fs-body); }

footer {
  margin-top: var(--stack);
  padding-top: 0.9rem;
  border-top: 2px solid var(--ink);
  font-size: var(--fs-meta);
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}
footer a { margin-left: auto; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .masthead h1,
  .masthead .role,
  .masthead .lede,
  .masthead .channels { animation: rise 0.9s var(--ease) backwards; }
  .masthead h1 { animation-delay: 0.05s; }
  .masthead .role { animation-delay: 0.15s; }
  .masthead .lede { animation-delay: 0.23s; }
  .masthead .channels { animation-delay: 0.31s; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
  }

  .masthead .portrait img { animation: settle 1.1s var(--ease) 0.12s backwards; }
  @keyframes settle {
    from { opacity: 0; transform: scale(1.06); }
    to { opacity: 1; transform: none; }
  }

  .mark::before {
    transform: scaleX(0);
    animation: sweep 0.75s var(--ease) 0.8s forwards;
  }
  @keyframes sweep { to { transform: scaleX(1); } }

  .band > h2 span::after { transition: transform 0.6s var(--ease) 0.1s; }

  .reveal-ready .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal-ready .reveal.shown { opacity: 1; transform: none; }

  .reveal-ready .stagger > * {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    transition-delay: calc(min(var(--i, 0), 7) * 55ms + 90ms);
  }
  .reveal-ready .shown .stagger > * { opacity: 1; transform: none; }

  .jump {
    transition: opacity 0.3s ease, transform 0.35s var(--ease),
                background 0.35s ease, border-color 0.35s ease,
                box-shadow 0.35s ease, visibility 0s linear 0.3s;
  }
  .jump.pinned { transition-delay: 0s; }
  .jump a { transition: background 0.28s var(--ease), color 0.2s ease; }
  .jump a:active, .channels a:active,
  .filters button:active { transform: translateY(1px); }
  .filters button { transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
}

@media (prefers-reduced-motion: reduce) {
  .band > h2 span::after { transform: scaleX(1); }
}

@media (max-width: 900px) {
  .work { grid-template-columns: 176px minmax(0, 1fr); column-gap: 1.2rem; }
}

@media (max-width: 700px) {
  :root { --bar: 4rem; }
  .masthead {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
  }
  .portrait { width: 148px; }
  .lede { max-width: none; }
  .jump {
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    margin-left: 0;
    border-radius: 0;
    border-width: 0 0 1px;
  }
  .jump ul {
    padding-left: calc(var(--gutter) - 0.25rem - 0.82rem);
    padding-right: var(--gutter);
  }
  .feed li { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .feed .when { padding-top: 0; }
  .year-group { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-block: 2.4rem; }
  .year-group > .year { position: static; }
  .work { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 1rem; }
  .plate, .work > .tags, .work > div { grid-column: 1; grid-row: auto; }
  .plate { max-width: 340px; }
  .work > .tags { order: 3; margin-top: 0; }
  .work > div { order: 2; }
  .commissions, .honours { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .grants li { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; }
}

/* ==============================================================
   side rail - sticky portrait + links column
   (added on top of the original layout; delete this block to revert)
   ============================================================== */

main {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  column-gap: var(--rail-gap);
  align-items: start;
  max-width: calc(1120px + var(--rail) + var(--rail-gap));
}

:root {
  --rail: clamp(150px, 15vw, 186px);
  --rail-gap: clamp(3.2rem, 6.8vw, 6rem);
}

.siderail {
  position: sticky;
  top: var(--bar);
  padding-top: clamp(0.35rem, 1.4vw, 1rem);
}

.siderail .portrait {
  width: 100%;
  margin-bottom: 0.85rem;
}

.siderail-name {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.siderail-name .hangul {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-3);
}

.siderail-role {
  margin-top: 0.3rem;
  font-size: var(--fs-meta);
  line-height: 1.45;
  color: var(--ink-2);
}

.siderail-links {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 0.42rem;
  justify-items: start;
  font-size: var(--fs-meta);
  font-weight: 500;
}
.siderail-links .where {
  color: var(--ink-3);
  font-weight: 400;
}

@media (prefers-reduced-motion: no-preference) {
  .siderail > * { animation: rise 0.9s var(--ease) backwards; }
  .siderail .portrait { animation: settle 1.1s var(--ease) 0.12s backwards; }
  .siderail-name { animation-delay: 0.18s; }
  .siderail-role { animation-delay: 0.26s; }
  .siderail-links { animation-delay: 0.34s; }
}

/* narrow: drop back to a single column, rail sits above the masthead */
@media (max-width: 860px) {
  main {
    display: block;
    max-width: 1120px;
  }
  .siderail {
    position: static;
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    column-gap: 1.1rem;
    align-items: center;
    padding-top: 0;
    padding-bottom: 1.4rem;
  }
  .siderail .portrait {
    grid-row: 1 / span 3;
    margin-bottom: 0;
  }
  .siderail-name,
  .siderail-role,
  .siderail-links { grid-column: 2; }
  .siderail-links {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    justify-content: start;
    gap: 0 0.85rem;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
  }

  /* no portrait yet (or the image failed to load): reclaim the reserved column */
  .siderail:not(:has(.portrait)) { grid-template-columns: minmax(0, 1fr); }
  .siderail:not(:has(.portrait)) .siderail-name,
  .siderail:not(:has(.portrait)) .siderail-role,
  .siderail:not(:has(.portrait)) .siderail-links { grid-column: 1; }
}

@media (max-width: 700px) {
  .siderail { grid-template-columns: 92px minmax(0, 1fr); column-gap: 0.9rem; }
  .siderail-links { grid-auto-flow: row; gap: 0.4rem; }
}

/* side rail: icon + label rows */
.siderail-links a,
.siderail-links .where {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.siderail-links .ic {
  width: 14px;
  height: 14px;
  flex: none;
  opacity: 0.85;
}
.siderail-links .where .ic { opacity: 0.7; }
.siderail-links a > span {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, var(--accent) 32%, transparent);
  transition: text-decoration-color 0.2s ease;
}
.siderail-links a:hover > span { text-decoration-color: var(--accent); }
.siderail-role .advisor { display: block; color: var(--ink-3); }

/* about me: affiliation line under the lede */
.affil {
  margin-top: 0.95rem;
  max-width: var(--measure);
  font-size: var(--fs-body);
  color: var(--ink-2);
}
.affil strong { color: var(--ink); font-weight: 600; }

/* news: match the publications year-group format */
.feed li {
  grid-template-columns: clamp(4.5rem, 9vw, 7.5rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.2rem);
  padding-block: 0.55rem;
}
.feed .when {
  font-family: var(--sans);
  font-size: var(--fs-key);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--accent);
  padding-top: 0;
}

@media (max-width: 700px) {
  .feed li { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
}

/* research: bare topic list, no descriptions */
.topics {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  max-width: var(--measure);
}
.topics li {
  position: relative;
  padding-left: 1.05rem;
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* about me: label above the research-interest list */
.topics-label {
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* jump bar: center it horizontally instead of aligning to the content column */
@media (min-width: 701px) {
  .jump {
    left: 50%;
    margin-left: 0;
    transform: translate(-50%, -10px);
  }
  .jump.pinned { transform: translateX(-50%); }
}
