/* CATALYST - The overview stage (ts-stage.js), the same as the TopStreet AI homepage and /real-estate (Tim, 27 Oct 2026: "taking over the full
   hero like we do for the TopStreet AI homepage ... keep a consistent view"): the screen turns to night, the visuals draw as they are named, the
   spoken sentence lights word by word along the foot, a red line runs across the top, and a small "AI voice" control sits bottom right.
   Values follow the homepage (public/topstreet/home/index.html in the website repository: .film, .film__top, .film__cc, .cw, .nar, .nar-prog). */
:where(.tss, .tss-nar, .tss-prog, .listen) { --night: #0B0A09; --inv2: #D3D5D2; --inv3: #9B9DA1; --oxide: #8E1F2F; --oxide-h: #75192A; --oxide-ring: rgba(142, 31, 47, .6); --fv-acc: #8e1f2f; --fv-acc-l: #e05a6d; --fv-ok: #4fb286; }
/* a hub sets its own brand in film-viz.css (.tss, .tss-nar, .tss-prog, .listen): HOLM never shows TopStreet's red */
.tss {
  position: fixed; inset: 0; z-index: 1300; display: grid; font-family: var(--sans, "Instrument Sans", system-ui, sans-serif); grid-template-rows: auto minmax(0, 1fr) auto; background: var(--night); color: #fff; opacity: 0; transition: opacity .45s ease; }
.tss[data-on] { opacity: 1; }
.tss[hidden] { display: none; }
html.tss-open, html.tss-open body { overflow: hidden; }
html.tss-open .tsa-tabs, html.tss-open .tsa-fab, html.tss-open .tsa-hds { visibility: hidden; }
.tss__top { display: flex; justify-content: space-between; align-items: center; padding: 26px max(40px, calc((100% - 1200px) / 2)) 0; font: 600 12px var(--head, Archivo, system-ui, sans-serif); letter-spacing: .18em; text-transform: uppercase; color: var(--inv3); }
.tss__k { display: flex; align-items: center; gap: 12px; color: var(--inv2); }
.tss__k::before { content: ""; width: 8px; height: 8px; background: var(--fv-acc); }
.tss__stage { display: grid; place-items: center; min-height: 0; padding: 0 40px; overflow: hidden; }
.tss__viz { display: grid; width: min(1200px, 100%); container-type: inline-size; }
.tss .tss__viz > .fc { grid-area: 1 / 1; align-self: center; justify-self: stretch; width: 100%; text-align: center; } /* full width, so a diagram scales to the stage, not to its default 300px */
.tss__cc { min-height: 3.2em; max-width: 1000px; margin: 0 auto; padding: 0 40px 104px; text-align: center; font: 500 20px/1.55 var(--sans, "Instrument Sans", system-ui, sans-serif); color: var(--inv2); }
.tss .cw { opacity: .32; transition: opacity .25s ease; } .tss .cw.on { opacity: 1; color: #fff; }
.tss__end { position: absolute; left: 0; right: 0; bottom: 96px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; opacity: 0; pointer-events: none; transition: opacity .6s ease .4s; }
.tss__end.on { opacity: 1; pointer-events: auto; }
.tss__end a, .tss__end button { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 10px; font: 600 16px/1 var(--head, Archivo, system-ui, sans-serif); text-decoration: none; cursor: pointer; }
.tss__end .a1 { background: #fff; color: #17181a; border: 0; }
.tss__end .a2 { background: var(--oxide); color: #fff; border: 0; }
.tss__end .a3 { background: none; color: #fff; border: 1px solid #44474c; }
.tss-prog { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 1302; background: var(--oxide); transform-origin: left; transform: scaleX(0); opacity: 0; transition: opacity .3s; pointer-events: none; }
html.tss-open .tss-prog { opacity: 1; }

/* the visual: a callout from cues.js (film.js HUB.filmCard), laid out in the stage's own flow */
.tss .fc { position: static; transform: none; width: auto; max-width: none; min-width: 0; padding: 0; margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; animation: tssIn .6s cubic-bezier(.2, .7, .2, 1) both; }
.tss .fc::before { display: none; }
/* each scene's name is its lit headline from the first moment, so a scene never opens on a dim screen */
.tss .fc .fc__k { display: block; margin: 0 auto 3.2cqw; max-width: 28ch; font-family: var(--display, Archivo, system-ui, sans-serif); font-size: max(22px, 3.6cqw); font-weight: 700; line-height: 1.1;
  letter-spacing: -.02em; text-transform: none; color: #fff; text-wrap: balance; animation: none; }
.tss .fc:has(.fc__b) .fc__k { margin-bottom: 1.6cqw; font-size: max(13px, 1.35cqw); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--fv-acc-l); }
.tss .fc.out { animation: tssOut .28s ease both; pointer-events: none; }
.tss .fc:not(.out) { animation-delay: .22s; } /* the old scene is gone before the new one arrives: no overlap */
@keyframes tssOut { to { opacity: 0; transform: translateY(-10px); } }
/* as on the topstreet.ai homepage: a piece is not on screen until it is named, then arrives in full (it rises, pops or draws); the scene's
   headline and its structure (axes, the centre of a diagram) are there from the first moment, so the screen is never blank */
.tss .fc__i { opacity: 0; transform: translateY(14px) scale(.985); transform-box: fill-box; transform-origin: center; transition: opacity .6s ease var(--d, 0ms), transform .85s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.tss .fc__i.on { opacity: 1; transform: none; }
.tss .fc__b { margin: 0 auto; max-width: 22ch; text-wrap: balance; font-family: var(--display, Archivo, system-ui, sans-serif); font-size: max(26px, 5.4cqw); font-weight: 700; line-height: 1.04; letter-spacing: -.025em; color: #fff; }
.tss .fc__s { max-width: 40ch; margin: 3cqw auto 0; text-wrap: balance; font-family: var(--display, Archivo, system-ui, sans-serif); font-size: max(17px, 2.6cqw); font-weight: 600; line-height: 1.2; color: #fff; }
.tss .fv-src { margin-top: 2.4cqw; font-size: max(12px, 1.25cqw); color: #6b6d72; }
@keyframes tssIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* the AI voice control, bottom right */
.tss-nar { position: fixed; right: 24px; bottom: 22px; z-index: 1303; display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 8px; border-radius: 40px; background: #17181a; color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); transform: translateY(16px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; font-family: var(--sans, "Instrument Sans", system-ui, sans-serif); }
.tss-nar[data-open] { transform: none; opacity: 1; pointer-events: auto; }
.tss-nar__btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--oxide); color: #fff; cursor: pointer; display: grid; place-items: center; }
.tss-nar__btn svg.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.tss-nar__btn svg.ring circle { fill: none; stroke-width: 2; }
.tss-nar__t { display: grid; line-height: 1.25; }
.tss-nar__t b { font: 600 11.5px var(--head, Archivo, system-ui, sans-serif); letter-spacing: .16em; text-transform: uppercase; }
.tss-nar__t span { font-size: 12.5px; color: #9B9DA1; }
.tss-nar__x { width: 32px; height: 32px; border-radius: 50%; border: 0; border-left: 1px solid #34363a; background: none; color: #D3D5D2; cursor: pointer; display: grid; place-items: center; }
.tss-nar__x:hover { color: #fff; }
.tss-nar button:focus { outline: none; }
.tss-nar__btn:focus-visible, .tss-nar__x:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 50%; }

/* the hero's button, as on the homepage: a red disc, "Hear it in 2 minutes", and what it is */
.listen { display: inline-flex; align-items: center; gap: 13px; background: none; border: 0; padding: 0; color: #fff; cursor: pointer; text-align: left; font-family: var(--sans, "Instrument Sans", system-ui, sans-serif); }
.listen__btn { position: relative; flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--oxide); color: #fff; transition: transform .2s ease, background .2s ease; }
.listen__btn::before, .listen__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--oxide-ring); animation: lsnPulse 2.4s ease-out infinite; }
.listen__btn::after { animation-delay: 1.2s; }
@keyframes lsnPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.listen:hover .listen__btn { transform: scale(1.06); background: var(--oxide-h); }
.listen__t { display: grid; gap: 3px; }
.listen__t b { font: 600 17px/1.2 var(--head, Archivo, system-ui, sans-serif); color: inherit; }
.listen__t span { font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.listen:focus { outline: none; } .listen:focus-visible .listen__btn { outline: 2px solid #fff; outline-offset: 4px; }

/* sized for a full screen, not a player: the visual fills the stage */
.tss .fc__b { font-size: max(28px, 5.6cqw); }
.tss .fc__s { font-size: max(18px, 2.9cqw); }
.tss .fv-src { font-size: max(12px, 1.3cqw); }
.tss .fv-nums { gap: 6cqw; }
.tss .fv-nums b { font-size: max(40px, 9.6cqw); }
.tss .fv-nums span { max-width: 30cqw; font-size: max(15px, 2.1cqw); }
.tss .fv-bars { width: min(100%, 820px); gap: 2cqw; }
.tss .fv-bar { grid-template-columns: 14cqw minmax(0, 1fr) 17cqw; gap: 2.4cqw; } /* the same three columns on every row, so the bars line up */
.tss .fv-bl, .tss .fv-bar b { white-space: nowrap; }
.tss .fv-bar b { text-align: right; }
.tss .fv-bl { font-size: max(14px, 2cqw); } .tss .fv-bar b { font-size: max(18px, 3.2cqw); } .tss .fv-bt { height: max(12px, 2.8cqw); }
.tss .fv-quotes { width: 100%; max-width: none; gap: 1.8cqw 2.2cqw; }
.tss .fv-q { padding: 2.2cqw 2.6cqw; font-size: max(17px, 2.9cqw); }
.tss .fv-strike { max-width: none; gap: 1.6cqw; }
.tss .fv-strike span { padding: 1.3cqw 2.6cqw; font-size: max(16px, 2.7cqw); }
.tss .fv-flow { width: 100%; max-width: none; gap: 1.6cqw; }
.tss .fv-flow > span { padding: 2.2cqw 2.4cqw 2.6cqw; font-size: max(16px, 2.5cqw); gap: 1.4cqw; border-radius: 1cqw; }
.tss .fv-flow > span::before { font-size: max(11px, 1.4cqw); }
.tss .fv-grid, .tss .fv-flip { width: 100%; max-width: none; gap: 1.4cqw; }
.tss .fv-grid > div, .tss .fv-flip > div { padding: 1.8cqw 2cqw; font-size: max(15px, 2.1cqw); gap: 1.6cqw; border-radius: 1cqw; }
.tss .fv-grid i, .tss .fv-flip i { width: 3.4cqw; height: 3.4cqw; font-size: max(11px, 1.5cqw); }
.tss .fv-gauge { grid-template-columns: 27cqw minmax(0, 1fr); gap: 4cqw; }
.tss .fv-gauge svg, .tss .fv-gauge > div { width: 27cqw; }
.tss .fv-gauge > div b { font-size: max(32px, 8cqw); } .tss .fv-gauge > div span { font-size: max(13px, 2cqw); }
.tss .fv-gauge p { max-width: 30cqw; font-size: max(17px, 2.7cqw); }
.tss .fv-curve { width: 100%; gap: 4cqw; } .tss .fv-cl { gap: 1.2cqw; } .tss .fv-cl li { font-size: max(14px, 2.1cqw); padding-left: 2.2cqw; }
.tss .fv-curve text { font-size: 14px; }
/* the trust curve: the axes are there from the start, and each step draws in as it is named */
.tss .fv-seg { stroke-width: 6; }
.tss .fv-curve circle { r: 7; }
/* glossary terms and their tooltips never show inside the film */
.tss .gl, .tss .gltip { all: unset; display: inline; }
.tss .gltip { display: none; }
.tss .fv-t { display: block; }
/* dot grids, as the homepage's "6 in 10" and "95 in 100": the dots pop in grey on their word, and the figure's share turns to the accent as it is said */
.tss .fv-dots { display: flex; justify-content: center; gap: 7cqw; }
.tss .fv-dg { display: grid; gap: 2.2cqw; justify-items: center; }
.tss .fv-dg__grid { display: grid; grid-template-columns: repeat(var(--c), 1fr); gap: .9cqw; }
.tss .fv-dg__grid i { display: block; width: 2.3cqw; height: 2.3cqw; border-radius: 50%; background: #3a3c40; transform: scale(.4); }
.tss .fv-dg__grid i.on { transform: none; }
.tss .fv-dg__grid i.hot.on2 { background: var(--fv-acc-l); transition: background .4s ease var(--d, 0ms), opacity .6s ease var(--d, 0ms), transform .85s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.tss .fv-dg__l { text-align: center; }
.tss .fv-dg__l b { display: block; font-family: var(--display, Archivo, system-ui, sans-serif); font-size: max(30px, 5.4cqw); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: #fff; }
.tss .fv-dg__l em { font-style: normal; font-size: max(16px, 2.2cqw); color: var(--inv3); }
.tss .fv-dg__l span { display: block; max-width: 30cqw; margin-top: 1cqw; font-size: max(14px, 1.9cqw); line-height: 1.35; color: var(--inv2); }
/* arrows into a centre, and branches out to a goal (SVG) */
.tss .fv-hb, .tss .fv-br { display: block; width: min(100%, 1080px); height: auto; margin: 0 auto; overflow: visible; color: #F1F2F0; }
.tss .fv-hb rect, .tss .fv-br rect, .tss .fv-br circle { fill: #17181a; stroke: #3a3c40; stroke-width: 2; }
.tss .fv-hb__c rect, .tss .fv-br__from rect { fill: #1d1e21; stroke: #F1F2F0; stroke-width: 2.5; }
.tss .fv-hb__it.hot rect { stroke: var(--fv-acc-l); }
.tss .fv-br__to circle { stroke: #F1F2F0; stroke-width: 2.5; } .tss .fv-br__to .halo { fill: none; stroke: #3a3c40; stroke-width: 1.5; }
.tss .fv-hb text, .tss .fv-br text { font-family: var(--sans, "Instrument Sans", system-ui, sans-serif); }
.tss .fv-hb .t1, .tss .fv-br .t1 { fill: #fff; font: 600 26px var(--head, Archivo, system-ui, sans-serif); }
.tss .fv-hb .t2 { fill: #9B9DA1; font-size: 21px; }
.tss .fv-hb .c1, .tss .fv-br .c1 { fill: #fff; font: 700 30px var(--head, Archivo, system-ui, sans-serif); }
.tss .fv-hb .c2 { fill: #9B9DA1; font-size: 20px; }
.tss .fv-ar { fill: none; stroke: #F1F2F0; stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s cubic-bezier(.2, .7, .2, 1) .15s; }
.tss .fv-hb__it.hot .fv-ar, .tss .fv-br__it.hot .fv-ar { stroke: var(--fv-acc-l); }
.tss g.on .fv-ar { stroke-dashoffset: 0; }
/* every visual sits on the centre line */
.tss .fv-nums { justify-content: center; margin-left: auto; margin-right: auto; }
.tss .fv-nums > div { align-items: center; text-align: center; }
.tss .fv-nums span { margin: 0 auto; }
.tss .fv-bars, .tss .fv-quotes, .tss .fv-grid, .tss .fv-flip, .tss .fv-flow, .tss .fv-curve { margin-left: auto; margin-right: auto; text-align: left; }
.tss .fv-flow { text-align: left; }
.tss .fv-strike { justify-content: center; margin-left: auto; margin-right: auto; }
.tss .fv-gauge { width: fit-content; margin-left: auto; margin-right: auto; text-align: left; }

.tss .fv-curve { width: min(100%, 1000px); }
@media (max-width: 760px) {
  .tss__top { padding: 20px 20px 0; font-size: 11px; }
  .tss__stage { padding: 0 20px; }
  .tss__cc { padding: 0 22px 110px; font-size: 17px; }
  .tss .fc__b { font-size: 30px; }
  .tss .fv-nums { flex-direction: column; gap: 22px; }
  .tss .fv-nums b { font-size: 58px; }
  .tss .fv-nums span { max-width: none; font-size: 16px; }
  .tss .fv-flow, .tss .fv-quotes, .tss .fv-grid, .tss .fv-flip { grid-template-columns: minmax(0, 1fr); }
  .tss .fv-flow > span, .tss .fv-grid > div, .tss .fv-flip > div { font-size: 15px; padding: 12px 14px; }
  .tss .fv-q { font-size: 18px; padding: 12px 14px; }
  .tss .fv-strike span { font-size: 15px; padding: 8px 14px; }
  .tss .fv-bar { grid-template-columns: 74px minmax(0, 1fr) auto; gap: 10px; }
  .tss .fv-bl { font-size: 13px; } .tss .fv-bar b { font-size: 16px; } .tss .fv-bt { height: 12px; }
  .tss .fv-gauge { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; } .tss .fv-gauge svg, .tss .fv-gauge > div { width: 120px; } .tss .fv-gauge > div b { font-size: 40px; } .tss .fv-gauge p { font-size: 15px; }
  .tss .fv-curve { grid-template-columns: minmax(0, 1fr); } .tss .fv-cl li { font-size: 14px; }
  .tss-nar { right: 12px; left: 12px; bottom: 14px; justify-content: space-between; }
  .tss__end { bottom: 112px; padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) { .tss, .tss .fc, .tss .fc__i, .listen__btn::before, .listen__btn::after { animation: none !important; transition: none !important; } }
.tss .fv-flow > span .fv-t { font: inherit; }
