/* DRUM project page — adapted from the QLVSumm project page stylesheet */
:root {
  --accent: #0F766E;
  --accent-strong: #0B5F58;
  --accent-fill: #0F766E;
  --accent-tint: rgba(15, 118, 110, .11);
  --tag-ink: #FFFFFF;
  --hl: rgba(15, 118, 110, .2);
  --cam: #E07A2E;
  --cam-ink: #B85A14;
  --cam-tint: rgba(224, 122, 46, .13);
  --lid: #1E9BC7;
  --lid-ink: #137BA0;
  --lid-tint: rgba(30, 155, 199, .13);
  --navy: #0F1D31;
  --navy-2: #162943;
  --hero-ink: #FFFFFF;
  --hero-soft: #B4C2D4;
  --hero-accent: #5FD3C4;
  --bg: #FFFFFF;
  --bg-alt: #F5F8F8;
  --band: #F1F5F6;
  --surface: #FFFFFF;
  --border: #DFE6E8;
  --text: #151B22;
  --text-soft: #5A6570;
  --good: #1F8A70;
  --bad: #C4443B;
  --shadow: 0 6px 24px rgba(15, 29, 49, .07);
  --shadow-lg: 0 18px 48px rgba(15, 29, 49, .16);
  --wrap: 1080px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --accent: #3FBFAE;
  --accent-strong: #6AD3C5;
  --accent-fill: #3FBFAE;
  --accent-tint: rgba(63, 191, 174, .14);
  --tag-ink: #06201D;
  --hl: rgba(63, 191, 174, .26);
  --cam: #F0954D;
  --cam-ink: #F5A868;
  --cam-tint: rgba(240, 149, 77, .16);
  --lid: #4FB8DE;
  --lid-ink: #72C8E8;
  --lid-tint: rgba(79, 184, 222, .16);
  --navy: #0A1524;
  --navy-2: #12223A;
  --bg: #0E1318;
  --bg-alt: #182028;
  --band: #131A21;
  --surface: #1C242D;
  --border: #303B47;
  --text: #E8EDF2;
  --text-soft: #A1ACB8;
  --good: #5CC9A7;
  --bad: #F0827A;
  --shadow: 0 6px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: var(--hl); }
body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-strong); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
code, .mono { font-family: var(--mono); font-size: .92em; }

/* modality colours (camera = orange, LiDAR = cyan), used consistently */
.cam { color: var(--cam-ink); font-weight: 600; }
.lid { color: var(--lid-ink); font-weight: 600; }
.chip { display: inline-block; padding: .05em .5em; border-radius: 6px; font-weight: 600; font-size: .92em; white-space: nowrap; }
.chip.cam { background: var(--cam-tint); }
.chip.lid { background: var(--lid-tint); }

/* ---------- nav ---------- */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
nav.top .wrap { display: flex; align-items: center; gap: 24px; height: 56px; }
.brand { font-weight: 800; font-size: 1.12rem; letter-spacing: .3px; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.brand i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--cam) 0 50%, var(--lid) 50% 100%); }
.nav-links { margin-left: auto; display: flex; gap: clamp(12px, 1.8vw, 22px); font-size: .88rem; }
.nav-links a { color: var(--text-soft); text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-links a.current { color: var(--accent-strong); font-weight: 600; }
.theme-btn {
  width: 36px; height: 36px; flex: 0 0 auto; padding: 0;
  border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer;
  display: grid; place-items: center;
}
.theme-btn svg { width: 16px; height: 16px; fill: currentColor; }
.theme-btn svg[hidden] { display: none; }

/* ---------- hero (dark navy band) ---------- */
header.hero {
  padding-block: 52px 56px; text-align: center;
  background: var(--navy); color: var(--hero-ink);
  background-image: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}
.venue {
  display: inline-block; margin-bottom: 1.1rem; padding: 7px 16px;
  border-radius: 999px; background: rgba(95, 211, 196, .12); color: var(--hero-accent);
  border: 1px solid rgba(95, 211, 196, .32);
  font-size: .93rem; font-weight: 600; letter-spacing: .02em;
}
h1.title {
  margin: 0 auto .9rem; max-width: 940px;
  font-size: clamp(28px, 5.2vw, 46px); line-height: 1.1; letter-spacing: -.03em;
  font-weight: 700; text-wrap: balance; color: var(--hero-ink);
}
h1.title .name { display: block; margin-bottom: .22em; font-size: 1.22em; font-weight: 800; letter-spacing: .02em; }
h1.title .name::after {
  content: ""; display: block; width: 84px; height: 4px; margin: .28em auto 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--cam) 0 50%, var(--lid) 50% 100%);
}
.authors { margin: 0 auto .25rem; max-width: 760px; font-size: 1.06rem; font-weight: 500; line-height: 1.7; color: var(--hero-ink); }
.authors span { white-space: nowrap; }
.authors sup, .affil sup { font-size: .7em; color: var(--hero-soft); margin-left: 1px; }
.authors a { color: var(--hero-ink); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.authors a:hover { color: var(--hero-accent); border-bottom-color: var(--hero-accent); }
.affil { margin: 0 auto 1.5rem; color: var(--hero-soft); }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .62rem 1.2rem; border-radius: 999px;
  background: rgba(255, 255, 255, .07); color: var(--hero-ink); border: 1px solid rgba(255, 255, 255, .24);
  font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: background .18s, border-color .2s, transform .18s;
}
.btn:hover { background: rgba(255, 255, 255, .13); border-color: var(--hero-accent); }
.btn:active { transform: scale(.985); }
.btn svg { width: 16px; height: 16px; fill: currentColor; flex: 0 0 auto; }
.btn .soon { font-weight: 400; font-size: .8rem; color: var(--hero-soft); }
.btn.disabled { opacity: .5; pointer-events: none; }

/* tl;dr (inside the hero) */
.tldr {
  max-width: 860px; margin: 32px auto 0; text-align: left;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-left: 3px solid var(--hero-accent);
  border-radius: 14px; padding: 16px 24px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.tldr p { margin: 0; line-height: 1.6; color: #DCE4EE; }
.tldr b { color: #FFFFFF; font-weight: 600; }
.tldr .cam { color: #F5A868; }
.tldr .lid { color: #72C8E8; }
.tag {
  display: inline-block; padding: .24rem .75rem; border-radius: 999px;
  background: var(--accent-fill); color: var(--tag-ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
}
.tldr .tag { background: var(--hero-accent); color: #06201D; }

/* teaser straddles the hero / first-section boundary */
.teaser-band { background: linear-gradient(180deg, var(--navy-2) 0 50%, var(--band) 50% 100%); padding-inline: 24px; }
.teaser-band + .sec { border-top: 0; padding-top: clamp(36px, 5vw, 56px); }

/* ---------- sections ---------- */
section[id] { scroll-margin-top: 60px; }
.sec { padding-block: clamp(48px, 6vw, 72px); border-top: 1px solid var(--border); }
.sec.tinted { background: var(--band); }
.sec > .wrap > * + * { margin-top: 24px; }
.sec-head { text-align: center; max-width: 72ch; margin-inline: auto; }
.eyebrow { display: block; margin-bottom: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
h2 { margin: 0; font-size: clamp(25px, 3.1vw, 33px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
h3 { margin: 0; font-size: clamp(18px, 2vw, 21px); font-weight: 750; letter-spacing: -.015em; }
.lede { margin: 12px auto 0; max-width: 74ch; font-size: 1.06rem; line-height: 1.6; color: var(--text-soft); text-wrap: pretty; }
.lede b { color: var(--text); font-weight: 600; }
.u { color: var(--text); font-weight: 600; background-image: linear-gradient(transparent 60%, var(--hl) 60%); padding-inline: 1px; }
.prose { max-width: 78ch; margin-inline: auto; font-size: 1rem; line-height: 1.68; text-wrap: pretty; }
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.sub-block { border-top: 1px solid var(--border); padding-top: 32px; margin-top: 40px !important; }

/* cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.cards li {
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: 14px;
  padding: 18px 20px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px;
}
.cards .n {
  align-self: flex-start; min-width: 28px; height: 28px; padding-inline: 8px; border-radius: 8px; display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent-strong); font-size: .78rem; font-weight: 800; letter-spacing: .04em;
}
.cards h4 { margin: 0; font-size: 1rem; font-weight: 700; }
.cards p { margin: 0; font-size: .95rem; line-height: 1.56; color: var(--text-soft); }
.cards b { color: var(--text); font-weight: 600; }

/* figures */
.figure {
  margin: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow); padding: 12px 12px 0;
}
.figure .img-holder { background: #fff; border-radius: 6px; overflow: hidden; }
.figure img { display: block; width: 100%; height: auto; background: #fff; }
.figure > figcaption { margin: 12px -12px 0; }
figcaption {
  padding: 12px 16px; font-size: .88rem; line-height: 1.52; color: var(--text-soft);
  border-top: 1px solid var(--border);
}
figcaption b { color: var(--text); font-weight: 600; }
.figure.narrow { max-width: 720px; margin-inline: auto; }
.zoomable { cursor: zoom-in; }
.fig-pair { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }

/* callout */
.insight {
  background: var(--surface); border-left: 3px solid var(--accent); border-radius: 14px;
  padding: 18px 24px; box-shadow: var(--shadow);
}
.insight p { margin: 0; line-height: 1.6; }
.insight p + p { margin-top: .7em; }
.insight p > b:first-child { color: var(--accent-strong); }

/* gating explainer: clip + text side by side */
.split { display: grid; gap: 24px; grid-template-columns: 1.1fr 1fr; align-items: center; }
.split .prose { margin: 0; }
.split h3 { margin-bottom: 10px; }
.vs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.vs li { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-alt); font-size: .94rem; line-height: 1.5; }
.vs li b { display: block; margin-bottom: 2px; }
.vs li.ours { border-color: var(--accent); background: var(--accent-tint); }

/* equation block */
.eq {
  font-family: var(--mono); font-size: .95rem; background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px; overflow-x: auto; text-align: center; line-height: 1.9; color: var(--text);
}
.terms { margin: 12px auto 0; padding-left: 1.2em; }
.terms li { margin: 4px 0; }

/* tables */
.tbl-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; align-items: start; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
table.tbl { border-collapse: collapse; width: 100%; font-size: .88rem; font-variant-numeric: tabular-nums; }
.tbl caption { caption-side: top; text-align: left; padding: 14px 20px 10px; font-size: .88rem; color: var(--text-soft); line-height: 1.45; }
.tbl caption b { color: var(--text); }
.tbl th, .tbl td { padding: 7px 14px; text-align: right; white-space: nowrap; }
.tbl th:first-child, .tbl td:first-child { text-align: left; padding-left: 20px; }
.tbl th:last-child, .tbl td:last-child { padding-right: 20px; }
.tbl thead th { font-weight: 600; font-size: .8rem; color: var(--text-soft); }
.tbl thead tr:last-child th { border-bottom: 1.5px solid var(--text-soft); }
.tbl tbody tr:first-child td { padding-top: 11px; }
.tbl tbody tr:last-child td { padding-bottom: 12px; }
.tbl tr.sep td { border-top: 1px solid var(--border); }
.tbl tr.group td { text-align: left; font-style: italic; color: var(--text-soft); font-size: .8rem; background: var(--bg-alt); padding-top: 6px; padding-bottom: 6px; }
.tbl tr.ours td { color: var(--accent-strong); font-weight: 700; background: var(--accent-tint); }
.tbl td .s { color: var(--text-soft); font-weight: 400; }
.tbl tr.ours td .s { color: inherit; opacity: .8; }
.tbl .c { text-align: center; }
.tbl b { font-weight: 800; }
.tbl u { text-underline-offset: 3px; }
.tbl-note { font-size: .8rem; color: var(--text-soft); margin-top: 10px !important; text-align: center; }

/* bibtex */
.bib { position: relative; }
.bib pre {
  margin: 0; padding: 20px 22px; overflow-x: auto;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 14px;
  font-family: var(--mono); font-size: .86rem; line-height: 1.6; color: var(--text);
}
.copy-btn {
  position: absolute; top: 10px; right: 10px;
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-soft); font: 600 .78rem "Inter", sans-serif; cursor: pointer;
}
.copy-btn:hover { color: var(--text); border-color: var(--accent); }

footer { padding-block: 28px 40px; text-align: center; font-size: .86rem; color: var(--hero-soft); background: var(--navy); }
footer p { margin: 0; }
footer p + p { margin-top: 4px; font-size: .8rem; }
footer a { color: var(--hero-soft); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 3vmin;
  background: rgba(8, 14, 24, .84); cursor: zoom-out;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 100%; background: #fff; border-radius: 8px; box-shadow: var(--shadow-lg); }

/* reveal */
.reveal { opacity: 0; transform: translateY(10px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .5s, transform .5s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- collapsible "more" blocks ---------- */
details.more { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
details.more > summary {
  list-style: none; cursor: pointer; padding: 14px 20px; font-weight: 600; font-size: .95rem;
  display: flex; align-items: center; gap: 10px; color: var(--text);
}
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before {
  content: ""; width: 8px; height: 8px; flex: 0 0 auto;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg); transition: transform .2s;
}
details.more[open] > summary::before { transform: rotate(45deg); }
details.more > summary:hover { color: var(--accent-strong); }
details.more[open] > summary { border-bottom: 1px solid var(--border); }
details.more > :not(summary) { margin: 20px; }
details.more .tbl-wrap, details.more .figure { box-shadow: none; }

/* ---------- key numbers ---------- */
.keynums { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.keynums li {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow);
  padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 2px;
}
.keynums .kv { font-size: clamp(28px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.03em; color: var(--accent-strong); font-variant-numeric: tabular-nums; line-height: 1.1; }
.keynums .kv small { font-size: .5em; font-weight: 700; letter-spacing: 0; margin-left: 2px; }
.keynums li.k-cam .kv { color: var(--cam-ink); }
.keynums li.k-lid .kv { color: var(--lid-ink); }
.keynums li.k-cam { border-top: 3px solid var(--cam); }
.keynums li.k-lid { border-top: 3px solid var(--lid); }
.keynums .kk { font-weight: 700; font-size: .95rem; }
.keynums .kc { font-size: .85rem; color: var(--text-soft); margin-top: 6px; }
.keynums .kc b { color: var(--text); font-weight: 600; }
.keynums .km { margin-top: auto; padding-top: 10px; font-size: .74rem; color: var(--text-soft); }

/* ---------- teaser video ---------- */
.teaser {
  position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; line-height: 0;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; overflow: hidden; background: #0B1626; box-shadow: var(--shadow-lg);
}
.teaser video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0B1626; }
.vp {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; background: linear-gradient(transparent, rgba(8, 14, 24, .72)); opacity: 0; transition: opacity .2s;
}
.teaser:hover .vp, .teaser:focus-within .vp, .teaser.paused .vp { opacity: 1; }
@media (hover: none) { .vp { opacity: 1; } }
.vp-btn { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.vp-btn:hover { background: rgba(255, 255, 255, .18); }
.vp-btn svg { width: 15px; height: 15px; fill: currentColor; }
.vp-btn svg[hidden] { display: none; }
.vp-seek { flex: 1 1 0; -webkit-appearance: none; appearance: none; height: 4px; margin: 0; border-radius: 999px; background: rgba(255, 255, 255, .35); cursor: pointer; }
.vp-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 0; }
.vp-seek::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 0; }
.vp-time { flex: 0 0 auto; font-size: .74rem; font-weight: 600; color: rgba(255, 255, 255, .9); font-variant-numeric: tabular-nums; line-height: 1; }

/* ---------- looping explainer clips ---------- */
.clip { position: relative; aspect-ratio: 16 / 9; background: #0B1626; border-radius: 6px; overflow: hidden; line-height: 0; }
.clip video { width: 100%; height: 100%; display: block; object-fit: cover; cursor: pointer; }
.clip-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.clip-grid .figure { height: 100%; }
details.more .clipfig { box-shadow: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .tbl-grid, .fig-pair, .clip-grid, .split { grid-template-columns: 1fr; }
  .keynums { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .theme-btn { margin-left: auto; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .teaser-band { padding-inline: 16px; }
  header.hero { padding-block: 32px 40px; }
  .figure { padding: 8px 8px 0; }
  .figure > figcaption { margin: 8px -8px 0; }
  .btn { padding: .55rem 1rem; font-size: .9rem; }
  .tldr { padding: 14px 16px; }
  table.tbl { font-size: .8rem; }
  .tbl th, .tbl td { padding: 6px 8px; }
  .tbl th:first-child, .tbl td:first-child { padding-left: 12px; }
  .tbl th:last-child, .tbl td:last-child { padding-right: 12px; }
  .tbl caption { padding: 12px 12px 8px; }
  details.more > :not(summary) { margin: 14px; }
}
@media (max-width: 420px) {
  .keynums { grid-template-columns: 1fr; }
}

/* real detection videos (media supplement): wide 3200x880 side-by-side panels */
.detvids { grid-template-columns: 1fr; }
.clip.wide { aspect-ratio: 1600 / 440; }

/* ===== plain white / black look (no navy band, no gradients) ===== */
:root {
  --navy: var(--bg); --navy-2: var(--bg);
  --hero-ink: var(--text); --hero-soft: var(--text-soft); --hero-accent: var(--accent);
  --bg: #FFFFFF; --bg-alt: #F7F7F8; --band: #F5F5F6;
}
:root[data-theme="dark"] {
  --navy: var(--bg); --navy-2: var(--bg);
  --hero-ink: var(--text); --hero-soft: var(--text-soft); --hero-accent: var(--accent);
  --bg: #111213; --bg-alt: #1B1C1E; --band: #161719;
}
header.hero { background: var(--bg); background-image: none; color: var(--text); }
.brand i { display: none; }
h1.title .name::after { background: var(--accent); }
.venue { background: var(--accent-tint, rgba(15,118,110,.1)); color: var(--accent); }
.btn { background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow); }
.btn:hover { background: var(--bg-alt); border-color: var(--accent); }
.btn .soon { color: var(--text-soft); }
.authors a { color: var(--text); border-bottom: 1px solid var(--border); }
.authors a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.affil { margin-bottom: .3rem; }
.affil-note { margin: 0 auto 1.4rem; font-size: .85rem; color: var(--text-soft); }
.tldr { background: var(--bg-alt); border: 1px solid var(--border); border-left: 3px solid var(--accent); }
.tldr .tag { background: var(--accent); color: #fff; }
.teaser-band { background: none; }
footer { background: none; color: var(--text-soft); border-top: 1px solid var(--border); }
footer a { color: var(--text-soft); }
.tldr p { color: var(--text); }
.tldr b { color: var(--text); }
.tldr .cam { color: var(--cam); }
.tldr .lid { color: var(--lid); }
.teaser { background: #fff; border-color: var(--border); }
.clip { background: var(--bg-alt); }

/* ===== readability pass ===== */
:root { --text-soft: #4A535E; --cam-ink: #A9500F; --lid-ink: #0E6A8C; }
:root[data-theme="dark"] { --text-soft: #B4BDC7; --cam-ink: #F4A766; --lid-ink: #6CC6E8; }
.tldr .cam { color: var(--cam-ink); }
.tldr .lid { color: var(--lid-ink); }
:root[data-theme="dark"] .tldr .tag { color: #0B1A18; }
.cards p, figcaption, .tbl caption { font-size: .95rem; }
.lede { font-size: 1.1rem; }

/* soft glow behind the DRUM wordmark (same treatment as the QLVSumm page) */
:root { --glow-1: rgba(15, 118, 110, .38); --glow-2: rgba(15, 118, 110, .18); }
:root[data-theme="dark"] { --glow-1: rgba(63, 191, 174, .55); --glow-2: rgba(63, 191, 174, .26); }
h1.title .name { text-shadow: 0 0 14px var(--glow-1), 0 0 38px var(--glow-2); }
