/* Feasible Is Not Faithful: project page (U41M hardware, 2026-11-26) */
@font-face { font-family: Inter; src: url(../fonts/inter-latin.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
:root {
  --bg: #ffffff; --band: #f3f4f3; --card: #ffffff; --ink: #14171c; --mute: #565e68; --faint: #7d858f; --line: #dfe2e4;
  --i: #b84f00; --n: #14171c; --y: #8c1d18; --ref: #7d858f;       /* text-safe versions of the figure colours (2026-11-26: paper rule, IPCR = red pen, NP = black pen) */
  --i-mark: #d55e00; --n-mark: #14171c; --y-mark: #8c1d18;        /* marks: exactly the paper's colours */
  --wrap: 1180px; --text: 720px; --r: 12px;
}
@media (prefers-color-scheme: dark) { :root {
  --bg: #111417; --band: #181c20; --card: #1d2226; --ink: #eceef0; --mute: #a9b1ba; --faint: #86909a; --line: #2d343a;
  --i: #ff8a3d; --n: #eceef0; --y: #ffb8c6; --ref: #98a2ac; --i-mark: #f07a2a; --n-mark: #eceef0; --y-mark: #ffb8c6; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
img, video, svg { display: block; max-width: 100%; } a { color: var(--i); } p { margin: 0 0 1em; } figure { margin: 0; min-width: 0; }
.wrap { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding-inline: 24px; } .text { max-width: var(--text); color: var(--mute); } .text b { color: var(--ink); }
.c-i, .text .c-i { color: var(--i); } .c-n, .text .c-n { color: var(--n); } .c-y { color: var(--y); }
.cap { font-size: .87rem; line-height: 1.5; color: var(--mute); margin: 10px 0 0; max-width: 86ch; }
:focus-visible { outline: 3px solid var(--i); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 40; background: var(--bg); padding: 8px 14px; }
math { font-size: 1.04em; } math[display="block"] { margin: 10px 0; font-size: 1.12em; overflow-x: auto; overflow-y: hidden; text-align: left; }

.bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; height: 54px; gap: 24px; }
.mark { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.mark svg { width: 24px; height: 24px; fill: none; stroke-width: 3.4; } .m-i { stroke: var(--i-mark); } .m-n { stroke: var(--n-mark); }
.bar nav { margin-left: auto; display: flex; gap: 22px; font-size: .92rem; } .bar nav a { color: var(--mute); text-decoration: none; } .bar nav a:hover { color: var(--ink); }

/* hero */
.hero { position: relative; background: #cfcfc8; }
.hero-film { position: relative; aspect-ratio: 16/9; overflow: hidden; } .hero-film video { width: 100%; height: 100%; object-fit: cover; }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #14171c; stroke-width: 2.5; }
.tag { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.93); color: #14171c; font-weight: 700; font-size: .9rem; line-height: 1.2; padding: 6px 11px; border-radius: 7px; border-left: 5px solid var(--t); }
.tag small { font-weight: 500; color: #565e68; margin-left: 7px; } .t-i { --t: #d55e00; } .t-n { --t: #14171c; } .t-y { --t: #8c1d18; }
.hero .tag { left: auto; top: auto; transform: translate(-50%, -100%); white-space: nowrap; }
.hero .t-i { left: 40%; top: 14.8%; } .hero .t-n { left: 63.5%; top: 25%; }
.hero-pause { position: absolute; left: 20px; bottom: 18px; font: 600 .82rem Inter, sans-serif; border: 0; border-radius: 999px; padding: 7px 14px; background: rgba(17,20,24,.72); color: #fff; cursor: pointer; }
.hero-text { color: #14171c; }
.hero-text h1 { font-size: clamp(2.5rem, 5.5vw, 5.6rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; margin: 0; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.45rem); line-height: 1.35; margin: 1em 0 0; max-width: 27em; text-wrap: balance; }
.duel { display: flex; gap: 40px; margin: 1.5em 0 0; } .duel dt { font-size: .92rem; font-weight: 600; } .duel dd { margin: 0; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; } .duel small { font-size: .42em; font-weight: 600; letter-spacing: 0; }
.duel .i { color: #b84f00; } .duel .n { color: #14171c; }
.fine { font-size: .84rem; color: #454c54; margin: 1.1em 0 0; max-width: 36em; }
@media (min-width: 1100px) {
  .hero-film { max-height: none; } .hero-text { position: absolute; left: 55%; right: 4%; bottom: 7%; }
  .hero-film::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 75% at 82% 72%, rgba(222,222,216,.72), rgba(222,222,216,0) 72%); pointer-events: none; }
}
@media (max-width: 1099px) { .hero-text { padding: 30px 24px 34px; max-width: 760px; margin: 0 auto; } .hero { background: #dcdcd6; } }
@media (max-width: 640px) { .hero-film { aspect-ratio: 1/1; } .hero-film video { object-position: 36% 50%; } .hero-lines { display: none; } .hero .tag { transform: none; font-size: .78rem; padding: 4px 8px; } .hero .t-i { left: 12px; top: 12px; } .hero .t-n { left: auto; right: 12px; top: 12px; } .duel { gap: 26px; } }

.byline { text-align: center; padding-top: 54px; } .subtitle { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -.015em; max-width: 30em; margin: 0 auto 14px; text-wrap: balance; }
.authors { margin: 0; } .authors span { color: var(--faint); margin: 0 6px; } .aff { color: var(--mute); font-size: .92rem; margin: 2px 0 18px; }
.links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; } .btn { background: var(--ink); color: var(--bg); text-decoration: none; padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; } .btn.off { background: none; color: var(--mute); box-shadow: inset 0 0 0 1px var(--line); } .btn small { font-weight: 400; font-size: .85em; margin-left: 4px; }

.keys { display: grid; grid-template-columns: repeat(3, 1fr) 1.35fr 1.35fr; gap: 0; padding-top: 34px; padding-bottom: 64px; }
.key { padding: 6px 20px; border-left: 1px solid var(--line); } .key:first-child { border-left: 0; padding-left: 0; } .key svg { width: 62px; height: 62px; margin-bottom: 8px; overflow: visible; fill: none; stroke-width: 2.2; stroke-linejoin: round; }
.cmp { margin: 0; font-size: 1.06rem; line-height: 1.4; font-variant-numeric: tabular-nums; } .cmp b { display: block; white-space: nowrap; } .cmp .i { color: var(--i); } .cmp .n { color: var(--n); }
.key .cap { margin-top: 4px; } .big { font-size: 2.6rem; line-height: 62px; margin: 0 0 8px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }

section[id] { padding: 76px 0; } .band { background: var(--band); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 750; text-wrap: balance; } h3 { font-size: 1.04rem; margin: 0 0 12px; letter-spacing: -.01em; } h4 { font-size: .98rem; margin: 0 0 4px; }

.tabs, .seg { display: flex; gap: 4px; } .tabs { margin: 26px 0 14px; border-bottom: 1px solid var(--line); }
.tabs button { font: 600 1rem Inter, sans-serif; background: none; border: 0; padding: 10px 16px; color: var(--mute); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; } .tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.rowbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 26px 0 14px; } .rowbar .tabs { margin: 0; }
.seg { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; } .seg button { font: 600 .88rem Inter, sans-serif; border: 0; background: none; color: var(--mute); padding: 7px 15px; border-radius: 999px; cursor: pointer; white-space: nowrap; } .seg button[aria-checked="true"] { background: var(--ink); color: var(--bg); } .seg button[data-mode="uf"][aria-checked="true"] { background: #d55e00; color: #fff; } .seg button[data-mode="uy"][aria-checked="true"] { background: #8c1d18; color: #fff; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .frame { position: relative; border-radius: var(--r); overflow: hidden; background: #cfcfc8; aspect-ratio: 16/9; } .frame video { width: 100%; height: 100%; object-fit: cover; }
.player { grid-column: 1/-1; display: flex; gap: 16px; align-items: center; } .play { font: 600 .92rem Inter, sans-serif; background: var(--ink); color: var(--bg); border: 0; border-radius: 999px; padding: 9px 0; width: 120px; cursor: pointer; } .player input { flex: 1; min-width: 0; accent-color: var(--ink); } .spd { font-size: .88rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.stage:not([data-mode="split"]) { grid-template-columns: 1fr; } .stage:not([data-mode="split"]) figure { grid-area: 1/1; transition: opacity .35s; } .stage[data-mode="uf"] [data-arm="uy"], .stage[data-mode="uy"] [data-arm="uf"] { opacity: 0; pointer-events: none; }
.soon { border: 1.5px dashed var(--line); border-radius: var(--r); padding: 40px 28px; color: var(--mute); display: grid; gap: 4px; max-width: none; } .soon b { color: var(--ink); } .soon span { max-width: 62ch; } .soon[hidden], .pair[hidden] { display: none; }

.charts { display: grid; grid-template-columns: 1fr 1.35fr; gap: 18px; margin-top: 34px; align-items: start; } .boxcharts { grid-template-columns: 1.5fr 1fr; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; } .card svg { width: 100%; height: auto; } svg text { font-family: Inter, sans-serif; }
.facts { margin: 0; } .facts > div { padding: 12px 0; border-top: 1px solid var(--line); } .facts > div:first-child { border-top: 0; padding-top: 0; } .facts dt { font-size: .88rem; color: var(--mute); } .facts dt.c-i { color: var(--i); } .facts dt.c-y { color: var(--y); } .facts dd { margin: 0; } .boxcharts .facts { padding: 8px 4px; }

.film { margin: 34px 0 40px; } .film video { width: 100%; aspect-ratio: 16/9; border-radius: var(--r); background: #dcdcd6; }
.split > *, .charts > *, .two > * { min-width: 0; } .big.sm { font-size: 1.5rem; line-height: 1.15; padding: 14px 0 0; letter-spacing: -.025em; }
.late { transition: opacity .4s; } .hero-film.early .late { opacity: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; } .ctl { display: grid; grid-template-columns: auto 1fr 62px; gap: 6px 14px; align-items: center; font-size: .9rem; margin-top: 8px; } .ctl input { width: 100%; accent-color: var(--ink); } .ctl output { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; } .wout { margin: 14px 0 0; font-size: .95rem; }
.method > p { color: var(--mute); } .step { border-top: 1px solid var(--line); padding: 16px 0 4px; } .step p { font-size: .93rem; color: var(--mute); margin: 0 0 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; } .two h2 { font-size: 1.6rem; } .limits { margin: 0; padding: 0; list-style: none; } .limits li { padding: 11px 0; border-top: 1px solid var(--line); color: var(--mute); } .limits li:first-child { border-top: 0; padding-top: 0; } .limits b { color: var(--ink); }
details { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; } summary { cursor: pointer; font-weight: 650; } details p { margin-top: 10px; font-size: .95rem; color: var(--mute); }
.bib { background: var(--band); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; font-size: .84rem; line-height: 1.55; overflow-x: auto; max-width: 760px; margin: 0; }
footer { border-top: 1px solid var(--line); padding: 28px 0 46px; color: var(--mute); font-size: .88rem; }

/* paper-style sections */
.sec { text-align: center; margin: 0 auto 30px; max-width: 860px; } .sec h2 { margin: 0; } .part { color: var(--mute); font-weight: 600; font-size: .95rem; margin: 0 0 10px; }
.prose { max-width: 740px; margin: 0 auto; } .prose p { margin: 0 0 1.05em; } .prose + figure, .prose + .narrowcard { margin-top: 30px; } figure + .prose, .narrowcard + .prose { margin-top: 34px; }
.callout { border-left: 4px solid var(--i-mark); background: color-mix(in srgb, var(--i-mark) 8%, var(--bg)); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 22px 0; }
.thm { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px 8px; margin: 20px 0 24px; } .thm h3 { margin: 0 0 6px; font-size: .95rem; color: var(--mute); } .thm math[display="block"] { text-align: center; } .thm p { font-size: .95rem; color: var(--mute); }
figcaption, .film figcaption { font-size: .88rem; line-height: 1.5; color: var(--mute); margin: 12px auto 0; max-width: 740px; } .paperfig figcaption, .film figcaption, .tablewrap figcaption { border-left: 3px solid var(--line); padding-left: 14px; } figcaption b { color: var(--ink); }
.paperfig { max-width: 1080px; margin: 34px auto; } .concept { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } .concept .card { padding: 18px 16px 10px; } .concept h3 { margin: 0; } .concept p { margin: 2px 0 6px; font-size: .9rem; color: var(--mute); } .narrowcard svg { max-width: 560px; margin: 0 auto; }
@media (max-width: 820px) { .concept { grid-template-columns: 1fr; } .concept svg { max-width: 360px; margin: 0 auto; } }
.film { max-width: 1000px; margin: 34px auto 30px; } .narrowcard { max-width: 740px; margin: 0 auto; }
.tablewrap { max-width: 740px; margin: 30px auto; overflow-x: auto; } table { border-collapse: collapse; width: 100%; font-size: .95rem; font-variant-numeric: tabular-nums; } th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; } th { color: var(--mute); font-weight: 600; font-size: .88rem; } thead th { border-bottom: 2px solid var(--ink); }
td.c-i, .prose .c-i { color: var(--i); } td.c-n, .prose .c-n { color: var(--n); }
.plain { margin: 0; padding: 0 0 0 1.1em; } .plain li { margin: .5em 0; }
sup.c { font-size: .68em; line-height: 0; margin-left: 1px; white-space: nowrap; } sup.c a { text-decoration: none; padding: 0 1px; } sup.c a:hover { text-decoration: underline; }
.refs { max-width: 740px; margin: 0 auto; padding-left: 2.4em; font-size: .9rem; line-height: 1.5; } .refs li { padding: 5px 0 5px 4px; color: var(--mute); scroll-margin-top: 80px; overflow-wrap: anywhere; } .refs li::marker { color: var(--faint); font-variant-numeric: tabular-nums; } .refs li:target { color: var(--ink); background: color-mix(in srgb, var(--i-mark) 12%, transparent); border-radius: 6px; } .refnote { max-width: 740px; margin: 14px auto 0; }
#cite .wrap { max-width: 788px; } #cite h2 { text-align: center; } #summary { padding-bottom: 20px; } .keys { padding-top: 40px; } #simulation .soon { max-width: 740px; margin: 0 auto; }
@media (max-width: 1120px) { .bar nav { gap: 14px; font-size: .86rem; } }
@media (max-width: 1000px) { .bar nav { display: none; } }

/* svg roles */
.s-i { stroke: var(--i-mark); } .s-n { stroke: var(--n-mark); } .s-y { stroke: var(--y-mark); } .s-r { stroke: var(--ref); } .s-k { stroke: var(--ink); } .s-g { stroke: var(--line); }
.f-i { fill: var(--i-mark); } .f-n { fill: var(--n-mark); } .f-y { fill: var(--y-mark); } .f-k { fill: var(--ink); } .f-m { fill: var(--mute); } .tx-i { fill: var(--i); } .tx-n { fill: var(--n); } .tx-y { fill: var(--y); } .f-body { fill: var(--band); } .f-bg { fill: var(--card); }

@media (max-width: 900px) {
  body { font-size: 16px; } .bar nav { display: none; } section[id] { padding: 56px 0; }
  .keys { grid-template-columns: repeat(3, 1fr); row-gap: 26px; } .key { padding: 4px 12px; } .key.wide { grid-column: 1/-1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; } .cmp { font-size: .95rem; } .big { line-height: 1.1; }
  .charts, .boxcharts, .split, .two { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) { .pair { grid-template-columns: 1fr; } .wrap { padding-inline: 18px; } #dots text, #yaw text { font-size: 15.5px; } math[display="block"] { font-size: 1rem; } .key svg { width: 48px; height: 48px; } .key { padding: 4px 8px; } .cmp { font-size: .8rem; } .tabs button { padding: 10px 11px; font-size: .94rem; } .seg button { padding: 7px 10px; font-size: .8rem; } .tag { font-size: .8rem; } .ctl { grid-template-columns: 1fr 62px; } .ctl label { grid-column: 1/-1; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
/* overview figure (paper Fig. 1), 2026-11-26 */
.overview { max-width: 1180px; margin: 30px auto 6px; }
.overview .ovwrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.overview img { display: block; width: 100%; height: auto; }
@media (max-width: 820px) { .overview .ovwrap { padding: 8px; } .overview img { min-width: 780px; } }

/* video polish, 2026-11-26 */
.fbox { position: relative; } .film .fbox video { cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 10px 30px -12px rgba(0,0,0,.25); }
.vbtn { position: absolute; left: 16px; bottom: 14px; font: 600 .8rem Inter, sans-serif; border: 0; border-radius: 999px; padding: 6px 13px; background: rgba(17,20,24,.72); color: #fff; cursor: pointer; }
.vbtn:hover, .hero-pause:hover { background: rgba(17,20,24,.88); }
.pair .frame, .frame { border-radius: 10px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px -14px rgba(0,0,0,.28); }

/* simulation chart, 2026-11-26 (arm colours: the paper's figstyle) */
:root { --a-h: #332288; --a-q1: #5e3c99; --a-q2: #0072b2; --a-m: #01665e; --a-s: #009e73; --a-f: #b7518f; }
@media (prefers-color-scheme: dark) { :root { --a-h: #9d8fe6; --a-q1: #b39ddb; --a-q2: #56b4e9; --a-m: #4fc3b6; --a-s: #3fd0a0; --a-f: #e59ac6; } }
.simcard { max-width: 900px; margin: 26px auto 8px; padding: 18px 20px 14px; } .simcard svg { width: 100%; height: auto; }
.simkey { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--mute); margin: 2px 0 6px; } .simkey span { display: inline-flex; align-items: center; gap: 6px; } .simkey svg { width: 12px; height: 12px; fill: var(--mute); stroke: var(--mute); }
#simdots .dot { stroke: var(--card); stroke-width: 1.2; } #simdots .a-i { fill: var(--i-mark); } #simdots .a-n { fill: var(--n-mark); } #simdots .a-h { fill: var(--a-h); } #simdots .a-q1 { fill: var(--a-q1); } #simdots .a-q2 { fill: var(--a-q2); } #simdots .a-m { fill: var(--a-m); } #simdots .a-s { fill: var(--a-s); } #simdots .a-f { fill: var(--a-f); }
#simdots text.a-i { fill: var(--i); } #simdots text.a-n { fill: var(--n); }
.simkeys { grid-template-columns: repeat(4, 1fr); max-width: 1000px; margin: 0 auto; padding-top: 22px; padding-bottom: 10px; } .nowrap { white-space: nowrap; }
@media (max-width: 820px) { .simkeys { grid-template-columns: 1fr 1fr; row-gap: 22px; } .simkeys .key:nth-child(3) { border-left: 0; padding-left: 0; } #simdots text { font-size: 15px; } }

.swipe { display: none; } @media (max-width: 820px) { .swipe { display: block; font-size: .8rem; color: var(--faint); margin: 6px 2px 0; } }

/* layout 2026-11-26b: title block, contained teaser, method steps */
.head { text-align: center; padding: 64px 24px 26px; }
.head h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: -.045em; font-weight: 800; margin: 0 0 14px; }
.head .subtitle { margin-bottom: 12px; }
.teaser { max-width: 1000px; margin: 0 auto; padding-bottom: 8px; } .teaser .film { margin: 8px 0 0; max-width: none; }
.teaser .fbox video { aspect-ratio: 16/9; }
.stats { justify-content: center; gap: 56px; margin: 22px 0 0; text-align: center; } .stats dt { color: var(--mute); font-weight: 600; font-size: .88rem; }
.stats .i dd { color: var(--i); } .stats .n dd { color: var(--n); } .stats dd { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.teaser .fine { text-align: center; margin: 10px auto 0; color: var(--mute); }
#overview { padding-top: 64px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0 18px; }
.step { padding: 20px 20px 14px; min-width: 0; } .step .num { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--i); }
.step h3 { margin: 0 0 6px; font-size: 1.08rem; } .step p { font-size: .92rem; color: var(--mute); margin: 8px 0 0; } .step math[display="block"] { font-size: .98em; margin: 12px 0 6px; text-align: center; }
.tryrow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 10px; } .tryrow .widget { min-width: 0; } .tryrow h3 { margin-top: 0; font-size: 1rem; }
details.more { margin-top: 26px; } details.more .thm { margin: 14px 0; }
@media (max-width: 900px) { .steps, .tryrow { grid-template-columns: 1fr; } .stats { gap: 28px; } }
@media (max-width: 640px) { .head { padding: 40px 18px 18px; } .stats dt { font-size: .78rem; } }

/* back link */
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--mute); text-decoration: none; font-size: .9rem; font-weight: 600; padding: 5px 12px 5px 9px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.back:hover { color: var(--ink); border-color: var(--faint); } .bar .wrap { gap: 16px; }
@media (max-width: 640px) { .back { font-size: .82rem; padding: 4px 10px 4px 8px; } }
/* wider teaser film */
.teaser { max-width: 1200px; }

/* position block */
.prose.lead p:first-child { font-size: 1.08rem; }
.claims { list-style: none; padding: 0; margin: 28px 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.claims li { padding: 20px 22px; }
.claims h3 { margin: 2px 0 8px; font-size: 1.12rem; }
.claims .eq { margin: 4px 0 12px; font-size: 1.12rem; overflow-x: auto; }
.claims p:last-child { margin: 0; color: var(--mute); font-size: .95rem; line-height: 1.5; }
.split2 { display: grid; grid-template-columns: 1fr 1.35fr; gap: 16px; margin: 18px 0 26px; }
.split2 > div { padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line); }
.split2 > div p:last-child { margin: 0; line-height: 1.55; }
.split2 .ours { border-color: color-mix(in srgb, var(--i) 45%, var(--line)); background: color-mix(in srgb, var(--i) 6%, transparent); }
.split2 .ours .num { color: var(--i); }
.keys.evid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 10px 0 30px; }
.keys.evid { padding: 0; } .keys.evid .key { border-left: 0; border-top: 3px solid var(--line); padding: 12px 0 0; } .keys.evid .cmp { font-size: 1.12rem; } .keys.evid .big { font-size: 1.7rem; line-height: 1.3; margin: 0; }
.keys.evid .key:first-child { border-top-color: var(--i); }
.tag2 { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.card.prior { margin-top: 18px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px 26px; align-items: center; }
.card.prior .priorhead p:last-child { color: var(--mute); font-size: .95rem; line-height: 1.5; }
.card.prior figcaption { grid-column: 1 / -1; }
.card.prior h3 { margin: 2px 0 8px; }
.card.recipe { margin-top: 22px; }
.steps3 { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; counter-reset: s; }
.steps3 li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--ink) 4%, transparent); }
.steps3 li b { font-size: 1.15rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.steps3 li b.i { color: var(--i); } .steps3 li b.n { color: var(--ink); }
.steps3 .lab small { color: var(--mute); }
@media (max-width: 900px) { .claims, .keys.evid { grid-template-columns: 1fr 1fr; } .split2, .card.prior { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .claims, .keys.evid { grid-template-columns: 1fr; } .steps3 li { flex-direction: column; gap: 2px; } }

.claims .num, .split2 .num { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.claims .num { color: var(--i); } .card.prior .num { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--i); }
@media (max-width: 640px) { #wall-tabs { flex-wrap: wrap; } }

/* v4 polish: hero states the position, headline numbers beside the film */
.head { padding: 48px 24px 18px; }
.head h1 { margin-bottom: 10px; }
.head .subtitle { margin-bottom: 14px; color: var(--mute); }
.head .claim { max-width: 44em; margin: 0 auto 18px; font-size: 1.08rem; line-height: 1.6; text-wrap: pretty; }
.head .authors { margin-top: 0; }
.teaser { max-width: 1200px; display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; align-items: center; padding-bottom: 20px; }
.teaser .film { margin: 0; } .teaser .film figcaption { border: 0; padding: 0; margin: 8px 0 0; text-align: left; max-width: none; font-size: .8rem; color: var(--faint); }
.vbtn { left: auto; right: 14px; bottom: 12px; }
.headline { display: grid; gap: 16px; }
.headline .tag2 { margin: 0; }
.headline .hl { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--line); }
.headline .hl b { font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.headline .hl b small { font-size: .45em; font-weight: 600; letter-spacing: 0; }
.headline .hl > span { font-size: .9rem; color: var(--mute); line-height: 1.4; }
.headline .hl.i { border-left-color: var(--i); } .headline .hl.i b { color: var(--i); }
.headline .hl.n { border-left-color: var(--n); } .headline .hl.n b { color: var(--n); }
.headline .fine { margin: 0; text-align: left; font-size: .84rem; color: var(--mute); }
.note { max-width: 46em; margin: 18px auto 8px; font-size: .92rem; line-height: 1.55; color: var(--mute); }
.subhead { margin: 34px 0 12px; font-size: 1.08rem; }
.inkcheck { margin: 18px 0 4px; padding: 14px 18px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 4%, transparent); }
.inkcheck .num { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.inkcheck p:last-child { margin: 0; font-size: .95rem; line-height: 1.55; }
.overview .ovm { display: none; }
@media (max-width: 900px) { .teaser { grid-template-columns: 1fr; gap: 18px; } .headline { grid-template-columns: 1fr 1fr; } .headline .tag2, .headline .fine { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .head .claim { font-size: 1rem; text-align: left; }
  .headline .hl b { font-size: 1.7rem; }
  .overview .ovwrap { overflow: visible; padding: 8px; } .overview img { min-width: 0 !important; }
  .overview .ovm { display: grid; gap: 10px; margin-top: 10px; }
}

.head { padding-top: 34px; } .head h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
.head .claim { margin-bottom: 14px; } .head .links { margin-bottom: 0; }
.teaser { grid-template-columns: minmax(0, 820px) 290px; justify-content: center; }

.note { max-width: var(--text); }
.teaser { grid-template-columns: minmax(0, 740px) 290px; }

/* five parts: Motivation, Key idea, Method, Results, Paper */
#motivation { padding-top: 64px; }
.prose .ask { font-weight: 700; color: var(--ink); margin-top: 16px; font-size: 1.08rem; }
#idea .tryrow { margin-top: 26px; }
#method .prose:first-of-type { margin-bottom: 8px; }
#paper .sec h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); max-width: 30em; margin: 0 auto; text-wrap: balance; }
#paper .prose h3 { margin: 30px 0 10px; font-size: 1.12rem; }
#paper .prose h3:first-child { margin-top: 0; }
#paper .abstract { line-height: 1.65; }
#paper details.more { margin-top: 22px; }
#paper details.more > summary { font-weight: 700; cursor: pointer; }
#paper .refs { margin-top: 14px; }
#paper #cite { scroll-margin-top: 80px; }
.bib .copy { position: absolute; top: 10px; right: 10px; font: 600 .78rem Inter, sans-serif; border: 1px solid var(--line); background: var(--card); color: var(--mute); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.bib .copy:hover { color: var(--ink); }
