/* DreamTour project page: Bulma for layout (CDN), this file for the look (modelled on 3dgofish.github.io). */
:root { --bg: #ffffff; --text: #4a4a4a; --heading: #000000; --link: rgb(54, 125, 189); --link-hover: rgb(40, 96, 145); --btn-bg: #000000; --btn-bg-hover: #222222; --shadow: rgba(0, 0, 0, 0.18); --soft: #f5f5f5; --accent: #1f497d; --accent-2: rgb(54, 125, 189); --ink: #000000; --muted: #555555; }
html { scroll-behavior: smooth; }
body { font-family: "Noto Sans", "Helvetica Neue", Arial, sans-serif; color: var(--text); background: var(--bg); }
.hero.is-light { background: var(--bg); }
.hero.is-light .hero-body { padding-top: 4rem; padding-bottom: 2.5rem; }
.title, .section .title { color: var(--heading); }
.publication-title { font-family: "Google Sans", "Noto Sans", sans-serif; font-weight: 700; color: var(--heading); line-height: 1.12; font-size: clamp(1.8rem, 5.2vw, 3.2rem); }
.publication-title .sub { display: block; font-size: 0.62em; font-weight: 600; color: var(--heading); margin-top: 0.4em; }
.publication-authors { font-family: "Google Sans", "Noto Sans", sans-serif; font-size: 1.25rem; color: var(--heading); margin-top: 1.1rem; }
.publication-authors a { color: var(--link); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-position: 0 100%; background-repeat: no-repeat; background-size: 0% 1.5px; transition: background-size .3s ease, color .2s ease; }
.publication-authors a:hover { color: var(--link-hover); background-size: 100% 1.5px; }
.author-block { display: inline-block; margin: 0 .15rem; }
.publication-affiliations { font-family: "Google Sans", "Noto Sans", sans-serif; font-size: 1.25rem; color: var(--heading); margin-top: .5rem; line-height: 1.6; }
.publication-affiliations a { color: var(--heading); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-position: 0 100%; background-repeat: no-repeat; background-size: 0% 1.5px; transition: background-size .3s ease; }
.publication-affiliations a:hover { background-size: 100% 1.5px; }
.publication-venue { color: var(--heading); font-weight: 700; font-size: 1.05rem; margin-top: 0.5rem; }
.publication-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem; margin-top: 1.4rem; }
.publication-links .button { border-radius: 999px; font-weight: 500; background: var(--btn-bg); border: none; color: #fff; padding: 0 1.3em; transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.publication-links .button:hover { background: var(--btn-bg-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px var(--shadow); }
.publication-links .button:active { transform: translateY(0); box-shadow: 0 1px 4px var(--shadow); }
.publication-links .button[aria-disabled="true"] { background: #9a9a9a; cursor: default; }
.publication-links .button[aria-disabled="true"]:hover { transform: none; box-shadow: none; }
.teaser-wide-container { max-width: 1400px; }
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 1.25rem; }
.compare-grid.single { grid-template-columns: 1fr; max-width: 1200px; margin: 0 auto; }
.compare-grid.two-by-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 1250px; margin: 0 auto; }
.video-compare-container { position: relative; width: 100%; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 4px 16px var(--shadow); }
.video-compare-container video { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.video-compare-container canvas.videoMerge { display: block; width: 100%; height: auto; cursor: ew-resize; outline: none; }
.video-compare-container canvas.videoMerge:focus-visible { box-shadow: inset 0 0 0 3px var(--link); }
.compare-caption { font-size: 1rem; color: var(--text); margin-top: 0.55rem; text-align: center; }
.compare-caption b { color: var(--heading); }
.section-note { color: var(--text); font-size: 1rem; max-width: 920px; margin: 0 auto 1.5rem auto; }
.method-figure img { width: 100%; border-radius: 10px; box-shadow: 0 4px 16px var(--shadow); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.gallery-grid figure { margin: 0; }
.gallery-grid video { width: 100%; border-radius: 10px; display: block; background: #000; box-shadow: 0 4px 16px var(--shadow); }
.gallery-grid figcaption { font-size: 0.92rem; color: var(--muted); text-align: center; margin-top: 0.35rem; }
.results-figure img { width: 100%; border-radius: 10px; box-shadow: 0 4px 16px var(--shadow); }
.bibtex pre { background: var(--soft); border: 1px solid #e3e8ef; border-radius: 10px; padding: 1rem 1.25rem; font-size: 0.9rem; white-space: pre-wrap; text-align: left; }
.footer { background: var(--soft); color: var(--muted); font-size: 0.9rem; }
.footer a { color: var(--link); }
.tag-pill { display: inline-block; background: #f0f0f0; color: var(--accent); border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.85rem; margin: 0.15rem; }
@media (max-width: 768px) { .compare-grid { grid-template-columns: 1fr; } }

/* recallworld-style section rhythm (2026-11-24) */
.section-tinted { background: var(--soft); }
.section .title.is-3 { position: relative; padding-bottom: 0.55rem; }
.section .title.is-3::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 56px; height: 3px; border-radius: 2px; background: var(--accent); }
.section-lead { font-weight: 700; font-size: 1.08rem; color: var(--heading); max-width: 920px; margin: -0.4rem auto 0.9rem auto; text-align: center; }
#onehook table th.bench-label { padding-bottom: 6px; }
#onehook td .bench-label, #onehook td b { color: var(--heading); }
/* pipeline + results (2026-11-24) */
.pipeline-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: start; }
.pipeline-row figure { margin: 0; }
.pipeline-row img, .pipeline-row video { width: 100%; border-radius: 8px; display: block; background: #000; box-shadow: 0 3px 10px var(--shadow); }
.pipeline-row figcaption { margin-top: 4px; }
@media (max-width: 860px) { .pipeline-row { grid-template-columns: repeat(2, 1fr); } }
.results-tabs { margin: 0.6rem 0 1rem; }
.results-tabs .button { border-radius: 999px; margin: 0 0.25rem; }
.results-tabs .button.is-active { background: var(--accent); color: #fff; }
.results-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 10px var(--shadow); }
.results-table th, .results-table td { padding: 6px 8px; border-bottom: 1px solid #edf0f4; text-align: center; }
.results-table td:first-child, .results-table th:first-child { text-align: left; }
.results-table thead th { background: var(--soft); color: var(--heading); }
.results-table tr.ours-row { background: #edf0f5; }
.results-table tr.ours-row td:first-child { color: var(--accent); }
/* pipeline cards (2026-11-24) */
.pipeline-card { background: #fff; border-radius: 14px; padding: 16px 16px 12px; margin: 1.1rem auto; box-shadow: 0 4px 18px var(--shadow); }
.pipeline-card .pipeline-title { display: flex; justify-content: center; align-items: baseline; gap: 0.6rem; margin-bottom: 0.7rem; }
.pipeline-card .pipeline-title h3 { margin: 0; }
.pipeline-pill { display: inline-block; background: var(--accent); color: #fff; border-radius: 999px; padding: 0.1rem 0.75rem; font-size: 0.82rem; font-weight: 600; }
.pipeline-row figure { position: relative; }
.pipeline-step { position: absolute; top: 8px; left: 8px; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 0.78rem; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px var(--shadow); }
.pipeline-row figure:not(:last-child)::after { content: "\203A"; position: absolute; right: -11px; top: 42%; font-size: 1.5rem; color: var(--accent); font-weight: 700; z-index: 2; }
.pipeline-row img, .pipeline-row video { transition: transform .25s ease; }
.pipeline-card:hover .pipeline-row img, .pipeline-card:hover .pipeline-row video { transform: translateY(-2px); }
@media (max-width: 860px) { .pipeline-row figure:not(:last-child)::after { display: none; } }

/* steering-strength slider (pipeline cards) */
.strength-stack{position:relative;aspect-ratio:1280/704;border-radius:6px;overflow:hidden;background:#000}
.strength-stack video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .18s ease}
.strength-stack video.active{opacity:1}
.strength-slider{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0.6rem;margin-top:0.85rem;border-top:1px solid #e8edf3;padding-top:0.85rem;font-size:0.85rem;color:#555}
.strength-slider input[type=range]{width:min(320px,45%);accent-color:#3273dc;cursor:pointer}
.strength-slider .ss-end{color:#999;font-size:0.8rem}
.strength-slider .ss-val{font-weight:700;color:#3273dc;min-width:2.2em;text-align:left}
.ss-pending{display:none;position:absolute;inset:0;align-items:center;justify-content:center;background:rgba(10,14,20,0.55);color:#fff;font-size:0.85rem;letter-spacing:0.03em;z-index:2}
