/* Motus Forma, the case study as a deck. The ClearMile deck's system (30, from the homepage, 29): the same grounds,
   masthead, deck, type, device frames and motion language, copied here so this page stands on its own. Then this
   project's fifteen screens: the tile opened to the whole screen on his green, the facts, the problem with a drawing,
   the approach with his plan, what I did round by round (six beats and his words after Round 1), working together
   on two screens, how we could work together, and the close, then the footer strip.
   His colours: green #4B5543 (white on it 7.84:1, his sand on it 5.84:1), sand #EFDBC9 (ink on it, his green on it
   5.84:1), orange #F47E4D only ever a fill or a line, never text on green.
   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;
  --chalk-2: #A9A196;
  --green: #4FB37E;
  --green-d: #1F7A4C;
  /* his colours */
  --mf: #4B5543;
  --sand: #EFDBC9;
  --orange: #F47E4D;
  --sage: #B8C3AE;
  --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);
  /* the height of a whole phone frame for each picture, as a share of its width: the frame's padding plus the screen */
  --k-full: 2.09;   /* 780 x 1688 */
  --k-cut: 1.816;   /* 780 x 1460 */
  --k-plan: 1.612;  /* 780 x 1290 */
}
@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(--mf); color: #FFFFFF;
  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(--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(--mf); --rule: rgba(22, 20, 18, .16); }
.t-paper { --bg: var(--paper); --fg: var(--ink); --fg2: var(--ink-2); --acc: var(--mf); --rule: rgba(22, 20, 18, .14); }
.t-sand  { --bg: var(--sand); --fg: var(--ink); --fg2: var(--ink-2); --acc: var(--mf); --rule: rgba(22, 20, 18, .2); }
.t-mf    { --bg: var(--mf); --fg: #FFFFFF; --fg2: var(--sand); --acc: var(--sand); --rule: rgba(255, 255, 255, .24); --bb: #FFFFFF; --bf: var(--ink); --bh: var(--sand); --bhf: var(--ink); }
.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: #FFFFFF; --mast-on: var(--mf); }
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(--sand)); 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(--mf)); } }
/* How I work with you is a main page (NAV.md): it sits in the masthead beside the pill, in the masthead's colour on
   every screen ("How I work" on phones and tablets, the full name on a desktop and on a phone on its side) */
.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 closing quote) 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);
}
.body { font-size: clamp(16px, 2.05svh, 18px); line-height: 1.48; 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; }
}

/* ---------- 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); background: #0E0D0C; aspect-ratio: 780 / 1688; }
.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);
}
.br .scrn { aspect-ratio: 1440 / 900; }
/* on his green the frames carry a thin light rim so a dark capture never melts into the ground */
.t-mf .ph-in { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2), 0 0 0 1px rgba(0, 0, 0, .35), 0 28px 50px -18px rgba(0, 0, 0, .55); }
.t-mf .br { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 28px 50px -18px rgba(0, 0, 0, .5); }
.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); }
/* his new pages are on black: a dark browser */
.dk.br { background: #0E0D0C; }
.dk .bar { background: #1E1D1B; border-bottom-color: rgba(255, 255, 255, .06); }
.dk .bar i { background: rgba(255, 255, 255, .22); }
.dk .scrn { background: #0E0D0C; }
.pc { position: relative; }

/* the small captions and names, in the label's face */
.cap, .rk, .cv-k, .tr-k, .fk, .dr-k, .sl-k, .rd dt, .sl dt {
  font-family: var(--font-mono); font-weight: 400; font-size: .75rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase;
}
.cap { color: var(--fg2); }
.rk, .cv-k, .tr-k, .fk { color: var(--fg); }
/* the tag that picks out his choice: his orange as a fill, ink type on it (7.94:1) */
.ch {
  display: inline-block; padding: 3px 7px 2px; border-radius: 999px; background: var(--orange); color: var(--ink);
  font-family: var(--font-mono); font-size: .6875rem; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}

/* =====================================================================
   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;
}
/* "directions" is a long word: the fact takes two lines on a phone, the figure over the word, as the homepage's tiles */
.op .fact { margin-top: clamp(8px, 1.6svh, 16px); font-size: min(18.6vw, 9.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 / var(--k-full))); right: calc(var(--m) * .6); bottom: calc(10cqh - 12px); }

/* =====================================================================
   2 · The ledger (Adam's pick, 14 Nov 2026, from 43a and its ledger.css): three rows ruled 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 disciplines set large, running on and wrapping, each closed by his sand full stop; Result, a large sentence,
   its key words in his sand. 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 the screen fills calmly. The sizes come from the window,
   never the words, so the five 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: rgba(255, 255, 255, .32); transform-origin: left center; }
.fr:first-child::before { height: 2px; background: #FFFFFF; }
.facts::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #FFFFFF; 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 dd { min-width: 0; }
/* the client: medium type; when, small, under it, in his sand (5.84:1 on his green) */
.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: the disciplines large, running on and wrapping, never inside a two word one ("Art
   direction"). 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 his sand */
.out { font-size: clamp(1.3125rem, 3.9svh, 2rem); font-weight: 500; letter-spacing: -.016em; line-height: 1.18; text-wrap: balance; max-width: 20em; }
.facts .acc, .facts .pd { color: var(--acc); }

/* =====================================================================
   3 to 13 · The screens of words and pictures. On a phone the words across the top and the picture under them, as
   big as the room left allows (a phone that is taller than the room runs off the foot of the screen, as the
   homepage's phones do); on a desktop the words on the left and the picture on the right
   ===================================================================== */
.cs .tx { flex: 0 0 auto; position: relative; z-index: 2; }
.cs .hx { margin-top: clamp(6px, 1.2svh, 12px); font-size: min(7.6vw, 3.9svh); line-height: 1.04; }
.cs .body { margin-top: clamp(8px, 1.6svh, 16px); }
.cs .body + .body { margin-top: clamp(6px, 1.1svh, 10px); }
.pic { position: relative; flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; margin-top: clamp(12px, 2.2svh, 22px); container-type: size; }
/* the short headings take more of the width */
.pg .hx, .w1 .hx, .w2 .hx { font-size: min(10.4vw, 5.2svh); line-height: 1.02; }
/* screens whose phones may run off the foot */
.ap, .bg, .pg, .w1 { padding-bottom: 0; }

/* ---------- 3 · the problem: the words, then a drawing at the foot ---------- */
.pr .pic { flex: 1 1 auto; justify-content: center; padding-top: clamp(4px, 1svh, 12px); container-type: normal; }
.draw {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1.5px solid rgba(22, 20, 18, .82); border-radius: 14px;
  background: var(--paper); color: var(--ink);
}
.dr-brand, .dr-site { display: flex; flex-direction: column; gap: clamp(8px, 1.4svh, 12px); padding: clamp(12px, 2svh, 18px) clamp(12px, 3.4vw, 18px); }
.dr-site { border-left: 1px solid var(--rule); }
.dr-k { color: var(--ink-2); }
.dr-logo { width: min(100%, clamp(64px, 13svh, 124px)); height: auto; }
.sw { display: flex; gap: 5px; }
.sw i { flex: 1 1 0; max-width: 24px; aspect-ratio: 1 / 1.25; border-radius: 4px; background: var(--c); }
.sw .sw-w { box-shadow: inset 0 0 0 1px rgba(22, 20, 18, .22); }
/* the readings, small and plain: kind to a site that is still his live site */
.rd div { display: flex; flex-direction: column; gap: 1px; padding: 6px 0; border-top: 1px solid var(--rule); }
.rd div:first-child { border-top: 0; padding-top: 0; }
.rd dt { color: var(--ink-2); font-size: .6875rem; }
.rd dd { font-size: clamp(1rem, 2.1svh, 1.125rem); line-height: 1.3; }
.dr .cap { margin-top: 8px; }

/* ---------- 4 · the approach: the top of his plan in a phone ---------- */
.ap .pic { align-items: center; }
.ph-plan { --pw: min(64vw, 280px, calc(100cqh / var(--k-plan) / .76)); flex: 0 0 auto; }
.ph-plan .scrn { aspect-ratio: 780 / 1290; background: #F3F2EF; }

/* ---------- 5 · Round 1: the tops of the three phones. His pick, Telemetry, across the top, ringed in his orange;
   Form Study and Connected side by side under it; each name under its picture. Sized to the room left, never past
   340px for his pick and 300px for the other two (the pictures are 600 wide) ---------- */
.r1 .pic { justify-content: center; }
.trio {
  --w2: min(calc((100cqw - 12px) / 2), 300px, calc((100cqh - 100px) / 2.2));
  --w1: min(100cqw, 340px, calc((100cqh - var(--w2) * 1.04 - 74px) / 1.04));
  display: grid; grid-template-columns: repeat(2, var(--w2)); justify-content: center; gap: 12px;
}
.tr { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tr.on { grid-column: 1 / 3; justify-self: center; width: var(--w1); }
.tr-s {
  display: block; width: 100%;
  overflow: hidden; border-radius: 12px 12px 4px 4px; background: #161412; padding: 3px 3px 0;
}
.tr-s img { width: 100%; height: auto; border-radius: 9px 9px 2px 2px; }
.tr.on .tr-s { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--orange); }
.tr-n { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tr.on .tr-n { margin-top: 2px; }

/* ---------- 6 · his words after Round 1: the whole screen, on his green ---------- */
.qt { justify-content: center; }
.say { margin: auto 0; }
.say-q { font-size: min(11.3vw, 6.4svh); line-height: 1.1; letter-spacing: -.03em; max-width: 21em; text-wrap: pretty; }
.say-q .acc { color: var(--acc); }
.say figcaption { margin-top: clamp(16px, 3svh, 32px); }

/* ---------- 7 and 8 · the rows of phones. On a phone they overlap a little, each in front of the one before, so
   they can be large; the names under them. Round 2 on a phone: see its own block, further down ---------- */
.pic:has(.row) { justify-content: center; }
.row { position: relative; flex: 0 0 auto; width: 100%; height: calc(var(--pw) * var(--k-full) + 26px); }
.row li { position: absolute; top: 0; left: calc(var(--k) * var(--dx)); width: var(--pw); display: flex; flex-direction: column; gap: 8px; }
.n3 { --pw: min(calc(100cqw / 2.1), calc((100cqh - 26px) / var(--k-full))); --dx: calc((100cqw - var(--pw)) / 2); }
.n4 { --pw: min(calc(100cqw / 2.5), calc((100cqh - 74px) / var(--k-full))); --dx: calc((100cqw - var(--pw)) / 3); }
.rk { white-space: nowrap; }

/* ---------- 9 and 11 to 12 · two phones side by side, each named (and for black or green, each with its case);
   on a phone the names over the phones, which may run off the foot ---------- */
.two .cap { margin-bottom: 10px; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; row-gap: 10px; align-items: start; }
.cv-1 { grid-column: 1; grid-row: 1; }
.cv-2 { grid-column: 2; grid-row: 1; }
.d-1 { grid-column: 1; grid-row: 2; }
.d-2 { grid-column: 2; grid-row: 2; }
.duo .ph { justify-self: center; --pw: min(calc((100cqw - 12px) / 2), calc((100cqh - 130px) / var(--k-full) / .74)); }
.cv { font-size: 1rem; line-height: 1.38; }
.cv-k { display: block; margin-bottom: 4px; }
.pg-m .ph, .pg-w .ph { --pw: min(calc((100cqw - 12px) / 2), calc((100cqh - 60px) / var(--k-cut) / .8)); }
.pg-m .scrn, .pg-w .scrn { aspect-ratio: 780 / 1460; }
.pg-m .cv-k, .pg-w .cv-k { margin-bottom: 0; }
.pg-d { display: none; }
.pg .pic, .w1 .pic { justify-content: center; }

/* 9 · his words, small, on his green, ahead of his question */
.say-s { display: inline-flex; flex-direction: column; gap: 6px; margin-top: clamp(8px, 1.6svh, 14px); padding: 12px 16px 11px; border-radius: 12px; background: var(--mf); color: #FFFFFF; }
.say-s p { font-weight: 500; font-size: clamp(1.125rem, 2.6svh, 1.375rem); letter-spacing: -.02em; line-height: 1.2; }
.say-a { color: var(--sand); }
.say-s figcaption { font-family: var(--font-mono); font-size: .75rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--sand); }
.bg .say-s + .body { margin-top: clamp(8px, 1.6svh, 14px); }

/* ---------- 10 · five fonts: two, then the one he chose across the full width, then two, sized to the room ---------- */
.fo .pic { align-items: center; justify-content: center; }
.fonts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; width: min(100cqw, calc((100cqh - 84px) / 1.067)); }
.fonts li { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 6px; }
.fonts img { width: 100%; height: auto; border-radius: 8px; background: #0E0D0C; }
.fonts .on { grid-column: 1 / 3; }
.fonts .on img { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--orange); }
.fonts .on img { margin-bottom: 2px; }

/* ---------- 13 · the record: as at a date, then where it stands ---------- */
.slate { margin-top: auto; padding-top: clamp(14px, 3svh, 28px); }
.sl-k { color: var(--fg2); }
.sl { margin-top: 8px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.sl div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); align-items: baseline; gap: 12px; padding: clamp(6px, 1.6svh, 16px) 0; }
.sl div + div { border-top: 1px solid var(--rule); }
.sl dt { color: var(--fg2); }
.sl dd { font-size: min(9.6vw, 5svh); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.now { margin-top: clamp(12px, 2.6svh, 26px); }
.now .body + .body { margin-top: clamp(4px, .8svh, 8px); }

/* =====================================================================
   14 · How we could work together: the heading, then three ruled points, each sharing out the height, then the 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: rgba(255, 255, 255, .3); 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); }
/* the quiet way on to How I work with you, under the points */
.more {
  display: inline-flex; align-self: flex-start; align-items: center; gap: .45em; min-height: 44px; margin-top: clamp(2px, 1svh, 12px);
  font-size: 1.0625rem; font-weight: 500; letter-spacing: -.012em; text-decoration: underline; text-underline-offset: .28em;
  text-decoration-thickness: 1px; text-decoration-color: rgba(255, 255, 255, .5);
}
.more .arr { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .more:hover { text-decoration-color: currentColor; } .more:hover .arr { transform: translateX(5px); } }

/* =====================================================================
   15 · 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 (and a window in split screen, see its own block)
   ===================================================================== */
@media (max-width: 599px) and (max-height: 740px) and (min-height: 521px), (max-width: 559px) and (max-height: 520px) {
  .cs .body, .op .res { font-size: 16px; line-height: 1.42; }
  .cs .hx { font-size: min(7vw, 3.8svh); }
  .pg .hx, .w1 .hx, .w2 .hx { font-size: min(9.4vw, 4.8svh); }
  .op .res { max-width: none; }
  .say-s { padding: 9px 14px 8px; }
  /* 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 (any window under 521px tall and 560px or more wide): words on the left, the
   picture on the right. No screen grows taller than the window
   ===================================================================== */
@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; 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 / 7; 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(10.4vw, 20svh); }
  .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: 7 / 13; grid-row: 1; margin: 0 calc(var(--m) * -1) 0 0; }
  .op .pc-a { left: 0; top: max(var(--pt), 14cqh); width: max(108cqw, 720px); }
  .op .pc-b { --pw: min(34cqw, 42cqh, 320px); right: max(calc(var(--m) + 2cqw), 6cqw); bottom: auto; top: max(30cqh, calc(100cqh - var(--pw) * var(--k-full) * .84)); }

  /* 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 client 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); }
  .out { font-size: clamp(1.5rem, min(3vw, 4.8svh), 3rem); line-height: 1.12; max-width: 21em; }
  .dis { font-size: min(6.6vw, 10svh); }

  /* 3 to 12 · the words on the left, the picture on the right */
  .cs { grid-template-rows: minmax(0, 1fr); align-items: center; padding-bottom: var(--pb); }
  .ap, .bg, .pg, .w1 { padding-bottom: var(--pb); }
  .cs .tx { grid-column: 1 / 6; grid-row: 1; }
  .cs .pic { grid-column: 7 / 13; grid-row: 1; height: 100%; margin: 0; justify-content: center; }
  .cs .hx { font-size: min(3.7vw, 6.6svh); }
  .pg .hx, .w1 .hx { font-size: min(4.6vw, 8.4svh); }
  .cs .body { font-size: clamp(1.0625rem, 2.3svh, 1.25rem); margin-top: clamp(12px, 2.4svh, 24px); max-width: 30em; }
  .cs .lab { margin-bottom: clamp(2px, .8svh, 8px); }

  /* 3 · the drawing, larger, standing on the right */
  .pr .pic { grid-column: 8 / 13; flex: none; height: auto; padding: 0; align-self: center; }
  .pr .tx { grid-column: 1 / 7; }
  .dr-brand, .dr-site { padding: clamp(18px, 3.4svh, 36px); gap: clamp(12px, 2.4svh, 24px); }
  .dr-logo { width: clamp(96px, 22svh, 210px); }
  .sw { gap: 8px; }
  .sw i { max-width: 44px; border-radius: 6px; }
  .rd div { padding: 10px 0; }
  .rd dt { font-size: .75rem; }
  .rd dd { font-size: clamp(1.0625rem, 2.3svh, 1.25rem); }
  .dr .cap { margin-top: 12px; }

  /* 4 · his plan, whole */
  .ap .tx { grid-column: 1 / 7; }
  .ph-plan { --pw: min(calc(100cqh / var(--k-plan)), 360px); }

  /* 5 · Round 1: the three side by side, each with its name under it */
  .r1 .tx { grid-column: 1 / 6; }
  .r1 .pic { grid-column: 6 / 13; }
  .v3 .tx, .r2 .tx { grid-column: 1 / 5; }
  .v3 .pic, .r2 .pic { grid-column: 5 / 13; }
  .v3 .hx, .r2 .hx { font-size: min(3.2vw, 6svh); }

  /* 6 · his words across the screen */
  .qt { grid-template-rows: minmax(0, 1fr); align-items: center; padding-bottom: var(--pb); }
  .say { grid-column: 1 / 12; grid-row: 1; margin: 0; }
  .say-q { font-size: min(4.4vw, 7.6svh); line-height: 1.08; max-width: 22em; }

  /* 7 and 8 · the phones side by side, each named under it */
  .row { display: flex; justify-content: center; gap: var(--gap); height: auto; }
  .row li { position: static; flex: 0 0 auto; }
  .n3 { --gap: clamp(12px, 1.4vw, 20px); --pw: min(calc((100cqw - 2 * var(--gap)) / 3), calc((100cqh - 30px) / var(--k-full)), 280px); }
  .n4 { --gap: clamp(10px, 1.2vw, 16px); --pw: min(calc((100cqw - 3 * var(--gap)) / 4), calc((100cqh - 52px) / var(--k-full)), 240px); }
  .rk { white-space: normal; }

  /* 9, 11 and 12 · two phones side by side, the names and cases under them */
  .duo { column-gap: clamp(14px, 1.6vw, 24px); row-gap: 12px; justify-content: center; grid-template-columns: auto auto; }
  .cv-1 { grid-row: 2; } .cv-2 { grid-row: 2; }
  .d-1, .d-2 { grid-row: 1; }
  .cv { max-width: var(--cvw, 15em); }
  .two .cap { order: 2; margin: clamp(10px, 1.8svh, 18px) 0 0; text-align: center; }
  .duo .ph { --pw: min(calc((100cqw - 24px) / 2), calc((100cqh - 150px) / var(--k-full)), 300px); }
  .bg .cv { --cvw: calc(var(--pw) + 1em); }
  .pg-w .ph { --pw: min(calc((100cqw - 24px) / 2), calc((100cqh - 40px) / var(--k-cut)), 320px); }
  .bg .tx, .w1 .tx { grid-column: 1 / 6; }

  /* 10 · the fonts */
  .fo .tx { grid-column: 1 / 6; }
  .fonts { gap: clamp(12px, 2svh, 20px) clamp(10px, 1.2vw, 16px); width: min(100cqw, calc((100cqh - 90px) / 1.067), 640px); }

  /* 11 · the pages: on a desktop, in a browser, one above the other */
  .pg-m { display: none; }
  .pg-d { display: flex; flex-direction: column; align-items: center; gap: clamp(12px, 2svh, 20px); }
  .pg-d li { width: min(100cqw, calc(((100cqh - 60px) / 2 - 26px) * 1.6)); }
  .bar .bt { margin-left: 10px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }

  /* 13 · the record: the heading and its line across the top, the slate set large across the middle, where it stands
     at the foot */
  .cs.w2 { grid-template-rows: auto minmax(0, 1fr) auto; padding-bottom: var(--pb); }
  .cs.w2 .tx { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: end; }
  .cs.w2 .tx .lab { grid-column: 1 / 13; }
  .cs.w2 .hx { grid-column: 1 / 8; font-size: min(5.6vw, 9.6svh); }
  .cs.w2 .tx .body { grid-column: 8 / 13; margin: 0; padding-bottom: .3em; }
  .slate { grid-column: 1 / 13; align-self: center; margin: 0; padding: 0; }
  .sl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gut); margin-top: 10px; }
  .sl div { grid-template-columns: 1fr; gap: 6px; padding: clamp(12px, 2.4svh, 24px) 0; }
  .sl div + div { border-top: 0; border-left: 1px solid var(--rule); padding-left: clamp(14px, 1.6vw, 24px); }
  .sl dd { font-size: min(5.4vw, 10svh); }
  .now { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); margin: 0; }
  .now .body { grid-column: 1 / 7; margin: 0; max-width: 26em; }
  .now .body + .body { grid-column: 7 / 13; margin: 0; }

  /* 14 · how we could work together: the heading across the top, then one ruled line to a point, its number on the
     left, then the way on */
  .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(10px, 2svh, 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.2svh); line-height: 1.16; letter-spacing: -.025em; max-width: 22em; }
  .more { grid-column: 2 / 13; grid-row: 3; justify-self: start; font-size: clamp(1.0625rem, 2.2svh, 1.25rem); }

  /* 15 · 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; the rows of phones side by side
   ===================================================================== */
@media (min-width: 600px) and (max-width: 1023px) and (min-height: 521px) {
  .op .fact { font-size: min(14vw, 11svh); }
  .cli { font-size: clamp(1.375rem, 2.6svh, 1.75rem); }
  .when { font-size: 1.125rem; }
  .out { font-size: clamp(1.5rem, 3svh, 2.125rem); line-height: 1.16; }
  .dis { font-size: min(9vw, 6.4svh); }
  .op .pn { font-size: min(4vw, 3.4svh); }
  .op .res { font-size: 19px; }
  .op .pc-b { --pw: min(34cqw, calc(88cqh / var(--k-full))); right: calc(var(--m) * 1.5); }
  .cs .hx { font-size: min(5.6vw, 4.6svh); }
  .pg .hx, .w1 .hx, .w2 .hx { font-size: min(7.4vw, 6svh); }
  .ph-plan { --pw: min(46vw, 340px, calc(100cqh / var(--k-plan) / .8)); }
  .say-q { font-size: min(7vw, 5.4svh); }
  .row { display: flex; justify-content: center; gap: 16px; height: auto; }
  .row li { position: static; flex: 0 0 auto; }
  .n3 { --pw: min(calc((100cqw - 32px) / 3), calc((100cqh - 30px) / var(--k-full))); }
  .n4 { --pw: min(calc((100cqw - 48px) / 4), calc((100cqh - 52px) / var(--k-full))); }
  .rk { white-space: normal; }
  .duo { justify-content: center; grid-template-columns: auto auto; column-gap: 20px; }
  .duo .ph { --pw: min(calc((100cqw - 20px) / 2), calc((100cqh - 130px) / var(--k-full) / .8), 300px); }
  .pg-m .ph, .pg-w .ph { --pw: min(calc((100cqw - 20px) / 2), calc((100cqh - 60px) / var(--k-cut) / .86), 300px); }
  .cv { max-width: 17em; }
  .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; }

  /* 1 · the opening: the fact on one line, the pictures a little smaller */
  .op .pn { font-size: clamp(1.25rem, 5.6svh, 1.75rem); }
  .op .fact { margin-top: clamp(4px, 1.6svh, 10px); font-size: min(7.6vw, 17svh); }
  .op .fact .fl { display: inline; }
  .op .res { margin-top: clamp(8px, 2.6svh, 14px); font-size: clamp(1rem, 4.6svh, 1.25rem); max-width: 19em; }
  .op .pc-a { top: var(--pt); width: max(118cqw, 480px); }
  .op .pc-b { --pw: min(34cqw, 50cqh, 200px); 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; }
  .out { font-size: clamp(1rem, 4.6svh, 1.25rem); line-height: 1.2; max-width: 32em; }
  .dis { font-size: min(5vw, 9.4svh); }

  /* 3 to 13 · the words a little smaller, the text column a little wider */
  .cs .tx { grid-column: 1 / 8; align-self: center; }
  .cs .pic { grid-column: 8 / 13; }
  .cs .hx, .pg .hx, .w1 .hx { font-size: clamp(1.125rem, 6.2svh, 1.75rem); }
  .cs .body { font-size: 1rem; line-height: 1.4; margin-top: clamp(6px, 2svh, 12px); }
  .cs .body + .body { margin-top: 4px; }
  .cs .lab { margin-bottom: 0; }
  .pr .pic { grid-column: 8 / 13; }
  .dr-brand, .dr-site { padding: 12px; gap: 8px; }
  .dr-logo { width: clamp(56px, 16svh, 84px); }
  .rd div { padding: 4px 0; }
  .rd dd { font-size: 1rem; }
  .r1 .tx { grid-column: 1 / 6; }
  .r1 .pic { grid-column: 6 / 13; }
  .trio { display: flex; gap: 12px; align-items: flex-start; justify-content: center; }
  .tr, .tr.on { flex: 1 1 0; width: auto; }
  .tr-s { width: min(100%, calc((100cqh - 60px) / 1.04)); }
  .tr-n { gap: 6px; }
  .say-q { font-size: clamp(1.25rem, 7.4svh, 2.25rem); }
  .say figcaption { margin-top: 12px; }
  .say-s { padding: 8px 12px 7px; gap: 3px; }
  .say-s p { font-size: 1.125rem; }
  .duo { row-gap: 6px; }
  .duo .ph { --pw: min(calc((100cqw - 24px) / 2), calc((100cqh - 150px) / var(--k-full))); }
  .pg-w .ph { --pw: min(calc((100cqw - 24px) / 2), calc((100cqh - 30px) / var(--k-cut))); }
  .cv { font-size: 1rem; line-height: 1.32; }
  .two .cap { margin-top: 6px; }
  /* the pages: as on a phone, two phones side by side */
  .pg-m { display: grid; }
  .pg-d { display: none; }
.pg .pic, .w1 .pic { justify-content: center; }
  .pg-m .ph { --pw: min(calc((100cqw - 24px) / 2), calc((100cqh - 60px) / var(--k-cut))); }
  .fonts { gap: 8px; width: min(100cqw, calc((100cqh - 70px) / 1.067)); }
  .fonts li { row-gap: 3px; }
  .fonts { width: min(100cqw, calc((100cqh - 92px) / 1.067)); }
  .fk { font-size: .6875rem; letter-spacing: .03em; }
  /* black or green: the two cases join the words on the left, so the two phones on the right can be larger */
  .cs.bg { grid-template-rows: auto auto auto; align-content: center; }
  .cs.bg .tx { grid-column: 1 / 8; grid-row: 1; align-self: end; }
  .bg .pic, .bg .duo { display: contents; }
  .bg .cv-1, .bg .cv-2 { grid-row: 2; align-self: start; margin-top: 10px; max-width: none; padding-right: 8px; }
  .bg .cv-1 { grid-column: 1 / 4; }
  .bg .cv-2 { grid-column: 4 / 8; }
  .bg .d-1, .bg .d-2 { --pw: min(calc((100svh - var(--pt) - var(--pb) - 34px) / var(--k-full)), 130px); grid-column: 8 / 13; grid-row: 1 / 3; justify-self: center; align-self: center; }
  .bg .d-1 { margin-right: calc(var(--pw) + 16px); }
  .bg .d-2 { margin-left: calc(var(--pw) + 16px); }
  .bg .cap { grid-column: 8 / 13; grid-row: 3; margin: 6px 0 0; text-align: center; }
  .cs.w2 .hx { font-size: clamp(1.25rem, 8svh, 2.25rem); }
  .cs.w2 .tx { grid-column: 1 / 13; align-self: start; }
  .sl { margin-top: 4px; }
  .sl div { padding: clamp(4px, 1.6svh, 10px) 0; gap: 2px; }
  .sl dd { font-size: clamp(1.25rem, 8.6svh, 2.5rem); }
  .now .body { font-size: 1rem; }

  /* 14 · 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 { min-height: 40px; margin-top: 2px; font-size: 1rem; }

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

/* =====================================================================
   Round 2 on a phone, upright, on its side or in split screen: the tops of the four phones, two by two, cut as
   Round 1's are (the top 48% of each screen: Seb is the only real person in the first), each with its whole name
   under it. Sized to the room left; at least 20px under the words
   ===================================================================== */
@media (max-width: 599px) and (min-height: 521px), (max-width: 559px) and (max-height: 520px), (min-width: 560px) and (max-height: 520px) {
  .r2 .pic { margin-top: clamp(20px, 2.6svh, 26px); }
  .r2 .row {
    --cw: min(calc((100cqw - 12px) / 2), 240px, calc((100cqh - 100px) / 2.08));
    display: grid; grid-template-columns: repeat(2, var(--cw)); justify-content: center; gap: 12px; height: auto;
  }
  .r2 .row li { position: static; width: var(--cw); gap: 6px; }
  .r2 .ph { --pw: var(--cw); width: 100%; }
  .r2 .ph .ph-in { padding: 3px 3px 0; border-radius: 12px 12px 4px 4px; }
  .r2 .ph .scrn { aspect-ratio: 1 / 1.04; border-radius: 9px 9px 2px 2px; }
  .r2 .rk { white-space: normal; font-size: .6875rem; letter-spacing: .03em; }
}
/* on its side the four tops sit in one row, the words a little narrower, so every name has the room it needs */
@media (min-width: 560px) and (max-height: 520px) {
  .cs.r2 .tx { grid-column: 1 / 6; }
  .r2 .pic { grid-column: 6 / 13; margin-top: 0; }
  .r2 .row { --cw: min(calc((100cqw - 36px) / 4), calc((100cqh - 64px) / 1.04)); grid-template-columns: repeat(4, var(--cw)); gap: 12px; }
}
/* the narrowest phones on their side (560 to 719px wide): black or green gives the longer case, Black's, the wider
   of the two columns, so the two cases and the caption under the phones fit the short window */
@media (min-width: 560px) and (max-width: 719px) and (max-height: 520px) {
  .bg .cv-1 { grid-column: 1 / 5; }
  .bg .cv-2 { grid-column: 5 / 8; }
}

/* =====================================================================
   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, since the height no longer limits
   it, and the pictures take heights of their own 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 { font-size: min(18.6vw, 96px); }
  .op-p { flex: 0 0 auto; height: 300px; }
  .cli, .out { font-size: 1.125rem; }
  .dis { font-size: min(11vw, 44px); }
  .cs .hx { font-size: min(7.4vw, 30px); }
  .pg .hx, .w1 .hx, .w2 .hx { font-size: min(10.4vw, 40px); }
  .ap .pic, .r1 .pic, .v3 .pic, .r2 .pic, .bg .pic, .fo .pic, .pg .pic, .w1 .pic { flex: 0 0 auto; height: 360px; }
  .r1 .pic, .r2 .pic, .fo .pic { height: 420px; }
  .ap .pic { height: 320px; }
  /* the two phones run off the foot under their names, never up over the words */
  .pg .pic, .w1 .pic { justify-content: flex-start; }
  .say-q { font-size: min(11.3vw, 44px); }
  .sl dd { font-size: min(9.6vw, 40px); }
  .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 and the slate: 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);
}

/* 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 counts up as it 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 on its side the opening's fact runs on one line */
@media (min-width: 560px) and (max-height: 520px) { .op .fact .fl { display: inline; } }


/* =====================================================================
   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 .dis li { transform: none !important; }
.rm .btn::before, .rm .arr, .rm .mlink { transition: none !important; }
