:root{--ground:#FAF9F6;--ink:#0A0A0A;--soft:#5C5850;--rule:rgba(10,10,10,.2);--hover:rgba(10,10,10,.04);--accent:#0A0A0A;--focus:#0A0A0A;--ink1:#0A0A0A;--ink2:#767674;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--ground:#0A0A0A;--ink:#EFECE4;--soft:#B9B5AA;--rule:rgba(239,236,228,.22);--hover:rgba(239,236,228,.05);--accent:#EFECE4;--focus:#EFECE4;--ink1:#EFECE4;--ink2:#888682;color-scheme:dark}}:root[data-theme="dark"]{--ground:#0A0A0A;--ink:#EFECE4;--soft:#B9B5AA;--rule:rgba(239,236,228,.22);--hover:rgba(239,236,228,.05);--accent:#EFECE4;--focus:#EFECE4;--ink1:#EFECE4;--ink2:#888682;color-scheme:dark}/* Arc Science site. One stylesheet for every page. Tokens, type and chrome follow the approved section prototype (19.XI.2026). */
/* The colour tokens (--ground, --ink, --soft, --rule, --hover, --accent, --focus, --ink1, --ink2) of both looks are written by build.py
   from its PALETTE, in front of this file. Only the type and spacing tokens live here. */
:root{
 --sans:"Segoe UI Variable Display","Segoe UI Variable Text","Segoe UI","SF Pro Display",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;
 --gut:clamp(16px,4.4vw,64px);
 --dim:var(--soft)}
*{box-sizing:border-box}
html{scroll-padding-top:80px}   /* anchors and the skip link land below the sticky header */
body{margin:0;background:var(--ground);color:var(--ink);font:400 17px/1.55 var(--sans);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-underline-offset:4px;text-decoration-thickness:1px}
:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
button,input,select,textarea,pre,code,kbd,samp,summary{font-family:inherit}   /* the one font: form controls and pre take the page stack, not the browser default */

/* header: the name on the left; the sections, GitHub, Dark and Pause on the right */
header{position:sticky;top:0;z-index:10;height:64px;padding:0 var(--gut);display:flex;align-items:center;gap:24px;background:var(--ground)}
.mark{display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:17px;letter-spacing:-.01em;text-decoration:none;white-space:nowrap}
.mark svg{width:22px;height:22px;display:block;flex:none}
header nav{display:flex;gap:28px;margin-left:auto}
header nav a,.ctl button{font:inherit;font-size:14px;color:var(--soft);text-decoration:none;background:none;border:0;padding:6px 0;cursor:pointer;white-space:nowrap}
header nav a:hover,.ctl button:hover,header nav a[aria-current]{color:var(--ink)}
header nav a:hover,.ctl button:hover{text-decoration:underline}
.ctl{display:flex;gap:20px}

main{position:relative}
main:focus{outline:none}
section{position:relative;padding:44px var(--gut) 8px}
/* the hero of a project: the picture and the title block fill the first screen, the title block stands next to the picture (Danil, 19.XI.2026: "too much free space") */
section.hero{overflow:clip;--cw:clamp(340px,33vw,600px);--gap:28px;min-height:calc(100vh - 64px);min-height:calc(100svh - 64px);display:flex;align-items:center;padding-top:24px;padding-bottom:24px}
.col{position:relative;z-index:3;width:var(--cw);max-width:100%}
/* a soft ground-coloured patch under the title block: when the picture reaches toward the text, the structure dissolves behind it and the words stay clear */
.col::before{content:"";position:absolute;z-index:-1;inset:-90px -150px -90px -90px;background:radial-gradient(ellipse closest-side,var(--ground) 62%,transparent 100%)}
.hero.flip .col::before{inset:-90px -90px -90px -24px}   /* the patch stays out of the clear hero canvas on its left: a gradient inside that box re-rasters after Pause (R1, 23.XI.2026) */
.wide{position:relative;z-index:3}   /* content runs to the same right edge as the header; running text keeps its own measure */

/* type */
h1,h2,h3{margin:0;position:relative}
h1{font-weight:300;font-size:clamp(54px,7.6vw,112px);line-height:.95;letter-spacing:-.035em;margin:0 0 22px}
.hero h1{font-size:clamp(48px,6vw,92px)}
h2{font-weight:300;font-size:clamp(34px,3.9vw,54px);line-height:1.04;letter-spacing:-.025em;margin:0 0 24px}
h3,.h3{font-weight:500;font-size:21px;letter-spacing:-.012em;line-height:1.25;margin:0}
.docsec{margin:44px 0 6px}
.plain h1{font-size:clamp(34px,3.9vw,54px);line-height:1.04;letter-spacing:-.025em;margin:0 0 20px}
.line{font-size:18.5px;line-height:1.5;margin:0 0 20px;max-width:46ch}
.prose{max-width:66ch;margin:0 0 16px;font-size:17.5px}
.kk{font-size:12px;font-weight:400;line-height:1.55;letter-spacing:.08em;text-transform:uppercase;color:var(--soft);margin:0 0 14px}

/* buttons */
.actions{display:flex;gap:12px;margin-top:26px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;min-height:46px;padding:0 22px;border:1px solid var(--ink);border-radius:2px;text-decoration:none;font-size:15px;font-weight:500;background:transparent;color:var(--ink)}
.btn.solid{background:var(--ink);color:var(--ground)}
.btn:hover{background:var(--ink);color:var(--ground)}
.btn.solid:hover{opacity:.86}

.block{margin:0 0 44px}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:0 36px;counter-reset:s}
.steps li{counter-increment:s;padding:14px 0 26px}
.steps li::before{content:counter(s,decimal-leading-zero);display:block;font:400 12px var(--sans);color:var(--soft);margin-bottom:8px}
.steps b{display:block;font-weight:500;font-size:18px;margin-bottom:6px;letter-spacing:-.01em}
.steps span{display:block;font-size:15px;line-height:1.5;color:var(--soft)}
table{width:100%;border-collapse:collapse;font-size:12.5px;line-height:1.45}
th{font-weight:400;text-align:left;color:var(--soft);letter-spacing:.06em;text-transform:uppercase;font-size:12px;padding:0 14px 10px 0;border-bottom:1px solid var(--ink)}
td{padding:11px 14px 11px 0;vertical-align:top}   /* a table keeps one rule, under its head; rows are set apart by space */
td.v{font:500 17px var(--sans);letter-spacing:-.01em;white-space:nowrap}
td.v small{font:400 12px var(--sans);color:var(--soft);letter-spacing:0;margin-left:6px}
td.l{font:400 15.5px/1.4 var(--sans);max-width:34ch}
.ev{display:inline-block;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--soft);white-space:nowrap}
.ev.measured,.ev.published{color:var(--ink)}
.legend{margin:16px 0 0;font-size:12px;color:var(--soft);max-width:80ch;line-height:1.7}
.mt20{margin-top:20px}.mt24{margin-top:24px}.mt34{margin-top:34px}
.lk{display:flex;flex-wrap:wrap;gap:8px 26px;font-size:15px}
.limits{margin:0;padding:0;list-style:none}
.limits li{padding:0 0 14px;max-width:76ch;font-size:16px;line-height:1.5}
.docs{list-style:none;margin:0;padding:0}
.docs>li{display:grid;grid-template-columns:150px 1fr auto;gap:8px 28px;padding:0 0 30px;align-items:baseline}   /* no rule between items: space sets them apart */
.docs .tag{font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:var(--soft)}
.docs .ti{font-size:19px;line-height:1.3;letter-spacing:-.01em}
.docs .ti a{text-decoration:none}.docs .ti a:hover{text-decoration:underline}
.docs .au{display:block;font-size:13px;color:var(--soft);margin-top:5px}
.docs details{grid-column:2/3;margin-top:4px}
.docs summary{cursor:pointer;font-size:13px;color:var(--soft)}
.docs details p{font-size:15.5px;line-height:1.55;color:var(--soft);margin:10px 0 0;max-width:68ch}
.docs .go{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.docs .go a{font-size:13px;font-weight:500;text-decoration:none;border:1px solid var(--ink);border-radius:2px;padding:7px 12px;white-space:nowrap}
.docs .go a:hover{background:var(--ink);color:var(--ground)}
.docs .go span{font-size:13px;color:var(--soft);white-space:nowrap}
.people{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.person{border-top:1px solid var(--ink);padding-top:18px}
.person .role{font:400 12px var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--soft);margin:6px 0 18px}
.person ul{list-style:none;margin:0 0 18px;padding:0}
.person li{padding:11px 0;border-top:1px solid var(--rule);font-size:16px;line-height:1.5}
.person .links{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:15px}
.note{font-size:13.5px;line-height:1.6;color:var(--soft);max-width:90ch;margin:28px 0 0}
.tools{list-style:none;margin:0;padding:0}   /* no rule lines: space sets the rows apart (Danil, 23.XI.2026: "remove lines as delimiters") */
.tools a{display:grid;grid-template-columns:150px 1fr;gap:18px;padding:14px 0;text-decoration:none;align-items:baseline}
.tools a:hover{background:var(--hover)}
.tools .n{font-weight:500;font-size:19px}.tools .d{color:var(--soft);font-size:16px;line-height:1.45}
.next{display:flex;justify-content:space-between;align-items:baseline;gap:18px 28px;flex-wrap:wrap;margin:8px 0 14px;font-size:15px}
.next a{text-decoration:none}.next a:hover{text-decoration:underline}

/* footer */
footer{display:flex;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;padding:28px var(--gut) 36px;border-top:1px solid var(--rule);font-size:14px;color:var(--soft);position:relative;z-index:3;background:var(--ground)}
footer a{text-decoration:none;margin-right:20px}footer a:last-child{margin-right:0}footer a:hover{color:var(--ink);text-decoration:underline}

/* home */
/* The home page is one scroll story (build.py home(); Danil, 23.XI.2026, in the taste of swissgrid.posterhouse.org). One idea per screen:
   the name, the slogan, the lead, the word Programmes, then one screen per programme. Each screen (.scr) is one window high under the top bar.
   One canvas of the picture engine (.sbg, sticky) stands behind the whole story. section.js writes the screen on show into data-at and
   moves the canvas to the place of each screen at the speed of the scroll. The words move with the scroll: each screen is a
   view timeline (--scr), and its words take the entrance of the screen (transforms and opacity only). A browser with no scroll timelines,
   reduced motion and Pause show every word at rest. The story clips sideways only, so a word that comes from the side makes no page scroll. */
.story{position:relative;--hh:64px;overflow-x:clip;padding:0}
.sbg{position:sticky;top:var(--hh);z-index:0;height:calc(100vh - var(--hh));height:calc(100svh - var(--hh))}
.sbg+.scr{margin-top:calc(var(--hh) - 100vh);margin-top:calc(var(--hh) - 100svh)}   /* the first screen lies over the picture; the picture box itself ends with the story, so it never runs over the next section */
.sbx{position:absolute;inset:0;will-change:transform,opacity}
.sbx canvas.stage{position:absolute;inset:0;width:100%;height:100%;display:block}
.scr{position:relative;z-index:2;box-sizing:border-box;height:calc(100vh - var(--hh));height:calc(100svh - var(--hh));min-height:0;padding:0 var(--gut);display:flex;align-items:center;pointer-events:none;view-timeline:--scr block}
.scr a,.scr button,.scr .rctl{pointer-events:auto}   /* a screen lets a drag through to the picture; only its links and buttons take the pointer */
/* the place of the picture for each screen (beside the name, behind the slogan and the lead, then on the other side of each programme)
   is set by section.js from the scroll, in the same step as the melt (Danil, 24.XI.2026), so the slide has no timed transition here */
.story .sbx{transform:none;opacity:1}
/* screen 0: the name, very large, in two lines; the button and the look switch under it */
.s0{flex-direction:column;align-items:flex-start;justify-content:flex-end;padding-bottom:20px}
.s0 .copy{margin-bottom:26px}
.hn{margin:0;font-weight:300;font-size:clamp(64px,11.6vw,196px);line-height:.9;letter-spacing:-.05em}
.hn .w{display:block}
.s0 .btn{margin-top:26px;padding:0 24px;min-height:48px}
.s0 .rctl{margin:0;max-width:100%}
/* screen 1: the slogan in three lines, centred */
.s1,.s2,.s3{justify-content:center;text-align:center}
.slg{margin:0;font-weight:300;font-size:clamp(30px,9.4vw,140px);line-height:1;letter-spacing:-.045em}
.slg .ln{display:block}
/* screen 2: the lead, one centred paragraph in large light type */
.lead{margin:0;max-width:23em;font-weight:300;font-size:clamp(23px,3.1vw,46px);line-height:1.24;letter-spacing:-.018em}
.lead .lw{display:inline-block}
/* screen 3: the word Programmes and its line */
.s3 .pin{display:flex;flex-direction:column;align-items:center}
.s3 .cn,.pnum{font-size:14px;letter-spacing:.06em;color:var(--soft);line-height:1}
.s3 .big{margin:.35em 0 .3em;font-weight:300;font-size:clamp(54px,12.6vw,210px);line-height:.92;letter-spacing:-.05em}
.s3 .line{margin:0 auto;max-width:34ch;font-size:clamp(18px,1.5vw,22px)}
/* screens 4 to 7: one programme each. The name is very large; the picture stands on the other side */
.sp .pgo{display:flex;flex-direction:column;align-items:flex-start;max-width:44vw;text-decoration:none}
.sp.right .pgo{margin-left:auto;align-items:flex-end;text-align:right}
.pname{margin:.3em 0 .32em;font-weight:300;font-size:clamp(52px,9.6vw,164px);line-height:.94;letter-spacing:-.05em}
.pname .pm{display:block}
.pname .w{display:inline-block}
.pnum span{color:var(--soft)}
.prow{font-size:clamp(18px,1.55vw,23px);line-height:1.35;max-width:24ch;color:var(--ink)}
.pgo:hover .pname{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.12em}
.m-crop .pm{overflow:clip;padding:.2em 0 .32em;margin:-.2em 0 -.32em}   /* the crop mask holds the descenders and the accents, so it cuts no letter at rest */
/* the moves: each screen has its own entrance and a calm exit (scroll-driven; transforms and opacity only) */
@supports (animation-timeline:view()){@media (prefers-reduced-motion:no-preference){
 html:not([data-motion="off"]) .scr :is(.hn .w,.slg,.slg .ln,.lead,.lead .lw,.pin,.s3 .big,.s3 .line,.pgo,.pname .w,.pname .pm,.prow,.pnum,.s0 .btn,.s0 .rctl){animation:auto linear both;animation-timeline:--scr}
 html:not([data-motion="off"]) .hn .w.l{animation-name:st-out-l;animation-range:exit 0% exit 85%}
 html:not([data-motion="off"]) .hn .w.r{animation-name:st-out-r;animation-range:exit 0% exit 85%}
 html:not([data-motion="off"]) .s0 .btn,html:not([data-motion="off"]) .s0 .rctl{animation-name:st-fade-out;animation-range:exit 0% exit 45%}
 html:not([data-motion="off"]) .slg .ln0{animation-name:st-in-l;animation-range:entry 15% entry 100%}
 html:not([data-motion="off"]) .slg .ln1{animation-name:st-in-r;animation-range:entry 25% entry 100%}
 html:not([data-motion="off"]) .slg .ln2{animation-name:st-in-up;animation-range:entry 35% entry 100%}
 html:not([data-motion="off"]) .slg{animation-name:st-shrink;animation-range:exit 5% exit 90%}
 html:not([data-motion="off"]) .lead .lw{animation-name:st-light;animation-range:cover calc(10% + var(--i)*1.05%) cover calc(17% + var(--i)*1.05%)}
 html:not([data-motion="off"]) .lead{animation-name:st-rise-out;animation-range:exit 10% exit 90%}
 html:not([data-motion="off"]) .s3 .big{animation-name:st-grow;animation-range:entry 0% entry 100%}
 html:not([data-motion="off"]) .s3 .line{animation-name:st-fade;animation-range:entry 60% cover 52%}
 html:not([data-motion="off"]) .pin{animation-name:st-rise-out;animation-range:exit 15% exit 95%}
 html:not([data-motion="off"]) .m-slide .pname .w{animation-name:st-in-l;animation-range:entry 10% entry 100%}
 html:not([data-motion="off"]) .m-slide .pname .w+.w{animation-range:entry 20% entry 100%}
 html:not([data-motion="off"]) .m-split .pname .w.l{animation-name:st-in-l;animation-range:entry 10% entry 100%}
 html:not([data-motion="off"]) .m-split .pname .w.r{animation-name:st-in-r;animation-range:entry 10% entry 100%}
 html:not([data-motion="off"]) .m-scale .pname .pm{animation-name:st-zoom;animation-range:entry 0% entry 100%;transform-origin:0 70%}
 html:not([data-motion="off"]) .m-crop .pname .w{animation-name:st-crop;animation-range:entry 30% entry 100%}
 html:not([data-motion="off"]) .m-crop .pname .w+.w{animation-range:entry 42% entry 100%}
 html:not([data-motion="off"]) .sp .prow{animation-name:st-fade-up;animation-range:entry 55% cover 50%}
 html:not([data-motion="off"]) .sp .pnum{animation-name:st-fade;animation-range:entry 40% entry 100%}
 html:not([data-motion="off"]) .sp .pgo{animation-name:st-rise-out;animation-range:exit 20% exit 95%}}}
@keyframes st-out-l{to{transform:translateX(-34vw);opacity:0}}
@keyframes st-out-r{to{transform:translateX(34vw);opacity:0}}
@keyframes st-fade-out{to{opacity:0}}
@keyframes st-in-l{from{transform:translateX(-46vw);opacity:0}}
@keyframes st-in-r{from{transform:translateX(46vw);opacity:0}}
@keyframes st-in-up{from{transform:translateY(34vh);opacity:0}}
@keyframes st-shrink{to{transform:scale(.72);opacity:0}}
@keyframes st-light{from{opacity:.2}}
@keyframes st-rise-out{to{transform:translateY(-14vh);opacity:0}}
@keyframes st-grow{from{transform:scale(.3);opacity:0}}
@keyframes st-fade{from{opacity:0}}
@keyframes st-fade-up{from{transform:translateY(5vh);opacity:0}}
@keyframes st-zoom{from{transform:scale(2.3);opacity:0}}
@keyframes st-crop{from{transform:translateY(150%)}}
/* after the story: Platform, Reports and Team open with their name set very large (the chapter openers of the article) */
.hsec .cho{min-height:42vh;min-height:42svh;padding-bottom:2vh}
@media(max-width:820px){.hsec .cho{min-height:28vh;min-height:28svh;padding:4vh 0 2vh}}
/* end home */

/* the picture of a hero: a canvas of the picture engine. An analytic field and a thumb take no drag. */
.stage{cursor:grab;touch-action:pan-y;opacity:0}
.stage[aria-hidden="true"]{cursor:default}
/* the picture of a project hero fills the box beside the title block */
.hero .stage{position:absolute;z-index:4;top:8px;right:var(--gut);left:auto;width:calc(100% - 2*var(--gut) - var(--cw) - var(--gap));height:calc(100% - 16px)}
.stage.on{opacity:1}.stage.grab{cursor:grabbing}
.stage:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}
.hero.flip{justify-content:flex-end}
.hero.flip .stage{right:auto;left:var(--gut)}
.rctl{display:flex;flex-wrap:wrap;gap:12px 14px;margin-top:18px}
.rmode{display:inline-flex;border:1px solid var(--ink);border-radius:2px}
.rmode button{font:500 14px var(--sans);border:0;background:transparent;color:var(--ink);height:36px;padding:0 16px;cursor:pointer}
.rmode button+button{border-left:1px solid var(--ink)}
.rmode button.on{background:var(--ink);color:var(--ground)}
.rmode button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}

/* scenes: frameless, ink on the page */
.scene{position:relative;width:100%;height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto}   /* the picture (.pic) and, under it, the band of the formulas (.eqs) */
.scene .pic{position:relative;min-width:0;min-height:0;height:100%}
.scene canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.scene .lb{position:absolute;left:0;top:0;font:400 var(--ls,13px)/1.25 var(--sans);color:var(--ink);white-space:nowrap;text-align:center;pointer-events:none;opacity:0}   /* a label of a picture: the scene script puts it next to its part and sets its size (--ls: 13 px, 12 px on a narrow picture) */
.scene canvas.sv{opacity:0;pointer-events:none}
/* the thermodynamic cycle: the ΔG symbol of a leg is a copy of its formula term, in the font of the formulas; the scene script places it beside its arrow (--lgs: 18 px, so a script is 12.6 px).
   Alchemical terms take palette colour 1, the colour of the alchemical legs and of the mutant side chain; binding terms keep colour 6, the colour of the drug. */
.scene .pic .eq.lg{position:absolute;left:0;top:0;font-size:var(--lgs,18px);line-height:1;white-space:nowrap;pointer-events:none}
.scene[data-scene="cycle"] [data-part^="alch"]{--pc:var(--pt1)}
/* the transport plan: the cells have palette colour 3, so the term P of the formulas has it too. The pointer or the keyboard cursor lights a row band, a column band and the cell.
   The canvas takes the focus, so the cell cursor shows the focus; the canvas itself has no outline, because a scene has no frame. */
.scene[data-scene="sink"] [data-part="plan"]{--pc:var(--pt3)}
.scene[data-scene="sink"] canvas.sk{outline:none}
.scene .skh{position:absolute;left:0;top:0;pointer-events:none;opacity:0;box-sizing:border-box}
.scene .skh.r,.scene .skh.c{background:color-mix(in srgb,var(--pt3) 16%,transparent)}
.scene .skh.x{border:1.5px solid var(--ink)}
.scene .skh.x.kb{border-width:2px}
.exh{font-size:clamp(28px,3vw,42px);margin:0 0 30px}
/* a scroll scene: the sticky picture (.exv) beside the steps (.exs). --exh: the height of the picture.
   The picture is held centred in the viewport under the 64 px top bar, so at the reading position of every step (its text centred there) the whole picture shows.
   The list has padding of half the height difference between the picture and a step (56vh), so the hold starts before step 1 and ends after the last step. */
.ex{--exh:min(76vh,680px);display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:48px;align-items:start}
.ex.flip{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}.ex.flip .exv{order:2}
.exv{position:sticky;top:calc(32px + 50vh - var(--exh)/2);height:var(--exh)}
.exs{list-style:none;margin:0;padding:max(0px,calc((var(--exh) - 56vh)/2)) 0}
.exs li{min-height:56vh;display:flex;flex-direction:column;justify-content:center;opacity:.85}   /* .85 keeps the soft hint lines of a step at 4.5:1 or more */
.exs li.on{opacity:1}
.exs b{position:relative;font-weight:400;font-size:clamp(22px,2.3vw,32px);letter-spacing:-.02em;line-height:1.15;margin-bottom:12px}
.exs p{margin:0;font-size:17.5px;line-height:1.58;max-width:40ch}
.exs .plain{margin-top:14px}
.exs .look{font:400 13px/1.5 var(--sans);color:var(--soft);margin-top:12px;max-width:44ch}
html[data-motion="off"] .exs li{opacity:1}
/* formulas: MathML in Latin Modern Math (the @font-face and the part colours --pt0 to --pt7 are written by build.py eq_css).
   All formulas of a scene share one grid cell, so the band has the height of the tallest one and never jumps. */
.eqs{display:grid;justify-items:center;align-items:center;min-width:0;padding:10px 0 2px}
.eq{grid-area:1/1;font-size:clamp(19px,1.9vw,26px);line-height:1.25;color:var(--ink);opacity:0;pointer-events:none;white-space:nowrap}
.eq.on{opacity:1}
.eq math{font-family:"Latin Modern Math",math;margin:0}
.eq [data-part]{--pc:var(--ink);color:color-mix(in srgb,var(--pc) 55%,var(--ink))}   /* a term that names a part of the picture has the colour of that part */
.eq [data-part].lit{color:color-mix(in srgb,var(--pc) 85%,var(--ink));text-shadow:0 0 .7px currentColor}   /* and it lights while that part moves: a stronger colour and a heavier stroke */
:root[data-theme="dark"] .eq [data-part].lit{color:var(--pc);text-shadow:0 0 .5em color-mix(in srgb,var(--pc) 60%,transparent)}   /* on black it glows */
@media(prefers-reduced-motion:no-preference){html:not([data-motion="off"]) .eq [data-part]{transition:color .35s ease,text-shadow .35s ease}}

/* a plain report row (a page with no chapter rhythm): a small heading and its paragraphs, no rule lines */
.scis .sci{display:grid;grid-template-columns:190px minmax(0,1fr);gap:8px 40px;padding:20px 0}
.sci h2{font:400 12px var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--soft);padding-top:6px;margin:0}
.sci p{margin:0;max-width:76ch;font-size:17.5px;line-height:1.64}
.sci p+p{margin-top:14px}
.sci .refs{font:400 12px/1.55 var(--sans);color:var(--soft);margin-top:14px}
.figs-fold{padding:10px 0}
.figs-fold summary{cursor:pointer;font-size:14px;color:var(--soft)}
.figs-fold table{margin-top:18px}
.tldr{font-size:clamp(21px,2vw,28px);font-weight:300;line-height:1.38;letter-spacing:-.015em;max-width:50ch;margin:0 0 22px}
.sys-scene{height:min(62vh,540px)}
.sys-split{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:28px;align-items:start}
.sys-companion{width:100%;min-height:540px}
@media (min-width:861px){.sys-companion{position:sticky;top:82px;height:min(740px,calc(100vh - 112px))}}
@media (max-width:860px){.sys-split{grid-template-columns:1fr;gap:20px}.sys-companion{min-height:420px;height:420px}}
.bib{font:400 12.5px/1.6 var(--sans);margin:16px 0 0;white-space:pre-wrap}
.cite-ref{margin:18px 0 0;max-width:62ch;font-size:16px;line-height:1.55;color:var(--ink)}
.cite-ref cite{font-style:italic}
.cite-bib{display:grid;grid-template-columns:max-content minmax(0,62ch);gap:6px 28px;margin:22px 0 0;font-size:13.5px;line-height:1.5}
.cite-bib dt{color:var(--soft);font-variant-numeric:tabular-nums}
.cite-bib dd{margin:0;color:var(--ink);overflow-wrap:anywhere}
.cite-copy{margin:22px 0 4px;padding:8px 14px;font:inherit;font-size:13.5px;color:var(--ink);background:none;border:1px solid var(--ink);cursor:pointer}
.cite-copy:hover,.cite-copy:focus-visible{background:var(--ink);color:var(--ground)}
@media(max-width:560px){.cite-bib{grid-template-columns:1fr;gap:2px 0}.cite-bib dd{margin-bottom:8px}}
.block.scis{margin-bottom:0}
.scis+.rv.block{margin-top:44px}
.block:last-child{margin-bottom:24px}
.block:has(>.figs-fold){margin-bottom:0}
.block:has(>.figs-fold)+.block:not(:has(>.figs-fold)){margin-top:44px}

/* article */
/* The article of a project page (build.py report_html; Danil, 23.XI.2026). One idea per screen, in the taste of swissgrid.posterhouse.org:
   - the report text stands in one centred column of about 66 characters (--colw), with generous space and no rule lines;
   - a chapter opens with its number and its name set very large on an almost empty screen (.cho, .ch);
   - the name enters in one of four ways, in turn: slide, split, scale, crop. The scroll drives the entrance (a view timeline), and it uses
     transforms and opacity only. A browser with no scroll timelines, reduced motion and Pause show the name at rest;
   - the concept blocks (.cb, assets/concept.js) and the scroll scenes (.ex) are the wide pictures between the chapters.
   The column is set for long reports (6000 to 9000 words): 18.5 px type at 1.72 line height, and paragraphs that keep their own space. */
.art{--colw:29.5em;padding-top:10vh}   /* 29.5em of 18.5 px type: about 66 characters per line (measured) */
.art .lede,.art .sci,.art .endm{max-width:var(--colw);margin-left:auto;margin-right:auto;font-size:18.5px}
.art .lede{margin-bottom:4vh}
.art .tldr{font-size:clamp(23px,2.3vw,32px);line-height:1.32;max-width:none;margin:0}
.art .sci{display:block;padding:0;margin-bottom:14vh}
.art .sci p{font-size:inherit;line-height:1.72;max-width:none;margin:0}
.art .sci p+p{margin-top:1.05em}
/* .cho clips only sideways (the slide and split entrances start off the column), so no large letter is ever cut at its top or its foot */
.cho{min-height:62vh;min-height:62svh;display:flex;align-items:center;overflow-x:clip;overflow-y:visible;padding:8vh 0 6vh;view-timeline:--cho block}
.ch{margin:0;max-width:100%;font-weight:300;font-size:clamp(40px,10.2vw,156px);line-height:.94;letter-spacing:-.045em}
.ch .cn{display:block;font-size:14px;font-weight:400;letter-spacing:.06em;line-height:1;color:var(--soft);margin:0 0 .6em .2em}
.ch .ct{display:block}
.ch .w{display:inline-block}
@supports (animation-timeline:view()){@media (prefers-reduced-motion:no-preference){
 html:not([data-motion="off"]) .ch .w,html:not([data-motion="off"]) .ch .cn,html:not([data-motion="off"]) .ch.scale .ct{animation:auto linear both;animation-timeline:--cho;animation-range:entry 0% cover 42%}
 html:not([data-motion="off"]) .ch .cn{animation-name:ch-fade}
 html:not([data-motion="off"]) .ch.slide .w{animation-name:ch-slide}
 html:not([data-motion="off"]) .ch.slide .w:nth-child(2){animation-range:entry 5% cover 46%}
 html:not([data-motion="off"]) .ch.slide .w:nth-child(n+3){animation-range:entry 10% cover 50%}
 html:not([data-motion="off"]) .ch.split .w.l{animation-name:ch-left}
 html:not([data-motion="off"]) .ch.split .w.r{animation-name:ch-right}
 html:not([data-motion="off"]) .ch.scale .w{animation:none}
 html:not([data-motion="off"]) .ch.scale .ct{animation-name:ch-scale;transform-origin:0 60%}
 /* the crop mask: its box reaches .32em below the line box and .2em above it (the descenders of g, p, y and the accents), and the negative
    margins give that space back, so the mask cuts no letter at rest (Danil, 23.XI.2026: the foot of a large heading was cut, with a stray mark below) */
 html:not([data-motion="off"]) .ch.crop .ct{overflow:clip;padding:.2em 0 .32em;margin:-.2em 0 -.32em}
 html:not([data-motion="off"]) .ch.crop .w{animation-name:ch-crop}
 html:not([data-motion="off"]) .ch.crop .w:nth-child(2){animation-range:entry 4% cover 46%}
 html:not([data-motion="off"]) .ch.crop .w:nth-child(n+3){animation-range:entry 8% cover 50%}}}
@keyframes ch-fade{from{opacity:0}}
@keyframes ch-slide{from{opacity:0;transform:translateX(-22vw)}}
@keyframes ch-left{from{opacity:0;transform:translateX(-30vw)}}
@keyframes ch-right{from{opacity:0;transform:translateX(30vw)}}
@keyframes ch-scale{from{opacity:0;transform:scale(1.5)}}
@keyframes ch-crop{from{transform:translateY(150%)}}   /* 150 % of the word: the whole word starts below the deeper mask */
.art .endm{margin-bottom:6vh}
/* the end matter of the article shows at rest: its fade-in cost one frame of 67 ms on a page of 9000 words on a processor four times slower (T2/SB long.cjs) */
.js .art .endm .rv{opacity:1;transform:none;transition:none}
.art .endm .docs>li{grid-template-columns:minmax(0,1fr) auto}
.art .endm .docs .tag{display:none}
.art .endm .refs{font-size:15px;color:var(--soft);margin:0 0 26px}
.art .endm .kk{margin-top:4vh}
.art .graph.sys{margin-top:0}
.art .next{margin:16vh 0 4vh;font-size:15px}
.art .next .nx{margin-left:auto}
.art .next .nx a{display:inline-block;font-weight:300;font-size:clamp(40px,7.2vw,112px);line-height:1;letter-spacing:-.04em;text-decoration:none}
.art .next .nx a:hover{text-decoration:underline;text-decoration-thickness:2px}
/* the chapter index: one small control in the lower left corner that opens the numbered list. It shows once the hero has left the screen. */
.cidx{position:fixed;z-index:9;left:calc(var(--gut) - 12px);bottom:14px;visibility:hidden;opacity:0}
.cidx.on{visibility:visible;opacity:1}
.cidx button{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 12px;border:0;background:radial-gradient(closest-side,var(--ground) 62%,color-mix(in srgb,var(--ground) 0%,transparent));color:var(--ink);font:500 13px/1 var(--sans);letter-spacing:.02em;cursor:pointer}
.cidx .cidx-of{color:var(--soft);font-weight:400}
.cidx .cidx-of::before{content:"/ "}
.cidx .cidx-t{font-weight:400;max-width:22ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cidx ol{display:none;list-style:none;margin:0;padding:12px 12px 6px;position:absolute;left:0;bottom:100%;max-height:min(70vh,520px);overflow:auto;background:var(--ground);min-width:15em}   /* the open list needs its ground, so the page does not show through the names */
.cidx.open ol{display:grid;gap:2px}
.cidx ol a{display:grid;grid-template-columns:2.4em auto;align-items:baseline;min-height:32px;padding:4px 0;font-size:14px;line-height:1.3;color:var(--soft);text-decoration:none}
.cidx ol a:hover,.cidx ol a[aria-current]{color:var(--ink)}
.cidx ol .n{font-size:12px;letter-spacing:.04em}
@media(prefers-reduced-motion:no-preference){html:not([data-motion="off"]) .cidx{transition:opacity .3s ease,visibility 0s linear .3s}html:not([data-motion="off"]) .cidx.on{transition:opacity .3s ease}}
/* the concept block: linked views in one row (build.py writes one .cb-v per view, three as a rule). The block is tall and its pin is sticky,
   so the scroll gives one progress value to every view (assets/concept.js). With Pause or reduced motion the block is one still state. */
.cb{position:relative;z-index:3;height:310vh;margin:6vh 0 12vh}
.cb-pin{position:sticky;top:64px;height:calc(100vh - 64px);height:calc(100svh - 64px);display:flex;flex-direction:column;justify-content:center;gap:clamp(18px,3.4vh,34px)}
.cb-h{margin:0;font-weight:300;font-size:clamp(28px,3.3vw,48px);line-height:1.04;letter-spacing:-.025em}
.cb-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,3.2vw,56px);height:min(50vh,470px)}
/* a block with two views or four views: the row takes one column per view (a fourth view: RNAv, agent SC) */
.cb-row:has(>.cb-v:nth-child(2):last-child){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.cb-row:has(>.cb-v:nth-child(4)){grid-template-columns:minmax(0,1.1fr) repeat(3,minmax(0,1fr))}
.cb-v{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0}
.cb-cap{order:-1;margin:0 0 14px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--soft)}
.cb-eqs{display:grid;gap:clamp(12px,2.4vh,22px);justify-items:start;margin-top:auto;margin-bottom:auto}
.cb .eq{grid-area:auto;font-size:clamp(17px,1.55vw,24px);transition:none}
.cb .eq math{display:block;text-align:left}
.cb-name{margin:10px 0 0;font-size:15px;color:var(--soft);min-height:1.4em}
.cb-pl{position:absolute;transform:translate(-50%,-50%);font-size:12px;color:var(--soft);white-space:nowrap;pointer-events:none}   /* a label over a structure view (concept.js labels) */
.cb-key{display:flex;justify-content:center;gap:18px;margin:6px 0 0;font-size:12px;color:var(--soft)}   /* the key of the channels under a structure view */
.cb-pd{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;vertical-align:0}   /* the key dot: the tone of one channel */
.cb-svg{flex:1 1 0;width:100%;min-height:0;display:block;overflow:visible}
.cb-cv{flex:1 1 0;width:100%;min-height:0;display:block}
.cb-v.cb-off .cb-cv{visibility:hidden}
.cb-ts{display:grid;max-width:var(--colw,29.5em)}
.cb-t{grid-area:1/1;margin:0;font-size:17px;line-height:1.55;opacity:0}
.cb-t.on{opacity:1}
@media(prefers-reduced-motion:no-preference){html:not([data-motion="off"]) .cb-t{transition:opacity .45s ease}}
/* the marks of a plot: thin lines and dots in the colours of the parts (--pt0 to --pt7 from the palette); labels in the page font */
.cb-ax{fill:none;stroke:var(--soft);stroke-width:1;vector-effect:non-scaling-stroke}
.cb-ref{fill:none;stroke:color-mix(in srgb,var(--ink) 24%,var(--ground));stroke-width:1;stroke-dasharray:3 4;vector-effect:non-scaling-stroke}
.cb-ghost{fill:none;stroke:color-mix(in srgb,var(--pt1) 55%,var(--ground));stroke-width:1.5;vector-effect:non-scaling-stroke}
.cb-run{fill:none;stroke:color-mix(in srgb,var(--pt1) 55%,var(--ink));stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.cb-dot{fill:color-mix(in srgb,var(--pt1) 55%,var(--ink))}
.cb-mark{fill:var(--ground);stroke:var(--soft);stroke-width:1.2;vector-effect:non-scaling-stroke}
.cb-mark.on{fill:var(--soft)}
.cb-cell{fill:color-mix(in srgb,var(--pt3) 70%,var(--ink))}
.cb-lb{font:400 11px var(--sans);fill:var(--soft)}
html.cb-still .cb{height:auto}
html.cb-still .cb-pin{position:static;height:auto;padding:4vh 0}
html.cb-still .cb-t{grid-area:auto;opacity:1}
html.cb-still .cb-t+.cb-t{margin-top:10px}
/* a mid width (a tablet, a narrow window): the formula takes the whole row and the pictures share the row under it, so a long formula line fits */
@media(min-width:821px) and (max-width:1000px){
 .cb-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:auto;row-gap:18px}
 .cb-row:has(>.cb-v:nth-child(4)){grid-template-columns:repeat(3,minmax(0,1fr))}
 .cb-row:has(>.cb-v:nth-child(2):last-child){grid-template-columns:minmax(0,1fr)}
 .cb-formula{grid-column:1/-1}
 .cb-v:not(.cb-formula){height:min(34vh,320px)}}
@media(max-width:820px){
 .art{padding-top:6vh}
 .art .lede,.art .sci,.art .endm{font-size:17.5px}
 .art .sci{margin-bottom:10vh}
 .cho{min-height:46vh;min-height:46svh;padding:6vh 0 4vh}
 .ch .cn{font-size:13px}
 .cidx{left:4px;bottom:6px}
 .cidx .cidx-t{display:none}
 .cb{height:330vh}
 .cb-pin{top:56px;height:calc(100vh - 56px);height:calc(100svh - 56px);gap:12px;justify-content:flex-start;padding-top:14px}
 .cb-h{font-size:26px}
 .cb-row{grid-template-columns:1fr;height:auto;gap:10px}
 .cb-cap{margin:0 0 4px;font-size:11px}
 .cb .eq{font-size:16px}
 .cb-eqs{gap:8px}
 .cb-name{margin-top:4px;font-size:14px}
 .cb-plot{height:21vh;height:21svh}
 .cb-structure{height:27vh;height:27svh}
 /* four views on a phone: each picture takes a smaller share of the pinned screen */
 .cb-row:has(>.cb-v:nth-child(4)),.cb-row:has(>.cb-v:nth-child(2):last-child){grid-template-columns:1fr}
 .cb-row:has(>.cb-v:nth-child(4))>.cb-v:not(.cb-formula){height:16vh;height:16svh}
 .cb-t{font-size:15px;line-height:1.5}
 .art .next{margin-top:10vh}}
/* end article */

.board-scene{height:min(64vh,560px);margin:30px 0 0}

/* skip link: out of sight until the keyboard reaches it */
.skip{position:fixed;left:16px;top:-80px;z-index:30;background:var(--ink);color:var(--ground);padding:10px 16px;font-size:14px;text-decoration:none}
.skip:focus-visible{top:12px;outline:2px solid var(--focus);outline-offset:2px}

@media(prefers-reduced-motion:no-preference){
 html{scroll-behavior:smooth}
 .js .rv{opacity:0;transform:translateY(12px);transition:opacity .5s ease,transform .5s cubic-bezier(.2,.7,.2,1)}
 .js .rv.rv-now,.js .rv.rv-now *{transition:none!important;animation:none!important}
 .js .rv.in{opacity:1;transform:none}
 @view-transition{navigation:auto}
 header{view-transition-name:header}
 .stage{transition:opacity .6s ease}
 .exs li{transition:opacity .5s ease}
 .btn,.docs .go a{transition:background-color .15s ease,color .15s ease}}
@media(max-width:1100px){.steps{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){
 .ex,.ex.flip{grid-template-columns:1fr;gap:10px}.ex.flip .exv{order:0}
 .exv{top:64px;height:calc(44vh + 10px);padding-bottom:10px;z-index:2;background:var(--ground)}.exs{padding:0}.exs li{min-height:42vh}.scis .sci{grid-template-columns:1fr}
 /* stacked: the sticky picture covers the steps that pass under it. Its ground is opaque over the picture, the formula band and 10 px of clear space under the band.
    A 14 px fade ends it, so no hard half line of text shows */
 .exv::after{content:"";position:absolute;left:0;right:0;top:100%;height:14px;background:linear-gradient(var(--ground),color-mix(in srgb,var(--ground) 0%,transparent));pointer-events:none}}
@media(max-width:820px){
 html{scroll-padding-top:72px}
 header{height:56px;gap:12px}
 .story{--hh:56px}
 .sp .pgo{max-width:62vw}
 .exv{top:56px}
 .mark{font-size:16px}
 header nav{gap:14px}header nav .opt,header nav a[target=_blank]{display:none}
 header nav a,.ctl button{font-size:13px;min-height:44px;display:inline-flex;align-items:center}
 .ctl{gap:12px}
 section{padding:32px var(--gut) 8px}
 section.hero{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding-top:20px;padding-bottom:8px}
 .col{width:auto;max-width:none}.col::before,.hero.flip .col::before{display:none}
 h1,.hero h1{font-size:52px;margin-bottom:16px}h2{font-size:34px}.plain h1{font-size:36px}
 .steps,.people{grid-template-columns:1fr}
 .block{margin-bottom:44px}
 .block:has(>.figs-fold){margin-bottom:0}
 table.res thead{display:none}table.res tr{display:block;padding:10px 0}table.res td{display:block;padding:2px 0;border:0}
 .docs>li{grid-template-columns:1fr}.docs details{grid-column:1}.docs .go{justify-content:flex-start}
 .tools a{grid-template-columns:1fr;gap:4px}
 footer{flex-direction:column}
 .rmode button{height:44px}
 .hero .stage,.hero.flip .stage{position:relative;top:auto;bottom:auto;left:auto;right:auto;width:100%;height:min(78vw,330px);order:2;margin-top:8px}
 .eq{font-size:17px}}
@media(max-width:720px){
 /* the story on a phone: the picture stays in the upper half (data-arc boxp) and does not travel; the words stand in the lower half */
 .s0 .copy{margin-bottom:18px}
 .hn{font-size:clamp(56px,21vw,96px)}
 .s0 .btn{margin-top:18px;padding:0 20px;min-height:44px}
 .sp{align-items:flex-end;padding-bottom:9vh;padding-bottom:9svh}
 .sp .pgo,.sp.right .pgo{max-width:none;margin-left:0;align-items:flex-start;text-align:left}
 .pname{font-size:clamp(44px,15vw,72px)}}
/* Windows high contrast and other forced colours: backgrounds give way to system colours, so state is shown by lines */
@media (forced-colors:active){
 .rmode button.on{outline:2px solid ButtonText;outline-offset:-5px;text-decoration:underline}
 header nav a[aria-current]{text-decoration:underline;text-decoration-thickness:2px}
 .btn.solid{border:2px solid ButtonText;text-decoration:underline}
 .stage,.scene canvas{forced-color-adjust:none}}
@media print{header,.ctl{display:none}section{padding:20px 0}}
/* graphs */
/* A system graph (assets/diagrams.js): node marks, thin edges and real text, drawn as SVG. No frame and no box.
   --g0 to --g5 are the mark colours of the six node forms. They are entries 6, 1, 0, 3, 2 and 4 of assets/arcstyle-palette.json. */
.graph{position:relative;margin:26px 0 0;--g0:#222222;--g1:#656564;--g2:#0A0A0A;--g3:#8E8D8C;--g4:#4D4D4C;--g5:#767674;--gt:.3}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .graph{--g0:#D8D5CE;--g1:#989691;--g2:#EFECE4;--g3:#71706C;--g4:#AFADA7;--g5:#888682;--gt:.26}}
:root[data-theme="dark"] .graph{--g0:#D8D5CE;--g1:#989691;--g2:#EFECE4;--g3:#71706C;--g4:#AFADA7;--g5:#888682;--gt:.26}
.g-svg{display:block;max-width:100%;color:var(--ink)}
/* an edge has a flat colour, so edges that share a run do not add up to a darker line */
.g-edge,.g-head{fill:none;stroke:var(--soft);stroke:color-mix(in srgb,var(--ink) 46%,var(--ground));stroke-width:1;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
/* an arrow head is a full triangle, so the direction reads with the motion off */
.g-head{fill:var(--soft);fill:color-mix(in srgb,var(--ink) 46%,var(--ground))}
/* a shared run is drawn once: a later edge has a gap there (stroke-dasharray from diagrams.js), and one arrow head stands for a bundle */
.g-edge[stroke-dasharray]{stroke-linecap:butt}
.g-dup{visibility:hidden}
.graph.act .g-edge.on{stroke-dasharray:none}.graph.act .g-dup.on{visibility:visible}
.g-mark{pointer-events:none}
.g-el{font:400 11px var(--sans);fill:var(--soft);pointer-events:none}
.g-nl{font:500 12.5px var(--sans);fill:var(--ink)}
/* keyboard focus: a ring round the mark, in place of the outline box of the page */
.g-node{cursor:default;outline:none}
.g-ring{fill:none;stroke:none;pointer-events:none}
.g-node:focus-visible .g-ring{stroke:var(--focus);stroke-width:2}
.g-hit{fill:none;pointer-events:all}
.g-l{fill:none;stroke:var(--gc);stroke-width:1.1;stroke-linejoin:round}
.g-tone{fill:var(--gc);fill-opacity:var(--gt);stroke:none}
.f-ring{--gc:var(--g0)}.f-data{--gc:var(--g1)}.f-operation{--gc:var(--g2)}.f-check{--gc:var(--g3)}.f-result{--gc:var(--g4)}.f-store{--gc:var(--g5)}
/* a designed part: the same outline, open inside */
.g-node.designed .g-tone,.g-node.designed .g-l3{display:none}
/* one node is shown: the node and its edges in full ink, the rest dim */
.graph.act .g-edge,.graph.act .g-head{stroke:var(--rule);stroke:color-mix(in srgb,var(--ink) 13%,var(--ground))}
.graph.act .g-head{fill:var(--rule);fill:color-mix(in srgb,var(--ink) 13%,var(--ground))}
.graph.act .g-edge.on,.graph.act .g-head.on{stroke:var(--ink)}.graph.act .g-head.on{fill:var(--ink)}.graph.act .g-edge.on{stroke-width:1.3}
.graph.act .g-node,.graph.act .g-el{opacity:.3}
.graph.act .g-node.near{opacity:.78}
.graph.act .g-node.on,.graph.act .g-el.on{opacity:1}
.graph.act .g-el.on{fill:var(--ink)}
.graph.act .g-mark:not(.on){display:none}
.g-say{margin:12px 0 0;min-height:3.1em;max-width:80ch;font-size:13px;line-height:1.55;color:var(--soft)}
.g-say b{font-weight:500;color:var(--ink)}
@media(prefers-reduced-motion:no-preference){.g-edge,.g-head{transition:stroke .18s ease,fill .18s ease}.g-node,.g-el{transition:opacity .18s ease}}
/* the graph in the hero of a project stands beside the title block and takes the height that it needs */
.hero .hero-graph{flex:1 1 0;min-width:0;margin:0 var(--gap) 0 0;z-index:4}
.hero:not(.flip) .hero-graph{order:2;margin:0 0 0 var(--gap)}
@media(max-width:820px){
 .hero .hero-graph,.hero:not(.flip) .hero-graph{order:2;flex:none;width:100%;margin:14px 0 0}
 .g-say{min-height:4.7em}}
@media (forced-colors:active){.g-svg{forced-color-adjust:none}.g-node:focus-visible .g-ring{stroke:Highlight}}
/* end graphs */
/* viewer */
/* The picture engine on a project hero (canvas.stage.arc). The canvas draws its own ground and background layer. The engine fades both to the flat ground before the edge of the canvas, so no box shows and the focus ring stays whole. */
/* The look switch has nine buttons in one row, ten where a ribbon mesh gives Glass. Each button keeps its own border, and the borders of neighbours overlap. When the row is wider than its place, it scrolls sideways with no scroll bar. */
.rmode.looks{display:flex;flex-wrap:nowrap;border:0;padding:1px 0 0 1px;min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:none}
.rmode.looks::-webkit-scrollbar{display:none}
.rmode.looks button{flex:0 0 auto;border:1px solid var(--ink);margin:-1px 0 0 -1px;padding:0 11px}
.rmode.looks button:focus-visible{position:relative;z-index:1;outline-offset:-4px}
/* On a desktop the text column of a project hero is narrower than the row, so the switch wraps to a second row and every look shows. */
@media(min-width:821px){.hero .rmode.looks{flex-wrap:wrap}}
/* On a phone the switch has smaller type. The hero has one height in every look. */
@media(max-width:820px){
 .rmode.looks button{flex:1 0 auto;font-size:13px;padding:0 5px}}
/* end viewer */
/* The page layer (canvas.arcbg, Danil 23.XI.2026: a living background on the whole site). motion.js draws the background layer of the engine into one fixed canvas behind the content. It takes no input, and print and forced colours leave it out. */
canvas.arcbg{position:fixed;inset:0;width:100%;height:100%;z-index:-1;display:block;pointer-events:none;opacity:0}
canvas.arcbg.on{opacity:1}
@media print,(forced-colors:active){canvas.arcbg{display:none}}
/* a hero drawn by a scene (build.py HERO_SCENE): the right part of the hero on a desktop, a band above the text on a phone */
.hero .hsc{position:absolute;top:0;bottom:0;right:0;width:60%;height:auto}
.hero.flip .hsc{right:auto;left:0;width:48%}
@media (max-width:720px){.hero .hsc,.hero.flip .hsc{position:relative;left:auto;right:auto;width:100%;height:52vh;height:52svh}}
.scene.hsc,.scene.hsc .pic,.scene.hsc canvas,.scene.hsc figure,.scene.hsc img{background:transparent;border:0;box-shadow:none}
.scene[data-scene="gallery"] .pic{cursor:grab;touch-action:pan-y;outline:none}
.scene[data-scene="gallery"] .pic:focus{outline:none}
.scene[data-scene="gallery"].grab .pic{cursor:grabbing}
.gal-ticks{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);display:flex;align-items:flex-end;gap:7px;pointer-events:auto;z-index:4}
.gal-tick{appearance:none;padding:0;border:0;width:14px;height:14px;background:transparent;cursor:pointer;display:grid;place-items:end center}
.gal-tick::after{content:"";display:block;width:1.5px;height:7px;background:color-mix(in srgb,var(--ink) 26%,transparent);transition:height .32s cubic-bezier(.16,1,.3,1),background .2s}
.gal-tick.on::after{height:14px;background:var(--ink)}
.gal-tick:hover::after,.gal-tick:focus-visible::after{background:var(--ink)}
.gal-tick:focus-visible{outline:1px solid var(--ink);outline-offset:2px}@font-face{font-family:"Latin Modern Math";src:url(fonts-latinmodern-math.6075562b.otf) format("opentype");font-display:swap}:root{--pt0:#0A0A0A;--pt1:#656564;--pt2:#3A3A39;--pt3:#8E8D8C;--pt4:#222222;--pt5:#767674;--pt6:#4D4D4C;--pt7:#9F9E9C;}:root[data-theme="dark"]{--pt0:#EFECE4;--pt1:#989691;--pt2:#C1BFB8;--pt3:#71706C;--pt4:#D8D5CE;--pt5:#888682;--pt6:#AFADA7;--pt7:#61605D;}.eq [data-c="0"]{--pc:var(--pt0)}.eq [data-c="1"]{--pc:var(--pt1)}.eq [data-c="2"]{--pc:var(--pt2)}.eq [data-c="3"]{--pc:var(--pt3)}.eq [data-c="4"]{--pc:var(--pt4)}.eq [data-c="5"]{--pc:var(--pt5)}.eq [data-c="6"]{--pc:var(--pt6)}.eq [data-c="7"]{--pc:var(--pt7)}