:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --fg: #1a1d23;
  --muted: #5b6472;
  --accent: #2f6df6;
  --accent-soft: #e8f0fe;
  --border: #e3e6ea;
  --radius: 14px;
  --maxw: 1040px;
  --shadow: 0 6px 24px rgba(20, 26, 40, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 760px; }

/* ---------------- SIDE TABLE OF CONTENTS ---------------- */
.toc {
  display: none;
  position: fixed;
  top: 96px;
  left: calc((100vw - var(--maxw)) / 2 - 208px);
  width: 190px;
  max-height: 78vh;
  overflow-y: auto;
  z-index: 40;
  padding-right: 6px;
}
.toc-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  padding: 0 12px 8px;
}
.toc nav { display: flex; flex-direction: column; border-left: 1px solid var(--border); }
.toc-group { display: flex; flex-direction: column; }
.toc a {
  color: var(--muted); font-size: 0.88rem; font-weight: 500;
  padding: 6px 12px; margin-left: -1px;
  border-left: 2px solid transparent; line-height: 1.35;
}
.toc a:hover { color: var(--accent); text-decoration: none; }
.toc > nav > .toc-group > a.active {
  color: var(--accent); font-weight: 700;
  border-left-color: var(--accent);
}
/* collapsible subsection group */
.toc-sub {
  display: flex; flex-direction: column;
  overflow: hidden; max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease;
}
.toc-group.open .toc-sub { max-height: 260px; opacity: 1; }
.toc-sub a {
  font-size: 0.8rem; padding: 5px 12px 5px 24px; color: var(--muted);
}
.toc-sub a::before {
  content: "▸"; margin-right: 6px; opacity: 0; color: var(--accent);
  transition: opacity 0.15s ease;
}
.toc-sub a.active {
  color: var(--accent); font-weight: 600; border-left-color: var(--accent);
}
.toc-sub a.active::before { opacity: 1; }
.toc-sub .toc-sub a { font-size: 0.78rem; padding-left: 36px; }
.subsection-title {
  font-size: clamp(1.35rem, 2.3vw, 1.62rem);
  font-weight: 720; line-height: 1.3; letter-spacing: -0.028em;
  margin: 18px 0 16px; padding-top: 38px;
  border-top: 1px solid var(--border);
  text-wrap: balance;
}
@media (min-width: 1480px) {
  .toc { display: block; }
}

/* ---------------- SCROLL PROGRESS ---------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--accent); z-index: 100; transition: width 0.1s ease-out;
}

/* ---------------- STATS BAND ---------------- */
.stats-band {
  background: var(--fg); color: #fff; padding: 28px 0;
}
.stats-band .container { width: 90%; max-width: 1560px; padding: 0; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}
.stat-group { border-left: 3px solid #4a5361; padding-left: 18px; }
.stat-group-title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 6px;
}
.stat-line {
  color: #cdd4de;
  font-size: clamp(0.8rem, 0.96vw, 0.95rem);
  font-weight: 400;
  line-height: 1.6;
  text-wrap: balance;
}
.stat-line strong { color: #fff; font-weight: 800; }

/* ---------------- BAR CHART ---------------- */
.barchart { max-width: 820px; margin: 0 auto 12px; display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 220px 1fr 44px; align-items: center; gap: 12px; }
.bar-label { font-size: 0.9rem; text-align: right; color: var(--muted); }
.bar-track { background: var(--border); border-radius: 999px; height: 20px; overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 999px; background: #b7c4d6; }
.bar-val { font-weight: 700; font-size: 0.95rem; }
.bar-row.highlight .bar-fill { background: var(--accent); }
.bar-row.highlight .bar-label { color: var(--fg); font-weight: 700; }

/* ---------------- TWO COLUMN FIGURES ---------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.media-frame figcaption { padding: 8px 12px; font-size: 0.85rem; color: var(--muted); text-align: center; }

/* ---------------- DEMO VIDEO GRID ---------------- */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 8px 0 28px;
}
.demo-card { margin: 0; }
.demo-card video {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #111;
}

.rollout-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.rollout-selector button {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(10, 16, 28, 0.34);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.rollout-selector button:hover,
.rollout-selector button.active {
  color: var(--fg);
  border-color: #fff;
  background: #fff;
}

/* ---------------- NAV ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { font-weight: 800; font-size: 1.15rem; color: var(--fg); }
.nav-brand:hover { text-decoration: none; color: var(--accent); }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.94rem; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-toggle {
  display: none;
  background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--fg);
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 620px;
  text-align: center;
  padding: 72px 0 42px;
  color: #fff;
  background: #111722;
}
.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}
.hero-media { z-index: -2; }
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}
.hero-media video.switching { opacity: 0.25; }
.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 10, 20, 0.44), rgba(5, 10, 20, 0.34) 55%, rgba(5, 10, 20, 0.58)),
    radial-gradient(circle at center, rgba(8, 15, 28, 0.04), rgba(8, 15, 28, 0.24));
}
.hero-content {
  display: flex;
  min-height: 506px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.title {
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.subtitle {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.1rem, 2.6vw, 1.55rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 12px auto 0;
  max-width: 720px;
}

.badges {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 26px 0 8px;
}
.badge {
  font-size: 0.82rem; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.authors {
  display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center;
  margin-top: 26px; font-size: 1.05rem;
}
.authors sup { color: rgba(255, 255, 255, 0.72); }
.affiliations {
  display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: center;
  margin-top: 8px; color: rgba(255, 255, 255, 0.76); font-size: 0.95rem;
}

.links {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-top: 28px;
}
.link-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--fg);
  padding: 10px 20px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.link-btn:hover { text-decoration: none; transform: translateY(-2px); background: var(--accent); color: #fff; }
.link-btn .ic { font-size: 1rem; }
.hero-rollout-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 18px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}
.hero-rollout-task { color: #fff; font-weight: 800; }

/* ---------------- SECTIONS ---------------- */
.section { padding: 60px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800; letter-spacing: -0.01em;
  text-align: center; margin: 0 0 28px;
}
.lead { color: var(--muted); max-width: 820px; margin: 0 auto 28px; text-align: center; }

/* ---------------- TEASER / MEDIA ---------------- */
.teaser { padding-top: 36px; }
.media-frame {
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}
.media-frame img,
.media-frame video { display: block; width: 100%; height: auto; }
.media-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; min-height: 320px; color: var(--muted);
  background: repeating-linear-gradient(45deg, #fafbfc, #fafbfc 12px, #f2f4f7 12px, #f2f4f7 24px);
}
.media-placeholder span { font-weight: 600; }
.media-placeholder code { background: #fff; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--border); }

.pull-quote {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.25rem; font-style: italic;
  color: var(--fg); max-width: 760px;
  margin: 32px auto 0; text-align: center;
  border-left: 3px solid var(--accent); padding-left: 20px;
}
.caption {
  max-width: 820px; margin: 16px auto 0; text-align: center;
  color: var(--muted); font-size: 0.95rem;
}
.subhead {
  text-align: center; font-weight: 700; font-size: 1.1rem;
  margin: 40px 0 16px; color: var(--fg);
}
.note { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 10px; }

/* ---------------- STAGES ---------------- */
.stages { display: grid; gap: 12px; margin-top: 28px; }
.stage {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 18px; color: var(--fg);
}
.stage-tag {
  display: inline-block; font-weight: 700; color: var(--accent);
  margin-right: 8px;
}

/* ---------------- TABLES ---------------- */
.table-title { text-align: center; font-size: 1.05rem; margin: 8px 0 14px; }
.table-wrap { overflow-x: auto; margin-bottom: 28px; }
.results-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  font-size: 0.95rem;
}
.results-table th, .results-table td {
  padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--border);
}
.results-table th { background: var(--bg-alt); font-weight: 700; }
.results-table td:first-child, .results-table th:first-child { text-align: left; }
.results-table tr:last-child td { border-bottom: none; }
.results-table tr.highlight { background: var(--accent-soft); }
.method-item h3 { margin: 0 0 8px; }
.card h3 { margin: 8px 0 6px; font-size: 1.05rem; }

/* ---------------- CARDS (insights) ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.card-num {
  font-weight: 800; font-size: 1.6rem; color: var(--accent);
  margin-bottom: 10px;
}
.card p { margin: 0; color: var(--fg); }

/* ---------------- DESIGN HIGHLIGHT ---------------- */
.design-highlight {
  position: relative;
  background: linear-gradient(135deg, var(--accent-soft), #ffffff);
  border: 1px solid rgba(47, 109, 246, 0.25);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.design-tag {
  position: absolute; top: -13px; left: 24px;
  background: var(--accent); color: #fff;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 14px; border-radius: 999px;
}
.design-items { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (min-width: 821px) {
  #data-efficiency .design-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.design-item h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--fg); }
.design-item p { margin: 0; color: var(--fg); }

/* ---------------- METHOD ---------------- */
.method-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.method-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.method-item h3 { margin: 0 0 8px; font-size: 1.15rem; }
.method-item p { margin: 0; color: var(--muted); }

/* ---------------- TAKEAWAYS ---------------- */
.takeaways { max-width: 760px; margin: 26px auto 0; padding-left: 20px; }
.takeaways li { margin-bottom: 8px; }

/* ---------------- Q&A ---------------- */
.qa {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 4px 20px; margin-bottom: 12px; box-shadow: var(--shadow);
}
.qa summary {
  position: relative; cursor: pointer; font-weight: 600;
  padding: 14px 34px 14px 0; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); color: var(--accent);
  font-size: 1.4rem; font-weight: 700;
}
.qa[open] summary::after { content: "\2212"; }
.qa p { margin: 0 0 16px; color: var(--muted); }

/* ---------------- BIBTEX ---------------- */
.bibtex {
  background: #0f1115; color: #e6e8eb;
  border-radius: var(--radius); padding: 22px;
  overflow-x: auto; font-size: 0.88rem; line-height: 1.6;
}
.copy-btn {
  margin-top: 12px; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff; cursor: pointer;
  font-weight: 600; font-size: 0.88rem;
}
.copy-btn:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

/* ---------------- TEAM ---------------- */
.team { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; }
.member { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.avatar {
  width: 92px; height: 92px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), #dfe6f2);
  border: 1px solid var(--border);
}
.member span { font-weight: 500; }

/* ---------------- FOOTER ---------------- */
.footer { padding: 36px 0; border-top: 1px solid var(--border); color: var(--muted); text-align: center; font-size: 0.9rem; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 820px) {
  .nav-links {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 8px 24px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .nav-toggle { display: block; }
  .cards, .method-grid, .design-items { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .hero { min-height: 680px; }
  .hero-content { min-height: 566px; }
  .hero-rollout-status { flex-direction: column; gap: 2px; }
  .bar-row { grid-template-columns: 130px 1fr 36px; gap: 8px; }
  .bar-label { font-size: 0.8rem; }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .demo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1250px) {
  .stats-band .container { width: 92%; }
  .stats { grid-template-columns: 1fr; gap: 22px; }
}


/* Visual refinements to the original page. The section structure is unchanged. */
:root{--fg:#14233f;--muted:#53627b;--accent:#275cda;--accent-soft:#edf3ff;--bg-alt:#f6f8fc;--border:#dfe6f0;--maxw:1120px;--radius:14px;--shadow:0 8px 28px -16px rgba(16,38,80,.18);--nav-height:66px}
html{scroll-padding-top:96px}body{line-height:1.8;font-size:1rem}button,select{font:inherit}button,a,select,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #4d7eef;outline-offset:4px}.container{padding-inline:30px}.container.narrow{max-width:880px}.brand-accent{color:var(--accent)}.skip-link{position:fixed;top:10px;left:12px;transform:translateY(-150%);z-index:110;padding:10px 18px;background:#14233f;color:#fff;border-radius:7px}.skip-link:focus{transform:none}.scroll-progress{background:linear-gradient(90deg,#275cda,#779af3);height:3px;transition:none}
/* Full-screen video and the original centered masthead. */
.nav{background:rgba(255,255,255,.96);backdrop-filter:blur(16px)}.nav-inner{max-width:1440px;min-height:66px;padding:12px 28px;gap:26px}.nav-brand{font-size:1.2rem;letter-spacing:-.045em;white-space:nowrap}.nav-links{gap:20px;align-items:center}.nav-links a{font-size:.875rem;white-space:nowrap;line-height:1.5;padding-block:6px}.nav-links a.active{color:var(--accent)}.nav-toggle{min-width:44px;min-height:44px;border:1px solid var(--border);border-radius:7px;font-size:1.2rem}.hero{min-height:calc(100vh - var(--nav-height));min-height:calc(100svh - var(--nav-height));padding:42px 0 62px;display:flex;align-items:center;justify-content:center}.hero-content{min-height:0;max-width:1160px;position:relative;z-index:1}.hero-media{background:#15213a}.hero-media video{object-fit:cover;object-position:center center;transition:opacity .3s ease}.hero-scrim{background:linear-gradient(180deg,rgba(7,16,31,.32) 0%,rgba(7,16,31,.44) 55%,rgba(7,16,31,.68) 100%),radial-gradient(ellipse at center,rgba(8,16,31,.23),rgba(8,16,31,.07))}.title{font-size:clamp(3.2rem,7.5vw,6.6rem);line-height:1.1;letter-spacing:-.055em;font-weight:800;text-shadow:0 3px 28px rgba(5,13,29,.25)}.title .brand-accent{color:#8aadff}.subtitle{font-size:clamp(1.5rem,2.8vw,2.25rem);line-height:1.26;max-width:860px;color:#fff;font-weight:500;margin-top:18px;text-wrap:balance}.badges{margin:24px 0 2px;gap:9px}.badge{font-size:.8125rem;font-weight:500;padding:6px 13px;background:rgba(13,29,56,.34);border-color:rgba(255,255,255,.3);backdrop-filter:blur(6px)}.authors{max-width:1020px;font-size:1rem;gap:3px 20px;margin-top:24px;color:#fff}.authors sup{color:#c7d7ff;margin-left:1px}.affiliations{max-width:1020px;gap:3px 20px;font-size:.8125rem;color:#e0e7f4;line-height:1.8}.affiliations span:nth-child(3){flex-basis:auto}.links{margin-top:23px;gap:12px}.link-btn{min-height:44px;padding:10px 23px;font-size:.875rem;border-radius:7px;box-shadow:0 4px 12px -8px #000}.link-btn:hover{transform:translateY(-2px);background:#dce7ff;color:#13243e}.hero-rollout-status{margin-top:21px;gap:4px 15px;font-size:.8125rem;color:#e0e7f5}.hero-rollout-task{font-weight:650}.rollout-selector{gap:7px;margin-top:12px}.rollout-selector button{font-size:.875rem;min-height:40px;padding:7px 13px;border-radius:6px;background:rgba(10,24,46,.45);border-color:rgba(255,255,255,.35);color:#f4f7ff}.rollout-selector button.active{background:#fff;color:var(--fg)}.hero-playback{position:absolute;right:24px;bottom:20px;z-index:3;display:flex;align-items:center;gap:9px;padding:8px 13px;border:1px solid rgba(255,255,255,.4);border-radius:7px;background:rgba(12,25,47,.7);color:#fff;font-size:.8125rem;min-height:40px;backdrop-filter:blur(6px)}.playback-icon{width:13px;text-align:center;font-size:.75rem}.hero-playback:hover{background:rgba(35,64,113,.9)}
/* Original section hierarchy, with a consistent spacing rhythm and justified prose. */
.section{padding:76px 0}.section.alt{border-color:#e8edf5}.section-title{font-size:clamp(1.9rem,3.3vw,2.55rem);font-weight:750;line-height:1.25;letter-spacing:-.035em;margin-bottom:32px;text-wrap:balance}.section-title::after{content:"";display:block;width:42px;height:3px;border-radius:2px;background:var(--accent);margin:19px auto 0}.section p,.section .stage,.takeaways{text-align:justify;text-justify:inter-word;hyphens:auto;text-wrap:pretty}.section p{line-height:1.85;}.lead{font-size:1.0625rem;max-width:900px;margin-bottom:32px;color:#526078}.container.narrow>p{line-height:1.95}.caption{font-size:.9375rem;max-width:1200px;margin:20px auto 0;line-height:1.8;color:var(--muted)}.note{font-size:.875rem;max-width:100%;line-height:1.75;margin:14px auto 26px;color:var(--muted)}.subhead{font-size:1.18rem;line-height:1.45;margin:44px 0 21px;font-weight:650;letter-spacing:-.018em}.table-title{font-size:1.125rem;line-height:1.5;margin:38px 0 20px;letter-spacing:-.015em}.section-title+.table-title{margin-top:0}.teaser{padding-top:48px}.media-frame{box-shadow:0 7px 25px -19px rgba(16,38,80,.3);border-radius:14px}.media-frame img{height:auto;object-fit:contain}.pull-quote{font-size:1.48rem;line-height:1.5;max-width:870px;margin-top:30px;border-left:0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:22px 34px;text-align:center;color:#234784;font-style:normal;background:linear-gradient(90deg,#fff,#f4f7ff,#fff)}
.stats-band{background:#14243f;padding:32px 0}.stats-band .container{width:100%;max-width:1320px;padding-inline:32px}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:36px}.stat-group{border-left:2px solid #5275bb;padding-left:22px}.stat-group-title{font-size:1rem;letter-spacing:.01em;line-height:1.55;margin-bottom:8px}.stat-line{font-size:.875rem;line-height:1.8;text-wrap:pretty;color:#d1dbee}.stat-line strong{font-weight:700}.stat-line+.stat-line{margin-top:2px}
.cards{gap:24px;margin-top:28px}.card{padding:27px;border-radius:12px;border-color:var(--border);box-shadow:none;transition:transform .2s ease,box-shadow .2s ease}.card:hover{transform:translateY(-3px);box-shadow:0 12px 28px -19px rgba(21,53,107,.25)}.card-num{font-size:.875rem;letter-spacing:.08em;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;background:var(--accent-soft);border:1px solid #d4e0fb;border-radius:9px;margin-bottom:12px}.card h3{font-size:1.09rem;line-height:1.5;margin:0 0 13px;letter-spacing:-.02em}.card p,.method-item p{font-size:1rem;line-height:1.85;color:var(--muted)}.design-highlight{padding:37px 30px 29px;background:linear-gradient(120deg,#f0f5ff,#fff);border-color:#cddbf7;box-shadow:none;margin:10px 0 32px}.design-tag{font-size:.8125rem;left:25px;padding:5px 15px;border-radius:6px;letter-spacing:.015em}.design-items{gap:34px}.design-item h3{font-size:1.1rem;line-height:1.5;margin-bottom:12px}.design-item p{font-size:1rem;color:var(--muted)}.method-grid{gap:24px;margin-top:30px}.method-item{padding:27px;box-shadow:none;border-radius:12px;border-top:3px solid #8ca9e9}.method-item h3{font-size:1.125rem;line-height:1.45;margin-bottom:13px;letter-spacing:-.02em}.stages{gap:15px;margin-top:32px}.stage{padding:20px 24px;line-height:1.85;background:#fff;border-radius:10px}.stage-tag{font-size:.875rem;background:var(--accent-soft);border:1px solid #d8e3f9;border-radius:5px;padding:2px 8px;margin-right:10px;white-space:nowrap}.takeaways{max-width:950px;margin-top:28px;line-height:1.85;padding-left:24px}.takeaways li+li{margin-top:11px}
.table-wrap{max-width:100%;border:1px solid var(--border);border-radius:12px;background:#fff;scrollbar-width:thin;margin-bottom:18px}.results-table{border:0;overflow:visible;border-radius:0;font-size:.9375rem;font-variant-numeric:tabular-nums;line-height:1.6}.results-table th,.results-table td{padding:15px 16px}.results-table th{background:#edf2fa;font-size:.875rem;font-weight:650;vertical-align:middle}.results-table td{color:#3c4d66}.results-table td:first-child,.results-table th:first-child{min-width:165px}.results-table tr.highlight{background:#edf3ff}.results-table tr.highlight td{color:#1c49a3}.results-table tbody tr{transition:background .15s ease}.results-table tbody tr:hover{background:#f3f6fc}.results-table tbody tr.highlight:hover{background:#e4edff}.results-table strong{font-weight:700}
/* The same result chart, now animated and interactive. */
.chart-panel{padding:25px 28px 23px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 8px 28px -23px rgba(21,53,107,.25);margin-bottom:18px}.chart-axis{display:flex;justify-content:space-between;font-size:.75rem;color:#61708a;font-variant-numeric:tabular-nums;margin:0 132px 13px 237px;line-height:1.4}.barchart{max-width:none;gap:15px;margin:0}.bar-row{grid-template-columns:225px minmax(0,1fr) 45px 63px;gap:12px;position:relative;border-radius:7px;padding:9px 0;cursor:default;outline-offset:2px}.bar-row:focus,.bar-row:hover{background:#f5f8fe;box-shadow:0 0 0 7px #f5f8fe}.bar-label{text-align:left;font-size:.875rem;line-height:1.5;color:#506079}.ours-tag{display:inline-block;font-size:.75rem;color:#2455be;background:#e9f0ff;padding:1px 6px;border-radius:4px;margin-left:5px;font-weight:500}.bar-track{height:23px;background:repeating-linear-gradient(90deg,transparent,transparent calc(25% - 1px),#dce3ef calc(25% - 1px),#dce3ef 25%),#f1f4f9;border-radius:4px}.bar-fill{border-radius:4px;background:#a2b2ce;transform-origin:left center;will-change:auto}.bar-row.highlight .bar-fill{background:linear-gradient(90deg,#2458d1,#658bec)}.bar-row.highlight .bar-label,.bar-row.highlight .bar-val{color:#2458c7}.bar-val{font-variant-numeric:tabular-nums;text-align:right;font-size:.9375rem}
.demo-grid{gap:24px;margin:28px 0}.demo-card{box-shadow:none;border-radius:12px}.demo-card video{aspect-ratio:16/9;object-fit:contain;background:#111827}.media-frame figcaption{padding:17px 19px;text-align:left;font-size:.9375rem;line-height:1.65;color:var(--muted)}.demo-card figcaption strong{color:var(--fg)}.qa{box-shadow:none;border-radius:11px;padding:4px 23px;margin-bottom:14px}.qa summary{font-size:1rem;line-height:1.65;padding-block:18px}.qa[open]{border-color:#c5d5f2}.qa[open] summary{color:#2451a3}.qa p{line-height:1.85;margin-bottom:20px}.bibtex{background:#14243f;font-size:.875rem;line-height:1.8;padding:26px;border-radius:12px}.bibtex code{white-space:pre-wrap;overflow-wrap:anywhere}.copy-btn{min-height:44px;border-radius:7px;padding:9px 17px;margin-top:5px}.copy-status{font-size:.875rem;color:var(--muted);margin-left:13px}
/* Restore the original team section and its circular portraits. */
.team{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:34px 10px;justify-content:center;max-width:1070px;margin:37px auto 0}.member{grid-column:auto;gap:14px;text-align:center}.avatar{width:94px;height:94px;display:flex;align-items:center;justify-content:center;font-size:1.35rem;font-weight:600;letter-spacing:-.035em;color:#7c96c4;background:linear-gradient(145deg,#edf3ff,#e2eaf7);border-color:#d8e3f5;box-shadow:inset 0 0 0 5px rgba(255,255,255,.48);transition:transform .2s ease,box-shadow .2s ease}.member:hover .avatar{transform:translateY(-4px);box-shadow:0 10px 23px -15px #426cc0,inset 0 0 0 5px rgba(255,255,255,.5)}.member>span{font-size:.875rem;font-weight:550;line-height:1.6;color:#25344c}.footer{padding:30px 0 34px;font-size:.875rem}.footer p{max-width:850px;margin-inline:auto}
.toc{top:calc(var(--nav-height) + 30px);left:calc((100vw - var(--maxw))/2 - 210px);width:184px;max-height:calc(100vh - var(--nav-height) - 60px);scrollbar-width:thin;opacity:1;visibility:visible;transition:opacity .2s ease}.toc.toc-hidden{opacity:0;visibility:hidden}.toc-title{font-size:.75rem}.toc a{font-size:.875rem;line-height:1.5;padding-block:7px}.toc-sub a{font-size:.8125rem;padding-left:19px}.toc-group.open .toc-sub{max-height:380px}
@media(min-width:1480px) and (max-width:1579px){.toc{display:none}}@media(min-width:1580px){.toc{display:block}}
@media(max-width:1230px){.nav-links{gap:14px}.nav-inner{gap:22px;padding-inline:24px}.nav-links a{font-size:.8125rem}.stats{gap:24px}.stats-band .container{width:100%}.stat-group{padding-left:18px}.bar-row{grid-template-columns:205px minmax(0,1fr) 45px 60px}.chart-axis{margin-left:217px;margin-right:129px}}
@media(max-width:1120px){.nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--border);padding:18px 28px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 24px;box-shadow:0 12px 25px -20px #2e4266}.nav-links.open{display:grid}.nav-links a{font-size:.875rem;padding:9px 0}.nav-toggle{display:block}.hero{padding-top:40px}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.stat-group-title{font-size:.9375rem}.stat-line{font-size:.8125rem}.cards{gap:20px}.card{padding:23px}.team{grid-template-columns:repeat(7,minmax(0,1fr));gap:30px 10px}.member{grid-column:auto}}
@media(max-width:820px){.container{padding-inline:23px}.nav-inner{padding-inline:23px}.nav-links{grid-template-columns:repeat(3,minmax(0,1fr));padding-inline:23px}.hero{min-height:calc(100svh - var(--nav-height));padding:40px 0 68px}.hero-content{min-height:0}.title{font-size:clamp(3rem,9vw,5.2rem)}.subtitle{font-size:1.75rem}.badges{margin-top:21px}.authors{font-size:.9375rem;gap:3px 18px;margin-top:22px}.affiliations{font-size:.8125rem}.hero-rollout-status{flex-direction:row;gap:3px 13px}.hero-playback{right:20px;bottom:17px}.section{padding-block:58px}.section-title{font-size:2rem;margin-bottom:28px}.lead{font-size:1rem}.stats{grid-template-columns:1fr;gap:21px}.stat-line{font-size:.9375rem}.stat-group-title{font-size:1rem}.stats-band .container{padding-inline:24px}.stat-group{padding-left:20px}.stats-band{padding-block:28px}.cards,.design-items,.method-grid{grid-template-columns:1fr}.cards{margin-top:24px}.design-highlight{padding:35px 24px 26px}.design-items{gap:27px}.card p,.design-item p,.method-item p{font-size:1rem}.section .note{font-size:.875rem}.chart-panel{padding:23px 22px}.bar-row{grid-template-columns:180px minmax(0,1fr) 41px 51px;gap:10px}.chart-axis{margin-left:190px;margin-right:112px}.bar-label{font-size:.875rem}.bar-track{height:21px}.team{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 22px;max-width:580px}.member{grid-column:auto;justify-self:stretch}.member:last-child{grid-column:2/span 1}.demo-grid{grid-template-columns:1fr 1fr;gap:20px}.media-frame figcaption{font-size:.875rem}.avatar{width:90px;height:90px}.pull-quote{font-size:1.3rem;padding:20px 22px}.table-title,.subhead{font-size:1.0625rem}.results-table th,.results-table td{padding:13px 14px}}
@media(max-width:600px){.container{padding-inline:20px}.nav-inner{padding-inline:20px}.nav-links{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px 20px;max-height:calc(100svh - var(--nav-height));overflow:auto}.hero{padding-top:34px}.title{font-size:clamp(2.7rem,10.6vw,4rem)}.subtitle{font-size:1.45rem;line-height:1.35;margin-top:14px}.badges{gap:6px;margin-top:19px}.badge{font-size:.75rem;padding:5px 10px}.authors{font-size:.875rem;gap:3px 14px;line-height:1.8;margin-top:20px}.affiliations{font-size:.75rem;gap:3px 12px;line-height:1.7;margin-top:10px}.links{margin-top:20px}.hero-rollout-status{font-size:.75rem;margin-top:19px}.rollout-selector{gap:6px;margin-top:11px}.rollout-selector button{font-size:.8125rem;min-height:40px;padding:7px 10px}.hero-playback{font-size:.75rem}.section{padding-block:49px}.section-title{font-size:1.85rem;letter-spacing:-.025em}.section-title::after{margin-top:17px}.section p,.section .stage,.takeaways{hyphens:auto}.card h3,.method-item h3{font-size:1.05rem}.card,.method-item{padding:23px}.caption{font-size:.875rem;margin-top:17px}.note{font-size:.875rem}.design-tag{font-size:.75rem;max-width:calc(100% - 34px);left:17px;line-height:1.5}.design-highlight{padding:36px 21px 23px}.design-items{gap:24px}.stage{padding:19px 21px}.stage-tag{display:table;margin-bottom:9px}.demo-grid{grid-template-columns:1fr;gap:24px}.media-frame figcaption{padding:17px 19px;font-size:.9375rem}.chart-panel{padding:21px 16px}.chart-axis{margin:0 109px 16px 0}.bar-row{grid-template-columns:minmax(0,1fr) 39px 50px;gap:7px 10px;padding:7px 0}.bar-label{grid-column:1/-1;font-size:.875rem}.bar-track{height:21px}.bar-val{font-size:.875rem}.barchart{gap:17px}.chart-panel::before{content:"";display:none}.team{grid-template-columns:repeat(2,minmax(0,1fr));gap:31px 20px;max-width:390px}.member:last-child{grid-column:1/-1}.member>span{font-size:.875rem}.avatar{width:92px;height:92px}.qa{padding-inline:18px}.qa summary{font-size:1rem;padding-right:27px}.qa p{font-size:1rem}.bibtex{padding:21px;font-size:.8125rem}.copy-status{display:block;margin:9px 0 0}.table-wrap{border-radius:9px}.results-table{font-size:.875rem}.results-table th{font-size:.8125rem}.footer{font-size:.8125rem}.takeaways{padding-left:21px}.pull-quote{font-size:1.2rem;padding-inline:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.card:hover,.member:hover .avatar,.link-btn:hover{transform:none}}

/* Keep each stage badge beside a separate, consistently aligned text column. */
.section .stage {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  text-align: left;
  hyphens: none;
}
.stage .stage-tag {
  display: inline-block;
  justify-self: start;
  margin: 0;
}
.stage-content {
  min-width: 0;
  text-align: justify;
  hyphens: none;
  overflow-wrap: break-word;
}
@media (max-width: 600px) {
  .section .stage {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 14px;
  }
}

/* Requested refinements: a clean score chart and the reference demonstration cards. */
.simplified-chart { padding: 30px 28px; }
.simplified-chart .bar-row {
  grid-template-columns: 225px minmax(0, 1fr) 45px;
  gap: 16px;
  padding: 9px 0;
}
.simplified-chart .bar-row:hover,
.simplified-chart .bar-row:focus { background: transparent; box-shadow: none; }
.simplified-chart .chart-axis { margin: 0 61px 15px 241px; }
.simplified-chart .barchart { gap: 15px; }
.simplified-chart .bar-label { text-decoration: none; }
#task-demos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
  align-items: stretch;
}
#task-demos .demo-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  background: #fff;
  border: 1px solid #d6e0f2;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: none;
}
#task-demos .demo-media { position: relative; background: #111827; }
#task-demos video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
#task-demos .demo-number {
  position: absolute;
  left: 9px;
  top: 9px;
  background: rgba(17, 41, 79, .9);
  color: #fff;
  border-radius: 4px;
  padding: 4px 7px;
  font-size: .75rem;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
#task-demos .demo-caption { padding: 19px 18px 21px; flex: 1; text-align: left; }
#task-demos .demo-category {
  display: block;
  color: #215be0;
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.55;
  margin-bottom: 7px;
}
#task-demos .demo-caption h3 {
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 650;
  letter-spacing: -.02em;
  margin: 0 0 8px;
  color: #162743;
}
#task-demos .demo-caption p {
  font-size: .875rem;
  line-height: 1.7;
  margin: 0;
  color: #526481;
  text-align: left;
  hyphens: none;
}
@media (max-width: 900px) {
  #task-demos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .simplified-chart .bar-row { grid-template-columns: 185px minmax(0, 1fr) 45px; gap: 12px; }
  .simplified-chart .chart-axis { margin-left: 197px; margin-right: 57px; }
}
@media (max-width: 600px) {
  #task-demos { grid-template-columns: 1fr; gap: 24px; }
  .simplified-chart { padding: 23px 18px; }
  .simplified-chart .bar-row { grid-template-columns: minmax(0, 1fr) 40px; gap: 8px 12px; }
  .simplified-chart .bar-label { grid-column: 1 / -1; }
  .simplified-chart .chart-axis { margin-left: 0; margin-right: 52px; }
  .simplified-chart .barchart { gap: 17px; }
}

/* Explicit author rows and a dedicated equal-advising line. */
.project-info .authors {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1080px;
  gap: 8px;
  margin-top: 24px;
  font-size: 1.05rem;
  line-height: 1.75;
}
.project-info .author-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 20px;
  max-width: 100%;
}
.project-info .author-row > span { white-space: nowrap; }
.project-info .affiliations {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1080px;
  gap: 9px;
  margin-top: 12px;
  font-size: .9375rem;
  line-height: 1.75;
  text-align: center;
}
.project-info .affiliation-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 24px;
  max-width: 100%;
}
.project-info .advising-note { display: block; width: 100%; }
@media (max-width: 900px) {
  .project-info .authors { font-size: .9375rem; }
  .project-info .author-row { column-gap: 17px; }
  .project-info .affiliations { font-size: .8125rem; }
  .project-info .affiliation-row { column-gap: 18px; }
}
@media (max-width: 600px) {
  .project-info .authors { font-size: .875rem; gap: 8px; margin-top: 20px; }
  .project-info .author-row { gap: 4px 14px; }
  .project-info .affiliations { font-size: .75rem; gap: 8px; margin-top: 11px; }
  .project-info .affiliation-row { gap: 4px 12px; }
}

/* Keep the project-lead credit below the two institution names. */
.project-info .project-lead-note {
  display: block;
  width: 100%;
  text-align: center;
}


/* An immersive opening panel, followed by the project credits on white. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(28px, 1fr) auto minmax(165px, 1fr);
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
  padding: 28px 0 20px;
}
.hero-content { grid-row: 2; width: 100%; min-height: 0; }
.hero-bottom {
  grid-row: 3;
  align-self: end;
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 30px;
}
.hero-bottom .hero-rollout-status { margin-top: 0; }
.hero-bottom .rollout-selector { margin-top: 12px; }
.hero-footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 22px;
}
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  color: #fff;
  font-size: .8125rem;
  font-weight: 500;
  text-decoration: none;
}
.hero-scroll svg { transition: transform .2s ease; }
.hero-scroll:hover { color: #fff; text-decoration: none; }
.hero-scroll:hover svg { transform: translateY(3px); }
.hero-footer-actions .hero-playback {
  position: static;
  background: rgba(12, 25, 47, .35);
  border-color: rgba(255, 255, 255, .25);
}
.project-info {
  padding: 58px 0 60px;
  background: #fff;
  color: var(--fg);
  text-align: center;
  scroll-margin-top: var(--nav-height);
}
.project-info-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.project-heading { width: 100%; margin-bottom: 30px; }
.project-title {
  margin: 0;
  color: var(--fg);
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.05em;
}
.project-title .brand-accent { color: var(--accent); }
.project-subtitle {
  max-width: 800px;
  margin: 14px auto 0;
  color: var(--fg);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}
#project-highlights { scroll-margin-top: var(--nav-height); }
.project-info .authors {
  color: var(--fg);
  margin-top: 0;
  font-weight: 500;
}
.project-info .authors sup { color: var(--muted); font-weight: 400; }
.project-info .affiliations { color: var(--muted); margin-top: 22px; gap: 6px; }
.project-info .affiliation-row { margin-bottom: 4px; }
.project-info .project-lead-note,
.project-info .advising-note { font-size: .8125rem; }
.project-info .links { margin-top: 26px; }
.project-info .link-btn {
  border: 1px solid #cbd5e4;
  background: #fff;
  color: var(--fg);
  box-shadow: none;
}
.project-info .link-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-2px);
}
/* Placeholder for a button whose target is not public yet: it keeps the row's
   shape but must not look or behave like something you can click. */
.project-info .link-btn.is-pending,
.project-info .link-btn.is-pending:hover {
  border-style: dashed;
  border-color: #d5dce7;
  background: #fff;
  color: var(--muted);
  cursor: default;
  transform: none;
}
.institution-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 56px 76px;
  width: 100%;
  margin-top: 56px;
}
.institution-logo { display: block; height: auto; object-fit: contain; flex-shrink: 0; }
.institution-logo-uiuc { width: 216px; }
.institution-logo-berkeley { width: 218px; }
.institution-logo-northwestern { width: 232px; }
@media (max-width: 600px) {
  .hero { padding: 20px 0 16px; grid-template-rows: minmax(12px, 1fr) auto minmax(188px, 1fr); }
  .hero-bottom { padding-top: 26px; }
  .hero-footer-actions { margin-top: 16px; gap: 8px 18px; }
  .hero-scroll { font-size: .75rem; gap: 8px; }
  .hero-bottom .rollout-selector { gap: 7px; max-width: 360px; margin-inline: auto; }
  .project-info { padding: 40px 0 48px; }
  .project-info .authors { font-size: .9375rem; }
  .project-info .author-row { gap: 6px 17px; }
  .project-info .affiliations { font-size: .8125rem; margin-top: 21px; }
  .project-info .affiliation-row { flex-direction: column; align-items: center; gap: 5px; }
  .project-info .project-lead-note,
  .project-info .advising-note { font-size: .75rem; }
  .institution-logos { margin-top: 56px; column-gap: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll:hover svg,
  .project-info .link-btn:hover { transform: none; }
}

/* Compact project masthead; wrap naturally when the screen is narrow. */
.project-info { padding: 32px 0 34px; }
.project-info .project-info-content { width: 100%; max-width: 1280px; }
.project-info .project-heading { margin-bottom: 16px; }
.project-info .project-title {
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  white-space: nowrap;
}
.project-info .project-subtitle {
  max-width: none;
  margin-top: 7px;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  line-height: 1.3;
}
.project-info .authors {
  max-width: none;
  margin-top: 0;
  gap: 0;
  font-size: clamp(.875rem, 1.13vw, 1rem);
  line-height: 1.6;
}
.project-info .author-row { gap: 4px 13px; }
.project-info .affiliations {
  margin-top: 10px;
  gap: 4px;
  font-size: .875rem;
  line-height: 1.6;
}
.project-info .affiliation-row { margin-bottom: 0; gap: 4px 22px; }
.project-info .credit-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 3px 24px;
}
.project-info .project-lead-note,
.project-info .advising-note {
  display: inline;
  width: auto;
  font-size: .8125rem;
  white-space: nowrap;
}
.project-info .links { margin-top: 16px; gap: 10px; }
.project-info .link-btn { padding: 8px 19px; }
.project-info .institution-logos { margin-top: 24px; gap: 24px 48px; }
.project-info .institution-logo-uiuc { width: 192px; }
.project-info .institution-logo-berkeley { width: 200px; }
.project-info .institution-logo-northwestern { width: 206px; }
@media (min-width: 1000px) {
  .project-info .author-row,
  .project-info .credit-row { flex-wrap: nowrap; }
  .project-info .project-subtitle { white-space: nowrap; }
}
@media (max-width: 600px) {
  .project-info { padding: 26px 0 28px; }
  .project-info .project-heading { margin-bottom: 14px; }
  .project-info .author-row { gap: 4px 12px; }
  .project-info .affiliations { font-size: .8125rem; }
  .project-info .project-lead-note,
  .project-info .advising-note { font-size: .75rem; }
}

/* Keep the opening video clear; reveal navigation at the next section. */
.nav.nav-after-hero {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: transform .22s ease, opacity .22s ease, visibility .22s;
}
/* Hidden only when the script says so, so navigation survives a JS failure. */
.nav.nav-after-hero.nav-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-100%);
}
.hero { min-height: 100vh; min-height: 100svh; }
html { scroll-padding-top: calc(var(--nav-height) + 16px); }
#top { scroll-margin-top: 0; }
#project-highlights,
.project-info { scroll-margin-top: 0; }

/* Team cards link to each author's page without looking like body links. */
a.member { color: inherit; text-decoration: none; }
a.member > span { transition: color .2s ease; }
a.member:hover > span,
a.member:focus-visible > span { color: var(--accent); }
a.member:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 12px; }

/* Author names link out without breaking the credit block's typography. */
.project-info .author-row a { color: inherit; text-decoration: none; transition: color .2s ease; }
.project-info .author-row a:hover,
.project-info .author-row a:focus-visible { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
