/* Written by tools/tokens from design/. Do not edit. */
:root {
  --color-accent: #2c4f86;
  --color-bezel: #3a3a3c;
  --color-dial: #000000;
  --color-ground: #f4f1ea;
  --color-hairline: #c9c3b6;
  --color-ink: #1c1d1f;
  --color-ink-quiet: #5c5a55;
  --color-raised: #ece8de;
  --font-data: "IBM Plex Mono", monospace;
  --font-text: "Source Serif 4", serif;
  --font-weight-bold: 600;
  --font-weight-medium: 500;
  --font-weight-regular: 400;
  --geometry-dial: 426px;
  --geometry-hours: 12;
  --geometry-minutes: 60;
  --measure-text: 66;
  --space-1: 4px;
  --space-12: 48px;
  --space-16: 64px;
  --space-2: 8px;
  --space-24: 96px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --tempo-beat: 167ms;
  --type-body: 18px;
  --type-data: 13px;
  --type-label: 11px;
  --type-lead: 23px;
  --type-note: 12px;
  --type-number: 15px;
  --type-opening: 30px;
  --type-part: 28px;
  --type-title: 40px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --color-accent: #7fa3d9;
    --color-bezel: #2a2b2e;
    --color-ground: #0e0f11;
    --color-hairline: #34363a;
    --color-ink: #e8e3d8;
    --color-ink-quiet: #9a958b;
    --color-raised: #16181b;
  }
}
/* The base: fonts, the page's ground and type, links and labels. */
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/source-serif-4-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: italic; font-display: swap; src: url(/assets/fonts/source-serif-4-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/fonts/source-serif-4-latin-600-normal.woff2) format("woff2"); }
/* The Latin subsets hold no letter with a macron, a dot below, a tilde or an acute, but they hold those marks and place them, so the ranges name the marks and a transliteration is composed from the face itself. */
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0301, U+0303-0304, U+0308, U+0323, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0301, U+0303-0304, U+0308, U+0323, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* The Cyrillic subsets carry the numero sign, №, which the site sets before each entry's number. */
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root { color-scheme: light dark; }
* { box-sizing: border-box; }
html { background: var(--color-ground); }
body {
  margin: 0;
  background: var(--color-ground);
  color: var(--color-ink);
  font: var(--font-weight-regular) var(--type-body)/1.55 var(--font-text);
  font-variant-numeric: tabular-nums;
  padding-inline: var(--space-6);
}
a { color: var(--color-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
/* The keyboard's focus is an active state, so it takes the accent. */
a:focus-visible, button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }
.label {
  font: var(--font-weight-medium) var(--type-label)/1.3 var(--font-data);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-ink-quiet);
  margin: 0;
}
/* A page's title, the same on every page that has one. */
.entry-head h1, .part-head h1, .method h1, .glossary h1, .colophon h1, .tag-page h1 { font: var(--font-weight-bold) var(--type-title)/1.1 var(--font-text); letter-spacing: -.01em; text-wrap: balance; }
.empty { color: var(--color-ink-quiet); font-style: italic; }
@media (max-width: 720px) {
  body { padding-inline: var(--space-4); --type-body: 17px; --type-title: 34px; --type-opening: 25px; --type-lead: 20px; --type-part: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* The page frame: the mark, the site's name and the navigation. */
.frame { max-width: 1120px; margin: 0 auto; padding-block: var(--space-6) var(--space-24); }
.frame-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding-block: var(--space-4); }
/* The mark's small drawing: a solid wheel, since the full mark's fine lines
   fall under a third of a pixel at this size. Its rim, not its teeth' tips,
   stands on the rule's first tick. */
.frame-head > span { display: flex; }
.frame-head > span svg { width: 32px; height: 32px; flex-shrink: 0; margin-left: -2px; color: var(--color-ink); }
.frame-head .site { font: var(--font-weight-medium) var(--type-data)/1 var(--font-data); letter-spacing: .08em; color: var(--color-ink); text-decoration: none; }
.frame-head .site .what { color: var(--color-ink-quiet); }
.frame-head nav { margin-left: auto; display: flex; gap: var(--space-6); }
.frame-head nav a {
  font: var(--font-weight-medium) var(--type-label)/1 var(--font-data);
  letter-spacing: .16em; text-transform: uppercase; color: var(--color-ink-quiet); text-decoration: none;
  transition: color var(--tempo-beat) steps(1, end);
}
.frame-head nav a { padding-block: var(--space-3); margin-block: calc(var(--space-3) * -1); }
.frame-head nav a:hover { color: var(--color-accent); }
.frame-head nav a[aria-current] { color: var(--color-ink); }
.frame-foot { margin-top: var(--space-16); }
/* The footer carries the Wheel's parts, so any page leads to any part. */
.foot-path { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin-top: var(--space-6); font: var(--font-weight-medium) var(--type-label)/1.3 var(--font-data); letter-spacing: .16em; text-transform: uppercase; }
.foot-path a { color: var(--color-ink-quiet); text-decoration: none; padding-block: var(--space-1); transition: color var(--tempo-beat) steps(1, end); }
.foot-path a:hover { color: var(--color-accent); }
.foot-path a[aria-current] { color: var(--color-ink); }
/* The footer's last line: the site's own line and, at its far end, the feed
   under its sign, drawn in the line's ink. */
.foot-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2) var(--space-6); margin-top: var(--space-4); font: var(--type-note)/1.5 var(--font-data); color: var(--color-ink-quiet); }
.foot-line p { margin: 0; }
.foot-line .feed { display: inline-flex; align-items: center; gap: var(--space-2); padding-block: var(--space-1); color: var(--color-ink-quiet); text-decoration: none; font: var(--font-weight-medium) var(--type-label)/1.3 var(--font-data); letter-spacing: .16em; text-transform: uppercase; transition: color var(--tempo-beat) steps(1, end); }
.foot-line .feed:hover { color: var(--color-accent); }
/* The link past the head, for a keyboard: shown only when it has the focus,
   at the page's top edge, above the mark and clear of it. */
.skip { position: absolute; left: var(--space-4); top: var(--space-1); z-index: 1; padding: var(--space-2) var(--space-3); background: var(--color-ground); font: var(--font-weight-medium) var(--type-label)/1.3 var(--font-data); letter-spacing: .16em; text-transform: uppercase; }
.skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; padding: 0; }
/* On a narrow screen the name stands beside the mark with what the site is
   on a line of its own under it, and the navigation takes the next row. */
@media (max-width: 720px) {
  .frame-head .site { flex: 1; min-width: 0; line-height: 1.5; }
  .frame-head .site .what { display: block; }
  .frame-head .site .sep { display: none; }
  .frame-head nav { margin-left: 0; width: 100%; padding-top: var(--space-3); }
}
/* The minute-track rule: sixty divisions, every fifth heavier, closed at its
   end by the sixtieth's heavy tick. */
.rule {
  height: 9px; border: 0; margin: 0;
  background:
    linear-gradient(var(--color-ink-quiet), var(--color-ink-quiet)) right bottom / 1px 9px no-repeat,
    repeating-linear-gradient(to right, var(--color-ink-quiet) 0 1px, transparent 1px calc(100% / var(--geometry-minutes) * 5)) bottom / 100% 9px no-repeat,
    repeating-linear-gradient(to right, var(--color-hairline) 0 1px, transparent 1px calc(100% / var(--geometry-minutes))) bottom / 100% 5px no-repeat,
    linear-gradient(var(--color-hairline), var(--color-hairline)) bottom / 100% 1px no-repeat;
}
/* The dial well: every face on true black, its own colours only inside it.
   A dial's size is definite, --dial-size, so a well with nothing drawn in it
   keeps the footprint of one that is drawn; --dial-ring is the bezel ring's
   reach beyond the dial. */
.well { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--space-3); min-width: 0; }
.dial {
  position: relative; width: var(--dial-size, var(--geometry-dial)); max-width: 100%; aspect-ratio: 1; flex: none; border-radius: 50%;
  background: var(--color-dial);
  box-shadow: 0 0 0 1px var(--color-bezel), 0 0 0 calc(var(--dial-ring, 8px) - 1px) var(--color-raised), 0 0 0 var(--dial-ring, 8px) var(--color-hairline);
}
.dial canvas { width: 100%; height: 100%; border-radius: 50%; display: block; }
.dial .ticks { position: absolute; inset: -14px; pointer-events: none; color: var(--color-ink-quiet); }
/* The one caption a well may hold: that a face's code is not kept yet. A
   face that is drawn, or cannot be, stands with none. */
.dial-note { font: var(--type-note)/1.5 var(--font-data); color: var(--color-ink-quiet); text-align: center; max-width: 34ch; margin: 0; }
/* A face's two forms, named side by side in one frame; the chosen one is
   set in ink on the ground reversed, as a pressed key. */
.forms { display: inline-flex; margin-top: var(--space-3); border: 1px solid var(--color-ink-quiet); border-radius: 999px; padding: 2px; gap: 2px; }
.forms[hidden] { display: none; }
.forms button {
  font: var(--font-weight-medium) var(--type-label)/1 var(--font-data); letter-spacing: .16em; text-transform: uppercase;
  color: var(--color-ink-quiet); background: none; border: 0; border-radius: 999px; min-height: 28px; padding: 0 14px; cursor: pointer;
  transition: color var(--tempo-beat) steps(1, end), background-color var(--tempo-beat) steps(1, end);
}
.forms button:hover { color: var(--color-ink); }
.forms button[aria-pressed="true"] { background: var(--color-ink); color: var(--color-ground); cursor: default; }
/* Under a finger the keys are taller, for a surer touch. */
@media (pointer: coarse) {
  .forms button { min-height: 40px; padding: 0 18px; }
}
.caption { font: var(--type-note)/1.4 var(--font-data); color: var(--color-ink-quiet); text-align: center; max-width: 30ch; margin: 0; }
/* A face whose code is not kept yet: the well stands empty, with no picture
   in its place: the same bezel ring, at the same size, round nothing. */
.dial-empty {
  background: none;
  box-shadow: inset 0 0 0 1px var(--color-hairline), 0 0 0 calc(var(--dial-ring, 8px) - 1px) var(--color-raised), 0 0 0 var(--dial-ring, 8px) var(--color-hairline);
}
/* An entry: its head, its face beside its text, its sections, and the
   path's navigation at its foot. */
.entry {
  display: grid; grid-template-columns: 460px 1fr; grid-template-rows: auto 1fr; grid-template-areas: "face head" "face body";
  column-gap: var(--space-16); row-gap: 0; margin-top: var(--space-12); align-items: start;
}
.entry-head { grid-area: head; max-width: calc(var(--measure-text) * 1ch); }
.entry-face { grid-area: face; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
.entry-body { grid-area: body; min-width: 0; }
/* Where the working stands in the Wheel, each step a link to that place. */
.place { font: var(--font-weight-medium) var(--type-label)/1.6 var(--font-data); letter-spacing: .14em; text-transform: uppercase; color: var(--color-ink-quiet); margin-bottom: var(--space-4); }
.place a { text-decoration: none; }
.place a:hover { text-decoration: underline; text-underline-offset: 4px; }
.entry-head .number { font: var(--font-weight-medium) var(--type-number)/1 var(--font-data); letter-spacing: .1em; color: var(--color-ink-quiet); }
.entry-head h1 { margin: var(--space-2) 0 var(--space-3); }
/* What the working is: its line from its part's telling. */
.standfirst { font: var(--type-lead)/1.4 var(--font-text); margin: 0 0 var(--space-6); text-wrap: pretty; }
.entry-head .published { font: var(--type-note)/1.4 var(--font-data); color: var(--color-ink-quiet); }

/* An entry's tags, at the head of its body: a quiet list in the data's own
   mono, one row to a facet, its label hanging beside its values, each value
   a link to its tag's page. */
.tags { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--space-1) var(--space-4); margin: var(--space-6) 0 0; max-width: calc(var(--measure-text) * 1ch); font: var(--type-note)/1.6 var(--font-data); }
.tags > div { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: baseline; }
.tags dt { font: var(--font-weight-medium) var(--type-label)/1.6 var(--font-data); letter-spacing: .16em; text-transform: uppercase; color: var(--color-ink-quiet); }
.tags dd { margin: 0; color: var(--color-ink-quiet); }
.tags a { display: inline-block; padding-block: var(--space-1); text-decoration: none; }
.tags a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* A section opens on a rule with its label hanging from it, as a ruled
   notebook's page does. Its words are the entry's own; only their setting
   is the site's. */
.section { margin-top: var(--space-12); padding-top: var(--space-4); border-top: 1px solid var(--color-hairline); max-width: calc(var(--measure-text) * 1ch); overflow-wrap: break-word; }
.section .label { display: block; margin-bottom: var(--space-4); scroll-margin-top: var(--space-8); }
/* A heading's link to itself: a quiet sign after the label, shown when the
   heading is pointed at or holds the focus, and always where nothing can
   point. The heading one came for is marked in the accent. */
.section .anchor { display: inline-block; padding: var(--space-2); margin: calc(var(--space-2) * -1) 0; color: var(--color-ink-quiet); text-decoration: none; letter-spacing: 0; opacity: 0; transition: opacity var(--tempo-beat) steps(1, end); }
.section .label:hover .anchor, .section .anchor:focus-visible { opacity: 1; }
.section .anchor:hover { color: var(--color-accent); }
.section .label:target .anchor { opacity: 1; color: var(--color-accent); }
@media (hover: none) { .section .anchor { opacity: 1; } }
.section p { margin: 0 0 var(--space-4); }
.section > :last-child { margin-bottom: 0; }
/* Lists, set one way in a section, the method and the colophon: a short
   indent, a beat between items, quiet markers, and a dash for a sub-entry. */
.section ul, .section ol, .method ul, .method ol, .colophon ul, .colophon ol { margin: 0 0 var(--space-4); padding-left: 1.15em; }
.section li, .method li, .colophon li { margin: 0 0 var(--space-2); padding-left: .15em; }
.section li::marker, .method li::marker, .colophon li::marker { color: var(--color-ink-quiet); }
.section ul > li::marker { font-size: .85em; }
.section li > ul, .section li > ol { margin: var(--space-2) 0 var(--space-3); }
.section li > ul { list-style: "\2013\00a0"; }
.section li > p { margin: 0; }
/* The statement: set between two fine rules, as printing on a dial's plate,
   in ink, since the accent marks links and active states alone. */
.section blockquote {
  margin: var(--space-6) 0; padding: var(--space-6) 0; border: 0; border-block: 1px solid var(--color-ink-quiet);
  font: var(--font-weight-medium) var(--type-number)/1.7 var(--font-data); letter-spacing: .18em; text-transform: uppercase; text-wrap: balance;
}
.section blockquote p { margin: 0; }

/* The path at a page's foot: its neighbours by name, each with an arrow,
   and between them the page's place. The sides are equal columns and the
   place takes its own width, so the place stays at the row's centre
   whatever stands beside it. The row keeps the text's own face, so that
   its width is the text's measure; its links set the mono. */
.path-nav {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--space-6);
  max-width: calc(var(--measure-text) * 1ch); margin-top: var(--space-16); padding-top: var(--space-4); border-top: 1px solid var(--color-hairline);
}
.path-nav a { display: block; padding-block: var(--space-2); text-decoration: none; font: var(--font-weight-medium) var(--type-note)/1.5 var(--font-data); letter-spacing: .04em; }
.path-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.path-nav .dir { color: var(--color-ink-quiet); }
.path-nav > :first-child { grid-column: 1; }
.path-nav > [rel="up"] { grid-column: 2; text-align: center; }
.path-nav > :last-child { grid-column: 3; text-align: right; }

/* An entry whose face's code is not kept yet: on a narrow screen its empty
   well is small, so the entry leads with its text. */
.well-unkept { --dial-size: 192px; }
/* Beside a long entry the face stays in view, with its forms' control and its data,
   while the notes on its making scroll past. A short window lets it go. */
@media (min-width: 961px) {
  .well-unkept { --dial-size: var(--geometry-dial); }
}
@media (min-width: 961px) and (min-height: 760px) {
  .entry-face { position: sticky; top: var(--space-8); }
}
/* Below 960px the text column beside a 460px face would fall under 400px, so the entry stacks. */
@media (max-width: 960px) {
  .entry { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "head" "face" "body"; row-gap: var(--space-8); }
  .tags { margin-top: 0; }
}
@media (max-width: 720px) {
  .section blockquote { letter-spacing: .14em; }
  .path-nav { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .path-nav > [rel="up"], .path-nav > :last-child { grid-column: 1; text-align: left; }
  .path-nav > span { display: none; }
}
/* The data list: code and prayer, in mono. */
.data { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-2) var(--space-4); margin: 0; font: var(--type-data)/1.4 var(--font-data); }
.data dt { font: var(--font-weight-medium) var(--type-label)/1.6 var(--font-data); letter-spacing: .16em; text-transform: uppercase; color: var(--color-ink-quiet); }
.data dd { margin: 0; overflow-wrap: anywhere; }
/* The share action under the data: a quiet key in the list's own mono,
   and beside it the word that the link was copied. The line keeps its
   height while the key is hidden, so nothing moves when it shows. */
.share { display: flex; align-items: center; gap: var(--space-3); min-height: 30px; margin: 0; font: var(--type-data)/1.4 var(--font-data); color: var(--color-ink-quiet); }
.share button {
  font: var(--font-weight-medium) var(--type-label)/1 var(--font-data); letter-spacing: .16em; text-transform: uppercase;
  color: var(--color-ink); background: none; border: 1px solid var(--color-ink-quiet); border-radius: 999px; min-height: 30px; padding: 0 14px; cursor: pointer;
  transition: border-color var(--tempo-beat) steps(1, end), color var(--tempo-beat) steps(1, end);
}
.share button[hidden] { display: none; }
.share button:hover { border-color: var(--color-accent); color: var(--color-accent); }
/* The home page's opening, and the colophon. */
h1.label { margin-top: var(--space-12); }
.lead { font: var(--type-lead)/1.5 var(--font-text); max-width: calc(var(--measure-text) * 1ch); margin: var(--space-6) 0 var(--space-16); text-wrap: pretty; }
.lead p { margin: 0 0 var(--space-4); }
.lead p:first-child { font-size: var(--type-opening); line-height: 1.35; }
.colophon { max-width: calc(var(--measure-text) * 1ch); margin-top: var(--space-12); }
.colophon h1 { margin: 0 0 var(--space-8); }
.colophon p { margin: 0 0 var(--space-4); }
.colophon .data { margin-top: var(--space-8); }
@media (max-width: 720px) {
  h1.label { margin-top: var(--space-8); }
  .lead { margin-bottom: var(--space-12); }
}
/* The Wheel: the home page's map of its parts, a part's page and its
   workings, and the method. */
.map { list-style: none; margin: var(--space-3) 0 0; padding: 0; border-top: 1px solid var(--color-ink-quiet); }
.map > li { padding-block: var(--space-8); border-bottom: 1px solid var(--color-hairline); }
.map .part { display: grid; grid-template-columns: 140px 1fr; align-items: baseline; gap: var(--space-2) var(--space-4); text-decoration: none; color: var(--color-ink); }
.part-label { font: var(--font-weight-medium) var(--type-label)/1.3 var(--font-data); letter-spacing: .16em; text-transform: uppercase; color: var(--color-ink-quiet); }
.part-name { font: var(--font-weight-bold) var(--type-part)/1.2 var(--font-text); text-wrap: balance; }
.map .part:hover .part-name { color: var(--color-accent); }
/* A part's theme is its name's subtitle, in the text's own face. */
.theme { font: italic var(--font-weight-regular) var(--type-body)/1.4 var(--font-text); color: var(--color-ink-quiet); margin: var(--space-2) 0 0; }
.map .theme, .map .names, .map-faces { margin-left: calc(140px + var(--space-4)); }
/* What a part holds, by name: its groups, or its workings still to be made. */
.names { list-style: none; padding: 0; margin-top: var(--space-4); margin-bottom: 0; display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-6); font: var(--type-note)/1.5 var(--font-data); }
.names a, .passes a { color: var(--color-ink-quiet); text-decoration: none; transition: color var(--tempo-beat) steps(1, end); }
.names a:hover, .passes a:hover { color: var(--color-accent); }
/* The faces stand on an even grid, each caption under its own dial. */
.map-faces { display: grid; grid-template-columns: repeat(auto-fill, minmax(calc(var(--well-size) + var(--space-6)), 1fr)); align-items: start; gap: var(--space-6); margin-top: var(--space-6); }
.map-face { margin: 0; display: grid; justify-items: start; gap: var(--space-3); }
.map-face figcaption { font: var(--font-weight-medium) var(--type-note)/1.4 var(--font-data); letter-spacing: .04em; }
.map-face figcaption a, .entry-link { text-decoration: none; }
.map-face .number { display: block; color: var(--color-ink-quiet); letter-spacing: .1em; }
.map-face figcaption a:hover, .entry-link:hover { text-decoration: underline; text-underline-offset: 4px; }
/* A small face leads to its entry; pointed at, its bezel takes the accent. */
.face-link { display: block; width: fit-content; border-radius: 50%; }
.face-link:hover .dial { box-shadow: 0 0 0 1px var(--color-bezel), 0 0 0 calc(var(--dial-ring, 8px) - 1px) var(--color-raised), 0 0 0 var(--dial-ring, 8px) var(--color-accent); }
.face-link:hover .dial-empty { box-shadow: inset 0 0 0 1px var(--color-hairline), 0 0 0 calc(var(--dial-ring, 8px) - 1px) var(--color-raised), 0 0 0 var(--dial-ring, 8px) var(--color-accent); }
/* A small dial: its ring sits inside its well's own width, so the ring's
   edge, not the dial's, stands on the text's edge. It has no minute track. */
.map, .workings { --dial-size: 96px; --dial-ring: 5px; --well-size: calc(var(--dial-size) + 2 * var(--dial-ring)); }
.map .well, .workings .well { width: var(--well-size); padding: var(--dial-ring); }
.map .ticks, .workings .ticks { display: none; }

/* A part's page: its head and telling at the text's measure, then its
   workings. A part in several groups, as the Hub in its passes, opens with
   their index, and each group begins on a heavier rule, as every fifth
   minute does. A pass of two strands is set as a braid, below. */
.part-page { margin-top: var(--space-12); }
.part-head h1 { margin: var(--space-2) 0 0; }
.part-head .theme { font-size: var(--type-lead); margin-top: var(--space-3); }
.part-head, .telling, .pass-theme { max-width: calc(var(--measure-text) * 1ch); }
.telling { margin-top: var(--space-8); }
.telling p { margin: 0 0 var(--space-4); }
.passes { margin-top: var(--space-12); font: var(--font-weight-medium) var(--type-label)/1.3 var(--font-data); letter-spacing: .14em; text-transform: uppercase; }
.passes ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-8); }
.passes a { display: block; padding-block: var(--space-1); }
.pass { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--space-12); margin-top: var(--space-16); scroll-margin-top: var(--space-4); }
.pass > * { grid-column: 1 / -1; }
.pass[id] { padding-top: var(--space-6); border-top: 1px solid var(--color-ink-quiet); }
.pass .group { font: var(--font-weight-bold) var(--type-part)/1.2 var(--font-text); margin: 0; }
.pass-theme p { color: var(--color-ink-quiet); font-style: italic; margin: var(--space-2) 0 0; }
.strand { margin-top: var(--space-8); min-width: 0; }
/* One list alone is set at the measure, with its faces in the margin beside. */
.pass > .workings:not(.woven) { max-width: calc(var(--measure-text) * 1ch + var(--well-size) + var(--space-6)); }
.workings { list-style: none; margin: var(--space-3) 0 0; padding: 0; border-top: 1px solid var(--color-hairline); }
.working { display: grid; grid-template-columns: minmax(0, 1fr); padding-block: var(--space-3); border-bottom: 1px solid var(--color-hairline); scroll-margin-top: var(--space-6); }
.working.made { grid-template-columns: var(--well-size) minmax(0, 1fr); align-items: center; column-gap: var(--space-4); padding-block: var(--space-4); }
.working .what { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
.working .name { font-weight: var(--font-weight-bold); }
.working .line { color: var(--color-ink-quiet); }
.working .entry-link { margin-top: var(--space-1); font: var(--font-weight-medium) var(--type-note)/1.4 var(--font-data); letter-spacing: .04em; }
.working .entry-link .number { letter-spacing: .1em; }
/* A working arrived at from its entry or the map shows which it is. */
.working:target { background: var(--color-raised); box-shadow: calc(var(--space-3) * -1) 0 0 var(--color-raised), var(--space-3) 0 0 var(--color-raised); }
@media (min-width: 721px) {
  .working.made { grid-template-columns: minmax(0, 1fr) var(--well-size); column-gap: var(--space-6); }
  .working.made > .face-link { order: 2; }
  /* In one list alone the names stand in a column of their own, and the
     lines in a second, across every row, made or not. */
  .pass > .workings:not(.woven) .what { grid-template-columns: 12.5em minmax(0, 1fr); grid-template-areas: "name line" "link line"; column-gap: var(--space-4); align-items: baseline; }
  .pass > .workings:not(.woven) .name { grid-area: name; }
  .pass > .workings:not(.woven) .line { grid-area: line; }
  .pass > .workings:not(.woven) .entry-link { grid-area: link; }
}

/* The braid. A pass of two strands is one list in the Wheel's sequence,
   one working to a row, each on its strand's side: the first
   strand's (.a) on one, the second's (.b) on the other, under the strand's
   heading. Two threads run down the page through every such pass, one in
   graphite and one pale. The graphite thread runs on the side of the working
   at hand, with a bead on it for that working, closed where the working is
   made and open where it is not yet, and the threads cross between two
   workings on different sides; between two on the same side they run
   straight. On a wide screen the threads run down the middle with a side to
   their left and a side to their right; on a narrow one they run down the
   left edge, and the second strand, its heading as its workings, stands
   indented.

   A crossing is drawn of four arcs, each an eighth of a circle, so that each
   thread leaves its line upright, crosses the other square, and arrives
   upright: 24px across between the threads' centres and 58px down, half of
   it beside the row above and half beside the row below. */
.braid {
  --thread: var(--color-ink-quiet); --counter: var(--color-hairline);
  --braid-w: 26px; --braid-x: 58px; --braid-gap: var(--space-4); --braid-in: var(--space-6);
  --lane-x: 0px; --head-l: var(--thread); --head-r: var(--counter);
  --arc-thread: transparent 39.5px, var(--thread) 40px 42px, transparent 42.5px;
  --arc-counter: transparent 39.5px, var(--counter) 40px 42px, transparent 42.5px;
  /* The thread from the left line down to the right, and from the right down to the left. */
  --cross-out:
    radial-gradient(circle at 42px 0, var(--arc-thread)) 0 0 / 13px 29px no-repeat,
    radial-gradient(circle at -29px 29px, var(--arc-thread)) 13px 29px / 13px 29px no-repeat,
    radial-gradient(circle at -29px 0, var(--arc-counter)) 13px 0 / 13px 29px no-repeat,
    radial-gradient(circle at 42px 29px, var(--arc-counter)) 0 29px / 13px 29px no-repeat;
  --cross-back:
    radial-gradient(circle at -29px 0, var(--arc-thread)) 13px 0 / 13px 29px no-repeat,
    radial-gradient(circle at 42px 29px, var(--arc-thread)) 0 29px / 13px 29px no-repeat,
    radial-gradient(circle at 42px 0, var(--arc-counter)) 0 0 / 13px 29px no-repeat,
    radial-gradient(circle at -29px 29px, var(--arc-counter)) 13px 29px / 13px 29px no-repeat;
  position: relative; grid-template-columns: var(--braid-w) minmax(0, 1fr); column-gap: 0;
}
.pass.braid[id] { padding-top: 0; border-top: 0; }
/* After a braided pass the next begins a crossing's height below. */
.braid + .braid { margin-top: var(--braid-x); }
.braid > * { grid-column: 2; padding-left: var(--braid-gap); }
.braid > .group { grid-row: 1; padding-top: var(--space-6); border-top: 1px solid var(--color-ink-quiet); }
.braid > .pass-theme { grid-row: 2; }
.braid > .strand.a { grid-row: 3; }
.braid > .strand.b { grid-row: 4; margin-top: var(--space-2); padding-left: calc(var(--braid-gap) + var(--braid-in)); }
.braid > .woven { grid-row: 5; grid-column: 1 / -1; padding-left: 0; margin-top: 0; padding-top: 0; border-top: 0; }
.braid > .strand { padding-bottom: var(--space-4); }
.braid > .strand.a:has(+ .strand) { padding-bottom: 0; }
/* Beside the pass's head the graphite thread runs on the side of the pass's
   first working. */
.braid:has(> .woven > .b:first-child) { --head-l: var(--counter); --head-r: var(--thread); }
.braid::before, .braid + .braid::after, .woven > .working::before, .woven > .working::after { content: ""; box-sizing: border-box; width: var(--braid-w); pointer-events: none; }
.braid::before { grid-column: 1; grid-row: 1 / 5; border-left: 2px solid var(--head-l); border-right: 2px solid var(--head-r); }
/* Between two braided passes the threads run on, and cross where the one
   ends on the side the next does not begin on. */
.braid + .braid::after { position: absolute; left: var(--lane-x); top: calc(var(--braid-x) * -1); height: var(--braid-x); border-left: 2px solid var(--head-l); border-right: 2px solid var(--head-r); }
.braid:has(> .woven > .b:last-child) + .braid:not(:has(> .woven > .b:first-child))::after { border: 0; background: var(--cross-back); }
.braid:has(> .woven > .a:last-child) + .braid:has(> .woven > .b:first-child)::after { border: 0; background: var(--cross-out); }

/* One working, on its side, with the threads beside it. */
.woven > .working {
  --l: var(--thread); --r: var(--counter); --bead-x: calc(var(--lane-x) + 1px); --above: 0px; --below: 0px;
  position: relative; align-items: center; min-height: calc(var(--braid-x) + var(--space-6));
  padding-left: calc(var(--braid-w) + var(--braid-gap)); border-bottom: 0;
}
.woven > .b { --l: var(--counter); --r: var(--thread); --bead-x: calc(var(--lane-x) + var(--braid-w) - 1px); padding-left: calc(var(--braid-w) + var(--braid-gap) + var(--braid-in)); }
.woven > .working.made { grid-template-columns: var(--well-size) minmax(0, 1fr); column-gap: var(--space-4); }
.woven > .working.made > .face-link { order: 0; }
/* The threads beside it, clear of a crossing above or below, */
.woven > .a + .b, .woven > .b + .a { --above: calc(var(--braid-x) / 2); }
.woven > .a:has(+ .b), .woven > .b:has(+ .a) { --below: calc(var(--braid-x) / 2); }
.woven > .working::before { position: absolute; left: var(--lane-x); top: var(--above); bottom: var(--below); border-left: 2px solid var(--l); border-right: 2px solid var(--r); }
/* the crossing from the working before it, */
.woven > .a + .b::after, .woven > .b + .a::after { position: absolute; left: var(--lane-x); top: calc(var(--braid-x) / -2); height: var(--braid-x); }
.woven > .a + .b::after { background: var(--cross-out); }
.woven > .b + .a::after { background: var(--cross-back); }
/* and its bead on the graphite thread. */
.woven .what::before { content: ""; position: absolute; left: var(--bead-x); top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; box-sizing: border-box; border: 2px solid var(--thread); border-radius: 50%; background: var(--color-ground); pointer-events: none; }
.woven .made > .what::before { background: var(--thread); }
/* A working's strand is told to a reader who cannot see its side. */
.strand-of { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
/* A working one came for is marked by its bead and its name. */
.braid .working:target { background: none; box-shadow: none; }
.braid .working:target > .what::before { border-color: var(--color-accent); }
.braid .made:target > .what::before { background: var(--color-accent); }
.braid .working:target .name { color: var(--color-accent); }
@media (min-width: 900px) {
  /* The threads run down the middle. Each side keeps a lane beside them
     for its faces, so the dials stand on either side of the braid. */
  .braid { grid-template-columns: minmax(0, 1fr) var(--braid-w) minmax(0, 1fr); --lane-x: calc(50% - var(--braid-w) / 2); --braid-gap: var(--space-6); }
  .braid > * { grid-column: 1; padding-left: 0; padding-right: var(--braid-gap); }
  .braid::before { grid-column: 2; }
  .braid > .strand.b { grid-column: 3; grid-row: 3; margin-top: var(--space-8); padding-left: var(--braid-gap); padding-right: 0; }
  .braid > .strand.a:has(+ .strand) { padding-bottom: var(--space-4); }
  .braid > .woven { padding-right: 0; }
  .woven { --lane: calc(var(--well-size) + var(--space-6)); }
  .woven > .working, .woven > .working.made { grid-template-columns: minmax(0, 1fr) var(--lane) var(--braid-w) var(--lane) minmax(0, 1fr); column-gap: 0; padding-left: 0; }
  .woven > .working > * { grid-row: 1; }
  .woven > .a > .what { grid-column: 1 / 3; padding-right: var(--braid-gap); }
  .woven > .a.made > .what { grid-column: 1; padding-right: var(--space-2); }
  .woven > .a > .face-link { grid-column: 2; justify-self: center; }
  .woven > .b > .what { grid-column: 4 / 6; padding-left: var(--braid-gap); }
  .woven > .b.made > .what { grid-column: 5; padding-left: var(--space-2); }
  .woven > .b > .face-link { grid-column: 4; justify-self: center; }
}

.method { max-width: calc(var(--measure-text) * 1ch); margin-top: var(--space-12); }
.method h1 { margin: 0 0 var(--space-8); }
.method h2 { font: var(--font-weight-medium) var(--type-label)/1.3 var(--font-data); letter-spacing: .16em; text-transform: uppercase; color: var(--color-ink-quiet); margin: var(--space-12) 0 var(--space-3); }
.method p { margin: 0 0 var(--space-4); }

@media (max-width: 720px) {
  .map .part { grid-template-columns: 1fr; }
  .map .theme, .map .names, .map-faces { margin-left: 0; }
  .map, .workings { --dial-size: 80px; }
  .map-faces { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6) var(--space-3); }
}
/* The glossary, and a term's link: the ink stays the text's, with a dotted
   rule beneath, so a passage full of terms still reads as text. */
a.term { color: inherit; text-decoration: underline dotted var(--color-ink-quiet); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a.term:hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }
a.term:focus-visible { text-decoration-color: var(--color-accent); }
/* The glossary: a lexicon. Each term stands as it is written, case and
   all, in the text's face; on a wide screen the terms run down a column of
   their own, beside their definitions at the measure. */
.glossary { max-width: calc(var(--measure-text) * 1ch + 15em); margin-top: var(--space-12); }
.glossary h1 { margin: 0 0 var(--space-6); }
.letters { display: flex; flex-wrap: wrap; gap: 0 var(--space-1); margin: 0 0 var(--space-8) calc(var(--space-2) * -1); font: var(--font-weight-medium) var(--type-data)/1 var(--font-data); }
.letters a { padding: var(--space-2); color: var(--color-ink-quiet); text-decoration: none; transition: color var(--tempo-beat) steps(1, end); }
.letters a:hover { color: var(--color-accent); }
.terms { margin: 0; border-top: 1px solid var(--color-ink-quiet); }
.terms dt { font-weight: var(--font-weight-bold); line-height: 1.4; padding-top: var(--space-4); scroll-margin-top: var(--space-4); }
.terms dt a { color: inherit; text-decoration: none; }
.terms dt a:hover { color: var(--color-accent); }
.terms dd { margin: var(--space-1) 0 0; padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-hairline); }
.terms dd p { margin: 0; }
/* A term's locators: the pages it occurs on, by name, set small as an
   index sets its page numbers. */
.terms .locators { margin-top: var(--space-2); font: var(--type-note)/1.6 var(--font-data); color: var(--color-ink-quiet); }
.terms .locators a { text-decoration: none; }
.terms .locators a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* The term one came for is marked, in the accent, as an active state. */
.terms dt:target { box-shadow: inset 3px 0 0 var(--color-accent); padding-left: var(--space-3); }
.terms dt:target + dd { border-bottom-color: var(--color-accent); }
@media (min-width: 861px) {
  .terms { display: grid; grid-template-columns: 13em minmax(0, 1fr); column-gap: var(--space-8); }
  .terms dt { grid-column: 1; padding-block: var(--space-4); border-bottom: 1px solid var(--color-hairline); }
  .terms dd { grid-column: 2; margin: 0; padding-block: var(--space-4); }
  .terms dt:target { border-bottom-color: var(--color-accent); }
}
/* A tag's page, a facet's page, and the tags' index. A tag's entries stand
   as an arc's workings do, each with its face, under its facet's name; a
   facet's values are one flowing list, as long as the facet needs; and the
   index sets one such list under each facet's name. */
.tag-page { margin-top: var(--space-12); }
.tag-page .up { font: var(--font-weight-medium) var(--type-label)/1.3 var(--font-data); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.tag-page .up:hover { text-decoration: underline; text-underline-offset: 4px; }
.tag-page > h1 { margin: 0 0 var(--space-8); }
.tag-page > .workings { margin-top: var(--space-8); max-width: calc(var(--measure-text) * 1ch + var(--well-size) + var(--space-6)); border-top-color: var(--color-ink-quiet); }
/* The list is as wide as the text's measure, so it takes the text's face and its values the mono.
   The values flow along the line and wrap, each whole, under one rule. */
.tag-index { list-style: none; margin: 0; padding: var(--space-2) 0 0; max-width: calc(var(--measure-text) * 1ch); border-top: 1px solid var(--color-ink-quiet); display: flex; flex-wrap: wrap; gap: 0 var(--space-6); font: var(--type-data)/1.4 var(--font-data); }
.tag-index a { display: block; padding-block: var(--space-2); text-decoration: none; white-space: nowrap; }
.tag-index a:hover { text-decoration: underline; text-underline-offset: 4px; }
.facet { margin-top: var(--space-12); max-width: calc(var(--measure-text) * 1ch); }
.tag-page > h1 + .facet { margin-top: 0; }
.facet .label { display: block; margin: 0 0 var(--space-2); scroll-margin-top: var(--space-8); }
.facet .label a { text-decoration: none; }
.facet .label a:hover { text-decoration: underline; text-underline-offset: 4px; }
.facet-note { margin: 0 0 var(--space-4); max-width: calc(var(--measure-text) * 1ch); color: var(--color-ink-quiet); text-wrap: pretty; }
.tag-page > .facet-note { margin-top: var(--space-3); }
/* The search page: a field under its title, a line that says what was
   found, and the results, each a title and the passage round the words
   found. The status line keeps its height, so nothing moves when it speaks. */
.search { max-width: calc(var(--measure-text) * 1ch); margin-top: var(--space-12); }
.search h1 { font: var(--font-weight-medium) var(--type-label)/1.3 var(--font-data); letter-spacing: .16em; text-transform: uppercase; color: var(--color-ink-quiet); margin: 0 0 var(--space-3); }
.search-form input {
  display: block; width: 100%; margin: 0; padding: var(--space-2) 0; border: 0; border-bottom: 1px solid var(--color-ink-quiet); border-radius: 0;
  background: none; color: var(--color-ink); font: var(--type-opening)/1.35 var(--font-text); appearance: none; -webkit-appearance: none;
}
.search-form input::-webkit-search-cancel-button, .search-form input::-webkit-search-decoration { -webkit-appearance: none; }
/* The field's focus is an active state: its rule takes the accent, and doubles. */
.search-form input:focus { outline: none; border-bottom-color: var(--color-accent); box-shadow: 0 1px 0 var(--color-accent); }
.search-status, .search-note, .search-tags { font: var(--type-note)/1.5 var(--font-data); color: var(--color-ink-quiet); margin: var(--space-3) 0 0; }
.search-status { min-height: 1.5em; }
.search-tags { margin-top: var(--space-8); font: var(--font-weight-medium) var(--type-label)/1.3 var(--font-data); letter-spacing: .16em; text-transform: uppercase; }
.search-tags a { text-decoration: none; }
.search-tags a:hover { text-decoration: underline; text-underline-offset: 4px; }
.search-results { list-style: none; margin: var(--space-4) 0 0; padding: 0; }
.search-results:not(:empty) { border-top: 1px solid var(--color-hairline); }
.search-results li { padding-block: var(--space-4); border-bottom: 1px solid var(--color-hairline); }
.search-results a { font-weight: var(--font-weight-bold); text-decoration: none; }
.search-results a:hover { text-decoration: underline; text-underline-offset: 4px; }
.search-results p { margin: var(--space-1) 0 0; color: var(--color-ink-quiet); overflow-wrap: break-word; }
/* The tags found in an entry: each under its facet's label, in the data's mono. */
.search-results .found-tags { font: var(--type-note)/1.5 var(--font-data); }
.search-results .facet-label { font: var(--font-weight-medium) var(--type-label)/1.5 var(--font-data); letter-spacing: .16em; text-transform: uppercase; }
/* A word found is set in ink on the raised ground, over a fine rule. */
.search-results mark { background: var(--color-raised); color: var(--color-ink); box-shadow: inset 0 -1px 0 var(--color-ink-quiet); }
.search-results a mark { color: inherit; }
/* The specimen page, which only the preview serves. */
.spec-section { margin-top: var(--space-16); }
.spec-section > h2 { margin: 0 0 var(--space-6); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: var(--space-4); }
.swatch div { aspect-ratio: 1.4; border: 1px solid var(--color-hairline); }
.swatch p { margin: var(--space-2) 0 0; font: var(--type-label)/1.4 var(--font-data); color: var(--color-ink-quiet); }
.types p { margin: 0 0 var(--space-4); }
.types .t { font: var(--type-label)/1 var(--font-data); color: var(--color-ink-quiet); display: block; margin-bottom: 4px; }
.spaces { display: flex; align-items: flex-end; gap: var(--space-6); flex-wrap: wrap; }
.spaces > div > div { background: var(--color-accent); }
.spaces p { font: var(--type-label)/1 var(--font-data); color: var(--color-ink-quiet); margin: var(--space-2) 0 0; }
.beats { display: flex; align-items: flex-end; height: 40px; border-bottom: 1px solid var(--color-hairline); }
.beats span { flex: 1; border-left: 1px solid var(--color-ink-quiet); height: 14px; }
.beats span.s { height: 40px; border-left-color: var(--color-ink); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: start; }
.marks { display: flex; gap: var(--space-12); align-items: center; flex-wrap: wrap; color: var(--color-ink); }
@media (max-width: 720px) { .pair { grid-template-columns: 1fr; } }
