/* Research archive: shared navigation and tokens live in portfolio.css. */
.works-page { min-width: 0; }
.works-page #main { width: 100%; margin: 0; padding: 0; }
.archive-heading { padding-top: 64px; padding-bottom: 20px; }
.archive-heading .section-kicker { margin-bottom: 16px; }
.archive-heading h1 {
  font: 400 clamp(32px, 3.7vw, 48px)/1.12 var(--font-display);
  letter-spacing: -0.055em;
}
.archive-section-title {
  font: 400 21px/1.4 var(--font-display);
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.research-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 56px;
  padding-block: 42px 46px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.archive-research > .research-entry:first-child { border-top: 0; padding-top: 8px; }
.research-copy { min-width: 0; }
.research-meta {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 16px;
  color: var(--muted);
  font: 13px/1.6 var(--font-body);
}
.research-meta > span:first-child { color: var(--red); }
.research-entry h3 {
  font: 400 24px/1.35 var(--font-display);
  letter-spacing: -0.035em;
  text-wrap: pretty;
  margin-bottom: 18px;
}
.research-intro p {
  font: 400 15.5px/1.8 var(--font-body);
  color: var(--muted);
  max-width: 62ch;
}
.research-contributions {
  display: grid;
  gap: 11px;
  list-style: none;
  margin: 22px 0;
  padding: 0;
}
.research-copy > .research-contributions:last-child { margin-bottom: 0; }
.research-contributions li {
  border-left: 1px solid var(--line);
  padding-left: 13px;
  font: 400 15px/1.7 var(--font-body);
  color: var(--ink);
}
.research-links { display: flex; gap: 20px; margin-bottom: 0; }
.research-links--spaced { margin-top: 22px; }
.research-links a { font: 14px/1.6 var(--font-body); border-bottom: 1px solid var(--line); }
.research-links a:hover { color: var(--red); border-color: var(--red); }
.research-figure {
  min-width: 0;
  margin: 0;
  padding: 16px;
  background: var(--theme-color-d14f901611);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.research-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.research-figure.research-figure--full-bleed {
  padding: 0;
}
.research-figure--full-bleed .research-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.research-figure:hover > .research-image { transform: scale(1.035); }
.research-image--muted { filter: saturate(0.65); }
@media (prefers-reduced-motion: reduce) {
  .research-image { transition: none; }
}
.archive-other { padding-top: 38px; padding-bottom: 64px; }
.other-projects-list { list-style: none; margin: 0; padding: 0; }
.other-projects-list > li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 24px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
}
.other-project-number, .other-project-category {
  color: var(--muted);
  font: 13px/1.8 var(--font-body);
}
.other-project-number { padding-top: 3px; }
.other-project-header { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.other-project-header h3 { font: 400 20px/1.4 var(--font-display); letter-spacing: -0.025em; }
.other-project-category { flex-shrink: 0; }
.other-projects-list p { max-width: 800px; font: 400 15.5px/1.8 var(--font-body); color: var(--muted); margin-top: 10px; }
@media (max-width: 1100px) {
  .research-entry { gap: 32px; }
  .research-entry h3 { font-size: 23px; }
}
@media (max-width: 900px) {
  .research-entry { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .research-intro p { max-width: 72ch; }
  .research-figure { width: 100%; }
}
@media (max-width: 600px) {
  .archive-heading { padding-top: 40px; padding-bottom: 18px; }
  .archive-section-title { font-size: 20px; margin-bottom: 18px; }
  .research-entry { padding-block: 28px 34px; }
  .research-entry h3 { font-size: 22px; line-height: 1.4; }
  .research-meta { gap: 14px; margin-bottom: 14px; }
  .research-intro p { font-size: 15.5px; line-height: 1.75; }
  .research-contributions { margin-block: 20px; }
  .research-figure { padding: 10px; border-radius: 14px; }
  .archive-other { padding-top: 26px; padding-bottom: 40px; }
  .other-projects-list > li { grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding-block: 24px; }
  .other-project-header { display: block; }
  .other-project-header h3 { font-size: 18px; line-height: 1.45; }
  .other-project-category { display: block; margin-top: 7px; }
}
@media print {
  .research-entry { break-inside: avoid; }
  .archive-heading { padding-block: 20px; }
  .research-figure { border-color: var(--theme-color-d436045138); }
}
