/* ====== Multi-Agent Cross-View 3D Benchmark — Academic template ====== */
:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --bg-soft: #fafbfc;
  --ink: #1a1f2e;
  --ink-2: #2c3344;
  --ink-3: #5a6378;
  --ink-4: #8b94a8;
  --rule: #e6e9ef;
  --rule-2: #d4d9e2;
  --accent: #2c5fb8;
  --accent-2: #4279d4;
  --accent-soft: #eaf1fb;
  --accent-ink: #1e4a96;
  --warn: #c98215;
  --good: #2a8a4a;
  --bad: #c94a3a;
  --shadow-sm: 0 1px 2px rgba(20, 30, 50, 0.05);
  --shadow-md: 0 4px 14px rgba(20, 30, 50, 0.08);
  --font-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Raleway", "Open Sans", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
svg { display: block; max-width: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }

/* ============== TOP HEADER ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.affil-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}
.affil-logo {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background .15s;
  flex: 0 0 auto;
}
.affil-logo:hover { background: var(--bg-alt); }
.affil-logo svg { height: 30px; width: auto; max-width: none; flex: 0 0 auto; }

.site-header-spacer { flex: 1; }

.header-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--bg);
  transition: all .15s;
}
.header-link:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.header-link svg { width: 14px; height: 14px; flex: 0 0 auto; max-width: none; }

.header-link.browse {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.header-link.browse:hover { background: var(--accent); border-color: var(--accent); }

/* ============== HERO ============== */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--rule);
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}
.hero-acronym {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 5px 14px;
  background: var(--accent-soft);
  border-radius: 999px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--ink);
}
.hero h1 .light { font-weight: 400; color: var(--ink-2); }
.hero-tagline {
  font-size: 18px;
  color: var(--ink-3);
  max-width: 64ch;
  margin: 0 auto 30px;
  line-height: 1.55;
}
.hero-authors {
  font-size: 14.5px;
  color: var(--ink-2);
  margin: 0 auto 8px;
  max-width: 90ch;
  line-height: 1.7;
}
.hero-authors a { color: var(--accent); font-weight: 500; }
.hero-authors a:hover { text-decoration: underline; }
.hero-affil {
  font-size: 13.5px;
  color: var(--ink-3);
  font-style: italic;
  margin: 0 auto 32px;
}
.hero-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 12px 28px;
  background: var(--accent);
  color: white;
  border-radius: 4px;
  transition: background .15s, transform .15s;
}
.hero-explore:hover { background: var(--accent-ink); color: white; transform: translateY(-1px); }
.hero-explore svg { width: 14px; height: 14px; flex: 0 0 auto; max-width: none; }

/* ============== SLIDER ============== */
.slider-section {
  padding: 56px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--rule);
}
.slider-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}
.slider-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #0e1422;
  aspect-ratio: 21/9;
  width: 100%;
  box-shadow: var(--shadow-md);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}
.slide.active { opacity: 1; }
.slide svg { width: 100%; height: 100%; display: block; max-width: none; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  transition: background .15s;
  z-index: 2;
}
.slider-arrow:hover { background: white; }
.slider-arrow.prev { left: -22px; }
.slider-arrow.next { right: -22px; }
.slider-arrow svg { width: 16px; height: 16px; flex: 0 0 auto; max-width: none; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rule-2);
  border: none;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.slider-dot.active { background: var(--accent); transform: scale(1.25); }

/* ============== SECTIONS ============== */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}

/* Keep the live project page compact; long-method/protocol prose remains in the file for later expansion. */
#about,
#findings,
#protocol,
#dataset,
#methods,
#usage {
  display: none;
}
.section:last-of-type { border-bottom: 0; }
.section-alt { background: var(--bg-alt); }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 14px auto 0;
  border-radius: 2px;
}
.section-sub {
  text-align: center;
  font-size: 16px;
  color: var(--ink-3);
  max-width: 70ch;
  margin: 0 auto 48px;
}
.subsection-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}
.subsection-desc {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0 0 20px;
  max-width: 78ch;
}

/* ============== ABOUT / DATASET INTRO ============== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-text p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.about-text p strong { color: var(--ink); font-weight: 600; }
.about-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.about-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
  color: var(--ink-2);
}
.about-list li::before {
  content: "▸";
  position: absolute;
  left: 6px;
  top: 10px;
  color: var(--accent);
  font-weight: 700;
}
.about-list li strong { color: var(--ink); font-weight: 600; }
.about-list li:last-child { border-bottom: 0; }

.about-figure {
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.about-figure-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.about-figure svg { width: 100%; height: auto; display: block; max-width: 100%; }

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
.stat-cell {
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid var(--rule);
}
.stat-cell:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
  margin-bottom: 4px;
}
.stat-num small { font-size: 18px; color: var(--ink-4); font-weight: 500; }
.stat-lab {
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============== TASKS / METHODS as cards ============== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 22px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.card-icon svg { width: 22px; height: 22px; flex: 0 0 auto; max-width: none; }
.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
}
.card-desc {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.6;
}
.card-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ============== BENCHMARK TABLES ============== */
.benchmark-block {
  margin-bottom: 40px;
}
.bench-table-wrap {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.bench-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--rule);
}
.bench-toolbar-spacer { flex: 1; }
.bench-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.bench-toolbar select {
  font-family: var(--font-sans);
  font-size: 12.5px;
  padding: 6px 26px 6px 10px;
  border: 1px solid var(--rule-2);
  border-radius: 5px;
  background: var(--bg) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 5l3 3 3-3' stroke='%238b94a8' fill='none' stroke-width='1.4'/></svg>") no-repeat right 7px center / 12px;
  appearance: none;
  cursor: pointer;
  color: var(--ink);
}
.bench-toolbar input[type=text] {
  font-family: var(--font-sans);
  font-size: 12.5px;
  padding: 6px 10px;
  border: 1px solid var(--rule-2);
  border-radius: 5px;
  width: 180px;
  color: var(--ink);
}
.bench-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-4);
}

.bench-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-feature-settings: "tnum";
}
.bench-table thead th {
  text-align: left;
  padding: 12px 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-soft);
  border-bottom: 2px solid var(--rule-2);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  position: relative;
}
.bench-table thead th .col-help {
  display: block;
  font-family: var(--font-sans);
  font-size: 10.5px;
  color: var(--ink-4);
  font-weight: 400;
  margin-top: 2px;
  letter-spacing: 0;
}
.bench-table thead th.sorted { color: var(--accent); }
.bench-table thead th .sort-ind {
  font-size: 10px;
  margin-left: 3px;
  color: var(--ink-4);
}
.bench-table thead th.sorted .sort-ind { color: var(--accent); }
.bench-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
.bench-table tbody tr:last-child td { border-bottom: 0; }
.bench-table tbody tr:hover { background: var(--bg-soft); }
.bench-table .num-cell { text-align: right; font-feature-settings: "tnum"; }
.bench-table .num-cell.best {
  color: var(--accent-ink);
  font-weight: 700;
  background: var(--accent-soft);
}
.bench-table .name-cell { font-weight: 600; color: var(--ink); }
.bench-table .name-cell a { color: var(--accent); }
.bench-table .mono-cell { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }

.tag-train {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 500;
}
.tag-sup { background: #e9f0fa; color: #1e4a96; }
.tag-ssl { background: #ecf6ee; color: #1f6c3a; }
.tag-vla { background: #fdecec; color: #aa3a30; }
.tag-dist { background: #fdf6e7; color: #8a5d10; }

/* tabs above table */
.bench-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: -1px;
  border-bottom: 1px solid var(--rule);
}
.bench-tab {
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: none;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  transition: color .15s;
  white-space: nowrap;
  background: transparent;
}
.bench-tab:hover { color: var(--ink); }
.bench-tab.active {
  color: var(--accent);
  background: var(--bg);
  border-color: var(--rule);
  border-bottom-color: var(--bg);
  position: relative;
}
.bench-tab.active::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: var(--accent);
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

/* ============== METRICS GRID ============== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.metric-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 20px;
}
.metric-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 8px;
}
.metric-card h4 .badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-4);
  margin-left: auto;
  letter-spacing: 0.04em;
}
.metric-card ul { list-style: none; margin: 0; padding: 0; }
.metric-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 13px;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--rule);
}
.metric-card li:last-child { border-bottom: 0; }
.metric-card li .arr {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
}
.metric-card li .arr.up { color: var(--good); background: #ecf6ee; }
.metric-card li .arr.down { color: var(--bad); background: #fdecec; }

/* ============== CITATION ============== */
.citation-block {
  background: #1a1f2e;
  color: #e8eaef;
  border-radius: 8px;
  padding: 24px 26px 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  position: relative;
  overflow: auto;
  border: 1px solid #2a2f40;
}
.citation-block .at { color: #79b8ff; }
.citation-block .key { color: #f9c75c; }
.citation-block .val { color: #a5e3a5; }
.copy-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  background: #2a2f40;
  color: #c8ccd6;
  border: 1px solid #3a4055;
  padding: 5px 11px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.copy-btn:hover { background: #3a4055; color: white; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-block h3 { font-size: 20px; margin: 0 0 14px; }
.contact-block p { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; margin: 0 0 14px; }
.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--accent);
  color: white;
  border-radius: 5px;
  font-size: 13.5px;
  font-weight: 600;
  transition: background .15s, transform .15s;
}
.contact-cta:hover { background: var(--accent-ink); color: white; transform: translateY(-1px); }
.contact-cta svg { width: 14px; height: 14px; flex: 0 0 auto; max-width: none; }

/* ============== FOOTER ============== */
.footer {
  background: #1a1f2e;
  color: #c8ccd6;
  padding: 32px 0;
  text-align: center;
}
.footer-cc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #c8ccd6;
}
.footer-cc-img {
  display: inline-flex;
  gap: 4px;
}
.footer-cc-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  color: #1a1f2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
}
.footer-meta {
  font-size: 12px;
  color: #8b94a8;
  margin: 0;
}
.footer-meta a { color: #79b8ff; }

/* ============== TL;DR strip ============== */
.tldr-strip {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--rule);
  padding: 0;
}
.tldr-strip .wrap { padding-top: 0; padding-bottom: 0; }
.tldr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.tldr-cell {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
  text-align: center;
}
.tldr-cell:last-child { border-right: 0; }
.tldr-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
  line-height: 1.1;
  margin-bottom: 6px;
}
.tldr-lab {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tldr-help {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ============== FINDINGS GRID ============== */
.findings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.finding {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.finding:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.finding-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.finding h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
  line-height: 1.35;
}
.finding p {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.65;
  margin: 0 0 14px;
  flex: 1;
}
.finding p strong { color: var(--ink); font-weight: 600; }
.finding-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
}

/* ============== CAPTURE PIPELINE ============== */
.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.pipeline-step {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pipeline-num {
  position: absolute;
  top: -14px;
  left: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.pipeline-step h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 8px 0 8px;
}
.pipeline-step p {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.65;
  margin: 0 0 12px;
  flex: 1;
}
.pipeline-step p strong { color: var(--ink); font-weight: 600; }
.pipeline-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  padding-top: 10px;
  border-top: 1px dashed var(--rule);
}

/* ============== SPLITS ============== */
.splits-block {
  margin-top: 56px;
}
.splits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.split-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 22px 24px;
}
.split-card.setup-car { border-top: 3px solid var(--accent); }
.split-card.setup-drone { border-top: 3px solid var(--bad); }
.split-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 14px;
}
.split-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: white;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
}
.split-tag.drone { background: var(--bad); }
.split-train {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}
.split-rows { display: flex; flex-direction: column; gap: 12px; }
.split-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 14px;
}
.split-name {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 600;
}
.split-bar {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.split-bar .bar-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
}
.bar-easy .bar-fill { background: var(--good); }
.bar-mid .bar-fill { background: var(--warn); }
.bar-hard .bar-fill { background: var(--bad); }
.split-help {
  grid-column: 2;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: -4px;
}

/* ============== BENCH FOOTNOTE ============== */
.bench-footnote {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.7;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 14px 18px;
}
.bench-footnote .tag-train { margin: 0 4px; }
.bench-footnote code { font-size: 11.5px; padding: 1px 5px; background: var(--bg); border: 1px solid var(--rule); border-radius: 3px; }

/* ============== CROSS-DATASET COMPARISON ============== */
.cross-cmp { margin-top: 64px; }
.cmp-table-wrap {
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.cmp-table thead th {
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-soft);
  border-bottom: 2px solid var(--rule-2);
  white-space: nowrap;
}
.cmp-table th.num, .cmp-table td.num { text-align: right; font-feature-settings: "tnum"; }
.cmp-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table .row-mv {
  background: var(--accent-soft);
  font-weight: 600;
}
.cmp-table .row-mv td { color: var(--accent-ink); }
.x-yes {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  background: #ecf6ee;
  color: var(--good);
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
}
.x-no {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  background: #fdecec;
  color: var(--bad);
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
}
.cmp-note {
  font-size: 12.5px;
  color: var(--ink-4);
  font-style: italic;
  margin: 14px 0 0;
}

/* ============== POSE GRID ============== */
.pose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.pose-cell {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 18px 20px;
}
.pose-cell.pose-good { border-left: 3px solid var(--good); }
.pose-cell.pose-bad { border-left: 3px solid var(--bad); }
.pose-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.pose-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  margin-bottom: 12px;
}
.pose-bar {
  height: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.pose-bar span {
  display: block;
  height: 100%;
  background: var(--bad);
}
.pose-cell.pose-good .pose-bar span { background: var(--good); }
.pose-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

/* ============== DATASET SAMPLES ============== */
.samples-section {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 42px 0 48px;
}
.samples-head { margin-bottom: 22px; }
.samples-head .section-title { margin-bottom: 6px; }
.samples-head .section-sub { margin-bottom: 0; }

.samples-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 8px 8px 0 0;
  border-bottom: 0;
  flex-wrap: wrap;
}
.samples-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.samples-tabs {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}
.samples-tab {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--rule);
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-3);
  padding: 7px 14px;
  cursor: pointer;
  transition: background .12s, color .12s;
}
.samples-tab:last-child { border-right: 0; }
.samples-tab:hover { background: var(--bg-alt); color: var(--ink); }
.samples-tab.active { background: var(--accent); color: white; }
.samples-spacer { flex: 1; }
.samples-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

.samples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}
.sample-tile {
  margin: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.sample-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(45deg, #f1f3f7 0 12px, #e9ecf1 12px 24px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sample-tile img,
.sample-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sample-tile img {
  cursor: zoom-in;
  transition: transform .18s ease, filter .18s ease;
}
.sample-tile img:hover,
.sample-tile img:focus {
  transform: scale(1.015);
  filter: saturate(1.04);
  outline: none;
}
.sample-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--ink-4);
  padding: 18px;
}
.sample-ph svg {
  width: 38px;
  height: 38px;
  color: var(--ink-4);
  opacity: 0.85;
}
.sample-ph-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}
.sample-ph-hint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-4);
  background: var(--bg);
  border: 1px dashed var(--rule-2);
  padding: 4px 8px;
  border-radius: 3px;
}
.sample-ph-depth {
  background: linear-gradient(180deg, #1a3460 0%, #5b8cbe 50%, #d3e4f5 100%);
  margin: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  position: absolute;
  inset: 0;
  color: rgba(255,255,255,0.92);
}
.sample-ph-depth svg { color: rgba(255,255,255,0.85); }
.sample-ph-depth .sample-ph-label { color: white; }
.sample-ph-depth .sample-ph-hint {
  background: rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
}
.sample-ph-pose {
  background: #0e1422;
  margin: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  position: absolute;
  inset: 0;
  color: rgba(255,255,255,0.92);
}
.sample-ph-pose::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(44,95,184,0.5) 1px, transparent 1px),
    linear-gradient(0deg, rgba(44,95,184,0.5) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.25;
}
.sample-ph-pose svg { color: rgba(255,255,255,0.85); position: relative; z-index: 1; }
.sample-ph-pose .sample-ph-label { color: white; position: relative; z-index: 1; }
.sample-ph-pose .sample-ph-hint {
  background: rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
  position: relative;
  z-index: 1;
}
.sample-ph-corr {
  background: #f7f0e6;
  margin: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  position: absolute;
  inset: 0;
  color: var(--ink-3);
}

.sample-tile figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2px;
  padding: 9px 12px;
  background: var(--bg);
  border-top: 1px solid var(--rule);
}
.sample-cap-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
}
.sample-cap-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
}
.samples-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-3);
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 0 4px 4px 0;
  line-height: 1.65;
}
.samples-note strong { color: var(--ink); }

.sample-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(7, 10, 18, 0.88);
}
.sample-lightbox.open { display: flex; }
.sample-lightbox img {
  width: min(1180px, 100%);
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  background: #0c111e;
  box-shadow: 0 22px 70px rgba(0,0,0,0.5);
}
.sample-lightbox-close {
  position: fixed;
  top: 22px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.sample-lightbox-close:hover { background: rgba(255,255,255,0.22); }
.sample-lightbox-caption {
  position: fixed;
  left: 32px;
  bottom: 22px;
  right: 32px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.86);
}

/* split-card-summary used after drone tab removal */
.split-card-summary { background: var(--bg-soft); }
.split-rows-summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.split-summary-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--rule);
}
.split-summary-item:last-child { border-bottom: 0; padding-bottom: 0; }
.split-summary-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}
.split-summary-lab {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ============== 3DGS VIEWER ============== */
.viewer-shell {
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-md);
}
.viewer-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
}
.viewer-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  padding: 5px 10px;
  border: 1px solid var(--rule);
  border-radius: 4px;
}
.viewer-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(46, 138, 89, 0.18);
}
.viewer-tab-group, .viewer-cam-group {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}
.viewer-tab, .viewer-cam {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--rule);
  font: inherit;
  font-size: 12px;
  color: var(--ink-3);
  padding: 6px 12px;
  cursor: pointer;
  font-family: var(--font-mono);
}
.viewer-tab:last-child, .viewer-cam:last-child { border-right: 0; }
.viewer-tab:hover, .viewer-cam:hover { background: var(--bg-alt); color: var(--ink); }
.viewer-tab.active { background: var(--accent); color: white; }
.viewer-cam.active { background: var(--ink); color: white; }
.viewer-cam sub { font-size: 80%; }
.viewer-spacer { flex: 1; }

.viewer-stage {
  position: relative;
  aspect-ratio: 21 / 9;
  background: #0c111e;
  overflow: hidden;
}
.viewer-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0c111e;
}
.viewer-placeholder {
  position: absolute;
  inset: 0;
  display: block;
}
.viewer-axis { position: absolute; inset: 0; }
.viewer-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 24px 32px;
  pointer-events: none;
}
.viewer-overlay-card {
  pointer-events: auto;
  width: min(440px, 100%);
  background: rgba(20, 28, 46, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 22px;
  color: rgba(255,255,255,0.92);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.viewer-overlay-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #f5b840;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.viewer-overlay-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin: 0 0 10px;
}
.viewer-overlay-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  margin: 0 0 14px;
}
.viewer-snippet {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  padding: 8px 10px;
  color: #c0d6f5;
  margin-bottom: 14px;
  word-break: break-all;
}
.viewer-checklist {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255,255,255,0.75);
}
.viewer-checklist .ok {
  color: var(--good);
  font-weight: 700;
  margin-right: 6px;
}

.viewer-readout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-soft);
  border-top: 1px solid var(--rule);
}
.readout-cell {
  padding: 12px 16px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.readout-cell:last-child { border-right: 0; }
.readout-k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.readout-v {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.viewer-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-3);
  font-style: italic;
}
.viewer-note code { font-style: normal; padding: 1px 6px; background: var(--bg-soft); border: 1px solid var(--rule); border-radius: 3px; font-size: 11.5px; }

/* ============== USAGE / APPLICATIONS ============== */
.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.usage-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.usage-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.usage-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.usage-icon svg { width: 22px; height: 22px; }
.usage-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.usage-card p {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.65;
  margin: 0;
}
.usage-card p strong { color: var(--ink); font-weight: 600; }
.usage-card p em { color: var(--accent); font-style: normal; font-weight: 500; }
.usage-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-4);
  border-top: 1px dashed var(--rule);
  padding-top: 10px;
  margin-top: auto;
}
.usage-list li::before {
  content: "▸ ";
  color: var(--accent);
}

/* ============== UTIL ============== */
.mono { font-family: var(--font-mono); }
.muted { color: var(--ink-4); font-style: italic; }

/* ============== RESPONSIVE ============== */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .tldr-grid { grid-template-columns: repeat(2, 1fr); }
  .tldr-cell:nth-child(2) { border-right: 0; }
  .tldr-cell:nth-child(1), .tldr-cell:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .findings-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .splits-grid { grid-template-columns: 1fr; }
  .pose-grid { grid-template-columns: repeat(2, 1fr); }
  .samples-grid { grid-template-columns: repeat(2, 1fr); }
  .usage-grid { grid-template-columns: repeat(2, 1fr); }
  .viewer-readout { grid-template-columns: repeat(2, 1fr); }
  .readout-cell:nth-child(2) { border-right: 0; }
  .readout-cell:nth-child(1), .readout-cell:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .viewer-overlay { padding: 16px; align-items: flex-end; }
  .viewer-overlay-card { width: 100%; }
  .hero h1 { font-size: 36px; }
  .header-link span:not(.icon-only) { display: none; }
  .header-link { padding: 8px 10px; }
  .slider-arrow.prev { left: 8px; }
  .slider-arrow.next { right: 8px; }
}
@media (max-width: 600px) {
  .wrap, .hero-inner { padding: 0 18px; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 28px; }
  .cards-grid, .metrics-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .tldr-grid { grid-template-columns: 1fr 1fr; }
  .findings-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .pose-grid { grid-template-columns: 1fr 1fr; }
  .samples-grid { grid-template-columns: 1fr; }
  .usage-grid { grid-template-columns: 1fr; }
  .viewer-readout { grid-template-columns: 1fr 1fr; }
  .samples-toolbar { flex-wrap: wrap; }
  .site-header-inner { padding: 10px 16px; gap: 8px; flex-wrap: wrap; }
  .affil-logo { padding: 4px 6px; height: 32px; }
  .affil-logo svg { height: 24px; }
  .header-link { padding: 7px 9px; font-size: 12px; }
  .bench-toolbar { padding: 10px 12px; }
  .bench-toolbar input[type=text] { width: 120px; }
  .cmp-table { font-size: 12px; }
  .cmp-table thead th, .cmp-table tbody td { padding: 8px 10px; }
}
