Back to the library

Provenance — source retracted

Variant: Retracted

What happens to a verified claim when its source is withdrawn, and in what order. The card starts settled — solid olive rule, olive marker, "Matches" — then the source is struck through first, its pill crossfading to rust. The retraction propagates up the dependency: the marker turns 700ms later, the claim’s olive rule retracts in 210ms (exits run shorter than the draws they undo) while a rust strike draws across the figure, and the sentence drops to muted ink. It does not vanish, because a reader who already quoted it needs to find it again. The last stop is a note telling them what to do. Use it anywhere claims are reused downstream — knowledge bases, citations in AI answers, cached reports — so a broken source visibly breaks what rests on it instead of failing silently.

statuserrortextindicatorloop

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>Provenance — source retracted</title>
    <style>
      :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);
        --_olive-wash: color-mix(in srgb, var(--olive) 20%, var(--paper));
        --_rust-wash: color-mix(in srgb, var(--rust) 14%, var(--paper));

        /* Clock — 7s: 1% is 70ms. The retraction starts at the source and
           reaches the claim 910ms later; the gap is the dependency, shown. */
        --cycle: 7s;
        --t: calc(var(--cycle) / var(--speed));

        --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
      }

      * {
        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(300px, calc(100vw - 32px));
        padding: 14px 16px 13px;
        display: grid;
        gap: 10px;
        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;
        }
      }

      .k {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--_muted);
      }

      .claim {
        font-size: clamp(16px, 4.6vw, 19px);
        font-weight: 600;
        line-height: 1.35;
        letter-spacing: -0.01em;
        text-wrap: balance;
        animation: claim var(--t) linear infinite;
      }

      /* The claim does not vanish — a reader who already quoted it needs to
         find it again — it just stops speaking at full voice. */
      @keyframes claim {
        0%,
        31% {
          color: var(--slate);
          animation-timing-function: ease;
        }
        35%,
        100% {
          color: var(--_muted);
        }
      }

      .fig {
        position: relative;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
      }

      .fig::before,
      .fig::after {
        content: '';
        position: absolute;
        left: -1px;
        right: -1px;
      }

      /* Starts verified: the solid rule this family only grants after a check. */
      .fig::before {
        bottom: -2px;
        height: 2px;
        background: var(--olive);
        transform-origin: right;
        animation: unrule var(--t) linear infinite;
      }

      .fig::after {
        top: 55%;
        height: 2px;
        background: var(--rust);
        transform: scaleX(0);
        transform-origin: left;
        animation: strike-c var(--t) linear infinite;
      }

      /* Exits run shorter than the draws they undo. */
      @keyframes unrule {
        0%,
        31% {
          transform: scaleX(1);
          animation-timing-function: var(--ease-out);
        }
        34%,
        100% {
          transform: scaleX(0);
        }
      }

      @keyframes strike-c {
        0%,
        32% {
          transform: scaleX(0);
          animation-timing-function: var(--ease-out);
        }
        36.5%,
        100% {
          transform: scaleX(1);
        }
      }

      .ref {
        font-size: 11px;
        font-weight: 700;
        vertical-align: super;
        line-height: 0;
        margin-left: 2px;
        animation: ref var(--t) linear infinite;
      }

      @keyframes ref {
        0%,
        28% {
          color: var(--olive);
          animation-timing-function: ease;
        }
        30%,
        100% {
          color: var(--rust);
        }
      }

      .rows {
        border-top: 1px solid var(--oat);
        padding-top: 9px;
        display: grid;
        gap: 8px;
        font-size: 12px;
        color: var(--_muted);
      }

      .row {
        display: flex;
        align-items: center;
        gap: 7px;
      }

      .n {
        font-size: 11px;
        font-weight: 700;
      }

      .t {
        flex: 1;
        white-space: nowrap;
      }

      .t span {
        position: relative;
      }

      .t span::after {
        content: '';
        position: absolute;
        left: -1px;
        right: -1px;
        top: 55%;
        height: 1.5px;
        background: var(--rust);
        transform: scaleX(0);
        transform-origin: left;
        animation: strike-s var(--t) linear infinite;
      }

      @keyframes strike-s {
        0%,
        18% {
          transform: scaleX(0);
          animation-timing-function: var(--ease-out);
        }
        22%,
        100% {
          transform: scaleX(1);
        }
      }

      .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;
      }

      .p-ok {
        background: var(--_olive-wash);
        color: var(--olive);
        animation: p-out var(--t) linear infinite;
      }

      .p-bad {
        background: var(--_rust-wash);
        color: var(--rust);
        animation: p-in var(--t) linear infinite;
      }

      @keyframes p-out {
        0%,
        18% {
          opacity: 1;
          animation-timing-function: ease;
        }
        20%,
        100% {
          opacity: 0;
        }
      }

      @keyframes p-in {
        0%,
        18% {
          opacity: 0;
          animation-timing-function: ease;
        }
        20%,
        100% {
          opacity: 1;
        }
      }

      /* The last stop on the path: what the reader should do about it. */
      .note {
        font-size: 12px;
        font-weight: 600;
        color: var(--rust);
        animation: note var(--t) linear infinite;
      }

      @keyframes note {
        0%,
        40% {
          opacity: 0;
          transform: translateY(-3px);
          animation-timing-function: var(--ease-out);
        }
        44%,
        100% {
          opacity: 1;
          transform: translateY(0);
        }
      }

      @media (prefers-reduced-motion: reduce) {
        /* 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 path is the message, so it keeps its beats; each
           stroke fades in whole instead of drawing, and the note does not drop. */
        .fig::before,
        .fig::after,
        .t span::after,
        .note {
          transform: none;
        }

        .fig::before {
          animation-name: off-c;
        }
        .fig::after {
          animation-name: on-c;
        }
        .t span::after {
          animation-name: p-in;
        }
        .note {
          animation-name: on-n;
        }

        @keyframes off-c {
          0%,
          31% {
            opacity: 1;
          }
          33%,
          100% {
            opacity: 0;
          }
        }
        @keyframes on-c {
          0%,
          32% {
            opacity: 0;
          }
          35%,
          100% {
            opacity: 1;
          }
        }
        @keyframes on-n {
          0%,
          40% {
            opacity: 0;
          }
          43%,
          100% {
            opacity: 1;
          }
        }
      }
    </style>
  </head>
  <body>
    <div
      class="card"
      role="img"
      aria-label="A verified claim whose source is retracted: the source is struck through first, then the footnote marker turns red, the claim's figure is struck and dimmed, and a note asks the reader to recheck"
    >
      <span class="k">Claim</span>
      <p class="claim">
        Cache change cut p95 latency <span class="fig">38%</span><sup class="ref">1</sup>
      </p>
      <div class="rows">
        <div class="row">
          <span class="n">1</span>
          <span class="t"><span>Load test #4127</span></span>
          <span class="pill"
            ><span class="p-ok">Matches</span><span class="p-bad">Retracted</span></span
          >
        </div>
        <p class="note">Source retracted — recheck before citing</p>
      </div>
    </div>
  </body>
</html>

The variant family

Same idea, one axis moved. Compare them side by side before you commit.