/* Sworn pitch, direction A: "The Ledger".
   A ruled account book lying on the Hall's table. Every line of type sits on the ruling: --rule is the line
   spacing, and every height in the sheet is a multiple of it. Colours are the Hall's (Resurrect 64). */
:root {
  --paper: #dfe9dd;
  --paper-edge: #c7dcd0;
  --ink: #2e222f;
  --ink-2: #5d5261;
  --pen: #2b2f5e;            /* what is written in, as against what is printed on the form */
  --rule-blue: rgba(72, 74, 119, .25);
  --rule-red: rgba(174, 35, 52, .5);
  --stamp-red: #ae2334;
  --stamp-teal: #0b5e65;
  --stamp-violet: #6b3e75;
  --wood: #17101a;
  --slip: #f1eee4;
  --rule: 32px;
  --rule-y: 24px;            /* where the ruled line falls inside each --rule band (just under the body baseline) */
  --c-no: 112px;
  --c-pf: 36%;
  --pad: 32px;
  --serif: 'Alegreya', Georgia, 'Times New Roman', serif;
  --sc: 'Alegreya SC', 'Alegreya', Georgia, serif;
  --stamp: 'Big Shoulders Display', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
* { font-variant-numeric: lining-nums !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
html { background: var(--wood); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; color: var(--ink); background: var(--wood);
  font: 400 20px/var(--rule) var(--serif);
  overflow-x: clip;
}
img { max-width: 100%; }
a { color: var(--pen); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--stamp-red); }
:focus-visible { outline: 2px solid var(--stamp-red); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--paper); padding: 4px 12px; }
.skip:focus { left: 8px; }

/* ---------- the room: the Hall's painted table, behind the top of the book ---------- */
.room { height: clamp(240px, 46vh, 470px); overflow: hidden; background: var(--wood); }
.room { position: relative; }
.room::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to bottom, rgba(23, 16, 26, 0), var(--wood)); }
.room img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 33%; image-rendering: pixelated; }

/* ---------- the sheet ---------- */
.sheet {
  position: relative; z-index: 1;
  width: min(1280px, 100% - 32px); margin: calc(var(--rule) * -4) auto 0;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(46, 34, 47, .35), 0 40px 90px -20px rgba(0, 0, 0, .8);
  counter-reset: folio;
}
.folio {
  position: relative; counter-increment: folio;
  display: grid; grid-template-columns: var(--c-no) minmax(0, 1fr) var(--c-pf);
  background:
    linear-gradient(to right, transparent calc(var(--c-no) - 5px), var(--rule-red) calc(var(--c-no) - 5px) calc(var(--c-no) - 4px), transparent calc(var(--c-no) - 4px) calc(var(--c-no) - 1px), var(--rule-red) calc(var(--c-no) - 1px) var(--c-no), transparent var(--c-no)),
    linear-gradient(to right, transparent calc(100% - var(--c-pf)), var(--rule-red) calc(100% - var(--c-pf)) calc(100% - var(--c-pf) + 1px), transparent calc(100% - var(--c-pf) + 1px)),
    linear-gradient(to bottom, transparent var(--rule-y), var(--rule-blue) var(--rule-y) calc(var(--rule-y) + 1px), transparent calc(var(--rule-y) + 1px)) 0 0 / 100% var(--rule);
}
.folio.wide { --c-pf: 48%; }
.fhead {
  grid-column: 1 / -1; display: grid; grid-template-columns: subgrid;
  height: var(--rule); position: relative; background: var(--paper);
  font: 500 14px/var(--rule) var(--sc); letter-spacing: .05em; color: var(--ink-2);
}
.fhead::before, .fhead::after { content: ''; position: absolute; left: 0; right: 0; background: var(--ink); }
.fhead::before { top: 0; height: 3px; }
.fhead::after { bottom: 0; height: 1px; }
.fhead span { padding: 2px var(--pad) 0; white-space: nowrap; }
.fhead span:first-child { padding-left: 20px; padding-right: 0; }
.no {
  grid-column: 1; grid-row: 2 / span 14; padding: var(--rule) 0 0 20px;
  font: italic 500 56px/calc(var(--rule) * 2) var(--serif); color: var(--pen);
}
.no { position: relative; top: 4px; }
.row { grid-column: 2 / 4; display: grid; grid-template-columns: subgrid; position: relative; }
.row > .what, .row > .pf { padding: 0 var(--pad); min-width: 0; }
.fhead + .no + .row > *, .fhead + .no + .obj + .row > * { padding-top: var(--rule); }
.row:last-child > * { padding-bottom: calc(var(--rule) * 2); }
.row:not(:last-child) > * { padding-bottom: var(--rule); }
.folio:has(.row.line) .row:not(:last-child)::after { content: ''; position: absolute; left: 0; right: 0; bottom: calc(var(--rule) - var(--rule-y) - 1px); height: 1px; background: var(--ink-2); opacity: .75; }

/* ---------- type, on the ruling ---------- */
h1, h2, h3, p, ul, ol, figure, dl, dd, table { margin: 0; padding: 0; }
h1 { font: 800 168px/calc(var(--rule) * 6) var(--serif); letter-spacing: -.02em; }
h2 { font: 700 46px/calc(var(--rule) * 2) var(--serif); letter-spacing: -.01em; position: relative; top: 7px; text-wrap: balance; }
h3 { font: 700 24px/var(--rule) var(--serif); position: relative; top: -1px; }
.lede { font: 500 40px/calc(var(--rule) * 2) var(--serif); position: relative; top: 9px; max-width: 17em; text-wrap: balance; }
.what h2 + p, .what h2 + h3, .what .lede + p, .what p + p, .what p + h3, .gap, .what ul + p { margin-top: var(--rule); }
.what p, .what li { max-width: 34em; }
.aka { font-weight: 500; font-style: italic; white-space: nowrap; }
.hand { font-style: italic; font-size: 19px; color: var(--pen); }
.fine { font-size: 16px; color: var(--ink-2); position: relative; top: 1px; }
.pf p + p { margin-top: 0; }
ul { list-style: none; }
.lines li { padding-left: 26px; position: relative; }
.lines li::before { content: ''; position: absolute; left: 4px; top: 15px; width: 10px; height: 2px; background: var(--pen); }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 22px; height: 18px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 32'%3E%3Cpath d='M4 18 L14 27 L36 4' fill='none' stroke='%232b2f5e' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- stamps ---------- */
.stamp {
  display: inline-block; flex: none; padding: 8px 14px 6px; border: 3px solid currentColor; border-radius: 5px;
  outline: 1px solid currentColor; outline-offset: 3px;
  font: 800 25px/1 var(--stamp); letter-spacing: .09em; text-transform: uppercase; text-align: center; white-space: nowrap;
  color: var(--stamp-red); mix-blend-mode: multiply; opacity: .84; transform: rotate(var(--r, -4deg));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 2.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 2.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.stamp small { display: block; margin-top: 5px; font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.stamp.teal { color: var(--stamp-teal); }
.stamp.violet { color: var(--stamp-violet); }
.stampline { height: calc(var(--rule) * 3); display: flex; align-items: center; justify-content: flex-start; padding-left: 8px; }
.stampline.two { height: calc(var(--rule) * 2); justify-content: flex-end; padding-right: 8px; }
@keyframes press {
  0% { opacity: 0; transform: rotate(var(--r, -4deg)) scale(1.7); }
  62% { opacity: .92; transform: rotate(var(--r, -4deg)) scale(.95); }
  100% { opacity: .84; transform: rotate(var(--r, -4deg)) scale(1); }
}
.js .stamp[data-stamp]:not(.in) { opacity: 0; }
.js .stamp[data-stamp].in { animation: press .34s cubic-bezier(.3, .8, .3, 1) both; }

/* ---------- folio 1 ---------- */
.f1 .what { padding-bottom: var(--rule); }
.sealspot { height: calc(var(--rule) * 6); display: flex; align-items: center; justify-content: center; }
.seal { width: 144px; height: 144px; image-rendering: pixelated; filter: drop-shadow(0 3px 0 rgba(46, 34, 47, .28)); }
@keyframes seal {
  0% { opacity: 0; transform: scale(2.1) rotate(-14deg); }
  70% { opacity: 1; transform: scale(.94) rotate(-6deg); }
  100% { opacity: 1; transform: scale(1) rotate(-6deg); }
}
.seal { transform: rotate(-6deg); }
.js .seal[data-press]:not(.in) { opacity: 0; }
.js .seal[data-press].in { animation: seal .5s .35s cubic-bezier(.3, .8, .3, 1) both; }
.f1 .pf .hand { max-width: 15em; margin: var(--rule) auto 0; text-align: center; }

/* ---------- folio 2: one deal, filled in ---------- */
.moneyhead, .money { display: grid; grid-template-columns: 1fr 1fr 1fr; justify-items: center; }
.moneyhead { align-items: end; font: 500 15px/var(--rule) var(--sc); letter-spacing: .05em; color: var(--ink-2); }
.moneyhead span { position: relative; top: 2px; }
.mk { position: relative; width: 100%; height: var(--rule); display: block; }
.wax { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; image-rendering: pixelated; transform: rotate(8deg); filter: drop-shadow(0 2px 0 rgba(46, 34, 47, .25)); }
.tick { position: absolute; left: 50%; top: 0; margin-left: -20px; color: var(--pen); }
.tick path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.amt { height: var(--rule); }
.w { position: relative; display: inline-block; font: italic 500 30px/var(--rule) var(--serif); color: var(--pen); padding: 0 6px; }
.w-out { color: var(--ink-2); }
.w-out::after { content: ''; position: absolute; left: 0; right: 0; top: 52%; height: 2px; background: var(--stamp-red); transform: rotate(-9deg); transform-origin: left center; }
.money.wide { display: flex; justify-content: center; align-items: flex-start; }
.money.wide .stamp { font-size: 22px; margin-top: -8px; }
/* the sequence: nothing is filled in until the folio is read (JS adds .go) */
.js .f2:not(.go) .wax { opacity: 0; transform: rotate(8deg) scale(1.9); }
.js .f2:not(.go) .w { clip-path: inset(0 100% 0 0); }
.js .f2:not(.go) .w-out::after { transform: rotate(-9deg) scaleX(0); }
.js .f2:not(.go) .tick path { stroke-dashoffset: 1; }
.js .f2:not(.go) .s-rcpt { opacity: 0; }
.f2 .wax { transition: transform .3s cubic-bezier(.3, .8, .3, 1) .15s, opacity .12s linear .15s; }
.f2 .w { clip-path: inset(0 0 0 0); transition: clip-path .45s ease-out; }
.f2 .w-held { transition-delay: .8s; }
.f2 .w-out { transition-delay: .8s; }
.f2 .w-out::after { transition: transform .3s ease-out 1.75s; }
.f2 .tick path { transition: stroke-dashoffset .35s ease-out 1.5s; }
.f2 .w-paid { transition-delay: 2s; }
.js .f2.go .s-rcpt { animation: press .34s 2.7s cubic-bezier(.3, .8, .3, 1) both; }

/* ---------- folio 3: public, and face down ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--pad); align-content: start; }
.backs { display: flex; gap: 14px; margin-top: var(--rule); }
.backs figure { width: 76px; }
.cardback { display: grid; place-items: center; width: 62px; height: 88px; background: #0a0816; border-radius: 4px; box-shadow: inset 0 0 0 2px #6f7ca6, 0 2px 0 rgba(46, 34, 47, .35); }
.cardback img { width: 50%; height: auto; display: block; }
.backs figure:nth-child(1) .cardback { transform: rotate(-3deg); }
.backs figure:nth-child(3) .cardback { transform: rotate(2.5deg); }
.backs figcaption { margin-top: 8px; height: var(--rule); font: italic 400 15px/16px var(--serif); color: var(--pen); }

/* ---------- pasted-in slips: real screenshots ---------- */
.slip { display: grid; gap: 5px; padding: 6px; background: var(--slip); transform: rotate(var(--tilt, 0deg)); box-shadow: 0 0 0 1px rgba(46, 34, 47, .18), 0 10px 18px -10px rgba(46, 34, 47, .75); }
.slip img { display: block; width: 100%; height: auto; }
.crop-top img { aspect-ratio: 680 / 250; object-fit: cover; object-position: top; }
.under { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; min-height: calc(var(--rule) * 3); margin-top: var(--rule); }
.under .hand { flex: 1 1 100%; }
.under .stamp { margin-left: auto; font-size: 21px; }
.btn {
  display: inline-block; height: 44px; margin: 10px 0; padding: 0 18px; border: 2px solid var(--pen); border-radius: 3px;
  font: 700 17px/40px var(--sc); letter-spacing: .04em; color: var(--pen); text-decoration: none; background: transparent;
}
.btn:hover { background: var(--pen); color: var(--paper); }

/* ---------- copyable hash ---------- */
.hashline { display: flex; align-items: flex-start; gap: 10px; min-height: var(--rule); }
.hash { flex: 1; min-width: 0; font: 13.5px/16px var(--mono); color: var(--pen); overflow-wrap: anywhere; word-break: break-all; }
.copy { flex: none; height: 26px; margin-top: 3px; padding: 0 10px; border: 1px solid var(--pen); border-radius: 3px; background: transparent; color: var(--pen); font: 500 13px/24px var(--sc); letter-spacing: .05em; cursor: pointer; }
.copy:hover { background: var(--pen); color: var(--paper); }

/* ---------- folio 6: the sum ---------- */
.sum { width: 100%; border-collapse: collapse; }
.sum caption { text-align: left; font: 500 15px/var(--rule) var(--sc); letter-spacing: .05em; color: var(--ink-2); }
.sum th { text-align: left; font-weight: 400; padding: 0; height: var(--rule); }
.sum td { text-align: right; padding: 0 4px 0 0; height: var(--rule); font: italic 500 28px/var(--rule) var(--serif); color: var(--pen); }
.sum .total td { position: relative; }
.sum .total td::after { content: ''; position: absolute; right: 0; bottom: 1px; width: 64px; height: 4px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.sum .total td::before { content: ''; position: absolute; right: 0; top: -2px; width: 64px; height: 1px; background: var(--ink); }
.sum .total th { font-weight: 700; }
.witness { display: flex; align-items: flex-end; gap: 16px; margin-top: var(--rule); height: calc(var(--rule) * 4); }
.portrait { flex: none; position: relative; width: 96px; height: calc(var(--rule) * 4 - 6px); margin-bottom: 6px; overflow: hidden; background: #221d4a; box-shadow: 0 0 0 4px var(--slip), 0 0 0 5px rgba(46, 34, 47, .25), 0 8px 12px -8px rgba(46, 34, 47, .8); transform: rotate(-1.5deg); }
.portrait img { position: absolute; left: -44px; top: 4px; width: 184px; max-width: none; height: auto; }
.portrait.hh img { left: -78px; top: 2px; width: 250px; }
.witness .hand { padding-bottom: 0; }

/* ---------- folio 6: the prompt to hand an agent ---------- */
.askbox { max-width: 34em; margin-top: var(--rule); padding: 6px 14px 4px; border: 1.5px dashed var(--pen); }
.askbox h3 { font: 700 19px/24px var(--serif); top: 0; }
.askbox .prompt { margin: 2px 0 0; font: 13.5px/17px var(--mono); color: var(--pen); overflow-wrap: anywhere; }
.askbox .askfoot { display: flex; align-items: center; gap: 12px; margin: 6px 0 4px; }
.askbox .copy { margin-top: 0; }
.askbox .fine { top: 0; }

/* ---------- folio 9 ---------- */
.orders { list-style: none; }
.orders li { font: italic 500 24px/var(--rule) var(--serif); color: var(--pen); margin-bottom: var(--rule); }

/* ---------- folio 10 ---------- */
.box { display: inline-block; width: 22px; height: 22px; margin-top: 5px; border: 2px solid var(--pen); border-radius: 2px; }
.sig { display: flex; align-items: flex-end; gap: 14px; height: calc(var(--rule) * 2); position: relative; }
.sig .by { font: 500 15px/var(--rule) var(--sc); letter-spacing: .05em; color: var(--ink-2); white-space: nowrap; }
.sig .name { flex: 1; font: italic 500 30px/var(--rule) var(--serif); color: var(--pen); white-space: nowrap; }
.sig .wax { position: static; flex: none; width: 60px; height: 60px; margin: 0 0 -8px; }
.sig .blank { flex: 1; height: var(--rule); }
.sig::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: var(--ink); }
.reach { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: var(--rule); }
.reach a { white-space: nowrap; }

/* ---------- things on the table beside the book ---------- */
.obj { display: none; position: absolute; z-index: 2; pointer-events: none; }
@media (min-width: 1420px) {
  .obj { display: block; }
  .obj.cup { left: -64px; bottom: 40px; width: 124px; height: auto; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .55)); }
  .obj.dice { right: -64px; top: 452px; width: 100px; height: 70px; }
  .obj.dice i { position: absolute; width: 46px; height: 46px; background: url(/pitch/art/dice.svg) calc((var(--f) - 1) * -46px) 0 / 276px 46px no-repeat; filter: drop-shadow(0 8px 6px rgba(0, 0, 0, .55)); }
  .obj.dice i:first-child { left: 0; top: 0; transform: rotate(-14deg); }
  .obj.dice i:last-child { right: 0; bottom: 0; transform: rotate(21deg); }
}

/* ---------- foot (web only) ---------- */
.sitefoot { width: min(1280px, 100% - 32px); margin: 0 auto; padding: 40px 0 56px; color: #b9aec0; font-size: 16px; line-height: 24px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: flex-start; justify-content: space-between; }
.sitefoot a { color: #e8dff0; }
.support { max-width: 720px; }
.support summary { cursor: pointer; font: 500 16px/24px var(--sc); letter-spacing: .05em; color: #e8dff0; }
.support p { margin-top: 8px; }
.support dt { margin-top: 12px; font: 500 14px/20px var(--sc); letter-spacing: .05em; }
.support dd { display: flex; gap: 10px; align-items: flex-start; }
.support code { flex: 1; min-width: 0; font: 12.5px/18px var(--mono); overflow-wrap: anywhere; word-break: break-all; color: #e8dff0; }
.support .copy { border-color: #b9aec0; color: #e8dff0; }
.support .copy:hover { background: #e8dff0; color: var(--wood); }
.built { display: flex; align-items: center; gap: 10px; margin: 0; }
.built img { display: block; }

/* ---------- narrower desks ---------- */
@media (max-width: 1100px) {
  :root { --c-no: 84px; --c-pf: 40%; --pad: 24px; }
  .folio.wide { --c-pf: 50%; }
  h1 { font-size: min(136px, 13vw); }
  h2 { font-size: 40px; top: 8px; }
  .lede { font-size: 34px; top: 10px; }
  .no { font-size: 48px; top: 6px; }
}

/* ---------- phones: one column, a single red margin ---------- */
@media (max-width: 760px) {
  :root { --rule: 26px; --rule-y: 20px; --pad: 0px; }
  body { font-size: 17px; }
  .room { height: 34vh; }
  .sheet { width: 100%; margin-top: calc(var(--rule) * -3); box-shadow: none; }
  .folio, .folio.wide {
    display: block; padding: 0 16px 0 28px;
    background:
      linear-gradient(to right, transparent 15px, var(--rule-red) 15px 16px, transparent 16px),
      linear-gradient(to bottom, transparent var(--rule-y), var(--rule-blue) var(--rule-y) calc(var(--rule-y) + 1px), transparent calc(var(--rule-y) + 1px)) 0 0 / 100% var(--rule);
  }
  .fhead { display: flex; margin: 0 -16px 0 -28px; padding: 0 16px 0 28px; font-size: 13px; }
  .fhead span { padding: 1px 0 0; }
  .fhead span:first-child { padding-left: 0; }
  .fhead span:first-child::after { content: ' ' counter(folio); }
  .fhead span:nth-child(2) { display: none; }
  .fhead span:nth-child(3) { margin-left: auto; }
  .no { display: none; }
  .row { display: block; }
  .row > .what, .row > .pf { padding-left: 0; padding-right: 0; }
  .row > .pf:not(:empty) { margin-top: var(--rule); }
  .fhead + .no + .row > .pf, .fhead + .no + .obj + .row > .pf { padding-top: 0; }
  .row:not(:last-child) > .what:has(+ .pf:not(:empty)) { padding-bottom: 0; }
  .row:last-child > .what { padding-bottom: 0; }
  .row:last-child > .pf, .row:last-child > .pf:empty { padding-bottom: calc(var(--rule) * 2); }
  .row > .pf:empty { margin: 0; }
  h1 { font: 800 min(104px, calc((100vw - 48px) / 2.85))/calc(var(--rule) * 5) var(--serif); }
  h2 { font-size: 31px; top: 8px; }
  h3 { font-size: 20px; top: 0; }
  .lede { font-size: 28px; top: 9px; }
  .hand { font-size: 16.5px; }
  .fine { font-size: 15px; top: 0; }
  .lines li { padding-left: 20px; }
  .lines li::before { left: 2px; top: 12px; width: 8px; }
  .ticks li::before { top: 5px; width: 18px; height: 15px; }
  .ticks li { padding-left: 28px; }
  .stamp { font-size: 21px; padding: 7px 11px 5px; }
  .stamp small { font-size: 11.5px; }
  .stampline.two { justify-content: flex-start; padding-left: 8px; height: calc(var(--rule) * 3); }
  .seal { width: 112px; height: 112px; }
  .sealspot { height: calc(var(--rule) * 5); }
  /* folio 2 keeps its money columns */
  .f2 .row:has(.moneyhead) > .pf { width: 144px; margin: 0 0 0 auto; }
  .row.deal { display: grid; grid-template-columns: minmax(0, 1fr) 144px; }
  .crop-top img { aspect-ratio: 368 / 432; }
  .row.deal > .pf { margin-top: 0; }
  .w { font-size: 25px; padding: 0 3px; }
  .wax { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .moneyhead { font-size: 12.5px; letter-spacing: 0; }
  .money.wide .stamp { font-size: 17px; padding: 6px 8px 4px; margin-top: -4px; }
  .split { grid-template-columns: 1fr; }
  .split .priv { margin-top: 0; }
  .under .stamp { margin: 6px 0 0 auto; font-size: 18px; }
  .hash { font-size: 12.5px; line-height: 13px; }
  .sum td { font-size: 24px; }
  .orders li { font-size: 20px; margin-bottom: 0; }
  .orders { margin-bottom: var(--rule); }
  .sig { height: calc(var(--rule) * 3); flex-wrap: wrap; align-content: flex-end; }
  .sig .name { font-size: 25px; }
  .sig .wax { width: 46px; height: 46px; margin: 0 0 -6px; }
  .row.ask { display: grid; grid-template-columns: minmax(0, 1fr) 34px; }
  .row.ask > .pf { margin-top: 0; justify-self: end; }
  .row.ask > .what, .row.deal > .what { padding-bottom: var(--rule) !important; }
  .sitefoot { width: 100%; padding: 28px 16px 40px; }
}

/* ---------- no motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .stamp[data-stamp], .js .stamp[data-stamp].in, .js .seal[data-press], .js .seal[data-press].in, .js .f2 .s-rcpt, .js .f2.go .s-rcpt { animation: none !important; opacity: .84 !important; }
  .js .seal[data-press], .js .seal[data-press].in { opacity: 1 !important; }
  .f2 .wax, .f2 .w, .f2 .w-out::after, .f2 .tick path { transition: none !important; }
}

/* ---------- print: ten folios, one per 16:9 page ---------- */
@page { size: 13.333in 7.5in; margin: 0; }
.is-print .stamp, .is-print .seal { animation: none !important; opacity: .84 !important; }
.is-print .seal { opacity: 1 !important; }
.is-print .f2 .wax, .is-print .f2 .w, .is-print .f2 .w-out::after, .is-print .f2 .tick path { transition: none !important; }
@media print {
  html, body { background: var(--paper) !important; }
  .skip, .sitefoot, .obj, .copy { display: none !important; }
  .room { height: 160px; }
  .room::after { display: none; }
  .room img { object-position: 50% 30%; }
  .sheet { width: 100%; max-width: none; margin: 0; box-shadow: none; }
  .folio { zoom: var(--z, 1); height: calc(7.5in / var(--z, 1)); overflow: hidden; break-after: page; break-inside: avoid; align-content: start; }
  .f1 { height: calc(7.5in - 160px); }
  .f1 h1 { font-size: 150px; line-height: calc(var(--rule) * 5); top: -8px; position: relative; }
  .f2, .f8, .f9 { --z: 1.2; }
  .f3 { --z: 1.15; }
  .f3.wide { --c-pf: 54%; }
  .f3 .backs { gap: 8px; }
  .portrait { box-shadow: 0 0 0 4px var(--slip), 0 0 0 5px rgba(46, 34, 47, .3); }
  .folio:last-child { break-after: auto; }
  .stamp, .seal { animation: none !important; opacity: .84 !important; -webkit-mask: none; mask: none; mix-blend-mode: normal; }
  .seal { opacity: 1 !important; }
  .js .f2 .wax { opacity: 1 !important; transform: rotate(8deg) !important; }
  .js .f2 .w { clip-path: none !important; }
  .js .f2 .w-out::after { transform: rotate(-9deg) !important; }
  .js .f2 .tick path { stroke-dashoffset: 0 !important; }
  a { text-decoration-color: rgba(43, 47, 94, .45); }
  .slip { box-shadow: 0 0 0 1px rgba(46, 34, 47, .25); }
}
