/* Version 0.3, 10 October 2026. Hourglass: working drawings, consultancy register. */

@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/public-sans.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Drawing paper and ink. One red: the drafter's revision mark. It means "what changed" and nothing else.
     Process cyan appears only as the print on a photograph under the pointer. */
  --paper: #F6F4EF;
  --paper-2: #ECE8E0;
  --ink: #191814;
  --ink-2: #47433C;
  --ink-3: #6F695F;
  --rule: #D6D0C4;
  --red: #A3361F;
  --blue: #2C8CB0;          /* hourglass blue: hover only, on photographs and as the block behind a heading */

  /* The lead form themes itself from these. */
  --accent: #191814;
  --accent-soft: #ECE8E0;
  --accent-ink: #F6F4EF;
  --pathway-bg: #F6F4EF;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1360px;
  --sb: 0px;                                      /* scrollbar width, set by film.js */
  --edge: max(var(--gutter), calc((100vw - var(--sb) - var(--max)) / 2 + var(--gutter)));
  --col-gap: clamp(16px, 2vw, 32px);
  --sec: clamp(96px, 11vw, 168px);
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.62 var(--sans);
  font-feature-settings: "kern", "lnum";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--ink); color: var(--paper); padding: 8px 12px; }
.skip:focus { top: 12px; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }
.red { color: var(--red); }
span.red { white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* Type */
.display {
  font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 360;
  font-size: clamp(42px, 5.4vw, 84px); line-height: 1.0; letter-spacing: -0.024em;
  text-wrap: balance; margin: 0 0 28px;
}
.h2 {
  font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 370;
  font-size: clamp(32px, 3.5vw, 54px); line-height: 1.06; letter-spacing: -0.018em; text-wrap: balance;
}
.h3 {
  font-family: var(--serif); font-variation-settings: "opsz" 30; font-weight: 420;
  font-size: clamp(22px, 1.8vw, 27px); line-height: 1.2; letter-spacing: -0.008em; margin-bottom: 14px;
}
.lead {
  font-family: var(--serif); font-variation-settings: "opsz" 20; font-weight: 400;
  font-size: clamp(19px, 1.55vw, 23px); line-height: 1.45; color: var(--ink);
}
.label, .fig-no { font: 500 13px/1.3 var(--sans); letter-spacing: 0.01em; color: var(--ink-3); margin: 0; }
.fold-note { margin: 26px 0 0; font: 400 14px/1.5 var(--sans); color: var(--ink-3); }
.caption { font: 400 14px/1.55 var(--sans); color: var(--ink-2); max-width: 34ch; }
.caption strong { font-weight: 600; color: var(--ink); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 2px;
  font: 500 16px/1 var(--sans); letter-spacing: 0.005em; text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.link { font: 500 15px/1 var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); }
.link:hover { text-decoration-color: currentColor; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 34px 0 0; }

/* The glass: the mark, drawn live. Sand is set by page.js. */
.glass__stream { opacity: 0; stroke-dasharray: 0.55 0.85; transition: opacity .3s ease; }
.glass.is-flowing .glass__stream { opacity: 1; animation: hg-fall .35s linear infinite; }
@keyframes hg-fall { to { stroke-dashoffset: -1.4; } }
.glass--label { display: inline-block; width: 15px; height: 15px; margin: 0 10px 0 0; vertical-align: -2.75px; color: var(--ink); }   /* centred on the capitals */

/* Bar */
.bar { position: fixed; inset: 0 0 auto; z-index: 20; height: var(--bar-h); background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.bar.is-ruled { border-bottom-color: var(--rule); }
.bar__in { position: relative; height: 100%; padding-inline: var(--edge); display: flex; align-items: center; justify-content: space-between; }
.bar__left { display: flex; align-items: center; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 22px; height: 22px; flex: none; }
/* The mark centred on the word's capitals, not on its line box (which carries the descender): measured, tools/centre. */
.bar .brand__mark { position: relative; top: -2px; }
.brand__word { font-family: var(--serif); font-variation-settings: "opsz" 24; font-weight: 460; font-size: 22px; letter-spacing: -0.01em; line-height: 1; }
.bar__sec { margin-left: 18px; padding-left: 18px; border-left: 1px solid var(--rule); font: 400 14px/18px var(--sans); color: var(--ink-2); white-space: nowrap; opacity: 0; transform: translateY(3px); transition: opacity .3s ease, transform .3s ease; }
.bar__sec.is-on { opacity: 1; transform: none; }
.bar__sec:empty { border-left-color: transparent; }
.bar__cta { font: 500 14px/1 var(--sans); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 0.3em; white-space: nowrap; }
.bar__cta:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* 1. The film, static (no JS, reduced motion, data saver): the plate with its marks, and every stage once. */
.film { padding-top: var(--bar-h); }
.film__stage { position: relative; }
.film__plate { position: relative; overflow: hidden; background: #DCD6CB; aspect-ratio: 16 / 9; }
.film__poster, .film__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__canvas { opacity: 0; }
.film__marks, .film__leaders { display: none; }
.film__smarks span { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 1.25px solid var(--ink); background: rgba(246, 244, 239, .78); font: 500 10px/18px var(--sans); text-align: center; color: var(--ink); }
.film__smarks span.is-red { width: 12px; height: 12px; margin: -6px 0 0 -6px; border-color: var(--red); }
.film__text { padding: 40px var(--gutter) 0; }
.stage--b, .stage--c .stage__line--sm, .stage--d .fig-no, .film__scale { display: none; }
.stage + .stage { margin-top: 32px; }
.stage__line { font-family: var(--serif); font-variation-settings: "opsz" 36; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.18; letter-spacing: -0.012em; margin: 12px 0 0; max-width: 20ch; text-wrap: balance; }
.callouts { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--rule); max-width: 360px; }
.callouts li { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--rule); font: 400 17px/1.3 var(--sans); }
.callouts { counter-reset: c; } .callouts li::before { counter-increment: c; content: counter(c); display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; border: 1px solid var(--ink); border-radius: 50%; font: 500 11px/1 var(--sans); }
.callouts__n { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; border: 1px solid var(--ink); border-radius: 50%; font: 500 11px/1 var(--sans); font-variant-numeric: tabular-nums; transform: translateY(-1px); }
.red-line { color: var(--red); }
.stage--d .caption { margin-top: 18px; }

@media (min-width: 900px) {
  html:not(.is-scrub) .film__stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  html:not(.is-scrub) .film__plate { grid-column: 2; grid-row: 1 / span 2; margin-top: 20px; }
  html:not(.is-scrub) .film__text { grid-column: 1; grid-row: 1; padding: 20px clamp(28px, 3.6vw, 64px) 0 var(--edge); }
}

/* 1b. The film, scrubbed. film.js adds .is-scrub to <html> when motion is allowed. */
@media (min-width: 900px) {
  .is-scrub .film { height: 340vh; padding-top: 0; }
  .is-scrub .film__stage {
    position: sticky; top: 0; height: 100vh; height: 100svh;
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .is-scrub .film__plate { grid-column: 2; aspect-ratio: auto; margin: calc(var(--bar-h) + 20px) 0 28px; }
  .is-scrub .film__text {
    grid-column: 1; grid-row: 1; position: relative;
    padding: calc(var(--bar-h) + 20px) clamp(28px, 3.6vw, 64px) 28px var(--edge);
    display: grid; align-items: center;
  }
  .is-scrub .film__leaders { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
  .is-scrub .film__scale { display: block; position: absolute; left: var(--edge); right: clamp(28px, 3.6vw, 64px); bottom: 28px; height: 9px; border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); }
  .is-scrub .film__scale::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 1px solid var(--rule); }
  .is-scrub .film__scale-fill { position: absolute; left: 0; top: 4px; height: 1px; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
  .is-scrub .stage--c .stage__line--sm { display: block; font-size: 20px; max-width: 26ch; color: var(--ink-2); }
}
.is-scrub .film__canvas { opacity: 1; }
.is-scrub .film__poster { display: none; }
.is-scrub .film__smarks { opacity: 0; }
.is-scrub .film__marks { display: block; position: absolute; inset: 0; pointer-events: none; }
.is-scrub .stage--b, .is-scrub .stage--d .fig-no { display: block; }
.is-scrub .stage { grid-area: 1 / 1; margin: 0; transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1); }
.is-scrub .stage:not(.is-on) { opacity: 0; transform: translateY(14px); pointer-events: none; transition-duration: .35s; }
.is-scrub .stage:focus-within { opacity: 1; transform: none; pointer-events: auto; }

/* Plate marks and leaders */
.mark { position: absolute; width: 0; height: 0; opacity: 0; transition: opacity .4s ease; }
.mark::before { content: ""; position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; border: 1.25px solid var(--ink); background: rgba(246, 244, 239, .55); }
.mark::after { content: ""; position: absolute; left: -1.5px; top: -1.5px; width: 3px; height: 3px; border-radius: 50%; background: var(--ink); }
.mark--red::before { border-color: var(--red); }
.mark--red::after { background: var(--red); }
.mark.is-on { opacity: 1; }
.leader { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke-dashoffset .7s cubic-bezier(.3,.6,.2,1), opacity .3s ease; }
.leader--red { stroke: var(--red); }

/* Phone and tablet scrub: plate on top, text beneath */
@media (max-width: 899.98px) {
  .is-scrub .film { height: 280vh; padding-top: 0; }
  .is-scrub .film__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; }
  .is-scrub .film__plate { flex: none; height: 46svh; aspect-ratio: auto; margin-top: var(--bar-h); }
  .is-scrub .film__text { flex: 1; position: relative; display: grid; align-items: start; padding: 22px var(--gutter) 16px; }
  .is-scrub .display { font-size: clamp(34px, 9.4vw, 46px); margin-bottom: 12px; }
  .is-scrub .stage--a .lead { font-size: 17px; line-height: 1.4; margin-bottom: 0; }
  .is-scrub .actions { margin-top: 16px; }
  .is-scrub .btn { min-height: 48px; padding: 0 20px; font-size: 15px; }
  .is-scrub .actions .link { display: none; }
  .is-scrub .fold-note { margin-top: 12px; font-size: 13px; }
  .is-scrub .callouts { margin-top: 12px; max-width: none; columns: 2; column-gap: 20px; border-top: 0; }
  .is-scrub .callouts li { break-inside: avoid; padding: 7px 0; font-size: 15px; }
  .is-scrub .stage--c .stage__line--sm { display: block; font-size: 17px; line-height: 1.35; max-width: 32ch; margin-top: 8px; color: var(--ink-2); }
  .is-scrub .stage__line { font-size: 24px; }
  .mark::before { left: -4.5px; top: -4.5px; width: 9px; height: 9px; }
  .mark::after { left: -1px; top: -1px; width: 2px; height: 2px; }
}
@media (max-width: 899.98px) and (max-height: 700px) {
  .is-scrub .film__plate { height: 38svh; }
  .is-scrub .display { font-size: 32px; }
  .is-scrub .stage--a .lead { font-size: 16px; }
  .is-scrub .film__text { padding-top: 16px; }
}
@media (min-width: 600px) and (max-width: 899.98px) {
  .is-scrub .film__plate { height: 52svh; }
}

/* Sections */
.sec { padding-block: var(--sec) 0; }
.sec__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; border-top: 4px double var(--ink); padding-top: 22px; margin-bottom: clamp(48px, 6vw, 88px); }
.sec__head .label { grid-column: 1 / span 3; color: var(--ink); margin-top: -1.5px; }   /* the eyebrow's cap tops level with the headline's */
.sec__head .h2 { grid-column: 4 / span 8; }
.sec__head .sec__lead { grid-column: 4 / span 7; margin: 28px 0 0; color: var(--ink-2); }

/* 2. Moment */
.moment { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 40px; }
.moment__fig { grid-column: 4 / span 4; margin: 0; border-top: 1px solid var(--rule); padding-top: 18px; }
.num { display: block; font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 340; font-size: clamp(64px, 7vw, 108px); line-height: .9; letter-spacing: -0.03em; font-variant-numeric: lining-nums; margin-bottom: 18px; }
.moment__txt { display: block; color: var(--ink-2); max-width: 32ch; }
.moment sup { font: 500 11px/0 var(--sans); margin-left: 2px; }
.moment sup a { text-decoration: none; color: var(--ink-3); }
.moment__body { grid-column: 8 / span 5; border-top: 1px solid var(--rule); padding-top: 22px; }
.moment__body .lead { margin-bottom: 18px; }
.moment__body p:last-child { color: var(--ink-2); max-width: 58ch; }
.notes { margin: 56px 0 0; padding: 18px 0 0 0; list-style: none; counter-reset: n; border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.notes li { grid-column: span 4; counter-increment: n; font: 400 13px/1.5 var(--sans); color: var(--ink-3); position: relative; padding-left: 18px; }
.notes li:first-child { grid-column: 4 / span 4; }
.notes li:last-child { grid-column: 9 / span 4; }
.notes li::before { content: counter(n); position: absolute; left: 0; color: var(--ink); font-variant-numeric: tabular-nums; }

/* 3. The sheet and title block */
.sheet { margin: 0; border: 1px solid var(--ink); background: var(--paper); }
.sheet__draw { padding: clamp(20px, 3vw, 44px); min-width: 0; }
.titleblock { display: flex; flex-direction: column; justify-content: space-between; }
.titleblock__firm { padding: 18px 16px 20px; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 9px; row-gap: 6px; }
.titleblock__firm .brand__mark { width: 20px; height: 20px; }
.titleblock__firm .brand__word { font-size: 20px; }
.titleblock__sub { grid-column: 1 / -1; font: 400 13px/1.4 var(--sans); color: var(--ink-3); }
.titleblock dl { margin: 0; }
.titleblock dl > div { border-top: 1px solid var(--ink); padding: 12px 16px 14px; }
.titleblock dt { font: 500 11px/1.3 var(--sans); color: var(--ink-3); letter-spacing: 0.02em; margin-bottom: 4px; }
.titleblock dd { margin: 0; font: 400 14px/1.45 var(--sans); color: var(--ink); }
.titleblock dd.tnum, .titleblock dd.red { font-family: var(--serif); font-size: 26px; line-height: 1; }

/* Fig. 2: the brain in section */
.fig2__tools { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.fig2__tools li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fig2__tools svg { width: 26px; height: 26px; fill: var(--ink); }
.fig2__tools span { font: 500 12px/1.2 var(--sans); color: var(--ink-3); letter-spacing: 0.01em; }
.fig2__stage { position: relative; height: 520px; }
.fig2__sand, .fig2__lines { position: absolute; left: 0; top: 0; }
.fig2__lines { overflow: visible; }
.f2-glass { fill: none; stroke: var(--ink); stroke-width: 1; }
.f2-cap { fill: none; stroke: var(--ink); stroke-width: 1.25; }
.f2-bound { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 16 4 2 4; }
.f2-leader { fill: none; stroke: var(--red); stroke-width: 1; }
.f2-dot { fill: var(--red); }
.fig2__note { position: absolute; margin: 0; font: 400 15px/1.45 var(--sans); color: var(--ink-2); max-width: 26ch; }
.fig2__note--up { font-family: var(--serif); font-variation-settings: "opsz" 24; font-size: 20px; line-height: 1.3; color: var(--ink); }
.fig2__note--brain .red { font-weight: 600; }
.fig2__note--bound { font: 500 12px/1.3 var(--sans); color: var(--ink-3); max-width: none; white-space: nowrap; }

.ledger { margin: clamp(48px, 5vw, 72px) 0 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.ledger__row { grid-column: 4 / span 9; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr); column-gap: var(--col-gap); border-top: 1px solid var(--rule); padding: 20px 0 22px; }
.ledger__row:last-child { border-bottom: 1px solid var(--rule); }
.ledger dt { font: 500 15px/1.5 var(--sans); color: var(--ink); }
.ledger dd { margin: 0; color: var(--ink-2); max-width: 56ch; }

/* 4. Schedules */
.pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 72px; }
.schedule { grid-column: span 6; }
.schedule:first-child { grid-column: 1 / span 6; padding-right: clamp(0px, 2vw, 32px); }
.schedule > p { color: var(--ink-2); max-width: 50ch; min-height: 7.2em; }
.tbl { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15px; line-height: 1.45; }
.tbl caption { caption-side: top; text-align: left; font: 500 13px/1.3 var(--sans); color: var(--ink-3); padding-bottom: 10px; }
.tbl th, .tbl td { text-align: left; vertical-align: baseline; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--rule); }
.tbl thead th { font: 500 12px/1.3 var(--sans); color: var(--ink-3); letter-spacing: 0.01em; border-bottom: 1px solid var(--ink); padding-top: 0; }
.tbl td:last-child, .tbl th:last-child { padding-right: 0; }

/* Column widths on the 12-column grid: n columns span (100% + gap) * n / 12, the gap kept as each cell's right
   padding. The last column takes what is left, so the table ends exactly on the right margin. Within 1px from 900 to 1440. */
.tbl--grid { table-layout: fixed; }
.tbl--grid th, .tbl--grid td { padding-right: var(--col-gap); text-wrap: pretty; }
.tbl--grid th:last-child, .tbl--grid td:last-child { padding-right: 0; }
.tbl--grid .c2 { width: 17.05%; }   /* (100% + gap) * 2 / 12, with the gap at about 2.3% of the text width */
.tbl--grid .c3 { width: 25.58%; }   /* (100% + gap) * 3 / 12. Fixed tables ignore calc() that mixes % and px. */

/* 5. Record */
.tbl--record { font-size: 16px; margin-top: 0; }
.tbl--record td:nth-child(1) { color: var(--ink); }
.tbl--record td:nth-child(2), .tbl--record td:nth-child(3) { color: var(--ink-2); }
.tbl--record .client { display: block; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.tbl--record td:nth-child(4) { font-family: var(--serif); font-variation-settings: "opsz" 24; font-size: 20px; line-height: 1.3; letter-spacing: -0.005em; }
.tbl--record tbody td { padding-block: 20px 22px; }
.quotes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: clamp(64px, 7vw, 104px); row-gap: 56px; align-items: start; }
.quote { margin: 0; }
.quote:first-child { grid-column: 1 / span 5; }
.quote:last-child { grid-column: 7 / span 6; }
.quote blockquote { margin: 0; }
.quote p { position: relative; font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 36; font-weight: 360; font-size: clamp(23px, 2.1vw, 30px); line-height: 1.3; letter-spacing: -0.01em; margin: 0; }
.quote p::before { content: "\201C"; position: absolute; right: 100%; padding-right: 0.06em; }
.quote p::after { content: "\201D"; }
.quote figcaption { margin-top: 18px; font: 400 14px/1.5 var(--sans); color: var(--ink-3); }

/* 6. People: five portraits standing on one ground line, then their record. */
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 56px; }
.person__img { position: relative; aspect-ratio: 4 / 5; border-bottom: 1px solid var(--ink); overflow: hidden; margin-bottom: 20px; }
.person__img img { position: absolute; left: 0; bottom: -20px; width: 100%; height: auto; will-change: transform; }
.person__name { font-family: var(--serif); font-variation-settings: "opsz" 30; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.15; letter-spacing: -0.01em; }
.person__role { margin: 6px 0 0; font: 500 14px/1.45 var(--sans); color: var(--ink); }
.person__rec { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.has-drift .person { opacity: 0; transform: translateY(28px); transition: opacity .9s ease calc(var(--i, 0) * 90ms), transform 1.1s cubic-bezier(.2,.7,.2,1) calc(var(--i, 0) * 90ms); }
.has-drift .person.is-in { opacity: 1; transform: none; }

/* 7. Fees */
.tbl--fees { margin-top: 0; font-size: 16px; }
.tbl--fees th[scope="row"] { font-family: var(--serif); font-variation-settings: "opsz" 30; font-weight: 400; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; padding-block: 24px 26px; }
.tbl--fees td { padding-block: 24px 26px; color: var(--ink-2); }
.tbl--fees .fee { font-family: var(--serif); font-variation-settings: "opsz" 30; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.tbl--fees .fee span { display: block; margin-top: 6px; font: 400 14px/1.4 var(--sans); color: var(--ink-3); }
.guarantee { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: baseline; margin: 40px 0 0; font-family: var(--serif); font-variation-settings: "opsz" 30; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.25; letter-spacing: -0.01em; }
.guarantee__k { grid-column: 1 / span 3; font: 500 13px/1.3 var(--sans); color: var(--ink); }
.guarantee > :not(.guarantee__k) { grid-column: 4 / span 8; }

/* 8. Close */
.sec--close { padding-bottom: var(--sec); }
.close { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); border-top: 4px double var(--ink); padding-top: 22px; }
.close__text { grid-column: 1 / span 6; }
.close__text .label { color: var(--ink); margin-bottom: 40px; }
.close__text .h2 { max-width: 14ch; }
.close__text .lead { margin-top: 28px; color: var(--ink-2); max-width: 30ch; }
.close__form { grid-column: 8 / span 5; padding-top: 52px; }
.fallback { font: 400 16px/1.6 var(--sans); color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: 18px; }

/* Footer */
.foot { border-top: 1px solid var(--rule); }
.foot__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 28px 32px; }
.brand--foot .brand__word { font-size: 19px; }
.brand--foot .brand__mark { width: 19px; height: 19px; position: relative; top: -1.9px; }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 26px; font: 400 14px/1.5 var(--sans); }
.foot__nav a { color: var(--ink-2); text-decoration: none; }
.foot__nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899.98px) { .foot__in { flex-direction: column; align-items: flex-start; } .foot__nav { justify-content: flex-start; gap: 6px 18px; } }

/* Tablet */
@media (max-width: 1100px) {
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Narrow screens */
@media (max-width: 899.98px) {
  body { font-size: 16.5px; }
  .bar__sec { display: none; }
  .sec__head { display: block; padding-top: 16px; }
  .sec__head .label { margin-bottom: 18px; }
  .sec__head .sec__lead { margin-top: 20px; }
  .moment, .notes, .ledger, .pair, .quotes { display: block; }
  .moment__fig { margin-bottom: 36px; }
  .moment__body { padding-top: 20px; }
  .notes li { margin-bottom: 10px; }
  .sheet { display: block; }
  .sheet__draw { padding: 18px 14px 14px; }
  .titleblock dl { display: grid; grid-template-columns: 1fr 1fr; }
  .titleblock dl > div:nth-child(1), .titleblock dl > div:nth-child(2) { grid-column: 1 / -1; }
  .titleblock dl > div:nth-child(4) { border-left: 1px solid var(--ink); }
  .ledger__row { display: block; padding: 16px 0 18px; }
  .ledger dt { margin-bottom: 4px; }
  .schedule { margin-bottom: 64px; }
  .schedule > p { min-height: 0; }
  .tbl { font-size: 14px; }
  .tbl th, .tbl td { padding-right: 10px; }
  .tbl--grid { table-layout: auto; }
  .tbl--record thead, .tbl--fees thead { display: none; }
  .tbl--record, .tbl--record tbody, .tbl--record tr, .tbl--record td { display: block; width: auto !important; }
  .tbl--record tr { border-bottom: 1px solid var(--rule); padding: 16px 0 18px; }
  .tbl--record tr:first-child { border-top: 1px solid var(--ink); }
  .tbl--record td, .tbl--record tbody td { border: 0; padding: 0; }
  .tbl--record td:nth-child(1), .tbl--record td:nth-child(2) { display: inline; font: 500 13px/1.4 var(--sans); color: var(--ink-3); }
  .tbl--record td:nth-child(1)::after { content: ", "; }
  .tbl--record td:nth-child(3) { margin-top: 6px; font-size: 15px; }
  .tbl--record td:nth-child(4) { margin-top: 6px; font-size: 20px; }
  .quote { margin-bottom: 44px; padding-left: 0.5em; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 40px; }
  .person__rec { font-size: 14px; }
  .tbl--fees, .tbl--fees tbody, .tbl--fees tr, .tbl--fees th, .tbl--fees td { display: block; width: auto !important; }
  .tbl--fees tr { border-top: 1px solid var(--rule); padding: 18px 0 20px; }
  .tbl--fees tr:first-child { border-top: 1px solid var(--ink); }
  .tbl--fees th[scope="row"], .tbl--fees td { border: 0; padding: 0; }
  .tbl--fees .fee { margin-top: 6px; padding: 0; font-size: 22px; }
  .tbl--fees td:last-child { margin-top: 10px; font-size: 15px; }
  .guarantee { display: block; }
  .guarantee__k { display: block; margin-bottom: 8px; }
  .close { display: block; }
  .close__text .label { margin-bottom: 18px; }
  .close__form { padding-top: 36px; }
  .foot__in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 639.98px) {
  .fig2__tools { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; margin-bottom: 4px; }
  .fig2__note { position: static; max-width: none; }
  .fig2__note--up { font-size: 18px; margin-top: 16px; }
  .fig2__note--brain, .fig2__note--bound { margin-top: 10px; }
  .fig2__note--bound { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* The gauge: a tall glass in the right margin. Its sand settles as you read the page. Desktop only. */
.gauge { position: fixed; z-index: 15; top: 50%; width: 38px; height: 108px; right: max(10px, calc(((100vw - var(--sb) - var(--max)) / 2 + var(--gutter) - 38px) / 2)); transform: translate(0, -50%); opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.gauge.is-on { opacity: 1; pointer-events: auto; cursor: default; }
.gauge canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 1099.98px) { .gauge { display: none; } }

/* Broadsheet: column rules in the gutters, a drop cap, the double rule on section heads (above). Wide screens only. */
@media (min-width: 900px) {
  .moment__body, .schedule + .schedule, .quote:last-child, .close__form { position: relative; }
  .moment__body::before, .schedule + .schedule::before, .close__form::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--col-gap) / -2); border-left: 1px solid var(--rule);
  }
  .moment__body .lead::first-letter { float: left; font-variation-settings: "opsz" 72; font-weight: 340; font-size: 4.25em; line-height: .8; margin: .06em .08em 0 -.02em; color: var(--ink); }
}
@media (min-width: 1101px) {
  .person + .person { position: relative; }
  .person + .person::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--col-gap) / -2); border-left: 1px solid var(--rule); }
}

/* Every photograph is printed in black on paper. On hover it prints in process cyan instead. */
.print { position: relative; }
.print__c { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .45s ease; pointer-events: none; z-index: 1; }
.print:hover .print__c, .print:focus-within .print__c { opacity: 1; }

/* The city plates: a broadsheet spread, full text width, each city named under its photograph. */
.plate { margin: var(--sec) auto 0; }
.plate .print { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.plate img { display: block; width: 100%; height: 100%; object-fit: cover; }
.plate__place { position: absolute; z-index: 2; left: clamp(16px, 2.2vw, 32px); bottom: clamp(12px, 1.8vw, 26px); margin: 0; font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 370; font-size: clamp(28px, 3.4vw, 52px); line-height: 1; letter-spacing: -0.018em; color: var(--paper); pointer-events: none; }
@media (max-width: 899.98px) { .plate .print { aspect-ratio: 4 / 3; } }
.person__img .print__c { inset: auto; left: 0; bottom: -20px; height: auto; }

/* Fig. 2, the tower test version (tower.html): a section through a city tower, printed. */
.tower { position: relative; height: 680px; }
.tower__canvas { position: absolute; left: 0; top: 0; }
.tower__labels { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease; }
.tl { position: absolute; margin: 0; transform: translateY(-50%); text-align: right; font: 400 14px/1.3 var(--sans); color: var(--ink); }
.tl__lvl, .tl__t { width: fit-content; margin-left: auto; background: var(--paper); padding: 1px 5px; }
.tl--right .tl__lvl, .tl--right .tl__t { margin-left: 0; }
.tl__lvl { display: block; font: 500 11px/1.3 var(--sans); color: var(--ink-3); letter-spacing: 0.02em; }
.tl__t { display: block; }
.tl--right { text-align: left; max-width: 240px; }
.tl--brain .tl__t { color: var(--ink-2); }
.tl--brain .red { font-weight: 600; }
@media (max-width: 639.98px) { .tl { font-size: 12px; } .tl__lvl { font-size: 10px; } }

/* The hero's tracked grains and their labels, set on the plate. */
.film__lines, .film__labels { display: none; }
.is-scrub .film__lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 3; }
.is-scrub .film__labels { display: block; position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.fl-line { stroke: #2C8CB0; stroke-width: 1; opacity: 0; }
.fl-dot { fill: none; stroke: var(--ink); stroke-width: 1.6; opacity: 0; transition: opacity .3s ease, fill .3s ease, stroke .3s ease, r .3s ease; }
.fl-dot.is-seen { opacity: 1; fill: var(--paper); }
.fl-dot.is-seen.is-on, .fl-dot.is-on { opacity: 1; fill: #2C8CB0; stroke: #2C8CB0; }
/* The callouts: a drafter's label, the name set on a fine ink rule with its icon, the leader running on from the rule. */
.fl { position: absolute; margin: 0; transform: translateY(-50%); display: flex; align-items: center; gap: 8px; font: 400 16px/1.25 var(--sans); color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--ink); padding: 3px 4px 6px 2px; max-width: 30%; opacity: 0; transition: opacity .45s ease .2s; }
.fl--r { padding: 3px 2px 6px 4px; }
.fl__i { flex: none; width: 17px; height: 17px; }
.fl__i--l { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.fl.is-on { opacity: 1; }
.film__plate.is-d .fl, .film__plate.is-d .fl-line, .film__plate.is-d .fl-dot { opacity: .3 !important; transition: opacity .4s ease; }
.is-scrub .callouts { display: none; }
@media (max-width: 899.98px) { .fl { font-size: 12.5px; gap: 5px; padding: 2px 2px 4px; max-width: 46%; white-space: nowrap; } .fl__i { width: 13px; height: 13px; } }

/* Hover: a block of hourglass blue behind each line of a headline or subheadline, the words reversed to paper. */
.hl { -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .1em; margin: 0 -.1em; transition: background-color .22s ease, color .22s ease; }
:is(.display, .h2, .h3, .lead, .stage__line, .person__name, .fig2__note--up):hover .hl { background-color: var(--blue); color: var(--paper); }
:is(.display, .h2, .h3, .lead, .stage__line):hover .hl :is(.red, .red-line) { color: var(--paper); }

/* The tower's labels and marks, and the sand figure's marks: a blue block behind on hover. */
.tl, .tlogo { pointer-events: auto; }
.tl__lvl, .tl__t, .tlogo, .fig2__tools li { transition: background-color .22s ease, color .22s ease; }
.tl:hover .tl__lvl, .tl:hover .tl__t { background: var(--blue); color: var(--paper); }
.tl:hover .red { color: var(--paper); }
.tlogo { position: absolute; transform: translate(-50%, -50%); box-sizing: content-box; padding: 8px; display: grid; place-items: center; background: var(--paper); }
.tlogo svg { display: block; width: 100%; height: 100%; fill: var(--ink); transition: fill .22s ease; }
.tlogo:hover { background: var(--blue); }
.tlogo:hover svg { fill: var(--paper); }
.fig2__tools li { padding: 8px 10px; margin: -8px auto; width: fit-content; }
.fig2__tools li svg { transition: fill .22s ease; }
.fig2__tools li:hover { background: var(--blue); }
.fig2__tools li:hover svg { fill: var(--paper); }
.fig2__tools li:hover span { color: var(--paper); }
@media (max-width: 639.98px) { .tlogo { padding: 5px; } }
.tower.is-brain .tl--brain .red { color: var(--blue); transition: color .22s ease; }
.tl--brain .red { transition: color .22s ease; }

/* Clients: one ruled row of logos in ink, and their comments, word for word, one at a time. */
.clients { padding-top: clamp(56px, 6vw, 88px); }
.clients__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: 22px 26px; }
.clients__label { grid-column: 1 / -1; grid-row: 1; margin: 0; font: 500 13px/1.3 var(--sans); color: var(--ink); padding-top: 9px; }
/* The logos and comments sit in the same span as the hero film above (its left edge is five twelfths across the
   viewport), ending on the text margin, set right. */
.clients__in { --film-left: calc((100vw - var(--sb)) * 5 / 12); }
.clients__logos, .clients__quote { grid-column: 1 / -1; margin-left: max(0px, calc(var(--film-left) - var(--edge))); }
.clients__logos { grid-row: 1; list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px 26px; }
.clients__logos li { padding: 7px 8px; margin: -7px -8px; transition: background-color .22s ease; }
.client-logo { display: block; border: 0; padding: 0; cursor: pointer; aspect-ratio: var(--ar); width: min(132px, calc(26px * var(--ar))); background-color: var(--ink-3); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; transition: background-color .22s ease; }
.client-logo.is-on { background-color: var(--ink); }
.clients__logos li:hover, .clients__logos li:focus-within { background: var(--blue); }
.clients__logos li:hover .client-logo, .clients__logos li:focus-within .client-logo { background-color: var(--paper); }
.client-logo:focus-visible { outline: none; }
.clients__quote { margin-top: 22px; margin-bottom: 0; margin-right: 0; min-height: 6.6em; text-align: right; transition: opacity .35s ease; }
.clients__quote.is-out { opacity: 0; }
.clients__quote blockquote { margin: 0; }
.clients__quote p { position: relative; margin: 0 0 0 auto; font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 24; font-weight: 380; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.4; color: var(--ink); max-width: 68ch; }
.clients__quote p::before { content: "\201C"; }
.clients__quote p::after { content: "\201D"; }
.clients__quote figcaption { margin-top: 10px; font: 400 13px/1.45 var(--sans); color: var(--ink-3); }
@media (max-width: 899.98px) {
  .clients__in { display: block; }
  .clients__label { padding: 0 0 16px; }
  .clients__logos { gap: 8px 18px; }
  .client-logo { width: min(104px, calc(20px * var(--ar))); }
  .clients__logos, .clients__quote { margin-left: 0; }
  .clients__logos { justify-content: flex-start; }
  .clients__quote { min-height: 9em; padding-left: .45em; text-align: left; }
  .clients__quote p { margin: 0; }
}

/* The cities: two prints side by side. Under the pointer one floor of one tower prints in blue. */
.cities { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col-gap); }
.city { position: relative; margin: 0; }
.city__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.city__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The city's name, small, under the photograph on the left; it takes the blue highlight while the photograph is hovered. */
.city__name { margin: 10px 0 0; font-family: var(--serif); font-variation-settings: "opsz" 24; font-weight: 400; font-size: 18px; line-height: 1.3; color: var(--ink); }
.city:hover .city__name .hl, .city:focus-within .city__name .hl { background-color: var(--blue); color: var(--paper); }
@media (max-width: 899.98px) { .cities { column-gap: 10px; } .city__name { font-size: 16px; margin-top: 8px; } }

/* The overview: a short film that wipes the drawing away, and the five things it shows. */
.sheet { position: relative; }
.ov-open { position: absolute; z-index: 4; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px 0 12px; border: 1px solid var(--ink); border-radius: 2px; background: var(--paper); color: var(--ink); font: 500 14px/1 var(--sans); cursor: pointer; transition: background-color .22s ease, color .22s ease, border-color .22s ease; }
.ov-open::before { content: ""; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; }
.ov-open:hover { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.sheet__draw { transition: clip-path .8s cubic-bezier(.6,0,.2,1); clip-path: inset(0 0 0 0); }
.sheet.is-ov .sheet__draw { clip-path: inset(0 0 0 100%); }
.sheet.is-ov .ov-open { visibility: hidden; }
.ov { position: absolute; inset: 0; z-index: 5; background: var(--paper); display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; row-gap: 12px; padding: clamp(20px, 3vw, 44px); clip-path: inset(0 100% 0 0); transition: clip-path .8s cubic-bezier(.6,0,.2,1) .05s; }
.ov[hidden] { display: grid; visibility: hidden; }
.sheet.is-ov .ov { clip-path: inset(0 0 0 0); visibility: visible; }
.sheet { transition: min-height .5s ease; }
.ov__plate { position: relative; aspect-ratio: 16 / 9; background: var(--paper-2); overflow: hidden; }
.ov__canvas, .ov__plate video, .ov__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ov__plate video { opacity: 0; pointer-events: none; }
.ov__plate.no-gl video { opacity: 1; filter: grayscale(1) contrast(1.1); }
[data-print="survey"] .ov__plate.no-gl video { object-fit: cover; object-position: top; filter: none; }   /* the smoothed tones fill the top of each survey frame */
.ov__lines { pointer-events: none; overflow: visible; z-index: 2; }
.ov__labels { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.ovl { position: absolute; margin: 0; max-width: 34%; background: var(--paper); padding: 11px 14px 12px; font: 400 15.5px/1.45 var(--sans); color: var(--ink-2); opacity: 0; transform: translateY(4px); transition: opacity .45s ease .25s, transform .45s ease .25s; }
.ovl.is-on { opacity: 1; transform: none; }
.ovl__t { display: block; margin-bottom: 4px; font-family: var(--serif); font-variation-settings: "opsz" 30; font-size: 25px; line-height: 1.2; color: var(--ink); }
.ov-line { fill: none; stroke: var(--blue); stroke-width: 1.2; transition: stroke-dashoffset .65s cubic-bezier(.3,.6,.2,1), opacity .3s ease; }
.ov-dot { fill: var(--blue); stroke: var(--paper); stroke-width: 1.6; opacity: 0; transition: opacity .3s ease; }
.ov-dot.is-on { opacity: 1; }
.ov__end { position: absolute; z-index: 3; left: 5%; top: 50%; transform: translateY(-50%); max-width: 30%; opacity: 0; pointer-events: none; transition: opacity .9s ease; }
.ov__end.is-on { opacity: 1; pointer-events: auto; }
.ov__tag { margin: 0; font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 370; font-size: clamp(26px, 2.9vw, 44px); line-height: 1.05; letter-spacing: -.018em; color: var(--ink); background: var(--paper); padding: 4px 8px 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; display: inline; }
.ov__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; }
.ov__links a, .ov__links button { font: 500 14px/1 var(--sans); color: var(--ink); background: var(--paper); border: 0; padding: 6px 8px; cursor: pointer; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .3em; }
.ov__links a:hover, .ov__links button:hover { background: var(--blue); color: var(--paper); text-decoration: none; }
.ov-close { justify-self: end; border: 0; background: none; padding: 6px 8px; margin-right: -8px; font: 500 14px/1 var(--sans); color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .3em; }
.ov-close:hover { background: var(--blue); color: var(--paper); text-decoration: none; }
.ov__cap { display: none; margin: 0; font: 400 14px/1.45 var(--sans); color: var(--ink-2); min-height: 4.4em; }
.ov__cap strong { font-weight: 600; color: var(--ink); }
@media (max-width: 899.98px) {
  .ov { padding: 14px; row-gap: 10px; }
  .ovl { padding: 5px 8px 6px; max-width: 50%; }
  .ovl__t { font-size: 16px; margin: 0; }
  .ovl__s { display: none; }
  .ov__cap { display: block; }
  .ov__end { left: 4%; max-width: 46%; }
  .ov__tag { font-size: 17px; padding: 2px 5px 3px; }
  .ov__links { margin-top: 8px; gap: 4px; }
  .ov__links a, .ov__links button { font-size: 11.5px; padding: 4px 5px; }
  .ov-close { justify-self: start; margin: 0 0 0 -8px; font-size: 13px; }
  .ov-open { top: 10px; right: 10px; min-height: 34px; font-size: 13px; }
}

/* Where it starts: two printed tallies of 100 hourglass marks; the share that applies fills blue on sight. */
.tallies { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; }
.tally { margin: 0; border-top: 1px solid var(--ink); padding-top: 26px; }
.tally:first-child { grid-column: 4 / span 4; }
.tally:last-child { grid-column: 9 / span 4; }
.tally__grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(4px, .6vw, 9px); max-width: 360px; margin-bottom: 26px; }
.tally__grid svg { display: block; width: 100%; height: auto; color: var(--rule); transition: color .25s ease; }
.tally__grid svg.is-on { color: var(--blue); }
.tally figcaption { font: 400 15px/1.5 var(--sans); color: var(--ink-2); max-width: 36ch; }
.tally__n { display: block; margin-bottom: 10px; font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 340; font-size: clamp(56px, 5.6vw, 88px); line-height: .9; letter-spacing: -.03em; color: var(--ink); }
.tally__n span { font-size: .36em; letter-spacing: -.01em; color: var(--ink-3); }
.tally sup { font: 500 11px/0 var(--sans); margin-left: 2px; }
.tally sup a { text-decoration: none; color: var(--ink-3); }
.moment__after { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: clamp(48px, 5vw, 72px); }
.moment__after .lead { grid-column: 4 / span 5; margin: 0; }
.moment__after p:last-child { grid-column: 9 / span 4; margin: 0; color: var(--ink-2); }
@media (max-width: 899.98px) {
  .tallies, .moment__after { display: block; }
  .tally { margin-bottom: 40px; }
  .tally__grid { max-width: 300px; }
  .moment__after p:last-child { margin-top: 16px; }
}
html:not(.js) .ov, html:not(.js) .ov-open { display: none; }
html:not(.js) .sheet.is-ov .sheet__draw { clip-path: none; }

/* ---- 10 October revisions ---- */

/* The film sits at the text width, with its section title directly above it, like a figure and its heading. */
.sheet { border: 0; }
.sheet__draw { padding-inline: 0; }
.ov { padding: 0 0 4px; row-gap: 14px; align-content: start; }
.ov__plate { width: 100%; background: var(--paper); }
.sec__head--fig { margin-bottom: 26px; }
#plan .sheet { margin-top: 0; }
/* A quiet control along the film's foot: play or pause, and a hairline that fills as it runs. */
.ov__ctl { display: flex; align-items: center; gap: 12px; margin-top: -4px; }
.ov__pp { flex: none; width: 24px; height: 28px; border: 0; padding: 0; display: grid; place-items: center start; background: none; cursor: pointer; }
.ov__pp-i { width: 10px; height: 11px; border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); }
.ov__pp.is-paused .ov__pp-i { width: 0; height: 0; border-right: 0; border-left: 10px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
@media (hover: hover) { .ov__pp:hover .ov__pp-i { border-left-color: var(--blue); border-right-color: var(--blue); } }
.ov__track { position: relative; flex: 1; height: 14px; cursor: pointer; }
.ov__track::before { content: ""; position: absolute; left: 0; right: 0; top: 6.5px; height: 1px; background: rgba(25, 24, 20, .3); }
.ov__prog { position: absolute; left: 0; top: 6px; height: 2px; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* The ending: the tagline as the hourglass appears, then the name, then the links. */
.ov__end { opacity: 1; pointer-events: none; }
.ov__end > * { opacity: 0; transform: translateY(6px); transition: opacity .8s ease, transform .8s ease; }
.ov__end.is-tag .ov__tag, .ov__end.is-brand .ov__brand, .ov__end.is-links .ov__links { opacity: 1; transform: none; }
.ov__end.is-links { pointer-events: auto; }
.ov__tag { display: block; background: none; padding: 0; }
.ov__brand { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; color: var(--ink); }
.ov__brand svg { width: 24px; height: 24px; }
.ov__brand span { font-family: var(--serif); font-variation-settings: "opsz" 24; font-weight: 460; font-size: 24px; letter-spacing: -.01em; line-height: 1; }
.ov__links { margin-top: 26px; }
.ov__links a, .ov__links button { background: none; padding: 6px 8px; margin-left: -8px; }
@media (max-width: 899.98px) { .ov__brand { margin-top: 10px; gap: 6px; } .ov__brand svg { width: 15px; height: 15px; } .ov__brand span { font-size: 15px; } .ov__links { margin-top: 8px; } .ov__ctl { gap: 8px; } .ov__pp { width: 22px; height: 22px; } }

/* What runs on it: two figures in the tally language. */
.runs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 64px; }
.run { margin: 0; border-top: 1px solid var(--ink); padding-top: 26px; }
.run:first-child { grid-column: 4 / span 4; }
.run:last-child { grid-column: 9 / span 4; }
.run__fig { margin-bottom: 28px; }
.run figcaption { display: block; }
.run__big { display: block; font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 340; font-size: clamp(44px, 4.2vw, 64px); line-height: .95; letter-spacing: -.025em; color: var(--ink); }
.run__line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 14px 0 12px; font: 500 15px/1.4 var(--sans); color: var(--ink); }
.run__txt { display: block; font: 400 15px/1.55 var(--sans); color: var(--ink-2); max-width: 40ch; }
.run__key { display: inline-block; width: 11px; height: 11px; border: 1.25px solid var(--blue); margin-left: 4px; }
.run__key--on { background: var(--blue); margin-left: 0; }
.spread { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(5px, .7vw, 10px); max-width: 360px; }
.spread svg, .week i { display: block; }
.spread svg { width: 100%; height: auto; color: var(--rule); transition: color .3s ease; }
.spread svg.is-on { color: var(--blue); }
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px 8px; max-width: 360px; }
.week__day { font: 500 11px/1 var(--sans); color: var(--ink-3); padding-bottom: 6px; }
.week i { height: clamp(12px, 1.3vw, 18px); border: 1px solid var(--rule); transition: background-color .3s ease, border-color .3s ease; }
.week i.is-range { border-color: var(--blue); }
.week i.is-on { background: var(--blue); border-color: var(--blue); }
@media (max-width: 899.98px) { .runs { display: block; } .run { margin-bottom: 48px; } }

/* Record: five results, counted up large, each with its own thin figure. */
.results { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: clamp(48px, 5vw, 72px); }
.res { margin: 0; grid-column: span 4; border-top: 1px solid var(--ink); padding-top: 22px; }
.res:nth-child(1) { grid-column: 4 / span 3; } .res:nth-child(2) { grid-column: 7 / span 3; } .res:nth-child(3) { grid-column: 10 / span 3; }
.res:nth-child(4) { grid-column: 4 / span 4; } .res:nth-child(5) { grid-column: 9 / span 4; }
.res__n { margin: 0; font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 330; font-size: clamp(64px, 6.6vw, 104px); line-height: .9; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.res__u { font-size: .42em; letter-spacing: -.01em; margin-left: .06em; }
.res[data-kind="bar"] .res__u { font-size: .62em; margin-left: 0; }
.res__viz { margin: 18px 0 16px; height: 14px; position: relative; }
.res__viz .rbar { position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--rule); }
.res__viz .rbar i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.res__viz .ticks { display: flex; gap: 5px; height: 14px; }
.res__viz .ticks i { flex: 1; max-width: 26px; border: 1px solid var(--rule); transition: background-color .25s ease, border-color .25s ease; }
.res__viz .ticks i.is-range { border-color: var(--blue); }
.res__viz .ticks i.is-on { background: var(--blue); border-color: var(--blue); }
.res figcaption { display: block; }
.res__what { display: block; font: 400 16px/1.45 var(--sans); color: var(--ink); max-width: 30ch; }
.res__who { display: block; margin-top: 10px; font: 400 13px/1.45 var(--sans); color: var(--ink-3); max-width: 34ch; }
@media (max-width: 1100px) { .res:nth-child(n) { grid-column: span 6; } .res:nth-child(1) { grid-column: 1 / span 6; } }
@media (max-width: 899.98px) { .results { display: block; } .res { margin-bottom: 40px; } }

/* Fees: one line through time. Each stage sits on it with its price; a blue arc carries the audit fee into the build. */
.feeline { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.feeline__svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.feeline__stages { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); }
.fst { position: relative; display: flex; flex-direction: column; padding-right: 12px; }
.fst__when { font: 500 12px/1.3 var(--sans); color: var(--ink-3); height: 30px; }
.fst__dot { display: block; width: 13px; height: 13px; margin: 0 0 22px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); position: relative; z-index: 1; transform: scale(0); transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.fst.is-on .fst__dot { transform: none; }
.fst__name { font-family: var(--serif); font-variation-settings: "opsz" 30; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.15; color: var(--ink-2); }
.fst__price { margin: 8px 0 12px; font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 340; font-size: clamp(30px, 3vw, 46px); line-height: 1; letter-spacing: -.025em; color: var(--ink); font-variant-numeric: lining-nums; }
.fst__note { font: 400 14px/1.5 var(--sans); color: var(--ink-2); max-width: 30ch; }
.fst, .feeline__credit { opacity: 0; transition: opacity .6s ease; }
.fst.is-on, .feeline__credit.is-on { opacity: 1; transform: none; }
.feeline__credit { grid-column: 1 / -1; position: relative; margin: 64px 0 0; font: 500 14px/1.4 var(--sans); color: var(--blue); }
.fl-rule { stroke: var(--ink); stroke-width: 1; fill: none; }
.fl-rule--on { stroke-dasharray: 3 5; }
.fl-arc { stroke: var(--blue); stroke-width: 1.5; fill: none; }
.fl-head { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fees__foot { margin: clamp(40px, 4vw, 56px) 0 0; padding-top: 18px; border-top: 1px solid var(--rule); font: 400 15px/1.5 var(--sans); color: var(--ink-2); }
.fees__g { font-weight: 600; color: var(--ink); margin-left: 6px; }
@media (max-width: 899.98px) {
  .feeline { display: block; }
  .feeline__stages { display: block; }
  .fst { margin-left: 7px; padding: 0 0 30px 24px; border-left: 1px solid var(--ink); }
  .fst:last-child { border-left-style: dashed; }
  .fst__when { height: auto; margin-bottom: 6px; }
  .fst__dot { position: absolute; left: -7px; top: 0; margin: 0; }
  .feeline__credit { margin-top: 6px; padding-left: 31px !important; }
}
@media (prefers-reduced-motion: reduce) { .fst, .feeline__credit { opacity: 1; transform: none; } .fst__dot { transform: none; } }
.ov__end { max-width: 22%; }
@media (max-width: 899.98px) { .ov__end { max-width: 40%; } }
.person__img .print__c { transition-duration: .6s; }
/* Whichever of the film and the drawing is showing sets the height; the other lies over it, wiped away. */
.sheet.is-ov .ov { position: relative; inset: auto; }
.sheet.is-ov .sheet__draw { position: absolute; left: 0; right: 0; top: 0; }

/* ---- The lead form (rendered by the platform's /site.js into [data-lead-form]) ---- */
[data-lead-form] { font: 400 16px/1.5 var(--sans); color: var(--ink); }
[data-lead-form] :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[data-lead-form] .progress { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
[data-lead-form] .progress__label { margin: 0; flex: none; font: 500 13px/1 var(--sans); color: var(--ink-3); }
[data-lead-form] .progress__bar { flex: 1; height: 1px; background: var(--rule); position: relative; }
[data-lead-form] .progress__fill { position: absolute; left: 0; top: -0.5px; height: 2px; background: var(--ink); transition: width .4s ease; }
[data-lead-form] .pathway__card { padding-top: 4px; }
[data-lead-form] .honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
[data-lead-form] .pathway__question { margin: 0 0 18px; font-family: var(--serif); font-variation-settings: "opsz" 36; font-weight: 400; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.2; letter-spacing: -0.012em; color: var(--ink); outline: none; }
[data-lead-form] .pathway__hint { margin: -8px 0 14px; font-size: 13px; color: var(--ink-3); }
[data-lead-form] .options { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--rule); }
[data-lead-form] .option { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; margin: 0; padding: 15px 12px 15px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; font: 400 17px/1.35 var(--sans); color: var(--ink); cursor: pointer; transition: background-color .2s ease, color .2s ease, padding .2s ease; }
[data-lead-form] .option__icon { flex: none; width: 14px; height: 14px; border: 1.25px solid var(--ink); border-radius: 50%; position: relative; }
[data-lead-form] .option__label { flex: 1; }
[data-lead-form] .option:hover { background: var(--blue); color: var(--paper); padding-left: 12px; }
[data-lead-form] .option:hover .option__icon { border-color: var(--paper); }
[data-lead-form] .option[aria-pressed="true"], [data-lead-form] .option[aria-checked="true"], [data-lead-form] .option.is-selected, [data-lead-form] .option[data-selected="true"] { color: var(--ink); }
[data-lead-form] .option[aria-pressed="true"] .option__icon, [data-lead-form] .option[aria-checked="true"] .option__icon, [data-lead-form] .option.is-selected .option__icon, [data-lead-form] .option[data-selected="true"] .option__icon { background: var(--ink); box-shadow: inset 0 0 0 3px var(--paper); }
/* Short answers sit as a row of boxes; longer ones as ruled rows (layout "tiles"). */
[data-lead-form] .options--boxes { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; border-top: 0; }
[data-lead-form] .options--boxes .option { border: 1px solid var(--rule); padding: 18px 14px; justify-content: flex-start; }
[data-lead-form] .options--boxes .option:hover { padding-left: 14px; }
[data-lead-form] .options--boxes .option__icon { display: none; }
[data-lead-form] .option__specify, [data-lead-form] .field__input { width: 100%; box-sizing: border-box; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; padding: 10px 0 9px; font: 400 18px/1.3 var(--sans); color: var(--ink); }
[data-lead-form] .field__input::placeholder, [data-lead-form] .option__specify::placeholder { color: var(--ink-3); opacity: 1; }
[data-lead-form] .field__input:focus { outline: none; border-bottom: 2px solid var(--blue); padding-bottom: 8px; }
[data-lead-form] .fields { display: grid; gap: 18px; }
[data-lead-form] .field { display: block; margin: 0; }
[data-lead-form] .field__label { display: block; font: 500 13px/1.3 var(--sans); color: var(--ink-2); margin-bottom: 2px; }
[data-lead-form] .field--error .field__input { border-bottom-color: var(--red); }
[data-lead-form] .field__error { display: block; margin-top: 6px; font-size: 13px; color: var(--red); }
[data-lead-form] .contact__consent { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
[data-lead-form] .contact__consent a { color: var(--ink-2); }
[data-lead-form] .pathway__nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; }
[data-lead-form] .btn--primary { min-height: 52px; padding: 0 24px; }
[data-lead-form] .btn--primary:disabled { opacity: .45; cursor: default; }
[data-lead-form] .btn--ghost { min-height: 0; padding: 6px 0; background: none; border: 0; color: var(--ink); font: 500 14px/1 var(--sans); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .3em; }
[data-lead-form] .btn--ghost:hover { background: var(--blue); color: var(--paper); text-decoration: none; padding-inline: 6px; margin-inline: -6px; }
[data-lead-form] .pathway__card--success h3, [data-lead-form] .pathway__card--success .pathway__question { margin-bottom: 10px; }
[data-lead-form] .pathway__success-body, [data-lead-form] .pathway__success-prompt { margin: 0 0 10px; font-size: 16px; color: var(--ink-2); }
[data-lead-form] .pathway__error { margin-top: 16px; padding: 12px 0; border-top: 1px solid var(--red); font-size: 14px; color: var(--ink); }
[data-lead-form] .pathway__error a { color: var(--ink); }
[data-lead-form] iframe { max-width: 100%; }
@media (max-width: 899.98px) { [data-lead-form] .option { font-size: 16px; } [data-lead-form] .options--boxes { grid-template-columns: repeat(2, 1fr); } }
[data-lead-form] .field + .field, [data-lead-form] .field { margin-bottom: 14px; }

/* The footer pages (tools/pages.py): a full-width plate in survey lines that prints blue on hover, then plain sections
   on the same grid as the brain page. */
.pplate { position: relative; margin: 0; aspect-ratio: 21 / 9; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--ink); }
.pplate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899.98px) { .pplate { aspect-ratio: 4 / 3; } }
.case { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); border-top: 1px solid var(--rule); padding-top: 32px; margin-top: 56px; }
.case__meta { grid-column: 1 / span 3; margin: 0; font: 500 13px/1.5 var(--sans); color: var(--ink); }
.case__body { grid-column: 4 / span 8; }
.case__h { margin: 0 0 12px; }
.case__intro { margin: 0; max-width: 62ch; font: 400 16px/1.6 var(--sans); color: var(--ink-2); }
.pfigs { display: flex; flex-wrap: wrap; gap: 24px 48px; margin: 30px 0 34px; }
.pfig { max-width: 15em; }
.pfig dt { font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 370; font-size: clamp(30px, 2.8vw, 44px); line-height: 1; letter-spacing: -0.015em; color: var(--ink); }
.pfig dd { margin: 10px 0 0; font: 400 14px/1.45 var(--sans); color: var(--ink-2); }
.case__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; border-top: 1px solid var(--rule); padding-top: 22px; }
.case__cols p, .case__steps { margin: 0; font: 400 15px/1.6 var(--sans); color: var(--ink-2); }
.case__k { margin: 0 0 10px !important; font: 500 13px/1.3 var(--sans) !important; color: var(--ink) !important; }
.case__steps { padding-left: 1.2em; }
.case__steps li + li { margin-top: 8px; }
.case__q { margin: 30px 0 0; padding-left: 20px; border-left: 1px solid var(--ink); }
.case__q p { margin: 0; max-width: 60ch; font-family: var(--serif); font-variation-settings: "opsz" 20; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: var(--ink); }
.case__q footer { margin-top: 10px; font: 400 13px/1.4 var(--sans); color: var(--ink-3); }
.pnote { margin: 56px 0 0; padding-top: 22px; border-top: 1px solid var(--rule); max-width: 70ch; font: 400 15px/1.6 var(--sans); color: var(--ink-2); }
.psteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--col-gap); counter-reset: ps; }
.psteps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
.psteps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.psteps li { counter-increment: ps; border-top: 1px solid var(--ink); padding-top: 16px; }
.psteps li::before { content: counter(ps, decimal-leading-zero); display: block; margin-bottom: 14px; font: 500 13px/1 var(--sans); color: var(--ink-3); }
.psteps__h { margin: 0 0 10px; font-family: var(--serif); font-variation-settings: "opsz" 30; font-weight: 420; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; }
.psteps li p { margin: 0; font: 400 15px/1.6 var(--sans); color: var(--ink-2); }
.pdata, .ptools { margin-top: 64px; padding-top: 22px; border-top: 4px double var(--ink); max-width: 70ch; }
.pdata .h3 { margin: 0 0 12px; }
.pdata p { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--ink-2); }
.ptools__list { margin: 0 0 22px; font-family: var(--serif); font-variation-settings: "opsz" 20; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: var(--ink); }
.sub .sec__head { margin-bottom: clamp(32px, 4vw, 56px); }
.sub .sec { padding-top: clamp(64px, 8vw, 112px); }
.sub .pplate + .sec { padding-top: clamp(48px, 6vw, 80px); }
.close .actions { margin-top: 28px; }
@media (max-width: 899.98px) {
  .case { display: block; }
  .case__meta { margin-bottom: 12px; }
  .case__cols, .psteps, .psteps--2, .psteps--3 { grid-template-columns: 1fr; row-gap: 26px; }
  .pfigs { gap: 20px 32px; }
}

/* Figures on the footer pages (site/figs.js adds .is-in when one is seen; .fx-on means it will animate). End states
   are the defaults, so without JS or with reduced motion every figure is simply drawn. */
.fx { margin: 0; }
.fx .m { display: block; width: 100%; height: auto; color: var(--blue); transition: color .35s ease var(--d, 0s); }
.fx .m.k { color: var(--ink); }
.fx .m.x { color: var(--rule); }
.fx-on .fx:not(.is-in) .m.b { color: var(--rule); }
.fx-on .fx:not(.is-in) .m.x { color: var(--ink); }
.fx .ln { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s cubic-bezier(.3,.6,.2,1) var(--d, 0s); }
.fx-on .fx:not(.is-in) .ln { stroke-dashoffset: 1; }
.fx .fa { transition: opacity .55s ease var(--d, 0s), transform .55s ease var(--d, 0s); }
.fx-on .fx:not(.is-in) .fa { opacity: 0; transform: translateY(6px); }
.fx .fbar { position: relative; height: 10px; background: none; }
.fx .fbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(var(--w, 1)); transition: transform 1.3s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.fx .fbar i.was { background: var(--ink-3); }
.fx .fbar i.rg { left: calc(var(--a) * 100%); width: calc((var(--b) - var(--a)) * 100%); transform: none; background: var(--blue); }
.fx-on .fx:not(.is-in) .fbar i { transform: scaleX(0); }
.fx-on .fx:not(.is-in) .fbar i.rg { opacity: 0; }
.fx .fbar i.rg { transition: opacity .8s ease var(--d, 0s); }
.fxsvg { display: block; width: 100%; height: auto; overflow: visible; }
.fxsvg text { font-family: var(--sans); font-size: 12px; fill: var(--ink-2); }
.fxsvg .t-ink { fill: var(--ink); }
.fxsvg .t-serif { font-family: var(--serif); font-size: 17px; fill: var(--ink); }
.fxsvg .t-b { fill: var(--blue); font-weight: 500; }
.fxsvg .s-ink { stroke: var(--ink); fill: none; stroke-width: 1; }
.fxsvg .s-rule { stroke: var(--rule); fill: none; stroke-width: 1; }
.fxsvg .s-blue { stroke: var(--blue); fill: none; stroke-width: 1.3; }
.fxsvg .f-paper { fill: var(--paper); }
.fxsvg .f-blue { fill: var(--blue); }
.fxsvg .f-ink { fill: var(--ink); }
/* A figure block: the number, the drawing, the words. */
.fxrow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--col-gap); margin: 34px 0 38px; }
.fxrow--1 { grid-template-columns: 1fr; }
.fxrow--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fxcell { border-top: 1px solid var(--ink); padding-top: 18px; }
.fxn { margin: 0 0 14px; font-family: var(--serif); font-variation-settings: "opsz" 72; font-weight: 340; font-size: clamp(44px, 4.2vw, 68px); line-height: .9; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.fxn small { font-size: .42em; letter-spacing: -.01em; color: var(--ink-3); margin-left: .08em; }
.fxcap { margin: 14px 0 0; font: 400 14px/1.5 var(--sans); color: var(--ink-2); max-width: 40ch; }
.fxcap b { font-weight: 500; color: var(--ink); }
.fxmarks { display: grid; grid-template-columns: repeat(var(--cols, 10), 1fr); gap: clamp(4px, .5vw, 8px); max-width: var(--mw, 420px); }
.fxrule { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 7px; border-top: 1px solid var(--ink); font: 500 11px/1 var(--sans); color: var(--ink-3); max-width: var(--mw, 420px); }
.fxbars { display: grid; gap: 12px; max-width: 460px; }
.fxbars p { margin: 0 0 5px; display: flex; justify-content: space-between; font: 400 13px/1.3 var(--sans); color: var(--ink-2); }
.fxbars p b { font-weight: 500; color: var(--ink); }
.fxbars .fbar { background: linear-gradient(var(--rule), var(--rule)) 0 50% / 100% 1px no-repeat; }
.fxweek { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px 8px; max-width: 320px; }
.fxweek span { font: 500 11px/1 var(--sans); color: var(--ink-3); padding-bottom: 6px; }
.fxweek i { display: block; height: 14px; border: 1px solid var(--rule); transition: background-color .3s ease var(--d, 0s), border-color .3s ease var(--d, 0s); }
.fxweek i.on { background: var(--blue); border-color: var(--blue); }
.fxweek i.rg { border-color: var(--blue); }
.fx-on .fx:not(.is-in) .fxweek i.on, .fx-on .fx:not(.is-in) .fxweek i.rg { background: none; border-color: var(--rule); }
.fxslots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 320px; }
.fxslots i { display: block; height: 30px; border: 1px solid var(--ink); position: relative; }
.fxslots i::after { content: ""; position: absolute; inset: 4px; background: var(--blue); transition: opacity .3s ease var(--d, 0s); }
.fx-on .fx:not(.is-in) .fxslots i::after { opacity: 0; }
/* The tables: ruled like a ledger, numbers right, a bar in the last column. */
.ptable { width: 100%; border-collapse: collapse; font: 400 14px/1.45 var(--sans); color: var(--ink-2); }
.ptable th { text-align: left; font: 500 12px/1.3 var(--sans); color: var(--ink-3); padding: 0 12px 10px 0; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.ptable td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ptable td:first-child { font-family: var(--serif); font-variation-settings: "opsz" 20; font-size: 18px; line-height: 1.3; color: var(--ink); }
.ptable td:first-child a { color: inherit; text-decoration: none; }
.ptable td:first-child a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ptable .pnum { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptable tfoot td { border-bottom: 0; border-top: 1px solid var(--ink); color: var(--ink); font-weight: 500; }
.ptable .fbar { height: 8px; min-width: 90px; }
.ptable tr.fa { transition-property: opacity, transform; }
.ptnote { margin: 12px 0 0; font: 400 12px/1.5 var(--sans); color: var(--ink-3); }
.ptwrap { overflow-x: auto; }
/* The matrix and the roadmap. */
.fxmatrix { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--col-gap); align-items: start; }
.fxorder { list-style: none; margin: 0; padding: 0; counter-reset: o; }
.fxorder li { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rule); font: 400 14px/1.35 var(--sans); color: var(--ink); }
.fxorder li b { font: 500 12px/1 var(--sans); color: var(--blue); }
.fxorder li span { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.fxgantt { display: grid; grid-template-columns: minmax(150px, 3fr) minmax(0, 9fr); gap: 0 18px; align-items: center; }
.fxgantt .ph { grid-column: 1 / -1; margin: 18px 0 6px; font: 500 12px/1.3 var(--sans); color: var(--ink); border-top: 1px solid var(--ink); padding-top: 10px; }
.fxgantt .ph:first-child { margin-top: 0; }
.fxgantt .nm { font: 400 14px/1.3 var(--sans); color: var(--ink-2); padding: 7px 0; }
.fxgantt .tr { position: relative; height: 14px; background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px calc(100% / 12)); }
.fxgantt .tr .fbar { position: absolute; top: 2px; height: 10px; left: calc(var(--s) / 12 * 100%); width: calc(var(--n) / 12 * 100%); }
.fxgantt .wk { grid-column: 2; position: relative; height: 14px; margin-top: 10px; font: 500 11px/1 var(--sans); color: var(--ink-3); }
.fxgantt .wk span { position: absolute; top: 0; white-space: nowrap; }
/* The tool spec, as a flow. */
.fxflow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--col-gap); }
.fxflow li { position: relative; border-top: 1px solid var(--ink); padding-top: 16px; }
.fxflow li::before { content: attr(data-k); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 14px; border: 1px solid var(--ink); font: 500 13px/1 var(--sans); color: var(--ink); }
.fxflow li:last-child::before { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.fxflow li:not(:last-child)::after { content: ""; position: absolute; top: -4px; right: calc(var(--col-gap) / -2 - 4px); width: 7px; height: 7px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); transform: rotate(45deg); background: var(--paper); }
.fxflow h4 { margin: 0 0 8px; font-family: var(--serif); font-variation-settings: "opsz" 30; font-weight: 420; font-size: 20px; line-height: 1.2; }
.fxflow p { margin: 0; font: 400 14px/1.55 var(--sans); color: var(--ink-2); }
.fxsub { margin: 64px 0 22px; font-family: var(--serif); font-variation-settings: "opsz" 30; font-weight: 420; font-size: clamp(22px, 1.8vw, 27px); line-height: 1.2; }
.fxsub small { display: block; margin-top: 8px; font: 400 15px/1.5 var(--sans); color: var(--ink-2); max-width: 62ch; }
.fxticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--col-gap); }
.fxticks li { border-top: 1px solid var(--ink); padding-top: 14px; font: 400 15px/1.45 var(--sans); color: var(--ink); }
.fxticks li svg { display: block; width: 18px; height: 18px; margin-bottom: 12px; color: var(--blue); }
.fxtags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.fxtags li { display: flex; align-items: center; gap: 8px; font: 400 15px/1.3 var(--sans); color: var(--ink-2); }
.fxtags li svg { width: 13px; height: 13px; color: var(--ink); flex: none; }
@media (max-width: 899.98px) {
  .fxrow, .fxrow--3, .fxmatrix, .fxflow, .fxticks { grid-template-columns: 1fr; row-gap: 30px; }
  .fxflow li:not(:last-child)::after { display: none; }
  .fxgantt { grid-template-columns: minmax(110px, 4fr) minmax(0, 8fr); }
  .ptable { font-size: 13px; }
  .ptable td:first-child { font-size: 16px; }
}
.fxk { margin: 0 0 8px; font: 500 11px/1 var(--sans); color: var(--ink-3); }
.fxk + .fxmarks + .fxk { margin-top: 16px; }
.psteps li .fxsvg { max-width: 260px; }
/* Phone versions of the wide drawings (tools/pages.py both()): one or the other shows. */
.fx.mob { display: none; }
@media (max-width: 899.98px) {
  .fx.dsk { display: none; }
  .fx.mob { display: block; max-width: 420px; }
  /* Tables on a phone: the summary keeps client and what changed; the return table drops its bar column. */
  .ptable--sum th:nth-child(2), .ptable--sum td:nth-child(2), .ptable--sum th:nth-child(3), .ptable--sum td:nth-child(3) { display: none; }
  .ptable--roi th:last-child, .ptable--roi td:last-child { display: none; }
  .ptable--roi th, .ptable--roi td { padding-right: 8px; }
  .ptable--roi { font-size: 12.5px; }
  .ptable--roi td:first-child { font-size: 15px; }
  .ov-close { margin-left: 0; padding-left: 0; }
}
@media (max-width: 899.98px) { .ptable--roi th { white-space: normal; } }

/* Privacy and terms: an entity panel and contents on the left, numbered sections on the right. */
.lg { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
.lg__side { grid-column: 1 / span 3; position: sticky; top: calc(var(--bar-h) + 24px); }
.lg__body { grid-column: 4 / span 7; }
.lg__ent { margin: 0 0 30px; border-top: 1px solid var(--ink); }
.lg__ent div { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.lg__ent dt { font: 500 12px/1.3 var(--sans); color: var(--ink-3); }
.lg__ent dd { margin: 4px 0 0; font: 400 14px/1.4 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.lg__ent a, .lg__body a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--rule); }
.lg__toc { list-style: none; margin: 0; padding: 0; }
.lg__toc li { padding: 5px 0; font: 400 14px/1.35 var(--sans); }
.lg__toc a { color: var(--ink-2); text-decoration: none; }
.lg__toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lg__s { border-top: 1px solid var(--rule); padding: 26px 0 8px; scroll-margin-top: calc(var(--bar-h) + 16px); }
.lg__s:first-child { border-top: 1px solid var(--ink); }
.lg__s .h3 { margin: 0 0 14px; }
.lg__s .h3 .lg__n { color: var(--ink-3); }
.lg__s p, .lg__s li { margin: 0 0 14px; max-width: 68ch; font: 400 16px/1.65 var(--sans); color: var(--ink-2); }
.lg__s ul { margin: 0 0 14px; padding-left: 1.2em; }
.lg__s li { margin-bottom: 8px; }
.lg__s b { font-weight: 500; color: var(--ink); }
.lg__close { margin: 28px 0 0; padding-top: 18px; border-top: 4px double var(--ink); font: 400 14px/1.5 var(--sans); color: var(--ink-3); }
@media (max-width: 899.98px) {
  .lg { display: block; }
  .lg__side { position: static; margin-bottom: 30px; }
  .lg__s p, .lg__s li { font-size: 15px; }
}
.lg__s .h3 { color: var(--ink); }
.sub main > .sec:first-child { padding-top: calc(var(--bar-h) + clamp(40px, 6vw, 88px)); }
