/* Hushero, the case study as a deck. Built from 30 (the ClearMile deck): the homepage's system (29), the same grounds,
   masthead, deck, type, device frames and motion language, copied here so this page stands on its own. Then the case
   study's eleven screens: the tile opened to the whole screen, the facts, the idea, the approach with its drawing (one
   adventure, a part each evening, each part ending on a small cliffhanger), what I did in three (the brand's mark, the
   screens and the build, the content), the check in, where it stands, how we could work together, and the close, then
   the footer strip. The base rules are the page with no script: every screen in normal flow, every word in place.
   Every screen is exactly one window tall at every size and in every orientation, so one flick always moves one
   screen: a phone on its side takes the desktop's arrangement (words beside pictures), which fits a short, wide
   window, instead of letting screens grow taller than the window (see ../ENGINE.md). The one exception is a window
   too small for either arrangement (under 560px wide and 520px or less tall, a phone app in split screen): there a
   screen grows to its content, so every word and link can still be reached. */

:root {
  --m: 16px;
  --gut: 12px;
  --mast: 56px;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --pt: calc(var(--mast) + var(--sat) + clamp(4px, 1.2svh, 12px));
  --pb: calc(clamp(16px, 2.6svh, 28px) + var(--sab));
  --ink: #161412;
  --ink-2: #5E574F;
  --bone: #F3EFE7;
  --paper: #FBF8F2;
  --night: #0E0D0C;
  --chalk: #F3EFE7;
  --chalk-2: #A9A196;
  --green: #4FB37E;
  --green-d: #1F7A4C;
  /* Hushero's own colours: plum with cream type and lavender labels; apricot only for the full stops of the brand */
  --plum: #1C0C27;
  --plum-2: #2A1838;
  --cream: #FBF5EC;
  --lav: #C4B8F0;
  --apricot: #EF8A5C;
  /* the lavender, deepened so it reads as text and as a line on the light grounds (6.8:1 on bone) */
  --lav-d: #5B4396;
  --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(--plum); 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 { 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(--lav-d); --rule: rgba(22, 20, 18, .16); }
.t-paper { --bg: var(--paper); --fg: var(--ink); --fg2: var(--ink-2); --acc: var(--lav-d); --rule: rgba(22, 20, 18, .14); }
.t-plum  { --bg: var(--plum); --fg: var(--cream); --fg2: var(--lav); --acc: var(--lav); --stop: var(--apricot); --rule: rgba(251, 245, 236, .16); --bb: var(--cream); --bf: var(--plum); --bh: var(--lav); --bhf: var(--plum); }
.t-lav   { --bg: var(--lav); --fg: var(--plum); --fg2: #3A2950; --acc: #4A2F7A; --rule: rgba(28, 12, 39, .24); }
.t-green { --bg: var(--green); --fg: var(--ink); --fg2: var(--ink); --acc: var(--ink); --rule: rgba(22, 20, 18, .28); --bb: var(--ink); --bf: var(--bone); --bh: var(--bone); --bhf: var(--ink); }

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

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

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

/* ---------- device frames around real captures, as the homepage draws them ---------- */
.dev { position: relative; }
.scrn { position: relative; overflow: hidden; background: #fff; }
.scrn img, .scrn video { 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); }
/* on the plum the frames carry a thin light rim so a dark capture never melts into the ground */
.t-plum .ph-in { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2), 0 0 0 1px rgba(0, 0, 0, .5), 0 28px 50px -18px rgba(0, 0, 0, .7); }
.t-plum .scrn { background: var(--plum-2); }
.pc { position: relative; }
/* a photograph from the Hushero website: its own rounded box, no browser bar (it is a photo, not a page) */
.photo { margin: 0; border-radius: 10px; overflow: hidden; background: var(--plum-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.t-plum .photo { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 28px 50px -18px rgba(0, 0, 0, .6); }
.t-bone .photo, .t-paper .photo { box-shadow: 0 1px 2px rgba(22, 20, 18, .1), 0 18px 40px -18px rgba(22, 20, 18, .35); }

/* the one small label 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 tile, opened. On a phone the name, the fact and the line across the top, the pictures below,
   the photograph 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(--stop, 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;
}
/* "App Store" stands on two lines, as on the homepage's tile on a phone */
.op .fact { margin-top: clamp(8px, 1.8svh, 18px); font-size: min(28vw, 11.5svh); }
.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(62cqh / .65)); }
.op .pc-a .photo { aspect-ratio: 1400 / 910; }
.op .pc-b { --pw: min(50cqw, calc(90cqh / 2.1)); right: calc(var(--m) * .6); bottom: calc(8cqh - 12px); }
.op .pc-b .scrn { aspect-ratio: 1320 / 2868; }

/* =====================================================================
   2 · The Ledger (Adam's pick, 43a, 14 Nov 2026): three ruled rows, a heavy rule top and bottom, a fine rule between.
   Business, in medium type, with when, small, under it; What I did, the hero, the disciplines set large, running on and
   wrapping (never inside "Product design"), each closed by the lavender full stop; Result, a large sentence with its
   key words in the lavender. Each row's mono label over its words on a phone. The rows share the room left over, the
   most of it going to what I did. The sizes come from the window, never the words, as on the other four case studies
   (../../43a-crr-ledger/ledger.css)
   ===================================================================== */
.bf { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; margin-top: clamp(8px, 2.4svh, 28px); }
.br { 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); }
.br::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(251, 245, 236, .3); transform-origin: left center; }
.br:first-child::before { height: 2px; background: var(--cream); }
.bf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cream); transform-origin: left center; }
.br dt { font-family: var(--font-mono); font-size: .75rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--lav); }
/* the business: the name and what it is in one sentence; when it was submitted, small, under it */
.br-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: sized for the longest list (six, with "Manufacturing") on a short phone, never for its own words */
.br-work { flex-grow: 1.25; }
.wk { font-size: min(13vw, 6.2svh); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.wk li { display: inline-block; white-space: nowrap; }
/* the result */
.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; }
.bf .acc, .bf .pd { color: var(--acc); }

/* =====================================================================
   3 · The idea: the words across the top, the bedroom in the dark under them
   ===================================================================== */
.hi .hx { margin-top: clamp(6px, 1.2svh, 12px); font-size: min(10.4vw, 5.4svh); line-height: 1.02; }
.hi .body { margin-top: clamp(10px, 1.8svh, 18px); font-size: clamp(16px, 2.3svh, 20px); }
.hi-p { flex: 1 1 0; min-height: 0; margin: clamp(16px, 3svh, 32px) calc(var(--m) * -1) 0 0; display: flex; align-items: flex-end; }
.hi-p .photo { width: 100%; height: 100%; max-height: calc((100vw - var(--m)) * .9); border-radius: 10px 0 0 10px; }
.hi-p .photo img { object-position: 64% 50%; }

/* =====================================================================
   4 · How I approached it: the drawing on top on a phone, the words under it; on a desktop the words on the left and
   the drawing standing on the right
   ===================================================================== */
.ap { --capH: 24px; --mapH: min(clamp(200px, 44svh, 400px), calc(92vw + var(--capH))); }
.ap-d {
  --dA: calc(var(--mapH) - var(--capH)); --dW: min(calc(100vw - 2 * var(--m)), calc(var(--dA) * 1.9)); --dH: min(var(--dA), calc(var(--dW) * .92));
  order: -1; flex: 0 0 auto; height: var(--mapH); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; color: var(--ink);
}
.ap-t { margin-top: clamp(14px, 3svh, 34px); }
.ap .hx { margin-top: clamp(6px, 1.2svh, 12px); font-size: min(7.6vw, 4svh); line-height: 1.04; }
.ap .body { margin-top: clamp(10px, 1.6svh, 16px); }

/* ---------- the drawing: one adventure, four parts, each part stopping on its cliffhanger ----------
   Across, everything is measured in hundredths of the drawing's width (cqw); down, in eightieths of its height
   (1.25cqh), so at five wide by four high a unit is the same both ways. Each part steps down from the last; its line
   runs out past its edge and stops on a dot (the cliffhanger), then a dashed drop leads into the next evening's part */
.draw { position: relative; flex: 0 0 auto; width: var(--dW); height: var(--dH); container-type: size; }
.frame { position: absolute; z-index: 1; left: 0; top: 0; width: 100cqw; height: 100cqh; border: 1.5px solid var(--ink); border-radius: 2.4cqw; }
.fr-t { display: flex; align-items: center; height: 12.5cqh; padding: 0 3cqw; font-weight: 500; font-size: clamp(13px, 3.2cqw, 21px); letter-spacing: -.01em; line-height: 1; }
.part {
  position: absolute; z-index: 3; left: calc(var(--x) * 1cqw); top: calc(var(--y) * 1.25cqh); width: 32cqw; height: 13.75cqh;
  display: flex; align-items: center; gap: 1.8cqw; padding: 0 2.2cqw; border-radius: 1.8cqw;
  background: var(--paper); border: 1.5px solid rgba(22, 20, 18, .82); color: var(--ink);
}
.tn { font-family: var(--font-mono); font-size: clamp(12px, 2.2cqw, 15px); letter-spacing: .06em; color: var(--ink-2); }
.tlb { font-weight: 500; font-size: clamp(13px, 3.3cqw, 22px); letter-spacing: -.01em; line-height: 1.1; white-space: nowrap; }
/* the cliffhanger: the part's line runs out past its edge and stops on a dot */
.hook { position: absolute; z-index: 2; left: calc(var(--x) * 1cqw); top: calc(var(--y) * 1.25cqh); width: 4cqw; height: 1.5px; margin-top: -.75px; background: var(--lav-d); transform-origin: 0 50%; }
.hook::after { content: ""; position: absolute; right: -1.3cqw; top: 50%; width: 2.6cqw; height: 2.6cqw; margin-top: -1.3cqw; border-radius: 50%; background: var(--lav-d); }
/* the night between: a dashed drop from the dot to the next evening's part */
.drop { position: absolute; z-index: 1; left: calc(var(--x) * 1cqw); top: calc(var(--y) * 1.25cqh + 1.3cqw); width: 1.5px; height: calc(var(--h) * 1.25cqh - 1.3cqw); margin-left: -.75px; background: repeating-linear-gradient(to bottom, var(--ink-2) 0 4px, transparent 4px 9px); transform-origin: 50% 0; }
.drop.tail { -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }
.note { position: absolute; z-index: 2; left: 45cqw; font-family: var(--font-mono); font-size: clamp(12px, 2.1cqw, 13px); line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; transform: translateY(-50%); }
.note.n1 { top: calc(19.5 * 1.25cqh); color: var(--lav-d); }
.note.n2 { top: calc(26.2 * 1.25cqh); }
.drawn {
  width: var(--dW); margin-top: 6px; font-family: var(--font-mono); font-size: .75rem; line-height: 1.4; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-2);
}

/* =====================================================================
   5 to 7 · What I did: the words across the top, the picture under them, as big as the room allows. A phone
   capture that is taller than the room left runs off the foot of the screen, as the homepage's phones do
   ===================================================================== */
.did { padding-bottom: 0; }
.did-t { flex: 0 0 auto; }
.did .hx { margin-top: clamp(6px, 1.2svh, 12px); font-size: min(7.6vw, 3.9svh); line-height: 1.04; }
.did-p { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 1.4svh, 12px); margin-top: clamp(12px, 2.2svh, 22px); }
.did-p .ph { --pw: min(76vw, 300px); flex: 0 0 auto; }

/* 5 · the brand: the heading's own full stop in apricot, as the mark's; the mark as large as the room allows */
.did-br { padding-bottom: var(--pb); }
.did-br .hx { font-size: min(10.4vw, 5.4svh); line-height: 1.02; }
.did-br .hx .pd { color: var(--apricot); }
.mk { justify-content: center; container-type: size; }
/* the mark is cropped to its own bounds (the h and its dot sit at 309 to 754 across and 234 to 760 down in a 1024
   square): the box takes their shape and the picture is placed so they fill it. The h and its full stop are the same
   picture twice, each cut to its part, so the stop can land on its own */
.mk-in { position: relative; width: min(52cqw, calc(80cqh * 445 / 526)); aspect-ratio: 445 / 526; }
.mk-in img { position: absolute; left: -69.438%; top: -44.487%; width: 230.112%; max-width: none; height: auto; }
.mk-h { clip-path: inset(0 35% 0 0); }
.mk-d { clip-path: inset(0 0 0 65%); transform-origin: 70.2% 70.4%; }

/* 6 · the screens and the build: two lines and the note under them, then the parent check */
.did-ph .hx { font-size: min(6.8vw, 3.5svh); }
.did-ph .hx-2 { margin-top: clamp(10px, 1.8svh, 18px); }
.did-ph .body { margin-top: clamp(8px, 1.4svh, 14px); max-width: 26em; }
.did-ph .scrn { aspect-ratio: 1320 / 2868; }

/* 7 · the content: three reels, the middle one in front, the other two standing a little back on either side */
.did-rl { padding-bottom: var(--pb); }
.reels { position: relative; display: block; container-type: size; }
.reel { position: absolute; left: 50%; top: 50%; margin: 0; }
.reel .scrn { aspect-ratio: 540 / 960; background: var(--plum-2); }
.reel .scrn video { width: 100%; height: 100%; object-fit: cover; }
/* on a phone all three keep inside the gutters: the two at the sides stand with their outer edges on the gutters,
   tucked behind the middle one, never cut by the edge of the screen. On a wider screen they stand further apart
   (--d, from the middle to the centre of a side reel) */
.reels { --c: min(56cqw, calc(92cqh / 1.73)); --s: calc(var(--c) * .74); --d: calc(50cqw - var(--s) * .5); }
@media (min-width: 600px) { .reels { --d: calc(var(--c) * .5 + var(--s) * .32); } }
.r-b { z-index: 2; transform: translate(-50%, -50%); }
.r-a, .r-c { z-index: 1; }
.reels .r-b .ph { --pw: var(--c); }
.reels .r-a .ph, .reels .r-c .ph { --pw: var(--s); }
/* the two at the sides sit a little in shadow, so the middle one leads */
.r-a .scrn::after, .r-c .scrn::after { content: ""; position: absolute; inset: 0; background: rgba(28, 12, 39, .38); pointer-events: none; }
.r-a { transform: translate(calc(-50% - var(--d)), -46%); }
.r-c { transform: translate(calc(-50% + var(--d)), -46%); }

/* =====================================================================
   8 · A detail: the check in, on lavender. The words across the top, the app's orb as large as the room allows
   ===================================================================== */
.dt { padding-bottom: var(--pb); }
.dt .hx { margin-top: clamp(6px, 1.2svh, 12px); font-size: min(10.4vw, 5.4svh); line-height: 1.02; }
.dt .body { margin-top: clamp(8px, 1.6svh, 16px); font-size: clamp(16px, 2.3svh, 20px); }
/* the game line (14 Nov 2026): set as the body under it, its lines evened out so none is left with a word or two */
.dt-game { text-wrap: balance; }
.dt-p { flex: 1 1 0; min-height: 0; margin-top: clamp(14px, 2.6svh, 28px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; container-type: size; }
.orb {
  --ow: min(100cqw, calc(100cqh - 34px)); position: relative; flex: 0 0 auto; width: var(--ow); aspect-ratio: 1; border-radius: 8%; overflow: hidden;
  background: #22152F; box-shadow: 0 1px 2px rgba(28, 12, 39, .2), 0 22px 44px -18px rgba(28, 12, 39, .55); container-type: inline-size;
}
.orb-img { width: 100%; height: 100%; transition: opacity .6s ease, transform .8s var(--e-out); }
.orb-ring { position: absolute; left: 50%; top: 50%; width: 58%; aspect-ratio: 1; margin: -29% 0 0 -29%; border: 2px solid var(--apricot); border-radius: 50%; opacity: 0; pointer-events: none; }
.orb-win { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5cqw; pointer-events: none; }
.stars { display: flex; gap: 2.4cqw; }
.stars i { width: 10cqw; aspect-ratio: 1; background: var(--apricot); clip-path: polygon(50% 0, 61.8% 35.5%, 100% 36.2%, 69.1% 58.8%, 80.9% 95.1%, 50% 72.9%, 19.1% 95.1%, 30.9% 58.8%, 0 36.2%, 38.2% 35.5%); transform: scale(0); }
.orb-say { font-size: max(16px, 6.4cqw); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; color: var(--cream); opacity: 0; text-align: center; padding: 0 8cqw; }
.orb-hit { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: inherit; background: transparent; color: var(--cream); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.orb-hit:focus-visible { outline: 2px solid var(--cream); outline-offset: -8px; border-radius: 6%; }
.orb-tip { flex: 0 0 auto; font-family: var(--font-mono); font-size: .75rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--fg2); transition: opacity .4s ease; }
.orb.on .orb-img { opacity: .04; transform: scale(.92); }
.orb.on .stars i { transform: none; transition: transform .55s var(--e-out) calc(.35s + var(--k) * .13s); }
.orb.on .orb-say { opacity: 1; transition: opacity .7s ease 1.1s; }
.orb.on .orb-ring { animation: orb-ring 1.3s var(--e-out) both; }
.orb.on ~ .orb-tip { opacity: 0; }
@keyframes orb-ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }

/* =====================================================================
   9 · Where it stands: the words, the reading chair, and the slate
   ===================================================================== */
.ws5 { padding-bottom: var(--pb); }
.ws5 .hx { margin-top: clamp(6px, 1.2svh, 12px); font-size: min(8.8vw, 4.6svh); line-height: 1.02; }
.ws5 .body { margin-top: clamp(8px, 1.6svh, 16px); font-size: clamp(16px, 2.2svh, 19px); max-width: 26em; }
.ws5-p { flex: 1 1 0; min-height: 0; margin-top: clamp(14px, 2.6svh, 26px); }
.ws5-p .photo { height: 100%; }
.ws5-p .photo img { object-position: 30% 55%; }
.slate { margin-top: clamp(12px, 2.2svh, 22px); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.sl { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: clamp(7px, 1.2svh, 12px) 0; }
.sl + .sl { border-top: 1px solid var(--rule); }
.sl dt { font-family: var(--font-mono); font-size: .75rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.sl dd { font-size: clamp(1.0625rem, 2.4svh, 1.25rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.2; text-align: right; }

/* =====================================================================
   10 · How we could work together: the heading, then three ruled points, each sharing out the height, then 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(10px, 2svh, 24px) 0; }
.pts li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(251, 245, 236, .28); transform-origin: left center; }
.pts .n { padding-top: .55em; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; color: var(--acc); }
.pts p { font-size: min(5.8vw, 3.1svh); 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 rgba(251, 245, 236, .28); }
.more a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: clamp(46px, 6.4svh, 58px); font-size: clamp(1.0625rem, 2.3svh, 1.25rem); font-weight: 500; letter-spacing: -.015em; text-decoration: none; color: var(--lav); }
.more .arr { font-size: 1.1em; }
@media (hover: hover) and (pointer: fine) { .more a:hover .arr { transform: translateX(6px); } .more a:hover span:first-child { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1.5px; } }

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

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

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

/* =====================================================================
   Short phones: a little less of everything, so nothing is cut off
   ===================================================================== */
@media (max-width: 599px) and (max-height: 740px) and (min-height: 521px), (max-width: 559px) and (max-height: 520px) {
  .ap { --mapH: 34svh; }
  .ap .body { font-size: 16px; line-height: 1.45; }
  .ap .hx { font-size: min(7vw, 3.9svh); }
  .op .res { max-width: none; }
  .did-ph .body { font-size: 16px; line-height: 1.4; }
  .ws5 .hx { font-size: min(8.4vw, 4.4svh); }
  /* the close: the note closer under the links */
  .ways-note { margin-top: 0; }
}

/* a short phone in its browser (an iPhone SE in Safari, 375x548; a small Android, 360x560): the strip a little
   tighter and the close's group a touch lower, so with the strip showing the question's first line still clears the
   masthead's band rather than being clipped along its top */
@media (max-width: 559px) and (min-height: 521px) and (max-height: 600px) {
  .bk::before { flex-grow: 1.6; }
  .foot-in { padding-top: 12px; padding-bottom: 4px; }
  .ships { font-size: 28px; }
  .legal { margin-top: 0; }
}

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

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

  /* 2 · the Ledger: the label on the left (columns 1 to 3), on the line of its words; the words in columns 4 to 12.
     The business on one line takes less of the room left over */
  .fs { display: flex; flex-direction: column; padding-bottom: var(--pb); }
  .bf { margin-top: clamp(12px, 3svh, 36px); }
  .br { 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; }
  .br dt { grid-column: 1 / 4; font-size: .8125rem; }
  .br dd { grid-column: 4 / 13; }
  .br-cli { flex-grow: .45; }
  .br-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.6vw, 10svh); }

  /* 3 · the idea: the words on the left, the photograph on the right running off the far edge */
  .hi { grid-template-rows: minmax(0, 1fr); padding-bottom: var(--pb); align-items: center; }
  .hi-t { grid-column: 1 / 6; grid-row: 1; }
  .hi .hx { font-size: min(5vw, 8.6svh); }
  .hi .body { font-size: clamp(1.125rem, 2.6svh, 1.375rem); max-width: 22em; margin-top: clamp(16px, 3svh, 30px); }
  .hi-p { grid-column: 7 / 13; grid-row: 1; height: 100%; margin: 0 calc(var(--m) * -1) 0 0; align-items: center; }
  .hi-p .photo { height: auto; max-height: none; aspect-ratio: 1400 / 910; }

  /* 4 · the words on the left, the drawing standing on the right */
  .ap { grid-template-rows: minmax(0, 1fr); padding-bottom: var(--pb); align-items: center; }
  .ap-t { grid-column: 1 / 7; grid-row: 1; margin: 0; }
  .ap .hx { font-size: min(4.6vw, 7.8svh); }
  .ap .body { max-width: 28em; margin-top: clamp(14px, 2.6svh, 26px); }
  .ap .lab { margin-bottom: clamp(4px, 1svh, 10px); }
  .ap-d {
    --A: calc(100svh - var(--pt) - var(--pb)); --dW: min(calc((100vw - 2 * var(--m)) * .45), calc((var(--A) - var(--capH)) * 1.25)); --dH: calc(var(--dW) * .8);
    grid-column: 7 / 13; grid-row: 1; order: 0; height: auto; align-items: flex-end; justify-content: center;
  }

  /* 5 to 7 · the words on the left, the picture on the right, whole */
  .did { grid-template-rows: minmax(0, 1fr); padding-bottom: var(--pb); align-items: center; }
  .did-t { grid-column: 1 / 7; grid-row: 1; padding-bottom: clamp(0px, 4svh, 48px); }
  .did .hx { font-size: min(4vw, 6.8svh); }
  .did-p { grid-column: 7 / 13; grid-row: 1; height: 100%; margin: 0; justify-content: center; container-type: size; }
  .did-p .ph { --pw: min(calc((100cqh - 20px) / 2.09), 380px); }
  .did-br .hx { font-size: min(5vw, 8.6svh); }
  .mk-in { width: min(56cqw, calc(78cqh * 445 / 526)); }
  .did-ph .did-t { grid-column: 1 / 7; }
  .did-ph .hx { font-size: min(3.3vw, 5.6svh); }
  .did-ph .body { max-width: 24em; }
  .did-rl .did-t { grid-column: 1 / 6; }
  .did-rl .hx { font-size: min(4vw, 6.8svh); }
  .reels { grid-column: 6 / 13; margin: 0; --c: min(40cqw, calc(90cqh / 1.73)); --s: calc(var(--c) * .82); }

  /* 8 · the check in: the words on the left, the orb on the right */
  .dt { grid-template-rows: minmax(0, 1fr); align-items: center; }
  .dt-t { grid-column: 1 / 6; grid-row: 1; }
  .dt .hx { font-size: min(5vw, 8.6svh); }
  .dt .body { font-size: clamp(1.125rem, 2.6svh, 1.375rem); margin-top: clamp(14px, 2.6svh, 26px); }
  .dt-p { grid-column: 7 / 13; grid-row: 1; height: 100%; margin: 0; }
  .orb { --ow: min(86cqw, calc(100cqh - 40px), 620px); }

  /* 9 · where it stands: the words over the slate on the left, the reading chair on the right running off the edge */
  .ws5 { grid-template-rows: minmax(0, 1fr) auto; align-items: center; }
  .ws5-t { grid-column: 1 / 7; grid-row: 1; align-self: center; }
  .ws5 .hx { font-size: min(4.4vw, 7.6svh); max-width: 12em; }
  .ws5 .body { font-size: clamp(1.125rem, 2.6svh, 1.375rem); margin-top: clamp(14px, 2.6svh, 26px); }
  .ws5-p { grid-column: 8 / 13; grid-row: 1 / 3; align-self: center; height: auto; margin: 0 calc(var(--m) * -1) 0 0; }
  .ws5-p .photo { height: auto; aspect-ratio: 1400 / 910; border-radius: 10px 0 0 10px; }
  .slate { grid-column: 1 / 7; grid-row: 2; margin: 0; }
  .sl { padding: clamp(10px, 1.8svh, 18px) 0; }
  .sl dt { font-size: .8125rem; }
  .sl dd { font-size: clamp(1.25rem, 2.8svh, 1.625rem); }

  /* 10 · how we could work together: the heading across the top, then one ruled line to a point, its number on the
     left, and 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.4svh); 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; font-size: clamp(1.25rem, 2.8svh, 1.5rem); min-height: clamp(60px, 8svh, 76px); }

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

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

/* =====================================================================
   Tablets: the phone's layouts, with more room
   ===================================================================== */
@media (min-width: 600px) and (max-width: 1023px) and (min-height: 521px) {
  .op .fact { font-size: min(20vw, 12svh); }
  .op .pn { font-size: min(4vw, 3.4svh); }
  .op .res { font-size: 19px; }
  .op .pc-b { --pw: min(34cqw, calc(88cqh / 2.1)); right: calc(var(--m) * 1.5); }
  .cli { font-size: clamp(1.375rem, 2.6svh, 1.75rem); }
  .when { font-size: 1.125rem; }
  .say { font-size: clamp(1.5rem, 3svh, 2.125rem); line-height: 1.16; }
  .wk { font-size: min(9vw, 6.4svh); }
  .did-p .ph { --pw: min(46vw, 340px); }
  .ap .hx, .did .hx { font-size: min(5.6vw, 4.6svh); }
  .did-ph .hx { font-size: min(4.6vw, 3.6svh); }
  .ap { --mapH: clamp(200px, 40svh, 480px); }
  .ap-d { --dW: min(calc(100vw - 2 * var(--m)), calc(var(--dA) * 1.25)); }
  .hi-p .photo { max-height: calc((100vw - var(--m)) * .7); }
  .reels { --c: min(40cqw, calc(96cqh / 1.73)); --s: calc(var(--c) * .8); }
  .orb { --ow: min(80cqw, calc(100cqh - 34px)); }
  .pts p { font-size: min(4.2vw, 3.4svh); }
  .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: "App Store" on its two lines, held to the short window; the pictures a little smaller */
  .op-t { grid-column: 1 / 6; }
  .op .pn { font-size: clamp(1.25rem, 5.6svh, 1.75rem); }
  .op .fact { margin-top: clamp(4px, 1.6svh, 10px); font-size: min(12vw, 22svh); }
  .op .res { margin-top: clamp(8px, 2.6svh, 14px); font-size: clamp(1rem, 4.6svh, 1.25rem); max-width: 19em; }
  .op-p { grid-column: 6 / 13; }
  .op .pc-a { top: var(--pt); width: max(118cqw, 480px); }
  .op .pc-b { --pw: min(34cqw, 50cqh, 220px); right: max(var(--m), 7cqw); top: max(26cqh, calc(var(--pt) + 40px)); }

  /* 2 · the Ledger: the short window has the width, so the words run wider and smaller */
  .bf { margin-top: clamp(4px, 1.6svh, 10px); }
  .br { 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(5vw, 9.4svh); }

  /* 3 · the idea: the words on the left, the bedroom on the right */
  .hi-t { grid-column: 1 / 7; }
  .hi .hx { font-size: clamp(1.25rem, 7svh, 2rem); }
  .hi .body { margin-top: clamp(8px, 2.4svh, 14px); font-size: 1rem; line-height: 1.42; }

  /* 4 · the approach: the words on the left, the drawing on the right */
  .ap-t { grid-column: 1 / 7; }
  .ap .lab { margin-bottom: 0; }
  .ap .hx { font-size: clamp(1.25rem, 6.4svh, 1.75rem); }
  .ap .body { margin-top: clamp(6px, 2svh, 12px); font-size: 1rem; line-height: 1.42; }

  /* 5 to 7 · what I did: the words on the left, the picture on the right */
  .did-t { grid-column: 1 / 7; padding-bottom: 0; }
  .did .hx, .did-br .hx { font-size: clamp(1.25rem, 7svh, 2rem); }
  /* the parent check sits at the top and runs off the foot, as on a phone, rather than shrinking to fit whole */
  .did-ph { padding-bottom: 0; align-items: start; }
  .did-ph .did-t { align-self: center; padding-bottom: var(--pb); }
  .did-ph .hx { font-size: clamp(1.125rem, 5.6svh, 1.5rem); }
  .did-ph .body { font-size: 1rem; line-height: 1.42; }
  .did-ph .did-p { justify-content: flex-start; padding-top: 2px; }
  .did-ph .did-p .ph { --pw: min(56cqw, 230px); }
  .did-rl .did-t { grid-column: 1 / 6; }

  /* 8 · the check in */
  .dt-t { grid-column: 1 / 7; }
  .dt .hx { font-size: clamp(1.25rem, 8.4svh, 2.25rem); }
  .dt .body { margin-top: clamp(8px, 2.4svh, 14px); font-size: clamp(1rem, 4.6svh, 1.25rem); }

  /* 9 · where it stands: the slate a little closer */
  .ws5-t { grid-column: 1 / 7; }
  .ws5 .hx { font-size: clamp(1.25rem, 6.6svh, 1.875rem); }
  .ws5 .body { margin-top: clamp(6px, 2svh, 12px); font-size: 1rem; line-height: 1.42; }
  .slate { margin-top: clamp(6px, 2svh, 12px); }
  .sl { padding: clamp(4px, 1.6svh, 9px) 0; }
  .sl dd { font-size: clamp(1rem, 4.4svh, 1.25rem); }

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

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

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

/* the narrowest phones on their side (560 to 719px wide): the drawing takes half the width, so its two notes keep
   inside its frame and every part's name inside its box, beside the approach's words */
@media (min-width: 560px) and (max-width: 719px) and (max-height: 520px) {
  .ap-d { --dW: min(calc((100vw - 2 * var(--m)) * .5), calc((var(--A) - var(--capH)) * 1.25)); }
}

/* =====================================================================
   A window under 560px wide and 520px or less tall (a phone app in split screen, never a phone held in the hand) is
   too small for either arrangement to fit. It takes the phone's arrangement (the queries above include it), and here,
   only here, a screen grows to its content so every word and link can be reached; the reader can rest part way down a
   taller screen (cm.js lets the deck stay there). The pictures get fixed heights so they do not collapse, and the type
   is set by the width alone, since the height no longer limits it
   ===================================================================== */
@media (max-width: 559px) and (max-height: 520px) {
  .scr { height: auto; min-height: 100svh; }
  .op .pn { font-size: min(6.6vw, 28px); }
  .op .fact { font-size: min(28vw, 120px); }
  .op-p { flex: 0 0 auto; height: 320px; }
  .cli, .say { font-size: 1.125rem; }
  .wk { font-size: min(11vw, 44px); }
  .hi .hx { font-size: min(10.4vw, 40px); }
  .hi-p, .ws5-p { flex: 0 0 auto; height: 260px; }
  .ap { --mapH: min(300px, calc(100svh - var(--pt) - var(--pb))); }
  .ap .hx, .did .hx { font-size: min(7.4vw, 30px); }
  .did-br .hx { font-size: min(10.4vw, 40px); }
  .did-ph .hx { font-size: min(6.8vw, 28px); }
  .did-p { flex: 0 0 auto; }
  .did-p .ph { --pw: 200px; }
  .mk { height: 280px; }
  /* the mark's picture box reaches up over the heading here (its pixels there are clear): taps and the reader's
     finger go through it to the words */
  .mk-in img { pointer-events: none; }
  .reels { height: 380px; }
  .dt .hx { font-size: min(10.4vw, 40px); }
  .dt-p { flex: 0 0 auto; height: 320px; }
  .ws5 .hx { font-size: min(8.4vw, 36px); }
  .ws-h { font-size: min(9.6vw, 40px); }
  .pts p { font-size: max(16px, min(5.8vw, 24px)); }
  .bk .hx { font-size: min(9.2vw, 40px); }
}

/* =====================================================================
   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 reels keep their own places (the two at the sides stand back and a little lower): they rise into them, the
   middle one first */
.js .reel { opacity: 0; translate: 0 70px; transition: opacity .25s ease, translate .3s var(--e-in); }
.js .in .reel { opacity: 1; translate: 0 0; transition: opacity .9s ease var(--rd), translate 1.3s var(--e-out) var(--rd); }
.r-b { --rd: 160ms; }
.r-a { --rd: 340ms; }
.r-c { --rd: 500ms; }

/* the Ledger: each rule draws across as its row comes in (the rows on the deck's own times, cm.js), the closing rule last */
.js .br::before, .js .bf::after { transform: scaleX(0); transition: transform .3s var(--e-in); }
.js .in .br::before { transform: none; transition: transform 1.1s var(--e-out) calc(var(--d, 0ms) - 120ms); }
.js .in .bf::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 */
.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);
}

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

/* ---------- the brand's mark: the h rises in, then its apricot full stop lands on its own, last ---------- */
.js .mk-h { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity .25s ease, transform .3s var(--e-in); }
.js .in .mk-h { opacity: 1; transform: none; transition: opacity 1s ease 250ms, transform 1.4s var(--e-out) 250ms; }
.js .mk-d { opacity: 0; transform: scale(2.4); transition: opacity .25s ease, transform .3s var(--e-in); }
.js .in .mk-d { opacity: 1; transform: none; transition: opacity .35s ease 1500ms, transform .9s var(--e-out) 1500ms; }

/* ---------- the drawing: the frame comes in, then one evening at a time: the part is set down, its line runs out to
   the edge and stops on its dot, then the dashed drop leads down to the next evening's part. The two notes come in
   with the first evening. With no script every part, line and note stands in place ---------- */
.ap { --ev: 950ms; --e0: 450ms; }
.js .ap .frame { opacity: 0; transform: scale(.97); transition: opacity .3s ease, transform .3s var(--e-in); }
.js .ap.in .frame { opacity: 1; transform: none; transition: opacity .8s ease 100ms, transform 1.2s var(--e-out) 100ms; }
.js .ap .part { opacity: 0; transform: translate3d(0, 2cqw, 0); transition: opacity .25s ease, transform .3s var(--e-in); }
.js .ap.in .part { opacity: 1; transform: none; transition: opacity .7s ease calc(var(--e0) + var(--i) * var(--ev)), transform 1s var(--e-out) calc(var(--e0) + var(--i) * var(--ev)); }
.js .ap .hook { transform: scaleX(0); transition: transform .25s var(--e-in); }
.js .ap .hook::after { transform: scale(0); transition: transform .25s var(--e-in); }
.js .ap.in .hook { transform: none; transition: transform .45s var(--e-out) calc(var(--e0) + 300ms + var(--i) * var(--ev)); }
.js .ap.in .hook::after { transform: none; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) calc(var(--e0) + 640ms + var(--i) * var(--ev)); }
.js .ap .drop { transform: scaleY(0); transition: transform .25s var(--e-in); }
.js .ap.in .drop { transform: none; transition: transform .55s var(--e-io) calc(var(--e0) + 820ms + var(--i) * var(--ev)); }
.js .ap .note { opacity: 0; transition: opacity .25s ease; }
.js .ap.in .note.n1 { opacity: 1; transition: opacity .7s ease calc(var(--e0) + 900ms); }
.js .ap.in .note.n2 { opacity: 1; transition: opacity .7s ease calc(var(--e0) + 1250ms); }
.js .ap .drawn { opacity: 0; transition: opacity .25s ease; }
.js .ap.in .drawn { opacity: 1; transition: opacity .8s ease 900ms; }

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

/* ---------- the fact on the opening: it rises in 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; the drawing and the mark come in as fades
   ===================================================================== */
.rm .wi, .rm .lt, .rm .rv, .rm .pc, .rm .fc { transform: none !important; }
.rm .reel { translate: 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 .br::before, .rm .bf::after, .rm .pts li::before, .rm .wk li { transform: none !important; }
.rm .mk-h, .rm .mk-d, .rm .ap .frame, .rm .ap .part, .rm .ap .hook, .rm .ap .hook::after, .rm .ap .drop { transform: none !important; }
/* the evenings still come one after another, but quickly, as fades */
.rm .ap { --ev: 140ms; --e0: 150ms; }
.rm .in .mk-d { transition: opacity .6s ease 350ms !important; }
.rm .orb.on .orb-say { transition-delay: .25s; }
.rm .in .more.rv { transition-delay: .4s !important; }
.rm .ap .hook, .rm .ap .drop { opacity: 0; transition: opacity .6s ease !important; }
.rm .ap.in .hook, .rm .ap.in .drop { opacity: 1; }
.rm .orb-img, .rm .stars i { transition: none !important; transform: none !important; }
.rm .stars i { opacity: 0; }
.rm .orb.on .stars i { opacity: 1; }
.rm .orb.on .orb-ring { animation: none; }
.rm .btn::before, .rm .arr, .rm .mlink { transition: none !important; }
