/* PNC story scenes (2026-10-21), on the Talent pattern: canvas stages drawn with the shared kit
   (talent-world.js). Shared readout classes (.clk-*, .odo) are redefined here because the other
   *-scenes.css files are not loaded on this page. Phone rig and reduced-motion collapse at the end. */

/* --- stages --- */
.track-ask, .track-lawmap, .track-rounds { height: 240vh; }
.track-ask .lt-stage, .track-lawmap .lt-stage, .track-rounds .lt-stage { justify-content: flex-start; padding-top: clamp(76px, 11vh, 120px); }
.ask, .lawmap, .rounds { position: relative; z-index: 2; width: 100%; margin: clamp(6px, 1.5vh, 20px) auto 0; height: clamp(470px, calc(100svh - 330px), 640px); overflow: hidden; }
.ask canvas, .lawmap canvas, .rounds canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* the head gives the stage room once the scene is under way */
.track-ask .lt-head, .track-lawmap .lt-head, .track-rounds .lt-head { transform-origin: top center; transform: translateY(calc(clamp(0, var(--p) * 10, 1) * -18px)) scale(calc(1 - clamp(0, var(--p) * 10, 1) * .1)); transition: none; }

/* --- readouts --- */
.clk-label { position: absolute; color: var(--gray); font-size: var(--t-caption); letter-spacing: .24em; text-transform: uppercase; transition: color .5s, opacity .5s; }
.clk-label--left { left: 8vw; top: 12px; }
.clk-label--right { right: 8vw; top: 12px; text-align: right; }
.clk-label--mid { left: 50%; top: 12px; transform: translateX(-50%); }
.ledger .clk-label { opacity: 0; }
.ledger .clk-label.is-on { opacity: 1; }
.clk-verdict { position: absolute; right: 8vw; font-family: var(--display); font-weight: 500; font-style: normal; letter-spacing: -.04em; line-height: 1; font-size: var(--t-stat); white-space: nowrap; display: flex; align-items: baseline; gap: .14em; }
.clk-verdict small { font-size: .42em; letter-spacing: 0; color: var(--gray); font-weight: 500; transition: color .5s; }
.odo { display: inline-flex; position: relative; height: 1em; overflow: hidden; contain: paint; vertical-align: top; font: inherit; font-weight: 500; font-style: normal; font-variant-numeric: tabular-nums; }
.odo span { display: block; width: .55em; text-align: center; height: 1em; line-height: 1; transition: transform .12s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.odo span i { display: block; height: 1em; line-height: 1; font-style: normal; }
.odo span.is-lead-zero { opacity: 0; width: 0; transition: transform .18s cubic-bezier(.2,.8,.2,1), width .2s, opacity .2s; }
.clk-note { position: absolute; left: 0; bottom: 10px; margin-left: 8vw; max-width: 34ch; color: var(--gray); font-size: var(--t-caption); letter-spacing: .04em; opacity: 0; transform: translateY(4px); transition: opacity .5s, transform .5s; }
.clk-note.is-on { opacity: 1; transform: none; }

/* readouts shared by the three PNC scenes */
.clk-count { bottom: 10%; color: var(--ink); opacity: 0; transition: opacity .5s, color .5s; }
.clk-count.is-on { opacity: 1; }
.clk-count.is-over, .clk-count.is-over small { color: var(--shu-text); }
.ds-tag { position: absolute; left: 50%; top: 12px; transform: translate(-50%, 4px); font-size: var(--t-caption); letter-spacing: .2em; text-transform: uppercase; color: var(--gray); opacity: 0; transition: opacity .3s, transform .3s cubic-bezier(.2,.8,.2,1), color .4s; }
.ds-tag.is-on { opacity: 1; transform: translate(-50%, 0); }
.ds-tag.is-hot { color: var(--shu-text); }
.ask .ds-tag { left: 8vw; top: auto; bottom: 16%; transform: translateY(4px); }
.ask .ds-tag.is-on { transform: none; }
.lawmap .clk-label { opacity: 0; } .lawmap .clk-label.is-on { opacity: 1; }
.rd-live { position: absolute; left: 8vw; top: 12px; font-size: var(--t-caption); letter-spacing: .2em; text-transform: uppercase; color: var(--shu-text); opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .5s; }
.rd-live.is-on { opacity: 1; transform: none; }


/* --- the three product cards: no hairline, a soft mat with a lit top edge and a shadow --- */
body.case-pnc .ov-products article { border-color: transparent; background: linear-gradient(180deg, rgba(245,242,235,.035), rgba(245,242,235,.012)); box-shadow: inset 0 1px 0 rgba(245,242,235,.08), 0 30px 60px -36px rgba(0,0,0,.9), 0 2px 6px rgba(0,0,0,.35); transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; }
body.case-pnc .ov-products article:hover { border-color: transparent; box-shadow: inset 0 1px 0 rgba(245,242,235,.12), 0 40px 70px -36px rgba(0,0,0,.95), 0 2px 6px rgba(0,0,0,.35); }
body.case-pnc .ovp-media { background: #0A0A0C; }
body.case-pnc .ovp-media video, body.case-pnc .ovp-media img { filter: saturate(.9) brightness(.96); }
body.case-pnc .ov-products .ovp-copy > b { border-top-color: rgba(245,242,235,.07); }

/* --- beats: one choreographed reveal each; the outgoing paragraph leaves before the next arrives --- */
body.case-pnc .story-track .lt-beats p { transition: opacity .25s ease, transform .25s ease, filter .25s ease; transform: translateY(20px); filter: blur(6px); }
body.case-pnc .story-track .lt-beats p.is-on { transform: none; filter: blur(0); transition: opacity .55s cubic-bezier(.2,.8,.2,1) .25s, transform .7s cubic-bezier(.2,.8,.2,1) .25s, filter .55s cubic-bezier(.2,.8,.2,1) .25s; }
@media (prefers-reduced-motion: reduce) { body.case-pnc .story-track .lt-beats p { transition: none; transform: none; filter: none; } }

/* --- tablets: fewer words on the readouts --- */

/* --- phones and reduced motion: the plain stacked read --- */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .track-ask, .track-lawmap, .track-rounds { height: auto !important; }
  .ask, .lawmap, .rounds { height: clamp(280px, 70vw, 420px); }
  .clk-label, .ac-verdict { display: none; }
  .clk-verdict { right: 6vw; }
  .clk-note { position: static; margin: 12px 8vw 0; max-width: none; }
}

/* --- phone rig: under 900px with motion allowed, the story's scenes keep a sticky one-viewport stage
   (kicker, title, one caption at a time, the canvas filling the rest); canvases draw at a virtual
   560px width and scale down (talent-world.js). Same exception as the Talent story. --- */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  body.case-pnc [data-depth-view="story"] .story-track.ov-track { height: 210vh !important; }
  body.case-pnc [data-depth-view="story"] .story-track.ov-track .lt-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; padding: 74px 0 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; }
  body.case-pnc [data-depth-view="story"] .story-track.ov-track .lt-head { transform: none; }
  body.case-pnc [data-depth-view="story"] .story-track.ov-track .lt-h { font-size: clamp(24px, 6.4vw, 30px); }
  body.case-pnc [data-depth-view="story"] .story-track.ov-track .lt-beats { position: relative; min-height: 6.4em; margin-top: 10px; max-width: none; }
  body.case-pnc [data-depth-view="story"] .story-track.ov-track .lt-beats p { position: absolute; inset: 0; margin: 0; filter: none !important; }
  body.case-pnc [data-depth-view="story"] .story-track.ov-track .lt-beats p:not(.is-on) { opacity: 0 !important; transform: translateY(10px) !important; }
  body.case-pnc [data-depth-view="story"] .story-track.ov-track .lt-beats p.is-on { opacity: 1 !important; transform: none !important; }
  body.case-pnc [data-depth-view="story"] .ask,
  body.case-pnc [data-depth-view="story"] .lawmap,
  body.case-pnc [data-depth-view="story"] .rounds { flex: 1 1 0; height: auto; min-height: 0; margin: 6px 0 0; }
  body.case-pnc [data-depth-view="story"] .clk-verdict { right: 6vw; }
  body.case-pnc [data-depth-view="story"] .clk-count { bottom: 14px; top: auto; }
  body.case-pnc [data-depth-view="story"] .clk-note { position: absolute; left: 0; bottom: 14px; margin: 0 6vw; max-width: 46%; }
  body.case-pnc [data-depth-view="story"] .ds-tag { top: 8px; }
  body.case-pnc .site-footer { padding-bottom: 96px; }
  body.case-pnc .story-track .lt-beats p { transition-duration: .16s; }
  body.case-pnc .story-track .lt-beats p.is-on { transition-delay: .16s; }
  body.case-pnc #ov-products .ov-head .ov-lede { font-size: var(--t-small); }
  body.case-pnc #ov-products .ov-head .provenance-note { font-size: var(--t-caption); color: rgba(138,138,133,.75); max-width: 36ch; margin: 14px auto 0; }
}

/* v0.255 audit fixes: the head keeps clear of the nav on short windows; the step count sits under the columns */
.track-ask .lt-head { transform: translateY(calc(clamp(0, var(--p) * 10, 1) * -8px)) scale(calc(1 - clamp(0, var(--p) * 10, 1) * .06)); }
.lawmap .clk-count { bottom: 4%; }
