/* 30 · The ClearMile case study as a deck. The homepage's system (29): the same grounds, masthead, deck, type,
   device frames and motion language, copied here so this page stands on its own. Then the case study's eleven
   screens: the tile opened to the whole screen, the facts, the problem and the approach over one drawing that holds
   still and joins up, four captures, the nineteen days, how we could work together, and the close; then the footer
   strip, which is not a screen (../FOOTER.md).
   The base rules are the page with no script: every screen in normal flow, every word in place.
   Every screen is exactly one window tall at every size and in every orientation, so one flick always moves one
   screen: a phone on its side takes the desktop's arrangement (words beside pictures), which fits a short, wide
   window, instead of letting screens grow taller than the window (see ../ENGINE.md). The one exception is a window
   too small for either arrangement (under 560px wide and 520px or less tall, a phone app in split screen): there a
   screen grows to its content, so every word and link can still be reached. */

:root {
  --m: 16px;
  --gut: 12px;
  --mast: 56px;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --pt: calc(var(--mast) + var(--sat) + clamp(4px, 1.2svh, 12px));
  --pb: calc(clamp(16px, 2.6svh, 28px) + var(--sab));
  --ink: #161412;
  --ink-2: #5E574F;
  --bone: #F3EFE7;
  --paper: #FBF8F2;
  --night: #0E0D0C;
  --chalk: #F3EFE7;
  --chalk-2: #A9A196;
  --green: #4FB37E;
  --green-d: #1F7A4C;
  --navy: #081C2E;
  --cyan: #3AACD9;
  /* ClearMile's cyan, deepened so it reads as text and as a line on the light grounds (the scrolling version's value) */
  --cyan-d: #1A6E8E;
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-soft: cubic-bezier(.22, 1, .36, 1);
  --e-io: cubic-bezier(.65, 0, .35, 1);
  --e-in: cubic-bezier(.55, 0, .75, .3);
}
@media (min-width: 600px) and (max-width: 1023px) and (min-height: 521px) { :root { --m: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  overflow: hidden; background: var(--navy); color: var(--chalk);
  font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--bone); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- grounds: each screen sets its own colours ---------- */
.t-bone  { --bg: var(--bone); --fg: var(--ink); --fg2: var(--ink-2); --acc: var(--cyan-d); --rule: rgba(22, 20, 18, .16); }
.t-paper { --bg: var(--paper); --fg: var(--ink); --fg2: var(--ink-2); --acc: var(--cyan-d); --rule: rgba(22, 20, 18, .14); }
.t-navy  { --bg: var(--navy); --fg: var(--chalk); --fg2: var(--chalk-2); --acc: var(--cyan); --rule: rgba(243, 239, 231, .16); --bb: var(--chalk); --bf: var(--navy); --bh: var(--cyan); --bhf: var(--navy); }
.t-green { --bg: var(--green); --fg: var(--ink); --fg2: var(--ink); --acc: var(--ink); --rule: rgba(22, 20, 18, .28); --bb: var(--ink); --bf: var(--bone); --bh: var(--bone); --bhf: var(--ink); }

/* ---------- masthead: no bar of its own; it takes the colours of the screen beneath it ---------- */
.mast {
  position: fixed; z-index: 50; left: 0; right: 0; top: 0;
  height: calc(var(--mast) + var(--sat)); padding: var(--sat) var(--m) 0;
  display: flex; align-items: center; justify-content: space-between; pointer-events: none;
  color: var(--mast-fg, var(--chalk)); transition: color .5s ease;
}
html[data-mast="chalk"] { --mast-fg: var(--chalk); --mast-on: var(--navy); }
html[data-mast="ink"] { --mast-fg: var(--ink); --mast-on: var(--chalk); }
.mast > * { pointer-events: auto; }
.wm { font-family: var(--font-display); font-weight: 500; font-size: 1.4375rem; letter-spacing: -.02em; line-height: 1; padding: 10px 0; text-decoration: none; }
.wm .stop { color: var(--mast-stop, var(--green)); transition: color .5s ease; }
.mlink {
  position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid currentColor; font-weight: 500; font-size: .9375rem; text-decoration: none;
  transition: background-color .3s, color .3s;
}
@media (hover: hover) and (pointer: fine) { .mlink:hover { background: var(--mast-fg, var(--chalk)); color: var(--mast-on, var(--navy)); } }
/* How I work with you is a main page (NAV.md): it sits in the masthead on every screen, beside Book a call ("How I
   work" on phones and tablets, the full name on a desktop and on a phone on its side, which takes the desktop's
   arrangement), in the masthead's own colour, as the pill */
.mnav { display: flex; align-items: center; gap: clamp(14px, 4.2vw, 28px); }
.mtext {
  position: relative; display: inline-block; line-height: 40px; font-weight: 500; font-size: .9375rem;
  text-decoration: none; white-space: nowrap; transition: color .5s ease;
}
.mtext::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1.5px; background: currentColor; transform-origin: right center; transform: scaleX(0); transition: transform .5s var(--e-out); }
@media (hover: hover) and (pointer: fine) { .mtext:hover::after { transform-origin: left center; transform: none; } }
.mtext[aria-current="page"]::after { transform: none; }
.mlong { display: none; }
@media (min-width: 1024px), (min-width: 560px) and (max-height: 520px) { .mlong { display: inline; } }
@media (prefers-reduced-motion: reduce) { .mtext, .mtext::after { transition: none; } }

/* ---------- the deck ---------- */
.deck { position: relative; height: 100svh; overflow-x: hidden; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior-y: contain; scrollbar-width: none; }
.deck::-webkit-scrollbar { display: none; }
.scr {
  position: relative; height: 100svh; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always;
  display: flex; flex-direction: column; padding: var(--pt) var(--m) var(--pb);
  background: var(--bg); color: var(--fg);
}
.js.gliding .deck { scroll-snap-type: none; }
/* with no script the page itself scrolls and snaps, and the masthead stays with the first screen */
html:not(.js) { height: auto; overflow-y: auto; scroll-snap-type: y mandatory; }
html:not(.js) body { height: auto; overflow: visible; }
html:not(.js) .deck { height: auto; overflow: visible; scroll-snap-type: none; }
html:not(.js) .mast { position: absolute; }

/* ---------- type ---------- */
h1, .hx, .pn {
  font-family: var(--font-text); font-weight: 500; letter-spacing: -.035em; line-height: 1; text-wrap: balance;
}
.hx .acc, .hx .pd { color: var(--acc); }
/* a mark that follows the accent with no space (a colon) keeps to the accent's line, in the heading's own colour */
.nw { white-space: nowrap; }
.hx .wp, .pts .wp { color: var(--fg); }
.lab {
  display: flex; gap: 1.4em; font-family: var(--font-mono); font-size: .75rem; line-height: 1.4; letter-spacing: .06em;
  text-transform: uppercase; color: var(--fg2);
}

/* ---------- buttons and links ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--bb, var(--ink)); color: var(--bf, var(--bone)); font-weight: 500; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: color .4s ease;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--bh, var(--green-d)); transform: translate3d(0, 101%, 0); transition: transform .55s var(--e-out); }
.btn:focus-visible { outline-color: var(--fg); }
.arr { display: inline-block; transition: transform .5s var(--e-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--bhf, var(--bone)); }
  .btn:hover::before { transform: none; }
}

/* ---------- device frames around real captures, as the homepage draws them ---------- */
.dev { position: relative; }
.scrn { position: relative; overflow: hidden; background: #fff; }
.scrn img { display: block; width: 100%; height: auto; }
.ph { width: var(--pw, 240px); }
.ph .ph-in {
  padding: calc(var(--pw, 240px) * .032); border-radius: calc(var(--pw, 240px) * .15); background: #161412;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 1px 2px rgba(22, 20, 18, .12), 0 10px 22px -8px rgba(22, 20, 18, .28), 0 26px 44px -18px rgba(22, 20, 18, .3);
}
.ph .scrn { border-radius: calc(var(--pw, 240px) * .118); }
.br {
  border-radius: 10px; overflow: hidden; background: #FBF8F2;
  box-shadow: 0 1px 2px rgba(22, 20, 18, .1), 0 10px 22px -8px rgba(22, 20, 18, .22), 0 28px 48px -20px rgba(22, 20, 18, .28);
}
/* on the navy the frames carry a thin light rim so a dark capture never melts into the ground */
.t-navy .ph-in { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2), 0 0 0 1px rgba(0, 0, 0, .5), 0 28px 50px -18px rgba(0, 0, 0, .7); }
.t-navy .br { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 28px 50px -18px rgba(0, 0, 0, .6); }
.bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; background: #EFEBE3; border-bottom: 1px solid rgba(22, 20, 18, .08); }
.bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(22, 20, 18, .22); }
.dk.br { background: #0B1824; }
.dk .bar { background: #12212F; border-bottom-color: rgba(255, 255, 255, .06); }
.dk .bar i { background: rgba(255, 255, 255, .22); }
.dk .scrn, .did .ph .scrn { background: #141923; }
.pc { position: relative; }

/* the one small caption under the pictures, in the label's face */
.cap { font-family: var(--font-mono); font-size: .75rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--fg2); }

/* =====================================================================
   1 · The opening: the tile, opened. On a phone the name, the fact and the line across the top, the pictures below,
   the browser running off the far edge and the phone standing in front of it
   ===================================================================== */
.op { padding: 0; }
.op-t { position: relative; z-index: 2; padding: var(--pt) var(--m) 0; }
.eb { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .85em; row-gap: 2px; }
.pn { letter-spacing: -.02em; line-height: 1.1; color: var(--fg); }
.pn .pd { color: var(--acc); }
.op .pn { font-size: min(6.6vw, 3.6svh); }
.fact {
  font-family: var(--font-text); font-weight: 500; letter-spacing: -.045em; line-height: .9; color: var(--fg);
  font-kerning: normal; font-variant-ligatures: none;
}
.op .fact { margin-top: clamp(8px, 1.8svh, 18px); font-size: min(27vw, 12.6svh); }
.op .res { margin-top: clamp(10px, 2svh, 18px); font-size: clamp(16px, 2.15svh, 18px); line-height: 1.42; max-width: 21em; }
.op-p { position: relative; flex: 1 1 0; min-height: 0; margin-top: clamp(16px, 3.2svh, 32px); container-type: size; }
.op .pc { position: absolute; }
.op .pc-a { left: var(--m); top: 0; width: max(108cqw, calc((60cqh - 26px) / .625)); }
.op .pc-b { --pw: min(54cqw, calc(88cqh / 1.955)); right: calc(var(--m) * .6); bottom: calc(10cqh - 12px); }
.op .pc-b .scrn { aspect-ratio: 1170 / 2364; }

/* =====================================================================
   2 · The ledger (Adam's pick, 43a, 14 Nov 2026), ruled like a waybill: a heavy rule, the business, a fine rule, what
   I did, a fine rule, the result, and a heavy rule to close. The business in medium type (when, small, under it,
   where a deck has one); what I did, the hero, the disciplines set large, running on and wrapping, never inside a two
   word one, each closed by the accent full stop; the result, a large sentence with its key words in the accent. A mono
   label over each row on a phone, in columns 1 to 3 on a desktop. The rows share the room left over, the most of it
   going to what I did, so a short list still fills the screen calmly. The sizes come from the window, never the words
   (43a-crr-ledger/ledger.css), so every case study's screen looks the same
   ===================================================================== */
.facts { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; margin-top: clamp(8px, 2.4svh, 28px); }
.fr { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; gap: clamp(6px, 1.1svh, 12px); padding: clamp(10px, 2svh, 22px) 0 clamp(8px, 1.6svh, 18px); }
.fr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(243, 239, 231, .3); transform-origin: left center; }
.fr:first-child::before { height: 2px; background: var(--chalk); }
.facts::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--chalk); transform-origin: left center; }
.fr dt { font-family: var(--font-mono); font-size: .75rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--chalk-2); }
/* the business: medium type, the name and what it is in one sentence; when, small, under it */
.fr-cli { flex-grow: .8; }
.cli { font-size: clamp(1.0625rem, 3.2svh, 1.75rem); font-weight: 500; letter-spacing: -.012em; line-height: 1.22; text-wrap: balance; max-width: 22em; }
.when { margin-top: clamp(2px, .6svh, 6px); font-size: 1rem; line-height: 1.4; color: var(--fg2); }
/* what I did, the hero: sized for the longest list (six, with "Manufacturing") on a short phone, never for its own words */
.fr-dis { flex-grow: 1.25; }
.dis { font-size: min(13vw, 6.2svh); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.dis li { display: inline-block; white-space: nowrap; }
/* the result: a large sentence, its key words in the accent */
.say { font-size: clamp(1.3125rem, 3.9svh, 2rem); font-weight: 500; letter-spacing: -.016em; line-height: 1.18; text-wrap: balance; max-width: 20em; }
.fs .acc, .fs .pd { color: var(--acc); }
/* a short line under a row that says what the row cannot (Better Totes' maker) */
.note { margin-top: clamp(4px, 1.2svh, 12px); font-size: 1rem; line-height: 1.4; }

/* =====================================================================
   3 and 4 · The problem and the approach, over one drawing. The drawing is pinned: it holds still on the screen while
   the two screens of words pass under it, then lets go with the second. On a phone it sits across the top and the
   words below; on a desktop it stands on the right and the words on the left
   ===================================================================== */
/* the room for the drawing and its caption: on a phone, the full width, never more than about two fifths of the
   height (the drawing keeps five wide by four high, flattening a little on short phones so its labels keep their size) */
.jn { --mapH: min(clamp(200px, 42svh, 380px), calc(80vw + var(--capH))); --capH: 24px; }
.pin { position: sticky; top: 0; z-index: 3; height: 100svh; pointer-events: none; }
/* the first screen of words slides up under the pinned drawing, so the drawing's travel ends with the second */
.jx-1 { margin-top: -100svh; }
/* on a phone the words sit under the drawing, so the drawing stands on a band of its own paper: words leaving the
   problem pass cleanly under it, never between its boxes */
@media (max-width: 1023px) and (min-height: 521px), (max-width: 559px) and (max-height: 520px) {
  .pin::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--pt) + var(--mapH) + 8px); background: var(--paper); }
}
.map {
  --dA: calc(var(--mapH) - var(--capH)); --dW: min(100vw, calc(var(--dA) * 1.9)); --dH: min(var(--dA), calc(var(--dW) * .8));
  position: absolute; left: 0; right: 0; top: var(--pt); height: var(--mapH); display: flex; flex-direction: column; align-items: center; color: var(--ink);
}
.jx { padding-top: calc(var(--pt) + var(--mapH) + clamp(14px, 3svh, 34px)); }
.jx .hx { margin-top: clamp(6px, 1.2svh, 12px); font-size: min(7.4vw, 3.9svh); line-height: 1.04; }
.jx .body { margin-top: clamp(10px, 1.8svh, 18px); font-size: clamp(16px, 2.05svh, 18px); line-height: 1.5; max-width: 34em; }
.jx-2 .hx { font-size: min(10.4vw, 5.2svh); }
.jx-2 .body { font-size: clamp(16px, 2.3svh, 20px); }

/* ---------- the drawing: five tools, then one place (as 31) ----------
   Across, everything is measured in hundredths of the drawing's width (cqw); down, in eightieths of its height
   (1.25cqh), so at five wide by four high a unit is the same both ways. Each tool sits where it stands apart (--x, --y);
   joined up, it moves by (--dx, --dy) into a column inside one frame */
.draw { position: relative; flex: 0 0 auto; width: var(--dW); height: var(--dH); container-type: size; }
.tool {
  position: absolute; z-index: 3; left: calc(var(--x) * 1cqw); top: calc(var(--y) * 1.25cqh); width: 38cqw; height: 13.75cqh;
  display: flex; align-items: center; gap: 2cqw; padding: 0 2.6cqw; border-radius: 1.8cqw;
  background: var(--paper); border: 1.5px solid rgba(22, 20, 18, .82); color: var(--ink);
}
.tn { font-family: var(--font-mono); font-size: clamp(12px, 2.3cqw, 15px); letter-spacing: .06em; color: var(--ink-2); }
.tlb { font-weight: 500; font-size: clamp(13px, 3.5cqw, 23px); letter-spacing: -.01em; line-height: 1.1; white-space: nowrap; }
.jn.joined .tool { transform: translate3d(calc(var(--dx) * 1cqw), calc(var(--dy) * 1.25cqh), 0); }
/* the place they join into: a plain frame with its name at the top (the drawing is not a screen) */
.frame {
  position: absolute; z-index: 1; left: 19cqw; top: 1.875cqh; width: 62cqw; height: 96.25cqh;
  border: 1.5px solid var(--ink); border-radius: 2.4cqw; opacity: 0; transform: scale(.96);
}
.fr-t { display: flex; align-items: center; height: 10cqh; padding: 0 3cqw; font-weight: 500; font-size: clamp(13px, 3.2cqw, 21px); letter-spacing: -.01em; line-height: 1; }
.jn.in.joined .frame { opacity: 1; transform: none; }
/* the hand offs between the tools (dashed, never quite touching); joined up, one cyan line runs down the frame and
   reaches each tool */
.lines { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; }
.lines line { fill: none; stroke-width: 1.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.con line { stroke: var(--ink-2); stroke-dasharray: 4 5; }
.spine { position: absolute; z-index: 2; left: 25.5cqw; top: 20.625cqh; width: 1.5px; height: 68.75cqh; margin-left: -.75px; background: var(--cyan-d); transform: scaleY(0); transform-origin: 50% 0; }
.knot { position: absolute; z-index: 2; left: 25.5cqw; top: calc(22.5cqh + var(--i) * 16.25cqh); width: 6.5cqw; height: 1.5px; margin-top: -.75px; background: var(--cyan-d); transform: scaleX(0); transform-origin: 0 50%; }
.knot::after { content: ""; position: absolute; left: -1.2cqw; top: -1.2cqw; width: 2.4cqw; height: 2.4cqw; margin-top: .75px; border-radius: 50%; background: var(--cyan-d); }
.jn.in.joined .spine, .jn.in.joined .knot { transform: none; }
.drawn {
  width: var(--dW); margin-top: 6px; padding: 0 var(--m); font-family: var(--font-mono); font-size: .75rem; line-height: 1.4; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-2);
}

/* =====================================================================
   5 to 8 · What I did: the words across the top, the capture under them, as big as the width allows. A phone
   capture that is taller than the room left runs off the foot of the screen, as the homepage's phones do
   ===================================================================== */
.did { padding-bottom: 0; }
.did-t { flex: 0 0 auto; }
.did .hx { margin-top: clamp(6px, 1.2svh, 12px); font-size: min(7.6vw, 3.9svh); line-height: 1.04; }
.did-p { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 1.4svh, 12px); margin-top: clamp(12px, 2.2svh, 22px); }
.did-p .cap { align-self: stretch; }
.did-p .ph { --pw: min(76vw, 300px); flex: 0 0 auto; }
.au-d { display: none; }
/* the worklist is a part of a screen, not a whole one: no frame, its own rounded edge, on the navy */
.card { width: 100%; border-radius: 14px; overflow: hidden; background: #161B26; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 28px 50px -18px rgba(0, 0, 0, .7); }
.card img { width: 100%; height: auto; }
.did-wl { padding-bottom: var(--pb); }
.did-wl .hx { font-size: min(10.4vw, 5.2svh); }
/* on a phone the worklist grows with the room left under its words, running off the right edge as the opening's
   browser does, never so far that its rows stop reading; what room is left over is shared above and below it */
@media (max-width: 1023px) and (min-height: 521px), (max-width: 559px) and (max-height: 520px) {
  .did-wl .did-p { flex: 1 1 0; min-height: 0; margin-top: clamp(14px, 2.6svh, 28px); align-items: flex-start; justify-content: center; container-type: size; }
  .did-wl .card { flex: 0 0 auto; width: min(140cqw, calc((100cqh - 30px) * 1.2135)); }
}

/* =====================================================================
   9 · The result and working together: the words, then the nineteen days as a run of days, start to soft launch
   ===================================================================== */
.wt .hx { margin-top: clamp(6px, 1.2svh, 12px); font-size: min(10vw, 5.2svh); line-height: 1.02; }
.wt .body { margin-top: clamp(10px, 1.8svh, 18px); font-size: clamp(16px, 2.1svh, 19px); line-height: 1.45; max-width: 26em; }
.run { margin-top: auto; padding-top: clamp(16px, 3svh, 32px); }
.wt .fact { font-size: min(42vw, 20svh); }
/* twenty marks, one for each day from the start to the soft launch: nineteen days between them; the two ends stand taller */
.days { position: relative; height: clamp(34px, 5.6svh, 56px); margin-top: clamp(14px, 2.6svh, 26px); }
.days::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform-origin: left center; }
.days i { position: absolute; bottom: 0; left: calc(var(--k) / 19 * (100% - 2px)); width: 2px; height: 46%; background: var(--cyan-d); transform-origin: center bottom; }
.days i:first-child, .days i:last-child { height: 100%; background: var(--ink); }
.ends { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(10px, 1.6svh, 14px); }
.end { display: flex; flex-direction: column; gap: 2px; }
.end:last-child { text-align: right; }
.end-l { font-family: var(--font-mono); font-size: .75rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.end-v { font-size: clamp(1.125rem, 2.6svh, 1.375rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.2; }

/* =====================================================================
   10 · How we could work together: the heading, then three ruled points, each sharing out the height
   ===================================================================== */
.ws-h { font-size: min(9.6vw, 5svh); line-height: 1.02; max-width: 11em; padding-top: clamp(2px, 1svh, 10px); }
.pts { flex: 1 1 auto; display: flex; flex-direction: column; margin-top: clamp(14px, 3svh, 32px); }
.pts li { position: relative; flex: 1 1 0; display: grid; grid-template-columns: 2.4em minmax(0, 1fr); align-content: center; padding: clamp(12px, 2.2svh, 24px) 0; }
.pts li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(243, 239, 231, .28); transform-origin: left center; }
.pts .n { padding-top: .55em; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; color: var(--acc); }
.pts p { font-size: min(6vw, 3.3svh); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; max-width: 24em; text-wrap: pretty; }
.pts .acc { color: var(--acc); }

/* =====================================================================
   11 · The close (44a, One line, Adam's pick, 14 Nov 2026): the question and the ways in as one group, the ways in
   straight under the question (the button, one line of text links, the note for agencies), the group set a little
   below the middle of the screen (a touch more room above it than below). Nothing else on it
   ===================================================================== */
.bk::before, .bk::after { content: ""; flex: 1 1 0; }
.bk::before { flex-grow: 1.3; }
.bk .hx { font-size: min(13.6vw, 7.2svh); line-height: 1; }
.ways { display: flex; flex-direction: column; padding-top: clamp(32px, 5svh, 48px); }
.ways .btn { min-height: clamp(52px, 7.4svh, 64px); font-size: 1.0625rem; }
.alt { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; margin-top: clamp(6px, 1.2svh, 12px); }
.alt a {
  display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(1.0625rem, 2.3svh, 1.25rem); font-weight: 500; letter-spacing: -.012em;
  text-decoration: underline; text-underline-offset: .24em; text-decoration-thickness: 1.5px;
}
.alt .dot { font-weight: 500; }
.ways-note { margin-top: 2px; font-size: 1rem; line-height: 1.4; }
@media (hover: hover) and (pointer: fine) { .alt a:hover { text-decoration-thickness: 2.5px; } }
/* a tall phone: the note a size up */
@media (max-width: 599px) and (min-height: 800px) { .ways-note { font-size: 1.125rem; } }

/* =====================================================================
   The footer strip (../FOOTER.md): not a screen. A short strip after the close, on the same green, one hairline at
   its top, snapped by its end, so one more move from the close shows it under the close and one back returns.
   "Adam ships." in the wordmark's face, its full stop the deep green that reads on the green; then How I work with
   you, Privacy and the copyright. Two short lines on a phone, one line on a desktop. While it is in view the
   masthead stands on a band of the close's green (html.at-foot, set by the script), so the question slides under a
   clean bar instead of through the wordmark and the links
   ===================================================================== */
.foot { scroll-snap-align: end; padding: 0 var(--m) var(--sab); background: var(--green); color: var(--ink); }
.foot-in {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 20px;
  padding: clamp(18px, 2.8svh, 26px) 0 clamp(8px, 1.4svh, 14px); border-top: 1px solid rgba(22, 20, 18, .3);
}
.ships {
  flex: 1 0 100%; padding-bottom: .04em; font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 4.6svh, 40px);
  letter-spacing: -.02em; line-height: 1; white-space: nowrap;
}
.ships .stop { display: inline-block; color: #0B3D24; }
/* the links carry no underline (they sit in a list, not in a sentence): one on hover or focus */
.legal { flex: 1 0 100%; display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; margin-top: 2px; }
.legal li { font-size: 1.0625rem; }
.legal a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; text-underline-offset: .26em; text-decoration-thickness: 1px; }
.legal .copy { margin-left: auto; }
@media (hover: hover) and (pointer: fine) { .legal a:hover { text-decoration: underline; } }
.legal a:focus-visible { text-decoration: underline; }
.foot :focus-visible { outline-color: var(--ink); }
/* a narrow phone: the two links and the copyright still on one line */
@media (max-width: 379px) { .legal { column-gap: 16px; } .legal li { font-size: 1rem; } }
.at-foot .mast { background: var(--green); }
/* a finger put down on the strip: until the deck rests, the close and the strip are the only stops, so a flick back
   lands on the close and never runs on past it (cm.js) */

.dip { position: fixed; inset: 0; z-index: 70; opacity: 0; pointer-events: none; background: var(--dip, var(--night)); transition: opacity .2s ease; }
.dip.on { opacity: 1; }

/* =====================================================================
   Short phones: a little less of everything, so nothing is cut off
   ===================================================================== */
@media (max-width: 599px) and (max-height: 740px) and (min-height: 521px), (max-width: 559px) and (max-height: 520px) {
  .jn { --mapH: 34svh; }
  .jx .body { font-size: 16px; line-height: 1.45; }
  .jx .hx { font-size: min(7vw, 3.9svh); }
  /* the approach has only a short line under its heading: the heading takes the room left under the drawing */
  .jx-2 .hx { font-size: min(10.4vw, calc((100svh - var(--pt) - var(--mapH) - var(--pb)) * .13)); }
  .op .res { max-width: none; }
  /* the close: the note closer under the links */
  .ways-note { margin-top: 0; }
}
/* a short phone in its browser (an iPhone SE in Safari, 375x548; a small Android, 360x560): the strip a little
   tighter and the close's group a touch lower, so with the strip showing the question's first line still clears the
   masthead's band rather than being clipped along its top */
@media (max-width: 559px) and (min-height: 521px) and (max-height: 600px) {
  .bk::before { flex-grow: 1.6; }
  .foot-in { padding-top: 12px; padding-bottom: 4px; }
  .ships { font-size: 28px; }
  .legal { margin-top: 0; }
}

/* =====================================================================
   Desktop, and a phone on its side: a short, wide window takes the same arrangement, the words beside the pictures
   ===================================================================== */
@media (min-width: 1024px), (min-width: 560px) and (max-height: 520px) {
  :root { --m: clamp(32px, 3.4vw, 56px); --gut: clamp(16px, 1.67vw, 24px); --mast: 64px; --pt: calc(var(--mast) + clamp(8px, 2svh, 24px)); --pb: clamp(24px, 4.4svh, 48px); }
  body { font-size: 1.125rem; }
  .scr { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-content: start; }
  .btn { min-height: 58px; padding: 0 32px; font-size: 1.0625rem; }
  .lab, .cap { font-size: .78125rem; }

  /* 1 · the opening: the name, the fact on two lines and the line down the left, as the tile on a phone; the browser
     on the right running off the far edge, the phone standing in front of it and running off the foot */
  .op { grid-template-rows: minmax(0, 1fr); padding: 0 var(--m); }
  .op-t { grid-column: 1 / 6; grid-row: 1; display: flex; flex-direction: column; justify-content: center; padding: var(--pt) 0 var(--pb); }
  .op .pn { font-size: clamp(1.5rem, 3.4svh, 2.125rem); }
  .op .fact { margin-top: clamp(10px, 2.4svh, 26px); font-size: min(15vw, 25svh); }
  .op .fact .fl { display: block; }
  .op .res { margin-top: clamp(16px, 3.4svh, 34px); font-size: clamp(1.125rem, 2.6svh, 1.4375rem); max-width: 19em; }
  .op-p { grid-column: 6 / 13; grid-row: 1; margin: 0 calc(var(--m) * -1) 0 0; }
  .op .pc-a { left: 0; top: max(var(--pt), 14cqh); width: max(104cqw, 760px); }
  .op .pc-b { --pw: min(31cqw, 44cqh, 330px); right: max(calc(var(--m) + 2cqw), 6cqw); bottom: auto; top: max(30cqh, calc(100cqh - var(--pw) * 1.955 * .86)); }

  /* 2 · the ledger: the label on the left (columns 1 to 3), on the line of its words; the words in columns 4 to 12.
     One line of business on a wide screen, so its row takes less of the room left over */
  .fs { display: flex; flex-direction: column; padding-bottom: var(--pb); }
  .facts { margin-top: clamp(12px, 3svh, 36px); }
  .fr { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-content: start; align-items: baseline; padding: clamp(16px, 2.6svh, 28px) 0; }
  .fr dt { grid-column: 1 / 4; font-size: .8125rem; }
  .fr dd { grid-column: 4 / 13; }
  .fr-cli { flex-grow: .45; }
  .fr-dis { flex-grow: 1.4; }
  .cli { font-size: clamp(1.25rem, min(1.9vw, 3.1svh), 1.875rem); max-width: 30em; }
  .when { font-size: clamp(1.0625rem, 2.1svh, 1.25rem); }
  .say { font-size: clamp(1.5rem, min(3vw, 4.8svh), 3rem); line-height: 1.12; max-width: 21em; }
  .dis { font-size: min(6.6vw, 10svh); }
  .note { font-size: clamp(1.0625rem, 2.2svh, 1.25rem); }

  /* 3 and 4 · the words on the left, the drawing standing on the right, the same place on both screens */
  .map {
    --A: calc(100svh - var(--pt) - var(--pb)); --dW: min(calc((100vw - 2 * var(--m)) * .45), calc((var(--A) - var(--capH)) * 1.25)); --dH: calc(var(--dW) * .8);
    left: auto; right: var(--m); width: var(--dW); height: calc(var(--dH) + var(--capH)); top: calc(var(--pt) + (var(--A) - var(--dH) - var(--capH)) / 2);
  }
  .drawn { padding: 0; }
  .jx { padding-top: var(--pt); align-content: center; }
  .jx-t { grid-column: 1 / 7; }
  .jx .hx { font-size: min(4.3vw, 7.4svh); }
  .jx-2 .hx { font-size: min(4.9vw, 8.4svh); }
  .jx .body { font-size: clamp(1.125rem, 2.4svh, 1.3125rem); max-width: 30em; margin-top: clamp(16px, 3svh, 30px); }
  .jx .lab { margin-bottom: clamp(4px, 1svh, 10px); }

  /* 5 to 8 · the words on the left, the capture on the right, whole */
  .did { grid-template-rows: minmax(0, 1fr); padding-bottom: var(--pb); align-items: center; }
  .did-t { grid-column: 1 / 7; grid-row: 1; padding-bottom: clamp(0px, 4svh, 48px); }
  .did .hx { font-size: min(4vw, 6.8svh); }
  .did-p { grid-column: 7 / 13; grid-row: 1; height: 100%; margin: 0; justify-content: center; container-type: size; }
  .did-p .cap { order: 2; align-self: center; }
  .did-p .ph { --pw: min(calc((100cqh - 40px) / 2.09), 380px); }
  .did-wl .hx { font-size: min(3.8vw, 6.4svh); }
  .did-au .hx { font-size: min(3.3vw, 5.8svh); }
  .did-wl .did-t { grid-column: 1 / 6; }
  .did-au .did-t { grid-column: 1 / 5; }
  .did-wl .did-p { grid-column: 6 / 13; margin: 0; padding: 0; }
  .card { width: min(100cqw, calc((100cqh - 40px) * 1.2135)); }
  .did-au .did-p { grid-column: 5 / 13; }
  .au-d { display: block; width: min(100cqw, calc((100cqh - 66px) * 1.6)); }
  .au-m { display: none; }

  /* 9 · the words across the top, the nineteen days across the foot */
  .wt { padding-bottom: var(--pb); grid-template-rows: auto minmax(0, 1fr); }
  .wt-t { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: end; }
  .wt-t .lab { grid-column: 1 / 13; }
  .wt .hx { grid-column: 1 / 9; font-size: min(6vw, 10svh); }
  .days { height: clamp(40px, 7svh, 72px); }
  .wt .body { grid-column: 9 / 13; font-size: clamp(1.125rem, 2.4svh, 1.375rem); padding-bottom: .35em; }
  .run { grid-column: 1 / 13; align-self: end; }
  .wt .fact { font-size: min(18vw, 29svh); }
  .wt .fact .fl { display: inline; }
  .end-v { font-size: clamp(1.25rem, 2.8svh, 1.625rem); }

  /* 10 · how we could work together: the heading across the top, then one ruled line to a point, its number on the
     left */
  .ws { grid-template-rows: auto minmax(0, 1fr); padding-bottom: var(--pb); }
  .ws-h { grid-column: 1 / 13; font-size: min(5vw, 8.4svh); max-width: 12em; }
  .pts { grid-column: 1 / 13; margin-top: clamp(16px, 3.4svh, 40px); }
  .pts li { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-content: center; align-items: baseline; padding: clamp(14px, 2.4svh, 26px) 0; }
  .pts .n { grid-column: 1 / 2; padding: 0; font-size: .875rem; }
  .pts p { grid-column: 2 / 11; font-size: min(2.6vw, 4.6svh); line-height: 1.16; letter-spacing: -.025em; max-width: 22em; }

  /* 11 · the close: the question large on the left, the ways in on one line straight under it (the button, the two
     links, the note for agencies), the group a little below the middle */
  .bk { display: flex; flex-direction: column; padding-bottom: clamp(28px, 5svh, 56px); }
  .bk .hx { font-size: min(6.6vw, 11.2svh); line-height: .98; max-width: 10em; }
  .ways { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: clamp(24px, 2.4vw, 40px); padding-top: clamp(40px, 6svh, 56px); }
  .ways .btn { min-height: 58px; }
  .alt { margin: 0; column-gap: 12px; }
  .alt a { font-size: clamp(1.125rem, 2.4svh, 1.3125rem); }
  .ways-note { margin: 0 0 0 clamp(8px, 1vw, 16px); font-size: 1.0625rem; }

  /* the footer strip: one line, "Adam ships." on the left; How I work with you, Privacy and the copyright on the
     right */
  .foot-in { flex-wrap: nowrap; column-gap: clamp(20px, 2vw, 32px); padding: clamp(22px, 3.4svh, 34px) 0 clamp(20px, 3svh, 30px); }
  .ships { flex: 0 0 auto; font-size: clamp(30px, 4.4svh, 40px); }
  .legal { flex: 0 1 auto; margin: 0 0 0 auto; column-gap: clamp(20px, 2.2vw, 36px); }
  .legal .copy { margin-left: 0; }
}

/* =====================================================================
   Tablets: the phone's layouts, with more room
   ===================================================================== */
@media (min-width: 600px) and (max-width: 1023px) and (min-height: 521px) {
  .op .fact { font-size: min(20vw, 14svh); }
  .op .pn { font-size: min(4vw, 3.4svh); }
  .op .res { font-size: 19px; }
  .op .pc-b { --pw: min(34cqw, calc(88cqh / 1.955)); right: calc(var(--m) * 1.5); }
  .cli { font-size: clamp(1.375rem, 2.6svh, 1.75rem); }
  .when { font-size: 1.125rem; }
  .say { font-size: clamp(1.5rem, 3svh, 2.125rem); line-height: 1.16; }
  .dis { font-size: min(9vw, 6.4svh); }
  .note { font-size: 1.125rem; }
  .did-p .ph { --pw: min(46vw, 340px); }
  .jx .hx, .did .hx { font-size: min(5.6vw, 4.6svh); }
  .jx-2 .hx { font-size: min(7.4vw, calc((100svh - var(--pt) - var(--mapH) - var(--pb)) * .13)); }
  /* a tablet has the height for the drawing at five wide by four high */
  .jn { --mapH: clamp(200px, 44svh, 520px); }
  .map { --dW: min(calc(100vw - 2 * var(--m)), calc(var(--dA) * 1.25)); }
  .pts p { font-size: min(4.4vw, 3.6svh); }
  .ws-h { font-size: min(7.4vw, 6svh); }
  .bk .hx { font-size: min(7vw, 6svh); }
  .ways .btn { align-self: flex-start; }
}

/* =====================================================================
   A phone on its side, or any window under 521px tall and 560px or more wide: the desktop's arrangement (above), sized
   to the short window. No screen grows taller than the window, so one flick always moves one screen and nothing is
   cut off. The side margins clear the notch of a phone on its side
   ===================================================================== */
@media (min-width: 560px) and (max-height: 520px) {
  :root {
    --m: max(clamp(24px, 3.2vw, 48px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    --gut: 16px; --mast: 48px; --pt: calc(var(--mast) + var(--sat) + 6px); --pb: calc(14px + var(--sab));
  }
  body { font-size: 1rem; }
  .wm { font-size: 1.3125rem; }
  .mlink { min-height: 36px; padding: 0 14px; font-size: .875rem; }
  .lab, .cap { font-size: .75rem; }

  /* 1 · the opening: the fact on one line, the pictures a little smaller */
  .op-t { grid-column: 1 / 7; }
  .op .pn { font-size: clamp(1.25rem, 5.6svh, 1.75rem); }
  .op .fact { margin-top: clamp(4px, 1.6svh, 10px); font-size: min(9.4vw, 20svh); }
  .op .res { margin-top: clamp(8px, 2.6svh, 14px); font-size: clamp(1rem, 4.6svh, 1.25rem); max-width: 19em; }
  .op-p { grid-column: 7 / 13; }
  .op .pc-a { top: var(--pt); width: max(118cqw, 480px); }
  .op .pc-b { --pw: min(34cqw, 50cqh, 220px); right: max(var(--m), 7cqw); top: max(26cqh, calc(var(--pt) + 40px)); }

  /* 2 · the ledger: the short window has the width, so the words run wider and smaller */
  .facts { margin-top: clamp(4px, 1.6svh, 10px); }
  .fr { padding: clamp(6px, 2svh, 12px) 0; }
  .cli { font-size: clamp(1rem, 4.4svh, 1.1875rem); }
  .when { font-size: 1rem; }
  .say { font-size: clamp(1rem, 4.6svh, 1.25rem); line-height: 1.2; max-width: 32em; }
  .dis { font-size: min(5vw, 9.4svh); }
  .note { font-size: 1rem; margin-top: 2px; }

  /* 3 and 4 · the drawing keeps every tool's name inside its box: it flattens a little rather than narrow */
  .map {
    --dW: min(calc((100vw - 2 * var(--m)) * .47), max(330px, calc((var(--A) - var(--capH)) * 1.25)));
    --dH: min(calc(var(--dW) * .8), calc(var(--A) - var(--capH)));
  }
  .jx { align-content: center; padding-bottom: var(--pb); }
  .jx-t { grid-column: 1 / 7; }
  .jx .lab { margin-bottom: 0; }
  .jx .hx { font-size: clamp(1.25rem, 6.4svh, 1.75rem); }
  .jx-2 .hx { font-size: clamp(1.5rem, 8.4svh, 2.25rem); }
  .jx .body { margin-top: clamp(8px, 2.4svh, 14px); font-size: 1rem; line-height: 1.42; }
  .jx-2 .body { font-size: clamp(1rem, 4.6svh, 1.25rem); }

  /* 5 to 8 · the words on the left; the capture on the right under its caption, running off the foot as on a phone */
  .did { padding-bottom: 0; align-items: start; }
  .did-t { grid-column: 1 / 7; align-self: center; padding-bottom: var(--pb); }
  .did .hx, .did-wl .hx, .did-au .hx { font-size: clamp(1.25rem, 7svh, 2rem); }
  .did-wl .did-t, .did-au .did-t { grid-column: 1 / 7; }
  .did-p, .did-wl .did-p, .did-au .did-p { grid-column: 7 / 13; justify-content: flex-start; padding-top: 2px; }
  .did-p .cap { order: 0; align-self: center; }
  .did-p .ph { --pw: min(56cqw, 230px); }
  .did-wl .did-p { align-items: flex-start; }
  .card { width: min(124cqw, 480px); }
  .au-d { display: none; }
  .au-m { display: block; }

  /* 9 · the nineteen days, smaller */
  .wt .hx { font-size: clamp(1.5rem, 9svh, 2.5rem); }
  .wt .body { font-size: clamp(1rem, 4.4svh, 1.25rem); }
  .run { padding-top: 8px; }
  .wt .fact { font-size: min(12vw, 21svh); }
  .days { height: clamp(24px, 7svh, 36px); margin-top: 8px; }
  .ends { margin-top: 6px; }
  .end-v { font-size: clamp(1rem, 4.6svh, 1.25rem); }

  /* 10 · how we could work together */
  .ws-h { font-size: clamp(1.5rem, 8svh, 2.25rem); max-width: none; padding-top: 0; }
  .pts { margin-top: clamp(6px, 2.4svh, 16px); }
  .pts li { padding: clamp(6px, 2svh, 12px) 0; }
  .pts p { font-size: clamp(1rem, 4.6svh, 1.25rem); line-height: 1.22; max-width: 30em; }

  /* 11 · the close: as the desktop's, sized to the short window; the ways in wrap to a second line where the width
     runs out */
  .bk { padding-bottom: var(--pb); }
  .bk .hx { font-size: clamp(1.75rem, 10svh, 2.75rem); max-width: 14em; }
  .ways { row-gap: 6px; padding-top: clamp(16px, 6svh, 32px); }
  .ways .btn { min-height: 48px; padding: 0 28px; }
  .alt a { font-size: 1.0625rem; }
  .ways-note { margin-left: 0; font-size: 1rem; }

  /* the footer strip: one line, a little tighter */
  .foot-in { padding: clamp(10px, 3.6svh, 18px) 0 clamp(6px, 2svh, 12px); }
  .ships { font-size: clamp(26px, 8svh, 32px); }
  .legal li { font-size: 1rem; }
}

/* the narrowest phones on their side (640 to 719px wide): the drawing takes a little more of the width and its
   names are set a size smaller, so every name keeps inside its box beside the problem's words */
@media (min-width: 560px) and (max-width: 719px) and (max-height: 520px) {
  .map { --dW: min(calc((100vw - 2 * var(--m)) * .49), max(330px, calc((var(--A) - var(--capH)) * 1.25))); }
  .tool { gap: 1.4cqw; padding: 0 2cqw; }
  .tn { font-size: 11px; }
  .tlb { font-size: 12px; }
}

/* =====================================================================
   A window under 560px wide and 520px or less tall (a phone app in split screen, never a phone held in the hand) is
   too small for either arrangement to fit. It takes the phone's arrangement (the queries above include it), and here,
   only here, a screen grows to its content so every word and link can be reached; the reader can rest part way down a
   taller screen (cm.js lets the deck stay there). The drawing stays pinned across the top while the problem's and the
   approach's words pass under it. Type is set by the width alone, since the height no longer limits it
   ===================================================================== */
@media (max-width: 559px) and (max-height: 520px) {
  .scr { height: auto; min-height: 100svh; }
  .op .pn { font-size: min(6.6vw, 28px); }
  .op .fact { font-size: min(27vw, 120px); }
  .op-p { flex: 0 0 auto; height: 300px; }
  .cli, .say { font-size: 1.125rem; }
  .dis { font-size: min(11vw, 44px); }
  .jn { --mapH: 220px; }
  .jx .hx, .did .hx { font-size: min(7.4vw, 30px); }
  .jx-2 .hx, .did-wl .hx { font-size: min(10.4vw, 40px); }
  .did-p { flex: 0 0 auto; }
  .did-p .ph { --pw: min(64vw, 240px); }
  .did-wl .did-p { flex: 0 0 auto; height: 260px; }
  .wt .hx { font-size: min(10vw, 40px); }
  .wt .fact { font-size: min(42vw, 180px); }
  .ws-h, .bk .hx { font-size: min(9.6vw, 40px); }
  .pts p { font-size: max(16px, min(6vw, 24px)); }
}

/* =====================================================================
   The motion layer (html.js): things rise into place through masks when their screen lands
   ===================================================================== */
.js:not(.ready) [data-split] { opacity: 0; }

/* words of a heading, each in its own mask */
.js .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .1em .24em; margin: -.16em -.1em -.24em; }
.js .wi { display: inline-block; transform: translate3d(0, var(--wy, 112%), 0); transition: transform .3s var(--e-in); }
.js .in .wi { --wy: 0%; transition: transform 1s var(--e-out) var(--d, 0ms); }
.js .wa .wi { transform: none; }

/* letters that keep their kerning: a hidden copy holds the space, the moving letters sit exactly where it put them */
.lw { position: relative; display: inline-block; }
.gh { visibility: hidden; }
.lts { position: absolute; left: 0; top: 0; }
.lt { position: absolute; top: 0; white-space: pre; transform: translate3d(0, var(--ly, 112%), 0); transition: transform .3s var(--e-in); }
.js .in .lt { --ly: 0%; transition: transform .95s var(--e-soft) var(--d, 0ms); }

.js .rv { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .25s ease, transform .3s var(--e-in); }
.js .in .rv { opacity: 1; transform: none; transition: opacity .8s ease var(--d, 0ms), transform 1s var(--e-out) var(--d, 0ms); }

.js .pc { opacity: 0; transform: translate3d(0, 70px, 0); transition: opacity .25s ease, transform .3s var(--e-in); }
.js .in .pc { opacity: 1; transform: none; transition: opacity .9s ease var(--d, 0ms), transform 1.3s var(--e-out) var(--d, 0ms); }

/* the facts: each rule draws across as its line comes in */
.js .fr::before, .js .facts::after { transform: scaleX(0); transition: transform .3s var(--e-in); }
.js .in .fr::before { transform: none; transition: transform 1.1s var(--e-out) calc(var(--d, 0ms) - 120ms); }
.js .in .facts::after { transform: none; transition: transform 1.1s var(--e-out) 480ms; }
/* what I did: the disciplines rise in one after another, once their row is in */
.dis li:nth-child(2) { --k: 1; } .dis li:nth-child(3) { --k: 2; } .dis li:nth-child(4) { --k: 3; }
.dis li:nth-child(5) { --k: 4; } .dis li:nth-child(6) { --k: 5; } .dis li:nth-child(7) { --k: 6; }
.js .dis li { opacity: 0; transform: translate3d(0, .3em, 0); transition: opacity .25s ease, transform .3s var(--e-in); }
.js .in .dis li {
  opacity: 1; transform: none;
  transition: opacity .7s ease calc(var(--d, 0ms) + 140ms + var(--k, 0) * 90ms), transform 1s var(--e-out) calc(var(--d, 0ms) + 140ms + var(--k, 0) * 90ms);
}

/* what it shows: each rule draws across as its point comes in */
.js .pts li::before { transform: scaleX(0); transition: transform .3s var(--e-in); }
.js .in .pts li::before { transform: none; transition: transform 1.1s var(--e-out) var(--rd, 0ms); }

/* the nineteen days: the base line draws, then a mark for each day stands up, in step with the count */
.js .days::after { transform: scaleX(0); transition: transform .3s var(--e-in); }
.js .in .days::after { transform: none; transition: transform 1.6s var(--e-io) var(--d0, 200ms); }
.js .days i { transform: scaleY(0); transition: transform .3s var(--e-in); }
.js .in .days i { transform: none; transition: transform .7s var(--e-out) var(--d, 0ms); }

/* ---------- the drawing (as 31): the five are set down one after another as the problem lands, and the hand offs
   between them appear one by one. When the approach lands the hand offs go, the five glide together into one column,
   the frame comes in round them and one line runs down it, reaching each tool in turn. Going back, it comes apart
   again: the line and the frame go, the five glide back to where they stood, and the hand offs return.
   With no script the five stand apart with their hand offs drawn, as the problem tells it ---------- */
.js .jn:not(.in) .tool { opacity: 0; transform: translate3d(0, 2cqw, 0); }
.js .tool { transition: opacity .9s ease calc(var(--i) * 110ms + 150ms), transform 1.25s var(--e-io) calc(var(--i) * 70ms); }
.js .con line { opacity: 0; transition: opacity .4s ease; }
.js .jn.in:not(.joined) .con line { opacity: 1; transition: opacity .7s ease calc(1000ms + var(--i) * 160ms); }
.js .frame { transition: opacity .4s ease, transform .5s var(--e-in); }
.js .jn.in.joined .frame { transition: opacity .9s ease .6s, transform 1.3s var(--e-out) .6s; }
.js .spine { transition: transform .35s var(--e-in); }
.js .jn.in.joined .spine { transition: transform 1.1s var(--e-out) 1.05s; }
.js .knot { transition: transform .3s var(--e-in); }
.js .jn.in.joined .knot { transition: transform .7s var(--e-out) calc(1.15s + var(--i) * 140ms); }
.js .jn .drawn { opacity: 0; transition: opacity .25s ease; }
.js .jn.in .drawn { opacity: 1; transition: opacity .8s ease 900ms; }

.js.instant *, .js.instant *::before, .js.instant *::after { transition: none !important; }

/* ---------- the facts on the work: each figure counts up as its screen lands (as the homepage's tiles) ---------- */
.fact .fl { display: block; }
.fm { position: relative; display: inline-block; vertical-align: top; }
.js .fm { overflow: hidden; padding: .06em .1em .2em; margin: -.06em -.1em -.2em; }
.js .fm.fn { padding-top: 0; padding-bottom: .08em; margin-top: 0; margin-bottom: -.08em; }
.fw { position: relative; display: inline-block; }
.fls { position: absolute; left: 0; top: 0; }
.fc, .fd { position: absolute; top: 0; white-space: pre; }
.fst { display: block; }
.fq { display: block; height: .92em; }
.js:not(.ready) [data-fact] { opacity: 0; }
.js .fc, .js .fst { transform: translate3d(0, 1.15em, 0); transition: transform .3s var(--e-in); }
.js .in .fc { transform: none; transition: transform 1.1s var(--e-out) var(--d, 0ms); }
.js .in .fst { transform: translate3d(0, calc(var(--n) * -.92em), 0); transition: transform 2s cubic-bezier(.3, .6, .18, 1) var(--d, 0ms); }
/* on a phone the opening's fact runs on one line, and so does the result's */
@media (max-width: 1023px) { .op .fact .fl { display: inline; } }

/* =====================================================================
   Reduced motion: fades only, and every word still shows; the drawing changes from five to one place as a fade
   ===================================================================== */
.rm .wi, .rm .lt, .rm .rv, .rm .pc, .rm .fc { transform: none !important; }
.rm .fst { transform: translate3d(0, calc(var(--n) * -.92em), 0) !important; }
.rm .fx { opacity: 0; transition: opacity .5s ease; }
.rm .in .fx { opacity: 1; }
.rm .w { opacity: 0; transition: opacity .5s ease; }
.rm .in .w { opacity: 1; }
.rm .fr::before, .rm .facts::after, .rm .pts li::before, .rm .days::after, .rm .days i, .rm .dis li { transform: none !important; }
/* the five do not travel: they fade in where they stand, and fade in again where they belong once joined */
.rm .tool { transform: none !important; transition: opacity .6s ease !important; }
.rm .jn.joined .tool { transform: translate3d(calc(var(--dx) * 1cqw), calc(var(--dy) * 1.25cqh), 0) !important; }
.rm .jn.in:not(.joined) .tool { animation: rm-sep .7s ease both; }
.rm .jn.in.joined .tool { animation: rm-join .7s ease both; }
@keyframes rm-sep { from { opacity: 0; } to { opacity: 1; } }
@keyframes rm-join { from { opacity: 0; } to { opacity: 1; } }
.rm .frame, .rm .spine, .rm .knot { transform: none !important; opacity: 0; transition: opacity .6s ease !important; }
.rm .jn.in.joined .frame, .rm .jn.in.joined .spine, .rm .jn.in.joined .knot { opacity: 1; }
.rm .con line { transition: opacity .6s ease !important; }
.rm .btn::before, .rm .arr, .rm .mlink { transition: none !important; }
