@font-face { font-family: "Open Sans"; src: url("/fonts/open-sans-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 300 800; font-display: block;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; src: url("/fonts/open-sans-latin-ext-wght-normal.woff2") format("woff2-variations"); font-weight: 300 800; font-display: block;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* VEON colours, from the 3Q26 results presentation: night navy into violet, VEON yellow (the wordmark),
     the deck's lilac (Digital Life) and the sky blue used in earlier VEON films */
  --yellow: #FFC836; --navy: #0a0f2a; --violet: #2b1760; --purple: #5b3a9a; --lilac: #D9B8F0;
  --sky: #4FB3F0; --ice: #A9D8F7; --plum: #3d1533; --rose: #F28DB2; --amber: #3a2a0a;
  --white: #FFFFFF; --black: #000000;
  --accent: var(--yellow); --on-accent: #14102e;
  --frame: #0b0a1f;
  /* one family: Open Sans light for the big display type, regular and semibold for text */
  --serif: "Open Sans", Arial, Helvetica, sans-serif;
  --sans: "Open Sans", Arial, Helvetica, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #07061a; }
body { font-family: var(--sans); color: var(--white); overflow: hidden; }
.app { height: 100vh; display: flex; flex-direction: column; }
.stage-wrap { flex: 1; min-width: 0; min-height: 0; position: relative; overflow: hidden; }

/* ---------- side bar: the guide beside the stage (the stage itself is untouched) ----------
   Landscape: authored as a 480×1080 column and scaled with the stage by fit() in app.js, so stage + side
   bar keep the same proportions on every screen. Portrait (.band): a band under the stage, normal CSS sizes. */
.stage-wrap:has(.side:not([hidden])) { background: var(--frame); } /* the frame round the stage: top border, side bar and question bar in one colour */
.side { position: absolute; left: 0; top: 0; width: 480px; height: 1124px; transform-origin: 0 0; background: var(--frame);
  border-left: 1px solid rgba(255,255,255,.08); padding: 44px 40px 40px; display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.side[hidden] { display: none; }
.guide-win { width: 100%; aspect-ratio: 415 / 548; flex: none; overflow: hidden; border-radius: 4px;
  background: radial-gradient(90% 70% at 0% 0%, #2b1760, transparent 70%), radial-gradient(80% 70% at 110% 35%, #5b3a9a, transparent 70%),
    radial-gradient(90% 60% at 30% 110%, #0a0f2a, transparent 75%), #1a1240; }
.guide-win { position: relative; }
.guide-win canvas { width: 100%; height: 100%; display: block; }
/* play/pause over the guide, as in Robin's build: shows on hover, and stays while paused */
.pause { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(11,10,31,.55); border: 1px solid rgba(255,255,255,.35); color: var(--white);
  cursor: pointer; opacity: 0; transition: opacity .25s, background .2s; backdrop-filter: blur(6px); }
.pause svg { width: 30px; height: 30px; }
.guide-win:hover .pause, .pause:focus-visible, .pause.paused { opacity: 1; }
.pause:hover { background: rgba(255,200,54,.85); }
.pause .i-play, .pause.paused .i-pause { display: none; }
.pause.paused .i-play { display: block; }
@media (hover: none) { .pause { opacity: .7; } }
.side.band .pause { width: 44px; height: 44px; }
.side.band .pause svg { width: 20px; height: 20px; }
.who .name { font: 600 30px/1.2 var(--sans); }
.who .role { font: 400 22px/1.3 var(--sans); color: rgba(255,255,255,.6); }
.back { margin-top: 14px; background: none; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: rgba(255,255,255,.85);
  font: 400 19px/1 var(--sans); padding: 11px 20px; cursor: pointer; transition: border-color .2s, color .2s, opacity .2s; }
.back:hover { border-color: var(--accent); color: var(--white); }
.back:disabled { opacity: .35; cursor: default; }
.story-label { font: 600 17px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.chapters { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.chapters button { width: 100%; display: flex; gap: 14px; align-items: baseline; text-align: left; background: none; border: 0;
  border-left: 4px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); font: 400 23px/1.3 var(--sans); padding: 10px 14px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.chapters button i { font-style: normal; font-weight: 600; color: rgba(255,255,255,.4); min-width: 1ch; }
.chapters button:hover { color: var(--white); background: rgba(255,255,255,.04); }
.chapters .reached button { border-left-color: rgba(255,200,54,.55); color: rgba(255,255,255,.85); }
.chapters .current button { border-left-color: var(--accent); color: var(--white); background: rgba(255,200,54,.1); }
.chapters .current button i, .chapters .reached button i { color: var(--accent); }
/* portrait: guide on the left, who + story on the right, under the stage */
body.portrait { overflow-y: auto; }
body.portrait .app { height: auto; min-height: 100vh; }
body.portrait .stage-wrap { flex: none; }
.side.band { width: auto; height: auto; right: 0; transform: none; border-left: 0; border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px; display: grid; grid-template-columns: minmax(110px, 36%) 1fr; grid-template-rows: auto 1fr; gap: 6px 16px; overflow-y: auto; }
.side.band .guide-win { grid-row: 1 / 3; align-self: start; }
.side.band .who .name { font-size: 18px; }
.side.band .who .role { font-size: 14px; }
.side.band .back { font-size: 13px; padding: 7px 12px; margin-top: 8px; }
.side.band .story-label { font-size: 11px; margin: 8px 0 6px; }
.side.band .chapters button { font-size: 15px; padding: 6px 10px; border-left-width: 3px; gap: 10px; }

/* ---------- the guide picker: the first screen, after the deck's closing slide ---------- */
.picker { position: fixed; inset: 0; z-index: 50; overflow-y: auto; color: #fff;
  background: radial-gradient(48% 62% at 50% 52%, #5d3d9e 0%, #3a2275 26%, #1a1040 56%, #070a22 82%, #04061a 100%);
  transition: opacity .5s, visibility .5s; }
.picker[hidden] { display: block; opacity: 0; visibility: hidden; pointer-events: none; }
.picker-in { max-width: 1680px; min-height: 100vh; margin: 0 auto; padding: clamp(24px, 6vh, 80px) clamp(16px, 5vw, 80px);
  display: grid; grid-template-columns: minmax(280px, 0.8fr) 1.6fr; gap: clamp(24px, 4vw, 72px); align-items: center; }
.p-intro { align-self: stretch; display: flex; flex-direction: column; justify-content: center; position: relative; padding-bottom: 90px; }
.p-brand { display: block; height: clamp(30px, 3.4vw, 52px); }
.picker h1 { font: 400 clamp(26px, 2.6vw, 44px)/1.2 var(--sans); margin: clamp(10px, 1.6vh, 18px) 0 0; }
.picker p { font: 300 clamp(15px, 1.2vw, 19px)/1.5 var(--sans); color: rgba(255,255,255,.75); margin: 18px 0 0; max-width: 460px; }
.p-pills { position: absolute; left: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 12px; padding: 6px 22px 6px 6px; border-radius: 999px; background: var(--yellow);
  color: #14102e; font: 500 16px/1 var(--sans); text-decoration: none; }
.pill i { width: 30px; height: 30px; border-radius: 50%; background: #14102e; display: grid; place-items: center; }
.pill svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.p-label { font: 600 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lilac); margin: 0 0 16px; }
/* the heading and cards appear together, once the card pictures have loaded (app.js adds .ready) */
.p-guides { opacity: 0; transition: opacity .4s; }
.p-guides.ready { opacity: 1; }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1vw, 18px); }  /* five guides since John (2026-10-26) */
.card { border-radius: 12px; overflow: hidden; background: rgba(20, 12, 50, .45); border: 1px solid rgba(217,184,240,.16);
  backdrop-filter: blur(10px); transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(255,200,54,.7); }
.card.last { border-color: rgba(255,200,54,.45); }
.card .ph { aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(180deg, #3a2470, #1a1240); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }
.card .meta { padding: 14px 16px 4px; }
.card .nm { font: 600 clamp(17px, 1.4vw, 22px)/1.15 var(--sans); }
.card .rl { font: 400 13px/1.35 var(--sans); opacity: .7; margin-top: 6px; }
.card .acts { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 16px; }
.card button { height: 36px; border-radius: 18px; font: 500 14px var(--sans); cursor: pointer; padding: 0 14px; }
.card .hear { background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; }
.card.playing .hear { border-color: var(--sky); color: var(--sky); }
.card .pick { background: var(--accent); border: 0; color: var(--on-accent); font-weight: 600; }
@media (max-width: 1000px) {
  .picker-in { grid-template-columns: 1fr; align-items: start; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .p-intro { padding-bottom: 0; }
  .p-pills { position: static; margin-top: 22px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 16:9 stage, authored at 1920×1080 and scaled to fit ---------- */
.stage {
  width: 1920px; height: 1080px; position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden;
  background: var(--bg); color: var(--ink);
}
/* black dip between screens; starts black so the first screen fades up */
.dip { position: absolute; inset: 0; background: #000; opacity: 1; pointer-events: none; z-index: 10; }
.stage[data-theme="violet"] { --bg: var(--violet); --ink: var(--white); --muted: rgba(255,255,255,.66); --c1: var(--yellow); --c2: var(--lilac); --c3: var(--sky); --on-c1: var(--on-accent); --on-c2: var(--violet); --pos: var(--sky); --neg: var(--rose);  --holo-bg: #140b34; }
.stage[data-theme="gold"]   { --bg: var(--violet);  --ink: var(--white); --muted: rgba(255,255,255,.72); --c1: var(--yellow); --c2: var(--ice);   --c3: var(--lilac); --on-c1: var(--on-accent); --on-c2: var(--navy); --pos: var(--ice); --neg: var(--rose);  --holo-bg: #140b34; }
.stage[data-theme="sky"]    { --bg: var(--violet);  --ink: var(--white); --muted: rgba(220,236,255,.66); --c1: var(--sky); --c2: var(--yellow); --c3: var(--lilac); --on-c1: var(--navy); --on-c2: var(--on-accent); --pos: var(--sky); --neg: var(--rose);  --holo-bg: #140b34; }
.stage[data-theme="plum"]   { --bg: var(--violet);  --ink: var(--white); --muted: rgba(255,235,245,.66); --c1: var(--lilac); --c2: var(--yellow); --c3: var(--sky); --on-c1: var(--plum); --on-c2: var(--on-accent); --pos: var(--lilac); --neg: var(--rose);  --holo-bg: #140b34; }

/* the hologram charts (holo3d.js): series colours follow the theme's; a sky-blue grid in a dark room */
.stage { --s1: var(--c1); --s2: var(--c2); --s3: var(--c3); --s4: var(--ink); --s5: #7d7a99; --grid: #2f6aa0; }

/* the light behind everything, after the 3Q26 title slide: a navy night with violet light glowing through
   from the upper right. Three soft glows drift slowly (--g1..--g3 on --base, the same for every theme),
   each beat nudges them (data-beat), and .swell lifts them for a moment when a number lands. */
/* one night for every theme (Jim: dark purple to light purple, white as the tint, no yellow): the themes
   change the content's accents, not the light */
.stage { --base0: #0f0828; --base1: #2a1660; --g1: rgba(176, 140, 240, .62); --g2: rgba(255, 255, 255, .16); --g3: rgba(110, 70, 200, .5); }
.light { position: absolute; inset: 0; overflow: hidden; pointer-events: none; background: linear-gradient(112deg, var(--base0) 0%, var(--base1) 62%, var(--base1) 100%); transition: background 1s; }
.light i { position: absolute; border-radius: 50%; filter: blur(90px); transition: transform 2.6s var(--ease), background 1s, opacity .9s; }
.light .l1 { width: 1300px; height: 1000px; right: -260px; top: -320px; background: radial-gradient(closest-side, var(--g1), transparent); animation: drift1 26s ease-in-out infinite alternate; }
.light .l2 { width: 1100px; height: 900px; left: 520px; top: 220px; background: radial-gradient(closest-side, var(--g2), transparent); animation: drift2 32s ease-in-out infinite alternate; }
.light .l3 { width: 900px; height: 700px; left: -300px; bottom: -380px; background: radial-gradient(closest-side, var(--g3), transparent); opacity: .7; animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { translate: -140px 90px; } }
@keyframes drift2 { to { translate: 160px -110px; } }
@keyframes drift3 { to { translate: 200px -60px; } }
.light[data-beat="1"] .l1 { transform: translate(-220px, 120px) scale(1.06); }
.light[data-beat="2"] .l1 { transform: translate(-420px, 40px) scale(.96); }
.light[data-beat="3"] .l1 { transform: translate(-120px, 260px) scale(1.1); }
.light[data-beat="1"] .l2 { transform: translate(160px, -80px); }
.light[data-beat="2"] .l2 { transform: translate(-200px, 60px); }
.light[data-beat="3"] .l2 { transform: translate(60px, -160px); }
.light.swell .l1 { animation: drift1 26s ease-in-out infinite alternate, swell 1.4s ease-out; }
@keyframes swell { 30% { opacity: 1; filter: blur(70px) brightness(1.5); } }
.stage.is-thinking .light i { animation-duration: 8s, 1.4s; }
/* the vignette matches the charts' (darkness .72 from about a third out) */
.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(75% 75% at 50% 50%, transparent 38%, rgba(4, 3, 16, .72) 100%); }

.scenes { position: absolute; inset: 0; }
.scene { position: absolute; inset: 0; }

/* ---------- HUD ---------- */
.hud { position: absolute; inset: 0; pointer-events: none; }
.eyebrow { position: absolute; left: 96px; top: 72px; font: 600 22px/1.2 var(--sans); }
.eyebrow span { font-weight: 400; color: var(--muted); }
.logo { position: absolute; right: 96px; top: 70px; height: 28px; }
.source { position: absolute; left: 96px; bottom: 62px; font: 400 17px/1.3 var(--sans); color: var(--muted); max-width: 900px; }
.source b { font-weight: 600; color: var(--ink); }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; }
.progress i { display: block; height: 100%; background: var(--c1); transform: scaleX(0); transform-origin: left; }
/* one line, right at the foot of the stage: below every panel and chart (they end 96px up) */
.captions {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 1500px; text-align: center;
  font: 400 30px/1.3 var(--sans); letter-spacing: .005em; color: var(--ink); transition: opacity .6s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.captions span { opacity: .32; transition: opacity .15s; }
.captions span.said { opacity: 1; }
.captions.done, .no-captions .captions { opacity: 0; }
.stage.is-cover .hud > :not(.logo):not(.captions) { opacity: 0; } /* the welcome over the cover is captioned too */

/* ---------- scenes ---------- */
.num { font-family: var(--serif); font-weight: 300; font-variant-numeric: lining-nums; }
.scene svg text { font-family: var(--sans); fill: var(--muted); }
.s-axis { font-size: 22px; }
.s-endval { font-family: var(--serif) !important; font-size: 46px; fill: var(--ink) !important; }
.s-hl-year { font-family: var(--serif) !important; font-size: 40px; fill: var(--ink) !important; }
.s-hl-text { font-size: 26px; font-weight: 600; fill: var(--ink) !important; }

.s-number { position: absolute; left: 140px; right: 140px; top: 50%; transform: translateY(-58%); }
.s-big { line-height: .9; letter-spacing: -.03em; color: var(--c1); white-space: nowrap; }
.s-rule { height: 2px; width: 0; background: var(--ink); margin: 36px 0 26px; transition: width 1.4s var(--ease); }
.s-rule.on { width: 360px; }
.s-label { font: 400 44px/1.25 var(--sans); max-width: 1100px; }

.s-float { position: absolute; right: 150px; top: 180px; text-align: right; }
.s-float .v { font-size: 130px; line-height: 1; color: var(--c1); }
.s-float .l { font: 400 28px/1.3 var(--sans); color: var(--muted); margin-top: 8px; }



.s-figures { position: absolute; left: 140px; right: 140px; top: 330px; display: grid; gap: 80px; }
.s-figures .v { font-size: 170px; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.s-figures .arrow { font-size: .4em; vertical-align: .55em; margin-right: 14px; }
.s-figures .r { height: 2px; background: var(--ink); opacity: .5; margin: 30px 0 22px; }
.s-figures .n { font: 600 34px/1.2 var(--sans); }
.s-figures .l { font: 400 26px/1.3 var(--sans); color: var(--muted); margin-top: 8px; }
.s-figures-cap { position: absolute; left: 140px; top: 220px; font: 400 30px/1 var(--sans); color: var(--muted); }
/* closing figure: a frosted panel for studying the full chart */
.s-panel { position: absolute; left: 96px; right: 96px; top: 130px; bottom: 96px; background: var(--bg); opacity: .86; border-radius: 18px; }
.s-fig-head { position: absolute; left: 150px; top: 170px; right: 150px; }
.s-fig-head .t { font: 300 40px/1.15 var(--serif); text-wrap: balance; }
.s-fig-head .s { font: 400 21px/1.3 var(--sans); color: var(--muted); margin-top: 8px; }
.s-fig-legend { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 18px; font: 400 22px/1 var(--sans); color: var(--muted); }
.s-fig-legend i { display: inline-block; width: 26px; height: 5px; margin-right: 10px; vertical-align: middle; }
.s-fig-legend b { color: var(--ink); font-weight: 600; margin-left: 6px; }
.s-fig-legend em { font-style: normal; opacity: .75; }
.s-fig-axis text { font-size: 20px; fill: var(--muted) !important; }
.s-fig-axis .domain { display: none; }
.s-fig-note { font-size: 19px; }
.s-fig-event { font-size: 16px; fill: var(--ink) !important; }
.s-fig-hl { font-size: 24px; font-weight: 600; fill: var(--ink) !important; }
.s-fig-hlv { font-size: 20px; }
.s-fig-in { font-size: 20px; font-weight: 600; fill: var(--on-accent) !important; }
.s-barval { font-size: 34px; fill: var(--muted) !important; }
.s-fig-tip { font-size: 22px; fill: var(--ink) !important; paint-order: stroke; stroke: var(--bg); stroke-width: 8px; }
.s-fig-hint { position: absolute; right: 150px; bottom: 120px; font: 400 20px/1 var(--sans); color: var(--muted); }
.s-crack-label { position: absolute; width: 800px; text-align: center; }
.s-crack-label .v { font-size: 220px; line-height: 1; }
.s-crack-label .l { font: 600 34px/1.2 var(--sans); margin-top: 8px; }
.s-crack-label.p0 { color: var(--on-c1); }
.s-crack-label.p1 { color: var(--on-c2); }

.s-seq { position: absolute; left: 140px; right: 140px; top: 290px; display: grid; gap: 56px; }
.s-seq .n { font-size: 120px; line-height: 1; color: var(--c1); }
.s-seq .r { height: 2px; background: var(--ink); opacity: .5; margin: 24px 0 26px; }
.s-seq .t { font: 600 36px/1.2 var(--sans); }
.s-seq .l { font: 400 26px/1.4 var(--sans); color: var(--muted); margin-top: 14px; }

.s-words, .s-quote { position: absolute; left: 140px; right: 180px; top: 50%; transform: translateY(-60%); }
.s-words .p { font: 300 132px/1.04 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.s-words .accent { color: var(--c1); }
.s-words .w, .s-quote .w { display: inline-block; }
.s-quote .mark { font-size: 300px; line-height: .6; height: 150px; color: var(--c1); }
.s-quote .p { font: 300 96px/1.1 var(--serif); text-wrap: balance; max-width: 1560px; }
.s-quote .cite { font: 400 26px/1 var(--sans); color: var(--muted); margin-top: 40px; }

/* ---------- the chart pages' screen, on every page (after Chart Lab's HudFrame, hero sizing) ----------
   Scanlines, lilac corner brackets, drifting dust, the title as tracked caps in [ brackets ], a mono source
   line, and glowing type with a slight colour fringe. Chart Lab charts draw their own, so this steps aside. */
.fx { position: absolute; inset: 0; pointer-events: none; z-index: 2; transition: opacity .4s; }
.stage:has(.lab-chart) .fx { opacity: 0; }
.fx .scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px); }
.fx .c { position: absolute; width: 70px; height: 70px; border: 0 solid rgba(217,184,240,.85); }
.fx .tl { left: 34px; top: 34px; border-top-width: 4px; border-left-width: 4px; }
.fx .tr { right: 34px; top: 34px; border-top-width: 4px; border-right-width: 4px; }
.fx .bl { left: 34px; bottom: 34px; border-bottom-width: 4px; border-left-width: 4px; }
.fx .br { right: 34px; bottom: 34px; border-bottom-width: 4px; border-right-width: 4px; }
.fx .dust { position: absolute; inset: -10% 0; opacity: .55;
  background-image: radial-gradient(1.6px 1.6px at 12% 18%, #D9B8F0 50%, transparent 51%), radial-gradient(1.2px 1.2px at 64% 72%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 82% 34%, #B08CF0 50%, transparent 51%), radial-gradient(1.4px 1.4px at 38% 56%, #D9B8F0 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 24% 84%, #fff 50%, transparent 51%), radial-gradient(1.8px 1.8px at 92% 88%, #D9B8F0 50%, transparent 51%);
  background-size: 640px 520px; animation: dust 60s linear infinite; }
.fx .dust.d2 { background-size: 410px 360px; opacity: .35; animation-duration: 90s; animation-direction: reverse; }
@keyframes dust { to { background-position: 0 -1040px; } }
html.still .fx .dust { animation: none; }
/* the title: the charts' bracketed caps, centred at the top */
.stage .eyebrow { left: 0; right: 0; top: 58px; text-align: center; font: 400 40px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: #fff; text-shadow: 0 0 18px rgba(217,184,240,.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 140px; }
.stage .eyebrow span { color: #fff; font-weight: 400; }
.stage .eyebrow i { font-style: normal; color: var(--lilac); }
.stage .logo { right: 130px; top: 60px; height: 26px; }
.stage .source { left: 118px; bottom: 24px; font: 400 26px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(217,184,240,.6); }
.stage .source b { font-weight: 400; color: rgba(217,184,240,.8); }
/* glowing type with the charts' slight chromatic fringe */
.s-big, .s-words .p, .s-quote .p, .s-seq .n, .s-seq .t, .s-figures .v, .thinking .q, .s-crack-label .v, .s-float .v, .veon-cover .sub {
  text-shadow: 0 0 22px rgba(217,184,240,.45), -1.5px 0 rgba(255, 90, 140, .32), 1.5px 0 rgba(90, 200, 255, .32); }

/* ---------- Chart Lab charts (charts.js): a Remotion player filling the beat ---------- */
.lab-chart { position: absolute; inset: 0; }
/* the chart carries its own title and source: the stage's eyebrow and source step aside while one is on */
.stage:has(.lab-chart) .eyebrow, .stage:has(.lab-chart) .source, .stage:has(.lab-chart) .logo { opacity: 0; transition: opacity .4s; }

/* ---------- hologram charts (holo3d.js, from the Collective demo) ---------- */
.s-chart-title { position: absolute; left: 150px; top: 160px; font: 600 46px/1.08 var(--sans); letter-spacing: -0.01em; z-index: 1; }
.s-chart-note { position: absolute; left: 150px; right: 160px; top: 222px; font: 400 24px/1.2 var(--sans); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.holo-canvas { position: absolute; inset: 0; width: 1920px; height: 1080px; }
.holo-labels { position: absolute; inset: 0; pointer-events: none; }
.holo-label { position: absolute; left: 0; top: 0; white-space: nowrap; font-weight: 600; opacity: 0; transition: opacity .35s; will-change: transform; }
.holo-label.val { font-size: 30px; color: var(--ink); text-shadow: 0 0 14px rgba(0, 0, 0, .9), 0 0 2px rgba(0, 0, 0, .9); }
.holo-label.val.sm { font-size: 23px; }
.holo-label.cat { font-size: 23px; color: var(--muted); font-weight: 400; transform-origin: center; }
.holo-label i { display: inline-block; width: 20px; height: 20px; border-radius: 4%; }
.holo-label.key { left: auto; right: 110px; font-size: 24px; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.readout { position: absolute; padding: 10px 14px; background: rgba(10, 12, 36, .92); border: 1px solid rgba(79, 179, 240, .35); border-radius: 6px; font-size: 19px; font-weight: 400; color: var(--muted); pointer-events: none; white-space: nowrap; line-height: 1.25; }
.readout b { display: block; font-size: 24px; font-weight: 600; color: var(--ink); }

.toast { position: absolute; left: 50%; top: 150px; transform: translateX(-50%); z-index: 20; padding: 14px 26px; border-radius: 999px;
  background: rgba(10, 8, 30, .85); border: 1px solid rgba(217,184,240,.4); font: 500 26px/1 var(--sans); color: #fff; opacity: 0; transition: opacity .3s; pointer-events: none; }
.toast.on { opacity: 1; }

/* ---------- cover & thinking ---------- */
/* the welcome screen (the cover), after the deck's closing slide: positions are the slide's ×2.88 */
.veon-cover .slide-bg { position: absolute; inset: 0; background: radial-gradient(50% 62% at 50% 52%, #5d3d9e 0%, #3a2275 26%, #1a1040 56%, #070a22 82%, #04061a 100%); }
.veon-cover .wordmark { position: absolute; left: 110px; top: 402px; height: 78px; }
.veon-cover .sub { position: absolute; left: 110px; top: 512px; font: 400 60px/1.2 var(--sans); color: #fff; text-shadow: 0 0 22px rgba(217,184,240,.35); }
.veon-cover .pills { position: absolute; left: 84px; top: 888px; display: flex; gap: 26px; }
.veon-cover .pill { display: inline-flex; align-items: center; gap: 26px; padding: 9px 44px 9px 9px; border-radius: 999px; background: var(--yellow);
  color: #14102e; font: 500 28px/1 var(--sans); text-decoration: none; }
.veon-cover .pill i { width: 54px; height: 54px; border-radius: 50%; background: #14102e; display: grid; place-items: center; }
.veon-cover .pill svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.stage.is-cover .hud .logo { opacity: 0; } /* the cover carries its own wordmark */

.thinking { position: absolute; left: 140px; right: 140px; top: 50%; transform: translateY(-55%); }
.thinking .q { font: 300 92px/1.06 var(--serif); text-wrap: balance; }
.thinking .q::before { content: "“"; color: var(--c1); margin-left: -.42em; display: inline-block; width: .42em; }
.thinking .status { margin-top: 48px; font: 400 26px/1 var(--sans); color: var(--muted); display: flex; gap: 20px; align-items: center; }
.bars-loader { display: flex; gap: 6px; align-items: flex-end; height: 34px; }
.bars-loader i { width: 8px; background: var(--c1); animation: grow 1.1s var(--ease) infinite alternate; }

@keyframes pulse { 50% { opacity: .25; } }
@keyframes grow { from { height: 6px; } to { height: 34px; } }

/* ---------- dock ---------- */
.dock { flex: none; background: var(--frame); padding: 14px 32px 10px; border-top: 1px solid rgba(255,255,255,.08); transition: margin-bottom .4s var(--ease); }
.dock.hidden { margin-bottom: -240px; }
.dock.aligned .ask, .dock.aligned .chips, .dock.aligned .hint { max-width: none; margin-left: 0; margin-right: 0; }
.ask { display: flex; max-width: 1180px; margin: 0 auto; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }
.ask:focus-within { border-color: var(--accent); }
.ask input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--white); font: 400 22px/1 var(--sans); padding: 18px 22px; }
.ask input::placeholder { color: rgba(255,255,255,.45); }
.ask .mic { width: 60px; flex: none; border: 0; border-right: 1px solid rgba(255,255,255,.14); background: none; color: rgba(255,255,255,.75); cursor: pointer; display: grid; place-items: center; position: relative; }
.ask .mic:hover { color: var(--white); }
.ask .mic::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--accent); opacity: 0; transform: scale(calc(.6 + var(--level, 0) * .7)); transition: transform .08s linear, opacity .2s; }
.ask .mic svg { position: relative; }
.ask .mic[data-state="listening"] { color: var(--white); }
.ask .mic[data-state="listening"]::before { opacity: .9; }
.ask .mic[data-state="transcribing"] { color: var(--accent); animation: pulse 1s infinite; }
.ask button:not(.mic) { width: 64px; border: 0; background: var(--accent); color: var(--on-accent); cursor: pointer; display: grid; place-items: center; }
.ask button:not(.mic):disabled { background: rgba(255,255,255,.12); cursor: default; }
/* always two rows tall, so the bar (and the stage above it) never changes size as suggestions change */
.chips { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px; max-width: 1180px; margin: 12px auto 0; min-height: 86px; }
.chips button { font: 400 16px/1 var(--sans); color: rgba(255,255,255,.85); background: none; cursor: pointer; border: 1px solid rgba(255,255,255,.22); padding: 10px 14px; border-radius: 4px; }
.chips button:hover { border-color: var(--accent); color: var(--white); }
.chips button { transition: opacity .3s, border-color .3s, background .3s; }
.chips.answering button:not(.selected) { opacity: .35; pointer-events: none; }
.chips button.selected { border-color: var(--accent); background: rgba(255,200,54,.14); color: var(--white); }
.chips button { position: relative; }
.chips button.selected::after { content: "Now playing"; position: absolute; left: 10px; top: -8px; padding: 2px 6px; border-radius: 3px; background: var(--accent); color: var(--on-accent); font: 600 10px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.chips .kind { font: 600 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; margin-right: 8px; padding: 3px 6px; border-radius: 3px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.75); }
.chips .kind.next { background: var(--accent); color: var(--on-accent); }
.chips .error { color: var(--yellow); font: 400 16px/1.4 var(--sans); }
.hint { max-width: 1180px; margin: 10px auto 0; font: 400 13px/1 var(--sans); color: rgba(255,255,255,.35); }
.hint { display: none; } /* the keyboard-shortcut line is hidden (2026-10-26); the keys still work */
kbd { font: 600 12px/1 var(--sans); border: 1px solid rgba(255,255,255,.25); padding: 2px 5px; border-radius: 3px; }

@media (max-width: 700px) {
  .dock { padding: 12px 16px 10px; }
  .ask input { font-size: 17px; padding: 14px 16px; }
  .hint { display: none; }
}
html.still *, html.still *::before, html.still *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
