@font-face { font-family: "Fraunces"; src: url(../fonts/Fraunces.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../fonts/Fraunces-Italic.woff2) format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(../fonts/SourceSans3.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
:root {
  --paper: #F3E9D9; --sheet: #FCF9F1; --ink: #211C18; --ink2: #51483F; --ink3: #7C7164; --pencil: #B5A994; --hair: #D9CDB8;
  --terra: #C56342; --rust: #A0472B; --blue: #A0BBD4; --pink: #EABEB4; --sage: #A3B496; --kraft: #CEB080;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --shadow: 0 1px 0 rgba(60, 40, 20, .10), 0 3px 8px rgba(60, 40, 20, .16);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper) url(../img/paper.webp); background-size: 640px 640px; color: var(--ink);
  font: 400 17px/1.55 var(--sans); overflow-x: hidden; }
img, video, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--terra); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--rust); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.defs { position: absolute; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: .5em; }
h3 { font-size: 1.32rem; line-height: 1.2; margin: 1.6em 0 .45em; }
h4 { font-size: 1.1rem; margin: 0 0 .2em; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--terra); }
.prose em, .abs em, .how em { font-style: italic; color: inherit; }
.plain { font: italic 500 clamp(1.2rem, 2.2vw, 1.55rem)/1.32 var(--serif); max-width: 34em; text-wrap: pretty; }
.lede { font-size: 1.12rem; color: var(--ink2); max-width: 46em; text-wrap: pretty; }
.small, .note { font-size: .92rem; color: var(--ink3); }
.accent { color: var(--terra); }
code { font: .88em var(--mono); }
.tag { display: inline-block; position: relative; z-index: 0; padding: .14em .62em .2em; color: #fff; font: 650 .92rem/1.25 var(--sans);
  letter-spacing: .01em; text-decoration: none; transform: rotate(-.7deg); }
.tag::before { content: ""; position: absolute; inset: -1px -2px; background: var(--ink); z-index: -1; filter: url(#torn2); }
a.tag:hover { color: #fff; }
a.tag:hover::before { background: var(--rust); }
.slip { display: inline-block; background: var(--sheet); padding: .16em .6em .2em; font: 600 1rem/1.3 var(--sans); box-shadow: var(--shadow); }
.btn { display: inline-block; background: var(--ink); color: #fff; font: 600 1.02rem/1.2 var(--sans); padding: .62em 1.05em .68em;
  text-decoration: none; box-shadow: var(--shadow); transform: rotate(-.4deg); }
.btn:hover { background: var(--rust); color: #fff; }
.btn.ghost { background: var(--sheet); color: var(--ink); transform: rotate(.5deg); }
.btn.ghost:hover { color: var(--rust); background: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.6em 0 0; }
.actions.six { gap: 10px 12px; margin-top: 1.25em; }
.btn.off, .btn.off:hover { background: transparent; color: var(--ink3); box-shadow: none; border: 1px dashed var(--pencil); cursor: default; padding: calc(.62em - 1px) calc(1.05em - 1px) calc(.68em - 1px); }
.btn.off small { font: 600 .66em/1 var(--sans); text-transform: uppercase; letter-spacing: .07em; margin-left: .55em; }
.pic { mix-blend-mode: multiply; display: block; }
.top { position: sticky; top: 0; z-index: 20; background: rgba(243, 233, 217, .93); backdrop-filter: blur(6px); border-bottom: 1px dashed var(--pencil); }
.top .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0 10px; }
.mark { font: 600 1.42rem/1 var(--serif); letter-spacing: -.02em; text-decoration: none; }
.top nav { display: flex; gap: clamp(14px, 3vw, 30px); }
.top nav a { font: 600 1rem/1 var(--sans); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { border-bottom-color: var(--terra); color: var(--ink); }
.foot { margin-top: 90px; padding: 44px 0 60px; border-top: 1px dashed var(--pencil); color: var(--ink2); }
.foot .mark { font-size: 1.7rem; color: var(--ink); margin-bottom: .4em; }
.foot p { max-width: 44em; }
.band { padding: clamp(46px, 7vw, 92px) 0 0; }
.band.first { padding-top: clamp(34px, 5vw, 60px); }
.statement { font-size: clamp(2rem, 4.6vw, 3.5rem); max-width: 19em; margin-bottom: .55em; }
.statement.sm { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-top: 1.1em; }
.results .tally-box { margin-bottom: 3.2em; }
.hero { padding: clamp(16px, 3.4vh, 40px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.hero h1.name { font-size: clamp(3.1rem, min(9.5vw, 13vh), 7rem); letter-spacing: -.03em; line-height: .95; margin: 0; }
.byline { font: 600 clamp(1rem, 1.7vw, 1.22rem)/1.3 var(--sans); color: var(--ink2); margin: .6em 0 0; }
.ask { font: 600 clamp(1.5rem, min(3.4vw, 4.6vh), 2.5rem)/1.1 var(--serif); letter-spacing: -.012em; margin: .8em 0 .4em; text-wrap: balance; }
.hero .plain { font-size: clamp(1.06rem, min(1.7vw, 2.5vh), 1.28rem); max-width: 34em; }
.hero-pic .pic { width: auto; height: auto; max-width: 100%; max-height: min(42vh, 400px); margin-inline: auto; }
.summary { padding: clamp(14px, 3.2vh, 34px) 0 0; }
.sum-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; border-top: 2px solid var(--ink); padding-top: 9px; margin-bottom: 4px; }
.sum-head h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 0; }
.sum-head h2 a { text-decoration: none; }
.sum-more { display: none; margin: .5em 0 0; font-weight: 600; }
.sum-head p { margin: 0; color: var(--ink2); }
.sum-head .more { margin-left: auto; font-weight: 600; }
.lrow { display: grid; grid-template-columns: minmax(0, 12.4em) minmax(0, 1fr) 2.7em; align-items: center; gap: 0 12px; min-height: clamp(23px, 3.5vh, 32px); }
.ll { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt { position: relative; align-self: stretch; display: flex; align-items: center; }
.lbar { display: block; height: 58%; min-height: 9px; background: var(--c, var(--ink)); }
.refl { position: absolute; top: 0; bottom: 0; border-left: 1.5px dashed var(--ink); z-index: 1; }
.lv { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.lrow.ref .ll { font-weight: 600; }
.lrow .tick, .board .tick, .board-areas .tick { display: inline-block; width: .72em; margin-right: .38em; border-top: 4px solid var(--ink); vertical-align: .2em; }
.kicker { margin: 0; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: 1.4em; }
.three h3, .two h3 { margin-top: 0; }
.three > div { border-top: 2px solid var(--ink); padding-top: 14px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 4vw, 60px); margin-top: 2.4em; }
.two h3 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); margin-bottom: .5em; }
.figures { list-style: none; margin: 2.2em 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 30px; }
.figures li { display: flex; flex-direction: column; border-left: 1px dashed var(--pencil); padding-left: 16px; }
.figures b { font: 600 clamp(2.2rem, 4.4vw, 3.4rem)/1 var(--serif); color: var(--terra); }
.figures span { color: var(--ink2); font-size: .98rem; line-height: 1.3; margin-top: 6px; }
.film-frame { position: relative; background: var(--sheet); padding: clamp(6px, 1.2vw, 12px); box-shadow: 0 2px 0 rgba(60, 40, 20, .1), 0 14px 34px rgba(60, 40, 20, .2); transform: rotate(-.35deg); }
.film-frame video { display: block; width: 100%; height: auto; background: var(--paper); }
.caption { font: italic 500 1.05rem/1.3 var(--serif); margin: 14px 0 0; color: var(--ink2); }
.filter { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 1.3em 0 .4em; }
.filter button { font: 600 .95rem/1.2 var(--sans); background: var(--sheet); color: var(--ink); border: 0; padding: .36em .7em .42em; box-shadow: var(--shadow); cursor: pointer; }
.filter button.on { background: var(--ink); color: #fff; }
.area { margin-top: 2.6em; }
.area > h3, .area > h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 .9em; font-size: 1rem; }
.area .tag { font-size: 1.1rem; }
.count { font: 400 .95rem var(--sans); color: var(--ink3); letter-spacing: 0; }
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 36px) clamp(14px, 2.2vw, 30px); }
.tile { display: flex; flex-direction: column; text-decoration: none; }
.tile .pic { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: transform .25s ease; }
.tile:hover .pic { transform: scale(1.04) rotate(-.6deg); }
.tt { font: 600 1.22rem/1.15 var(--serif); letter-spacing: -.01em; margin-top: 8px; }
.tl { font-size: .93rem; line-height: 1.35; color: var(--ink2); margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile:hover .tt { color: var(--rust); }
.dot { display: inline-block; width: .72em; height: .72em; border-radius: 50%; background: var(--c); border: 2px solid var(--c); vertical-align: -.02em; margin-right: .38em; flex: none; }
.dot.below { background: transparent; }
.dot.level { background: linear-gradient(90deg, var(--c) 50%, transparent 50%); }
.dot.fb { background: var(--c) !important; border: 0; width: .62em; height: .62em; margin: 0 .56em 0 .2em; opacity: 1 !important; box-shadow: 0 0 0 1.5px var(--paper), 0 0 0 3.2px #CB181D !important; }
.release { font: italic 500 1.02rem/1.4 var(--serif); color: var(--ink2); border: 1px dashed var(--pencil); padding: 10px 14px; margin: 10px 0 0; max-width: 40em; }
.env.ph .env-tree { min-height: 230px; }
.env.ph .file.prompt { display: block; padding: 3px 6px; margin-bottom: 8px; }
.ph-bar { display: block; height: 9px; margin-top: 9px; background: var(--hair); }
.env.ph .env-doc { padding: 26px 18px 34px; }
.env.ph .release { margin: 0; }
.ladder li.fbrow { font-weight: 400; color: var(--ink2); }
.standing .dot { margin-right: 3px; }
.standing .dot.fb { margin: 0 6px 0 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 1em 0; font: 600 .95rem/1.3 var(--sans); }
.legend .key { font-weight: 400; color: var(--ink2); }
.lg { white-space: nowrap; }
.tally-box { position: relative; margin: 1.2em 0 .6em; padding: 6px 0 0; }
.tally { display: flex; flex-wrap: wrap; gap: 20px 0; --th: 300px; }
.tchunk { flex: 1 1 0; min-width: 0; display: flex; position: relative; }
.tchunk:first-child { margin-left: 30px; }
.taxis { position: absolute; left: -30px; top: 0; width: 25px; height: var(--th); font: 600 .68rem/1 var(--sans); color: var(--ink3); }
.taxis i { position: absolute; right: 0; transform: translateY(-50%); font-style: normal; font-variant-numeric: tabular-nums; }
.taxis i.z { color: var(--ink); }
.tchunk + .tchunk .taxis { display: none; }
.tcol { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.tplot { position: relative; display: block; width: 100%; height: var(--th); background-image: var(--g); }
.tplot .dot { position: absolute; left: calc(50% + var(--x)); top: var(--y); width: 8.6px; height: 8.6px; margin: -4.3px 0 0 -4.3px; border: 0; box-shadow: 0 0 0 1px var(--paper); }
.tplot .dot.fb { background: var(--c) !important; border: 0; box-shadow: 0 0 0 1.4px var(--paper), 0 0 0 3px #CB181D !important; z-index: 1; }
.tcol img { width: min(22px, 100%); height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; margin-top: 6px; transition: transform .15s; }
.tcol:hover img { transform: scale(2.2); }
.tcol:hover { background-color: rgba(206, 176, 128, .22); }
.tnote { font-size: .9rem; color: var(--ink2); max-width: 62em; margin: .9em 0 0; }
.swatch { display: inline-block; width: 1.5em; border-top: 2.5px solid var(--ink); vertical-align: .28em; margin-right: .45em; }
.jump { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: .6em 0 0; font-weight: 600; font-size: .98rem; }
.catalogue .area { margin-top: 3em; }
.row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 4px 28px; align-items: center; padding: 16px 0; border-top: 1px dashed var(--pencil); text-decoration: none; }
.row .pic { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.row-text { display: flex; flex-direction: column; }
.row .tt { font-size: 1.55rem; margin: 0; }
.row .tl { font: italic 500 1.05rem/1.3 var(--serif); color: var(--ink); -webkit-line-clamp: 2; }
.row .q { font: 400 .95rem/1.42 var(--sans); color: var(--ink2); margin-top: 7px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.row .meta { font-size: .9rem; color: var(--ink3); margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.row:hover .tt { color: var(--rust); }
.task-head { padding: clamp(18px, 3vw, 34px) 0 0; }
.th-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(18px, 4vw, 54px); align-items: center; }
.th-text h1 { margin: .28em 0 .3em; font-size: clamp(2.4rem, 5.6vw, 4.3rem); }
.th-pic .pic { width: 100%; max-height: 430px; object-fit: contain; }
.crumb { font: 600 .92rem var(--sans); color: var(--ink3); margin: 0 0 12px; }
.crumb a { text-decoration: none; border-bottom: 1.5px solid var(--terra); }
.stand { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: .98rem; color: var(--ink2); margin: 1.1em 0 0; }
.secnav { position: sticky; top: 46px; z-index: 15; background: rgba(243, 233, 217, .94); backdrop-filter: blur(6px); border-bottom: 1px dashed var(--pencil); margin-top: 26px; }
.secnav .wrap { display: flex; gap: clamp(14px, 3vw, 30px); overflow-x: auto; padding: 9px 0; scrollbar-width: none; }
.secnav a { font: 600 .96rem var(--sans); text-decoration: none; white-space: nowrap; color: var(--ink2); }
.secnav a:hover { color: var(--rust); }
.sec { padding-top: clamp(40px, 6vw, 70px); }
.sec > h2 { border-top: 2px solid var(--ink); padding-top: 16px; }
.q { font: 500 clamp(1.15rem, 2vw, 1.4rem)/1.42 var(--serif); max-width: 43em; text-wrap: pretty; }
#question > p { max-width: 50em; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 1.6em 0 0; padding: 14px 0 0; border-top: 1px dashed var(--pencil); }
.facts dt { font: 600 .82rem/1.3 var(--sans); color: var(--ink3); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.methods { display: flex; flex-direction: column; margin-top: 1.2em; border-bottom: 1px dashed var(--pencil); }
.m { border-top: 1px dashed var(--pencil); }
.m > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 12px 30px 12px 0; cursor: pointer; list-style: none; position: relative; }
.m > summary::-webkit-details-marker { display: none; }
.m > summary::after { content: "+"; position: absolute; right: 4px; top: 9px; font: 400 1.5rem/1 var(--sans); color: var(--ink3); }
.m[open] > summary::after { content: "–"; }
.m > summary:hover .slip { background: #fff; color: var(--rust); }
.m .slip { font-size: 1.05rem; }
.m:nth-child(3n+1) .slip { transform: rotate(-.5deg); } .m:nth-child(3n+2) .slip { transform: rotate(.4deg); }
.gist { color: var(--ink2); font-size: 1rem; flex: 1 1 16em; }
.bp, .kd { font: 650 .78rem/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.bp { color: var(--rust); } .kd { color: var(--ink3); }
.m-body { padding: 2px 0 20px; max-width: 54em; }
.how { font-size: 1.06rem; }
.cite { font-size: .93rem; color: var(--ink2); margin: 0 0 .5em; padding-left: 14px; border-left: 2px solid var(--kraft); }
.codebox { margin: 12px 0 0; }
.codebox .open { font: 600 .95rem var(--sans); background: var(--sheet); border: 0; box-shadow: var(--shadow); padding: .45em .8em .5em; cursor: pointer; color: var(--ink); }
.codebox .open:hover { color: var(--rust); background: #fff; }
.codebox .pm { font-weight: 400; color: var(--ink3); }
.filebox { margin: 1.3em 0; }
.fname { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 0 0 4px; font-size: .95rem; color: var(--ink2); }
.fname code { font-weight: 600; color: var(--ink); font-size: .93rem; overflow-wrap: anywhere; }
.switch { display: inline-flex; gap: 6px; }
.switch button { font: 600 .86rem var(--sans); border: 0; background: transparent; color: var(--ink2); padding: 2px 8px; cursor: pointer; border-bottom: 2px solid transparent; }
.switch button.on { color: var(--ink); border-bottom-color: var(--terra); }
.sheet, pre.code, .cv { position: relative; z-index: 0; }
.cv { margin: 6px 0 0; }
.cv::before, figure.excerpt pre.code::before { content: ""; position: absolute; inset: 0; background: var(--sheet); z-index: -1; box-shadow: var(--shadow); }
.cv .scroller { max-height: 560px; overflow: auto; overscroll-behavior: contain; }
.cv table { border-collapse: collapse; font: 12.6px/1.5 var(--mono); width: 100%; tab-size: 4; }
.cv td { padding: 0 12px 0 0; white-space: pre; vertical-align: top; }
.cv td.n { width: 1%; text-align: right; color: var(--pencil); padding: 0 10px 0 12px; user-select: none; -webkit-user-select: none; }
.cv tr.ed td { background: rgba(206, 176, 128, .24); }
.cv tr.ed td.n { color: var(--rust); box-shadow: inset 3px 0 0 var(--terra); }
.cv tr.add td { background: rgba(163, 180, 150, .34); }
.cv tr.del td { background: rgba(234, 190, 180, .46); }
.cv tr.hunk td { color: var(--ink3); background: rgba(160, 187, 212, .25); }
.cv tr.fh td { font-weight: 700; padding-top: 8px; }
.cv .fold td { color: var(--ink3); font-style: italic; }
.cv .more { display: block; width: 100%; border: 0; border-top: 1px dashed var(--pencil); background: transparent; font: 600 .9rem var(--sans); padding: 8px; cursor: pointer; color: var(--ink2); }
.tk-k { color: #8A3B1F; font-weight: 600; } .tk-s { color: #4E6B3A; } .tk-c { color: #8B8173; font-style: italic; } .tk-n { color: #3B5B88; } .tk-d { color: #7C50AA; } .tk-f { color: #1F4E79; font-weight: 600; }
.instr { margin-top: 1.4em; border-top: 1px dashed var(--pencil); border-bottom: 1px dashed var(--pencil); }
.instr > summary, .numbers > summary, .support > summary { cursor: pointer; font-weight: 600; padding: 11px 0; }
.instr .prose { max-width: 54em; font-size: .98rem; }
.prose pre { background: var(--sheet); box-shadow: var(--shadow); padding: 10px 14px; overflow-x: auto; font: 12.6px/1.5 var(--mono); }
.prose h3 { font-size: 1.2rem; }
.res-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); }
.res-grid h3 { margin-top: .4em; }
.settings { list-style: none; padding: 0; margin: 0 0 1em; }
.settings li { padding: 7px 0 7px 2em; border-top: 1px dashed var(--pencil); position: relative; }
.settings li b { position: absolute; left: 0; top: 5px; font: 400 1.2rem/1.3 var(--sans); color: var(--rust); }
.settings.key { font-size: .9rem; color: var(--ink2); margin-top: 8px; }
.ladder { list-style: none; margin: 0; padding: 0; max-height: 560px; overflow: auto; border-top: 1px dashed var(--pencil); border-bottom: 1px dashed var(--pencil); }
.ladder li { display: flex; align-items: baseline; gap: 2px; padding: 3px 0; font-size: .98rem; }
.ladder li.ag { font-weight: 650; }
.ladder li.ag a { text-decoration: none; border-bottom: 1.5px solid var(--terra); }
.ladder .mn { font: italic 500 .95rem var(--serif); color: var(--ink2); margin-left: 8px; }
.ladder .tick { display: inline-block; width: .72em; margin-right: .38em; border-top: 2px solid var(--pencil); align-self: center; flex: none; }
.ladder li.rf { color: var(--ink2); }
.ladder li.best { color: var(--ink); font-weight: 650; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 2px no-repeat; padding-bottom: 5px; margin-bottom: 4px; }
.ladder li.best .tick { border-top: 4px solid var(--ink); }
.ladder li.control, .ladder li.starter { color: var(--ink3); }
.ladder .bp, .ladder .kd { margin-left: 10px; }
.ladder .sc { margin-left: auto; padding-left: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ladder .sc.fb { color: #CB181D; }
.metric { margin: 1.8em 0 0; padding-top: 12px; border-top: 1px dashed var(--pencil); }
.dir { font: 400 .9rem var(--sans); color: var(--ink3); letter-spacing: 0; margin-left: 8px; }
.def { font-size: .95rem; color: var(--ink2); margin: 0 0 .5em; max-width: 52em; }
.charts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 430px), 1fr)); gap: 22px clamp(20px, 3vw, 44px); margin: 12px 0 6px; }
.chart { margin: 0; min-width: 0; }
.chart figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin: 0 0 6px; font-size: .92rem; color: var(--ink); }
.cs b { font: 400 1.05rem var(--sans); color: var(--rust); margin-right: 3px; }
.cd { font: 650 .76rem/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--rust); white-space: nowrap; }
.brow, .baxis { display: grid; grid-template-columns: minmax(0, 9.6em) minmax(0, 1fr) 4.2em; gap: 0 8px; align-items: center; min-height: 19px; }
.bl { font-size: .86rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink2); }
.brow.ag .bl { font-weight: 650; color: var(--ink); }
.brow.best .bl { color: var(--ink); font-weight: 650; }
.bt { position: relative; height: 13px; border-left: 1px solid var(--pencil); }
.bar { position: absolute; top: 0; bottom: 0; }
.bar.ag { background: var(--c); }
.bar.rf { background: var(--sheet); box-shadow: inset 0 0 0 1.2px #9B8F7E; }
.bar.rf.best { background: var(--kraft); box-shadow: inset 0 0 0 1.4px var(--ink); }
.bar .brk { position: absolute; left: 7px; top: -2px; bottom: -2px; width: 5px; background: var(--paper); transform: skewX(-24deg);
  box-shadow: -1.2px 0 0 var(--ink2), 1.2px 0 0 var(--ink2); }
.bar .clip { position: absolute; right: -1px; top: -2px; bottom: -2px; width: 7px; background: linear-gradient(135deg, transparent 50%, var(--paper) 50%) 0 0 / 7px 50% repeat-y; }
.bv { font-size: .84rem; font-variant-numeric: tabular-nums; text-align: right; color: var(--ink2); white-space: nowrap; }
.brow.ag .bv { color: var(--ink); font-weight: 650; }
.baxis { min-height: 0; margin-top: 2px; }
.baxis .bt { height: auto; border-left: 0; border-top: 1px solid var(--pencil); display: flex; justify-content: space-between; font-size: 11px; color: var(--ink3); padding-top: 1px; }
.bnote { font-size: .82rem; color: var(--ink3); margin: 5px 0 0; }
.sw { display: inline-block; width: 1.5em; height: .72em; margin-right: .45em; vertical-align: -.02em; }
.sw.rf { background: var(--sheet); box-shadow: inset 0 0 0 1.2px #9B8F7E; }
.sw.rf.best { background: var(--kraft); box-shadow: inset 0 0 0 1.4px var(--ink); }
.env { display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: 0; margin: 1.2em 0 .6em; position: relative; z-index: 0; }
.env::before { content: ""; position: absolute; inset: 0; background: var(--sheet); z-index: -1; box-shadow: var(--shadow); }
.env-tree { border-right: 1px dashed var(--pencil); padding: 10px 8px 12px 12px; max-height: 640px; overflow: auto; overscroll-behavior: contain; font-size: .9rem; }
.env-h { font: 600 .78rem/1.3 var(--sans); color: var(--ink3); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 6px; }
.env-tree .file { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; width: 100%; border: 0; background: transparent; text-align: left;
  font: 400 .88rem/1.3 var(--mono); color: var(--ink2); padding: 2px 6px; cursor: pointer; overflow-wrap: anywhere; }
.env-tree .file:hover { color: var(--rust); }
.env-tree .file.on { background: var(--ink); color: #fff; }
.env-tree .file.ed { color: var(--ink); font-weight: 700; box-shadow: inset 3px 0 0 var(--terra); }
.env-tree .file.ed.on { color: #fff; }
.env-tree .file i { font: 650 .68rem var(--sans); font-style: normal; letter-spacing: .05em; text-transform: uppercase; color: var(--rust); flex: none; }
.env-tree .file.on i { color: var(--pink); }
.env-tree .file.prompt { font: 600 .92rem var(--sans); margin-bottom: 4px; }
.env-tree .dir > summary { cursor: pointer; font: 600 .88rem/1.3 var(--mono); padding: 2px 0; color: var(--ink); }
.env-tree .dir { padding-left: 10px; }
.env-tree > .dir { padding-left: 0; }
.env-tree .dir > .file, .env-tree .dir > .dir { margin-left: 8px; width: calc(100% - 8px); }
.env-pane { min-width: 0; display: flex; flex-direction: column; }
.env-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; margin: 0; padding: 9px 14px 8px; border-bottom: 1px dashed var(--pencil); font-size: .88rem; }
.env-path { font-weight: 700; overflow-wrap: anywhere; }
.env-lines { color: var(--rust); font-weight: 600; }
.env-doc { padding: 4px 18px 14px; max-height: 590px; overflow: auto; overscroll-behavior: contain; font-size: .95rem; }
.env-doc h1 { font-size: 1.5rem; margin: .6em 0 .4em; } .env-doc h2 { font-size: 1.2rem; margin: 1.1em 0 .3em; } .env-doc h3 { font-size: 1.05rem; margin: 1em 0 .3em; }
.env-doc pre { box-shadow: none; background: rgba(206, 176, 128, .18); }
.env-code .cv { margin: 0; }
.env-code .cv::before { display: none; }
.env-code .cv .scroller { max-height: 590px; }
.env-code > .note { padding: 12px 14px; }
.scroll { overflow-x: auto; }
.tbl { border-collapse: collapse; font-size: .93rem; font-variant-numeric: tabular-nums; min-width: 100%; }
.tbl th, .tbl td { padding: 5px 12px 5px 0; text-align: right; border-bottom: 1px dashed var(--hair); white-space: nowrap; }
.tbl tbody th, .tbl thead tr:first-child th:first-child, .tbl tfoot th { text-align: left; font-weight: 400; }
.tbl tbody th { position: sticky; left: 0; background: var(--paper); max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
.tbl thead th { font-weight: 650; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.tbl tr.ag th { font-weight: 650; }
.tbl tr.best th { font-weight: 650; }
.tbl tr.control th, .tbl tr.starter th { color: var(--ink3); }
.tbl td.top { font-weight: 700; color: var(--rust); }
.numbers, .support { margin-top: 6px; }
.support { margin-top: 1.6em; border-top: 2px solid var(--ink); }
.acards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px clamp(22px, 4vw, 54px); margin-top: 1.4em; }
.acard { border-top: 2px solid var(--ink); padding-top: 12px; }
.ahead { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 4px; text-decoration: none; font-size: 1.08rem; }
.har { color: var(--ink3); font-size: .9rem; margin-left: 6px; font-weight: 400; }
.state { display: inline-block; font: 650 .78rem/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; margin: 6px 0 0; }
.state.above { color: var(--rust); } .state.level { color: var(--ink2); } .state.below { color: var(--ink3); }
.acard h3 { margin: .5em 0 .4em; font-size: 1.3rem; }
.acard h3 a { text-decoration: none; }
.abs { color: var(--ink2); font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; }
.more { font-weight: 600; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 70px; border-top: 2px solid var(--ink); padding-top: 16px; }
.pager a { text-decoration: none; font: 600 1.3rem/1.2 var(--serif); }
.pager a span { display: block; font: 600 .8rem var(--sans); color: var(--ink3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.pager a:last-child { text-align: right; } .pager.one a { text-align: left; }
.run-head { padding: clamp(18px, 3vw, 34px) 0 0; }
.run-head h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin: .4em 0 .5em; }
.who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 0; font-size: 1.1rem; }
.who .state { margin-left: 14px; }
.run-head .abs { -webkit-line-clamp: unset; display: block; font-size: 1.08rem; color: var(--ink); border-left: 3px solid var(--terra); padding-left: 16px; }
.prov { font-size: .92rem; color: var(--ink3); max-width: 50em; }
.writeup { margin-top: 1.4em; font-size: 1.05rem; line-height: 1.62; }
.writeup h2 { font-size: 1.8rem; margin: 1.7em 0 .5em; border-top: 2px solid var(--ink); padding-top: 14px; }
.writeup h3 { font-size: 1.25rem; }
.writeup p, .writeup li { overflow-wrap: break-word; }
.writeup .katex { font-size: 1.04em; }
.writeup .katex-display { overflow-x: auto; overflow-y: hidden; padding: 4px 0; }
.writeup table { border-collapse: collapse; font-size: .93rem; }
.writeup :not(.tbl) > * > tr > td, .writeup :not(.tbl) > * > tr > th { border-bottom: 1px dashed var(--hair); padding: 4px 12px 4px 0; text-align: left; }
figure.excerpt { margin: 1.3em 0; }
pre.code { margin: 0; padding: 12px 14px; overflow-x: auto; font: 12.6px/1.5 var(--mono); tab-size: 4; }
figcaption { font-size: .9rem; color: var(--ink2); margin-top: 8px; }
figcaption .loc { color: var(--ink3); white-space: nowrap; }
.refs { font-size: .93rem; color: var(--ink2); padding-left: 1.6em; }
.refs li { margin-bottom: .4em; }
.about h2 { margin-top: 1.6em; border-top: 2px solid var(--ink); padding-top: 14px; font-size: 1.9rem; }
.about h1 { margin-bottom: .3em; }
.models { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.matrix th.mcol span { display: inline-block; white-space: normal; max-width: 6.2em; text-align: right; line-height: 1.15; }
.matrix td { text-align: center; }
.matrix td .dot { margin: 0; width: .85em; height: .85em; }
.matrix td.bpm { text-align: left; color: var(--ink2); }
.matrix .arow th { padding-top: 22px; border-bottom: 2px solid var(--ink); background: transparent; }
.matrix tbody th a { text-decoration: none; font-weight: 600; }
.matrix tfoot th, .matrix tfoot td { border-top: 2px solid var(--ink); border-bottom: 0; font-weight: 700; padding-top: 10px; white-space: normal; }
.matrix tfoot td span { display: block; font-weight: 400; font-size: .8rem; color: var(--ink3); }
.tbl td.low, .note .low { color: var(--ink3); }
.tbl td.fb, .note .fb { color: #CB181D; }
.scores td.top, .board-areas td.top { color: var(--ink); font-weight: 750; }
.board { margin-top: 1.4em; font-size: 1.02rem; }
.board thead th { white-space: normal; line-height: 1.2; }
.board thead th:nth-child(n+4) { max-width: 9.5em; }
.board thead th:nth-child(2), .board thead th:nth-child(3) { text-align: left; }
.board tbody th { font-weight: 650; }
.board .har { font-weight: 400; color: var(--ink3); margin-left: .7em; }
.board td.rk { text-align: left; color: var(--ink3); width: 1.4em; padding-right: 8px; }
.board td.sc { text-align: left; width: 42%; min-width: 150px; }
.board td.sc .lt { display: inline-block; width: calc(100% - 3.6em); height: .82em; vertical-align: -.06em; margin-right: .7em; }
.board td.sc .lbar { height: 100%; min-height: 0; }
.board td span { color: var(--ink3); }
.board tr.ref th { font-weight: 600; }
.board tr.ref td, .board tr.ref th { border-bottom-style: solid; border-top: 1px solid var(--pencil); }
.board-areas th.acol span { display: block; white-space: normal; max-width: 8.6em; margin-left: auto; line-height: 1.15; }
.board-areas th.acol small { display: block; font-weight: 400; color: var(--ink3); }
.board-areas tbody th { font-weight: 650; }
.board-areas tr.ref th { font-weight: 600; }
.scores th.mcol span { display: inline-block; white-space: normal; max-width: 6.2em; text-align: right; line-height: 1.15; }
.scores td.bpm { text-align: left; color: var(--ink2); }
.scores td.bps { border-right: 1px solid var(--pencil); padding-right: 12px; }
.scores thead th:nth-child(3) { padding-right: 12px; }
.leaderboard h2 { margin-top: 1.7em; }
.scores .arow th { padding-top: 22px; border-bottom: 2px solid var(--ink); background: transparent; }
.scores tbody th a { text-decoration: none; font-weight: 600; }
.scores tfoot th, .scores tfoot td { border-top: 2px solid var(--ink); border-bottom: 0; padding-top: 10px; }
.scores tfoot th { font-weight: 700; }
@media (max-width: 1000px) {
  .tchunk { flex-basis: 100%; margin-left: 30px; }
  .tchunk + .tchunk .taxis { display: block; }
}
@media (max-width: 860px) {
  .env { grid-template-columns: 1fr; }
  .env-tree { border-right: 0; border-bottom: 1px dashed var(--pencil); max-height: 230px; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .three { grid-template-columns: 1fr; gap: 22px; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .hero-grid, .th-grid, .two, .res-grid, .acards { grid-template-columns: 1fr; }
  .hero-pic { order: -1; max-width: 78%; margin-inline: auto; }
  .th-pic { order: -1; max-width: 72%; margin-inline: auto; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 96px minmax(0, 1fr); gap: 4px 14px; align-items: start; }
  .row .tt { font-size: 1.25rem; }
  .tally { --th: 250px; }
  .tplot .dot { width: 7.6px; height: 7.6px; margin: -3.8px 0 0 -3.8px; }
  .home .hero-pic { display: none; }
  .home .hero { padding-top: 10px; }
  .hero h1.name { font-size: clamp(2.5rem, 12.5vw, 3.1rem); }
  .byline { margin-top: .45em; font-size: 1rem; }
  .ask { font-size: 1.4rem; margin: .6em 0 .3em; }
  .hero .plain { font-size: 1rem; line-height: 1.38; margin: 0; }
  .actions.six { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: .9em; }
  .actions.six .btn { text-align: center; padding: .5em .3em; font-size: .96rem; transform: none; white-space: nowrap; }
  .actions.six .btn.off { padding: calc(.5em - 1px) .3em; }
  .summary { padding-top: 14px; }
  .sum-head { padding-top: 7px; margin-bottom: 2px; }
  .sum-head .more { display: none; }
  .sum-head p { font-size: .92rem; }
  .sum-more { display: block; }
  .lrow { grid-template-columns: minmax(0, 11.9em) minmax(0, 1fr) 2.5em; gap: 0 8px; font-size: .93rem; min-height: clamp(21px, 3.2svh, 29px); }
  .top nav { gap: 11px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .top nav a { font-size: .9rem; white-space: nowrap; }
  .top .wrap { gap: 10px; }
  .board .har, .board td.sc .lt { display: none; }
  .board { font-size: .95rem; }
  .board td.sc { width: auto; min-width: 0; text-align: right; }
  .board thead th:nth-child(3) { text-align: right; max-width: 4.2em; }
  .board thead th:nth-child(n+4) { max-width: 6.4em; font-size: .82rem; }
  .board tbody th { max-width: none; }
  .board th, .board td { padding-right: 8px; }
  .brow, .baxis { grid-template-columns: minmax(0, 7.4em) minmax(0, 1fr) 3.9em; }
  .models { grid-template-columns: 1fr; }
  .top .wrap { padding: 9px 0 8px; }
  .mark { font-size: 1.1rem; }
  .secnav { top: 41px; }
  .cv table { font-size: 11.5px; }
  .pager a { font-size: 1.05rem; }
}
