/* 00 tokens: every colour, size and spacing value used anywhere on the site.
   The look (fifth build): soft. A white page, one centred column, running text in a calm grey, headings in a regular
   weight, small round corners, hairlines and pale panels to tell surfaces apart, and ONE accent hue: it tints the
   pale band at the top of the page and colours the links and whatever is chosen. No black, no saturated fields, no
   shadows. To change the hue, change the four --accent* and the two --band-* values and nothing else. */
@font-face { font-family: "EoL Text"; font-weight: 300 700; font-style: normal; font-display: swap; src: url("../fonts/text-var.woff2") format("woff2"); }
@font-face { font-family: "EoL Mono"; font-weight: 400 500; font-style: normal; font-display: swap; src: url("../fonts/mono-400.woff") format("woff"); }
@font-face { font-family: "EoL Mono"; font-weight: 600 800; font-style: normal; font-display: swap; src: url("../fonts/mono-700.woff") format("woff"); }

:root {
  /* ground and surfaces */
  --page: #FFFFFF;
  --soft: #F5F8F8;                /* panels, code, the explorer's stage */
  --soft-2: #ECF1F2;              /* controls at rest, table heads */
  --line: #E2E8EA;                /* hairlines: card and panel edges, table rows */
  --line-2: #CFD8DC;

  /* words: never black */
  --ink: #2D3A42;                 /* headings and strong words */
  --text: #58666F;                /* running text */
  --muted: #5E6A73;               /* notes and captions */

  /* the one accent hue */
  --accent: #6A55B8;              /* fills: the main button, slider progress, what is chosen (white text on it) */
  --accent-ink: #5A47A8;          /* links and accent-coloured words on white */
  --accent-soft: #EFEBFA;         /* pale accent: chips, a chosen item's ground */
  --accent-soft-2: #E0D9F5;
  --band-a: #ECE7FA;              /* the header band: a pale wash of the hue at the top ... */
  --band-b: #F6F3FD;              /* ... paler lower down, then it dissolves into the page */
  --band-art: .55;                /* how strongly the wall of desktops behind the title shows */
  --on-accent: #FFFFFF;

  /* the explorer's stage; assets/js/teardown/view.js reads both */
  --stage: #F3F6F7;
  --stage-shade: #AEBBC2;         /* tint of the contact shadow under the point cloud */
  --media-bg: var(--soft-2);      /* behind a picture while it loads */

  --font: "EoL Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", "Noto Sans", Roboto, Arial, sans-serif;
  --mono: "EoL Mono", ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  --display: var(--font);

  --fs-00: .8125rem;              /* 13 px: superscripts, the smallest notes */
  --fs-0: .9375rem;               /* 15 px: captions, chips, table text */
  --fs-1: 1.0625rem;              /* 17 px: secondary text, buttons */
  --fs-2: 1.125rem;               /* 18 px: running text */
  --fs-3: 1.3125rem;              /* 21 px: the line under the title, lead-ins */
  --fs-4: 1.5rem;                 /* 24 px: sub-headings */
  --fs-5: clamp(1.7rem, 1.45rem + 1vw, 2.125rem);     /* section headings */
  --fs-6: clamp(2.6rem, 1.8rem + 3.2vw, 3.5rem);      /* the page title */
  --lh: 1.6;

  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;
  --sp-sec: clamp(3rem, 2rem + 3vw, 4.5rem);          /* between sections */

  --r-1: 8px;                     /* small controls */
  --r-2: 12px;                    /* code, inner pictures */
  --r-3: 16px;                    /* pictures, panels */
  --r-4: 20px;                    /* cards */
  --r-5: 28px;                    /* a section's sheet */
  --r-pill: 999px;                /* buttons, chips */
  --shadow-1: 0 1px 2px rgba(52, 46, 84, .04), 0 8px 24px rgba(52, 46, 84, .06);      /* a card lying on a sheet */
  --shadow-2: 0 2px 4px rgba(52, 46, 84, .05), 0 14px 32px rgba(52, 46, 84, .09);

  /* the soft pages: each section sits on a sheet in a pale tint of its own; the swatch is the same colour, stronger,
     and stands before the section's heading like a square of the explorer's legend */
  --tint-lilac: #F4F1FC;  --sw-lilac: #A898E2;
  --tint-rose: #FCF1F6;   --sw-rose: #E79CBF;
  --tint-peach: #FDF3EC;  --sw-peach: #F0AA80;
  --tint-sand: #FAF6E9;   --sw-sand: #DDBB58;
  --lift: none;
  --lift-move: none;

  --wrap: 1040px;                 /* the page's one column */
  --measure: 52rem;               /* widest line of running text */
  --gutter: clamp(1rem, .45rem + 2.6vw, 2rem);
  --nav-h: 0px;                   /* there is no fixed bar */
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* names kept from earlier builds so that nothing breaks while a file is being restyled; new code does not use them */
  --stock: var(--page);
  --stock-2: var(--soft);
  --stock-3: var(--soft-2);
  --panel: var(--page);
  --ink-2: var(--text);
  --ink-3: var(--muted);
  --flame: var(--accent);
  --sun: var(--soft);
  --leaf: var(--accent-soft);
  --rose: var(--soft);
  --aqua: var(--accent-soft);
  --white: var(--page);
  --tint: var(--soft);
  --well: var(--soft-2);
  --navy: var(--ink);
  --accent-2: var(--accent);
  --sky: var(--accent);
  --teal: var(--accent);
  --teal-ink: var(--accent-ink);
  --teal-soft: var(--accent-soft);
  --rule: var(--line);
  --solid: var(--soft-2);
  --on-solid: var(--ink);
  --sel: var(--accent);
  --on-sel: var(--on-accent);
  --head-bg: var(--soft-2);
  --head-fg: var(--ink);
  --code-bg: var(--soft);
  --bar-bg: var(--soft-2);
  --heading: var(--font);
  --heading-weight: 400;
  --heading-stretch: 100%;
  --heading-case: none;
  --numeral: var(--font);
  --label-font: var(--font);
  --label-case: none;
  --figure-font: var(--font);
  --tick: transparent;
  --stripe-display: none;
  --hero-pattern: none;
}
/* 01 base (fifth build, soft): reset, type, the page's one column, the header band, sections, the guide's frame and
   the footer. White page, calm grey words, regular-weight headings, one accent hue; no fixed bar. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0; background: var(--page); color: var(--text);
  font: 400 var(--fs-2)/var(--lh) var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); letter-spacing: 0; text-wrap: balance; }
h1 { font-size: var(--fs-6); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
h2 { font-size: var(--fs-5); font-weight: 400; line-height: 1.25; }
h3 { font-size: var(--fs-3); font-weight: 600; line-height: 1.35; }
h4 { font-size: var(--fs-1); font-weight: 600; line-height: 1.4; }
p { text-wrap: pretty; }
strong, b { font-weight: 600; color: var(--ink); }
a { color: var(--accent-ink); text-decoration: none; transition: color .15s; }
a:hover { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
code, kbd, pre, samp { font-family: var(--mono); font-size: .875em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent-soft-2); color: var(--ink); }
[hidden] { display: none !important; }      /* the attribute wins over any display value a class sets */

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--sp-4); top: -100px; z-index: 100; padding: var(--sp-2) var(--sp-4); border-radius: var(--r-2); background: var(--accent); color: var(--on-accent); }
.skip:focus { top: var(--sp-2); }

/* small words */
.label { font-size: var(--fs-0); line-height: 1.45; color: var(--muted); }
.label--ink { color: var(--ink); }
.label--accent { color: var(--accent-ink); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-0); }
.eyebrow, .stripe { display: none; }            /* retired: they render nothing */

/* a text link that ends in an arrow */
.arrow { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; color: var(--accent-ink); font-weight: 600; font-size: var(--fs-1); }
.arrow::after { content: "\2192"; }
.arrow:hover { text-decoration: none; }
.arrow:hover::after { transform: translateX(1px); }

/* the page's one column; running text never wider than --measure */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sec { padding-top: var(--sp-sec); position: relative; }
.sec--tint { background: transparent; }
/* a section as a soft page: a large rounded sheet in a pale tint of its own, a little wider than the column; white
   cards lie on it. The sheet's colour comes from a tint class. */
.sec--sheet { --sheet-pad: clamp(1rem, .2rem + 3.6vw, 3.5rem); width: min(calc(var(--wrap) + 2 * var(--sheet-pad)), 100% - 16px);
              margin: clamp(1.75rem, 1rem + 2.4vw, 3rem) auto 0; padding-block: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem); border-radius: var(--r-5);
              background: var(--tint, var(--soft)); }
.sec--sheet > .wrap { width: auto; margin-inline: var(--sheet-pad); }
.tint--lilac { --tint: var(--tint-lilac); --swatch: var(--sw-lilac); }
.tint--rose { --tint: var(--tint-rose); --swatch: var(--sw-rose); }
.tint--peach { --tint: var(--tint-peach); --swatch: var(--sw-peach); }
.tint--sand { --tint: var(--tint-sand); --swatch: var(--sw-sand); }
/* the swatch before a section's heading */
.sec--sheet h2::before, .g-sec h2::before { content: ""; display: inline-block; width: .52em; height: .52em; margin-right: .5em; border-radius: 30%;
                                              background: var(--swatch, var(--sw-lilac)); vertical-align: .05em; }
/* on a sheet: code and quiet buttons are white, so they read as things lying on it */
.sec--sheet .code { background: var(--page); box-shadow: var(--shadow-1); }
.sec--sheet .btn:not(.btn--primary) { background: var(--page); box-shadow: var(--shadow-1); }
.sec--sheet .btn:not(.btn--primary):hover { background: var(--page); box-shadow: var(--shadow-2); }
.sec__head { display: grid; gap: var(--sp-3); max-width: var(--measure); margin-bottom: var(--sp-5); }
.sec__head--center { margin-inline: auto; text-align: center; justify-items: center; }
.lead { max-width: var(--measure); font-size: var(--fs-2); line-height: var(--lh); color: var(--text); }
/* parts fade up 10 px once (main.js staggers them 60 ms apart); only once the page script has started */
.js [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js.is-shot [data-reveal] { transition: none; }          /* ?shot=1 (screenshots): everything in place at once */

/* the header band (the home header and the guide's): a pale wash of the accent hue that dissolves into the page,
   dark words on it, white buttons */
.band { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--band-a) 0%, var(--band-b) 66%, var(--page) 100%); color: var(--ink); text-align: center; }
.band a:not(.btn) { color: var(--ink); }
.band__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
/* the wall of desktops behind the words (pipeline/make_band.py): one picture that repeats seamlessly in both
   directions, so it covers a band of any width; it shows at --band-art over the pale ground, fades out towards the
   page below, and a soft light behind the words keeps them easy to read */
.band__wall { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: var(--band-art);
              background: url("../img/band-wall.webp") center -40px / 2304px 576px repeat;
              -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 98%); mask-image: linear-gradient(180deg, #000 55%, transparent 98%); }
.band--wall::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
                     background: radial-gradient(ellipse 46% 78% at 50% 47%, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .92) 52%, rgba(255, 255, 255, 0) 100%); }
.band__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }
.band--short .band__in { padding-block: var(--sp-6) var(--sp-6); gap: var(--sp-2); }
.band__name { font-size: var(--fs-3); font-weight: 700; }
.band__title { color: var(--ink); font-size: var(--fs-5); font-weight: 400; margin-bottom: var(--sp-3); }

/* the guide: a quiet sticky contents column, the text beside it */
.guide { display: grid; grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr); column-gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); padding-top: var(--sp-sec); }
.guide__toc { align-self: start; position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto;
              padding: var(--sp-5) var(--sp-5) var(--sp-5); border-radius: var(--r-4); background: var(--tint-lilac); font-size: var(--fs-0); line-height: 1.4; }
.guide__toc-h { margin-bottom: var(--sp-2); color: var(--ink); font-weight: 600; }
.guide__toc a { display: block; padding: .3rem 0; color: var(--text); }
.guide__toc a:hover { color: var(--accent-ink); text-decoration: none; }
.guide__toc a.is-current { color: var(--accent-ink); font-weight: 600; }
.guide__toc > ol > li + li { margin-top: var(--sp-2); }
.guide__toc > ol > li > a { color: var(--ink); }
.guide__toc > ol > li > a.is-current { color: var(--accent-ink); }
.guide__toc ol ol { padding-left: var(--sp-3); }
.guide__body { min-width: 0; }
.guide__lead { margin-bottom: var(--sp-sec); font-size: var(--fs-3); line-height: 1.5; }
/* a guide partial: <section class="g-sec"> with its own h2; partials that bring .sec and .wrap fit in as well */
.g-sec, .guide__body > .sec { padding-top: 0; scroll-margin-top: 20px; }
.guide__body > section + section { margin-top: var(--sp-sec); }
.guide__body .wrap { width: auto; margin: 0; }
.g-sec__head { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-5); }
/* a guide section opens with a soft title card in the section's tint (the colours match the home page's sheets) */
.g-sec > header { padding: clamp(1.25rem, .9rem + 1.4vw, 2rem) clamp(1.25rem, .9rem + 1.6vw, 2.25rem); border-radius: var(--r-4); background: var(--tint, var(--tint-lilac)); max-width: none; }
#guide-start { --tint: var(--tint-sand); --swatch: var(--sw-sand); }
#guide-data { --tint: var(--tint-rose); --swatch: var(--sw-rose); }
#guide-benchmark { --tint: var(--tint-peach); --swatch: var(--sw-peach); }
#guide-team { --tint: var(--tint-lilac); --swatch: var(--sw-lilac); }

/* footer: a hairline, then small muted words */
.foot { margin-top: var(--sp-sec); }
.foot__in { display: grid; gap: var(--sp-1); padding-block: var(--sp-5) var(--sp-7); border-top: 1px solid var(--line); font-size: var(--fs-0); color: var(--muted); }
.foot a { color: var(--accent-ink); }

@media (max-width: 900px) {
  .band--wall::after { background: radial-gradient(ellipse 62% 70% at 50% 47%, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, 0) 100%); }
  .guide { grid-template-columns: minmax(0, 1fr); }
  .guide__toc { position: static; max-height: none; margin-bottom: var(--sp-6); }
  .guide__toc a { display: flex; align-items: center; min-height: 44px; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 560px) {
  .sec--sheet { border-radius: var(--r-4); }
  .band__wall { background-size: 1728px 432px; background-position: center -30px; }
  .band--wall::after { background: radial-gradient(ellipse 96% 62% at 50% 47%, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .92) 60%, rgba(255, 255, 255, 0) 100%); }
}
/* 02 components shared by the sections (fifth build, soft): pale grounds, small round corners, hairlines, one accent.
   Controls answer hover with a ground one step darker; nothing moves more than 1 px. */

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .55rem 1.3rem; border: 1px solid transparent; border-radius: var(--r-pill);
       background: var(--soft-2); color: var(--ink); font: 600 var(--fs-1)/1.2 var(--font); text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--line-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary, .btn--ink, .btn[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover, .btn--ink:hover { background: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--accent-ink); }
.btn--ghost:hover { background: var(--accent-soft); }
.btn--sm { min-height: 36px; padding: .35rem .8rem; font-size: var(--fs-0); }
/* on the header band: white, with an edge in the pale accent */
.btn--band { background: var(--page); color: var(--ink); box-shadow: var(--shadow-1); }
.btn--band:hover { background: var(--page); box-shadow: var(--shadow-2); }
.btn svg, .btn .icon { width: 1.1em; height: 1.1em; flex: none; margin-left: -.15em; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* panels */
.card { border: 0; border-radius: var(--r-4); background: var(--page); padding: var(--sp-5); box-shadow: var(--shadow-1); }
.card__kicker { font-size: var(--fs-0); color: var(--muted); }
.card h3, .card h4 { margin-block: var(--sp-2) var(--sp-2); }
.card p { color: var(--text); font-size: var(--fs-1); }
.panel { border-radius: var(--r-3); background: var(--soft); padding: var(--sp-5); }

/* a picture with round corners and a plain caption under it */
.frame { position: relative; }
.frame > img, .frame > video, .frame > canvas { width: 100%; border-radius: var(--r-3); background: var(--media-bg); }
.frame__cap { display: block; padding-top: var(--sp-2); font-size: var(--fs-0); line-height: 1.5; color: var(--text); }
.frame__cap b { display: block; font-size: var(--fs-1); font-weight: 600; color: var(--ink); }

/* label / value rows */
.spec { display: grid; gap: var(--sp-2); }
.spec > div { display: grid; grid-template-columns: minmax(5.5rem, 28%) minmax(0, 1fr); gap: var(--sp-3); }
.spec dt { font-size: var(--fs-0); font-weight: 600; line-height: 1.5; color: var(--ink); }
.spec dd { font-size: var(--fs-0); line-height: 1.5; color: var(--text); }

/* grids */
.grid { display: grid; gap: clamp(1rem, .8rem + .6vw, 1.25rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--ruled { gap: var(--sp-6); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-6); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.split--wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.split--top { align-items: start; }
.stack > * + * { margin-top: var(--sp-4); }

/* tabs and segmented switches: a pale track, the chosen item white with accent words and a hairline */
.tabs, .seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: var(--r-2); background: var(--soft-2); }
.tabs [role="tab"], .seg button { min-height: 38px; padding: .4rem .9rem; border: 1px solid transparent; border-radius: calc(var(--r-2) - 2px); background: transparent; color: var(--text);
       font: 400 var(--fs-0)/1.2 var(--font); transition: background .15s, color .15s; }
.tabs [role="tab"]:hover, .seg button:hover { color: var(--ink); background: rgba(255, 255, 255, .55); }
.tabs [role="tab"][aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--page); border-color: var(--line); color: var(--accent-ink); font-weight: 600; }
.seg button:disabled { opacity: .45; cursor: not-allowed; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .1rem .7rem; border-radius: var(--r-pill); background: var(--soft-2); color: var(--text);
        font: 400 var(--fs-0)/1.6 var(--font); }
.chip--teal, .chip--accent { background: var(--accent-soft); color: var(--accent-ink); }
.chip--plain { background: var(--soft-2); color: var(--text); }
.dot { width: .6rem; height: .6rem; border-radius: 2px; background: currentColor; flex: none; }

/* code: monospace on a pale ground, a quiet copy control in its corner */
.code { position: relative; border-radius: var(--r-2); background: var(--soft); color: var(--ink); padding: var(--sp-4) var(--sp-5); overflow-x: auto;
        font: 400 .875rem/1.7 var(--mono); tab-size: 2; font-variant-ligatures: none; }
.code .c { color: var(--muted); }
.code__copy { position: absolute; top: .5rem; right: .5rem; min-height: 32px; padding: .25rem .8rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--page);
              color: var(--text); font: 400 var(--fs-00)/1.4 var(--font); transition: background .15s, color .15s; }
.code__copy:hover { background: var(--soft-2); color: var(--ink); }

/* range inputs: a pale track, accent progress, a round accent thumb */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; margin: 0; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--accent) var(--fill, 0%), var(--track, var(--soft-2)) var(--fill, 0%)); }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--track, var(--soft-2)); }
.range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border: 2px solid var(--page); border-radius: 50%; background: var(--thumb, var(--accent)); }
.range::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid var(--page); border-radius: 50%; background: var(--thumb, var(--accent)); }
.range:disabled { opacity: .45; cursor: not-allowed; }

/* tables: no outer box, hairlines between rows, a pale head row */
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-0); }
.table th { padding: .55rem var(--sp-3); background: var(--soft-2); color: var(--ink); font-weight: 600; text-align: left; }
.table th:first-child { border-radius: var(--r-1) 0 0 var(--r-1); }
.table th:last-child { border-radius: 0 var(--r-1) var(--r-1) 0; }
.table td { padding: .6rem var(--sp-3); border-bottom: 1px solid var(--line); vertical-align: top; }

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--wide-left, .split--wide-right { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .card, .panel { padding: var(--sp-4); }
  .code { padding: var(--sp-3) var(--sp-4); }
  .code__copy { min-height: 44px; min-width: 56px; }
}
/* 10 hero: the header band (a pale wash of the accent hue; behind the words a wall of the dataset's desktops, pale,
   with a soft light in the middle; name, title, authors and buttons centred in dark type), then on white the
   affiliation logos, the corresponding-author note and the teaser video in the column. */
.s-hero__in { padding-block: 76px 72px; }
.s-hero__name { color: var(--ink); font-size: var(--fs-6); font-weight: 700; line-height: 1.1; }
.s-hero__mark { display: block; width: auto; height: clamp(3.6rem, 2.4rem + 4.6vw, 5.25rem); margin-inline: auto; }
.s-hero__title { margin-top: var(--sp-3); max-width: 40rem; font-size: var(--fs-3); line-height: 1.4; color: var(--text); text-wrap: balance; }
.s-hero__nw { white-space: nowrap; }

/* authors: two centred lines on a desktop; a name never breaks */
.s-hero__authors { display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem 1.25rem; max-width: 50rem; margin-top: var(--sp-5); font-size: var(--fs-1); line-height: 1.6; color: var(--ink); }
.s-hero__authors li { white-space: nowrap; }
.s-hero__authors sup { margin-left: .1em; font-size: .72em; line-height: 0; color: var(--muted); }
.s-hero__btns { margin-top: var(--sp-6); }

/* affiliations, on white: the owner's logo files, unaltered and in their own colours, about 40 px high, the number beside
   each in the muted grey; an affiliation without a file shows its name instead */
.s-hero__below { padding-top: var(--sp-4); }
.s-hero__affs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--sp-4) clamp(1rem, .4rem + 1.6vw, 2rem); }
.s-hero__aff { display: flex; align-items: flex-start; gap: .3rem; min-height: 38px; }
.s-hero__aff-n { margin-top: .1rem; font-size: var(--fs-00); line-height: 1; color: var(--muted); }
.s-hero__logo { height: 38px; width: auto; max-width: none; }
/* the UF monogram file is square with a wide white ground: drawn larger (the ground vanishes on white) so that its
   letters stand as tall as the other marks; the row keeps its height. The file's ground is #FEFEFE: brightness(1.012)
   lifts it to the page's white so no faint square shows (the letters' blue is not visibly changed) */
.s-hero__logo--uf { height: 84px; margin-block: -22px; filter: brightness(1.012); }
.s-hero__aff-name { display: flex; align-items: center; min-height: 40px; max-width: 10em; font-size: var(--fs-0); font-weight: 600; line-height: 1.25; color: var(--ink); }
.s-hero__corr { margin-top: var(--sp-3); text-align: center; font-size: var(--fs-0); color: var(--muted); }
.s-hero__corr sup { line-height: 0; }

/* the teaser: 16:9 at the column's width, round corners, a one-line caption with the play / pause control at its right */
.s-hero__teaser { margin-top: var(--sp-6); }
.s-hero__video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-4); background: var(--page); box-shadow: var(--shadow-1); }
.s-hero__cap { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding-top: var(--sp-2); font-size: var(--fs-0); color: var(--text); }
.s-hero__toggle { flex: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: .3rem .9rem; border: 0; border-radius: var(--r-pill);
                  background: var(--soft-2); color: var(--ink); font: 600 var(--fs-0)/1 var(--font); transition: background .15s; }
.s-hero__toggle:hover { background: var(--line-2); }
.s-hero__toggle svg { width: 13px; height: 13px; fill: currentColor; }
.s-hero__toggle .s-hero__icon-pause, .s-hero__toggle[aria-pressed="true"] .s-hero__icon-play { display: none; }
.s-hero__toggle[aria-pressed="true"] .s-hero__icon-pause { display: block; }

@media (max-width: 560px) {
  .s-hero__in { padding-block: 44px 52px; }
  .s-hero__authors { gap: .1rem .9rem; font-size: var(--fs-0); }
  .s-hero__btns { gap: var(--sp-2); }
  .s-hero__affs { gap: var(--sp-4) var(--sp-5); }
  .s-hero__logo { height: 30px; }
  .s-hero__logo--uf { height: 64px; margin-block: -17px; }
  .s-hero__aff { min-height: 30px; }
  .s-hero__cap { align-items: flex-start; }
  .s-hero__toggle { min-height: 44px; }
}
/* 11 numbers: the introduction. One paragraph that opens with the name in bold, then a pale panel with the four
   figures in a row. */
.s-numbers__intro { max-width: var(--measure); font-size: var(--fs-2); line-height: var(--lh); color: var(--text); }
.s-numbers__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); margin-top: var(--sp-6); padding: var(--sp-5) var(--sp-6);
                  border-radius: var(--r-4); background: var(--tint-lilac); }
.s-numbers__cell { display: grid; align-content: start; gap: .1rem; min-width: 0; text-align: center; }
.s-numbers__value { font-size: 2rem; font-weight: 600; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-numbers__label { font-size: var(--fs-0); line-height: 1.4; color: var(--text); }

@media (max-width: 720px) {
  .s-numbers__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--sp-5); padding: var(--sp-5) var(--sp-4); }
}
@media (max-width: 360px) {
  .s-numbers__value { font-size: 1.6rem; }
}
/* 12 start (guide): download, load, evaluate as calm text. Each step: a small accent numeral and its name, then the
   text, the command sheets (code blocks with a quiet copy control), a list of files and the folder table. */
.s-start .lead code, .s-start__text code, .s-start__note code, .s-start__files dd code, .s-start__gist code { padding: .05em .3em; border-radius: var(--r-1); background: var(--soft); color: var(--ink); overflow-wrap: anywhere; }
.s-start code, .s-start pre { font-variant-ligatures: none; }      /* show ">=" as typed, the way it is copied */
.s-start__open { margin-top: var(--sp-2); }

.s-start__steps { counter-reset: step; display: grid; gap: var(--sp-sec); }
.s-start__step { counter-increment: step; display: grid; gap: var(--sp-4); scroll-margin-top: 20px; }
.s-start__key { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--sp-3); align-items: baseline; }
.s-start__key::before { content: counter(step); grid-row: 1 / span 2; font-size: var(--fs-4); font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.s-start__name { font-size: var(--fs-4); font-weight: 400; }
.s-start__gist { font-size: var(--fs-1); color: var(--text); }
.s-start__body { display: grid; gap: var(--sp-4); align-content: start; min-width: 0; }
.s-start__text { max-width: var(--measure); font-size: var(--fs-2); color: var(--text); }
.s-start__note { max-width: var(--measure); font-size: var(--fs-0); color: var(--muted); }

.s-start__sub { margin-top: var(--sp-4); font-size: var(--fs-1); font-weight: 600; }
.s-start__body > .s-start__sub:first-child, .s-start__kit > .s-start__sub:first-child { margin-top: 0; }
.s-start__more { display: inline-flex; align-items: center; min-height: 32px; margin-left: var(--sp-3); font-size: var(--fs-0); font-weight: 400; white-space: nowrap; }
.s-start__more::after { content: "\2192"; margin-left: .3em; }
.s-start__kit { display: grid; gap: var(--sp-4); }
.s-start__kit + .s-start__kit { margin-top: var(--sp-5); }

/* a command sheet: its title in small words above, the code block under it with the copy control at the title's right */
.s-start__sheet { display: grid; gap: var(--sp-2); margin: 0; min-width: 0; }
.s-start__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); min-height: 32px; font-size: var(--fs-0); color: var(--muted); }
.s-start__bar > span { min-width: 0; overflow-wrap: anywhere; }
.s-start__bar .code__copy { position: static; }
.s-start__code { white-space: pre; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.s-start__code:focus-visible { outline-offset: 2px; }

/* the files of a desktop folder */
.s-start__files { display: grid; gap: var(--sp-2); }
.s-start__files > div { display: grid; grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr); gap: var(--sp-4); }
.s-start__files dt code { font-size: .875rem; color: var(--ink); overflow-wrap: anywhere; }
.s-start__files dd { font-size: var(--fs-0); color: var(--text); }

/* the folder table: no outer box, hairlines between rows, a pale head row */
.s-start__map { display: grid; gap: var(--sp-3); margin-top: var(--sp-2); }
.s-start__table { width: 100%; border-collapse: collapse; font-size: var(--fs-0); }
.s-start__table th { padding: .55rem var(--sp-3); background: var(--soft-2); color: var(--ink); font-weight: 600; text-align: left; }
.s-start__table th:first-child { border-radius: var(--r-1) 0 0 var(--r-1); }
.s-start__table th:last-child { border-radius: 0 var(--r-1) var(--r-1) 0; }
.s-start__table td { padding: .6rem var(--sp-3); border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
.s-start__use { width: 46%; }
.s-start__paths code { display: block; color: var(--ink); font-size: .8125rem; line-height: 1.7; overflow-wrap: anywhere; }
.s-start__table .s-start__size { width: 7rem; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

@media (max-width: 560px) {
  .s-start__bar .code__copy { min-height: 44px; min-width: 56px; }
  .s-start .lead code { white-space: normal; }
  .s-start__files > div { grid-template-columns: minmax(0, 1fr); gap: var(--sp-1); }
  .s-start__more { display: flex; width: max-content; min-height: 44px; margin-left: 0; }
  .s-start__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .s-start__table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--sp-3); padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .s-start__table td { display: block; padding: 0; border: 0; }
  .s-start__use { grid-column: 1 / -1; width: auto; margin-bottom: var(--sp-1); }
  .s-start__table .s-start__size { width: auto; }
}
/* 12b updates: a short dated list under the introduction. Each entry hangs on a thin line with a small dot; the
   newest dot is the accent. Dates in the accent ink, the words in the running-text grey. */
.s-updates { padding-top: clamp(2rem, 1.4rem + 2vw, 3rem); }
.s-updates__h { margin-bottom: var(--sp-4); }
.s-updates__list { position: relative; display: grid; gap: var(--sp-3); max-width: var(--measure); padding-left: 1.4rem; }
.s-updates__list::before { content: ""; position: absolute; left: 4px; top: .7em; bottom: .7em; width: 2px; border-radius: 1px; background: var(--soft-2); }
.s-updates__item { position: relative; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--sp-3); align-items: baseline; font-size: var(--fs-1); line-height: 1.55; }
.s-updates__item::before { content: ""; position: absolute; left: calc(-1.4rem + 1px); top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); box-shadow: 0 0 0 3px var(--page); }
.s-updates__item.is-new::before { background: var(--accent); }
.s-updates__item time { color: var(--accent-ink); font-weight: 600; font-size: var(--fs-0); font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-updates__item p { color: var(--text); }
.s-updates__item .chip { margin-right: .35rem; vertical-align: .1em; font-size: var(--fs-00); font-weight: 600; }

@media (max-width: 560px) {
  .s-updates__item { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
}
/* 13 guide / the dataset, file by file: a reference. The table of parts first, then one block per part (its text and
   file list beside its picture, or above it when the picture is wide). Calm text, hairline tables with a pale head,
   code on the pale ground, "Read it right" notes on the pale accent ground. */
.s-data__head { display: grid; gap: var(--sp-3); max-width: var(--measure); margin-bottom: var(--sp-6); }
.s-data__lead { font-size: var(--fs-2); line-height: var(--lh); color: var(--text); }
.s-data__sub { font-size: var(--fs-4); font-weight: 400; line-height: 1.3; color: var(--ink); margin-bottom: var(--sp-4); }

/* at a glance */
.s-data__scroll { overflow-x: auto; }
.s-data__table { width: 100%; border-collapse: collapse; font-size: var(--fs-0); line-height: 1.5; color: var(--text); }
.s-data__table thead th { padding: .6rem .75rem; background: var(--soft-2); font-weight: 600; color: var(--ink); text-align: left; white-space: nowrap; }
.s-data__table thead th:first-child { border-radius: var(--r-2) 0 0 var(--r-2); }
.s-data__table thead th:last-child { border-radius: 0 var(--r-2) var(--r-2) 0; }
.s-data__table tbody th, .s-data__table td { padding: .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.s-data__table tbody th { width: 32%; }
.s-data__table tbody th a { font-weight: 600; }
.s-data__table tbody th span { display: block; margin-top: .2rem; color: var(--muted); }
.s-data__table code { font-size: .9em; color: var(--ink); }
.s-data__num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.s-data__table td.s-data__num, .s-data__table th.s-data__num { text-align: right; }
.s-data__num small { display: block; font-size: var(--fs-00); color: var(--muted); }
.s-data__foot { margin-top: var(--sp-4); font-size: var(--fs-1); color: var(--text); }

/* the list of parts: plain links on the pale ground */
.s-data__index { margin-block: var(--sp-7) var(--sp-6); padding: var(--sp-3) var(--sp-5); border-radius: var(--r-3); background: var(--soft); }
.s-data__index ul { display: flex; flex-wrap: wrap; gap: 0 var(--sp-5); }
.s-data__index a { display: inline-flex; align-items: center; min-height: 40px; font-size: var(--fs-0); }

/* one part */
.s-data__list { display: grid; gap: clamp(3rem, 2rem + 3vw, 4.5rem); }
.s-data__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-5) var(--sp-6); align-items: start; scroll-margin-top: 16px; }
.s-data__item--stack { grid-template-columns: minmax(0, 1fr); }
.s-data__item--stack .s-data__text { max-width: var(--measure); }
.s-data__text { display: grid; gap: var(--sp-4); min-width: 0; }
.s-data__text h3 { font-size: var(--fs-4); font-weight: 400; line-height: 1.3; color: var(--ink); }
.s-data__body { font-size: var(--fs-1); line-height: var(--lh); color: var(--text); }
.s-data__spec { display: grid; gap: 0; margin-top: var(--sp-1); }
.s-data__spec > div { display: grid; grid-template-columns: minmax(6.5rem, 28%) minmax(0, 1fr); gap: var(--sp-3); padding: .55rem 0; border-top: 1px solid var(--line); }
.s-data__spec dt { font-size: var(--fs-0); font-weight: 600; color: var(--ink); }
.s-data__spec dd { font-size: var(--fs-0); line-height: 1.55; color: var(--text); }
.s-data__spec dd code { font-size: .9em; color: var(--ink); overflow-wrap: anywhere; }
.s-data__aside { min-width: 0; }
.s-data__fig { position: sticky; top: 24px; }
.s-data__item--stack .s-data__fig { position: static; }
.s-data__fig img { width: 100%; border-radius: var(--r-3); background: var(--soft); }
.s-data__fig .frame__cap { padding-top: var(--sp-2); font-size: var(--fs-0); color: var(--muted); }
.s-data__log { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-2); background: var(--soft); overflow-x: auto; font-size: .875rem; line-height: 1.7; color: var(--ink); }
.s-data__trap { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-2); background: var(--accent-soft); font-size: var(--fs-0); line-height: 1.55; color: var(--text); }
.s-data__trap b { display: block; margin-bottom: .15rem; font-weight: 600; color: var(--ink); }
.s-data__trap code { color: var(--ink); }

/* removal order: quiet rows */
.s-data__order { display: grid; }
.s-data__order li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: var(--sp-3); align-items: baseline; padding: .45rem 0; border-top: 1px solid var(--line);
                    font-size: var(--fs-0); color: var(--text); }
.s-data__order li:last-child { border-bottom: 1px solid var(--line); }
.s-data__n, .s-data__t { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.s-data__goal .s-data__t { color: var(--accent-ink); }
.s-data__order b { font-weight: 600; color: var(--ink); }

/* question-answer records: three cards with a hairline */
.s-data__qa { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: var(--sp-4); }
.s-data__card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 0; border-radius: var(--r-4); background: var(--page); box-shadow: var(--shadow-1); }
.s-data__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); }
.s-data__card-body { display: grid; gap: var(--sp-3); padding: var(--sp-4); }
.s-data__card-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); font-size: var(--fs-00); color: var(--muted); }
.s-data__qa-dl { display: grid; gap: var(--sp-3); }
.s-data__qa-dl dt { font-size: var(--fs-00); font-weight: 600; color: var(--ink); }
.s-data__qa-dl dd { font-size: var(--fs-0); line-height: 1.5; color: var(--text); }
.s-data__qa-dl code { font-size: .875rem; color: var(--ink); overflow-wrap: anywhere; }
.s-data__opts { margin-top: var(--sp-1); display: grid; gap: .15rem; }
.s-data__opts li::before { content: "\2013\00a0"; color: var(--muted); }
.s-data__note { grid-column: 1 / -1; font-size: var(--fs-0); color: var(--muted); }
.s-data__end { margin-top: var(--sp-7); font-size: var(--fs-1); color: var(--text); }

@media (max-width: 1100px) {
  .s-data__qa { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .s-data__item { grid-template-columns: minmax(0, 1fr); }
  .s-data__fig { position: static; }
  .s-data__table thead { display: none; }
  .s-data__table, .s-data__table tbody, .s-data__table tr, .s-data__table th, .s-data__table td { display: block; width: 100%; }
  .s-data__table tr { padding-block: var(--sp-3); border-bottom: 1px solid var(--line); }
  .s-data__table tbody th, .s-data__table td { border: 0; padding: .25rem 0; }
  .s-data__table td { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--sp-3); }
  .s-data__table td::before { content: attr(data-label); font-weight: 600; color: var(--ink); }
  .s-data__table td.s-data__num { text-align: left; white-space: normal; }
}
@media (max-width: 560px) {
  .s-data__qa { grid-template-columns: minmax(0, 1fr); }
  .s-data__index { padding-inline: var(--sp-4); }
  .s-data__index a { min-height: 44px; }
  .s-data__table td { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .s-data__spec > div { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
}
/* 14 explore: the heading and a sentence in the column, a row of chips to choose the desktop, then the explorer as
   one panel at column width (a hairline, round corners): a light stage with the cloud or the scanner picture centred
   in it, the legend bottom right inside it, and the control bar under it on white. */
.s-explore__head { display: grid; gap: var(--sp-3); max-width: var(--measure); margin-bottom: var(--sp-5); }

/* which desktop: one chip each, above the panel (they wrap; any number fits) */
.s-explore__pick { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); margin-bottom: var(--sp-4); }
.s-explore__pick-label { font-size: var(--fs-0); color: var(--muted); }
.s-explore__desks { display: flex; flex-wrap: wrap; gap: 6px; }
.s-explore__desk { min-height: 36px; padding: .3rem .9rem; border: 1px solid transparent; border-radius: var(--r-pill); background: var(--page); color: var(--text); box-shadow: var(--shadow-1);
                   font: 600 var(--fs-0)/1.2 var(--font); transition: background .15s, color .15s, border-color .15s; }
.s-explore__desk small { margin-left: .4em; font-size: 1em; font-weight: 400; color: var(--muted); }
.s-explore__desk:hover { background: var(--soft); color: var(--ink); }
.s-explore__desk[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.s-explore__desk[aria-pressed="true"] small { color: var(--on-accent); opacity: .85; }
.s-explore__lead { font-size: var(--fs-2); line-height: var(--lh); color: var(--text); }

.s-explore__panel { border: 0; border-radius: var(--r-4); overflow: hidden; background: var(--page); box-shadow: var(--shadow-1); }
.s-explore__main { position: relative; height: min(62vh, 600px); min-height: 440px; background: var(--stage); }
.s-explore__stage { position: absolute; inset: 0; overflow: hidden; background: var(--stage); }
.s-explore__stage:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.s-explore__poster, .tdv__img { position: absolute; inset: 4% 0; width: 100%; height: 92%; object-fit: contain; }
.tdv__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.tdv__canvas.is-dragging { cursor: grabbing; }

/* inside the stage */
.s-explore__keys { position: absolute; right: var(--sp-4); bottom: var(--sp-4); z-index: 2; pointer-events: none; }
.s-explore__legend { columns: 2; column-gap: var(--sp-4); padding: .4rem .6rem; border-radius: var(--r-2); background: var(--stage);
                     font-size: var(--fs-00); line-height: 1.75; color: var(--text); }
.s-explore__legend li { display: flex; align-items: center; gap: .45rem; break-inside: avoid; }
.s-explore__legend i { width: .6rem; height: .6rem; flex: none; border-radius: 2px; }
.s-explore__scale { display: grid; grid-template-columns: auto 8rem auto; align-items: center; gap: var(--sp-2); padding: .35rem .6rem; border-radius: var(--r-2); background: var(--stage);
                    font-size: var(--fs-00); color: var(--text); }
/* the Turbo colour scale of the depth view, near to far: data colours, as in the canvas */
.s-explore__scale i { height: 6px; border-radius: 3px; background: linear-gradient(to right, #7A0403, #D93806, #FB8022, #EFCD3A, #A4FC3C, #32F298, #18D8D8, #4294FF, #4144B1, #30123B); }
.s-explore__hint { position: absolute; left: var(--sp-4); bottom: var(--sp-4); z-index: 2; font-size: var(--fs-00); color: var(--muted); pointer-events: none; transition: opacity .3s; }
.s-explore__hint.is-off { opacity: 0; }
.s-explore__note { position: absolute; left: var(--sp-4); bottom: var(--sp-4); z-index: 3; max-width: 26rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: var(--r-2);
                   background: var(--page); color: var(--ink); font-size: var(--fs-0); line-height: 1.5; }
.s-explore__tip { position: absolute; z-index: 3; left: 0; top: 0; max-width: 16rem; padding: .45rem .65rem; border: 1px solid var(--line); border-radius: var(--r-2);
                  background: var(--page); color: var(--text); font-size: var(--fs-00); line-height: 1.45; pointer-events: none; }
.s-explore__tip b { display: flex; align-items: center; gap: .45rem; font-weight: 600; font-size: var(--fs-0); color: var(--ink); }
.s-explore__tip i { width: .6rem; height: .6rem; flex: none; border-radius: 2px; }

/* the control bar */
.s-explore__bar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-4) var(--sp-5); align-items: center; padding: var(--sp-4) var(--sp-5) var(--sp-5); border-top: 1px solid var(--line); }
.s-explore__transport { display: flex; gap: 6px; }
.s-explore__btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
                  background: var(--soft-2); color: var(--ink); font: 400 1.3rem/1 var(--font); transition: background .15s; }
.s-explore__btn:hover { background: var(--line); }
.s-explore__play { background: var(--accent); color: var(--on-accent); font-size: .85rem; }
.s-explore__play:hover { background: var(--accent-ink); }
.s-explore__btn:disabled { opacity: .5; cursor: not-allowed; }

.s-explore__progress { min-width: 0; }
.s-explore__now { font-size: var(--fs-1); line-height: 1.4; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.s-explore__now > span:first-child { font-weight: 600; }
.s-explore__tool { color: var(--text); }
.s-explore__log { font-size: var(--fs-0); line-height: 1.4; color: var(--muted); min-height: 1.4em; }

.s-explore__switches { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); }
.s-explore__seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: var(--soft-2); }
.s-explore__seg button { min-height: 34px; padding: .3rem .95rem; border: 1px solid transparent; border-radius: var(--r-pill); background: transparent; color: var(--text);
                         font: 600 var(--fs-0)/1.2 var(--font); transition: background .15s, color .15s; }
.s-explore__seg button:hover { color: var(--ink); }
.s-explore__seg button[aria-pressed="true"] { background: var(--page); border-color: var(--line); color: var(--accent-ink); }
.s-explore__seg button:disabled { opacity: .5; cursor: not-allowed; }
.s-explore__apart { display: flex; align-items: center; gap: var(--sp-3); margin-left: auto; min-width: 15rem; }
.s-explore__apart label { font-size: var(--fs-0); color: var(--text); white-space: nowrap; }

/* the two sliders: a pale track, the travelled part and a round thumb in the accent */
.s-explore__range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
.s-explore__range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--accent) var(--fill, 0%), var(--soft-2) var(--fill, 0%)); }
.s-explore__range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--soft-2); }
.s-explore__range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
.s-explore__range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border: 0; border-radius: 50%; background: var(--accent); }
.s-explore__range::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--accent); }
.s-explore__range:disabled { opacity: .5; cursor: not-allowed; }

.s-explore__btn:focus-visible, .s-explore__desk:focus-visible, .s-explore__seg button:focus-visible, .s-explore__range:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.s-explore__badge { margin-top: var(--sp-4); font-size: var(--fs-0); color: var(--muted); }

@media (max-width: 900px) {
  .s-explore__main { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .s-explore__stage { position: relative; inset: auto; width: 100%; aspect-ratio: var(--tdv-ar, 814 / 972); max-height: 70svh; }
  .s-explore__keys { position: static; padding: var(--sp-3) var(--sp-4) 0; background: var(--stage); }
  .s-explore__legend, .s-explore__scale { padding-inline: 0; }
  .s-explore__note { position: static; margin: var(--sp-3) var(--sp-4); }
  .s-explore__hint { display: none; }
  .s-explore__now { white-space: normal; }
  .s-explore__apart { margin-left: 0; }
}
@media (max-width: 560px) {
  .s-explore__bar { grid-template-columns: minmax(0, 1fr); padding: var(--sp-4); }
  .s-explore__btn { width: 48px; height: 44px; }
  .s-explore__desk { min-height: 44px; }
  .s-explore__seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; }
  .s-explore__seg button { min-height: 44px; }
  .s-explore__switches { flex-direction: column; align-items: stretch; }
  .s-explore__apart { flex-direction: column; align-items: stretch; gap: 0; min-width: 0; }
  .s-explore__range { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .s-explore__btn, .s-explore__desk, .s-explore__seg button, .s-explore__hint { transition: none; }
}
/* 15 guide / benchmark: the four tracks in full as cards with a hairline, then the split of the detection track and
   the table of the question-answer tasks (hairlines between rows, a pale head). */
.s-benchmark__head { display: grid; gap: var(--sp-3); max-width: var(--measure); margin-bottom: var(--sp-6); }
.s-benchmark__lead { font-size: var(--fs-2); line-height: var(--lh); color: var(--text); }

.s-benchmark__tracks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }      /* one card per row: the facts need the width */
.s-benchmark__track { display: flex; flex-direction: column; gap: var(--sp-3); min-width: 0; padding: 22px; border: 0; box-shadow: var(--shadow-1); border-radius: var(--r-4); background: var(--page); scroll-margin-top: 16px; }
.s-benchmark__top { display: flex; }
.s-benchmark__name { font-size: var(--fs-3); font-weight: 600; line-height: 1.3; color: var(--ink); }
.s-benchmark__def { font-size: var(--fs-1); line-height: 1.55; color: var(--text); }
.s-benchmark__spec { display: grid; gap: 0; margin-top: var(--sp-1); }
.s-benchmark__spec > div, .s-benchmark__facts > div { display: grid; grid-template-columns: minmax(7.5rem, 22%) minmax(0, 1fr); gap: var(--sp-3); padding: .5rem 0; border-top: 1px solid var(--line); }
.s-benchmark__spec dt, .s-benchmark__facts dt { font-size: var(--fs-0); font-weight: 600; color: var(--ink); }
.s-benchmark__spec dd, .s-benchmark__facts dd { font-size: var(--fs-0); line-height: 1.55; color: var(--text); }
.s-benchmark__spec dd code, .s-benchmark__facts dd code { font-size: .9em; color: var(--ink); overflow-wrap: anywhere; }
.s-benchmark__go { margin-top: auto; padding-top: var(--sp-2); }
.s-benchmark__go--off { font-size: var(--fs-0); color: var(--muted); }

.s-benchmark__detail { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); scroll-margin-top: 16px; }
.s-benchmark__detail-head { display: grid; gap: var(--sp-1); margin-bottom: var(--sp-4); }
.s-benchmark__kicker { font-size: var(--fs-0); color: var(--muted); }
.s-benchmark__detail-head h3 { font-size: var(--fs-4); font-weight: 400; line-height: 1.3; color: var(--ink); }
.s-benchmark__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--sp-6); align-items: start; }
.s-benchmark__facts { display: grid; }
.s-benchmark__scroll { position: relative; overflow-x: auto; }      /* relative: hidden helper text inside stays inside the scrolling box */

.s-benchmark__table { width: 100%; border-collapse: collapse; font-size: var(--fs-0); line-height: 1.5; color: var(--text); font-variant-numeric: tabular-nums; }
.s-benchmark__table thead th { padding: .6rem .75rem; background: var(--soft-2); font-weight: 600; color: var(--ink); text-align: left; white-space: nowrap; }
.s-benchmark__table thead th:first-child { border-radius: var(--r-2) 0 0 var(--r-2); }
.s-benchmark__table thead th:last-child { border-radius: 0 var(--r-2) var(--r-2) 0; }
.s-benchmark__table tbody th, .s-benchmark__table td, .s-benchmark__table tfoot th { padding: .65rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.s-benchmark__counts td { text-align: right; }
.s-benchmark__counts thead th:not(:first-child) { text-align: right; }
.s-benchmark__counts tbody th { color: var(--ink); }
.s-benchmark__counts .is-test th, .s-benchmark__counts .is-test td { font-weight: 600; color: var(--ink); background: var(--accent-soft); }
.s-benchmark__desks { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-right: .4rem; vertical-align: middle; }
.s-benchmark__desks span { padding: .05rem .4rem; border-radius: var(--r-1); background: var(--soft-2); font-size: var(--fs-00); color: var(--ink); font-variant-numeric: tabular-nums; }

.s-benchmark__group th { padding-top: 1.2rem; font-weight: 600; font-size: var(--fs-1); color: var(--ink); }
.s-benchmark__task { width: 24%; color: var(--ink); }
.s-benchmark__id { display: inline-block; min-width: 2.4rem; font-weight: 600; }
.s-benchmark__asks { width: 38%; }
.s-benchmark__n { text-align: right; white-space: nowrap; color: var(--ink); }
.s-benchmark__table td.s-benchmark__n, .s-benchmark__table th.s-benchmark__n { text-align: right; }
.s-benchmark__table tfoot th, .s-benchmark__table tfoot td { font-weight: 600; color: var(--ink); border-bottom: 0; }
.s-benchmark__note { margin-top: var(--sp-4); max-width: var(--measure); font-size: var(--fs-0); line-height: 1.55; color: var(--muted); }

@media (max-width: 900px) {
  .s-benchmark__tracks, .s-benchmark__split { grid-template-columns: minmax(0, 1fr); }
  .s-benchmark__tasks thead { display: none; }
  .s-benchmark__tasks, .s-benchmark__tasks tbody, .s-benchmark__tasks tfoot, .s-benchmark__tasks tr, .s-benchmark__tasks th, .s-benchmark__tasks td { display: block; width: 100%; }
  .s-benchmark__tasks tr { padding-block: var(--sp-3); border-bottom: 1px solid var(--line); }
  .s-benchmark__tasks tbody th, .s-benchmark__tasks td, .s-benchmark__tasks tfoot th { border: 0; padding: .2rem 0; text-align: left; }
  .s-benchmark__tasks td.s-benchmark__n { text-align: left; }
  .s-benchmark__tasks td.s-benchmark__n .vh { position: static; width: auto; height: auto; clip-path: none; color: var(--muted); }
  .s-benchmark__tasks tfoot tr { display: flex; justify-content: space-between; }
  .s-benchmark__tasks tfoot th, .s-benchmark__tasks tfoot td { width: auto; }
}
@media (max-width: 560px) {
  .s-benchmark__track { padding: 18px; }
  .s-benchmark__spec > div, .s-benchmark__facts > div { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
}

/* results: four tables under one heading; wide ones scroll sideways inside their own box */
.s-benchmark__results { margin-top: var(--sp-7); }
.s-benchmark__rh { margin-top: var(--sp-6); font-size: var(--fs-1); font-weight: 600; color: var(--ink); scroll-margin-top: 20px; }
.s-benchmark__rp { margin: var(--sp-1) 0 var(--sp-3); font-size: var(--fs-0); color: var(--text); }
.s-benchmark__scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.s-benchmark__res { min-width: 46rem; font-variant-numeric: tabular-nums; }
.s-benchmark__res--narrow { min-width: 0; }
.s-benchmark__res thead th { white-space: nowrap; }
.s-benchmark__res thead td { background: none; border: 0; }
.s-benchmark__res thead .s-benchmark__span { background: none; padding-bottom: .2rem; border-bottom: 1px solid var(--line-2); border-radius: 0; text-align: center; color: var(--ink); }
.s-benchmark__res thead .s-benchmark__span--sub { font-weight: 400; color: var(--text); }
.s-benchmark__res tbody th[scope="row"] { font-weight: 600; color: var(--ink); white-space: nowrap; }
.s-benchmark__res td { white-space: nowrap; }
.s-benchmark__res .s-benchmark__metric { color: var(--text); white-space: normal; min-width: 7rem; }
.s-benchmark__ci { color: var(--muted); }
.s-benchmark__same { color: var(--muted); text-align: center; }
.s-benchmark__res sup { line-height: 0; }
/* 16 get: "Download". A sentence, the one command in a code block with its copy control, three buttons, a note. */
.s-get__cmd { padding-right: 5rem; }
.s-get__code { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.s-get__code:focus-visible { outline-offset: 4px; }
.s-get__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.s-get__note { max-width: var(--measure); margin-top: var(--sp-4); font-size: var(--fs-0); color: var(--muted); }

@media (max-width: 560px) {
  .s-get__cmd { padding-right: var(--sp-4); padding-top: 3.4rem; }
  .s-get__actions .btn { flex: 1 1 100%; }
}
/* 17 home / dataset: a heading, one or two sentences, then a three-column grid of pictures, each with its caption
   under it. In a row every picture box has the same height: a one-column box is 4:3, a two-column box is two columns
   plus the gap wide and one box tall (the pictures of pipeline/make_uses.py are cut to exactly those shapes). */
.s-hdata__head { display: grid; gap: var(--sp-3); max-width: var(--measure); margin-bottom: var(--sp-6); }
.s-hdata__lead { font-size: var(--fs-2); line-height: var(--lh); color: var(--text); }

.s-hdata__grid { --cols: 3; container-type: inline-size; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 32px 20px; }
.s-hdata__fig { display: flex; flex-direction: column; min-width: 0; }
.s-hdata__fig--wide { grid-column: span 2; }
.s-hdata__pic { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-3); background: var(--page); box-shadow: var(--shadow-1); }
.s-hdata__fig--wide .s-hdata__pic { aspect-ratio: 2.7467; }
@supports (height: 1cqw) {
  /* exactly as tall as a one-column box of the same row */
  .s-hdata__fig--wide .s-hdata__pic { aspect-ratio: auto; height: calc((100cqw - (var(--cols) - 1) * 20px) / var(--cols) * .75); }
}
.s-hdata__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.s-hdata__fig figcaption { padding-top: var(--sp-3); }
.s-hdata__fig figcaption b { display: block; font-weight: 600; font-size: var(--fs-1); line-height: 1.4; color: var(--ink); }
.s-hdata__fig figcaption span { display: block; margin-top: .15rem; font-size: var(--fs-0); line-height: 1.5; color: var(--text); }

/* one quoted question and its answer, under the grid at the column's width (inside a figure it made its row lopsided) */
.s-hdata__example { margin-top: var(--sp-6); }
.s-hdata__example > p { font-size: var(--fs-0); color: var(--muted); }
.s-hdata__quote { display: grid; gap: var(--sp-2); margin-top: var(--sp-2); padding: var(--sp-4) var(--sp-5); border-radius: var(--r-3); background: var(--page); box-shadow: var(--shadow-1);
                  font-size: var(--fs-0); line-height: 1.5; }
.s-hdata__quote > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: var(--sp-3); }
.s-hdata__quote dt { font-weight: 600; color: var(--ink); }
.s-hdata__quote dd { color: var(--text); }
.s-hdata__quote code { font-size: .92em; color: var(--ink); }

/* operator video: the two figures, set calmly on the pale ground */
.s-hdata__panel { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, .5rem + 3cqw, 2.75rem); }
.s-hdata__panel p { display: grid; justify-items: center; gap: .2rem; }
.s-hdata__panel b { font-weight: 600; font-size: var(--fs-5); line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.s-hdata__panel span { font-size: var(--fs-0); color: var(--text); }

.s-hdata__more { margin-top: var(--sp-5); }

@media (max-width: 900px) {
  .s-hdata__grid { --cols: 2; }
}
@media (max-width: 560px) {
  .s-hdata__grid { --cols: 1; gap: 28px; }
  .s-hdata__fig--wide { grid-column: auto; }
  .s-hdata__fig--wide .s-hdata__pic { aspect-ratio: 2.7467; height: auto; }
}
/* 18 home / benchmark: the heading and a sentence, then one wide white card per track: on the left what the track is
   (picture, status, name, definition, three quiet rows, a link), on the right how current models do on it (a bar
   table or a shaded score table). Chart marks follow the data-viz specs of 20-stats.css: thin bars with a rounded
   data end, one hue, numbers in text colours. */
.s-hbench { --series-1: #6A55B8; --bar: var(--series-1); }
.s-hbench__head { display: grid; gap: var(--sp-3); max-width: var(--measure); margin-bottom: var(--sp-6); }
.s-hbench__lead { font-size: var(--fs-2); line-height: var(--lh); color: var(--text); }

.s-hbench__tracks { display: grid; gap: 20px; }
.s-hbench__track { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.25rem, .6rem + 2.4vw, 2.5rem); min-width: 0; padding: 22px;
                   border-radius: var(--r-4); background: var(--page); box-shadow: var(--shadow-1); }
.s-hbench__what { display: flex; flex-direction: column; min-width: 0; }
.s-hbench__pic { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-2); background: var(--soft); }
.s-hbench__status { margin-top: var(--sp-4); }
.s-hbench__name { margin-top: var(--sp-2); font-size: var(--fs-3); font-weight: 600; line-height: 1.3; color: var(--ink); }
.s-hbench__def { margin-top: var(--sp-2); font-size: var(--fs-1); line-height: 1.55; color: var(--text); }
.s-hbench__def code { font-size: .9em; }
.s-hbench__spec { display: grid; gap: .35rem; margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.s-hbench__spec > div { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: var(--sp-3); font-size: var(--fs-0); line-height: 1.5; }
.s-hbench__spec dt { font-weight: 600; color: var(--ink); }
.s-hbench__spec dd { color: var(--text); }
.s-hbench__go { align-self: flex-start; margin-top: var(--sp-2); }
.s-hbench__more { margin-top: var(--sp-5); }

/* the results beside it */
.s-hbench__res { min-width: 0; margin: 0; align-self: start; }
.s-hbench__cap { display: grid; gap: .2rem; margin-bottom: var(--sp-4); }
.s-hbench__cap b { font-size: var(--fs-1); font-weight: 600; color: var(--ink); }
.s-hbench__cap span { font-size: var(--fs-0); line-height: 1.45; color: var(--muted); }
.s-hbench__note { margin-top: var(--sp-3); font-size: var(--fs-00); line-height: 1.5; color: var(--muted); }
.s-hbench__note sup, .rt sup, .hm sup { line-height: 0; }
.s-hbench__swipe { display: none; }

/* a result table whose middle column is a bar: name, bar with its value, one more number */
.rt { width: 100%; border-collapse: collapse; font-size: var(--fs-0); }
.rt thead th { padding: 0 0 .35rem; font-size: var(--fs-00); font-weight: 400; color: var(--muted); text-align: left; }
.rt th[scope="row"] { width: 38%; padding: .32rem .75rem .32rem 0; font-weight: 400; color: var(--text); text-align: left; line-height: 1.35; }
.rt th[scope="row"] span { display: block; font-size: var(--fs-00); color: var(--muted); }
.rt--wide th[scope="row"] { color: var(--ink); font-weight: 600; }
.rt--wide th[scope="row"] span { font-weight: 400; }
.rt__bar { padding: .32rem 0; }
.rt__cell { display: flex; align-items: center; gap: .6rem; }
.rt__track { flex: 1 1 auto; min-width: 0; height: 8px; border-radius: 0 4px 4px 0; background: var(--soft); }      /* the 0 to 100 axis */
.rt__track i { display: block; height: 100%; min-width: 2px; border-radius: 0 4px 4px 0; background: var(--bar); }
.rt__bar b { flex: none; min-width: 3.4rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rt .rt__num { width: 4.6rem; padding-left: .5rem; text-align: right; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rt thead .rt__num { color: var(--muted); }
/* two measures side by side: each bar column has its own axis, named in its heading */
.rt--two th[scope="row"] { width: 24%; }
.rt--two .rt__bar { width: 32%; }
.rt--two .rt__bar + .rt__bar { padding-left: .9rem; }
.rt--two .rt__bar b { min-width: 3.9rem; text-align: right; }
.rt__cell--none { font-size: var(--fs-00); color: var(--muted); }

/* a shaded score table: one soft cell per task and model, paler for a low score, the number always printed */
.hm-wrap { position: relative; overflow-x: auto; border-radius: var(--r-2); }
.hm-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hm { width: 100%; min-width: 29rem; table-layout: fixed; border-collapse: separate; border-spacing: 2px; font-size: var(--fs-00); font-variant-numeric: tabular-nums; }
.hm thead th { padding: 0 .1rem .2rem; font-weight: 400; color: var(--muted); text-align: center; white-space: nowrap; }
.hm thead .hm__span { padding-bottom: .15rem; border-bottom: 1px solid var(--line-2); font-weight: 600; color: var(--ink); }
.hm thead .hm__task, .hm .hm__task { text-align: left; }
.hm tbody th[scope="row"] { padding: .26rem .5rem .26rem 0; font-weight: 400; color: var(--text); line-height: 1.3; }
.hm__group th { padding: .55rem 0 .1rem; font-size: var(--fs-00); font-weight: 600; color: var(--ink); text-align: left; }
.hm__c-task { width: 31%; }
.hm td { padding: .26rem .1rem; border-radius: 6px; text-align: center; color: var(--ink);
         background: color-mix(in srgb, var(--series-1) calc(var(--v, 0) * .5%), var(--page)); }
.hm thead td { background: none; }
.hm td.hm__const { color: var(--text); background: color-mix(in srgb, var(--muted) calc(var(--v, 0) * .28%), var(--page)); }

@media (max-width: 900px) {
  .s-hbench__track { grid-template-columns: minmax(0, 1fr); }
  .s-hbench__res { align-self: stretch; padding-top: var(--sp-4); border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .s-hbench__track { padding: 18px; }
  .hm tbody th[scope="row"], .hm thead .hm__task { position: sticky; left: 0; z-index: 1; background: var(--page); }
  .hm__c-task { width: 34%; }
  .s-hbench__swipe { display: block; }
  .rt th[scope="row"] { width: 42%; padding-right: .5rem; }
  .rt .rt__num { width: 3.9rem; }
  .rt--two th[scope="row"] { width: 30%; }
  .rt--two .rt__bar { width: auto; }
  .rt--two .rt__track { display: none; }
  .rt--two .rt__bar b { min-width: 0; text-align: left; }
  .rt--two .rt__bar + .rt__bar { padding-left: .5rem; }
}
/* 19 cite: "Citation". One line for now, and one line on the terms. */
.s-cite__soon { color: var(--ink); }
.s-cite__licence { max-width: var(--measure); font-size: var(--fs-0); color: var(--text); }
/* 20 stats: "The dataset in numbers". White cards with the soft shadow on the white page (the one section between
   two sheets that is not a sheet, for rhythm). Chart marks follow the data-viz specs: thin bars (8 px) with a rounded
   data end and a square baseline, 2 px lines, 8 px dots with a 2 px ring, hairline grid, text in text tokens only.
   The three series colours were checked for colour-blind separation (all pairs) against white; the orange is below
   3:1, so every chart that uses it also has direct labels or a table. */
.s-stats { --series-1: #6A55B8; --series-2: #E8833A; --series-3: #2B9FB0; --bar: var(--series-1); --track: var(--soft-2); }
/* the share of a part that is hidden, in three steps of one hue (light to dark; checked as an ordinal ramp) */
.s-stats { --hid-1: #A394DC; --hid-2: #6A55B8; --hid-3: #3B2E80; }
.s-stats__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.s-stats__card { min-width: 0; margin: 0; padding: clamp(1rem, .7rem + 1vw, 1.5rem); border-radius: var(--r-4); background: var(--page); box-shadow: var(--shadow-1); }
.s-stats__card--wide { grid-column: 1 / -1; }
.s-stats__side { display: grid; gap: 20px; align-content: start; min-width: 0; }
.s-stats__grid > .s-stats__card:nth-last-child(-n + 2):not(.s-stats__card--wide) { grid-column: auto; }
.s-stats__title { display: grid; gap: .2rem; margin-bottom: var(--sp-4); }
.s-stats__title b { font-size: var(--fs-1); font-weight: 600; color: var(--ink); }
.s-stats__title span { font-size: var(--fs-0); line-height: 1.45; color: var(--muted); }

.s-stats__legend { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-bottom: var(--sp-4); font-size: var(--fs-0); color: var(--text); }
.s-stats__legend li { display: inline-flex; align-items: center; gap: .45rem; }
.s-stats__legend--seg { margin: var(--sp-3) 0 0; }
.s-stats__key { width: 14px; height: 4px; border-radius: 2px; background: var(--k); flex: none; }
.s-stats__legend--seg .s-stats__key { width: 10px; height: 10px; border-radius: 3px; }
.s-stats__key--1 { --k: var(--series-1); }
.s-stats__key--2 { --k: var(--series-2); }
.s-stats__key--3 { --k: var(--series-3); }
.s-stats__key--sq { width: 10px; height: 10px; border-radius: 3px; }
.s-stats__key--h1 { --k: var(--hid-1); }
.s-stats__key--h2 { --k: var(--hid-2); }
.s-stats__key--h3 { --k: var(--hid-3); }
.s-stats__key--g1 { --k: var(--series-3); }
.s-stats__key--g2 { --k: var(--series-1); }
.s-stats__key--g3 { --k: var(--series-2); }

/* the line chart: lines in an SVG stretched to the plot, every word in HTML so it keeps its size on a phone */
.lc { position: relative; padding: 4px 8px 28px 44px; border-radius: var(--r-2); outline-offset: 4px; }
.lc:focus-visible { outline: 2px solid var(--accent); }
.lc__plot { position: relative; height: clamp(200px, 150px + 9vw, 270px); }
.lc__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lc__line { fill: none; stroke-width: 2px; stroke-linejoin: round; stroke-linecap: round; }
.lc__line--1 { stroke: var(--series-1); }
.lc__line--2 { stroke: var(--series-2); }
.lc__line--3 { stroke: var(--series-3); }
.lc__grid { position: absolute; left: 0; right: 0; height: 1px; background: var(--line); }
.lc__ytick { position: absolute; left: -44px; width: 36px; transform: translateY(-50%); text-align: right; font-size: var(--fs-00); color: var(--muted); font-variant-numeric: tabular-nums; }
.lc__xtick { position: absolute; bottom: -24px; transform: translateX(-50%); font-size: var(--fs-00); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lc__xtick--first { transform: none; }
.lc__xtick--last { transform: translateX(-100%); }
.lc__label { position: absolute; transform: translate(-50%, 6px); padding: 0 .3rem; border-radius: 4px; background: rgba(255, 255, 255, .85); font-size: var(--fs-00); font-weight: 600; color: var(--ink); white-space: nowrap; pointer-events: none; }
.lc__label--above { transform: translate(-50%, calc(-100% - 6px)); }
.lc__cross { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-2); pointer-events: none; }
.lc__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; box-shadow: 0 0 0 2px var(--page); pointer-events: none; }
.lc__dot--1 { background: var(--series-1); }
.lc__dot--2 { background: var(--series-2); }
.lc__dot--3 { background: var(--series-3); }

.s-stats__tip { position: absolute; z-index: 3; min-width: 11rem; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--page); box-shadow: var(--shadow-2);
                font-size: var(--fs-00); line-height: 1.55; color: var(--text); pointer-events: none; white-space: nowrap; }
.s-stats__tip b { display: block; color: var(--ink); font-weight: 600; }
.s-stats__tip i { display: inline-block; width: 8px; height: 8px; margin-right: .4rem; border-radius: 50%; vertical-align: .05em; }

.s-stats__table { margin-top: var(--sp-3); font-size: var(--fs-0); }
.s-stats__table summary { min-height: 32px; display: inline-flex; align-items: center; color: var(--accent-ink); cursor: pointer; }
.s-stats__table .table { margin-top: var(--sp-2); font-variant-numeric: tabular-nums; }
.s-stats__note { margin-top: var(--sp-2); color: var(--muted); }

/* the segmented bar (one whole in parts): 28 px, each part its own block with 4 px corners and a 2 px gap */
.seg-bar { display: flex; gap: 2px; height: 28px; }
.seg-bar__part { display: flex; align-items: center; min-width: 6px; padding-left: .5rem; border-radius: 4px; font-size: var(--fs-0); font-weight: 600; font-variant-numeric: tabular-nums; }
.seg-bar__part--1 { background: var(--series-1); color: #fff; }
.seg-bar__part--2 { background: var(--series-2); color: #1f1a17; }
.seg-bar__part--3 { background: var(--series-3); padding: 0; }

/* the histogram: one column per five steps, 4 px rounded cap, square base, a 2 px gap */
.hist { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 2px; align-items: end; height: 140px; margin-top: var(--sp-5); border-bottom: 1px solid var(--line); }
.hist__col { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 100%; outline: none; }
.hist__col i { display: block; width: min(100%, 24px); min-height: 0; border-radius: 4px 4px 0 0; background: var(--bar); }
.hist__col b { position: absolute; left: 50%; transform: translateX(-50%); font-size: var(--fs-00); font-weight: 600; color: var(--ink); }
.hist__col:hover i { background: var(--accent-ink); }
.hist__axis { display: flex; justify-content: space-between; padding-top: .3rem; font-size: var(--fs-00); color: var(--muted); }

/* bar tables: a name, a thin bar, the value (a table with a bar column, so every row keeps its number) */
.bars { display: grid; row-gap: .35rem; }
.bars--two { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(12, auto); column-gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.bars__row { display: grid; grid-template-columns: minmax(7.5rem, 38%) minmax(0, 1fr) 3.75rem; align-items: center; gap: .75rem; font-size: var(--fs-0); }
.bars__name { color: var(--text); overflow-wrap: anywhere; }
.bars__track { height: 8px; }
.bars__track i { display: block; height: 100%; min-width: 2px; border-radius: 0 4px 4px 0; background: var(--bar); }
.bars__val { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }

/* the flow chart: actions on the left, parts on the right, one ribbon per pair; its thickness is the number of actions.
   Nodes and labels are HTML (they keep their size on a phone); the ribbons are an SVG stretched between them. */
.flow { --flow-h: 470px; position: relative; display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 13.5rem; grid-template-rows: var(--flow-h); margin-top: var(--sp-2); }
.flow__col { position: relative; }
.flow__node { position: absolute; left: 0; right: 0; display: flex; align-items: center; min-height: 2px; outline-offset: 2px; cursor: default; }
.flow__node::before { content: ""; position: absolute; top: 0; bottom: 0; width: 6px; border-radius: 3px; background: var(--ink-soft, #7B8791); transition: background .15s; }
.flow__col--left .flow__node { justify-content: flex-end; padding-right: 14px; text-align: right; }
.flow__col--left .flow__node::before { right: 0; }
.flow__col--right .flow__node { padding-left: 14px; }
.flow__col--right .flow__node::before { left: 0; }
.flow__node span { font-size: var(--fs-0); line-height: 1.2; color: var(--text); }
.flow__node b { margin-left: .2em; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.flow__svg { display: block; width: 100%; height: var(--flow-h); overflow: visible; }
.flow__link { fill: var(--series-1); opacity: .2; transition: opacity .15s; }
.flow__link:hover { opacity: .55; }
.flow.is-picked .flow__link { opacity: .07; }
.flow.is-picked .flow__link.is-on { opacity: .55; }
.flow.is-picked .flow__node { opacity: .45; }
.flow.is-picked .flow__node.is-on { opacity: 1; }
.flow__node.is-on::before, .flow__node:hover::before, .flow__node:focus-visible::before { background: var(--series-1); }
.flow__tip { min-width: 0; }

/* the class table: name, parts, mask annotations (bars on a log scale, the number beside each), and how much of the
   part is hidden over its annotations (one bar per class, split in three) */
.ct { width: 100%; border-collapse: collapse; font-size: var(--fs-0); }
.ct-note { font-style: normal; }
.ct thead th { padding: 0 .5rem .4rem 0; font-size: var(--fs-00); font-weight: 400; color: var(--muted); text-align: left; white-space: nowrap; }
.ct tbody th { width: 11.5rem; padding: .22rem .75rem .22rem 0; font-weight: 400; color: var(--text); text-align: left; white-space: nowrap; }
.ct td { padding: .22rem 0; }
.ct__bar { width: 17%; }
.ct__bar i { display: block; height: 8px; min-width: 2px; border-radius: 0 4px 4px 0; background: var(--bar); }
.ct td.ct__n { width: 4.6rem; padding: 0 1.25rem 0 .5rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.ct__stack { display: flex; gap: 2px; height: 8px; }
.ct__stack i { min-width: 2px; border-radius: 2px; }
.ct__h1 { background: var(--hid-1); }
.ct__h2 { background: var(--hid-2); }
.ct__h3 { background: var(--hid-3); }

/* question types: one block of bars per group, in the group's colour */
.qt__group { display: flex; align-items: center; gap: .45rem; margin: var(--sp-3) 0 .3rem; font-size: var(--fs-0); font-weight: 600; color: var(--ink); }
.qt__group:first-of-type { margin-top: 0; }
.qt__group span { margin-left: auto; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.qt--1 { --bar: var(--series-3); }
.qt--2 { --bar: var(--series-1); }
.qt--3 { --bar: var(--series-2); }

/* robot demonstrations: one bar per part, the two settings end to end with a gap */
.rb__track { display: flex; gap: 2px; }
.rb__track i { flex: none; }
.rb .rb__track .rb__a { background: var(--series-1); border-radius: 0; }
.rb .rb__track .rb__b { background: var(--series-2); }
.rb .bars__row:not(:has(.rb__b)) .rb__track .rb__a { border-radius: 0 4px 4px 0; }

@media (max-width: 900px) {
  .s-stats__grid { grid-template-columns: minmax(0, 1fr); }
  .bars--two { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-template-rows: none; }
}
@media (max-width: 560px) {
  .bars__row { grid-template-columns: minmax(6.5rem, 42%) minmax(0, 1fr) 3.4rem; gap: .5rem; }
  .flow { --flow-h: 440px; grid-template-columns: 5.4rem minmax(0, 1fr) 9.6rem; }
  .flow__node span { font-size: var(--fs-00); }
  .flow__col--left .flow__node { padding-right: 10px; }
  .flow__col--right .flow__node { padding-left: 10px; }
  .ct tbody th { width: auto; white-space: normal; padding-right: .5rem; }
  .ct thead th { white-space: normal; vertical-align: bottom; line-height: 1.25; }
  .ct thead th:nth-child(2), .ct thead th:nth-child(3) { padding-right: .6rem; text-align: right; }
  .ct-note { display: none; }
  .ct__bar { width: 0; }
  .ct__bar i { display: none; }
  .ct td.ct__n { width: auto; padding: 0 .6rem 0 0; text-align: right; }
  .ct__hid { width: 28%; }
  .lc { padding-left: 38px; }
  .lc__ytick { left: -38px; width: 32px; }
}
/* 21 story: the two sections that retell the dataset's overview figures.
   capture: the photograph of the rig with numbered marks and their legend, beside four short steps.
   stages:  four chevron tabs (perception, understanding, planning, execution) over one white card; the planning
            panel holds the relation graph, drawn as an SVG that can be pointed at. */

/* ---- capture ---- */
.s-capture__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 1rem + 2.4vw, 3rem); align-items: start; }
.s-capture__rig { margin: 0; min-width: 0; }
.s-capture__photo { position: relative; overflow: hidden; border-radius: var(--r-4); box-shadow: var(--shadow-1); background: var(--media-bg); }
.s-capture__photo img { width: 100%; }
/* a mark is a ring around the device, so the device stays in view; its number sits on the ring's upper left edge */
.s-capture__dot { --ring: 36px; position: absolute; width: var(--ring); height: var(--ring); margin: calc(var(--ring) / -2) 0 0 calc(var(--ring) / -2); border-radius: 50%;
                  border: 2.5px solid var(--accent); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9), inset 0 0 0 1.5px rgba(255, 255, 255, .9);
                  transition: transform .2s var(--ease), border-width .2s var(--ease); }
.s-capture__num { position: absolute; left: -8px; top: -8px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
                  background: var(--accent); color: var(--on-accent); font-size: 11px; font-style: normal; font-weight: 600; line-height: 1;
                  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9); }
.s-capture__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: capture-ping 3.2s var(--ease) infinite; }
.s-capture__dot.is-on { transform: scale(1.15); border-width: 3.5px; }
.s-capture.is-picked .s-capture__dot:not(.is-on) { opacity: .45; }
@keyframes capture-ping { 0% { transform: scale(1); opacity: .6; } 60%, 100% { transform: scale(1.5); opacity: 0; } }
.s-capture__legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem var(--sp-5); margin-top: var(--sp-4); counter-reset: dev; }
.s-capture__legend li { position: relative; padding-left: 2.1rem; font-size: var(--fs-0); line-height: 1.45; counter-increment: dev; border-radius: var(--r-1); }
.s-capture__legend li::before { content: counter(dev); position: absolute; left: 0; top: .1rem; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
                                background: var(--accent-soft); color: var(--accent-ink); font-size: var(--fs-00); font-weight: 600; }
.s-capture__legend li.is-on::before { background: var(--accent); color: var(--on-accent); }
.s-capture__legend b { display: block; }
.s-capture__legend span { color: var(--text); }

.s-capture__steps { display: grid; gap: var(--sp-5); counter-reset: step; }
.s-capture__steps li { position: relative; padding-left: 3rem; counter-increment: step; }
.s-capture__steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
                               background: var(--tint-lilac); color: var(--accent-ink); font-weight: 600; font-size: var(--fs-1); }
.s-capture__steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(1rem - 1px); top: 2.3rem; bottom: calc(-1 * var(--sp-5) + .3rem); width: 2px; border-radius: 1px; background: var(--soft-2); }
.s-capture__steps h3 { font-size: var(--fs-1); line-height: 2rem; }
.s-capture__steps p { font-size: var(--fs-1); line-height: 1.55; color: var(--text); }

/* ---- stages ---- */
.s-stages__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: var(--sp-4); }
.s-stages__tab { --notch: 18px; position: relative; min-height: 52px; margin-left: calc(-1 * var(--notch) + 6px); padding: .5rem calc(var(--notch) + .5rem); border: 0; background: var(--soft-2); color: var(--ink);
                 font: 600 var(--fs-1)/1.2 var(--font); transition: background .2s, color .2s;
                 clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% 50%, calc(100% - var(--notch)) 100%, 0 100%, var(--notch) 50%); }
.s-stages__tab:first-child { margin-left: 0; border-radius: var(--r-2) 0 0 var(--r-2); clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% 50%, calc(100% - var(--notch)) 100%, 0 100%); }
.s-stages__tab:last-child { border-radius: 0 var(--r-2) var(--r-2) 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--notch) 50%); }
.s-stages__tab:hover { background: var(--accent-soft-2); }
.s-stages__tab[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.s-stages__tab:focus-visible { outline: none; }
.s-stages__tab:focus-visible span { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }
/* the bar under the chosen tab fills while the tabs change by themselves */
.s-stages__tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: rgba(255, 255, 255, .7); }
.s-stages.is-auto .s-stages__tab[aria-selected="true"]::after { width: 100%; transition: width var(--stage-time, 7s) linear; }

.s-stages__panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.25rem, .8rem + 2vw, 2.5rem); align-items: center; padding: clamp(1.1rem, .7rem + 1.4vw, 1.75rem);
                   border-radius: var(--r-4); background: var(--page); box-shadow: var(--shadow-1); }
.s-stages__panel + .s-stages__panel { margin-top: 20px; }
.s-stages__panel[hidden] + .s-stages__panel, .s-stages.is-tabbed .s-stages__panel { margin-top: 0; }
.s-stages.is-tabbed .s-stages__panel { min-height: 27.5rem; animation: stage-in .35s var(--ease); }
@keyframes stage-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.s-stages__panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.s-stages__vis { min-width: 0; }
.s-stages__text h3 { font-size: var(--fs-4); font-weight: 400; margin-bottom: var(--sp-2); }
.s-stages__text p { font-size: var(--fs-1); line-height: 1.6; color: var(--text); }
.s-stages__types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-4); }
.s-stages__types li { padding: .15rem .75rem; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-ink); font-size: var(--fs-0); }
.s-stages__types::before { content: "Question types"; flex: 1 0 100%; font-size: var(--fs-00); color: var(--muted); }
.s-stages__links { display: flex; flex-wrap: wrap; gap: 0 var(--sp-5); margin-top: var(--sp-3); }
.s-stages__cap { margin-top: var(--sp-2); font-size: var(--fs-0); line-height: 1.5; color: var(--muted); }

.s-stages__strip, .s-stages__chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.s-stages__strip img, .s-stages__chain img, .s-stages__pair img, .s-stages__wide { width: 100%; border-radius: var(--r-2); background: var(--media-bg); }
.s-stages__chain li { position: relative; display: grid; gap: .3rem; justify-items: center; font-size: var(--fs-0); color: var(--ink); }
.s-stages__chain li:not(:last-child)::after, .s-stages__strip li:not(:last-child)::after { content: "\2192"; position: absolute; right: -9px; top: calc(50% - 1.6rem); z-index: 1; display: grid; place-items: center;
                 width: 18px; height: 18px; border-radius: 50%; background: var(--page); color: var(--accent-ink); font-size: .8rem; box-shadow: var(--shadow-1); }
.s-stages__strip li { position: relative; }
.s-stages__strip li:not(:last-child)::after { top: calc(50% - 9px); }
.s-stages__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 9.5rem)); gap: var(--sp-4); margin-top: var(--sp-4); }
.s-stages__pair figure { margin: 0; display: grid; gap: .3rem; font-size: var(--fs-0); color: var(--ink); }
.s-stages__pair--arrow { position: relative; }

/* the relation graph */
.rg-wrap { overflow-x: auto; border-radius: var(--r-2); }
.rg-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.rg { display: block; width: 100%; min-width: 34rem; height: auto; font-family: var(--font); }
.rg__node rect { fill: var(--soft); stroke: var(--line); stroke-width: 1; transition: fill .15s, stroke .15s; }
.rg__node text { font-size: 12px; font-weight: 600; fill: var(--ink); }
.rg__node { cursor: default; outline: none; }
.rg__edge line { stroke: var(--line-2); stroke-width: 1.5; transition: stroke .15s; }
.rg__edge text { font-size: 11px; fill: var(--muted); }
.rg #rg-arrow path, .rg marker path { fill: var(--line-2); }
.rg.is-picked .rg__node:not(.is-on) { opacity: .35; }
.rg.is-picked .rg__edge:not(.is-on) { opacity: .25; }
.rg__node.is-on rect { fill: var(--accent-soft); stroke: var(--accent-soft-2); }
.rg__node.is-target rect, .rg__node:focus-visible rect { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2; }
.rg__edge.is-on line { stroke: var(--accent); }
.rg__edge.is-on text { fill: var(--accent-ink); }

@media (max-width: 900px) {
  .s-capture__grid { grid-template-columns: minmax(0, 1fr); }
  .s-stages__panel { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .s-stages.is-tabbed .s-stages__panel { min-height: 0; }
}
@media (max-width: 560px) {
  .s-capture__legend { grid-template-columns: minmax(0, 1fr); }
  .s-capture__dot { --ring: 26px; border-width: 2px; }
  .s-capture__num { left: -7px; top: -7px; width: 15px; height: 15px; font-size: 10px; }
  .s-stages__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .s-stages__tab, .s-stages__tab:first-child, .s-stages__tab:last-child { margin-left: 0; padding: .5rem .75rem; border-radius: var(--r-pill); clip-path: none; min-height: 44px; }
  .s-stages__strip, .s-stages__chain { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .s-stages__strip li:nth-child(2)::after, .s-stages__chain li:nth-child(2)::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .s-capture__dot::after { animation: none; }
  .s-stages.is-tabbed .s-stages__panel { animation: none; }
}
/* 23 team (guide): the licence on a pale panel, the full BibTeX in a code block with its copy control, the questions
   as rows that open, apart by hairlines */
.s-team__block { display: grid; gap: var(--sp-3); min-width: 0; }
.s-team__block + .s-team__block { margin-top: var(--sp-7); }
.s-team__block h3 { font-size: var(--fs-4); font-weight: 400; scroll-margin-top: 20px; }
.s-team__licence { display: grid; gap: var(--sp-3); max-width: var(--measure); padding: var(--sp-5); border-radius: var(--r-4); background: var(--tint-lilac); }
.s-team__licence p { font-size: var(--fs-1); color: var(--text); }
.s-team__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }

.s-team__cite-note { max-width: var(--measure); font-size: var(--fs-0); color: var(--muted); }

/* questions */
.s-team__qs { max-width: var(--measure); border-top: 1px solid var(--line); }
.s-team__qs details { border-bottom: 1px solid var(--line); }
.s-team__qs summary { display: grid; grid-template-columns: minmax(0, 1fr) 1.25rem; align-items: center; gap: var(--sp-3); min-height: 52px; padding: .6rem 0;
                      cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.s-team__qs summary::-webkit-details-marker { display: none; }
.s-team__qs summary::after { content: "+"; justify-self: end; font-size: 1.3rem; font-weight: 400; line-height: 1; color: var(--accent-ink); transition: transform .2s var(--ease); }
.s-team__qs details[open] > summary::after { transform: rotate(45deg); }
.s-team__qs summary:hover { color: var(--accent-ink); }
.s-team__qs details > p { padding: 0 0 var(--sp-4); font-size: var(--fs-1); color: var(--text); }

@media (max-width: 560px) {
  .s-team__licence { padding: var(--sp-4); }
}
