:root { color-scheme: light; --ink: #15343e; --muted: #64767a; --line: #dce4de; --paper: #f7f8f2; --green: #28776b; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #28776b; outline-offset: 5px; }
.teaser { position: relative; min-height: 445px; overflow: hidden; color: #f9fff9; }
.teaser-text-only { background: linear-gradient(120deg, #061d2c, #164e47); }
.teaser-image, .teaser-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.teaser-image { object-fit: cover; }
.teaser-shade { background: linear-gradient(90deg, #061d2cdd 0%, #061d2c55 65%, transparent), linear-gradient(0deg, #061d2c55, transparent); }
.brand { position: relative; display: flex; align-items: center; gap: 12px; padding: 28px 6%; font-size: 13px; letter-spacing: .04em; }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: #b8e98a; }
.brand-rule { height: 14px; width: 1px; background: #ffffff55; margin: 0 4px; }
.hero-copy { position: relative; padding: 42px 6% 48px; }
.eyebrow { color: #c6eaa4; font-size: 11px; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; }
h1 { margin: 14px 0; font: 500 clamp(42px, 7vw, 72px)/1.04 Georgia, serif; letter-spacing: -.04em; }
.subtitle { max-width: 540px; color: #d9e7e4; font-size: 17px; margin: 16px 0 27px; }
.authors { margin: 0 0 8px; font-size: 13px; }.authors span { padding: 0 9px; color: #a7c5bf; }
.venue { font-size: 11px; padding: 6px 12px; border: 1px solid #ffffff40; border-radius: 30px; color: #d9e7e4; }
.paper-nav { position: sticky; top: 0; z-index: 2; display: flex; gap: 28px; padding: 17px 6%; overflow-x: auto; background: #f7f8f2f5; border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.paper-nav a { text-decoration: none; white-space: nowrap; font-size: 12px; color: var(--muted); }.paper-nav a:hover { color: var(--green); }
.content { width: min(100%, 1080px); padding: 0 6%; margin: auto; }
.section { padding: 42px 0; border-bottom: 1px solid var(--line); }
.section-label { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }.section-label > span { font: 11px ui-monospace, monospace; color: var(--green); border: 1px solid #cbd9ce; border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; }
h2 { margin: 0; font: 500 31px/1.2 Georgia, serif; letter-spacing: -.025em; }
.video-description { max-width: 65ch; margin: 0 0 16px; }
.project-video { display: block; width: 100%; height: auto; margin-inline: auto;
  border-radius: 10px; background: #111317; }
.project-video + .video-description { max-width: none; margin: 14px 0 0; }
.abstract-copy { font-size: 17px; line-height: 1.8; margin: 0 0 18px; }.muted { font-size: 12px; color: var(--muted); margin: 0; }
h3 { margin: 6px 0 8px; font-size: 19px; line-height: 1.3; letter-spacing: -.025em; }
.resource-grid, .document-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.resource-card { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: #fcfdf8; text-decoration: none; transition: border-color .15s, transform .15s; }
.resource-card:hover, .document-card:hover { border-color: #70aa8f; transform: translateY(-2px); }.card-kicker { color: var(--green); font-size: 10px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.resource-card p { color: var(--muted); font-size: 13px; max-width: 90%; margin: 0 0 26px; }.resource-icon { position: absolute; top: 20px; right: 22px; color: #458a78; font-size: 24px; }
.card-action { font-size: 12px; font-weight: 600; display: flex; justify-content: space-between; }
.document-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; transition: border-color .15s, transform .15s; background: #fcfdf8; }
.document-preview { height: 230px; display: flex; align-items: center; justify-content: center; padding: 30px; background: #e7eee5; overflow: hidden; }
.poster-preview img { width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 5px 20px #173d3020; }
.paper-preview img { height: 180px; width: auto; max-width: 49%; object-fit: contain; box-shadow: 0 7px 20px #173d3028; }.paper-preview img:first-child { transform: rotate(-7deg) translateX(6px); }.paper-preview img:last-child { transform: rotate(7deg) translateX(-6px); }
.document-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 23px; }.document-caption h3 { margin: 0 0 4px; font-size: 16px; }.document-caption p { margin: 0; color: var(--muted); font-size: 11px; }.pdf-link { font: 10px ui-monospace, monospace; color: var(--green); white-space: nowrap; }
.github-card { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 27px 30px; background: #103d39; color: #eff8e8; border-radius: 10px; text-decoration: none; }.github-card .card-kicker { color: #b8e98a; }.github-card h3 { font-size: 23px; }.github-card p { margin: 0; font-size: 12px; color: #bad3c9; }.github-arrow { font-size: 30px; color: #b8e98a; }.github-card:hover { background: #164e47; }
.citation-section { border: 0; padding-bottom: 55px; }.citation-box { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fcfdf8; }.citation-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 13px 20px; background: #edf1e7; border-bottom: 1px solid var(--line); font: 11px ui-monospace, monospace; }
button { padding: 7px 11px; border: 1px solid #c3d2c4; background: #f8fbf4; border-radius: 5px; color: #245448; font: 11px system-ui, sans-serif; cursor: pointer; }button:hover { background: #e1ebd6; }
pre { margin: 0; padding: 22px; overflow-x: auto; font: 11px/1.9 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }.copy-status { min-height: 15px; margin: 0 22px 12px; font-size: 11px; color: var(--green); }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 23px 6%; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }
@media (max-width: 620px) { .teaser { min-height: 390px; }.hero-copy { padding-top: 30px; }.resource-grid, .document-grid { grid-template-columns: 1fr; }.paper-nav { gap: 22px; }.section { padding: 32px 0; }h2 { font-size: 27px; }.abstract-copy { font-size: 15px; }.document-preview { height: 230px; }footer { flex-direction: column; gap: 5px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.resource-card, .document-card { transition: none; } }

.copy-status { position: absolute; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#copy-citation { min-width: 105px; }

/* Shared paper hero and qualitative figure layout. */
    .subtitle { max-width: 960px; font-size: clamp(14px, 2vw, 17px); text-wrap: balance; }
    .results-teaser { margin: 0; padding: 36px 0 0; }
    .results-teaser img { display: block; width: 72%; max-width: 680px; height: auto; margin: 0 auto; background: transparent; mix-blend-mode: multiply; }
    .results-teaser figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); }
