/* cases/mandinga · The Mandinga case study as a deck, built from the ClearMile deck (30). 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 twelve screens: the tile opened to the whole screen, the facts, the problem with her shop
   as it was, the approach, three beats of what I did (the eight directions, the products, the guide), three of
   working together (the ten days, the options she chose from, the size of it), how we could work together, and the
   close, with the footer strip after it. Her colours: sand #F2E8D5, navy #1B2A41, amber #D89A4A (deepened to #8F4F10 as text on
   the light grounds).
   The base rules are the page with no script: every screen in normal flow, every word in place. */

:root {
  --m: 16px;
  --gut: 12px;
  --mast: 56px;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --pt: calc(var(--mast) + var(--sat) + clamp(4px, 1.2svh, 12px));
  --pb: calc(clamp(16px, 2.6svh, 28px) + var(--sab));
  --ink: #161412;
  --ink-2: #5E574F;
  --bone: #F3EFE7;
  --paper: #FBF8F2;
  --night: #0E0D0C;
  --chalk: #F3EFE7;
  --green: #4FB37E;
  --green-d: #1F7A4C;
  /* Mandinga's own */
  --sand: #F2E8D5;
  --navy: #1B2A41;
  --amber: #D89A4A;
  --amber-d: #8F4F10;
  --sand-2: #B5AC9C;
  --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(--sand); color: var(--navy);
  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(--navy); color: var(--sand); }
: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-sand  { --bg: var(--sand); --fg: var(--navy); --fg2: var(--ink-2); --acc: var(--amber-d); --rule: rgba(27, 42, 65, .18); --rule-s: rgba(27, 42, 65, .3); --bb: var(--navy); --bf: var(--sand); --bh: var(--amber-d); --bhf: var(--sand); }
.t-paper { --bg: var(--paper); --fg: var(--ink); --fg2: var(--ink-2); --acc: var(--amber-d); --rule: rgba(22, 20, 18, .14); --rule-s: rgba(22, 20, 18, .28); }
.t-bone  { --bg: var(--bone); --fg: var(--ink); --fg2: var(--ink-2); --acc: var(--amber-d); --rule: rgba(22, 20, 18, .16); --rule-s: rgba(22, 20, 18, .3); }
.t-navy  { --bg: var(--navy); --fg: var(--sand); --fg2: var(--sand-2); --acc: var(--amber); --rule: rgba(242, 232, 213, .16); --rule-s: rgba(242, 232, 213, .3); --bb: var(--sand); --bf: var(--navy); --bh: var(--amber); --bhf: var(--navy); }
.t-green { --bg: var(--green); --fg: var(--ink); --fg2: var(--ink); --acc: var(--ink); --rule: rgba(22, 20, 18, .28); --bb: var(--ink); --bf: var(--bone); --bh: var(--bone); --bhf: var(--ink); }

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

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

/* ---------- type ---------- */
h1, .hx, .pn {
  font-family: var(--font-text); font-weight: 500; letter-spacing: -.035em; line-height: 1; text-wrap: balance;
}
.hx .acc, .hx .pd { color: var(--acc); }
/* a mark that follows the accent with no space (a comma) 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 { 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: var(--sand); }
.br {
  border-radius: 10px; overflow: hidden; background: #FBF8F2;
  box-shadow: 0 1px 2px rgba(22, 20, 18, .1), 0 10px 22px -8px rgba(22, 20, 18, .22), 0 28px 48px -20px rgba(22, 20, 18, .28);
}
/* on the navy the frames carry a thin light rim, so a frame never melts into the ground */
.t-navy .ph-in { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2), 0 0 0 1px rgba(0, 0, 0, .5), 0 28px 50px -18px rgba(0, 0, 0, .7); }
.t-navy .br, .t-navy .card, .t-navy .slide { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 28px 50px -18px rgba(0, 0, 0, .6); }
.bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; background: #EFEBE3; border-bottom: 1px solid rgba(22, 20, 18, .08); }
.bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(22, 20, 18, .22); }
.pc { position: relative; }
/* a part of a page, not a whole one: no frame, its own rounded edge */
.card { border-radius: 14px; overflow: hidden; background: var(--sand); box-shadow: 0 1px 2px rgba(22, 20, 18, .1), 0 18px 36px -16px rgba(22, 20, 18, .3); }
.card img { width: 100%; height: auto; }

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

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

/* =====================================================================
   2 · The ledger (Adam's pick, 43a, 14 Nov 2026; ../../43a-crr-ledger/ledger.css): three ruled rows like a waybill,
   a heavy rule top and bottom, a fine rule between. Client in medium type, with when, small, under it; What I did,
   the hero, the work set large, running on and wrapping, each closed by her amber full stop; Result, a large sentence
   with its key words in the amber, and her live store under it. 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. The sizes come from the
   window, never the words, so the five case studies look alike. (The rows keep this deck's .facts and .fr names:
   43a's .br is this deck's browser frame.)
   ===================================================================== */
.facts { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; margin-top: clamp(8px, 2.4svh, 28px); }
.fr { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; gap: clamp(6px, 1.1svh, 12px); padding: clamp(10px, 2svh, 22px) 0 clamp(8px, 1.6svh, 18px); }
.fr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule-s); transform-origin: left center; }
.fr:first-child::before { height: 2px; background: var(--fg); }
.facts::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--fg); transform-origin: left center; }
.fr dt { font-family: var(--font-mono); font-size: .75rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--fg2); }
/* the client: medium type, the name and what it is in one sentence; when, small, under it */
.fr-cli { flex-grow: .8; }
.cli { font-size: clamp(1.0625rem, 3.2svh, 1.75rem); font-weight: 500; letter-spacing: -.012em; line-height: 1.22; text-wrap: balance; max-width: 22em; }
.when { margin-top: clamp(2px, .6svh, 6px); font-size: 1rem; line-height: 1.4; color: var(--fg2); }
/* what I did, the hero: the work large, running on and wrapping, never inside a two word item; each closed by the
   amber full stop. Sized for the longest list (six, with "Manufacturing") on a short phone, never for its own words */
.fr-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: a large sentence, its key words in the amber */
.say { font-size: clamp(1.3125rem, 3.9svh, 2rem); font-weight: 500; letter-spacing: -.016em; line-height: 1.18; text-wrap: balance; max-width: 20em; }
.say .acc, .wk .pd { color: var(--acc); }
/* her live store, under the result: a real link, underlined in her amber, its reach 44px. The reach stands about 11px
   above the line, so the gap above it is never under 10px (43a's floor is 4px) and a tap on the result's last line
   never lands on the link */
.note { margin-top: clamp(10px, 1.2svh, 12px); font-size: 1rem; line-height: 1.4; }
.ext {
  display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; vertical-align: baseline;
  text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: .08em; text-underline-offset: .2em;
}
@media (hover: hover) and (pointer: fine) { .ext:hover { color: var(--acc); } }

/* =====================================================================
   3 · The problem: her words, then the aim set large; under them (beside them, on a desktop) her shop as it was,
   in a browser that runs off the far edge on a phone
   ===================================================================== */
.pr-t { flex: 0 0 auto; }
.pr .body { margin-top: clamp(8px, 1.6svh, 16px); }
.pr .hx { margin-top: clamp(12px, 2.2svh, 22px); font-size: min(8vw, 4.3svh); line-height: 1.04; }
.pr-p { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: clamp(8px, 1.4svh, 12px); margin-top: clamp(16px, 3svh, 30px); container-type: size; }
/* on a phone it runs off the far edge, as big as the room under the words allows */
.pr-p .br { width: min(136cqw, calc((100cqh - 54px) * 1.7467)); flex: 0 0 auto; }
.pr-p .cap { order: -1; }

/* =====================================================================
   4, 6, 9, 10 · Words across the top, the picture under them, as big as the room allows. A phone capture 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 .body { margin-top: clamp(10px, 1.8svh, 16px); }
.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(14px, 2.4svh, 24px); }
.did-p .cap { align-self: stretch; }
.did-p .ph { --pw: min(76vw, 300px); flex: 0 0 auto; }

/* 4 · the approach: a little less heading, so the line under it and her bracelets both have room */
.ap .hx { font-size: min(8vw, 4.1svh); }

/* 6 · the products: on a phone just the words of the product page, as big as reads well; on a desktop the window */
.pd .hx { font-size: min(9vw, 4.7svh); }
.pd-d { display: none; }
.pd .card { flex: 0 0 auto; width: min(100%, 440px, calc((100svh - var(--pt) - 132px) * .768)); align-self: flex-start; }

/* 9 · the options: the slide from her brand deck. Whole on a desktop; on a phone or tablet its own words set as type,
   on a card styled like the slide (its cream, near black type, terracotta label and rules), so they can be read. On
   phones up to 740px tall: the label, the heading, step 01 and my read; taller, all three steps */
.sl .hx { font-size: min(8vw, 4.2svh); }
.sl .did-p { align-items: stretch; justify-content: flex-start; gap: 8px; margin-top: clamp(12px, 2svh, 20px); padding-bottom: var(--pb); }
.slide { flex: 0 0 auto; border-radius: 8px; overflow: hidden; background: #F0EBE1; }
.slide img { width: 100%; height: auto; }
.sl-d { display: none; }
.slq {
  --slq-ink: #1E1B16; --slq-body: #5E574F; --slq-tc: #93522F;
  flex: 0 0 auto; margin: 0; padding: 14px 16px 16px; border-radius: 8px; background: #F0EBE1; color: var(--slq-ink);
  font-synthesis: none;
}
.slq-k { font-family: var(--font-mono); font-size: .75rem; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--slq-tc); }
.slq-h { margin-top: 6px; font-weight: 500; font-size: 1.375rem; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
.slq-steps { margin-top: 12px; }
.slq-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 4px; padding: 8px 0 10px; border-top: 1.5px solid var(--slq-tc); }
.slq-n { grid-row: 1; padding-top: .3em; font-family: var(--font-mono); font-size: .75rem; line-height: 1.3; color: var(--slq-tc); }
.slq-t { grid-column: 2; font-weight: 500; font-size: 1.0625rem; letter-spacing: -.01em; line-height: 1.25; }
.slq-b { grid-column: 2; margin-top: 2px; font-size: 15px; line-height: 1.38; color: var(--slq-body); }
.slq-r { margin-top: 4px; font-size: 15px; line-height: 1.42; color: var(--slq-body); }
.slq-r b { font-weight: 500; color: var(--slq-ink); }
/* up to about 740px tall the card keeps to step 01 and my read, so the screen fits */
@media (max-height: 740px) { .slq-steps .slq-x { display: none; } }
/* a wider tall phone has the room for the slide's words at 16px */
@media (min-width: 420px) and (max-width: 599px) and (min-height: 741px) { .slq-b, .slq-r { font-size: 16px; } }
.sl .cap { order: -1; }

/* 10 · the size of it: the line that leads in, the heart of the study, then her store as it went live */
.ht { padding-bottom: var(--pb); }
.ht .pre { margin-top: clamp(8px, 1.6svh, 14px); }
.ht .hx { margin-top: clamp(10px, 2svh, 20px); font-size: min(10vw, 5.2svh); line-height: 1.02; }
.ht .did-p { align-items: flex-start; justify-content: center; container-type: size; }
.ht .did-p .cap { order: 2; }
/* on a phone her store runs off the far edge, as big as the room under the words allows */
.ht .br { width: min(140cqw, calc((100cqh - 54px) * 1.6)); flex: 0 0 auto; }

/* =====================================================================
   5 · The brand: eight directions on her sand, two across on a phone and four on a desktop; the one she chose
   picked out in her amber, with a small label
   ===================================================================== */
.dr .hx { margin-top: clamp(6px, 1.2svh, 12px); font-size: min(8.6vw, 4.6svh); line-height: 1.04; }
.eight {
  flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr);
  gap: 8px; margin-top: clamp(16px, 3svh, 32px); max-height: 560px;
}
.lg { position: relative; display: grid; place-items: center; min-height: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--rule); }
/* each mark is centred in its box and kept inside it at every size */
.lg img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 82%; max-height: 58%; }
.lg-sq img { max-height: 80%; }
.lg.on { border: 2px solid var(--amber-d); }
.ch { position: absolute; left: 9px; top: 7px; font-family: var(--font-mono); font-size: .6875rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-d); }

/* =====================================================================
   7 · The guide: the line from it, set large, and its cover laid down a little off square
   ===================================================================== */
.gd { padding-bottom: 0; }
.gd .hx { margin-top: clamp(6px, 1.2svh, 12px); font-size: min(8.4vw, 4.4svh); line-height: 1.04; }
.qp { margin-top: clamp(18px, 3.2svh, 34px); padding-top: clamp(10px, 1.6svh, 16px); border-top: 2px solid var(--fg); }
.qp-k { font-family: var(--font-mono); font-size: .75rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--fg2); }
.qp-q { margin-top: clamp(6px, 1.2svh, 12px); font-family: var(--font-text); font-weight: 500; font-size: min(7.4vw, 3.9svh); letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; max-width: 16em; }
.qa { color: var(--acc); }
.gd-p { flex: 1 1 0; min-height: 0; display: flex; justify-content: center; align-items: flex-start; margin-top: clamp(18px, 3.4svh, 36px); }
.doc { flex: 0 0 auto; width: min(66%, 300px, calc((100svh - var(--pt)) * .36)); aspect-ratio: 773 / 948; overflow: hidden; border-radius: 3px; transform: rotate(-2.5deg); box-shadow: 0 1px 2px rgba(27, 42, 65, .18), 0 14px 28px -10px rgba(27, 42, 65, .4), 0 34px 60px -24px rgba(27, 42, 65, .45); }
.doc img { width: 100%; height: auto; }
/* on a tall phone the cover grows to fill the room under the line, down to the screen's foot padding (its tilt adds
   about a twentieth to its height); short phones keep the size above */
@media (max-width: 599px) and (min-height: 741px) {
  .gd-p { container-type: size; }
  .doc { width: min(96cqw, 420px, calc((100cqh - var(--pb)) / 1.27)); }
}

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

/* =====================================================================
   11 · How we could work together: the heading, then three ruled points, each sharing out the height, and a quiet
   way on to How I work with you
   ===================================================================== */
.ws-h { font-size: min(9.6vw, 5svh); line-height: 1.02; max-width: 11em; padding-top: clamp(2px, 1svh, 10px); }
.pts { flex: 1 1 auto; display: flex; flex-direction: column; margin-top: clamp(14px, 3svh, 32px); }
.pts li { position: relative; flex: 1 1 0; display: grid; grid-template-columns: 2.4em minmax(0, 1fr); align-content: center; padding: clamp(12px, 2.2svh, 24px) 0; }
.pts li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule-s); transform-origin: left center; }
.pts .n { padding-top: .55em; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; color: var(--acc); }
.pts p { font-size: min(6vw, 3.3svh); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; max-width: 24em; text-wrap: pretty; }
.pts .acc { color: var(--acc); }
.more { flex: 0 0 auto; border-top: 1px solid var(--rule-s); }
.more a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: clamp(48px, 7svh, 64px);
  font-size: clamp(1.0625rem, 2.3svh, 1.25rem); font-weight: 500; letter-spacing: -.015em; text-decoration: none;
}
.more a span:first-child { text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 1.5px; text-underline-offset: .24em; }
@media (hover: hover) and (pointer: fine) { .more a:hover .arr { transform: translateX(6px); } .more a:hover { color: var(--acc); } }

/* =====================================================================
   12 · 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; }
/* Mandinga's question is the longest of the five (five lines on most phones), so its height term is 6.2svh, not
   FOOTER.md's 7.2svh: with the strip showing, its first line then clears the masthead's band by 9px or more on every
   phone from 548 to 740px tall (at 7.2svh the band clipped it at 375x548, 360x560 and 360x640). Tall phones keep
   the full size: the width term still decides there */
.bk .hx { font-size: min(13.6vw, 6.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) {
  .body { font-size: 16px; line-height: 1.45; }
  .pr .hx { font-size: min(7.4vw, 4.1svh); }
  .op .res { max-width: none; }
  /* the close: the note closer under the links */
  .ways-note { margin-top: 0; }
}
/* a short phone in its browser (an iPhone SE in Safari, 375x548; a small Android, 360x560): the strip a little
   tighter and the close's group a touch lower, so with the strip showing the question's first line still clears the
   masthead's band rather than being clipped along its top */
@media (max-width: 559px) and (min-height: 521px) and (max-height: 600px) {
  .bk::before { flex-grow: 1.6; }
  .foot-in { padding-top: 12px; padding-bottom: 4px; }
  .ships { font-size: 28px; }
  .legal { margin-top: 0; }
}

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

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

  /* 3 · the problem: the words on the left, her shop as it was on the right */
  .pr { grid-template-rows: minmax(0, 1fr); padding-bottom: var(--pb); align-items: center; }
  .pr-t { grid-column: 1 / 6; grid-row: 1; }
  .pr .hx { font-size: min(3.7vw, 6.6svh); }
  .pr-p { grid-column: 6 / 13; grid-row: 1; margin: 0; justify-content: center; container-type: normal; }
  .pr-p .br { width: 100%; }
  .pr-p .cap { order: 2; align-self: center; }

  /* 4, 6, 9, 10 · 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 .cap { order: 2; align-self: center; }
  .did-p .ph { --pw: min(calc((100cqh - 40px) / 2.09), 380px); }
  .ap .hx { font-size: min(3.9vw, 6.6svh); }

  .pd .did-t { grid-column: 1 / 5; }
  .pd .hx { font-size: min(3.5vw, 6.2svh); }
  .pd .did-p { grid-column: 5 / 13; }
  .pd-d { display: block; width: min(100cqw, calc((100cqh - 26px) * 1.2222 + 0px)); }
  .pd-m { display: none; }

  .sl .did-t { grid-column: 1 / 6; }
  .sl .hx { font-size: min(3.6vw, 6.4svh); }
  .sl .did-p { grid-column: 6 / 13; align-items: center; padding: 0; }
  .sl-d { display: block; width: min(100cqw, calc((100cqh - 40px) * 1.777)); }
  .slq { display: none; }
  .sl .cap { order: 2; align-self: center; }

  .ht .did-t { grid-column: 1 / 6; }
  .ht .hx { font-size: min(4.4vw, 7.6svh); }
  .ht .did-p { grid-column: 6 / 13; justify-content: center; }
  .ht .br { width: min(100cqw, calc((100cqh - 66px) * 1.6)); }

  /* 5 · the brand: the words across the top, the eight in two rows of four under them */
  .dr { align-content: center; padding-bottom: var(--pb); }
  .dr .did-t { grid-column: 1 / 9; }
  .dr .hx { font-size: min(4.2vw, 7svh); }
  .eight { grid-column: 1 / 13; flex: none; height: min(46svh, 420px); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); margin-top: clamp(24px, 5svh, 56px); max-height: none; }
  .lg { padding: 16px 20px; }
  .ch { left: 14px; top: 11px; font-size: .75rem; }

  /* 7 · the guide: the words and the line from it on the left, its cover on the right */
  .gd { grid-template-rows: auto auto; padding-bottom: var(--pb); align-content: center; }
  .gd .did-t { grid-column: 1 / 7; grid-row: 1; }
  .gd .hx { font-size: min(4vw, 6.8svh); }
  .qp { grid-column: 1 / 7; grid-row: 2; align-self: start; margin-top: clamp(28px, 5svh, 56px); }
  .qp-q { font-size: min(3.3vw, 5.6svh); }
  .gd-p { grid-column: 8 / 12; grid-row: 1 / 3; align-self: center; align-items: center; margin: 0; }
  .doc { width: min(100%, calc((100svh - var(--pt) - var(--pb) - 60px) * .815)); }

  /* 8 · the words across the top, the ten days across the foot */
  .wt { padding-bottom: var(--pb); grid-template-rows: auto minmax(0, 1fr); }
  .wt-t { grid-column: 1 / 13; }
  .wt .hx { font-size: min(6vw, 10svh); max-width: 14em; }
  .days { height: clamp(40px, 7svh, 72px); }
  .run { grid-column: 1 / 13; align-self: end; }
  .wt .fact { font-size: min(18vw, 29svh); }
  .wt .fact .fl { display: inline; }
  .end-v { font-size: clamp(1.25rem, 2.8svh, 1.625rem); }

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

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

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

/* =====================================================================
   Tablets: the phone's layouts, with more room
   ===================================================================== */
@media (min-width: 600px) and (max-width: 1023px) and (min-height: 521px) {
  .op .fact { font-size: min(20vw, 14svh); }
  .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); }
  .note { font-size: 1.125rem; }
  .op .pn { font-size: min(4vw, 3.4svh); }
  .op .res { font-size: 19px; }
  .op .pc-b { --pw: min(34cqw, calc(88cqh / 2.09)); right: calc(var(--m) * 1.5); }
  .did-p .ph { --pw: min(46vw, 340px); }
  .pr .hx, .did .hx, .dr .hx, .gd .hx { font-size: min(5.6vw, 4.6svh); }
  .pr-p .br { width: min(100%, 640px); }
  .slq { padding: 22px 24px 24px; }
  .slq-h { font-size: 1.75rem; }
  .eight { max-height: 760px; }
  .pts p { font-size: min(4.4vw, 3.6svh); }
  .ws-h { font-size: min(7.4vw, 6svh); }
  .bk .hx { font-size: min(7vw, 6svh); }
  .ways .btn { align-self: flex-start; }
}

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

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

  /* 2 · the ledger: the short window has the width, so the words run wider and smaller */
  .facts { margin-top: clamp(4px, 1.6svh, 10px); }
  .fr { padding: clamp(6px, 2svh, 12px) 0; }
  .cli { font-size: clamp(1rem, 4.4svh, 1.1875rem); }
  .when { font-size: 1rem; }
  .say { font-size: clamp(1rem, 4.6svh, 1.25rem); line-height: 1.2; max-width: 32em; }
  .wk { font-size: min(5vw, 9.4svh); }
  /* 43a has 2px here; 10px keeps the link's reach off the result's last line (see the base rule) */
  .note { font-size: 1rem; margin-top: 10px; }

  /* 3 · the problem: her words on the left, her shop as it was on the right */
  .pr-t { grid-column: 1 / 7; }
  .pr .body { margin-top: clamp(6px, 2svh, 12px); }
  .pr .hx { margin-top: clamp(8px, 2.6svh, 14px); font-size: clamp(1.25rem, 6.4svh, 1.75rem); }
  .pr-p { grid-column: 7 / 13; }

  /* 4 and 6 · the words on the left; on the right her bracelets on a phone, and the product page's words on their card
     (as on a phone: the whole window would be too small to read), running off the foot */
  .ap, .pd { padding-bottom: 0; align-items: start; }
  .ap .did-t, .pd .did-t { grid-column: 1 / 7; align-self: center; padding-bottom: var(--pb); }
  .ap .hx, .pd .hx { font-size: clamp(1.25rem, 7svh, 2rem); }
  .ap .did-p, .pd .did-p { grid-column: 7 / 13; justify-content: flex-start; padding-top: 2px; }
  .did-p .ph { --pw: min(56cqw, 230px); }
  .pd-d { display: none; }
  .pd-m { display: block; }
  .pd .card { width: min(100cqw, 440px); }

  /* 5 · the eight take all the height under the words, and the chosen one's mark sits a little low in its box, so it
     keeps clear of its label */
  .dr { grid-template-rows: auto minmax(0, 1fr); align-content: stretch; }
  .eight { height: auto; margin-top: clamp(14px, 4svh, 24px); }
  .lg.on img { top: 14px; }

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

  /* 9 · the options: the slide's own words on its card, as on a phone (the whole slide would be too small to read) */
  .sl .did-t { grid-column: 1 / 5; }
  .sl .hx { font-size: clamp(1.25rem, 6.4svh, 1.75rem); }
  .sl .did-p { grid-column: 5 / 13; align-items: stretch; justify-content: center; }
  .sl-d { display: none; }
  .slq { display: block; padding: 12px 16px 14px; }
  .slq-h { font-size: 1.125rem; }
  .slq-steps { margin-top: 8px; }
  .sl .cap { order: -1; align-self: auto; }

  /* 10 · the size of it */
  .ht .hx { font-size: clamp(1.5rem, 8svh, 2.25rem); }

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

  /* 12 · 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 shortest phones on their side (380px tall or less): the slide's card keeps to its label, its heading and my read,
   as phones up to 740px tall drop its second and third steps, so the screen fits */
@media (min-width: 560px) and (max-height: 380px) {
  .slq-steps { display: none; }
  .slq-r { margin-top: 10px; }
}

/* =====================================================================
   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 flexible parts get fixed sizes so they do not collapse
   ===================================================================== */
@media (max-width: 559px) and (max-height: 520px) {
  .scr { height: auto; min-height: 100svh; }
  .op .pn { font-size: min(6.6vw, 28px); }
  .op .fact { font-size: min(27vw, 120px); }
  .op-p { flex: 0 0 auto; height: 300px; }
  .cli, .say { font-size: 1.125rem; }
  .wk { font-size: min(11vw, 44px); }
  .pr .hx { font-size: min(7.4vw, 30px); }
  .pr-p, .did-p, .gd-p { flex: 0 0 auto; }
  .pr-p, .ht .did-p { container-type: normal; }
  .pr-p .br, .ht .br { width: min(100%, 560px); }
  .did .hx { font-size: min(7.6vw, 30px); }
  .ap .hx, .sl .hx { font-size: min(8vw, 32px); }
  .pd .hx { font-size: min(9vw, 36px); }
  .ht .hx { font-size: min(10vw, 40px); }
  .did-p .ph { --pw: min(64vw, 240px); }
  .pd .card { width: min(100%, 360px); }
  .dr .hx { font-size: min(8.6vw, 34px); }
  .eight { flex: none; height: auto; grid-auto-rows: 84px; max-height: none; }
  .gd .hx { font-size: min(8.4vw, 34px); }
  .qp-q { font-size: min(7.4vw, 30px); }
  .doc { width: 200px; }
  .wt .hx { font-size: min(10vw, 40px); }
  .wt .fact { font-size: min(42vw, 180px); }
  .ws-h { font-size: min(9.6vw, 40px); }
  .bk .hx { font-size: min(8vw, 36px); }
  .pts p { font-size: max(16px, min(6vw, 24px)); }
}

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

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

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

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

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

/* the eight directions come in one after another, the chosen one's outline and label last */
.js .lg { opacity: 0; transition: opacity .25s ease; }
.js .in .lg { opacity: 1; transition: opacity .7s ease calc(var(--d, 0ms) + var(--li, 0) * 90ms); }
.lg:nth-child(2) { --li: 1; } .lg:nth-child(3) { --li: 2; } .lg:nth-child(4) { --li: 3; }
.lg:nth-child(5) { --li: 4; } .lg:nth-child(6) { --li: 5; } .lg:nth-child(7) { --li: 6; } .lg:nth-child(8) { --li: 7; }
.js .lg.on { border-color: var(--rule); transition: opacity .25s ease, border-color .25s ease; }
.js .in .lg.on { border-color: var(--amber-d); transition: opacity .7s ease calc(var(--d, 0ms) + 180ms), border-color .6s ease calc(var(--d, 0ms) + 1250ms); }
.js .ch { opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity .25s ease, transform .3s var(--e-in); }
.js .in .ch { opacity: 1; transform: none; transition: opacity .6s ease calc(var(--d, 0ms) + 1350ms), transform .8s var(--e-out) calc(var(--d, 0ms) + 1350ms); }
.js .eight.pc { transform: none; }

/* the guide's cover settles at its angle */
.js .gd-p.pc { transform: none; }
.js .doc { transform: translate3d(0, 60px, 0) rotate(2deg); transition: transform .3s var(--e-in); }
.js .in .doc { transform: rotate(-2.5deg); transition: transform 1.4s var(--e-out) var(--d, 0ms); }

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

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

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

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

/* ---------- the facts on the work: each figure counts up as its screen lands (as the homepage's tiles) ---------- */
.fact .fl { display: block; }
.fm { position: relative; display: inline-block; vertical-align: top; }
.js .fm { overflow: hidden; padding: .06em .1em .2em; margin: -.06em -.1em -.2em; }
.js .fm.fn { padding-top: 0; padding-bottom: .08em; margin-top: 0; margin-bottom: -.08em; }
.fw { position: relative; display: inline-block; }
.fls { position: absolute; left: 0; top: 0; }
.fc, .fd { position: absolute; top: 0; white-space: pre; }
.fst { display: block; }
.fq { display: block; height: .92em; }
.js:not(.ready) [data-fact] { opacity: 0; }
.js .fc, .js .fst { transform: translate3d(0, 1.15em, 0); transition: transform .3s var(--e-in); }
.js .in .fc { transform: none; transition: transform 1.1s var(--e-out) var(--d, 0ms); }
.js .in .fst { transform: translate3d(0, calc(var(--n) * -.92em), 0); transition: transform 2s cubic-bezier(.3, .6, .18, 1) var(--d, 0ms); }
/* on a phone the opening's fact runs on one line */
@media (max-width: 1023px) { .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 .days::after, .rm .days i, .rm .wk li { transform: none !important; }
.rm .doc { transform: rotate(-2.5deg) !important; }
.rm .ch { transform: none !important; }
.rm .btn::before, .rm .arr, .rm .mlink { transition: none !important; }
