/* cases/email · The Email case study as a deck (EMAIL-CASE-PLAN.md, agreed with Adam 15 Nov 2026), built from the
   Linchpin draft (cases/linchpin), itself the Mandinga and ClearMile decks. The homepage's system: the same grounds,
   masthead, deck, type, frames and motion language, copied so this page stands on its own. Nine screens: the opening
   (the fact set large, no picture), the Ledger, the system (the template kit, a drawing), testing (one email in a
   desktop and a phone, light and dark, a drawing), journeys (the map, a drawing), campaigns (the real content
   calendar), Linchpin, the recent job (its list and journeys, a drawing), how we could work together, and the close,
   with the footer strip after it. No example emails anywhere: the drawings show blocks, never anyone's work.
   Colours from the Linchpin draft: wine #4A1520, cream #F4EADF, spritz #F2804F on the wine (5.6 to 1), deepened to
   #A53A12 on the light grounds (5.5 on cream, 6.2 on paper, 5.7 on bone); secondary type on the wine #CDB3A9 (7.5).
   The base rules are the page with no script: every screen in normal flow, every word in place. */

: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;
  --green: #4FB37E;
  --green-d: #1F7A4C;
  /* Linchpin's own */
  --wine: #4A1520;
  --cream: #F4EADF;
  --spritz: #F2804F;
  --spritz-d: #A53A12;
  --cream-2: #CDB3A9;
  --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(--wine); color: var(--cream);
  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, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--wine); color: var(--cream); }
: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 (--tint: the faint fill of a drawing's hero block) ---------- */
.t-wine  { --bg: var(--wine); --fg: var(--cream); --fg2: var(--cream-2); --acc: var(--spritz); --rule: rgba(244, 234, 223, .16); --rule-s: rgba(244, 234, 223, .32); --bb: var(--cream); --bf: var(--wine); --bh: var(--spritz); --bhf: var(--wine); --tint: rgba(244, 234, 223, .08); }
.t-cream { --bg: var(--cream); --fg: var(--wine); --fg2: var(--ink-2); --acc: var(--spritz-d); --rule: rgba(74, 21, 32, .16); --rule-s: rgba(74, 21, 32, .3); --bb: var(--wine); --bf: var(--cream); --bh: var(--spritz-d); --bhf: var(--cream); --tint: rgba(74, 21, 32, .07); }
.t-paper { --bg: var(--paper); --fg: var(--ink); --fg2: var(--ink-2); --acc: var(--spritz-d); --rule: rgba(22, 20, 18, .14); --rule-s: rgba(22, 20, 18, .28); --tint: rgba(74, 21, 32, .07); }
.t-bone  { --bg: var(--bone); --fg: var(--ink); --fg2: var(--ink-2); --acc: var(--spritz-d); --rule: rgba(22, 20, 18, .16); --rule-s: rgba(22, 20, 18, .3); --tint: rgba(74, 21, 32, .07); }
.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(--cream)); transition: color .5s ease;
}
html[data-mast="ink"] { --mast-fg: var(--ink); --mast-on: var(--bone); }
html[data-mast="wine"] { --mast-fg: var(--wine); --mast-on: var(--cream); }
html[data-mast="cream"] { --mast-fg: var(--cream); --mast-on: var(--wine); }
.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, #4FB37E); 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(--cream)); color: var(--mast-on, var(--wine)); } }
/* 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); }
.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);
}
.body { font-size: clamp(16px, 2.05svh, 18px); line-height: 1.5; max-width: 34em; }

/* ---------- 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; }
}

/* ---------- frames, as the homepage draws them ---------- */
.dev { position: relative; }
.scrn { position: relative; overflow: hidden; background: #fff; }
.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 wine the frames carry a thin light rim, so a frame never melts into the ground */
.t-wine .br, .t-wine .card { 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); }
.bar .bt { margin-left: 10px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .04em; color: #5E574F; white-space: nowrap; }
.pc { position: relative; }

/* the one small caption under a picture, 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 number and name at the top; the fact set as large as the screen allows, "15" over "years" on
   a phone, one line on a desktop; the line under it. No picture (the plan has none here)
   ===================================================================== */
.op::after { content: ""; flex: 0 0 clamp(16px, 7svh, 72px); }
.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: auto; font-size: min(39vw, 22svh); }
/* room under the fact for the tail of its "y", so it never reaches the line */
.op .fact { margin-bottom: .17em; }
.op .res { margin-top: clamp(14px, 3svh, 32px); font-size: clamp(1.0625rem, 2.4svh, 1.25rem); line-height: 1.38; max-width: 20em; text-wrap: balance; }

/* =====================================================================
   2 · The Ledger (Adam's pick, 43a, 14 Nov 2026; ../../43a-crr-ledger/ledger.css): three ruled rows like a waybill,
   a heavy rule top and bottom, a fine rule between. Client in medium type, with when, small, under it; What I did,
   the hero, the work set large, running on and wrapping, each closed by the spritz full stop; Built in, a large sentence in the spritz. This page's
   labels are the plan's: Worked on, inside agencies; What I did; Built in. A mono label over each row on a phone, in
   columns 1 to 3 on a desktop. The sizes come from the window, never the words, so the six case studies look alike
   ===================================================================== */
.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: var(--rule-s); transform-origin: left center; }
.fr:first-child::before { height: 2px; background: var(--fg); }
.facts::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--fg); 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(--fg2); }
.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); }
.fr-work { flex-grow: 1.25; }
.wk { font-size: min(10.6vw, 6.2svh); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.wk li { display: inline-block; white-space: nowrap; }
.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; }
.say .acc, .wk .pd { color: var(--acc); }
.note { margin-top: clamp(4px, .8svh, 8px); font-size: 1rem; line-height: 1.4; color: var(--fg2); }

/* =====================================================================
   6 · Campaigns: the words across the top, then the caption and the content calendar from the Linchpin job, its real
   rows in a sheet that runs off the far edge and the foot (beside the words on a desktop). Its row numbers are the
   file's, so the gaps show where the weekly rows were left out
   ===================================================================== */
.cp { padding-bottom: 0; }
.cp-t { flex: 0 0 auto; }
.cp .hx { margin-top: clamp(6px, 1.2svh, 12px); font-size: min(7.6vw, 3.9svh); line-height: 1.04; }
.cp .body { margin-top: clamp(10px, 1.8svh, 16px); }
.cp-p { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(8px, 1.4svh, 12px); margin-top: clamp(14px, 2.4svh, 24px); }
.cp-p .pc-a { flex: 0 0 auto; width: 780px; }
.sh .scrn { background: #fff; }
.bar .bt { margin-left: 10px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .04em; color: #5E574F; white-space: nowrap; }
.cal { border-collapse: collapse; width: 100%; table-layout: auto; font-family: var(--font-text); font-size: 12.5px; line-height: 1.3; color: #1E1B16; }
.cal th, .cal td { padding: 6px 9px; border: 1px solid #E4DFD7; text-align: left; vertical-align: top; white-space: nowrap; font-weight: 400; }
.cal .cl th { padding: 3px 9px; background: #F2EFEA; color: #6B645C; font-size: 11px; text-align: center; }
.cal tbody th { width: 34px; padding-left: 6px; padding-right: 6px; background: #F2EFEA; color: #6B645C; font-size: 11px; text-align: center; }
.cal .hd td { font-weight: 500; background: #FBF8F2; }
.cal .wk-r td { color: #5E574F; }

/* =====================================================================
   4 to 8 · Words across the top, the picture under them, as big as the room allows
   ===================================================================== */
.did { padding-bottom: var(--pb); }
.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 .body { margin-top: clamp(10px, 1.8svh, 16px); }
.did-p { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: clamp(8px, 1.4svh, 12px); margin-top: clamp(14px, 2.4svh, 24px); }

/* =====================================================================
   The drawings: lines and labels only, in the site's line style (as ClearMile's and the Linchpin draft's). Blocks are
   outlines in the ground's rule colour, labels in the mono face, the one thing that matters picked out in the accent.
   They draw blocks, never anyone's email
   ===================================================================== */
.did-p .cap { margin-top: 2px; }

/* 3 · the kit: the five blocks, labelled, at heights like an email's own; an arrow; two emails built from the same
   blocks in a different order. --u sets the scale from the window's height */
.kit { --u: clamp(7px, 1.25svh, 12px); display: grid; grid-template-columns: minmax(0, 1.2fr) 34px minmax(0, 1fr); align-items: center; }
.kit-k { display: flex; flex-direction: column; gap: calc(var(--u) * .7); }
.kb { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px; border: 1.5px solid var(--rule-s); border-radius: 8px; }
.kb-l { font-family: var(--font-mono); font-size: .6875rem; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; color: var(--fg2); }
.kb-h { height: calc(var(--u) * 4); }
.kb-hero { height: calc(var(--u) * 8); align-items: flex-start; padding-top: 8px; background: var(--tint); }
.kb-p { height: calc(var(--u) * 5.6); }
.kb-o { height: calc(var(--u) * 5); border-color: var(--acc); }
.kb-o .kb-l { color: var(--acc); }
.kb-f { height: calc(var(--u) * 3.6); }
.mk-logo { display: block; width: 22px; height: 7px; border-radius: 2px; background: var(--rule-s); }
.mk-row { display: flex; gap: 4px; }
.mk-row i { display: block; width: 13px; height: 13px; border: 1.5px solid var(--rule-s); border-radius: 3px; }
.mk-pill { display: block; width: 30px; height: 11px; border: 1.5px solid var(--acc); border-radius: 999px; }
.mk-line { display: block; width: 36px; height: 1.5px; background: var(--rule-s); }
.kit-go { position: relative; height: 2px; margin: 0 6px 0 4px; background: var(--acc); }
.kit-go::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border: solid var(--acc); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.kit-e { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
/* the small emails: the same blocks, unlabelled */
.em { display: flex; flex-direction: column; gap: calc(var(--u) * .45); padding: calc(var(--u) * .6); border: 1.5px solid var(--rule-s); border-radius: 6px; }
.em > i { display: flex; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }
.em .eb-h { height: calc(var(--u) * 1.8); justify-content: flex-start; padding-left: 4px; }
.em .eb-hero { height: calc(var(--u) * 4.2); background: var(--tint); }
.em .eb-p { height: calc(var(--u) * 2.6); }
.em .eb-o { height: calc(var(--u) * 2.4); border-color: var(--acc); }
.em .eb-f { height: calc(var(--u) * 1.4); }
.em .mk-logo { width: 12px; height: 4px; }
.em .mk-row { gap: 2px; }
.em .mk-row i { width: 6px; height: 6px; border-width: 1px; border-radius: 1.5px; }
.em .mk-pill { width: 16px; height: 6px; border-width: 1px; }
.em .mk-line { width: 18px; height: 1px; }

/* 4 · testing: Desktop and Phone over the columns, Light and Dark beside the rows; the same small email in each
   frame, a tick in the accent on each. The light frames on cream, the dark ones near black with cream lines.
   --th, the frames' height, is set from the window's height */
.tst { --th: min(16svh, calc((100vw - 32px - 80px) / 2.11)); display: grid; grid-template-columns: auto auto auto; grid-template-rows: auto var(--th) var(--th); column-gap: 10px; row-gap: 10px; align-items: center; justify-content: start; }
.tst-c, .tst-r { font-family: var(--font-mono); font-size: .6875rem; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; color: var(--fg2); }
.tst-c1 { grid-column: 2; grid-row: 1; }
.tst-c2 { grid-column: 3; grid-row: 1; }
.tst-r1 { grid-column: 1; grid-row: 2; }
.tst-r2 { grid-column: 1; grid-row: 3; }
.sc { position: relative; height: var(--th); border-radius: 8px; overflow: hidden; }
.sc-d { aspect-ratio: 1.55; }
.sc-p { aspect-ratio: .56; border-radius: 12px; }
.sc-d.sc-l { grid-column: 2; grid-row: 2; }
.sc-p.sc-l { grid-column: 3; grid-row: 2; }
.sc-d.sc-k { grid-column: 2; grid-row: 3; }
.sc-p.sc-k { grid-column: 3; grid-row: 3; }
.sc-l { --rule: rgba(42, 18, 24, .22); --rule-s: rgba(42, 18, 24, .4); --tint: rgba(74, 21, 32, .08); background: #FFFCF8; }
.sc-k { --rule: rgba(244, 234, 223, .2); --rule-s: rgba(244, 234, 223, .42); --tint: rgba(244, 234, 223, .1); background: #1B0D11; box-shadow: inset 0 0 0 1px rgba(244, 234, 223, .22); }
/* a desktop frame: a bar across its top */
.sc-d::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9%; border-bottom: 1px solid var(--rule); }
.sc .em { --u: calc(var(--th) / 30); position: absolute; left: 50%; transform: translateX(-50%); top: 15%; width: 42%; border-color: var(--rule); }
.sc-p .em { top: 7%; width: 84%; }
.sc-p .em { --u: calc(var(--th) / 26); }
.ok { position: absolute; z-index: 1; right: 5px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--spritz); }
.ok::after { content: ""; position: absolute; left: 5.5px; top: 3px; width: 4px; height: 7px; border: solid #4A1520; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* 5 · the journey map: one node to a stage down a spine, the regular send and what follows it; the win back hangs
   from it on a dashed line, its node dashed in the accent, and a dashed loop in the gutter carries anyone drifting
   away back to the regular send. --nd is a node's size, --g the gap between them */
.jm-l { --nd: clamp(26px, 3.8svh, 36px); --g: clamp(8px, 1.6svh, 14px); position: relative; display: flex; flex-direction: column; gap: var(--g); padding-left: 30px; }
.jm-l li { position: relative; display: flex; align-items: center; gap: 12px; min-height: var(--nd); }
.jm-n { position: relative; z-index: 1; flex: 0 0 auto; display: grid; place-items: center; width: var(--nd); height: var(--nd); border: 1.5px solid var(--rule-s); border-radius: 50%; background: var(--bg); font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .04em; color: var(--fg2); }
.jm-t { font-weight: 500; font-size: clamp(1rem, 2.1svh, 1.1875rem); line-height: 1.15; }
.jm-l li + li::before { content: ""; position: absolute; left: calc(var(--nd) / 2 - .75px); top: calc(-1 * var(--g)); height: var(--g); width: 1.5px; background: var(--rule-s); }
.jm-wb::before { background: none !important; border-left: 1.5px dashed var(--acc); }
.jm-wb .jm-n { border: 1.5px dashed var(--acc); color: var(--acc); }
.jm-wb .jm-t { color: var(--acc); }
/* the loop: from the win back's node, round the gutter, back into the regular send's */
.jm-l::before {
  content: ""; position: absolute; left: 6px; width: 24px; top: calc(3 * (var(--nd) + var(--g)) + var(--nd) / 2);
  height: calc(2 * (var(--nd) + var(--g))); border: 1.5px dashed var(--acc); border-right: 0; border-radius: 14px 0 0 14px;
}
.jm-l::after {
  content: ""; position: absolute; left: 21px; top: calc(3 * (var(--nd) + var(--g)) + var(--nd) / 2 - 4px); width: 8px; height: 8px;
  border: solid var(--acc); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg);
}

/* 5 · the list and its journeys: a drawing, lines and labels only. The group's list, an arrow with the email that asks
   people across, Empire's own list, and its three journeys hanging from it */
.lists { display: flex; flex-direction: column; align-items: stretch; }
.ls { position: relative; display: flex; flex-direction: column; gap: 2px; padding: clamp(10px, 1.8svh, 16px) 16px; border: 1.5px solid var(--rule-s); border-radius: 10px; }
.ls-k { font-family: var(--font-mono); font-size: .75rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--fg2); }
.ls-n { font-weight: 500; font-size: clamp(1.375rem, 3.4svh, 2rem); letter-spacing: -.025em; line-height: 1.1; }
.ls-a { opacity: .8; }
.ls-b { border-color: var(--acc); border-width: 2px; }
.ls-t { position: absolute; right: 14px; top: clamp(10px, 1.8svh, 16px); font-family: var(--font-mono); font-size: .6875rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); }
.ls-t::before { content: ""; display: inline-block; width: .45em; height: .8em; margin-right: .5em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.1em) rotate(45deg); }
/* the arrow down from the group's list to Empire's, and the email on it */
.ls-go { position: relative; display: flex; align-items: center; height: clamp(52px, 8svh, 76px); padding-left: 44px; }
.ls-go::before { content: ""; position: absolute; left: 26px; top: 0; bottom: 6px; width: 2px; background: var(--acc); }
.ls-go::after { content: ""; position: absolute; left: 21px; bottom: 2px; width: 12px; height: 12px; border: solid var(--acc); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ls-m { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--acc); color: var(--bg); font-size: .875rem; font-weight: 500; line-height: 1.3; }
/* the journeys: three, side by side under Empire's list, each hung from it by a short line */
.jr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: clamp(18px, 3svh, 28px); }
.jr li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 12px; border: 1.5px solid var(--rule-s); border-radius: 10px; }
.jr li::before { content: ""; position: absolute; left: 50%; top: calc(-1 * clamp(18px, 3svh, 28px) - 1.5px); height: clamp(18px, 3svh, 28px); width: 1.5px; background: var(--rule-s); }
.jr-n { font-weight: 500; font-size: clamp(1rem, 2.1svh, 1.1875rem); line-height: 1.2; }
.jr-x { font-family: var(--font-mono); font-size: .6875rem; line-height: 1.35; letter-spacing: .04em; text-transform: uppercase; color: var(--fg2); }
.lj .cap { margin-top: 4px; }
/* a narrow drawing (a phone on its side, about 290px across): the tag takes the label's place, and the journeys a
   little tighter, so nothing touches */
.lists { container-type: inline-size; }
@container (max-width: 310px) {
  .ls-b .ls-k { visibility: hidden; }
  .jr { gap: 6px; grid-template-columns: 1.2fr 1fr .9fr; }
  .jr li { padding-left: 7px; padding-right: 7px; }
  .jr-n { font-size: .9375rem; }
}

/* =====================================================================
   8 · How we could work together: the heading, then three ruled points, each sharing out the height, and a quiet
   way on to How I work with you
   ===================================================================== */
.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: var(--rule-s); 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); }
.more { flex: 0 0 auto; border-top: 1px solid var(--rule-s); }
.more a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: clamp(48px, 7svh, 64px);
  font-size: clamp(1.0625rem, 2.3svh, 1.25rem); font-weight: 500; letter-spacing: -.015em; text-decoration: none;
}
.more a span:first-child { text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 1.5px; text-underline-offset: .24em; }
@media (hover: hover) and (pointer: fine) { .more a:hover .arr { transform: translateX(6px); } .more a:hover { color: var(--acc); } }

/* =====================================================================
   9 · 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); }

.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. Every word stays: where room runs out, the
   picture gives way, never the words
   ===================================================================== */
@media (max-width: 599px) and (max-height: 740px) and (min-height: 521px), (max-width: 559px) and (max-height: 520px) {
  .body { font-size: 16px; line-height: 1.45; }
  /* the close: the note closer under the links */
  .ways-note { margin-top: 0; }
}
/* phones up to 740px tall: Linchpin's journeys drop out of its drawing, and its boxes tighten, so its long line keeps
   its room */
@media (max-width: 599px) and (max-height: 740px) and (min-height: 521px) {
  .lj .jr, .lj .jr-x { display: none; }
  .lj .ls { padding-top: 8px; padding-bottom: 8px; }
  .lj .ls-go { height: 40px; }
}
/* 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; Linchpin's drawing keeps to its two lists */
@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; }
  .lj .ls-go { height: 30px; }
  .lj .ls-k { display: none; }
  .lj .ls-t { top: 50%; transform: translateY(-50%); }
}

/* =====================================================================
   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; }
  .body { font-size: clamp(1.125rem, 2.4svh, 1.3125rem); max-width: 30em; }

  /* 1 · the opening: the name at the top; the fact on one line across the screen, the line under it */
  .op { display: flex; flex-direction: column; }
  .op .pn { font-size: clamp(1.5rem, 3.4svh, 2.125rem); }
  .op .fact { font-size: min(26vw, 38svh); }
  .op .fact .fl { display: inline; }
  .op .res { font-size: clamp(1.25rem, 3svh, 1.75rem); max-width: 24em; }

  /* 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 */
  .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: .6; }
  .fr-work { 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; }
  .wk { font-size: min(6.2vw, 10svh); }

  /* 3 to 5 and 7 · the words on the left, the drawing on the right */
  .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(3.9vw, 6.6svh); }
  .did-p { grid-column: 8 / 13; grid-row: 1; margin: 0; }
  .did-p .cap { text-align: left; }
  .kit { --u: clamp(10px, 2svh, 18px); grid-template-columns: minmax(0, 1.25fr) 44px minmax(0, 1fr); }
  .kb-l { font-size: .75rem; }
  .tst { --th: min(24svh, 14vw); column-gap: 14px; row-gap: 14px; }
  .tst-c, .tst-r { font-size: .75rem; }
  .jm-l { --nd: clamp(30px, 5svh, 48px); --g: clamp(10px, 2.4svh, 24px); padding-left: 36px; }
  .jm-l::before { width: 30px; }
  .jm-l::after { left: 27px; }
  .jm-t { font-size: clamp(1.0625rem, 2.4svh, 1.375rem); }
  .jm-n { font-size: .75rem; }
  .ls { padding: 16px 20px; }
  .ls-t { right: 18px; top: 16px; }
  .ls-n { font-size: clamp(1.5rem, 3.8svh, 2.25rem); }
  .jr li { padding: 12px 12px 14px; }
  .jr-n { font-size: clamp(1.0625rem, 2.3svh, 1.25rem); }

  /* 6 · campaigns: the words on the left, the calendar on the right running off the far edge, its caption under it */
  .cp { grid-template-rows: minmax(0, 1fr); padding-bottom: var(--pb); align-items: center; }
  .cp-t { grid-column: 1 / 6; grid-row: 1; padding-bottom: clamp(0px, 4svh, 48px); }
  .cp .hx { font-size: min(3.9vw, 6.6svh); }
  .cp-p { grid-column: 6 / 13; grid-row: 1; justify-content: center; margin: 0 calc(var(--m) * -1) 0 0; height: 100%; }
  .cp-p .cap { order: 2; }
  .cp-p .pc-a { width: max(108cqw, 980px); }
  .cp-p { container-type: inline-size; }
  .cal { font-size: 15px; }
  .cal th, .cal td { padding: 10px 12px; }
  .cal .cl th { padding: 4px 12px; font-size: 12px; }
  .cal tbody th { width: 40px; font-size: 12px; }
  .bar .bt { font-size: .75rem; }

  /* 8 · how we could work together: the heading across the top, then one ruled line to a point, its number on the
     left; the way on to How I work with you under them */
  .ws { grid-template-rows: auto minmax(0, 1fr) auto; 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; }
  .more { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
  .more a { grid-column: 2 / 6; }

  /* 9 · 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) {
  .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; }
  .wk { font-size: min(8vw, 6.4svh); }
  .op .pn { font-size: min(4vw, 3.4svh); }
  .op .res { font-size: 1.375rem; }
  .cp-p .pc-a { width: 980px; }
  .cal { font-size: 15px; }
  .cal th, .cal td { padding: 9px 12px; }
  .did .hx, .cp .hx { font-size: min(5.6vw, 4.6svh); }
  .did-p { width: min(100%, 620px); align-self: center; }
  .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; }
  .mtext { font-size: .875rem; }
  .lab, .cap { font-size: .75rem; }
  .body { font-size: 1rem; line-height: 1.42; }

  /* 1 · the opening */
  .op .pn { font-size: clamp(1.25rem, 5.6svh, 1.75rem); }
  .op .fact { font-size: min(14vw, 30svh); }
  .op .res { margin-top: clamp(8px, 3svh, 16px); font-size: clamp(1rem, 4.6svh, 1.25rem); max-width: 26em; }
  .op::after { flex-basis: clamp(8px, 4svh, 20px); }

  /* 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; }
  .wk { font-size: min(4.6vw, 9svh); }

  /* 3 to 7 · the words on the left, the picture on the right, each a little tighter */
  .did-t, .cp-t { grid-column: 1 / 7; padding-bottom: 0; }
  .did .hx, .cp .hx { font-size: clamp(1.25rem, 7svh, 2rem); }
  .did .body, .cp .body { margin-top: clamp(6px, 2svh, 12px); }
  .did-p { grid-column: 7 / 13; gap: 6px; }
  .kit { --u: clamp(5px, 1.6svh, 8px); grid-template-columns: minmax(0, 1.2fr) 30px minmax(0, 1fr); }
  .kb-l { font-size: .6875rem; }
  .tst { --th: clamp(64px, 25svh, 120px); column-gap: 8px; row-gap: 6px; }
  .tst-c, .tst-r { font-size: .6875rem; }
  .jm-l { --nd: clamp(22px, 6.4svh, 30px); --g: clamp(3px, 1.2svh, 6px); padding-left: 30px; }
  .jm-t { font-size: 1rem; }
  .ls { padding: 8px 14px; }
  .ls-n { font-size: clamp(1.125rem, 6svh, 1.5rem); }
  .ls-t { top: 8px; }
  .ls-go { height: clamp(34px, 9svh, 48px); }
  .jr { padding-top: 14px; }
  .jr li { padding: 6px 8px 8px; }
  .jr li::before { top: -15.5px; height: 14px; }
  .jr-n { font-size: 1rem; }
  .cp-t { grid-column: 1 / 7; }
  .cp-p { grid-column: 7 / 13; justify-content: flex-start; gap: 6px; }
  .cp-p .cap { order: 0; }
  .cp-p .pc-a { width: 760px; }
  .cal { font-size: 12.5px; }
  .cal th, .cal td { padding: 6px 9px; }
  .cal .cl th { padding: 3px 9px; font-size: 11px; }
  .cal tbody th { width: 34px; font-size: 11px; }
  .bar .bt { font-size: .6875rem; }

  /* 8 · 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; }
  .more a { min-height: 40px; font-size: 1rem; }

  /* 9 · the close: as the desktop's, sized to the short window */
  .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 shortest phones on their side (380px tall or less): Linchpin's journeys give way to its long line */
@media (min-width: 560px) and (max-height: 380px) {
  .lj .jr { display: none; }
}

/* =====================================================================
   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). Type is set by the width alone, and the flexible parts get fixed
   sizes so they do not collapse
   ===================================================================== */
@media (max-width: 559px) and (max-height: 520px) {
  .scr { height: auto; min-height: 100svh; }
  .op .pn { font-size: min(6.6vw, 28px); }
  .op .fact { margin-top: 40px; font-size: min(35vw, 150px); }
  .cli, .say { font-size: 1.125rem; }
  .wk { font-size: min(9vw, 40px); }
  .did .hx, .cp .hx { font-size: min(7.6vw, 30px); }
  .did-p, .cp-p { flex: 0 0 auto; }
  .cp-p { height: 320px; }
  .kit { --u: 8px; }
  .tst { --th: 110px; }
  .jm-l { --nd: 30px; --g: 10px; }
  .ws-h { font-size: min(9.6vw, 40px); }
  .bk .hx { font-size: min(8vw, 36px); }
  .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) 560ms; }
/* what I did: the work rises in one after another, once its row is in */
.wk li:nth-child(2) { --k: 1; } .wk li:nth-child(3) { --k: 2; } .wk li:nth-child(4) { --k: 3; }
.wk li:nth-child(5) { --k: 4; } .wk li:nth-child(6) { --k: 5; } .wk li:nth-child(7) { --k: 6; }
.js .wk li { opacity: 0; transform: translate3d(0, .3em, 0); transition: opacity .25s ease, transform .3s var(--e-in); }
.js .in .wk 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);
}

/* the drawings: their parts come in one after another once the picture is in, the kit's blocks before the emails
   built from them, the map's stages in order and its loop last, Linchpin's lists before its journeys */
.kb:nth-child(2), .jm-l li:nth-child(2), .lists > :nth-child(2), .jr li:nth-child(2), .sc:nth-of-type(2) { --k: 1; }
.kb:nth-child(3), .jm-l li:nth-child(3), .lists > :nth-child(3), .jr li:nth-child(3), .sc:nth-of-type(3) { --k: 2; }
.kb:nth-child(4), .jm-l li:nth-child(4), .lists > :nth-child(4), .sc:nth-of-type(4) { --k: 3; }
.kb:nth-child(5), .jm-l li:nth-child(5) { --k: 4; }
.jm-l li:nth-child(6) { --k: 5; }
.js .kb, .js .kit-go, .js .kit-e, .js .sc, .js .jm-l li, .js .jm-l::before, .js .jm-l::after, .js .lists > *, .js .jr li { opacity: 0; transition: opacity .25s ease; }
.js .in .kb, .js .in .sc, .js .in .jm-l li, .js .in .lists > * { opacity: 1; transition: opacity .7s ease calc(var(--d, 0ms) + 260ms + var(--k, 0) * 140ms); }
.js .in .kit-go { opacity: 1; transition: opacity .7s ease calc(var(--d, 0ms) + 1000ms); }
.js .in .kit-e, .js .in .jm-l::before, .js .in .jm-l::after { opacity: 1; transition: opacity .7s ease calc(var(--d, 0ms) + 1200ms); }
.js .in .jr li { opacity: 1; transition: opacity .7s ease calc(var(--d, 0ms) + 820ms + var(--k, 0) * 140ms); }

/* how we could work together: 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); }

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

/* ---------- the fact on the opening: it 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); }

/* =====================================================================
   Reduced motion: fades only, and every word still shows
   ===================================================================== */
.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 .wk li { transform: none !important; }
.rm .btn::before, .rm .arr, .rm .mlink { transition: none !important; }
