/* Izzy Neutron: the benchmark section (pieces/izzy-bench.js). Scoped to .izb. It continues the deck above it in his look: void black,
   bone, ash, graphite hairlines, wide capitals (Archivo, loaded by the page), tabular figures. No colour beyond his greys.
   Bars on one scale per measure (counts as a full or empty share, speed in seconds), Brian's pick (D118). Sized by the section's width. */
.izb { --void: #0B0B0C; --bone: #ECEBE7; --ash: #8D9197; --graphite: #2A2A2E; --wide: "Archivo", var(--disp); --orange: rgb(255, 140, 40);
  position: relative; background: var(--void); color: var(--bone); padding: clamp(8px, 2vw, 24px) var(--pad) clamp(64px, 9vw, 128px); container-type: inline-size; }
.izb-in { max-width: none; }   /* the deck's measure: its rules run margin to margin, so this does too (creative director, 14:5x) */
.izb-head { display: grid; gap: clamp(12px, 1.6vw, 18px); max-width: 46rem; padding-top: clamp(40px, 6vw, 80px); }   /* no rule here: the change of ground under the deck is the divider */
.izb-title { margin: 0; font-family: var(--wide); font-stretch: 112%; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1.02;
  font-size: clamp(1.75rem, 4.2vw, 3.4rem); color: var(--bone); text-wrap: balance; }
.izb-lead { margin: 0; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.5; color: rgba(236, 235, 231, .86); text-wrap: pretty; }

.izb-t { width: 100%; margin-top: clamp(28px, 4vw, 48px); border-collapse: collapse; font-variant-numeric: tabular-nums; }
.izb-t th, .izb-t td { padding: 0; text-align: left; font-weight: inherit; vertical-align: top; }
.izb-k { font-family: var(--wide); font-stretch: 112%; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.izb-k { display: block; font-size: 14px; line-height: 1.3; color: var(--bone); }
.izb-sub { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--ash); }
.izb-ch { display: block; font-family: var(--text); font-size: 14px; line-height: 1.35; color: var(--ash); }
.izb-v { display: block; font-family: var(--wide); font-stretch: 112%; font-weight: 700; color: var(--ash); white-space: nowrap; }
.izb-c0 .izb-v, .izb-c0 .izb-ch { color: var(--bone); }
.izb-nw { white-space: nowrap; }

.izb-note { margin: clamp(18px, 2.4vw, 28px) 0 0; max-width: 46rem; font-size: 14px; line-height: 1.5; color: var(--ash); }

/* ---- the readout. A still strip per site, the deck's flat look: Izzy in the deck's orange, the others in its greys.
   Every group is named in words; every figure is in type beside its strip. One fill on entry, none with reduced motion. ---- */
.izb .izb-t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.izb .izb-t tr { display: grid; gap: 16px; padding: 24px 0 26px; border-bottom: 1px solid var(--graphite); }
.izb .izb-t tbody tr:first-child { border-top: 1px solid var(--graphite); }
.izb .izb-c { display: grid; gap: 6px; }
.izb .izb-c0 .izb-ch { color: var(--bone); }
.izb .izb-v { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.izb-bars { display: grid; gap: 6px; }
.izb-ln { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; gap: 14px; align-items: center; }
.izb-bv { font-family: var(--wide); font-stretch: 112%; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-align: right; white-space: nowrap; color: var(--ash); font-variant-numeric: tabular-nums; }
.izb-c0 .izb-bv { color: var(--orange); font-size: 17px; }
.izb-bar { position: relative; display: block; height: 10px; background: #19191C; }
/* one height for every strip: on one scale the area must not favour anyone; the orange and the words single Izzy out */
.izb-bar.is-time { background-image: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), rgba(236, 235, 231, .14) calc(20% - 1px) 20%); }
.izb-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--w) * 100%); background: var(--ash); transform-origin: left center; transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.izb-bar.is-me i { background: var(--orange); }
.izb-c2 .izb-bar i { background: var(--bone); opacity: .55; }
.izb-bar.is-zero i { width: 2px; background: var(--ash); opacity: 1; }
.izb.is-pre .izb-bar i { transform: scaleX(0); }
.izb .izb-t tr:nth-child(2) .izb-bar i { transition-delay: .1s; }
.izb .izb-t tr:nth-child(3) .izb-bar i { transition-delay: .2s; }
.izb-axis { position: relative; display: block; height: 18px; }
.izb-axis em { position: absolute; top: 0; left: calc(var(--x) * 100%); translate: -50% 0; font-style: normal; font-family: var(--text); font-size: 12px; color: var(--ash); white-space: nowrap; font-variant-numeric: tabular-nums; }
.izb-axis em:first-child { translate: 0 0; }
.izb-axis em:last-child { translate: -100% 0; }
@container (min-width: 760px) {
  .izb .izb-c { grid-template-columns: 14rem minmax(0, 1fr); gap: 0 20px; align-items: start; }
  .izb .izb-ch { padding-top: 1px; }
}
@container (min-width: 1100px) {
  .izb .izb-t tr { grid-template-columns: minmax(0, .75fr) minmax(0, 2.4fr); gap: 14px 40px; }
  .izb .izb-t th[role="rowheader"] { grid-row: 1 / span 3; }
  .izb .izb-c { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) { .izb-bar i { transition: none; } .izb.is-pre .izb-bar i { transform: none; } }
