/* The stylesheet of the website: the handbook pages and the four pages beside them.
   The look is "The Manual", dark: a printed technical manual turned to night. Off-white on near-black, one signal
   orange, everything numbered. Two typefaces: Archivo (drawn narrow for headlines and numerals, normal for reading)
   and IBM Plex Mono for labels and numbers. Chosen and approved on 2026-11-13; the mock-ups it grew from are in
   review/redesign/. In the names below, paper is the colour of the page and ink the colour of the writing. */
:root {
  --paper: #0d0e0c; --white: #171815; --ink: #efece4; --grey: #9c9b91; --hair: rgba(239, 236, 228, .18); --signal: #ff5a1f; --hover: rgba(239, 236, 228, .07); --faint: rgba(239, 236, 228, .3);
  color-scheme: dark;
  --pad: clamp(18px, 3.2vw, 46px); --max: 1480px;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace; --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.5 var(--sans); font-variation-settings: 'wdth' 100; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* No link is underlined, and none has a line drawn under it of any kind (asked for on 2026-11-13). A link shows by
   its place on the page, and turns orange under the pointer. */
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mono { font: 500 11.5px/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.narrow { font-variation-settings: 'wdth' 64; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* the strip at the very top, like the head of a printed form */
.strip { border-bottom: 2px solid var(--ink); }
.strip .wrap { display: flex; justify-content: space-between; gap: 24px; padding-top: 9px; padding-bottom: 8px; }
.strip span:nth-child(2) { color: var(--grey); }
.mast { border-bottom: 1px solid var(--ink); position: sticky; top: 0; z-index: 20; background: var(--paper); }
.mast .wrap { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 44px); min-height: 62px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font: 800 25px/1 var(--sans); font-variation-settings: 'wdth' 70; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
.brand i { width: 13px; height: 13px; background: var(--signal); display: block; }
.mast nav { display: flex; gap: clamp(10px, 1.6vw, 26px); flex-wrap: wrap; }
.mast nav a { font: 500 15px/1 var(--sans); padding: 6px 0; transition: color .2s; white-space: nowrap; }
.mast nav a sup { font: 500 9.5px/1 var(--mono); color: var(--grey); margin-right: 5px; vertical-align: 5px; letter-spacing: .04em; }
.mast nav a:hover, .mast nav a.on { color: var(--signal); }
.find { margin-left: auto; display: flex; align-items: center; gap: 8px; border: 1px solid var(--ink); padding: 0 10px; height: 36px; min-width: 230px; background: var(--white); }
.find input { border: 0; background: none; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; width: 100%; color: var(--ink); outline: none; }
.find input::placeholder { color: var(--grey); }
.find kbd { font: 500 10px/1 var(--mono); border: 1px solid var(--hair); padding: 3px 5px; color: var(--grey); }

/* the film, edge to edge, with a paper plate for the numbers that hangs over its lower edge */
.film { position: relative; background: #000; border-bottom: 2px solid var(--ink); }
.film video { width: 100%; aspect-ratio: 64 / 27; object-fit: cover; cursor: pointer; }
.film .hold { position: absolute; inset: auto 0 0 0; }
.film .hold .wrap { position: relative; }
.readout { position: absolute; left: var(--pad); bottom: -92px; width: min(430px, 44vw); background: var(--paper); border: 2px solid var(--ink); padding: 15px 20px 15px; }
.readout .top { display: flex; justify-content: space-between; align-items: center; }
.readout .yr { font: 800 clamp(96px, 14.5vw, 212px)/.8 var(--sans); font-variation-settings: 'wdth' 62; letter-spacing: -.025em; margin: 10px 0 14px -5px; font-variant-numeric: tabular-nums lining-nums; }
.readout dl { display: grid; grid-template-columns: 104px 1fr; gap: 0 10px; margin: 0; border-top: 1px solid var(--ink); padding: 8px 0 7px; align-items: baseline; }
.readout dt { font: 500 11px/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--grey); }
.readout dd { margin: 0; font: 700 21px/1.15 var(--sans); font-variation-settings: 'wdth' 84; }
.readout dd.pop { font-size: 30px; font-variant-numeric: tabular-nums; }
.toggle { border: 1px solid var(--ink); background: none; width: 30px; height: 24px; cursor: pointer; position: relative; padding: 0; }
.toggle::before { content: ''; position: absolute; left: 10px; top: 6px; width: 3px; height: 10px; border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); box-sizing: content-box; }
[data-playing="no"] .toggle::before { left: 11px; top: 5px; width: 0; height: 0; border: 6px solid transparent; border-left: 10px solid var(--ink); border-right: 0; }
.toggle:hover { background: var(--ink); } .toggle:hover::before { border-left-color: var(--paper); border-right-color: var(--paper); }
[data-playing="no"] .toggle:hover::before { border-right-color: transparent; }
.f-new { animation: fnew .28s ease-out; }
@keyframes fnew { from { opacity: .25; } to { opacity: 1; } }

/* the ruler of fifty years, on the paper beside the plate */
.ruler-row { padding-top: 18px; padding-left: calc(var(--pad) + min(430px, 44vw) + clamp(20px, 3vw, 44px)); min-height: 92px; }
.ruler { position: relative; height: 56px; cursor: ew-resize; touch-action: none; user-select: none; }
.ruler .ticks { position: absolute; inset: 0 0 auto 0; height: 13px; border-left: 1px solid var(--ink); border-right: 1px solid var(--ink);
  background: repeating-linear-gradient(to right, var(--ink) 0 1px, transparent 1px calc(100% / 50)); }
.ruler .ticks::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(to right, var(--ink) 0 1px, transparent 1px 20%); height: 22px; }
.ruler .base { position: absolute; left: 0; right: 0; top: 0; border-top: 1px solid var(--ink); }
.ruler .done { position: absolute; left: 0; top: -2px; height: 5px; background: var(--signal); width: calc(var(--pos, 0) * 100%); }
.ruler .at { position: absolute; top: -9px; left: calc(var(--pos, 0) * 100%); width: 0; height: 0; margin-left: -7px; border: 7px solid transparent; border-top: 11px solid var(--signal); }
.ruler .lab { position: absolute; top: 28px; transform: translateX(-50%); color: var(--grey); white-space: nowrap; }
.ruler .lab:first-of-type { transform: none; } .ruler .lab:last-of-type { transform: translateX(-100%); }

/* the title and the first facts */
.intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; padding-top: clamp(40px, 6vw, 86px); padding-bottom: clamp(44px, 6vw, 88px); }
.intro .kicker { grid-column: 1 / -1; color: var(--signal); margin-bottom: 16px; }
.intro h1 { grid-column: 1 / span 8; margin: 0; font: 800 clamp(44px, 7.4vw, 118px)/.9 var(--sans); font-variation-settings: 'wdth' 66; letter-spacing: -.028em; text-wrap: balance; }
.intro .side { grid-column: 9 / -1; align-self: end; }
.intro .lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; margin: 0 0 22px; }
.spec { width: 100%; border-collapse: collapse; }
.spec td { padding: 7px 0 6px; border-top: 1px solid var(--hair); vertical-align: baseline; }
.spec tr:first-child td { border-top: 1px solid var(--ink); } .spec tr:last-child td { border-bottom: 1px solid var(--ink); }
.spec td:first-child { font: 500 11.5px/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--grey); }
.spec td:last-child { text-align: right; font: 700 19px/1 var(--sans); font-variation-settings: 'wdth' 80; font-variant-numeric: tabular-nums; }

/* a numbered section */
.sec { position: relative; padding-top: 18px; padding-bottom: clamp(50px, 6.5vw, 96px); }
.sec::before { content: ""; position: absolute; left: var(--pad); right: var(--pad); top: 0; border-top: 2px solid var(--ink); }
.sec > header { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: baseline; margin-bottom: clamp(22px, 3vw, 40px); }
.sec > header .no { grid-column: span 1; color: var(--signal); font: 600 13px/1 var(--mono); letter-spacing: .08em; }
.sec > header h2 { grid-column: span 5; margin: 0; font: 800 clamp(30px, 3.5vw, 52px)/.95 var(--sans); font-variation-settings: 'wdth' 70; letter-spacing: -.02em; }
.sec > header p { grid-column: 8 / -1; margin: 0; color: var(--grey); font-size: 16px; max-width: 46ch; }

/* the fifteen phases laid along the fifty years */
.path { border-bottom: 1px solid var(--ink); }
.path .row { display: grid; grid-template-columns: 44px minmax(220px, 1.15fr) minmax(0, 2fr) 92px 110px; gap: 0 18px; align-items: center; min-height: 46px; border-top: 1px solid var(--hair); text-decoration: none; transition: background .18s; }
.path .head { min-height: 34px; border-top: 1px solid var(--ink); color: var(--grey); }
.path a.row:hover { background: var(--hover); }
.path a.row:hover .t { color: var(--signal); }
.path .n { font: 500 12px/1 var(--mono); color: var(--grey); padding-left: 2px; }
.path .t { font: 600 18px/1.2 var(--sans); font-variation-settings: 'wdth' 88; }
.path .t small { display: block; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--grey); margin-top: 2px; }
.path .lane { position: relative; height: 46px; background: repeating-linear-gradient(to right, var(--hair) 0 1px, transparent 1px 20%); border-right: 1px solid var(--hair); }
.path .head .lane { height: 34px; background: none; border: 0; }
.path .head .lane span { position: absolute; top: 11px; transform: translateX(-50%); white-space: nowrap; }
.path .head .c { font: 500 11.5px/1.3 var(--mono); letter-spacing: .09em; } .path .head .lane span:first-child { transform: none; } .path .head .lane span:last-child { transform: translateX(-100%); }
.path .bar { position: absolute; top: 17px; height: 12px; background: var(--ink); min-width: 7px; transition: background .18s; }
.path a.row:hover .bar { background: var(--signal); }
.path .c { text-align: right; font: 600 16px/1 var(--sans); font-variant-numeric: tabular-nums; }
.path .c.w { color: var(--signal); } .path .c.z { color: var(--faint); font-weight: 400; }
/* the line across the table where Act II begins (years 50 to 100) */
.path .act { display: flex; align-items: baseline; gap: 14px; padding: 30px 2px 10px; border-top: 1px solid var(--ink); color: var(--grey); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; scroll-margin-top: 96px; }
.path .act b { color: var(--signal); font-weight: 500; }
.note { margin: 12px 0 0; color: var(--grey); }

/* the seven threads: one bar cut into seven, and a column for each */
.split { display: flex; height: 16px; gap: 3px; margin-bottom: 0; }
.split i { background: var(--ink); display: block; min-width: 5px; }
.threads { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--ink); }
.threads a { text-decoration: none; padding: 20px 16px 22px 0; border-left: 1px solid var(--hair); padding-left: 16px; transition: background .18s; }
.threads a:first-child { border-left: 0; padding-left: 0; }
.threads a:hover { background: var(--hover); }
.threads b { display: block; font: 800 clamp(40px, 4.6vw, 70px)/.9 var(--sans); font-variation-settings: 'wdth' 62; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.threads strong { display: block; font: 700 19px/1.2 var(--sans); margin: 10px 0 5px; }
.threads span { display: block; font-size: 14px; line-height: 1.4; color: var(--grey); }

/* one entry, shown as a page of the manual */
.page { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: start; }
.fig { margin: 0; }
/* the sketches keep their own look on the dark page: black lines on white (asked for on 2026-11-13) */
.fig .pic { background: #fff; border: 1px solid var(--ink); padding: clamp(10px, 1.6vw, 22px); }
.fig figcaption { display: flex; gap: 12px; margin-top: 9px; font-size: 14.5px; line-height: 1.4; color: var(--grey); }
.fig figcaption b { flex: none; color: var(--ink); font: 600 11.5px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.page .figs { grid-column: 1 / span 5; }
.page .figs .more { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.page .figs .more .pic { padding: 6px; background: #fff; border: 1px solid var(--ink); } .page .figs .more img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.page .txt { grid-column: 7 / -1; }
.page .idline { color: var(--signal); font: 600 14px/1 var(--mono); letter-spacing: .08em; }
.page h3 { margin: 8px 0 8px; font: 800 clamp(34px, 4.4vw, 66px)/.93 var(--sans); font-variation-settings: 'wdth' 68; letter-spacing: -.024em; }
.page .purpose { margin: 0 0 20px; font-size: 19px; color: var(--grey); }
.kv { display: grid; grid-template-columns: 150px 1fr; margin: 0 0 26px; border-bottom: 1px solid var(--ink); }
.kv dt, .kv dd { margin: 0; padding: 8px 0 7px; border-top: 1px solid var(--hair); }
.kv dt:first-of-type, .kv dt:first-of-type + dd { border-top: 1px solid var(--ink); }
.kv dt { font: 500 11.5px/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--grey); }
.kv dd { font-size: 16px; } .kv dd a:hover { color: var(--signal); }
.kv dd .i { font: 500 12px/1 var(--mono); color: var(--grey); margin-right: 6px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 58px 1fr; padding: 11px 0 10px; border-top: 1px solid var(--hair); font-size: 17.5px; line-height: 1.42; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 600 13px/1.6 var(--mono); color: var(--signal); letter-spacing: .06em; }
.steps li a { color: var(--grey); font: 500 .82em var(--mono); }
.btn { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; background: var(--ink); color: var(--paper); text-decoration: none; font: 600 16px/1 var(--sans); padding: 15px 20px 14px; transition: background .2s, transform .12s; }
.btn:hover { background: var(--signal); } .btn:active { transform: translateY(1px); } .btn i { font-style: normal; transition: transform .2s; } .btn:hover i { transform: translateX(4px); }

/* the twenty-four */
.cast { display: grid; grid-template-columns: repeat(8, 1fr); gap: 26px 14px; }
.cast a { text-decoration: none; }
.cast .ph { overflow: hidden; background: #1d1e1b; border-bottom: 3px solid var(--ink); transition: border-color .2s; }
.cast img { width: 100%; aspect-ratio: 1 / 1.12; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.08); transition: filter .35s, transform .5s; }
.cast a:hover img { filter: none; transform: scale(1.04); } .cast a:hover .ph { border-color: var(--signal); }
.cast b { display: block; font: 700 17px/1.1 var(--sans); margin-top: 9px; }
.cast b small { font: 500 11px/1 var(--mono); color: var(--grey); margin-left: 6px; }
.cast span { display: block; font-size: 13px; line-height: 1.35; color: var(--grey); margin-top: 3px; }

/* the island */
.isle { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: start; }
.isle .plan { grid-column: 1 / span 5; background: #dfe3d6; border: 1px solid var(--ink); overflow: hidden; }
.isle .plan svg { width: 100%; height: auto; }
.isle .plan.night svg { filter: invert(.93) hue-rotate(178deg) saturate(.62) brightness(.92) contrast(1.06); }   /* the plain plan, turned to night; a painted map is left as it is */
.isle .facts { grid-column: 7 / -1; }
.isle .big { font: 800 clamp(34px, 4.4vw, 66px)/.93 var(--sans); font-variation-settings: 'wdth' 68; letter-spacing: -.024em; margin: 0 0 18px; }

.foot { border-top: 2px solid var(--ink); }
.foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 44px; color: var(--grey); }

/* ---- the entry page ---- */
.crumb { padding-top: 22px; color: var(--grey); } .crumb a:hover { color: var(--ink); }
.ehead { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: end; padding-top: 14px; padding-bottom: 30px; }
.ehead .eid { grid-column: 1 / span 4; font: 800 clamp(84px, 13.5vw, 210px)/.78 var(--sans); font-variation-settings: 'wdth' 62; letter-spacing: -.03em; margin-left: -6px; font-variant-numeric: tabular-nums; }
.ehead .eid span { color: var(--signal); }
.ehead .et { grid-column: 5 / -1; padding-bottom: 6px; }
.ehead h1 { margin: 0 0 8px; font: 800 clamp(38px, 5.6vw, 88px)/.92 var(--sans); font-variation-settings: 'wdth' 68; letter-spacing: -.026em; }
.ehead .purpose { font-size: clamp(18px, 1.6vw, 23px); color: var(--grey); margin: 0 0 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { border: 1px solid var(--ink); padding: 6px 9px 5px; } .tags span.on { background: var(--ink); color: var(--paper); }
.ebody { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: start; border-top: 2px solid var(--ink); padding-top: 22px; padding-bottom: 70px; }
.rail { grid-column: 1 / span 3; position: sticky; top: 86px; }
.rail .kv { grid-template-columns: 1fr; border-bottom: 0; margin: 0; }
.rail .kv dt { border-top: 1px solid var(--ink); padding-bottom: 0; } .rail .kv dd { border-top: 0; padding-top: 3px; padding-bottom: 14px; }
.main { grid-column: 5 / -1; min-width: 0; }
.blk { padding: 0 0 clamp(30px, 3.6vw, 50px); }
.blk > h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; font: 800 clamp(24px, 2.4vw, 34px)/1 var(--sans); font-variation-settings: 'wdth' 72; letter-spacing: -.015em; }
.blk > h2 small { font: 600 12px/1 var(--mono); color: var(--signal); letter-spacing: .08em; }
.blk p.big { font-size: clamp(19px, 1.65vw, 23px); line-height: 1.42; margin: 0; max-width: 34em; }
.need { list-style: none; margin: 0; padding: 0; max-width: 46em; }
.need li { position: relative; padding: 8px 0 8px 26px; border-top: 1px solid var(--hair); }
.need li::before { content: ''; position: absolute; left: 2px; top: 16px; width: 9px; height: 9px; background: var(--ink); }
.need a, .wrong a { color: var(--grey); font: 500 .82em var(--mono); }
.ok { display: grid; grid-template-columns: 34px 1fr; align-items: start; gap: 0 12px; border: 2px solid var(--ink); padding: 14px 16px; max-width: 46em; background: var(--white); }
.ok i { width: 24px; height: 24px; border: 2px solid var(--ink); position: relative; margin-top: 1px; }
.ok i::after { content: ''; position: absolute; left: 6px; top: 1px; width: 7px; height: 13px; border: solid var(--signal); border-width: 0 3px 3px 0; transform: rotate(40deg); }
.wrong { width: 100%; border-collapse: collapse; }
.wrong th { text-align: left; font: 500 11.5px/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--grey); padding: 0 0 8px; border-bottom: 1px solid var(--ink); }
.wrong td { vertical-align: top; padding: 11px 18px 10px 0; border-bottom: 1px solid var(--hair); }
.wrong td:first-child { width: 36%; font-weight: 700; }
.story { margin: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--signal); font-size: 19px; line-height: 1.5; font-style: italic; max-width: 36em; }
.story a { font-style: normal; font-weight: 600; }
.plates { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.plates .fig:first-child { grid-column: 1 / -1; }
.pn { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.pn a { text-decoration: none; padding: 18px 0 20px; transition: background .18s; } .pn a + a { text-align: right; border-left: 1px solid var(--ink); }
.pn a:hover { background: var(--hover); }
.pn small { display: block; color: var(--grey); margin-bottom: 6px; } .pn b { font: 800 clamp(22px, 2.6vw, 38px)/1 var(--sans); font-variation-settings: 'wdth' 70; letter-spacing: -.015em; }

/* the Manual named over the film: a headline and a few words, in the upper right. The film is not darkened behind
   them (taken out on 2026-11-13): each letter only carries a thin shadow of its own, to hold against a bright picture. */
.film .screen { position: relative; }
.pitch { position: absolute; inset: 0; pointer-events: none; }
.pitch .wrap { position: relative; height: 100%; }
.pitch .in { position: absolute; right: var(--pad); top: clamp(16px, 3.4vw, 52px); width: min(600px, 44vw); pointer-events: auto; }
.pitch .kicker { color: var(--signal); margin-bottom: clamp(8px, 1.1vw, 16px); font-weight: 600; text-shadow: 0 0 1px rgba(13, 14, 12, .95), 0 1px 2px rgba(13, 14, 12, .9); }
.pitch h1 { margin: 0; font: 800 clamp(28px, 4.5vw, 72px)/.92 var(--sans); font-variation-settings: 'wdth' 66; letter-spacing: -.024em; text-wrap: balance; text-shadow: 0 1px 3px rgba(13, 14, 12, .4); }
.pitch p.say { margin: clamp(8px, 1.2vw, 18px) 0 0; font-size: clamp(13.5px, 1.25vw, 18.5px); line-height: 1.45; color: #e6e3d9; max-width: 31em; text-shadow: 0 1px 2px rgba(13, 14, 12, .75); }
/* the way to the intro film: the one thing on the home page that is orange all over (his word, 2026-11-14: "a prominent link") */
.pitch .watch { display: inline-flex; align-items: center; gap: .7em; margin-top: clamp(10px, 1.5vw, 22px); background: var(--signal); color: var(--paper); font: 700 clamp(15px, 1.35vw, 20px)/1 var(--sans); padding: clamp(10px, 1vw, 15px) clamp(14px, 1.4vw, 22px) clamp(9px, .95vw, 14px); transition: background .2s, transform .12s; }
.pitch .watch::before { content: ''; width: 0; height: 0; border-style: solid; border-color: transparent transparent transparent currentColor; border-width: .42em 0 .42em .72em; }
.pitch .watch small { font: 500 .68em/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; opacity: .8; padding-left: .2em; }
.pitch .watch:hover { background: var(--ink); } .pitch .watch:active { transform: translateY(1px); }

/* the first words under the film */
.intro .statement { grid-column: 1 / span 8; margin: 0; font: 600 clamp(24px, 2.75vw, 43px)/1.14 var(--sans); font-variation-settings: 'wdth' 84; letter-spacing: -.014em; text-wrap: pretty; }
.intro .statement em { font-style: normal; color: var(--signal); }

@media (max-width: 1000px) {
  .readout { position: static; width: auto; border-width: 0 0 2px; margin: 0 calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad); }
  .film .hold { position: static; background: var(--paper); } .ruler-row { padding-left: var(--pad); min-height: 78px; padding-top: 26px; }
  .readout .yr { font-size: clamp(88px, 15vw, 150px); }
}
@media (max-width: 640px) {
  /* on a phone the words over the film are the title alone: there is no room on it for more */
  .pitch .in { left: var(--pad); right: var(--pad); top: 10px; width: auto; }
  .pitch .kicker, .pitch p.say { display: none; }
  .pitch h1 { font-size: clamp(19px, 6.2vw, 30px); max-width: 11em; }
  .pitch .watch { margin-top: 9px; font-size: 14px; padding: 9px 12px 8px; } .pitch .watch small { display: none; }
}

@media (max-width: 1100px) {
  .intro h1, .intro .statement { grid-column: 1 / -1; } .intro .side { grid-column: 1 / -1; margin-top: 30px; max-width: 640px; }
  .threads { grid-template-columns: repeat(4, 1fr); } .threads a:nth-child(5) { border-left: 0; padding-left: 0; } .threads a:nth-child(n+5) { border-top: 1px solid var(--hair); }
  .cast { grid-template-columns: repeat(6, 1fr); }
  .sec > header h2 { grid-column: span 6; }
  .rail { grid-column: 1 / span 4; } .main { grid-column: 5 / -1; }
}
@media (max-width: 820px) {
  .strip span:nth-child(2), .find kbd { display: none; }
  .mast .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; } .find { min-width: 0; flex: 1 1 100%; margin-left: 0; }
  .sec > header { display: block; } .sec > header h2 { margin: 8px 0 10px; }
  .path .row { grid-template-columns: 30px 1fr 54px; } .path .lane, .path .c:last-child { display: none; }
  .threads { grid-template-columns: repeat(2, 1fr); } .threads a { border-top: 1px solid var(--hair); } .threads a:nth-child(odd) { border-left: 0; padding-left: 0; } .threads a:nth-child(5) { padding-left: 0; }
  .page .figs, .page .txt, .isle .plan, .isle .facts { grid-column: 1 / -1; } .page .txt, .isle .facts { margin-top: 26px; }
  .cast { grid-template-columns: repeat(3, 1fr); }
  .ehead .eid, .ehead .et, .rail, .main { grid-column: 1 / -1; } .rail { position: static; margin-bottom: 30px; } .ehead .et { margin-top: 18px; }
  .plates { grid-template-columns: 1fr; } .kv { grid-template-columns: 112px 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* ================= the other pages: added when the look went onto the real site, 2026-11-13 ================= */
:root { --muted: var(--grey); --line: var(--hair); --card: var(--white); --accent: var(--signal); --bg: var(--paper); }   /* older names, still used by the pages beside the handbook */
.id { font: 500 .82em var(--mono); letter-spacing: .02em; color: var(--grey); }
a.idlink { font: 500 .82em var(--mono); color: var(--grey); }
a.idlink:hover, .steps li a:hover, .need a:hover, .wrong a:hover { color: var(--signal); }
.hz { color: var(--signal); font-weight: 700; }
.tag { display: inline-block; border: 1px solid var(--ink); padding: 4px 7px 3px; font: 500 10.5px/1.2 var(--mono); letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; text-decoration: none; color: var(--ink); }
a.tag:hover, a:hover > .tag { background: var(--ink); color: var(--paper); }
.tags a { border: 1px solid var(--ink); padding: 6px 9px 5px; text-decoration: none; } .tags a.on { background: var(--ink); color: var(--paper); } .tags a:hover { background: var(--signal); border-color: var(--signal); color: var(--paper); }
.scroll { overflow-x: auto; }

/* the search box and the list that drops from it */
.find { position: relative; }
#results { display: none; position: absolute; right: -1px; top: 40px; width: min(480px, 92vw); max-height: 62vh; overflow: auto; background: var(--white); border: 1px solid var(--ink); z-index: 30; box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
#results a { display: block; padding: 9px 12px 8px; text-decoration: none; border-bottom: 1px solid var(--hair); font-size: 15px; line-height: 1.35; }
#results a:hover { background: var(--ink); color: var(--paper); } #results a:hover .k { color: var(--paper); }
#results .k { display: inline-block; min-width: 96px; color: var(--grey); font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
#results .none { padding: 12px; color: var(--grey); }

/* small things the pages share */
.kv dd .id { margin-right: 6px; }
.path .t em { display: block; font: 400 15px/1.4 var(--sans); font-style: normal; color: var(--grey); margin: 4px 0 2px; max-width: 34em; }
.pn > :last-child { text-align: right; border-left: 1px solid var(--ink); } .pn > span { display: block; }
.pbody > .pn, .main > .pn { margin-top: clamp(30px, 4vw, 54px); }
.fig figcaption small { display: block; margin-top: 4px; color: var(--grey); } .fig figcaption small .id { color: var(--grey); }
.tree h2 small, .needs > h2 small { font: 600 12px/1 var(--mono); color: var(--signal); letter-spacing: .08em; margin-right: 14px; vertical-align: middle; }
.needs > h2 { margin: 18px 0 8px; font: 800 clamp(24px, 2.4vw, 34px)/1 var(--sans); font-variation-settings: 'wdth' 72; letter-spacing: -.015em; }
.needs > p { color: var(--grey); margin: 0 0 22px; }
.mapwrap { border: 1px solid var(--ink); background: #dfe3d6; overflow: hidden; margin: 0 0 18px; } .mapwrap svg { display: block; width: 100%; height: auto; }

/* the head of a page that is a list: where you are, a large title, a few words */
.phead { padding-top: 22px; padding-bottom: clamp(26px, 3.6vw, 50px); }
.phead .crumb { padding-top: 0; margin-bottom: 14px; }
.phead h1 { margin: 0 0 12px; font: 800 clamp(44px, 7vw, 112px)/.9 var(--sans); font-variation-settings: 'wdth' 66; letter-spacing: -.028em; text-wrap: balance; }
.phead .lead { margin: 0; max-width: 46em; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.42; color: var(--grey); }
.phead .tags { margin-top: 18px; }
.pbody { border-top: 2px solid var(--ink); margin-left: var(--pad); margin-right: var(--pad); padding: 22px 0 clamp(50px, 6.5vw, 96px); max-width: calc(var(--max) - 2 * var(--pad)); }
@media (min-width: 1480px) { .pbody { margin-left: auto; margin-right: auto; } }
.pbody h2 { margin: clamp(34px, 4.4vw, 60px) 0 14px; font: 800 clamp(26px, 2.8vw, 40px)/1 var(--sans); font-variation-settings: 'wdth' 70; letter-spacing: -.018em; }
.pbody h2:first-child { margin-top: 6px; }
.pbody h2 small, .pbody h2 .id { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-left: 12px; vertical-align: middle; }
.pbody h3 { margin: 30px 0 10px; font: 700 22px/1.15 var(--sans); }
.pbody p { max-width: 50em; }
.ehead .eid.short { grid-column: 1 / span 3; }

/* tables */
.tbl, .prose table { width: 100%; border-collapse: collapse; }
.tbl th, .prose th { text-align: left; font: 500 11.5px/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--grey); padding: 0 16px 8px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.tbl td, .prose td { vertical-align: top; padding: 11px 16px 10px 0; border-bottom: 1px solid var(--hair); }
.tbl tbody tr:hover td { background: var(--hover); }
.tbl td.id { white-space: nowrap; padding-top: 14px; }
.tbl strong a { text-decoration: none; font-weight: 700; } .tbl strong a:hover { color: var(--signal); }
.tbl .sub { display: block; color: var(--grey); font-size: 15px; line-height: 1.4; margin-top: 2px; }
.tbl td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl .deps a { margin-right: 9px; white-space: nowrap; }
.tbl td a:hover { color: var(--signal); }

/* the seven threads as rows */
.trows a { display: grid; grid-template-columns: clamp(90px, 10vw, 150px) minmax(150px, 300px) 1fr; gap: 0 24px; align-items: center; padding: 16px 0 14px; border-top: 1px solid var(--hair); text-decoration: none; transition: background .18s; }
.trows a:last-child { border-bottom: 1px solid var(--ink); } .trows a:hover { background: var(--hover); }
.trows b { font: 800 clamp(44px, 5vw, 76px)/.9 var(--sans); font-variation-settings: 'wdth' 62; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.trows strong { font: 700 clamp(20px, 1.9vw, 26px)/1.1 var(--sans); }
.trows span { color: var(--grey); }

/* the cast, pair by pair, and one person */
.pairs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 3.6vw, 54px) 28px; }
.pair > .mono { display: block; color: var(--grey); border-top: 1px solid var(--ink); padding: 9px 0 12px; }
.pair .cast { grid-template-columns: 1fr 1fr; gap: 0 14px; }
.profile { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: start; padding-top: 8px; padding-bottom: clamp(30px, 4vw, 56px); }
.profile .ph { grid-column: 1 / span 4; border: 1px solid var(--ink); background: #1d1e1b; } .profile .ph img { width: 100%; }
.profile .facts { grid-column: 6 / -1; min-width: 0; }
.profile h1 { margin: 0 0 8px; font: 800 clamp(48px, 7.4vw, 120px)/.88 var(--sans); font-variation-settings: 'wdth' 66; letter-spacing: -.028em; }
.profile h1 small { font: 500 14px/1 var(--mono); color: var(--grey); letter-spacing: .08em; margin-left: 14px; vertical-align: middle; }
.profile .lead { margin: 0 0 22px; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.35; color: var(--grey); }
.pairtext p { font-size: 19px; line-height: 1.5; max-width: 46em; margin: 0 0 10px; } .pairtext em { color: var(--grey); }
.pairtext a:hover, .prose a:hover, .pbody p a:hover { color: var(--signal); }

/* lists set in columns: A to Z, and the procedures a person leads */
.cols { columns: 3 270px; column-gap: 28px; }
.cols div { break-inside: avoid; padding: 6px 0 5px; border-top: 1px solid var(--hair); }
.cols a { text-decoration: none; } .cols a:hover { color: var(--signal); } .cols .id { margin-left: 6px; }
/* Act II on the Phases page: an outline of names under the fifteen phases. No numbers yet, so nothing in it is a link. */
#act2, .pbody h3.a2 { scroll-margin-top: 96px; }
.pbody h3.a2 { margin: 36px 0 12px; }
.pbody h3.a2 .id { color: var(--signal); margin-right: 10px; }
.pbody h3.a2 small { display: block; margin-top: 5px; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.letter { margin: clamp(30px, 4vw, 54px) 0 12px !important; font-size: clamp(44px, 5vw, 76px) !important; color: var(--signal); border-top: 2px solid var(--ink); padding-top: 12px; }

/* long reading: the story page */
.prose { max-width: 52em; font-size: 18px; line-height: 1.55; }
.prose h2, .prose > h2:first-child { margin-top: clamp(40px, 5vw, 70px); } .prose h3 { margin: 34px 0 10px; font: 800 clamp(22px, 2.2vw, 30px)/1.05 var(--sans); font-variation-settings: 'wdth' 76; letter-spacing: -.012em; }
.prose h4 { margin: 24px 0 6px; font: 700 19px/1.2 var(--sans); }
.prose ul, .prose ol { padding-left: 22px; } .prose li { margin: 5px 0; } .prose li::marker { color: var(--signal); }
.prose strong { font-weight: 700; } .prose .scroll { margin: 16px 0; max-width: none; }
.prose td, .prose th { font-size: 16px; }

/* every sketch on one page */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }
.fig .pic a { display: block; } .fig figcaption a { color: var(--ink); } .fig figcaption a:hover { color: var(--signal); }
.fig .pic.todo { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--white); color: var(--grey); font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.sketches3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 24px; }

/* the search page */
.results .r { display: grid; grid-template-columns: 120px 1fr; gap: 0 18px; padding: 12px 0 11px; border-top: 1px solid var(--hair); align-items: start; }
.results .r:last-child { border-bottom: 1px solid var(--ink); }
.results .r a { text-decoration: none; font-weight: 700; font-size: 18px; } .results .r a:hover { color: var(--signal); }
.results .r span.sub { display: block; color: var(--grey); font-size: 15px; }

/* an entry whose procedure is not written yet, and other notes */
.notyet { border: 1px dashed var(--faint); padding: 16px 18px; color: var(--grey); max-width: 46em; margin: 0; }

/* the parts of a written procedure, as they come from the book's own text */
.blk p { max-width: 46em; }
.b-why p { font-size: clamp(19px, 1.65vw, 23px); line-height: 1.42; margin: 0; max-width: 34em; }
.b-need ul, .b-safety ul, .b-worked ul, .b-wrong ul { list-style: none; margin: 0; padding: 0; max-width: 46em; }
.b-need li, .b-safety li { position: relative; padding: 8px 0 8px 26px; border-top: 1px solid var(--hair); }
.b-need li::before, .b-safety li::before { content: ''; position: absolute; left: 2px; top: 16px; width: 9px; height: 9px; background: var(--ink); }
.b-safety li::before { background: var(--signal); }
.b-steps ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.b-steps li { counter-increment: s; position: relative; padding: 11px 0 10px 58px; border-top: 1px solid var(--hair); font-size: 17.5px; line-height: 1.42; }
.b-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 12px; font: 600 13px/1.6 var(--mono); color: var(--signal); letter-spacing: .06em; }
.b-worked ul { display: grid; gap: 8px; }
.b-worked li { position: relative; border: 2px solid var(--ink); background: var(--white); padding: 14px 16px 14px 56px; }
.b-worked li::before { content: ''; position: absolute; left: 16px; top: 14px; width: 24px; height: 24px; border: 2px solid var(--ink); box-sizing: border-box; }
.b-worked li::after { content: ''; position: absolute; left: 24px; top: 16px; width: 7px; height: 13px; border: solid var(--signal); border-width: 0 3px 3px 0; transform: rotate(40deg); }
.b-wrong ul { max-width: 54em; }
.b-wrong li { padding: 11px 0 10px; border-top: 1px solid var(--hair); }
.b-wrong li strong { font-weight: 700; margin-right: 4px; }
.b-story p { margin: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--signal); font-size: 19px; line-height: 1.5; font-style: italic; max-width: 36em; }
.b-story a { font-style: normal; font-weight: 600; }
.blk li a.idlink, .blk p a.idlink { font-style: normal; }
.blk a:hover { color: var(--signal); }
.needs { padding-top: 4px; padding-bottom: 10px; border-top: 2px solid var(--ink); margin-top: 0; }

/* the pages beside the handbook (photos, story, videos, landscape) keep their simple cards */
.sib { padding-top: 22px; padding-bottom: 80px; }
.sib h1 { margin: 0 0 12px; font: 800 clamp(44px, 7vw, 112px)/.9 var(--sans); font-variation-settings: 'wdth' 66; letter-spacing: -.028em; }
.sib h2 { margin: 44px 0 14px; font: 800 clamp(26px, 2.8vw, 40px)/1 var(--sans); font-variation-settings: 'wdth' 70; letter-spacing: -.018em; border-top: 2px solid var(--ink); padding-top: 16px; }
.sib .lead { margin: 0 0 26px; max-width: 46em; font-size: clamp(18px, 1.5vw, 22px); color: var(--grey); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--hair); }
.card { display: block; text-decoration: none; padding: 18px 18px 22px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); transition: background .18s; }
.card:hover { background: var(--hover); } .card b { display: block; font: 700 20px/1.15 var(--sans); margin-bottom: 6px; } .card span { color: var(--grey); font-size: 15px; line-height: 1.4; }

@media (max-width: 1100px) {
  .pairs { grid-template-columns: repeat(2, 1fr); } .gallery, .sketches3 { grid-template-columns: repeat(2, 1fr); }
  .profile .ph { grid-column: 1 / span 5; } .profile .facts { grid-column: 6 / -1; }
}
@media (max-width: 820px) {
  .trows a { grid-template-columns: 84px 1fr; } .trows span { grid-column: 2; }
  .pairs, .gallery, .sketches3 { grid-template-columns: 1fr; } .pair .cast { grid-template-columns: 1fr 1fr; }
  .profile .ph, .profile .facts { grid-column: 1 / -1; } .profile .facts { margin-top: 22px; }
  .results .r { grid-template-columns: 1fr; } .tbl .hide-s { display: none; }
  .ehead .eid.short { grid-column: 1 / -1; }
  .b-steps li { padding-left: 44px; }
}

/* The dependency tree on an entry page (php/tree.php, php/tree.js): nested lists, one box per entry, as an org chart or as a list. */
.tree { --rule:rgba(239,236,228,.34); margin:1.7em 0 1.9em; }
.tree h2 { margin-top:0; }
.tree .sum { color:var(--grey); margin:.1em 0 .7em; }
.tree .ctl { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 14px; }
.tree .ctl button { font:inherit; font-size:.9rem; padding:4px 12px; border:1px solid var(--rule); border-radius:0; background:var(--white); color:var(--ink); cursor:pointer; }
.tree .ctl button:hover { border-color:var(--signal); color:var(--signal); }
.tree .count { color:var(--grey); font-size:.88rem; margin-left:6px; }
.tree .views { margin-left:auto; color:var(--grey); font-size:.88rem; white-space:nowrap; }
.tree .views button { margin:0; border-radius:0; }
.tree .views button:first-of-type { margin-left:7px; border-radius:0; }
.tree .views button:last-of-type { border-left:0; border-radius:0; }
.tree .views button.on, .tree .views button.on:hover { background:var(--signal); border-color:var(--signal); color:var(--paper); }
.tree .hint { color:var(--grey); font-size:.85rem; margin:.7em 0 0; }
.tree .wrap ul { list-style:none; margin:0; }
.tree .wrap li { position:relative; }
.tree .wrap li.closed > ul { display:none; }
.tree .box { display:flex; background:var(--white); border:1px solid var(--rule); border-radius:0; }
.tree .box .nm { color:var(--ink); } .tree .box .nm:hover { color:var(--signal); }
.tree .root > .box { border:2px solid var(--signal); font-weight:bold; }
.tree .root > .box .l2 { font-weight:normal; }
.tree .tag { font-size:9.5px; padding:2px 5px 1px; }
.tree .yr { color:var(--grey); font-size:.82rem; }
.tree .more, .tree .raw { color:var(--grey); font-size:.8rem; font-style:italic; }
.tree li.open > .box .more { display:none; }
.tree .tog { flex:none; position:relative; padding:0; cursor:pointer; }
.tree .tog::before, .tree .tog::after { content:''; position:absolute; left:50%; top:50%; }
.tree .stub { border-style:dashed; background:transparent; color:var(--grey); }
.tree .stub:hover { text-decoration:none; border-color:var(--signal); color:var(--ink); }
.tree .where { color:var(--signal); font-style:italic; }
.tree .box.flash { animation:treeflash 2.2s ease-out; }
@keyframes treeflash { 0%, 40% { background:rgba(255,90,31,.4); box-shadow:0 0 0 3px rgba(255,90,31,.5); } 100% { background:var(--white); box-shadow:0 0 0 3px rgba(255,90,31,0); } }
/* list view: each level steps to the right, joined by thin lines */
.tree.view-list .wrap { overflow-x:auto; padding:3px 3px 12px; }
.tree.view-list .wrap ul { padding:0 0 0 14px; }
.tree.view-list .wrap > ul { padding:0; }
.tree.view-list .wrap li { padding:6px 0 0 20px; white-space:nowrap; }
.tree.view-list .wrap > ul > li { padding:0; }
.tree.view-list .wrap li::before { content:''; position:absolute; left:0; top:0; bottom:0; border-left:1px solid var(--rule); }
.tree.view-list .wrap li::after { content:''; position:absolute; left:0; top:23px; width:20px; border-top:1px solid var(--rule); }
.tree.view-list .wrap li:last-child::before { bottom:auto; height:23px; }
.tree.view-list .wrap li.rep::after { top:20px; } .tree.view-list .wrap li.rep:last-child::before { height:20px; }
.tree.view-list .wrap > ul > li::before, .tree.view-list .wrap > ul > li::after { display:none; }
.tree.view-list .box { width:fit-content; align-items:center; gap:7px; min-height:34px; padding:3px 12px 3px 5px; }
.tree.view-list .l1 .id { margin-right:3px; }
.tree.view-list .l2 { display:inline-flex; align-items:center; gap:7px; }
.tree.view-list .root > .box { min-height:42px; padding-right:14px; font-size:1.12rem; }
.tree.view-list .tog { width:24px; height:24px; border:0; border-radius:0; background:transparent; }
.tree.view-list .tog:hover { background:var(--hover); }
.tree.view-list .tog::before { margin:-3px 0 0 -6px; border-style:solid; border-width:7px 6px 0 6px; border-color:var(--signal) transparent transparent transparent; }
.tree.view-list li.closed > .box .tog::before { margin:-6px 0 0 -3px; border-width:6px 0 6px 7px; border-color:transparent transparent transparent var(--signal); }
.tree.view-list .tog::after { display:none; }
.tree.view-list .tog.none { cursor:default; } .tree.view-list .tog.none:hover { background:transparent; }
.tree.view-list .tog.none::before { margin:-3px 0 0 -3px; width:6px; height:6px; border:0; border-radius:50%; background:var(--rule); }
.tree.view-list .stub { min-height:28px; padding:2px 11px; font-size:.86rem; }
.tree.view-list .where { font-size:.92em; } .tree.view-list .where.left { display:none; }
/* org chart view: the entry on top, what it needs in a row beneath, in a frame that can be dragged */
.tree.view-chart .wrap { width:calc(100vw - 72px); margin-left:calc(50% - 50vw + 36px); max-height:82vh; overflow:auto; padding:22px 16px 30px;
  border:1px solid var(--hair); border-radius:0; background:#121310; cursor:grab; }
.tree.view-chart .wrap.pan { cursor:grabbing; user-select:none; }
.tree.view-chart .wrap ul { display:flex; padding:20px 0 0; position:relative; }
.tree.view-chart .wrap > ul { padding:0; width:max-content; min-width:100%; justify-content:center; }
.tree.view-chart .wrap li { flex:none; display:flex; flex-direction:column; align-items:center; padding:20px 5px 0; }
.tree.view-chart .wrap > ul > li { padding:0; }
.tree.view-chart .wrap ul ul::before { content:''; position:absolute; left:50%; top:0; height:20px; border-left:1px solid var(--rule); }
.tree.view-chart .wrap li::before, .tree.view-chart .wrap li::after { content:''; position:absolute; top:0; width:50%; height:20px; border-top:1px solid var(--rule); }
.tree.view-chart .wrap li::before { right:50%; }
.tree.view-chart .wrap li::after { left:50%; border-left:1px solid var(--rule); }
.tree.view-chart .wrap li:first-child::before, .tree.view-chart .wrap li:last-child::after { border:0 none; }
.tree.view-chart .wrap li:last-child::before { border-right:1px solid var(--rule); }
.tree.view-chart .wrap li:only-child::before { border:0 none; }
.tree.view-chart .wrap li:only-child::after { border-top:0; border-left:1px solid var(--rule); }
.tree.view-chart .wrap > ul > li::before, .tree.view-chart .wrap > ul > li::after { display:none; }
.tree.view-chart .box { position:relative; flex-direction:column; align-items:center; gap:4px; width:138px; padding:7px 8px 14px; text-align:center; line-height:1.25; }
.tree.view-chart .leaf > .box, .tree.view-chart .stub { padding-bottom:8px; }
.tree.view-chart .l1 { font-size:.9rem; }
.tree.view-chart .l1 .id { display:block; margin-bottom:2px; }
.tree.view-chart .l2 { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:3px 6px; }
.tree.view-chart .root > .box { width:210px; padding-top:9px; }
.tree.view-chart .root > .box .l1 { font-size:1.08rem; }
.tree.view-chart .tog { position:absolute; left:50%; bottom:-11px; margin-left:-11px; width:22px; height:22px; border:1px solid var(--rule); border-radius:50%; background:var(--white); z-index:1; }
.tree.view-chart .tog:hover { border-color:var(--signal); }
.tree.view-chart .tog::before { width:10px; height:2px; margin:-1px 0 0 -5px; background:var(--signal); }
.tree.view-chart .tog::after { width:2px; height:10px; margin:-5px 0 0 -1px; background:var(--signal); display:none; }
.tree.view-chart li.closed > .box .tog::after { display:block; }
.tree.view-chart .tog.none { display:none; }
.tree.view-chart .stub { width:122px; }
.tree.view-chart .stub .l1 { font-size:.8rem; }
.tree.view-chart .where { font-size:.76rem; } .tree.view-chart .where.up { display:none; }
/* the tree in the new look: square boxes, labels in the mono face */
.tree h2 { margin: 0 0 8px; font: 800 clamp(24px, 2.4vw, 34px)/1 var(--sans); font-variation-settings: 'wdth' 72; letter-spacing: -.015em; }
.tree .ctl button { font: 500 11.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; padding: 8px 12px 7px; color: var(--ink); background: none; }
.tree .box { color: var(--ink); } .tree .root > .box .id { color: var(--signal); }
.tree .sum { color: var(--grey); }
.tree .wrap { max-width: none; }   /* the tree has a frame of its own, also called wrap: the page's width limit is not meant for it */

/* a phone: the tables give up one more column, and the row of sections sits a little closer */
@media (max-width: 520px) {
  .tbl .hide-xs { display: none; } .tbl td, .tbl th { padding-right: 10px; }
  .mast nav { gap: 6px 14px; } .kv { grid-template-columns: 104px 1fr; } .rail .kv { grid-template-columns: 1fr; }
  .ruler .lab:nth-of-type(5) { display: none; }   /* the mark for year 40 would touch "Year 50" */
}
