/* CATALYST - The film player's full-frame visuals (film.js viz(): counters, bars, trust curve, gauge, grid, findings, questions, flow), shared by
   the four demo hubs (27 Oct 2026). A hub sets its accent with --fv-acc on .film (default TopStreet oxide). Sizes are in cqw, so the visual
   scales with the player, full screen included. */
:where(.film, .tss) { --fv-acc: #B0283D; --fv-acc-l: #C23A4D; --fv-ok: #4fb286; }
.film__cues { top: 4cqw; }
.film.has-full .film__title { opacity: 0; }
.film.has-full .film__shade { height: 100%; background: rgba(12, 12, 14, .8); transition: background .5s ease; }
.film__shade { transition: background .5s ease, height .5s ease; }
.fc--full { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: 84cqw; max-width: none; min-width: 0; padding: 0; background: none; border: 0; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; text-align: left; animation: fvIn .6s cubic-bezier(.2, .75, .2, 1) both; }
.fc--full::before { display: none; }
.fc--full.out { animation: fvOut .45s ease-in both; }
.fc--full .fc__k { font-size: max(12px, 1.25cqw); letter-spacing: .24em; color: var(--fv-acc-l); }
.fc--full .fc__b { margin-top: 1.2cqw; max-width: 70cqw; font-size: max(22px, 4.6cqw); line-height: 1.05; letter-spacing: -.02em; }
.fc--full .fc__s { max-width: 60cqw; margin-top: 2.2cqw; font-family: var(--display, Archivo, Arial, sans-serif); font-size: max(15px, 2.6cqw); font-weight: 600; line-height: 1.2; color: #fff; }
.fv-src { margin-top: 1.4cqw; font-size: max(10px, 1.05cqw); letter-spacing: .04em; color: rgba(255, 255, 255, .55); }
.fv-n { font-variant-numeric: tabular-nums; }
@keyframes fvIn { from { opacity: 0; transform: translate(-50%, calc(-50% + 2cqw)); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes fvOut { to { opacity: 0; transform: translate(-50%, calc(-50% - 1.5cqw)); } }

/* big numbers side by side */
.fv-nums { display: flex; gap: 5cqw; margin-top: 1.6cqw; }
.fv-nums > div { flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .8cqw; }
.fv-nums > div:only-child { max-width: 60cqw; }
.fv-nums b { font-family: var(--display, Archivo, Arial, sans-serif); font-size: max(30px, 8.4cqw); font-weight: 700; line-height: .95; letter-spacing: -.035em; color: #fff; }
.fv-nums > div:first-child b { color: #fff; }
.fv-nums span { max-width: 24cqw; font-size: max(12px, 1.7cqw); line-height: 1.35; color: rgba(255, 255, 255, .78); }

/* bars that grow */
.fv-bars { display: grid; gap: 1.4cqw; margin-top: 2.2cqw; max-width: 70cqw; }
.fv-bar { display: grid; grid-template-columns: 14cqw minmax(0, 1fr) 16cqw; align-items: center; gap: 1.6cqw; }
.fv-bl { font-size: max(11px, 1.6cqw); line-height: 1.25; color: rgba(255, 255, 255, .86); }
.fv-bt { height: max(10px, 2.6cqw); background: rgba(255, 255, 255, .08); border-radius: .5cqw; overflow: hidden; }
.fv-bt i { display: block; height: 100%; width: 0; background: rgba(255, 255, 255, .75); border-radius: .5cqw; transition: width 1.2s cubic-bezier(.2, .75, .2, 1) .15s; }
.fv-bar.on .fv-bt i { width: var(--w); }
.fv-bar.is-hot .fv-bt i { background: var(--fv-acc); }
.fv-bar b { white-space: nowrap; font-family: var(--display, Archivo, Arial, sans-serif); font-size: max(14px, 2.6cqw); font-weight: 700; letter-spacing: -.02em; }

/* the questions a buyer is really asking */
.fv-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4cqw 2cqw; margin-top: 2.2cqw; max-width: 80cqw; }
.fv-q { padding: 1.6cqw 2cqw; border-left: .35cqw solid var(--fv-acc-l); background: rgba(255, 255, 255, .06); font-family: var(--display, Archivo, Arial, sans-serif); font-size: max(13px, 2.15cqw); font-weight: 600; line-height: 1.25; }

/* what most do: each strikes through as it's named */
.fv-strike { display: flex; flex-wrap: wrap; gap: 1.2cqw; margin-top: 2.2cqw; max-width: 76cqw; }
.fv-strike span { position: relative; padding: 1cqw 2cqw; border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; font-size: max(12px, 2cqw); font-weight: 600; transition: opacity .5s, transform .5s, color .4s, border-color .4s; }
.fv-strike span::after { display: none; content: ""; position: absolute; left: 1.2cqw; right: 1.2cqw; top: 50%; height: .3cqw; background: var(--fv-acc-l); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .75, .2, 1); }
.fv-strike span.on2 { text-decoration: line-through 3px var(--fv-acc-l); color: rgba(255, 255, 255, .5); border-color: color-mix(in srgb, var(--fv-acc-l) 50%, transparent); }
.fv-strike span.on2::after { transform: scaleX(1); }

/* the trust curve */
.fv-curve { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3cqw; align-items: center; margin-top: 1.6cqw; }
.fv-curve svg { width: 100%; overflow: visible; }
.fv-curve line { stroke: rgba(255, 255, 255, .25); stroke-width: 1.5; }
.fv-curve text { fill: rgba(255, 255, 255, .5); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.fv-seg { fill: none; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 1 !important; transform: none !important; transition: stroke-dashoffset .7s ease !important; }
.fv-seg.up { stroke: #fff; } .fv-seg.dn { stroke: var(--fv-acc-l); }
.fv-seg.on { stroke-dashoffset: 0; }
.fv-curve circle { transform: none !important; } .fv-curve circle.up { fill: #fff; } .fv-curve circle.dn { fill: var(--fv-acc-l); }
.fv-cl { margin: 0; padding: 0; list-style: none; display: grid; gap: .7cqw; }
.fv-cl li { padding-left: 1.6cqw; position: relative; font-size: max(11px, 1.55cqw); line-height: 1.3; color: rgba(255, 255, 255, .88); }
.fv-cl li::before { content: ""; position: absolute; left: 0; top: .55em; width: .8cqw; height: .8cqw; border-radius: 50%; background: #fff; }
.fv-cl li.dn { color: color-mix(in srgb, var(--fv-acc-l) 70%, #fff); } .fv-cl li.dn::before { background: var(--fv-acc-l); }

/* a gauge */
.fv-gauge { display: grid; grid-template-columns: 22cqw minmax(0, 1fr); align-items: center; gap: 3cqw; margin-top: 1.6cqw; position: relative; }
.fv-gauge svg { width: 22cqw; transform: rotate(-90deg); }
.fv-gauge circle { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 10; }
.fv-gauge .fv-gv { stroke: var(--fv-acc-l); stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; transition: stroke-dashoffset 1.4s cubic-bezier(.2, .75, .2, 1) .1s; }
.fv-gauge.on .fv-gv { stroke-dashoffset: calc(1 - var(--p)); }
.fv-gauge > div { position: absolute; left: 0; width: 22cqw; text-align: center; }
.fv-gauge > div b { display: block; font-family: var(--display, Archivo, Arial, sans-serif); font-size: max(24px, 6.4cqw); font-weight: 700; line-height: 1; }
.fv-gauge > div span { font-size: max(11px, 1.6cqw); color: rgba(255, 255, 255, .7); }
.fv-gauge p { margin: 0; font-size: max(13px, 2cqw); line-height: 1.35; font-weight: 500; max-width: 40cqw; color: rgba(255, 255, 255, .88); }

/* a grid that lights up, and findings that flip to fixed */
.fv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1cqw; margin-top: 2cqw; max-width: 80cqw; }
.fv-grid > div, .fv-flip > div { display: flex; align-items: center; gap: 1.2cqw; padding: 1.2cqw 1.4cqw; border: 1px solid rgba(255, 255, 255, .18); border-radius: .8cqw; background: rgba(255, 255, 255, .04); font-size: max(11px, 1.5cqw); line-height: 1.25; transition: opacity .5s, transform .5s, background .4s, border-color .4s; }
.fv-grid i { flex: none; display: grid; place-items: center; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: rgba(255, 255, 255, .12); font-style: normal; font-size: max(9px, 1.2cqw); font-weight: 700; }
.fv-grid > div.on { background: color-mix(in srgb, var(--fv-acc-l) 16%, transparent); border-color: color-mix(in srgb, var(--fv-acc-l) 55%, transparent); }
.fv-grid > div.on i { background: var(--fv-acc-l); }
.fv-grid > div.on2 { background: rgba(79, 178, 134, .14); border-color: rgba(79, 178, 134, .55); }
.fv-grid > div.on2 i { background: var(--fv-ok); }
.fv-flip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1cqw; margin-top: 2cqw; max-width: 80cqw; }
.fv-flip i { flex: none; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--fv-acc-l); position: relative; transition: background .4s; }
.fv-flip i::after { content: "\00d7"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 700; font-size: max(10px, 1.6cqw); }
.fv-flip > div.on2 { border-color: rgba(79, 178, 134, .6); background: rgba(79, 178, 134, .12); }
.fv-flip > div.on2 i { background: var(--fv-ok); }
.fv-flip > div.on2 i::after { content: "\2713"; }

/* a flow: numbered steps on one row (up to four), or a grid of three */
.fv-flow { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 1.2cqw; margin-top: 2.4cqw; max-width: 82cqw; counter-reset: fv; }
.fv-flow > span { display: flex; flex-direction: column; gap: 1cqw; padding: 1.6cqw 1.8cqw 1.8cqw; border-radius: .8cqw; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); font-size: max(12px, 1.85cqw); font-weight: 600; line-height: 1.25; counter-increment: fv; }
.fv-flow > span::before { content: counter(fv, decimal-leading-zero); font-size: max(10px, 1.15cqw); letter-spacing: .14em; color: var(--fv-acc-l); }
.fv-flow > span.on { border-color: rgba(255, 255, 255, .45); }
.fv-flow > span.is-hot.on { background: var(--fv-acc); border-color: var(--fv-acc); }
.fv-flow.plain > span::before { display: none; }
.fv-flow > span.is-hot.on::before { color: rgba(255, 255, 255, .8); }

@media (prefers-reduced-motion: reduce) { .fc--full, .fv-bt i, .fv-seg, .fv-gauge .fv-gv { animation: none !important; transition: none !important; } }
