:root {
  --ground: #F5F5F1;
  --surface: #FFFFFF;
  --ink: #0B0B0C;
  --ink-2: #55565B;
  --rule: #DCDCD6;
  --rule-strong: #C8C8C1;
  --kesar: #E8590C;
  --kesar-text: #B8440A;
  --joint: linear-gradient(90deg, var(--ink) 50%, var(--kesar) 50%);
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --deva: "Noto Serif Devanagari", serif;
  --max: 1320px;
  --pad: 32px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "tnum" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:hover { color: var(--kesar-text); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--kesar); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.mono { font-family: var(--mono); }
.label { font: 500 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Banner + nav */
.banner { background: var(--ink); color: var(--ground); font: 500 11px var(--mono); letter-spacing: 0.12em; text-align: center; padding: 8px 16px; }
.nav { border-bottom: 1px solid var(--rule); background: var(--ground); position: sticky; top: 0; z-index: 10; }
.nav .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 40px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand b { font-weight: 600; font-size: 20px; letter-spacing: -0.04em; }
.brand span { font: 500 15px var(--deva); color: var(--kesar-text); }
.nav-links { display: flex; flex-wrap: wrap; gap: 0 28px; flex: 1; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--ink-2); text-decoration: none; padding: 10px 0; }
.nav-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.nav-search { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px 0 14px; border: 1px solid var(--rule-strong); border-radius: 2px; min-width: 220px; }
.nav-search input { border: 0; outline: 0; background: transparent; font: 400 14px var(--sans); flex: 1; min-width: 0; color: var(--ink); }
kbd { font: 500 11px var(--mono); color: var(--ink-2); border: 1px solid var(--rule-strong); border-radius: 2px; padding: 2px 6px; }

/* Type */
.display { margin: 0; font-weight: 500; letter-spacing: -0.05em; line-height: 0.92; }
.h2 { margin: 0; font-weight: 500; font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.04em; line-height: 1; }
.h3 { margin: 0; font-weight: 500; font-size: 34px; letter-spacing: -0.035em; line-height: 1.05; }
.figure { font-weight: 500; letter-spacing: -0.06em; line-height: 0.85; }
.figure .unit { font-weight: 300; color: var(--ink-2); }
.crumb { margin: 0; font: 400 12px var(--mono); letter-spacing: 0.1em; color: var(--ink-2); text-transform: uppercase; }
.crumb a { color: var(--ink-2); }

/* Sections */
.section { padding-bottom: 120px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 20px; }
.section-head .num { font: 500 13px var(--mono); color: var(--kesar-text); margin-right: 20px; }
.section-head .title { display: flex; align-items: baseline; }
.more { font-size: 14px; font-weight: 500; text-underline-offset: 4px; }
.keyline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ink); font: 400 12px var(--mono); color: var(--ink-2); letter-spacing: 0.04em; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px 64px; align-items: flex-end; padding-top: 96px; padding-bottom: 72px; }
.hero-main { flex: 2 1 600px; display: flex; flex-direction: column; gap: 32px; }
.hero h1 { font-size: clamp(48px, 7.4vw, 116px); }
.hero h1 em { font-style: normal; color: var(--kesar); }
.stat { flex: 1 1 300px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--ink); padding-top: 16px; }
.stat .figure { font-size: clamp(88px, 10vw, 148px); }
.stat p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }

.big-search { display: flex; flex-direction: column; gap: 12px; padding-bottom: 112px; }
.big-search .field { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 14px; }
.big-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 clamp(22px, 2.4vw, 32px) var(--sans); letter-spacing: -0.02em; color: var(--ink); }
.big-search input::placeholder, .nav-search input::placeholder { color: #8A8B90; }

/* Tabs + chips */
.tabs { display: flex; flex-wrap: wrap; gap: 0 26px; }
.tab { height: 44px; padding: 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.tab[aria-pressed="true"], .tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab sup { font: 500 10px var(--mono); margin-left: 3px; color: var(--ink-2); }
.tabs.lined { border-bottom: 1px solid var(--rule); }
.tabs.lined .tab { height: 52px; margin-bottom: -1px; font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; padding: 0 16px; border: 1px solid var(--rule-strong); border-radius: 999px; background: transparent; display: inline-flex; gap: 8px; align-items: center; font-weight: 500; font-size: 14px; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ground); }

/* Dots */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); flex-shrink: 0; }
.dot.industry { background: var(--kesar); }
.dot.joint { background: var(--joint); }
.dot.external { background: transparent; box-shadow: inset 0 0 0 1px var(--ink-2); }
.dot.lg { width: 36px; height: 36px; }
.dots { display: flex; flex-wrap: wrap; gap: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 20px; }
.legend span { display: inline-flex; gap: 8px; align-items: center; }
.legend .dot { width: 8px; height: 8px; }

/* Conference rows */
.conf-row { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; padding: 26px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.conf-row:hover { background: linear-gradient(var(--surface), var(--surface)) no-repeat; color: inherit; }
.conf-row:hover .conf-name { color: var(--kesar-text); }
.conf-row .who { flex: 1 1 240px; max-width: 300px; display: flex; flex-direction: column; gap: 6px; }
.conf-name { font-weight: 500; font-size: 26px; letter-spacing: -0.025em; line-height: 1.1; }
.conf-row .dots { flex: 3 1 380px; }
.conf-row .n { flex: 0 0 96px; text-align: right; font-weight: 500; font-size: 40px; letter-spacing: -0.045em; }

/* Ranked lists */
.cols { display: flex; flex-wrap: wrap; gap: 64px; }
.cols > * { flex: 1 1 520px; min-width: 0; }
.list-head { display: flex; align-items: baseline; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.list-head .h3 { flex: 1; }
.rank-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) minmax(48px, 120px) 44px; gap: 20px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.rank-row .r { font: 400 13px var(--mono); color: var(--ink-2); }
.rank-row .nm { display: flex; flex-wrap: wrap; column-gap: 10px; align-items: baseline; min-width: 0; }
.rank-row .nm b { font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.rank-row .nm span { font-size: 14px; color: var(--ink-2); }
.bar { height: 2px; background: var(--rule); display: flex; }
.bar i { display: block; background: var(--ink); }
.bar.industry i { background: var(--kesar); }
.rank-row .c { font: 500 15px var(--mono); text-align: right; }

/* Paper entries */
.paper { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.paper .idx { flex: 0 0 48px; font: 400 13px var(--mono); color: var(--ink-2); }
.paper .body { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.paper .t { font-weight: 500; font-size: 22px; line-height: 1.22; letter-spacing: -0.02em; text-decoration: none; }
.paper .a { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.paper .side { flex: 0 0 150px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; align-self: flex-start; }
.affs { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }
.affs a, .affs span { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.affs .dot { width: 8px; height: 8px; }
.track { display: inline-flex; gap: 8px; align-items: center; font: 500 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.track i { width: 8px; height: 8px; box-shadow: inset 0 0 0 1px var(--ink); }
.track.oral i { background: var(--ink); }
.track.spotlight i { background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
.track.highlight i { background: linear-gradient(180deg, var(--ink) 50%, transparent 50%); }
.award { font: 500 12px var(--mono); letter-spacing: 0.1em; color: var(--kesar-text); text-transform: uppercase; }
.venue { font: 500 12px var(--mono); letter-spacing: 0.08em; color: var(--ink-2); text-transform: uppercase; text-decoration: none; }

.recent-row { display: flex; flex-wrap: wrap; gap: 8px 40px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.recent-row .venue { flex: 0 0 180px; }
.recent-row .t { flex: 1 1 480px; font-weight: 500; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.recent-row .w { flex: 0 1 280px; display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-2); }

/* Detail headers */
.detail-head { display: flex; flex-direction: column; gap: 36px; padding-top: 56px; }
.detail-title-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.figs { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--ink); }
.figs > div { padding: 20px 24px 24px; display: flex; flex-direction: column-reverse; gap: 6px; border-left: 1px solid var(--rule); }
.figs > div:first-child { border-left: 0; padding-left: 0; }
.figs dt { font: 500 12px var(--mono); letter-spacing: 0.12em; color: var(--ink-2); text-transform: uppercase; }
.figs dd { margin: 0; font-weight: 500; font-size: 64px; line-height: 0.9; letter-spacing: -0.05em; }
.btn { height: 48px; padding: 0 24px; border: 0; border-radius: 2px; background: var(--ink); color: var(--ground); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.btn:hover { color: var(--ground); background: #26272C; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.textlink { font: 500 13px var(--mono); letter-spacing: 0.06em; text-decoration: none; padding: 14px 0; background: none; border: 0; text-transform: uppercase; }

/* Dot field (conference) */
.field-box { background: var(--surface); padding: 40px; display: flex; flex-direction: column; gap: 32px; }
.groups { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: flex-end; }
.group { display: flex; flex-direction: column; gap: 12px; transition: opacity 0.2s; text-decoration: none; }
.group.dim { opacity: 0.12; }
.group .grid { display: grid; gap: 4px; }
.group .grid .dot { width: 10px; height: 10px; }
.group b { font-weight: 500; font-size: 22px; letter-spacing: -0.03em; }
.group small { font-size: 13px; color: var(--ink-2); max-width: 150px; line-height: 1.3; }

/* Layout with rail */
.split { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.split aside { flex: 1 1 240px; display: flex; flex-direction: column; gap: 36px; }
.split main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; }
.check { display: flex; gap: 12px; align-items: center; min-height: 44px; font-size: 15px; border-top: 1px solid var(--rule); }
.check:last-of-type { border-bottom: 1px solid var(--rule); }
.check input { width: 16px; height: 16px; accent-color: var(--ink); }
.check span { margin-left: auto; font: 400 12px var(--mono); color: var(--ink-2); }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; }
legend { padding: 0 0 12px; }
select.line { height: 44px; padding: 0 8px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font: 500 15px var(--sans); color: var(--ink); width: 100%; }
.list-top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--ink); gap: 16px; flex-wrap: wrap; }
.load-more { margin-top: 32px; align-self: flex-start; }

/* Institution */
.venue-row { display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: center; padding: 16px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.venue-row .v { flex: 0 0 180px; font: 500 13px var(--mono); letter-spacing: 0.06em; }
.venue-row .dots { flex: 1 1 300px; }
.venue-row .dot { width: 10px; height: 10px; }
.venue-row .n { flex: 0 0 48px; text-align: right; font-weight: 500; font-size: 24px; letter-spacing: -0.03em; }
.side-intro { flex: 1 1 240px; display: flex; flex-direction: column; gap: 12px; }
.side-intro p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: 48px; }
.partner { display: grid; grid-template-columns: 10px minmax(0, 1fr) 36px; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.partner b { font-weight: 500; font-size: 17px; }
.partner .c { font: 500 15px var(--mono); text-align: right; }

/* Paper page */
.paper-page { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; padding-top: 56px; padding-bottom: 120px; }
.paper-page aside { flex: 1 1 260px; display: flex; flex-direction: column; gap: 48px; }
.paper-page article { flex: 3 1 680px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.facts { margin: 0; border-top: 1px solid var(--ink); }
.facts div { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font: 500 11px var(--mono); letter-spacing: 0.12em; color: var(--ink-2); text-transform: uppercase; }
.facts dd { margin: 0; font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.paper-title { margin: 0; font-weight: 500; font-size: clamp(34px, 4.8vw, 68px); line-height: 1.0; letter-spacing: -0.045em; max-width: 20ch; }
.authors { margin: 0; font-size: 22px; line-height: 1.5; letter-spacing: -0.01em; }
.authors sup { font: 500 11px var(--mono); color: var(--ink-2); margin-left: 2px; }
.aff-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.aff-list li { display: flex; gap: 10px; align-items: center; }
.aff-list a { text-decoration: none; }
.abstract { margin: 0; font-size: 21px; line-height: 1.6; max-width: 62ch; }
pre.cite { margin: 0; padding: 28px 32px; background: var(--ink); color: #E6E6E0; border-radius: 2px; font: 400 13px/1.75 var(--mono); overflow-x: auto; }

/* Table */
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th { text-align: left; font: 500 11px var(--mono); letter-spacing: 0.12em; color: var(--ink-2); text-transform: uppercase; padding: 14px 24px 14px 0; border-bottom: 1px solid var(--rule); }
td { padding: 18px 24px 18px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
td a { text-decoration: none; font-weight: 500; }

/* Footer */
.footer { background: var(--ink); color: var(--ground); margin-top: 0; }
.footer .wrap { padding-top: 80px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 64px; }
.footer .top { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.footer .method { flex: 2 1 480px; display: flex; flex-direction: column; gap: 16px; }
.footer .method p { margin: 0; font-size: 22px; line-height: 1.45; letter-spacing: -0.01em; max-width: 34ch; }
.footer .links { flex: 1 1 220px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer .label { color: #A3A39C; }
.footer .bottom { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid #2A2B30; padding-top: 24px; gap: 24px; flex-wrap: wrap; }
.footer .deva { font: 500 clamp(64px, 10vw, 152px) var(--deva); line-height: 1; color: var(--kesar); }

.empty { padding: 48px 0; font-size: 18px; color: var(--ink-2); }
.loading { padding: 160px var(--pad); font: 500 12px var(--mono); letter-spacing: 0.14em; color: var(--ink-2); text-align: center; }

@media (max-width: 1100px) {
  .paper-page article { order: -1; }
}

@media (max-width: 640px) {
  :root { --pad: 16px; }
  .nav-search { min-width: 0; flex: 1 1 100%; }
  .field-box { padding: 20px; }
  .figs dd { font-size: 48px; }
  .figs > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .paper .side { flex-basis: 100%; align-items: flex-start; flex-direction: row; }
  .conf-row .n { flex-basis: auto; }
}
