/* ============================================================
   primae-about.css — "THE JOURNEY OF ONE PROBLEM"
   The About set piece for primae.html (#pm-about, section#about).

   A living pipeline: a problem TOKEN detaches from the "Your
   problem" card, rides an illuminated rail through four stage
   nodes — discovery · build · proof · memory — while a large
   instrument panel below the rail shows what each stage is
   actually doing, then arrives at the "Your proof" card and
   stamps a signed artifact. A readout strip narrates the active
   stage in big plain type.

   Structure: js/primae-about.js builds the whole stage inside
   the EXISTING .pm-about-band element (markup in primae.html is
   untouched). If the script never runs, the original static band
   markup below still renders — restyled here at the same legible
   type floor.

   TYPE FLOOR for this component: nothing below 14px. Stage
   labels 15–16px mono, card/instrument copy 17–18px, key
   moments (arrival, headline numbers, closing line) 20–30px.

   Scoped under #pm-about / .pm-about-*. Every class and state
   class carries the pm-about- prefix.
   ============================================================ */

/* ---- local tokens (warm-light fallbacks baked in) ----------- */
#pm-about {
  --pm-about-ink: var(--color-text, #1a1a17);
  --pm-about-mut: var(--color-muted, #6c6b61);
  --pm-about-bg: var(--color-bg, #f5f4ef);
  --pm-about-surf: var(--surface-alt, #efece4);
  --pm-about-acc: var(--accent, #d9542b);
  --pm-about-acc-soft: var(--accent-soft, rgba(217, 84, 43, 0.10));
  --pm-about-amb: #a87b1c;
  --pm-about-ok: #22c55e;
  --pm-about-hair: var(--bb-line, rgba(26, 26, 23, 0.14));
  --pm-about-mono: var(--font-mono, "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace);
  --pm-about-sans: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  --pm-about-mark: 42px;
}

/* the shared section furniture inside this root also clears the floor */
#pm-about .section-label { font-size: 14px; letter-spacing: 0.12em; }
#pm-about .about-status { justify-content: center; margin-top: clamp(22px, 3vw, 34px); font-size: 15px; }
#pm-about .status-chip { font-size: 14px; }

/* ============================================================
   1 · no-JS fallback — the original static band, larger type
   ============================================================ */
#pm-about .pm-about-band {
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.pm-about-node {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.pm-about-node--end {
  padding: 15px 18px 13px;
  background: var(--pm-about-bg, #f5f4ef);
  border: 1px solid var(--pm-about-hair, rgba(26, 26, 23, 0.14));
  border-radius: 10px;
}
.pm-about-motif { height: 40px; display: grid; place-items: center; }
.pm-about-motif svg { height: 100%; width: auto; display: block; overflow: visible; }
.pm-about-node--end .pm-about-motif { height: 50px; }
.pm-about-tag {
  font-family: var(--pm-about-mono);
  font-size: 15px; font-weight: 500; line-height: 1;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--pm-about-mut);
  white-space: nowrap;
}
.pm-about-tag--end { color: var(--pm-about-ink); }
.pm-about-link {
  flex: 1 1 24px; min-width: 12px; height: 1px;
  background: var(--pm-about-hair);
}
.pm-about-pg { fill: var(--color-surface, #eae7dd); stroke: var(--color-border, #e0ddd1); stroke-width: 1.2; }
.pm-about-pgln { stroke: var(--pm-about-mut); stroke-width: 1.3; stroke-linecap: round; opacity: 0.5; }
/* the badge glyph is grown so even the fallback clears the 14px floor */
.pm-about-qbadge { fill: var(--pm-about-bg); stroke: var(--pm-about-mut); stroke-width: 1.3; r: 9px; }
.pm-about-qmark { font: 500 14px var(--pm-about-mono); fill: var(--pm-about-ink); transform: translateY(1.6px); }
.pm-about-dd { fill: var(--pm-about-mut); opacity: 0.8; }
.pm-about-mag-lens { fill: none; stroke: var(--pm-about-ink); stroke-width: 1.6; }
.pm-about-mag-arm { stroke: var(--pm-about-ink); stroke-width: 1.8; stroke-linecap: round; }
.pm-about-base { stroke: var(--pm-about-hair); stroke-width: 1; }
.pm-about-blk { fill: var(--color-surface, #eae7dd); stroke: var(--pm-about-mut); stroke-width: 1.1; }
.pm-about-delta { font: 500 15px var(--pm-about-mono); fill: var(--pm-about-mut); opacity: 0.6; }
.pm-about-ck { fill: none; stroke: var(--pm-about-acc); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pm-about-mem-e { stroke: var(--pm-about-mut); stroke-width: 1.3; opacity: 0.55; }
.pm-about-mem-n { fill: var(--pm-about-mut); }
.pm-about-mem-new-e { fill: none; stroke: var(--pm-about-acc); stroke-width: 1.4; stroke-linecap: round; opacity: 0.8; }
.pm-about-mem-new-n { fill: var(--pm-about-bg); stroke: var(--pm-about-acc); stroke-width: 1.6; }
.pm-about-sig { fill: none; stroke: var(--pm-about-ink); stroke-width: 1.3; stroke-linecap: round; opacity: 0.75; }
.pm-about-seal { fill: var(--pm-about-bg); stroke: var(--pm-about-acc); stroke-width: 1.6; }
.pm-about-seal-ck { fill: none; stroke: var(--pm-about-acc); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pm-about-seal-pulse { display: none; }

@media (max-width: 640px) {
  #pm-about .pm-about-band { flex-direction: column; }
  .pm-about-node--end { align-self: stretch; }
  .pm-about-link { flex: none; width: 1px; height: 26px; min-width: 0; align-self: center; }
}

/* ============================================================
   2 · live stage shell
   ============================================================ */
#pm-about .pm-about-band.pm-about-live {
  display: block;
  max-width: 1140px;
  margin: 0 auto;
}

.pm-about-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-family: var(--pm-about-sans);
  color: var(--pm-about-ink);
}

/* ---- topbar: eyebrow + run counter + controls --------------- */
.pm-about-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--pm-about-hair);
}
.pm-about-eyebrow {
  margin: 0;
  font-family: var(--pm-about-mono);
  font-size: 15px; font-weight: 500; line-height: 1.2;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--pm-about-mut);
}
.pm-about-eyebrow b {
  font-weight: 500;
  color: var(--pm-about-ink);
}
.pm-about-ctl { display: flex; align-items: center; gap: 8px; }
.pm-about-runs {
  font-family: var(--pm-about-mono);
  font-size: 15px; font-weight: 500; line-height: 1;
  letter-spacing: 0.05em;
  color: var(--pm-about-mut);
  margin-right: 4px;
  white-space: nowrap;
}
.pm-about-runs b { color: var(--pm-about-acc); font-weight: 500; }

#pm-about .pm-about-btn {
  font-family: var(--pm-about-mono);
  font-size: 14px; font-weight: 500; line-height: 1;
  letter-spacing: 0.04em;
  color: var(--pm-about-mut);
  background: var(--pm-about-bg);
  border: 1px solid var(--pm-about-hair);
  border-radius: 999px;
  padding: 8px 14px;
  margin: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
#pm-about .pm-about-btn:hover { color: var(--pm-about-acc); border-color: var(--pm-about-acc); }
#pm-about .pm-about-btn:focus-visible { outline: 2px solid var(--pm-about-acc); outline-offset: 2px; }
#pm-about .pm-about-btn[aria-pressed="true"] { color: var(--pm-about-acc); border-color: var(--pm-about-acc); background: var(--pm-about-acc-soft); }
#pm-about .pm-about-btn[disabled] { opacity: 0.5; cursor: default; }
#pm-about .pm-about-btn[disabled]:hover { color: var(--pm-about-mut); border-color: var(--pm-about-hair); }

/* ---- main three-column bed --------------------------------- */
.pm-about-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(206px, 244px) minmax(0, 1fr) minmax(206px, 244px);
  gap: 20px;
  align-items: stretch;
}

/* ============================================================
   3 · the two end cards
   ============================================================ */
.pm-about-side {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 16px 17px 15px;
  background: var(--pm-about-bg);
  border: 1px solid var(--pm-about-hair);
  border-radius: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.pm-about-side.pm-about-hot {
  border-color: var(--pm-about-acc);
  box-shadow: 0 0 0 3px var(--pm-about-acc-soft);
}
.pm-about-cap {
  margin: 0;
  font-family: var(--pm-about-mono);
  font-size: 15px; font-weight: 500; line-height: 1;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--pm-about-mut);
}
.pm-about-side.pm-about-hot .pm-about-cap { color: var(--pm-about-acc); }

/* the ask */
.pm-about-ask {
  margin: 0;
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.005em;
  color: var(--pm-about-ink);
  transition: opacity 0.25s ease;
}
.pm-about-ask.pm-about-swap { opacity: 0; }
.pm-about-field {
  margin: 0;
  font-family: var(--pm-about-mono);
  font-size: 14px; line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--pm-about-mut);
}
.pm-about-picks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
#pm-about .pm-about-pick {
  font-family: var(--pm-about-mono);
  font-size: 14px; font-weight: 500; line-height: 1;
  letter-spacing: 0.02em;
  color: var(--pm-about-mut);
  background: transparent;
  border: 1px solid var(--pm-about-hair);
  border-radius: 999px;
  padding: 7px 11px;
  margin: 0;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
#pm-about .pm-about-pick:hover { color: var(--pm-about-acc); border-color: var(--pm-about-acc); }
#pm-about .pm-about-pick:focus-visible { outline: 2px solid var(--pm-about-acc); outline-offset: 2px; }
#pm-about .pm-about-pick[aria-pressed="true"] {
  color: var(--pm-about-ink);
  border-color: var(--pm-about-ink);
  background: rgba(26, 26, 23, 0.05);
}

/* ---- the proof card ---------------------------------------- */
.pm-about-side--out { align-items: flex-start; }
.pm-about-sealbox {
  position: relative;
  align-self: center;
  width: 74px; height: 74px;
  margin: 2px 0 0;
  opacity: 0.42;
  transform: scale(0.9);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.pm-about-sealbox svg { width: 100%; height: 100%; display: block; overflow: visible; }
.pm-about-side--out.pm-about-stamped .pm-about-sealbox { opacity: 1; transform: scale(1); }
.pm-about-ring { fill: none; stroke: var(--pm-about-hair); stroke-width: 2; stroke-dasharray: 5 6; transform-origin: 50% 50%; }
.pm-about-side--out.pm-about-stamped .pm-about-ring { stroke: var(--pm-about-acc); animation: pm-about-spin 22s linear infinite; }
@keyframes pm-about-spin { to { transform: rotate(360deg); } }
.pm-about-ring2 { fill: none; stroke: var(--pm-about-hair); stroke-width: 1.4; }
.pm-about-side--out.pm-about-stamped .pm-about-ring2 { stroke: var(--pm-about-acc); opacity: 0.55; }
.pm-about-tick {
  fill: none; stroke: var(--pm-about-mut); stroke-width: 3.4;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  transition: stroke-dashoffset 0.5s ease 0.12s, stroke 0.3s ease;
}
.pm-about-side--out.pm-about-stamped .pm-about-tick { stroke: var(--pm-about-acc); stroke-dashoffset: 0; }
.pm-about-halo {
  fill: none; stroke: var(--pm-about-acc); stroke-width: 2;
  opacity: 0; transform-origin: 50% 50%;
}
.pm-about-side--out.pm-about-stamped .pm-about-halo { animation: pm-about-halo 2.6s ease-out 2; }
@keyframes pm-about-halo {
  0% { transform: scale(0.9); opacity: 0.5; }
  60%, 100% { transform: scale(1.5); opacity: 0; }
}

.pm-about-signed {
  margin: 0;
  align-self: center;
  font-size: 25px; font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--pm-about-mut);
  opacity: 0.4;
  transition: color 0.35s ease, opacity 0.35s ease;
}
.pm-about-side--out.pm-about-stamped .pm-about-signed { color: var(--pm-about-acc); opacity: 1; }
.pm-about-att {
  margin: 0;
  align-self: center;
  font-family: var(--pm-about-mono);
  font-size: 15px; line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--pm-about-mut);
  opacity: 0.45;
  transition: opacity 0.35s ease;
  text-align: center;
}
.pm-about-side--out.pm-about-stamped .pm-about-att { opacity: 1; }
.pm-about-keep {
  margin: auto 0 0;
  padding-top: 4px;
  font-size: 15px; line-height: 1.4;
  color: var(--pm-about-mut);
}

/* ============================================================
   4 · the rail, the stage nodes, the travelling token
   ============================================================ */
.pm-about-mid { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.pm-about-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  min-height: 98px;
}
.pm-about-rail-line,
.pm-about-rail-fill {
  position: absolute;
  left: -20px; right: -20px;
  top: calc(var(--pm-about-mark) / 2);
  height: 1px;
  pointer-events: none;
}
.pm-about-rail-line { background: var(--pm-about-hair); }
.pm-about-rail-fill {
  right: auto; width: 0;
  height: 2px; margin-top: -0.5px;
  background: var(--pm-about-acc);
  opacity: 0.85;
  border-radius: 1px;
}
/* directional shimmer riding the whole rail */
.pm-about-rail-shim {
  position: absolute;
  left: -20px; right: -20px;
  top: calc(var(--pm-about-mark) / 2 - 1px);
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}
.pm-about-rail-shim::after {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 34%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(26, 26, 23, 0.28), transparent);
  animation: pm-about-shim 3.4s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
@keyframes pm-about-shim {
  0% { transform: translateX(-110%); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateX(320%); opacity: 0; }
}
/* hover scrub */
.pm-about-glow {
  position: absolute;
  top: calc(var(--pm-about-mark) / 2);
  left: 0; width: 150px; height: 1px;
  margin-left: -75px;
  background: radial-gradient(closest-side, rgba(217, 84, 43, 0.85), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.pm-about-rail.pm-about-scrub .pm-about-glow { opacity: 1; }

/* ---- a stage node ------------------------------------------ */
#pm-about .pm-about-stg {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 0 4px;
  margin: 0;
  background: none;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  color: inherit;
  font: inherit;
}
#pm-about .pm-about-stg:focus-visible { outline: 2px solid var(--pm-about-acc); outline-offset: 4px; }

.pm-about-mk {
  position: relative;
  width: var(--pm-about-mark); height: var(--pm-about-mark);
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--pm-about-bg);
  border: 1px solid var(--pm-about-hair);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}
.pm-about-mk svg { width: 22px; height: 22px; display: block; overflow: visible; }
.pm-about-mk svg * { stroke: var(--pm-about-mut); transition: stroke 0.3s ease, opacity 0.3s ease; }
.pm-about-mk svg .pm-about-fillglyph { fill: var(--pm-about-mut); stroke: none; transition: fill 0.3s ease; }

#pm-about .pm-about-stg:hover .pm-about-mk { transform: translateY(-2px); }

/* working */
.pm-about-stg.pm-about-work .pm-about-mk {
  border-color: var(--pm-about-amb);
  box-shadow: 0 0 0 4px rgba(168, 123, 28, 0.12);
}
.pm-about-stg.pm-about-work .pm-about-mk svg * { stroke: var(--pm-about-amb); }
.pm-about-stg.pm-about-work .pm-about-mk svg .pm-about-fillglyph { fill: var(--pm-about-amb); }

/* done — stays lit */
.pm-about-stg.pm-about-lit .pm-about-mk {
  border-color: var(--pm-about-acc);
  box-shadow: 0 0 0 4px var(--pm-about-acc-soft);
  background: var(--pm-about-bg);
}
.pm-about-stg.pm-about-lit .pm-about-mk svg * { stroke: var(--pm-about-acc); }
.pm-about-stg.pm-about-lit .pm-about-mk svg .pm-about-fillglyph { fill: var(--pm-about-acc); }

.pm-about-nlab {
  font-family: var(--pm-about-mono);
  font-size: 15px; font-weight: 500; line-height: 1.1;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--pm-about-mut);
  transition: color 0.3s ease;
  white-space: nowrap;
}
.pm-about-stg.pm-about-work .pm-about-nlab { color: var(--pm-about-amb); }
.pm-about-stg.pm-about-lit .pm-about-nlab { color: var(--pm-about-ink); }
.pm-about-stg.pm-about-pin .pm-about-nlab { color: var(--pm-about-acc); }

.pm-about-nchip {
  font-family: var(--pm-about-mono);
  font-size: 14px; font-weight: 500; line-height: 1;
  letter-spacing: 0.01em;
  color: var(--pm-about-ink);
  background: var(--pm-about-bg);
  border: 1px solid var(--pm-about-hair);
  border-radius: 999px;
  padding: 5px 9px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.pm-about-stg.pm-about-lit .pm-about-nchip { opacity: 1; transform: none; }

/* pinned (clicked) */
.pm-about-stg.pm-about-pin .pm-about-mk { border-color: var(--pm-about-acc); box-shadow: 0 0 0 5px var(--pm-about-acc-soft); }

/* ---- the travelling problem token -------------------------- */
.pm-about-token {
  position: absolute;
  left: 0; top: 0;
  z-index: 4;
  display: flex; align-items: center; gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--pm-about-bg);
  border: 1.5px solid var(--pm-about-acc);
  box-shadow: 0 4px 16px -8px rgba(26, 26, 23, 0.5), 0 0 0 5px var(--pm-about-acc-soft);
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  pointer-events: none;
  white-space: nowrap;
}
.pm-about-token.pm-about-on { opacity: 1; visibility: visible; }
.pm-about-tokdot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pm-about-acc);
  flex: none;
}
.pm-about-toktext {
  font-family: var(--pm-about-mono);
  font-size: 14px; font-weight: 500; line-height: 1;
  letter-spacing: 0.02em;
  color: var(--pm-about-ink);
}
/* the whole bed dips for a beat before the loop starts over */
.pm-about-main { transition: opacity 0.45s ease; }
.pm-about-main.pm-about-dim { opacity: 0.5; }

/* ============================================================
   5 · the instrument panel (one per stage, cross-faded)
   ============================================================ */
.pm-about-instwrap {
  position: relative;
  min-height: 202px;
  padding: 14px 16px;
  background: var(--pm-about-surf);
  border: 1px solid var(--pm-about-hair);
  border-radius: 12px;
}
.pm-about-inst {
  position: absolute;
  left: 16px; right: 16px; top: 14px; bottom: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;   /* the instrument fills its panel */
  gap: 9px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.pm-about-inst.pm-about-on { opacity: 1; visibility: visible; }

.pm-about-ihead {
  margin: 0;
  font-family: var(--pm-about-mono);
  font-size: 15px; font-weight: 500; line-height: 1.2;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--pm-about-mut);
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  min-width: 0;
}
.pm-about-ihead b { font-weight: 500; color: var(--pm-about-acc); }

/* ---- 01 discovery: the shelf ------------------------------- */
.pm-about-shelf { position: relative; display: flex; flex-direction: column; gap: 3px; }
.pm-about-cand {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  height: 25px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  opacity: 0.4;
  transition: opacity 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.pm-about-cand.pm-about-seen { opacity: 1; }
.pm-about-cand.pm-about-best {
  border-color: var(--pm-about-acc);
  background: var(--pm-about-acc-soft);
}
.pm-about-cn {
  font-family: var(--pm-about-mono);
  font-size: 15px; line-height: 1;
  color: var(--pm-about-ink);
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pm-about-cbar {
  flex: 0 0 78px;
  height: 4px; border-radius: 2px;
  background: rgba(26, 26, 23, 0.10);
  overflow: hidden;
}
.pm-about-cbar i {
  display: block; height: 100%; width: 0;
  background: var(--pm-about-mut);
  border-radius: 2px;
  transition: width 0.45s cubic-bezier(0.2, 0.8, 0.3, 1), background 0.3s ease;
}
.pm-about-cand.pm-about-best .pm-about-cbar i { background: var(--pm-about-acc); }
.pm-about-cs {
  font-family: var(--pm-about-mono);
  font-size: 15px; font-weight: 500; line-height: 1;
  color: var(--pm-about-mut);
  flex: 0 0 auto;
  min-width: 38px; text-align: right;
  opacity: 0;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.pm-about-cand.pm-about-seen .pm-about-cs { opacity: 1; }
.pm-about-cand.pm-about-best .pm-about-cs { color: var(--pm-about-acc); }
.pm-about-crown {
  flex: 0 0 auto;
  font-family: var(--pm-about-mono);
  font-size: 14px; line-height: 1;
  color: var(--pm-about-acc);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pm-about-cand.pm-about-best .pm-about-crown { opacity: 1; }

.pm-about-beam {
  position: absolute;
  left: -6px; right: -6px;
  top: 0; height: 25px;
  border-radius: 6px;
  background: linear-gradient(90deg, transparent, rgba(168, 123, 28, 0.20), transparent);
  box-shadow: 0 0 0 1px rgba(168, 123, 28, 0.22) inset;
  opacity: 0;
  pointer-events: none;
}
.pm-about-shelf.pm-about-scan .pm-about-beam { opacity: 1; }

.pm-about-ifoot {
  margin: 0;
  font-size: 17px; line-height: 1.35;
  font-weight: 500;
  color: var(--pm-about-ink);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.pm-about-ifoot.pm-about-on { opacity: 1; transform: none; }
.pm-about-ifoot em { font-style: normal; color: var(--pm-about-acc); }

/* ---- 02 build --------------------------------------------- */
.pm-about-buildrow { display: flex; gap: 16px; align-items: stretch; }
.pm-about-mods { display: flex; flex-direction: column; gap: 5px; flex: 1 1 auto; min-width: 0; }
.pm-about-mod {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--pm-about-mono);
  font-size: 15px; line-height: 1;
  color: var(--pm-about-ink);
  background: var(--pm-about-bg);
  border: 1px solid var(--pm-about-hair);
  border-radius: 7px;
  padding: 6px 10px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 1.2, 0.4, 1), border-color 0.3s ease;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pm-about-mod.pm-about-in { opacity: 1; transform: none; }
.pm-about-mod.pm-about-in.pm-about-fresh { border-color: var(--pm-about-acc); }
.pm-about-mod span {
  flex: 0 0 auto;
  color: var(--pm-about-mut);
  font-size: 14px;
}
.pm-about-meter {
  flex: 0 0 auto;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-end;
  gap: 4px;
  padding-left: 16px;
  border-left: 1px solid var(--pm-about-hair);
  text-align: right;
}
.pm-about-big {
  font-family: var(--pm-about-mono);
  font-size: 30px; font-weight: 500; line-height: 1;
  letter-spacing: -0.01em;
  color: var(--pm-about-ink);
  font-variant-numeric: tabular-nums;
}
.pm-about-unit {
  font-family: var(--pm-about-mono);
  font-size: 15px; line-height: 1;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--pm-about-mut);
}
.pm-about-sub {
  font-family: var(--pm-about-mono);
  font-size: 14px; line-height: 1.3;
  color: var(--pm-about-mut);
  margin-top: 2px;
}

/* ---- 03 proof --------------------------------------------- */
.pm-about-cmp {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.pm-about-col { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pm-about-ck-k {
  font-family: var(--pm-about-mono);
  font-size: 14px; line-height: 1;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--pm-about-mut);
}
.pm-about-ck-v {
  font-family: var(--pm-about-mono);
  font-size: 19px; font-weight: 500; line-height: 1;
  color: var(--pm-about-ink);
  font-variant-numeric: tabular-nums;
}
.pm-about-dbox {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 0 4px;
}
.pm-about-dval {
  font-family: var(--pm-about-mono);
  font-size: 22px; font-weight: 500; line-height: 1;
  color: var(--pm-about-amb);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}
.pm-about-dval.pm-about-ok { color: var(--pm-about-ok); }
.pm-about-dlab {
  font-family: var(--pm-about-mono);
  font-size: 14px; line-height: 1;
  color: var(--pm-about-mut);
}
.pm-about-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.pm-about-chk {
  font-family: var(--pm-about-mono);
  font-size: 15px; line-height: 1;
  color: var(--pm-about-mut);
  background: var(--pm-about-bg);
  border: 1px solid var(--pm-about-hair);
  border-radius: 999px;
  padding: 6px 10px;
  opacity: 0.35;
  transition: opacity 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.pm-about-chk.pm-about-on {
  opacity: 1;
  color: var(--pm-about-ink);
  border-color: rgba(34, 197, 94, 0.55);
}
.pm-about-chk.pm-about-on b { color: var(--pm-about-ok); font-weight: 500; }
.pm-about-verdict {
  margin: 0;
  font-size: 21px; font-weight: 700; line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--pm-about-ink);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.pm-about-verdict.pm-about-on { opacity: 1; transform: none; }
.pm-about-verdict em { font-style: normal; color: var(--pm-about-acc); }

/* ---- 04 memory -------------------------------------------- */
.pm-about-memrow { display: flex; gap: 16px; align-items: center; }
.pm-about-graph { flex: 1 1 auto; min-width: 0; height: 84px; }
.pm-about-graph svg { width: 100%; height: 100%; display: block; overflow: visible; }
.pm-about-ge { stroke: var(--pm-about-mut); stroke-width: 1.4; opacity: 0.4; fill: none; }
.pm-about-gn { fill: var(--pm-about-mut); opacity: 0.55; }
.pm-about-gnew-e {
  stroke: var(--pm-about-acc); stroke-width: 1.8; fill: none;
  stroke-dasharray: 60; stroke-dashoffset: 60;
  transition: stroke-dashoffset 0.5s ease;
}
.pm-about-gnew-n {
  fill: var(--pm-about-bg); stroke: var(--pm-about-acc); stroke-width: 2;
  transform-box: fill-box; transform-origin: center;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.2, 1.5, 0.4, 1);
}
.pm-about-gpulse { fill: none; stroke: var(--pm-about-acc); stroke-width: 1.6; opacity: 0; transform-box: fill-box; transform-origin: center; }
.pm-about-inst--mem.pm-about-grown .pm-about-gnew-e { stroke-dashoffset: 0; }
.pm-about-inst--mem.pm-about-grown .pm-about-gnew-n { transform: scale(1); }
.pm-about-inst--mem.pm-about-grown .pm-about-gpulse { animation: pm-about-gp 2.4s ease-out infinite; }
@keyframes pm-about-gp {
  0% { transform: scale(0.7); opacity: 0.6; }
  70%, 100% { transform: scale(2.1); opacity: 0; }
}
.pm-about-memr {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  padding-left: 16px;
  border-left: 1px solid var(--pm-about-hair);
  text-align: right;
}
.pm-about-memnote {
  margin: 6px 0 0;
  font-size: 17px; font-weight: 500; line-height: 1.3;
  color: var(--pm-about-ink);
}
.pm-about-memnote em { font-style: normal; color: var(--pm-about-acc); }

/* ============================================================
   6 · the readout strip — the narrating line
   ============================================================ */
.pm-about-read {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--pm-about-hair);
  border-radius: 10px;
  background: var(--pm-about-bg);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.pm-about-read.pm-about-pinned { border-color: var(--pm-about-acc); background: var(--pm-about-acc-soft); }
.pm-about-rk {
  flex: 0 0 auto;
  font-family: var(--pm-about-mono);
  font-size: 15px; font-weight: 500; line-height: 1.4;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--pm-about-acc);
  white-space: nowrap;
}
.pm-about-rt {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.42;
  color: var(--pm-about-ink);
  min-width: 0;
}
.pm-about-rhint {
  flex: 0 0 auto;
  margin-left: auto;
  font-family: var(--pm-about-mono);
  font-size: 14px; line-height: 1.4;
  color: var(--pm-about-mut);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.pm-about-read.pm-about-pinned .pm-about-rhint { opacity: 1; }

/* ---- closing line ------------------------------------------ */
.pm-about-line {
  margin: clamp(26px, 3.4vw, 38px) auto 0;
  max-width: 760px;
  text-align: center;
  font-family: var(--pm-about-mono);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.55;
  color: var(--pm-about-ink);
}

/* mid-desktop: the payoff line under the shelf takes a second line */
@media (min-width: 1001px) and (max-width: 1200px) {
  .pm-about-instwrap { min-height: 248px; }
}

/* ============================================================
   7 · narrow — the journey wraps to vertical
   ============================================================ */
@media (max-width: 1000px) {
  /* stacked: hold a comfortable measure instead of stretching the full container */
  #pm-about .pm-about-band.pm-about-live { max-width: 680px; }
  .pm-about-main { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pm-about-side { gap: 10px; }
  .pm-about-side--out { align-items: stretch; }
  .pm-about-sealbox { width: 62px; height: 62px; }

  .pm-about-rail {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    min-height: 0;
    padding: 4px 0;
  }
  .pm-about-rail-line,
  .pm-about-rail-fill,
  .pm-about-rail-shim {
    left: calc(var(--pm-about-mark) / 2); right: auto;
    top: -16px; bottom: -16px;
    height: auto; width: 1px;
    margin-top: 0;
  }
  .pm-about-rail-fill { width: 2px; margin-left: -0.5px; bottom: auto; height: 0; }
  .pm-about-rail-shim { width: 3px; margin-left: -1px; }
  .pm-about-rail-shim::after {
    width: 100%; height: 22%;
    background: linear-gradient(180deg, transparent, rgba(26, 26, 23, 0.28), transparent);
    animation-name: pm-about-shim-v;
  }
  @keyframes pm-about-shim-v {
    0% { transform: translateY(-110%); opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { transform: translateY(420%); opacity: 0; }
  }
  .pm-about-glow {
    left: calc(var(--pm-about-mark) / 2); top: 0;
    width: 1px; height: 150px;
    margin-left: -0.5px; margin-top: -75px;
    background: radial-gradient(closest-side, rgba(217, 84, 43, 0.85), transparent);
  }

  #pm-about .pm-about-stg {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 3px 4px;
    text-align: left;
  }
  .pm-about-nlab { flex: 1 1 auto; text-align: left; }
  .pm-about-nchip { margin-left: auto; }
  #pm-about .pm-about-stg:hover .pm-about-mk { transform: none; }

  .pm-about-instwrap { min-height: 226px; }
}

@media (max-width: 560px) {
  #pm-about { --pm-about-mark: 38px; }
  .pm-about-topbar { gap: 10px; }
  .pm-about-ihead b { display: none; }
  .pm-about-buildrow, .pm-about-memrow { flex-direction: column; align-items: stretch; gap: 12px; }
  .pm-about-meter, .pm-about-memr {
    flex-direction: row; align-items: baseline; justify-content: flex-start;
    gap: 8px; padding-left: 0; padding-top: 10px;
    border-left: 0; border-top: 1px solid var(--pm-about-hair);
    text-align: left;
  }
  .pm-about-memr { flex-wrap: wrap; }
  .pm-about-memnote { margin: 0; max-width: none; }
  .pm-about-graph { height: 74px; }
  .pm-about-cbar { display: none; }
  .pm-about-big { font-size: 26px; }
  .pm-about-read { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pm-about-rhint { margin-left: 0; }
  /* Δ comparator stacks: the two values side by side, the gap under them */
  .pm-about-col { flex: 1 1 40%; min-width: 0; }
  .pm-about-dbox { order: 3; flex: 1 1 100%; flex-direction: row; align-items: baseline; gap: 8px; padding: 0; }
  .pm-about-instwrap { min-height: 268px; }
  .pm-about-cmp { gap: 10px; }
  .pm-about-signed { font-size: 22px; }
}

/* ============================================================
   8 · reduced motion — the completed journey, nothing moving
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .pm-about-rail-shim { display: none; }
  .pm-about-side--out.pm-about-stamped .pm-about-ring,
  .pm-about-side--out.pm-about-stamped .pm-about-halo,
  .pm-about-inst--mem.pm-about-grown .pm-about-gpulse,
  .pm-about-token.pm-about-pop { animation: none; }
  .pm-about-stage *,
  .pm-about-stage *::before,
  .pm-about-stage *::after { transition-duration: 0.001s !important; }
}
