/* CATCH project page. Structure follows the Nerfies project page template (CC BY-SA 4.0);
   styles are self-contained (no framework, no CDN) so the file:// copy looks the same.

   Art direction: a quiet paper page on which the Blender renders sit as exhibits. Render
   videos have a white background, so they are drawn with mix-blend-mode: multiply and
   dissolve into the paper instead of sitting in white boxes; the camera footage keeps a
   frame. Castoro (display serif) carries titles and numbers, Noto Sans the text. The only
   colours are the two hand colours of the renders (blue = left, pink = right). */
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/notosans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Castoro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/castoro-latin.woff2") format("woff2");
}

:root {
  /* Type scale: display (wordmark) / h2 (section) / h3 (item titles, clip titles) / body / small. */
  --fs-h3: 1.35rem;
  --paper: #f7f5f0;
  --paper-2: #efece5;
  --ink: #1b1f27;
  --ink-2: #474c56;
  --ink-3: #5f636b;
  --line: #dcd8cf;
  --line-2: #e8e4dc;
  --card: #fbfaf7;
  /* Hand colours of the renders (blue / pink); CATCH accent = the blue hand. */
  --blue: #3a7fbf;
  --link: #2c6aa6;
  /* Small text in the accent colour (section numbers, labels): AA on paper and band. */
  --blue-ink: #2a649c;
  --blue-soft: #a9c8e4;
  --pink: #d06b97;
  --bar-other: #b9b6ae;
  --serif: "Castoro", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans", system-ui, sans-serif;
  --nav-h: 56px;
  --bg: var(--paper);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
sup { font-size: .7em; line-height: 0; }
::selection { background: rgba(58, 127, 191, .18); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.xwide { max-width: 1480px; }
.wrap.narrow, .narrow-inner { max-width: 780px; margin-left: auto; margin-right: auto; }
.narrow-inner { padding: 0; }

/* Top navigation: transparent over the hero, paper with a hairline once scrolled. */
.topnav { position: sticky; top: 0; z-index: 20; height: var(--nav-h); background: transparent;
  border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease; }
.topnav.is-scrolled { background: rgba(247, 245, 240, .9); border-bottom-color: var(--line);
  backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); }
.topnav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; max-width: 1480px; }
.topnav-brand { font-family: var(--serif); font-size: 1.2rem; letter-spacing: .14em; color: var(--ink); }
.topnav-brand:hover { text-decoration: none; }
.topnav-links { display: flex; gap: 1.6rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  overflow-x: auto; scrollbar-width: none; }
.topnav-links::-webkit-scrollbar { display: none; }
.topnav-links a { color: var(--ink-2); white-space: nowrap; }
.topnav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-toggle { display: none; padding: .3rem .9rem; border: 1px solid var(--ink); border-radius: 999px; background: transparent;
  color: var(--ink); font: inherit; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.topnav.is-open .nav-toggle { background: var(--ink); color: var(--paper); }

/* Hero: title on the left, the 3D reconstruction filling the right; input video as an inset. */
.hero { margin-top: calc(-1 * var(--nav-h)); padding: calc(var(--nav-h) + 1rem) 0 2rem; }
.hero-grid { display: grid; grid-template-columns: minmax(340px, 4fr) 8fr; align-items: start; gap: 3rem;
  max-width: 1480px; margin: 0 auto; padding: 0 24px; }
.hero-copy { align-self: center; }
.hero-copy { position: relative; z-index: 1; }
.hero-title { margin: 0; font-weight: 400; }
.wordmark { display: block; font-family: var(--serif); font-size: clamp(4.2rem, 8.4vw, 7.6rem); line-height: .86;
  letter-spacing: .04em; margin-left: -.04em; color: var(--ink); }
.wordmark::after { content: ""; display: block; width: 88px; height: 3px; margin: 1.3rem 0 0;
  background: linear-gradient(90deg, var(--blue) 50%, var(--pink) 50%); }
.hero-subtitle { display: block; margin: 1.3rem 0 0; max-width: 30ch; font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.25; color: var(--ink); }
/* Acronym letters: full ink against a grey subtitle; no underline (it read as a link) and no hand colours. */
.hero-subtitle { color: var(--ink-3); }
.ac { font-weight: 400; color: var(--ink); }
.authors { margin: 1.5rem 0 0; font-size: 1rem; color: var(--ink); }
.affiliations { margin: 0; font-size: .9rem; color: var(--ink-3); }
.tldr { margin: 1.4rem 0 0; max-width: 46ch; font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
.tldr b { color: var(--ink); }
.tldr-tag { display: inline-block; margin-right: .45rem; font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  color: var(--blue-ink); vertical-align: .1em; }
.links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; }
.hand-key { display: inline-flex; align-items: center; gap: .35rem; margin-left: .9rem; letter-spacing: .06em; color: var(--ink-3); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.dot-l { background: var(--blue); }
.dot-r { background: var(--pink); margin-left: .5rem; }

.btn { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1.05rem; border-radius: 999px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: inherit; font-size: .88rem; cursor: pointer;
  transition: background .15s ease, color .15s ease; }
.btn:hover { text-decoration: none; background: transparent; color: var(--ink); }
.btn svg { width: 1em; height: 1em; fill: currentColor; }
.btn-small { padding: .28rem .85rem; font-size: .8rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

.hero-media { min-width: 0; }
.hero-media .player-note { font-size: .74rem; }
.hero-media .stage { overflow: visible; }
/* Hero 3D view: the top of the frame (ceiling rig) is trimmed and faded into the paper (a mask would
   isolate the video and break the multiply blend) so the table is the centre. */
.video-stack.is-cropped { overflow: hidden; }
.video-stack.is-cropped::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16%; pointer-events: none;
  background: linear-gradient(var(--paper), rgba(247, 245, 240, 0)); }
.video-stack.is-cropped video { object-fit: cover; object-position: 50% 100%; }
.hero-media .panel--render .panel-label { z-index: 1; top: 2px; left: auto; right: 0; }

/* Inset layout (hero): the input video is a small framed print over the render's corner. */
.panel-grid.inset { position: relative; }
.panel.is-inset { position: absolute; z-index: 2; left: 0; top: 4%; width: 22%; }
.panel.is-inset .video-stack { box-shadow: 0 1px 2px rgba(27, 31, 39, .12), 0 14px 32px rgba(27, 31, 39, .16);
  outline: 6px solid var(--paper); }

.overview-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 3.5rem; align-items: start; margin-bottom: 4.5rem; }
.refine-block { margin: 0; }
.refine-title { margin: 0 0 .8rem; font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.25; }

/* Sections */
.block { padding: 6.5rem 0; }
.block.band { --bg: var(--paper-2); background: var(--bg); }
.sec-head { display: flex; align-items: baseline; gap: 1.1rem; margin: 0 0 2.4rem; padding-bottom: .9rem;
  border-bottom: 1px solid var(--line); }
.sec-num { font-family: var(--serif); font-size: 1rem; color: var(--blue-ink); letter-spacing: .06em;
  font-variant-numeric: lining-nums tabular-nums; }
.h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1;
  letter-spacing: -.005em; }
.h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); }

.highlights { display: grid; gap: 2.2rem; }
.hl { padding-top: 1.1rem; border-top: 2px solid var(--ink); }
.hl-num { font-family: var(--serif); font-size: 1.1rem; color: var(--ink-3); }
.hl h3 { margin: .35rem 0 .5rem; font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); line-height: 1.2; }
.hl p { margin: 0; font-size: .95rem; color: var(--ink-2); }

.abstract { margin: 1rem 0 0; font-size: 1.04rem; line-height: 1.75; text-align: justify; hyphens: auto; color: var(--ink-2); }
.abstract::first-letter { float: left; margin: .32rem .55rem 0 0; font-family: var(--serif); font-size: 3.9rem; line-height: .8;
  color: var(--ink); }
.abstract-box > .h3 { display: flex; align-items: center; gap: .8rem; }
.abstract-box > .h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.figure { margin: 0; }
.figure img { display: block; width: 100%; height: auto; border-radius: 2px; background: #fff; mix-blend-mode: multiply; }
.figure figcaption { max-width: 860px; margin: 1.2rem auto 0; font-size: .88rem; color: var(--ink-2); }

/* Results at a glance: one large number per benchmark, then the comparison as thin bars. */
.results-cond { max-width: 760px; margin: -1rem 0 2.2rem; font-size: .92rem; color: var(--ink-2); }
.glance { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); }
.glance-card { margin: 0; padding: 1.6rem 1.8rem 1.4rem; }
.glance-card + .glance-card { border-left: 1px solid var(--line); }
.glance-card figcaption { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.glance-card figcaption b { color: var(--ink); font-weight: 700; }
.glance-card figcaption span { margin-left: .3rem; color: var(--ink-3); letter-spacing: .04em; text-transform: none; font-size: .8rem; }
.glance-big { display: flex; flex-direction: column; margin: .7rem 0 1.2rem; }
.glance-num { font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; color: var(--blue);
  font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.01em; }
.glance-of { margin-top: .35rem; font-size: .78rem; color: var(--ink-3); }
.bars { display: grid; gap: .5rem; }
.bar { display: grid; grid-template-columns: 7.4rem 1fr 2.6rem; align-items: center; gap: .6rem; font-size: .82rem; }
.bar-name { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { position: relative; height: 8px; }
.bar-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-2); }
.bar-track i { position: relative; display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: 0 2px 2px 0;
  background: var(--bar-other); transform-origin: left; }
.bar-val { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.bar.ours .bar-name, .bar.ours .bar-val { color: var(--ink); font-weight: 700; }
.bar.ours .bar-track i { background: var(--blue); }
.bar.ours-prior .bar-track i { background: var(--blue-soft); }
.bar.reported .bar-track i { background: transparent; border: 1.25px solid #8f8c84; }
.swatch-reported { display: inline-block; width: 14px; height: 8px; margin-right: .3rem; border: 1.25px solid #8f8c84;
  border-radius: 0 2px 2px 0; vertical-align: .05em; }
.bar.ref .bar-track i { background: repeating-linear-gradient(135deg, #cfcbc2 0 3px, transparent 3px 6px); }
.glance-legend { margin: 1rem 0 0; font-size: .74rem; line-height: 1.5; color: var(--ink-3); }
.fineprint { margin: .9rem 0 0; font-size: .8rem; line-height: 1.5; color: var(--ink-3); text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Bars grow once their block is revealed (or at load when the block was never hidden). */
.glance.is-in .bar-track i { animation: grow 1.1s var(--ease) both; }
.glance .bar:nth-child(2) .bar-track i { animation-delay: .06s; }
.glance .bar:nth-child(3) .bar-track i { animation-delay: .12s; }
.glance .bar:nth-child(4) .bar-track i { animation-delay: .18s; }
.glance .bar:nth-child(5) .bar-track i { animation-delay: .24s; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Frieze: a full-bleed row of still frames (CATCH 3D view, HOT3D) that open their clip below.
   No opacity, filter or reveal on it: any of them would isolate the images and break the multiply blend. */
.frieze { display: grid; grid-template-columns: repeat(6, 1fr); column-gap: 14px; max-width: 1480px; margin: 0 auto 3.5rem; padding: 0 24px; }
.still { display: block; overflow: hidden; color: var(--ink-3); }
.still:hover { text-decoration: none; color: var(--ink); }
/* Each still is the poster at 1.8x, offset (inline left/top) so the hands fill a square frame. */
.still-frame { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.still img { position: absolute; width: 180%; max-width: none; height: auto; mix-blend-mode: multiply; background: #fff;
  transition: transform .5s var(--ease); }
.still:hover img { transform: scale(1.04); }
.still-label { display: block; margin: .5rem .2rem 0; padding-top: .4rem; border-top: 1px solid var(--line); font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase; }
.still:hover .still-label { border-top-color: var(--ink); }

/* Results clips are laid out in one open list. */
.explorer { margin-top: 4.5rem; }
.blurb { width: var(--stage-w, 100%); max-width: 100%; margin: 0 auto 1.2rem; font-size: .95rem; color: var(--ink-2); }

/* Player: one clip, as one composite video or as panel videos in a grid.
   --stage-w (set by index.js) keeps the stage within the player's viewport-height cap. */
.player { margin: 0 auto; }
[data-section] > .player + .player, .tab-panel > .player + .player {
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.player[id^="clip-"] { scroll-margin-top: calc(var(--nav-h) + 24px); }
.section-note { width: 100%; margin-top: 1.5rem; }
.stage { position: relative; width: var(--stage-w, 100%); margin: 0 auto; overflow: hidden; background: transparent; cursor: pointer; }
.panel-grid { display: grid; gap: 0; }
.panel-grid.multi:not(.inset) { gap: 14px; }
.panel { position: relative; min-width: 0; }
.video-stack { position: relative; width: 100%; aspect-ratio: var(--ar, 1.333); background: #fff; }
.panel[style*="span 2"] .video-stack { height: 100%; aspect-ratio: auto; }
.video-stack video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
/* Renders dissolve into the paper (their background is white); camera footage stays a framed print. */
.panel--render .video-stack, .panel--render .video-stack video { background: transparent; }
.panel--render .video-stack video { mix-blend-mode: multiply; }
.panel--input .video-stack, .panel--input .video-stack video { background: transparent; }
.video-stack video.hand-off { visibility: hidden; }
.video-stack.show-off video.hand-off { visibility: visible; }
.video-stack.show-off video.hand-on { visibility: hidden; }
.stage.placeholder { outline: 2px dashed #f0a500; outline-offset: -2px; }
.panel-label { position: absolute; top: 8px; left: 8px; font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2); pointer-events: none; }
.panel--input .panel-label { top: 6px; left: 6px; padding: .05rem .45rem; color: #fff; background: rgba(27, 31, 39, .55);
  border-radius: 2px; }
.panel.is-inset .panel-label { top: auto; bottom: 6px; }
/* Comparison: CATCH is the panel to look at. */
.panel--key-catch .panel-label { color: var(--blue-ink); }
.panel--key-catch::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 2px; background: var(--blue); }

.stage-toolbar { display: flex; gap: .5rem 1.2rem; flex-wrap: wrap; align-items: center; width: var(--stage-w, 100%);
  margin: 0 auto .9rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); }
.stage-title { flex: 1 1 auto; margin: 0; font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.25; color: var(--ink); }
.stage-id { margin-left: .7rem; font-family: var(--sans); font-size: .72rem; letter-spacing: .06em; color: var(--ink-3); }
.control-group { display: inline-flex; align-items: center; gap: .45rem; }
.control-label { font-size: .68rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; }
.seg { display: inline-flex; padding: 2px; border-radius: 999px; border: 1px solid var(--line); }
.seg button { padding: .14rem .7rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2);
  font: inherit; font-size: .78rem; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg button:disabled { opacity: .4; cursor: default; }
.pause-btn { padding: .16rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: transparent;
  color: var(--ink-2); font: inherit; font-size: .78rem; cursor: pointer; }
.pause-btn:hover { color: var(--ink); border-color: var(--ink); }
.stage:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.play-btn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border: 0;
  border-radius: 50%; background: rgba(27, 31, 39, .78); color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 3; }
.play-btn svg { width: 28px; height: 28px; fill: currentColor; margin-left: 3px; }
.play-btn[hidden] { display: none; }

.contact { width: var(--stage-w, 100%); margin: .8rem auto 0; }
.contact[hidden] { display: none; }
.contact-title { margin: 0 0 .35rem; font-size: .72rem; color: var(--ink-3); }
.contact-tracks { --name-w: 6.2rem; position: relative; display: grid; gap: 3px; }
.contact-row { display: grid; grid-template-columns: var(--name-w) 1fr; align-items: center; }
.contact-row[hidden] { display: none; }
.contact-name { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; color: var(--ink-2); }
.contact-dot { width: 8px; height: 8px; border-radius: 50%; }
.contact-canvas { width: 100%; height: 8px; border-radius: 1px; display: block; mix-blend-mode: multiply; }
.contact-row.is-gt { margin-top: -1px; margin-bottom: 3px; }
.contact-row.is-gt .contact-name { padding-left: 1.05rem; font-size: .68rem; color: var(--ink-3); }
.contact-row.is-gt .contact-dot { display: none; }
.contact-row.is-gt .contact-canvas { height: 4px; }
.contact-head { position: absolute; top: -3px; bottom: -3px; width: 1.5px; margin-left: -.75px; background: var(--ink); }


.player-bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 1rem; width: var(--stage-w, 100%); margin: .8rem auto 0; }
.player-caption { margin: 0; flex: 1 1 320px; font-size: .95rem; color: var(--ink); }
.control-note { font-size: .8rem; color: var(--ink-3); }
.player-note { width: var(--stage-w, 100%); margin: .3rem auto 0; font-size: .78rem; color: var(--ink-3); }
.player-note[hidden] { display: none; }

.paper-figure { width: min(100%, 980px); margin: 1.6rem auto 0; }
.paper-figure .figure { margin-top: 0; }
.paper-figure .figure.narrow img { max-width: 560px; margin: 0 auto; }

/* Limitations: two numbered items, each next to its own evidence. */
.limits { display: grid; gap: 3rem; margin: 0; padding: 0; list-style: none; }
.limit { display: grid; grid-template-columns: 3fr 9fr; gap: 0 3rem; padding-top: 1rem; border-top: 1px solid var(--ink); }
.limit-body { min-width: 0; margin: 0; color: var(--ink-2); }
p.limit-body { max-width: 68ch; font-size: 1.04rem; line-height: 1.7; }
.limit-num { font-family: var(--serif); font-size: 1.1rem; color: var(--ink-3); }
.limit-title { margin: .35rem 0 0; font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); line-height: 1.2; }

/* BibTeX + footer */
.bibtex-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1rem; }
pre.bibtex { margin: 0; padding: 1.2rem 1.4rem; border-left: 2px solid var(--ink); background: var(--card);
  font-size: .82rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.footer { padding: 2.5rem 0 3rem; text-align: center; font-size: .78rem; color: var(--ink-3); }
.footer a { color: var(--ink-2); text-decoration: underline; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Scroll reveal (armed by index.js on the first scroll, only for blocks below the fold). */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-subtitle { max-width: 36ch; }
  /* Narrow screens: title, then the 3D view, then the text and links. */
  .hero-copy { display: contents; }
  .hero-title, .authors, .affiliations { order: 0; }
  .hero-media { order: 1; margin: 1.4rem 0 .4rem; }
  .tldr, .links { order: 2; }
  .hero-notes { order: 3; margin-top: 1.6rem; }
  .overview-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .limit { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 900px) {
  .highlights, .glance { grid-template-columns: 1fr; }
  .highlights { gap: 1.8rem; margin-bottom: 3rem; }
  .glance-card + .glance-card { border-left: 0; border-top: 1px solid var(--line); }
  .frieze { grid-template-columns: repeat(3, 1fr); row-gap: 1.2rem; }
}
@media (max-width: 600px) {
  .wrap, .hero-grid { padding: 0 16px; }
  .hero { padding-top: calc(var(--nav-h) + 1.2rem); }
  .wordmark { font-size: 3.9rem; }
  .wordmark::after { margin-top: .9rem; }
  .hero-subtitle { margin-top: .9rem; }
  .authors { margin-top: .9rem; }
  .hero-subtitle { font-size: 1.25rem; }
  .block { padding: 4rem 0; }
  .sec-head { margin-bottom: 1.6rem; }
  .h2 { font-size: 1.85rem; }
  .topnav-links { gap: 1rem; font-size: .7rem; }
  .panel-label { top: 4px; left: 4px; font-size: .6rem; }
  .panel-grid.multi:not(.inset) { gap: 6px; }
  .panel-grid.multi:not(.inset) .video-stack { max-height: 38vh; }
  .panel.is-inset { position: relative; top: 0; width: 28%; margin: 0 0 .3rem; }
  .panel.is-inset .video-stack { outline-width: 3px; }
  .abstract { text-align: left; font-size: 1rem; }
  .bar { grid-template-columns: 6.8rem 1fr 2.4rem; }
  .glance-card { padding: 1.4rem .2rem 1.2rem; }
  .nav-toggle { display: inline-block; }
  .topnav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0;
    padding: .4rem 16px .8rem; background: var(--paper); border-bottom: 1px solid var(--line); font-size: .8rem; }
  .topnav.is-open { background: var(--paper); border-bottom-color: var(--line); }
  .topnav.is-open .topnav-links { display: flex; }
  .topnav-links a { padding: .6rem 0; border-top: 1px solid var(--line-2); }
  .links { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .links .btn { justify-content: center; padding: .5rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .topnav, .still img { transition: none; }
  .still:hover img { transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .glance .bar-track i { animation: none !important; }
}
