/* DM Sans (SIL OFL 1.1, assets/fonts) stands in where Futura / Avenir Next are not installed. */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/dm-0.woff2) format("woff2"); }
/* W2 · Daylight — V11's composition in daylight: high-key desaturated wall, white veil, frosted glass, signal orange. */
:root {
  --bg: #f6f5f1;
  --bg2: #ffffff;
  --bg3: #efede7;
  --line: rgba(21, 24, 28, 0.08);
  --line2: rgba(21, 24, 28, 0.14);
  --ink: #15181c;
  --ink2: #4c525a;
  --ink3: #858a91;
  --acc: #e85d2a;
  --acc2: #c44a1c;
  --acc-rgb: 232, 93, 42;
  --on-acc: #ffffff;
  --ice: #3f6fb5;
  --ok: #1f9d63;
  --ok-ink: #ffffff;
  --wash: rgba(21, 24, 28, .035);
  --wash2: rgba(21, 24, 28, .06);
  --wash3: rgba(21, 24, 28, .09);
  --wash4: rgba(21, 24, 28, .18);
  --wash5: rgba(21, 24, 28, .5);
  --nav-bg: rgba(246, 245, 241, .82);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .48));
  --glass-border: rgba(255, 255, 255, .8);
  --glass-shadow: 0 40px 100px rgba(40, 36, 24, .16), 0 2px 0 rgba(255, 255, 255, .6) inset;
  --chip-bg: rgba(255, 255, 255, .78);
  --badge-bg: rgba(255, 255, 255, .9);
  --badge-ink: #15181c;
  --code-bg: #1b1e22;
  --code-ink: #e7e8e6;
  --cite-bg: #efede7;
  --cite-ink: #2b2f34;
  --marker: #15181c;
  --grey-dot: #a2a7ad;
  --neg: #9a8d88;
  --spot-bg: rgba(255, 255, 255, .95);
  --display: "Futura", "Avenir Next", "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --sans: "Avenir Next", "DM Sans", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --mono: "Menlo", "SFMono-Regular", "PT Mono", Consolas, ui-monospace, monospace;
  --wrap: 1180px;
  --r: 16px;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--sans); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video, canvas, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
.mono { font-family: var(--mono); }
sup { font-size: 0.62em; line-height: 0; }

/* ------------------------------------------------------------------ top nav */
.topnav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 max(24px, calc((100% - var(--wrap)) / 2));
  background: var(--nav-bg); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%); transition: transform .35s ease;
}
.topnav.is-shown { transform: none; }
.topnav .brand { font: 700 18px/1 var(--display); letter-spacing: .12em; text-decoration: none; }
.topnav .brand span { color: var(--acc); }
.topnav nav { display: flex; gap: 22px; font-size: 14px; color: var(--ink2); }
.topnav nav a { text-decoration: none; }
.topnav nav a:hover, .topnav nav a.is-active { color: var(--ink); }
.topnav nav a.is-active { box-shadow: inset 0 -2px 0 var(--acc); padding-bottom: 4px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: max(720px, 100svh); overflow: hidden; display: grid; place-items: center; isolation: isolate; background: var(--bg); }
.hero .wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -4; }
.hero .tint { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; mix-blend-mode: color; pointer-events: none; }
.hero .strips { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero .veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 44% at 50% 48%, rgba(9, 16, 29, .5) 0%, rgba(9, 16, 29, .18) 66%, rgba(9, 16, 29, 0) 100%),
    linear-gradient(180deg, rgba(9, 16, 29, .55) 0%, rgba(9, 16, 29, 0) 16%, rgba(9, 16, 29, 0) 72%, var(--bg) 100%);
}
.hero-card {
  position: relative; width: min(720px, calc(100% - 40px)); padding: 36px 44px 32px; text-align: center;
  background: var(--glass);
  border: 1px solid var(--glass-border); border-radius: 26px;
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: var(--glass-shadow);
}
.kicker { font: 600 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--acc); }
.wordmark { margin: 16px 0 8px; font: 700 clamp(72px, 10.5vw, 128px)/.9 var(--display); letter-spacing: .08em; padding-left: .08em; }
.wordmark .dot { color: var(--acc); font-size: .62em; margin-left: .02em; }
.fulltitle { margin: 0 auto; max-width: 600px; font: 500 clamp(18px, 1.9vw, 22px)/1.35 var(--sans); color: var(--ink); letter-spacing: -.005em; }
.authors { margin: 20px auto 6px; display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 14px; font-size: 15px; color: var(--ink); }
.affs { display: flex; justify-content: center; gap: 18px; font-size: 13px; color: var(--ink2); }
.affs sup, .authors sup { color: var(--acc2); margin-left: 1px; }
.links { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--line2); background: var(--wash); color: var(--ink); text-decoration: none;
  font-size: 14px; font-weight: 500; transition: background .2s, border-color .2s, transform .2s; cursor: pointer;
}
.btn:hover { background: var(--wash3); border-color: var(--wash4); transform: translateY(-1px); }
.btn svg, .btn img { width: 16px; height: 16px; fill: currentColor; }
.btn.primary { background: var(--acc); border-color: var(--acc); color: var(--on-acc); font-weight: 600; }
.btn.primary:hover { background: var(--acc2); border-color: var(--acc2); }
.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px;
  padding: 0 max(24px, calc((100% - var(--wrap)) / 2)); font-size: 13px; color: var(--ink2); pointer-events: none;
}
.hero-foot p { margin: 0; max-width: 560px; text-shadow: 0 1px 12px rgba(3, 7, 15, .85); }
.hero-foot p b { color: var(--ink); font-weight: 600; }
.hero-foot .ctrl { display: flex; gap: 8px; pointer-events: auto; }
.chip {
  height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line2); background: var(--chip-bg);
  color: var(--ink2); font: 500 12.5px/1 var(--sans); cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { color: var(--ink); border-color: var(--wash4); }
.chip[aria-pressed="true"], .chip.is-on { color: var(--on-acc); background: var(--acc); border-color: var(--acc); }
.scroll-cue { position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%); width: 1px; height: 46px; background: linear-gradient(var(--acc), transparent); opacity: .7; }

/* spotlight caption with the live chunk sparkline */
.spot {
  position: absolute; z-index: 2; pointer-events: none; width: 214px; padding: 9px 11px 10px; border-radius: 12px;
  background: var(--spot-bg); border: 1px solid rgba(var(--acc-rgb), .5); box-shadow: 0 14px 34px rgba(2, 6, 14, .5);
  font-size: 12.5px; line-height: 1.3; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s;
}
.spot.is-on { opacity: 1; transform: none; }
.spot b { display: block; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot .q { display: block; margin-top: 1px; font-family: var(--mono); font-size: 11.5px; color: var(--acc2); }
.spot svg { display: block; width: 192px; height: 44px; margin-top: 7px; overflow: visible; }
.spot .ex { fill: rgba(var(--acc-rgb), .10); }
.spot .base { stroke: var(--line2); }
.spot .other { fill: none; stroke: var(--ice); stroke-width: 1.2; opacity: .6; }
.spot .trig { fill: none; stroke: var(--acc); stroke-width: 2; }
.spot .cut { stroke: var(--acc); stroke-width: 1.2; stroke-dasharray: 2 2; }
.spot .dot { fill: var(--ink); }
.spot .note { display: block; margin-top: 5px; font: 500 10.5px/1.35 var(--mono); color: var(--ink3); }

/* ------------------------------------------------------------------ sections */
section { position: relative; padding: 120px 0; }
section + section { border-top: 1px solid var(--line); }
.layer { background: linear-gradient(180deg, var(--bg3), var(--bg) 85%); }
.sec-head { display: grid; grid-template-columns: 220px 1fr; gap: 32px; margin-bottom: 52px; align-items: start; }
.sec-head .kicker { padding-top: 14px; }
.sec-head h2 { margin: 0; font: 600 clamp(34px, 4.6vw, 56px)/1.04 var(--display); letter-spacing: -.01em; }
.sec-head p { grid-column: 2; margin: 18px 0 0; max-width: 720px; color: var(--ink2); font-size: 18.5px; }
.lede { font-size: 19px; color: var(--ink2); }
.note { font-size: 13.5px; color: var(--ink3); }
.note b { color: var(--ink2); font-weight: 500; }
.panel { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); }

/* film */
.theatre { background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(90, 140, 255, .09), transparent 70%), var(--bg); }
.screen { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line2); box-shadow: 0 50px 140px rgba(2, 6, 14, .6); background: #000; }
.screen video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.chapters { margin-top: 18px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.chapter {
  text-align: left; padding: 10px 12px 11px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg2);
  cursor: pointer; display: grid; gap: 3px; transition: border-color .2s, background .2s;
}
.chapter b { font: 500 11.5px/1 var(--mono); color: var(--ink3); }
.chapter span { font-size: 13.5px; line-height: 1.3; color: var(--ink2); }
.chapter:hover { border-color: var(--line2); }
.chapter.is-active { border-color: rgba(var(--acc-rgb), .6); background: linear-gradient(180deg, rgba(var(--acc-rgb), .1), rgba(var(--acc-rgb), .02)); }
.chapter.is-active b { color: var(--acc); }
.chapter.is-active span { color: var(--ink); }
.film-meta { margin-top: 16px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* tl;dr */
.tldr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 64px; }
.tldr > div { background: var(--bg); padding: 28px 28px 30px; }
.tldr .num { font: 600 44px/1 var(--display); letter-spacing: -.01em; }
.tldr .num small { font-size: .45em; color: var(--ink3); margin-left: 6px; letter-spacing: 0; }
.tldr .num em { font-style: normal; color: var(--acc); }
.tldr p { margin: 12px 0 0; font-size: 15px; color: var(--ink2); }

/* method */
.rule { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 48px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: s; }
.steps li { position: relative; padding-left: 48px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 2px; font: 600 13px/1 var(--mono); color: var(--acc); border: 1px solid rgba(var(--acc-rgb), .45); border-radius: 8px; padding: 6px 6px; }
.steps b { display: block; font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.steps span { color: var(--ink2); font-size: 15.5px; }
.eq { margin-top: 30px; padding: 18px 20px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); font: 400 14.5px/1.9 var(--mono); color: var(--ink2); }
.eq i { font-family: "Iowan Old Style", "Palatino", Georgia, serif; font-size: 16.5px; color: var(--ink); }
.eq .c { color: var(--ink3); }

.replay { padding: 18px; }
.replay-top { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 18px; }
.replay-video { position: relative; border-radius: 10px; overflow: hidden; background: #000; aspect-ratio: 4 / 3; }
.replay-video video { width: 100%; height: 100%; object-fit: cover; }
.replay-video .badge { position: absolute; left: 8px; top: 8px; font: 500 11px/1 var(--mono); padding: 5px 7px; border-radius: 6px; background: var(--badge-bg); color: var(--badge-ink); }
.replay-video .badge.right { left: auto; right: 8px; color: var(--acc2); }
.readout { display: grid; align-content: start; gap: 10px; }
.readout .h { font: 600 64px/1 var(--display); letter-spacing: -.01em; }
.readout .h small { font: 500 14px/1 var(--sans); color: var(--ink3); margin-left: 8px; letter-spacing: 0; }
.readout .why { font-size: 14.5px; color: var(--ink2); line-height: 1.5; min-height: 66px; }
.readout .why b { color: var(--ink); font-weight: 600; }
.readout .why .em { color: var(--acc2); }
.readout .why > span { display: block; }
.readout .why .why-main { font-size: 16px; line-height: 1.45; color: var(--ink2); }
.readout .why .why-arms { margin-top: 6px; font: 500 12.5px/1.5 var(--mono); color: var(--ink2); }
.readout .why .why-detail { margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--ink3); }
.qchips { display: flex; flex-wrap: wrap; gap: 6px; }
.qchips .chip { height: 30px; }
.chart { margin-top: 16px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .lane-label { font: 500 11px var(--mono); fill: var(--ink3); }
.chart .axis { stroke: var(--line2); }
.chart .tick { font: 400 10.5px var(--mono); fill: var(--ink3); }
.cells { display: grid; grid-template-columns: repeat(50, 1fr); gap: 2px; margin-top: 10px; }
.cells i { height: 12px; border-radius: 2px; background: var(--wash2); transition: background .25s; }
.cells i.on { background: var(--acc); }
.cells i.sel { background: rgba(var(--acc-rgb), .28); }
.cells i.cut { background: var(--wash2); background-image: repeating-linear-gradient(135deg, var(--wash3) 0 2px, transparent 2px 5px); }
.cells-legend { display: flex; justify-content: space-between; margin-top: 8px; font: 500 11.5px/1 var(--mono); color: var(--ink3); }
.timeline { margin-top: 18px; }
.timeline .bar { position: relative; height: 34px; border-radius: 9px; background: var(--wash); border: 1px solid var(--line); cursor: pointer; overflow: hidden; }
.timeline .seg { position: absolute; top: 0; bottom: 0; border-right: 1px solid var(--bg); display: flex; align-items: center; justify-content: center; font: 500 11.5px/1 var(--mono); color: var(--ink2); background: var(--wash2); transition: background .2s, color .2s; }
.timeline .seg.is-on { background: rgba(var(--acc-rgb), .16); color: var(--acc2); }
.timeline .head { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--acc); box-shadow: 0 0 10px var(--acc); pointer-events: none; }
.timeline .scale { display: flex; justify-content: space-between; margin-top: 6px; font: 500 11px/1 var(--mono); color: var(--ink3); }
.replay-ctrl { display: flex; gap: 8px; align-items: center; margin-top: 14px; flex-wrap: wrap; }

/* results */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.kpi { padding: 24px 22px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); }
.kpi .v { font: 600 46px/1 var(--display); letter-spacing: -.01em; }
.kpi .v em { font-style: normal; color: var(--acc); }
.kpi .v small { font-size: .42em; color: var(--ink3); margin-left: 5px; }
.kpi p { margin: 10px 0 0; font-size: 14px; color: var(--ink2); line-height: 1.45; }
.bars { padding: 26px 28px; }
.bars h3, .card h3 { margin: 0 0 4px; font: 600 20px/1.2 var(--display); }
.bars .sub, .card .sub { margin: 0 0 18px; font-size: 14px; color: var(--ink3); }
.barrow { display: grid; grid-template-columns: 120px 1fr 92px; align-items: center; gap: 14px; height: 38px; }
.barrow .lbl { font-size: 14.5px; color: var(--ink2); }
.barrow.pace .lbl { color: var(--ink); font-weight: 600; }
.barrow .track { position: relative; height: 12px; border-radius: 6px; background: var(--wash); }
.barrow .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--wash4); transform-origin: left; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.barrow.pace .fill { background: linear-gradient(90deg, var(--acc), var(--acc2)); box-shadow: 0 0 22px rgba(var(--acc-rgb), .32); }
.barrow .sd { position: absolute; top: -4px; bottom: -4px; border-left: 1px solid var(--wash5); border-right: 1px solid var(--wash5); }
.barrow .val { font: 500 14px/1 var(--mono); text-align: right; color: var(--ink2); }
.barrow.pace .val { color: var(--acc2); }
.grid2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.card { padding: 24px 24px 22px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); }
.card .big { font: 600 40px/1 var(--display); margin: 6px 0 10px; }
.card .big em { font-style: normal; color: var(--acc); }
.card p { margin: 0; color: var(--ink2); font-size: 14.5px; }
.dumb { display: grid; gap: 9px; }
.dumb .row { display: grid; grid-template-columns: 100px 1fr 54px; align-items: center; gap: 10px; font-size: 13px; color: var(--ink2); }
.dumb .line { position: relative; height: 14px; }
.dumb .line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--wash3); }
.dumb .seg { position: absolute; top: 50%; height: 2px; margin-top: -1px; background: rgba(var(--acc-rgb), .55); }
.dumb .a, .dumb .b { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; }
.dumb .a { background: var(--grey-dot); }
.dumb .b { background: var(--acc); box-shadow: 0 0 10px rgba(var(--acc-rgb), .6); }
.dumb .gain { font: 500 12.5px/1 var(--mono); color: var(--acc2); text-align: right; }
.legend { display: flex; gap: 16px; margin-top: 14px; font-size: 12.5px; color: var(--ink3); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.hbar { display: grid; gap: 11px; }
.hbar .row { display: grid; grid-template-columns: 112px 1fr 92px; gap: 10px; align-items: center; font-size: 13px; color: var(--ink2); }
.hbar .t { position: relative; height: 10px; border-radius: 5px; background: var(--wash); }
.hbar .p { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: var(--wash4); }
.hbar .p.e { background: linear-gradient(90deg, var(--acc), var(--acc2)); box-shadow: 0 0 14px rgba(var(--acc-rgb), .32); }
.hbar .r { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--marker); border-radius: 1px; }
.hbar .v { font: 500 12px/1.2 var(--mono); text-align: right; color: var(--ink2); }
.hbar .v.e { color: var(--acc2); }
.hbar-legend { margin-top: 12px; font-size: 12px; color: var(--ink3); display: flex; gap: 14px; flex-wrap: wrap; }
.hbar-legend i { display: inline-block; width: 2px; height: 11px; background: var(--marker); margin-right: 6px; vertical-align: -1px; }

/* gallery */
.gal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 64px 0 18px; flex-wrap: wrap; }
.gal-head h3 { margin: 0; font: 600 28px/1.1 var(--display); }
.gal-head p { margin: 6px 0 0; color: var(--ink3); font-size: 14px; max-width: 620px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tcard { position: relative; border-radius: 14px; overflow: hidden; background: var(--bg2); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.tcard:hover { border-color: var(--line2); }
.tcard.flash { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(var(--acc-rgb), .25); }
.tcard.is-hidden { display: none; }
.tcard .v { position: relative; aspect-ratio: 4 / 3; background: var(--bg3); }
.tcard video { width: 100%; height: 100%; object-fit: cover; }
.tcard .strip { position: absolute; left: 8px; right: 8px; bottom: 7px; height: 3px; display: flex; gap: 2px; }
.tcard .strip i { height: 100%; border-radius: 2px; background: rgba(255, 255, 255, .45); }
.tcard .strip i.cur { background: var(--acc); box-shadow: 0 0 8px rgba(var(--acc-rgb), .8); }
.tcard .strip i.fut { background: rgba(255, 255, 255, .18); }
.tcard .hq { position: absolute; right: 8px; top: 8px; font: 500 11px/1 var(--mono); padding: 5px 7px; border-radius: 6px; background: var(--badge-bg); color: var(--badge-ink); }
.tcard .hq em { font-style: normal; color: var(--acc2); }
.tcard .meta { padding: 11px 12px 13px; display: grid; gap: 4px; }
.tcard .meta b { font-size: 14.5px; font-weight: 600; }
.tcard .meta span { font: 500 12px/1.35 var(--mono); color: var(--ink3); }
.tcard .meta span em { font-style: normal; color: var(--acc2); }
.tcard .meta .nums { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink2); }
.tcard .meta .nums .pos { color: var(--acc2); }
.tcard .meta .nums .neg { color: var(--neg); }

/* robots */
.robots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rclip { padding: 14px; }
.rclip .v { position: relative; border-radius: 10px; overflow: hidden; background: #000; aspect-ratio: 4 / 3; }
.rclip video { width: 100%; height: 100%; object-fit: cover; }
.rclip .tag { position: absolute; left: 10px; top: 10px; font: 500 11.5px/1 var(--mono); padding: 6px 8px; border-radius: 7px; background: var(--badge-bg); color: var(--badge-ink); }
.rclip .tag em { font-style: normal; color: var(--acc2); }
.rclip h3 { margin: 14px 4px 2px; font: 600 20px/1.2 var(--display); }
.rclip .sub { margin: 0 4px 12px; font-size: 13.5px; color: var(--ink3); }
.ribbon { display: flex; gap: 3px; margin: 0 4px; }
.ribbon i { flex: none; height: 26px; border-radius: 5px; background: var(--wash2); border: 1px solid var(--line); font: 500 10.5px/24px var(--mono); color: var(--ink3); text-align: center; overflow: hidden; font-style: normal; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ribbon i.past { background: var(--wash3); color: var(--ink2); }
.ribbon i.cur { background: var(--acc); border-color: var(--acc); color: var(--on-acc); font-weight: 600; }
.ribbon-scale { display: flex; justify-content: space-between; margin: 7px 4px 0; font: 500 11px/1 var(--mono); color: var(--ink3); }
.rcurve { margin: 14px 4px 2px; padding: 10px 12px 9px; border-radius: 10px; background: var(--wash); border: 1px solid var(--line); }
.rcurve svg { width: 100%; height: 64px; overflow: visible; }
.rcurve .ex { fill: rgba(var(--acc-rgb), .09); }
.rcurve .base { stroke: var(--line2); }
.rcurve .other { fill: none; stroke: var(--ice); stroke-width: 1.3; opacity: .65; }
.rcurve .trig { fill: none; stroke: var(--acc); stroke-width: 2; }
.rcurve .cut { stroke: var(--acc); stroke-width: 1.3; stroke-dasharray: 3 3; }
.rnote { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; font: 500 11px/1.35 var(--mono); color: var(--ink3); }
.rnote b { color: var(--acc2); font-weight: 600; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 12px 12px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
thead th { font: 500 12px/1.2 var(--mono); color: var(--ink3); text-transform: uppercase; letter-spacing: .06em; }
tbody td { color: var(--ink2); font-family: var(--mono); font-size: 13.5px; }
tbody td:first-child { font-family: var(--sans); font-size: 14.5px; color: var(--ink); }
tr.pace td { color: var(--acc2); }
tr.pace td:first-child { color: var(--ink); font-weight: 600; }
td .sd { color: var(--ink3); font-size: 11.5px; margin-left: 3px; }
td.best { color: var(--ink); font-weight: 600; }
td.hi { color: var(--acc2); font-weight: 600; }
tr.pace td.best { color: var(--acc); }
.table-wrap { overflow-x: auto; }
.franka { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; margin-top: 14px; }
.objbars { display: grid; gap: 9px; margin-top: 4px; }
.objbars .row { display: grid; grid-template-columns: 104px 1fr 88px; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink2); }
.objbars .t { position: relative; height: 16px; }
.objbars .t i { position: absolute; left: 0; height: 6px; border-radius: 3px; }
.objbars .t i.b { top: 1px; background: var(--wash4); }
.objbars .t i.p { top: 9px; background: var(--acc); }
.objbars .val { font: 500 12px/1 var(--mono); text-align: right; color: var(--acc2); white-space: nowrap; }

/* limits, code, cite */
.limits { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.limits ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.limits li { padding-left: 26px; position: relative; color: var(--ink2); }
.limits li::before { content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 1px; background: var(--acc); }
.limits figure { margin: 0; }
.limits figure img { border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.limits figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink3); }
.code { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
pre { margin: 0; padding: 20px 22px; border-radius: 14px; background: var(--code-bg); border: 1px solid var(--line); overflow-x: auto; font: 400 13.5px/1.7 var(--mono); color: var(--code-ink); }
pre .k { color: var(--acc2); }
pre .c { color: var(--ink3); }
pre .s { color: #9fd3b6; }
.code h3 { margin: 0 0 10px; font: 600 15px/1 var(--mono); color: var(--ink3); text-transform: uppercase; letter-spacing: .08em; }
.repo-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.cite { position: relative; }
.cite pre { padding-right: 120px; background: var(--cite-bg); color: var(--cite-ink); }
.cite .copy { position: absolute; right: 14px; top: 14px; }
.btn.is-copied { background: var(--ok); border-color: var(--ok); color: var(--ok-ink); }
footer { padding: 46px 0 60px; border-top: 1px solid var(--line); color: var(--ink3); font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--ink2); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .rule { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  section { padding: 84px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 34px; }
  .sec-head p { grid-column: 1; }
  .sec-head .kicker { padding-top: 0; }
  .topnav nav { display: none; }
  .hero { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 84px 0 22px; min-height: 100svh; }
  .hero-card { padding: 30px 20px 26px; border-radius: 22px; }
  .hero-foot { position: relative; bottom: auto; margin-top: 18px; flex-direction: column; align-items: flex-start; width: 100%; padding: 0 20px; }
  .scroll-cue { display: none; }
  .spot { width: 188px; }
  .spot svg { width: 166px; }
  .tldr, .grid2, .grid3, .robots, .limits, .code, .franka { grid-template-columns: 1fr; }
  .replay-top { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .chapters { grid-template-columns: repeat(2, 1fr); }
  .barrow { grid-template-columns: 96px 1fr 70px; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  .kpis { grid-template-columns: 1fr; }
  .authors { font-size: 14.5px; gap: 2px 12px; }
  .affs { flex-direction: column; gap: 2px; }
  .links .btn { height: 36px; padding: 0 12px; font-size: 13.5px; }
  .rnote { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .topnav, .barrow .fill { transition: none; }
}

/* grid children must be allowed to shrink below their content (wide pre / tables scroll inside) */
.rule > *, .grid2 > *, .grid3 > *, .franka > *, .robots > *, .code > *, .limits > *, .kpis > *, .tldr > *, .replay-top > * { min-width: 0; }
pre { max-width: 100%; }

/* ------------------------------------------------------------------ daylight overrides */
.hero .tint { mix-blend-mode: saturation; }
.hero .veil {
  background:
    radial-gradient(ellipse 46% 44% at 50% 48%, rgba(246, 245, 241, .55) 0%, rgba(246, 245, 241, .2) 66%, rgba(246, 245, 241, 0) 100%),
    linear-gradient(180deg, rgba(246, 245, 241, .6) 0%, rgba(246, 245, 241, 0) 16%, rgba(246, 245, 241, 0) 72%, var(--bg) 100%);
}
.hero-card { backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); }
.kicker { color: var(--acc2); }
.wordmark { color: var(--ink); }
.btn { background: rgba(255, 255, 255, .55); }
.btn:hover { background: #fff; border-color: var(--line2); }
.btn.primary { background: #15181c; border-color: #15181c; color: #fff; }
.btn.primary:hover { background: #2b3036; border-color: #2b3036; }
.hero-foot p { text-shadow: 0 1px 10px rgba(255, 255, 255, .95), 0 0 2px rgba(255, 255, 255, .9); color: var(--ink2); }
.spot { box-shadow: 0 16px 36px rgba(40, 36, 24, .16); }
.spot .other { opacity: .7; }
.theatre { background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(232, 93, 42, .07), transparent 70%), var(--bg); }
.screen { background: #101214; padding: 10px; border: 0; border-radius: 24px; box-shadow: 0 40px 100px rgba(30, 28, 20, .22); }
.screen video { border-radius: 15px; }
.layer { background: linear-gradient(180deg, var(--bg3), var(--bg) 85%); }
.panel, .card, .kpi, .chapter, .tcard { box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 12px 32px rgba(40, 36, 24, .06); }
.tldr > div { background: var(--bg2); }
.chapter.is-active { background: linear-gradient(180deg, rgba(232, 93, 42, .09), rgba(232, 93, 42, .02)), #fff; }
.tcard .strip i { background: rgba(21, 24, 28, .55); }
.tcard .strip i.fut { background: rgba(21, 24, 28, .18); }
.tcard .strip i.cur { box-shadow: 0 0 6px rgba(232, 93, 42, .6); }
.replay-video, .rclip .v { background: #e9e7e1; }
.timeline .seg { border-right-color: #fff; }
.timeline .head { box-shadow: 0 0 8px rgba(232, 93, 42, .6); }
.barrow.pace .fill, .hbar .p.e { box-shadow: 0 6px 18px rgba(232, 93, 42, .22); }
.dumb .b { box-shadow: 0 0 0 3px rgba(232, 93, 42, .15); }
pre .s { color: #f2b48c; }
.cite pre .k, .cite pre { color: var(--cite-ink); }
.limits figure img { box-shadow: 0 12px 32px rgba(40, 36, 24, .08); }

/* Light / Dark iteration: lean hero foot, slightly smaller film */
.hero-foot { justify-content: flex-end; padding-right: 32px; }
.screen, .chapters { width: 90%; margin-left: auto; margin-right: auto; }
@media (max-width: 820px) { .hero-foot { align-items: flex-end; padding-right: 20px; } .screen, .chapters { width: 100%; } }

/* Match the canvas tint while the visualization data is still loading. */
.hero:not(.effects-ready) .tint { background: rgba(128, 128, 128, .82); }
.hero:not(.effects-ready) .strips { background: rgba(246, 245, 241, .58); }

/* Static sections remain readable while the full-page scripts are pending. */
.page-pending [data-reveal] { opacity: 1; transform: none; }

/* Resource links are centered below the installation code. */
.sec-head p + p { margin-top: 14px; }
.sec-head p { text-wrap: pretty; }
.eq .c { display: inline-block; }
.results-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.install-column { display: flex; flex-direction: column; }
.resource-space { flex: 1; display: flex; align-items: center; justify-content: center; }
.install-column .repo-links { margin: 0; gap: 8px; justify-content: center; }
.install-column .repo-links .btn { padding: 0 13px; font-size: 13px; }
.demo-note { margin: -12px 0 20px; font-size: 14px; color: var(--ink3); max-width: 900px; }
@media (max-width: 820px) {
  .results-details { grid-template-columns: 1fr; }
  .resource-space { flex: none; padding: 18px 0; }
  .code { row-gap: 28px; }
  .demo-note { margin-top: -8px; }
}

/* Conference title: enlarged mixed-case lettering. */

.hero-card > .kicker { font: 700 28px/1.15 var(--sans); letter-spacing: .015em; text-transform: none; }
@media (max-width: 820px) { .hero-card > .kicker { font-size: 24px; } }
