/* =========================================================================
   Lost on Campus -- Project Page
   Light, minimalist, high-end design system
   ========================================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-soft-2: #f1f3f9;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e9ebf2;
  --line-strong: #d9dce8;

  --accent: #4f46e5;
  --accent-ink: #4338ca;
  --accent-2: #7c6cf0;
  --accent-soft: rgba(79, 70, 229, 0.08);
  --accent-soft-2: rgba(79, 70, 229, 0.14);
  --ok: #15803d;
  --ok-soft: rgba(22, 163, 74, 0.12);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, .06), 0 14px 40px -16px rgba(15, 23, 42, .14);
  --shadow-lg: 0 30px 60px -28px rgba(15, 23, 42, .28);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  --maxw: 1200px;
  --maxw-narrow: 820px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a {
  color: var(--accent-ink);
  text-decoration: none;
  transition: color .18s ease;
}
a:hover { color: var(--accent); }

::selection { background: var(--accent-soft-2); }

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

.section {
  padding: 72px 0;
  scroll-margin-top: 84px;
}
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 56px 0; }

.section-head {
  max-width: 1000px;
  margin: 0 0 36px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--accent);
  display: inline-block;
}
.center .eyebrow::before { display: none; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(25px, 3vw, 34px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }

.section-head p {
  color: var(--muted);
  font-size: 17px;
  margin: 14px 0 0;
  max-width: 64ch;
}
.section-head.center p { margin-left: auto; margin-right: auto; }

.lead { font-size: 19px; color: var(--ink-2); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-size: 15.5px;
}
.brand:hover { color: var(--ink); }
.brand__dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.brand em { font-family: var(--font-serif); font-style: italic; font-weight: 500; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 999px;
  transition: background .16s ease, color .16s ease;
}
.nav__links a:hover { background: var(--bg-soft-2); color: var(--ink); }
.nav__links a.active { color: var(--accent-ink); background: var(--accent-soft); }

.nav__toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 10px;
  width: 40px; height: 40px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 64px;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(60% 70% at 20% 0%, rgba(124, 108, 240, 0.16), transparent 60%),
    radial-gradient(55% 70% at 85% 10%, rgba(79, 70, 229, 0.12), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
  z-index: -1;
}

.badge {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.badge .pill {
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(30px, 4.4vw, 47px);
  line-height: 1.14;
  margin: 26px auto 0;
  max-width: 19em;
}
.hero h1 .title-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(120deg, var(--accent-ink), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__tagline {
  max-width: 60ch;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 19px);
}
.hero__authors {
  margin: 26px auto 0;
  color: var(--ink-2);
  font-weight: 500;
  max-width: 1080px;
}
.hero__authors .anon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__authors .sep { color: var(--faint); margin: 0 4px; }
.hero__authors small { display: block; color: var(--faint); font-weight: 400; margin-top: 4px; font-size: 13.5px; }
.author-list {
  font-size: 15.5px;
  line-height: 1.8;
}
.author-list a { color: var(--ink-2); }
.author-list a:hover { color: var(--accent-ink); }
.affiliations {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}
.affiliations span { margin: 0 7px; color: var(--faint); }

/* Action buttons */
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 32px auto 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
  box-shadow: var(--shadow-sm);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--ink); }
.btn--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
}
.btn--primary:hover { color: #fff; }
.btn.is-disabled {
  opacity: .85;
  cursor: not-allowed;
  position: relative;
}
.btn.is-disabled:hover { transform: none; box-shadow: var(--shadow-sm); }
.btn .soon {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 2px 7px;
  border-radius: 999px;
}

/* Stat chips */
.stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: 44px auto 0;
  max-width: 1000px;
}
.stat {
  min-width: 0;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat__num {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.stat__num sup { font-size: .55em; font-weight: 700; }
.stat__label { font-size: 12.5px; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* ---------- Figure ---------- */
.figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
  box-shadow: var(--shadow-md);
}
.figure img { border-radius: 10px; width: 100%; }
.figure figcaption {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 16px;
  padding: 0 6px 4px;
  line-height: 1.6;
}
.figure figcaption b { color: var(--ink-2); }
.figure--plain { background: var(--bg-soft); }
.qa-examples-link { display: block; border-radius: 10px; cursor: zoom-in; }
.qa-examples-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.qa-examples-link img { height: auto; }

.teaser { margin-top: -28px; position: relative; z-index: 1; }

/* ---------- Abstract ---------- */
.abstract {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
}
.abstract-head { margin-bottom: 12px; }
.abstract-head .eyebrow {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
}
.abstract p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.78;
}
.abstract .dropcap::first-letter {
  font-family: var(--font-serif);
  font-size: 3.2em;
  font-weight: 600;
  float: left;
  line-height: .82;
  padding: 6px 12px 0 0;
  color: var(--accent-ink);
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; }
.card__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
}
.card h3 { margin: 6px 0 10px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.card--accent::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.section--contributions { padding: 40px 0; }
.section--contributions .section-head { margin-bottom: 22px; }
.section--contributions .grid { gap: 16px; }
.section--contributions .card { padding: 18px 20px; }
.section--contributions .card__icon {
  width: 38px;
  height: 38px;
  margin-bottom: 11px;
  border-radius: 10px;
}
.section--contributions .card__icon svg { width: 20px; height: 20px; }
.section--contributions .card h3 { margin: 2px 0 6px; font-size: 18px; }
.section--contributions .card p { font-size: 14px; line-height: 1.5; }

/* Two-column media block */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split--media-right .split__media { order: 2; }
.prose p { color: var(--ink-2); }
.prose p + p { margin-top: 16px; }

.feature-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-list .ico {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.feature-list .ico svg { width: 16px; height: 16px; }
.feature-list b { color: var(--ink); }
.feature-list span { color: var(--muted); font-size: 14.5px; }

/* ---------- Qualitative media ---------- */
.media-block { margin-top: 40px; }
.media-block + .media-block { margin-top: 34px; }
.media-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 16px;
}
.media-head h3 { margin-top: 4px; }
.media-head p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}
.media-kicker {
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.fidelity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.fidelity-grid img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  background: #090b10;
  line-height: 0;
}
.video-frame:focus-visible {
  outline: 3px solid var(--accent-soft-2);
  outline-offset: -3px;
}
.video-frame video,
.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-frame video { opacity: 0; transition: opacity .3s ease; }
.video-poster {
  position: absolute;
  inset: 0;
  transition: opacity .3s ease;
}
.video-frame.ready video { opacity: 1; }
.video-frame.ready .video-poster { opacity: 0; }
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 50%;
  color: #fff;
  background: rgba(15,23,42,.62);
  backdrop-filter: blur(7px);
  transform: translate(-50%, -50%);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.video-play svg { width: 18px; height: 18px; fill: currentColor; margin-left: 2px; }
.video-frame:hover .video-play { transform: translate(-50%, -50%) scale(1.06); }
.video-frame.playing .video-play { opacity: 0; transform: translate(-50%, -50%) scale(.88); }
.video-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255,255,255,.16);
}
.video-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent-2);
}
.video-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.video-meta b { color: var(--ink-2); font-weight: 650; }

/* ---------- Framework paradigm diagram ---------- */
.paradigms { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; position: relative; }
.paradigm {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.paradigm__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.paradigm h3 { font-size: 22px; margin-bottom: 10px; }
.paradigm p { color: var(--muted); font-size: 15.5px; margin: 0 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}
.paradigm-link {
  text-align: center;
  margin: 26px auto 0;
  max-width: 70ch;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Tasks ---------- */
.tasks { grid-template-columns: repeat(3, 1fr); }
.task { padding: 26px; }
.task__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.task__index {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 14px -6px var(--accent);
}
.task__head h3 { font-size: 18px; }
.task p { font-size: 14.8px; color: var(--muted); margin: 0; }

/* ---------- Tables ---------- */
.result-block { margin-top: 30px; }
.result-block + .result-block { margin-top: 46px; }
.result-head { margin-bottom: 18px; }
.result-head h3 { font-size: 22px; }
.result-head p { color: var(--muted); font-size: 15px; margin: 8px 0 0; max-width: 80ch; }
.result-block--pose .table-wrap {
  width: min(100%, 720px);
  margin-left: 0;
  margin-right: auto;
}
.result-block--pose .rtable {
  min-width: 600px;
  table-layout: fixed;
}
.result-block--pose .rtable th:first-child,
.result-block--pose .rtable td:first-child { width: 28%; }
.result-block--pose .rtable th:not(:first-child),
.result-block--pose .rtable td:not(:first-child) { width: 18%; }

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.rtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  min-width: 640px;
}
.rtable thead th {
  position: sticky;
  top: 0;
  background: var(--bg-soft-2);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
  padding: 13px 12px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-strong);
  font-size: 12.5px;
}
.rtable thead th:first-child { text-align: left; }
.rtable tbody td {
  padding: 11px 12px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  white-space: nowrap;
}
.rtable tbody td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.rtable tbody tr:last-child td { border-bottom: none; }
.rtable tbody tr:hover td { background: rgba(79, 70, 229, 0.035); }

.rtable .grp td {
  background: var(--bg-soft);
  font-style: italic;
  font-weight: 700;
  color: var(--muted);
  text-align: left;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 9px 12px;
}
.rtable .grp td:first-child { font-weight: 700; }
.rtable .baseline td { background: #fafafa; color: var(--muted); }
.rtable .baseline td:first-child { color: var(--ink-2); }
.rtable .ours td { background: var(--accent-soft); }
.rtable .ours td:first-child { color: var(--accent-ink); }
.rtable .ours td:first-child::after {
  content: "Ours";
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}
.rtable b { color: var(--ink); font-weight: 800; }
.rtable u { text-decoration-color: var(--faint); text-underline-offset: 3px; }
.pos { color: var(--ok); font-weight: 600; }
.cell-pos { background: var(--ok-soft); }
.neg { color: #b91c1c; }
.cm { color: var(--ok); font-weight: 700; }
.xm { color: #dc2626; font-weight: 700; }
.pm { color: var(--faint); }

.tnote { font-size: 13px; color: var(--faint); margin-top: 12px; }
.tnote .key { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; }
.tnote .sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; background: var(--ok-soft); border: 1px solid rgba(22,163,74,.4); }

/* QA layout with radar */
.qa-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 26px; align-items: start; }
.qa-layout .figure { margin-top: 0; }

/* ---------- Findings / callouts ---------- */
.finding {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, var(--accent-soft), rgba(255,255,255,0));
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-top: 22px;
}
.finding__ico {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--accent-ink);
  margin-top: 2px;
}
.finding__ico svg { width: 18px; height: 18px; }
.finding p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.finding b { color: var(--ink); }

.findings-grid { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.finding-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.finding-card .k {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--accent-ink), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.finding-card h3 { font-size: 17px; margin: 14px 0 8px; }
.finding-card p { font-size: 14.8px; color: var(--muted); margin: 0; }

/* ---------- Details / collapsible ---------- */
.disclosure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.disclosure + .disclosure { margin-top: 14px; }
.disclosure summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary .plus {
  width: 24px; height: 24px;
  position: relative;
  flex: none;
  transition: transform .22s ease;
  color: var(--accent-ink);
}
.disclosure summary .plus::before,
.disclosure summary .plus::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.disclosure summary .plus::before { width: 14px; height: 2px; }
.disclosure summary .plus::after { width: 2px; height: 14px; transition: transform .22s ease; }
.disclosure[open] summary .plus::after { transform: translate(-50%,-50%) scaleY(0); }
.disclosure__body { padding: 0 24px 24px; border-top: 1px solid var(--line); }
.disclosure__body .figure { box-shadow: none; border: none; padding: 18px 0 0; }

/* ---------- BibTeX ---------- */
.cite-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #0f172a;
}
.cite-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #111a30;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.cite-card__bar span { color: #cbd5e1; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.08);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,.12);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.copy-btn:hover { background: rgba(255,255,255,.16); }
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn.copied { background: var(--ok); border-color: var(--ok); color: #fff; }
.cite-card pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.7;
}
.cite-card pre .tok-cmd { color: #c4b5fd; }
.cite-card pre .tok-key { color: #7dd3fc; }
.cite-card pre .tok-str { color: #86efac; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 48px 0;
  text-align: center;
}
.footer .brand { justify-content: center; margin-bottom: 14px; }
.footer p { color: var(--muted); font-size: 14.5px; margin: 6px 0; }
.footer .fine { color: var(--faint); font-size: 13px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .tasks, .findings-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); max-width: 560px; }
  .qa-layout { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split--media-right .split__media { order: 0; }
  .paradigms { grid-template-columns: 1fr; }
  .fidelity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid--rollouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .nav__links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(14px);
    padding: 14px 18px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform .26s ease;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 12px 14px; font-size: 16px; }
  .nav__toggle { display: inline-flex; }
  .grid-3, .grid-2, .tasks, .findings-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .media-head { display: block; }
  .media-head p { margin-top: 8px; text-align: left; }
  .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
}
