Audit — flagged for review
Variant: Flagged
Integrity and judgement kept apart. Every record hashes fine, but a $9,950 cash deposit sits $50 under the $10k reporting line. Right after its tick, a highlighter sweeps across the amount in reading direction, 252ms on ease-out, and the read head waits on the row until the mark is down. The record’s tick stays olive, because the record is authentic: it is marked, not failed. Once the walk ends, the status turns to a solid dark-clay "1 to review", the loudest pill in the family, because it is the only state that needs a person. The footer says why 84ms later. Then the card waits for 2.5 seconds, on purpose, with only a slow breath on the pill’s dot so the hold reads as waiting rather than frozen: the machine can flag, but only someone can clear. The highlight does not wipe away when "Cleared · JR" arrives. Once the sign-off has landed, oat settles over the clay, because an audit trail keeps every mark and review only stops it asking. The walk is the intact chain’s exact rhythm on a longer 8.4s loop, so all the extra time goes to the human step. Reach for it in fraud and compliance queues, moderation tools and anomaly alerts, anywhere a system surfaces and a person decides.
The source
A complete HTML document. Paste it into an empty .html file and it plays — no stylesheet, script, font, or image to fetch.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Audit — flagged for review</title>
<style>
/* One clock drives the whole walk: how many records are verified (--_c),
how many links are proven (--_l), where the read head sits (--_k), and
the integer the footer prints (--_n). Every row derives its own state
from these, so no row can run ahead of the record before it. */
@property --_c {
syntax: '<number>';
inherits: true;
initial-value: 0;
}
@property --_l {
syntax: '<number>';
inherits: true;
initial-value: 0;
}
@property --_k {
syntax: '<number>';
inherits: true;
initial-value: 0;
}
@property --_n {
syntax: '<integer>';
inherits: true;
initial-value: 0;
}
:root {
/* Neutrals — fixed, never remixed. */
--ivory: #faf9f5;
--paper: #ffffff;
--oat: #e3dacc;
--slate: #141413;
/* Knobs — the remix API. A knob exists iff declared here and used below. */
--hue: 38.8;
--lift: 0;
--chroma: 1;
--round: 1;
--speed: 1;
/* Accents — derived from the knobs with the family's offsets baked in,
so one hue roll moves them together. Defaults reproduce the original hex. */
--clay: oklch(calc(0.6724 + var(--lift)) calc(0.1308 * var(--chroma)) var(--hue));
--clay-d: oklch(calc(0.5797 + var(--lift)) calc(0.127 * var(--chroma)) var(--hue));
--olive: oklch(
calc(0.6118 + var(--lift)) calc(0.0713 * var(--chroma)) calc(var(--hue) + 88.3)
);
--rust: oklch(
calc(0.5408 + var(--lift)) calc(0.1357 * var(--chroma)) calc(var(--hue) - 10.3)
);
--_muted: color-mix(in srgb, var(--slate) 52%, transparent);
--_head: color-mix(in srgb, var(--clay) 13%, var(--paper));
--_clay-wash: color-mix(in srgb, var(--clay) 16%, var(--paper));
--_olive-wash: color-mix(in srgb, var(--olive) 20%, var(--paper));
--_ink: color-mix(in srgb, var(--clay) 34%, var(--paper));
/* Clock — 8.4s: 1% is 84ms. The walk is the intact chain's, retimed
to the longer loop (8.5% of 6.4s = 6.5% here), so the extra time all
goes to the part only a person can do. */
--cycle: 8.4s;
--t: calc(var(--cycle) / var(--speed));
--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
--_breath: 1.4s; /* the waiting pill's sub-clock */
--_m: 1; /* motion multiplier: 0 under reduced motion */
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
min-height: 100vh;
display: grid;
place-items: center;
background: var(--ivory);
font-family:
system-ui,
-apple-system,
'Segoe UI',
Roboto,
sans-serif;
color: var(--slate);
}
.card {
width: min(320px, calc(100vw - 32px));
padding: 13px 14px 12px;
display: grid;
gap: 9px;
border-radius: calc(12px * var(--round));
background: var(--paper);
border: 1px solid var(--oat);
animation: card var(--t) linear infinite;
}
/* The reset hides in a dark window at the wrap. */
@keyframes card {
0% {
opacity: 0;
}
2.5% {
opacity: 1;
}
95.5% {
opacity: 1;
animation-timing-function: var(--ease-out);
}
100% {
opacity: 0;
}
}
.head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.k {
font-size: 11px;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--_muted);
white-space: nowrap;
}
.pill {
display: grid;
font-size: 11px;
font-weight: 600;
flex: none;
}
.pill span {
grid-area: 1 / 1;
padding: 2px 8px;
border-radius: 999px;
text-align: center;
white-space: nowrap;
}
.p-run {
background: var(--_clay-wash);
color: var(--clay-d);
animation: p-out var(--t) linear infinite;
}
.p-flag {
background: var(--clay-d);
color: var(--paper);
animation: p-mid var(--t) linear infinite;
}
/* Waiting, not stalled: a slow breath on the dot while nobody has
looked yet, so a 2.5s hold never reads as a frozen card. */
.p-flag i {
display: inline-block;
width: 5px;
height: 5px;
margin-right: 5px;
vertical-align: 1px;
border-radius: 50%;
background: var(--paper);
animation: breath calc(var(--_breath) / var(--speed)) ease-in-out infinite alternate;
}
@keyframes breath {
from {
opacity: 1;
}
to {
opacity: 0.35;
}
}
.p-ok {
background: var(--_olive-wash);
color: var(--olive);
animation: p-in var(--t) linear infinite;
}
/* Three states, one at a time: running, waiting on a person, signed off. */
@keyframes p-out {
0%,
36% {
opacity: 1;
animation-timing-function: ease;
}
37.5%,
100% {
opacity: 0;
}
}
@keyframes p-mid {
0%,
36% {
opacity: 0;
animation-timing-function: ease;
}
37.5%,
67% {
opacity: 1;
animation-timing-function: ease;
}
68.5%,
100% {
opacity: 0;
}
}
@keyframes p-in {
0%,
67% {
opacity: 0;
animation-timing-function: ease;
}
68.5%,
100% {
opacity: 1;
}
}
.rows {
position: relative;
list-style: none;
animation:
c var(--t) linear infinite,
l var(--t) linear infinite,
k var(--t) linear infinite,
n var(--t) linear infinite;
}
/* Verified count. The tick is the last thing to land on each record. */
@keyframes c {
0%,
6.1% {
--_c: 0;
animation-timing-function: var(--ease-out);
}
8%,
12.6% {
--_c: 1;
animation-timing-function: var(--ease-out);
}
14.5%,
19% {
--_c: 2;
animation-timing-function: var(--ease-out);
}
21%,
25.5% {
--_c: 3;
animation-timing-function: var(--ease-out);
}
27.4%,
32% {
--_c: 4;
animation-timing-function: var(--ease-out);
}
33.9%,
100% {
--_c: 5;
}
}
/* Links prove a record points at the one above it, so each draws 64ms
before its record's tick — the tick is earned by the link. */
@keyframes l {
0%,
11.8% {
--_l: 0;
animation-timing-function: var(--ease-out);
}
13.7%,
18.3% {
--_l: 1;
animation-timing-function: var(--ease-out);
}
20.2%,
24.8% {
--_l: 2;
animation-timing-function: var(--ease-out);
}
26.7%,
31.2% {
--_l: 3;
animation-timing-function: var(--ease-out);
}
33.1%,
100% {
--_l: 4;
}
}
/* The read head moves record to record on screen, so it eases both ways. */
@keyframes k {
0%,
8% {
--_k: 0;
animation-timing-function: var(--ease-in-out);
}
9.5%,
14.5% {
--_k: 1;
animation-timing-function: var(--ease-in-out);
}
16%,
22.8% {
--_k: 2;
animation-timing-function: var(--ease-in-out);
}
24.3%,
27.4% {
--_k: 3;
animation-timing-function: var(--ease-in-out);
}
29%,
100% {
--_k: 4;
}
}
@keyframes n {
0%,
6.4% {
--_n: 0;
}
6.5%,
12.9% {
--_n: 1;
}
13%,
19.4% {
--_n: 2;
}
19.5%,
25.8% {
--_n: 3;
}
25.9%,
32.3% {
--_n: 4;
}
32.4%,
100% {
--_n: 5;
}
}
.cursor {
position: absolute;
top: 0;
left: -7px;
right: -7px;
height: 26px;
border-radius: calc(6px * var(--round));
background: var(--_head);
box-shadow: inset 2px 0 0 var(--clay);
transform: translateY(calc(var(--_k) * 100%));
animation: cursor var(--t) linear infinite;
}
@keyframes cursor {
0%,
2.3% {
opacity: 0;
animation-timing-function: var(--ease-out);
}
3.8%,
34.3% {
opacity: 1;
animation-timing-function: var(--ease-out);
}
36.2%,
100% {
opacity: 0;
}
}
.row {
--_s: clamp(0, calc(var(--_c) - var(--_i)), 1);
--_ls: clamp(0, calc(var(--_l) - var(--_i) + 1), 1);
position: relative;
height: 26px;
display: grid;
grid-template-columns: 12px 40px minmax(0, 1fr) auto;
align-items: center;
gap: 8px;
font-size: 12.5px;
}
/* The chain: a link from the bottom of the mark above to the top of this
one. Grey until proven, then drawn downward — from the record being
pointed at, to the record doing the pointing. */
.row + .row::before,
.row + .row::after {
content: '';
position: absolute;
left: 5px;
top: -7px;
width: 2px;
height: 14px;
background: var(--oat);
}
.row + .row::after {
background: var(--olive);
transform-origin: top;
transform: scaleY(var(--_ls));
}
.mark {
position: relative;
width: 12px;
height: 12px;
border-radius: 50%;
border: 1.5px solid var(--oat);
}
.ok {
position: absolute;
inset: -1.5px;
border-radius: 50%;
background: var(--olive);
display: grid;
place-items: center;
opacity: var(--_s);
transform: scale(calc(1 - 0.14 * (1 - var(--_s)) * var(--_m)));
}
.ok svg {
width: 8px;
height: 8px;
fill: none;
stroke: var(--paper);
stroke-width: 1.8;
stroke-linecap: round;
stroke-linejoin: round;
}
.seq,
.desc,
.amt {
opacity: calc(0.55 + 0.45 * var(--_s));
white-space: nowrap;
}
.seq {
font-size: 11px;
font-weight: 700;
color: var(--_muted);
font-variant-numeric: tabular-nums;
}
.desc {
overflow: hidden;
text-overflow: ellipsis;
}
.amt {
font-weight: 500;
font-variant-numeric: tabular-nums;
text-align: right;
}
/* The auditor's highlighter: the record hashes fine — it is authentic —
but its amount sits just under a reporting line, so it is marked,
not failed. It sweeps in reading direction, 252ms on ease-out. */
.hl {
position: relative;
isolation: isolate;
}
.hl::before,
.hl::after {
content: '';
position: absolute;
inset: 1px -4px 0;
border-radius: calc(3px * var(--round));
z-index: -1;
}
.hl::before {
background: var(--_ink);
transform-origin: left;
animation: ink var(--t) linear infinite;
}
/* Review never erases the mark — the trail keeps it — it just stops
asking: clay settles to oat once someone has signed. */
.hl::after {
background: var(--oat);
animation: settle var(--t) linear infinite;
}
/* Drawn while the head is still on the row — the head waits for it. */
@keyframes ink {
0%,
19.8% {
transform: scaleX(calc(1 - var(--_m)));
animation-timing-function: var(--ease-out);
}
22.8%,
100% {
transform: scaleX(1);
}
}
/* Oat lands on top of the ink only after the sign-off has arrived:
the cause is the person, the mark is the bookkeeping. */
@keyframes settle {
0%,
68.5% {
opacity: 0;
animation-timing-function: ease;
}
71.5%,
100% {
opacity: 1;
}
}
.foot {
border-top: 1px solid var(--oat);
padding-top: 8px;
font-size: 12px;
color: var(--_muted);
font-variant-numeric: tabular-nums;
counter-reset: n var(--_n);
animation: n var(--t) linear infinite;
}
.foot b {
font-weight: 600;
color: var(--slate);
}
.foot b::before {
content: counter(n);
}
.foot {
display: grid;
}
.foot > span {
grid-area: 1 / 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.foot > span:nth-child(1) {
animation: p-out var(--t) linear infinite;
}
.foot > span:nth-child(2) {
color: var(--clay-d);
animation: f-mid var(--t) linear infinite;
}
.foot > span:nth-child(3) {
animation: f-in var(--t) linear infinite;
}
/* The footer says why, then who — each 84ms behind the pill it explains. */
@keyframes f-mid {
0%,
37% {
opacity: 0;
animation-timing-function: ease;
}
38.5%,
68% {
opacity: 1;
animation-timing-function: ease;
}
69.5%,
100% {
opacity: 0;
}
}
@keyframes f-in {
0%,
68% {
opacity: 0;
animation-timing-function: ease;
}
69.5%,
100% {
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
:root {
--_m: 0;
}
/* Without the sweep, the mark fades in whole on the same beat. */
.hl::before {
animation-name: ink-rm;
}
.p-flag i {
animation-duration: calc(var(--_breath) * 1.6 / var(--speed));
}
.hl::before {
transform: none;
}
@keyframes ink-rm {
0%,
19.8% {
opacity: 0;
}
22.8%,
100% {
opacity: 1;
}
}
/* One shared 1.6x clock keeps every part in phase. */
.card,
.card *,
.card *::before,
.card *::after {
animation-duration: calc(var(--t) * 1.6);
}
/* The order of the walk is the message, so it keeps every beat: the
head jumps between records instead of gliding, and links fade in
whole instead of drawing. */
.cursor {
transform: translateY(calc(round(var(--_k), 1) * 100%));
}
.row + .row::after {
transform: none;
opacity: var(--_ls);
}
}
</style>
</head>
<body>
<div
class="card"
role="img"
aria-label="A ledger audit walking a hash chain: every record verifies, but a cash deposit of 9,950 is highlighted as it passes, the status asks for one review because it sits 50 under the 10k reporting line, then a reviewer clears it and the highlight settles to grey rather than disappearing"
>
<div class="head">
<span class="k">Ledger · Q3</span>
<span class="pill"><span class="p-run">Verifying</span><span class="p-flag"><i></i>1 to review</span><span class="p-ok">Cleared · JR</span></span>
</div>
<ol class="rows">
<li class="cursor" aria-hidden="true"></li>
<li class="row" style="--_i: 0">
<span class="mark"><span class="ok"><svg viewBox="0 0 8 8"><path d="M1.6 4.2 3.3 5.8 6.4 2.4" /></svg></span></span>
<span class="seq">#1041</span><span class="desc">Northwind Ltd</span><span class="amt">−1,240.00</span>
</li>
<li class="row" style="--_i: 1">
<span class="mark"><span class="ok"><svg viewBox="0 0 8 8"><path d="M1.6 4.2 3.3 5.8 6.4 2.4" /></svg></span></span>
<span class="seq">#1042</span><span class="desc">Payroll · Oct</span><span class="amt">−18,605.12</span>
</li>
<li class="row" style="--_i: 2">
<span class="mark"><span class="ok"><svg viewBox="0 0 8 8"><path d="M1.6 4.2 3.3 5.8 6.4 2.4" /></svg></span></span>
<span class="seq">#1043</span><span class="desc">Cash deposit</span><span class="amt"><span class="hl">+9,950.00</span></span>
</li>
<li class="row" style="--_i: 3">
<span class="mark"><span class="ok"><svg viewBox="0 0 8 8"><path d="M1.6 4.2 3.3 5.8 6.4 2.4" /></svg></span></span>
<span class="seq">#1044</span><span class="desc">Office lease</span><span class="amt">−4,200.00</span>
</li>
<li class="row" style="--_i: 4">
<span class="mark"><span class="ok"><svg viewBox="0 0 8 8"><path d="M1.6 4.2 3.3 5.8 6.4 2.4" /></svg></span></span>
<span class="seq">#1045</span><span class="desc">Refund #88</span><span class="amt">+312.40</span>
</li>
</ol>
<p class="foot"><span><b></b> of 5 hashes match · sha-256</span><span>$50 under the $10k reporting line</span><span>Cleared by J. Reyes · note on file</span></p>
</div>
</body>
</html>
The variant family
Same idea, one axis moved. Compare them side by side before you commit.