/* DAB Cinematic kit: the shared look of the zoom decks - world, hub, glass bubbles, portal, figures. Each deck sets
   its palette and map in deck.css; kit.js runs the deck. */
:root {
  --bg: #07090b; --ink: #f3f4f2; --muted: #c3c9c6; --dim: #87918d;
  --hi: #8ab4ff; --hi-rgb: 138 180 255; --accent: #5b8cff; --on-accent: #08122b;
  --s0: var(--hi); --s1: #5ee0d6; --s1-rgb: 94 224 214; --s2: #b79cff; --s2-rgb: 183 156 255;
  --glass: rgb(9 13 14 / .58); --glass-line: rgb(255 255 255 / .14);
  --sans: "Assistant", "Arial Hebrew", "Segoe UI", system-ui, sans-serif;
}
body { background: var(--bg); color: var(--ink); }
h1, h2, p { margin: 0; }
#deck { pointer-events: auto; overflow: hidden; background: #0b0d0e; }

/* ---- the world: one scene, softly out of focus; a second, much softer copy fades in as the camera dives */
.world { position: absolute; inset: 0; will-change: transform; }
.world img { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); object-fit: cover; }
.world .w1 { filter: blur(5px) brightness(.58) saturate(.95); }
.world .w2 { filter: blur(26px) brightness(.42) saturate(.9); opacity: 0; }
#dust { position: absolute; inset: 0; width: 1920px; height: 1080px; pointer-events: none; }

/* ---- the hub: title, six bubbles */
.hub { position: absolute; inset: 0; will-change: transform, opacity; }
.hub .slide .copy { position: absolute; top: 150px; left: 0; right: 0; text-align: center; }
.hub .kicker { justify-content: center; }
.hub .kicker::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .7; }
.hub .t1 { font-size: 84px; }
.hub .hint { position: absolute; bottom: 104px; left: 0; right: 0; text-align: center; font: 400 21px/1 var(--sans); color: var(--muted); letter-spacing: .04em; }

.bub { position: absolute; left: calc(var(--x) - var(--r)); top: calc(var(--y) - var(--r)); width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  border: 0; padding: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; font: inherit;
  display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; will-change: transform, opacity;
  opacity: 0; transform: scale(.6); transition: opacity .9s cubic-bezier(.2,.7,.2,1) calc(var(--k) * 90ms), transform 1.1s cubic-bezier(.2,.7,.2,1) calc(var(--k) * 90ms); }
html.hubin .bub { opacity: 1; transform: none; }
.bub .peek, .bub .glass { position: absolute; inset: 0; border-radius: 50%; }
.bub .peek { background-repeat: no-repeat; opacity: .26; transition: opacity .6s; }
.bub .glass { background: radial-gradient(120% 90% at 30% 18%, rgb(255 255 255 / .34), rgb(255 255 255 / .08) 42%, rgb(255 255 255 / .03) 70%),
    radial-gradient(70% 70% at 50% 110%, rgb(var(--hi-rgb) / .16), transparent 70%);
  border: 1px solid rgb(255 255 255 / .38); box-shadow: inset 0 0 40px rgb(255 255 255 / .10), inset 0 -18px 40px rgb(0 0 0 / .18), 0 24px 60px rgb(0 0 0 / .35);
  backdrop-filter: blur(16px) brightness(1.12) saturate(1.15); -webkit-backdrop-filter: blur(16px) brightness(1.12) saturate(1.15); }
.bub svg, .bub b, .bub small { position: relative; }
.bub svg { width: 38px; height: 38px; fill: none; stroke: var(--hi); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.bub b { font: 600 25px/1.1 var(--sans); max-width: 190px; }
.bub small { font: 400 17px/1 var(--sans); color: var(--muted); }
.bub small em { font-style: normal; color: var(--hi); font-weight: 600; margin-inline-end: 3px; }
.bub .tick { position: absolute; top: 14px; left: 50%; transform: translateX(-50%) scale(.4); width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font: 700 17px/1 var(--sans); font-style: normal; background: var(--hi); color: var(--on-accent); opacity: 0;
  transition: opacity .5s, transform .6s cubic-bezier(.3,1.6,.5,1); }
.bub.done .tick { opacity: 1; transform: translateX(-50%) scale(1); top: -12px; }
.bub.done svg { stroke: var(--muted); }
.bub.next .peek { opacity: .5; }
.bub.next .glass { border-color: rgb(var(--hi-rgb) / .8); }
.bub.next::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--hi); animation: halo 1.8s ease-out infinite; pointer-events: none; }
@keyframes halo { 0% { transform: scale(1); opacity: 0; } 18% { opacity: .9; } 100% { transform: scale(1.28); opacity: 0; } }
.bub:hover .peek, .bub:focus-visible .peek { opacity: .55; }
.bub:focus-visible { outline: 2px solid var(--hi); outline-offset: 6px; }

/* ---- the portal: the inside of a bubble, revealed through a growing circle */
.portal { position: absolute; inset: 0; visibility: hidden; background: #0b0d0e; }
.portal .cam { position: absolute; inset: 0; will-change: transform; }
.portal .bg { position: absolute; inset: -120px; width: calc(100% + 240px); height: calc(100% + 240px); object-fit: cover;
  filter: blur(50px) brightness(.46) saturate(1.3); }
.portal .glow { position: absolute; left: 50%; top: 50%; width: 1100px; height: 1100px; margin: -550px; border-radius: 50%;
  transition: transform 1.8s cubic-bezier(.45,0,.2,1); mix-blend-mode: screen; }
.portal .g1 { background: radial-gradient(closest-side, rgb(var(--hi-rgb) / .5), transparent); }
.portal .g2 { background: radial-gradient(closest-side, rgb(var(--s1-rgb) / .42), transparent); }
.portal .g3 { background: radial-gradient(closest-side, rgb(201 162 255 / .26), transparent); width: 800px; height: 800px; margin: -400px; }
/* fine grain and a glass sheen, so the inside reads as frosted glass and not as a flat colour */
.portal .shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgb(255 255 255 / .07), transparent 38%, transparent 70%, rgb(255 255 255 / .04)),
              radial-gradient(130% 100% at 50% 50%, transparent 55%, rgb(0 0 0 / .45)); }
.ghost { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.ghost > * { will-change: transform, opacity; }
.rim { position: absolute; border-radius: 50%; pointer-events: none; visibility: hidden;
  border: 2px solid rgb(255 255 255 / .55); box-shadow: 0 0 40px rgb(var(--hi-rgb) / .45), inset 0 0 60px rgb(255 255 255 / .18); }

/* ---- text */
.kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 600 17px/1 var(--sans); letter-spacing: .2em; color: var(--hi); }
.kicker::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .7; }
.t1 { font: 300 72px/1.04 var(--sans); letter-spacing: -.025em; text-shadow: 0 4px 30px rgb(0 0 0 / .5); }
.t1 em { font-style: normal; font-weight: 700; color: var(--hi); }
.in .head, .in .side { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; }
.in .head { right: 110px; width: 640px; padding-bottom: 20px; }
.in .head .t1 { font-size: 74px; line-height: 1.04; }
.in .head .t1 em { display: block; }
.in .head .body { margin-top: 30px; font: 300 24px/1.66 var(--sans); color: #d5dbd8; text-wrap: pretty; }
.side { gap: 22px; }
.side.left { left: 100px; width: 360px; }

/* ---- the figure: pieces that fly between slides, and the labels that settle around them */
.fig { position: absolute; left: 560px; top: 210px; width: 600px; height: 640px; }
.pc { position: absolute; display: block; }
.pc.edge, .gp.edge { box-shadow: inset 0 0 0 1.5px rgb(var(--hi-rgb) / .7), 0 0 40px rgb(var(--hi-rgb) / .12); }
.pc.ring-dot { box-shadow: inset 0 0 0 2.5px var(--hi); }
.in.on.fresh .pc { animation: pcIn .9s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(.45s + var(--i, 0) * 10ms); }
@keyframes pcIn { from { opacity: 0; transform: scale(.2); } }
.in.on .pc.late { animation: pcLate .7s ease backwards; animation-delay: 1.2s; }
@keyframes pcLate { from { opacity: 0; transform: scale(.4); } }
.in.off .pc { opacity: 0; transition: opacity .35s ease; }
.ghost .gp { position: absolute; display: block; }

.fl { position: absolute; font: 400 19px/1.25 var(--sans); color: var(--muted); }
.fl b { color: var(--ink); font-weight: 600; }
.fl .big { display: block; font: 200 96px/1 var(--sans); color: var(--ink); letter-spacing: -.03em; }
.fl.sub { font-size: 21px; color: var(--muted); }
.fl.in-c { display: grid; gap: 4px; }
.fl.in-c b { font: 600 30px/1 var(--sans); color: var(--ink); }
.fl.in-c small { font: 400 17px/1.1 var(--sans); color: rgb(255 255 255 / .82); }
.fl.in-c.dark b, .fl.in-c.dark small { color: var(--on-accent); }
.fl.val { font: 600 20px/1 var(--sans); color: var(--ink); }
.fl.val.big-v { font: 200 44px/1 var(--sans); color: var(--hi); direction: ltr; }
.fl.ring-v { font: 300 40px/1 var(--sans); color: var(--ink); direction: ltr; }
.fl.yr { font-size: 17px; color: var(--dim); }
.fl.fc { color: var(--hi); }
.fl.head-l { font-size: 22px; }
.fl.head-l b { font-size: 34px; color: var(--hi); margin-inline-end: 6px; }
.fl.row-l { font-size: 21px; color: var(--ink); }
.fl.row-l b { margin-inline-start: 12px; color: var(--hi); }
.fl.town { font: 600 17px/1 var(--sans); color: var(--ink); text-shadow: 0 2px 10px rgb(0 0 0 / .6); }
.fl.screen-t { font: 600 18px/1 var(--sans); color: var(--ink); }
.fl.screen-f { font: 600 18px/1 var(--sans); color: var(--hi); }
.axis { position: absolute; height: 1px; background: rgb(255 255 255 / .22); display: block; }

.plot { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plot .area { fill: rgb(var(--hi-rgb) / .12); }
.plot .ln { fill: none; stroke: var(--hi); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.plot .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in.on .plot .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s cubic-bezier(.6,.1,.2,1) 1s; }
.plot .dash { stroke-dasharray: 6 8; opacity: .7; }

.phone { position: absolute; left: 135px; top: 0; width: 330px; height: 620px; border-radius: 52px;
  border: 2px solid rgb(255 255 255 / .55); background: linear-gradient(160deg, rgb(255 255 255 / .10), rgb(255 255 255 / .02) 40%, rgb(0 0 0 / .25));
  box-shadow: 0 30px 80px rgb(0 0 0 / .45), inset 0 0 0 8px rgb(0 0 0 / .35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.phone .notch { position: absolute; left: 50%; top: 18px; width: 96px; height: 26px; margin-left: -48px; border-radius: 13px; background: rgb(0 0 0 / .7); }
.legend { position: absolute; display: flex; justify-content: center; gap: 28px; font: 400 20px/1 var(--sans); color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 9px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; }
.legend.col { flex-direction: column; gap: 14px; }
.legend.col b { margin-inline-start: auto; color: var(--ink); font-weight: 600; }
.map { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map polygon { fill: rgb(255 255 255 / .05); stroke: rgb(255 255 255 / .35); stroke-width: 1.5; stroke-linejoin: round; }

.in .card { padding: 30px 32px; }
.in .card .t { font-size: 21px; margin-bottom: 20px; }
.in .card .l { font-size: 21px; }
.in .kpi b { font-size: 84px; }
.in .bars .cols { height: 320px; gap: 22px; }
.in .bars .col i { max-width: 74px; }
.in .bars .col em { font-size: 24px; }
.in .bars .col span { font-size: 17px; }
.in .line svg { height: 220px; }
.in .donut { grid-template-columns: 170px 1fr; }
.in .donut svg { width: 170px; height: 170px; }
.in .ba .pair b { font-size: 92px; }
.in .ba .pair b small { font-size: 26px; }
.in .ba .pair span { font-size: 19px; }
.in .gauge svg { width: 300px; height: 175px; }
.in .gauge b { font-size: 72px; }
.in .ring svg { width: 128px; height: 128px; }
.in .ring b { top: 47px; font-size: 30px; }
.in .split .bar { height: 30px; border-radius: 15px; }
.in .split .leg span { font-size: 21px; }
.in .hbars .row { grid-template-columns: 130px 1fr 40px; margin-bottom: 16px; }
.in .hbars .row span, .in .hbars .row em { font-size: 20px; }
.in .hbars .row i { height: 16px; border-radius: 8px; }
.in [data-in] { transform: scale(.86); }
.in.on [data-in] { transform: none; }
.in.off { visibility: visible; }
.in.off [data-in] { opacity: 0; transform: scale(1.14); transition: opacity .45s ease-in, transform .6s cubic-bezier(.5,0,.8,.4); }

/* a big figure: the number the slide is about */
.hero .mega { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 14px; color: var(--hi); }
.mega span { font: 200 200px/.9 var(--sans); letter-spacing: -.04em; direction: ltr; }
.mega small { font: 400 30px/1 var(--sans); color: var(--ink); }

.card { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 20px; padding: 24px 26px;
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); box-shadow: 0 20px 60px rgb(0 0 0 / .35); }
.card .t { font: 600 18px/1.3 var(--sans); color: var(--muted); margin-bottom: 16px; }
.card .l { display: block; font: 400 19px/1.35 var(--sans); color: var(--muted); }

.kpi b { display: block; font: 200 68px/1 var(--sans); letter-spacing: -.02em; color: var(--ink); margin-bottom: 10px; direction: ltr; text-align: right; }

.donut { display: grid; grid-template-columns: 150px 1fr; gap: 6px 20px; align-items: center; }
.donut svg, .ring svg { width: 150px; height: 150px; transform: rotate(-90deg); grid-row: span 3; }
.donut circle, .ring circle { fill: none; stroke-width: 9; }
.donut .bg, .ring .bg, .gauge .bg { stroke: rgb(255 255 255 / .1); }
.donut .arc, .ring .arc { stroke: var(--hi); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray .4s; }
.slide.on .donut .arc, .slide.on .ring .arc { stroke-dasharray: var(--v) 100; transition: stroke-dasharray 1.8s cubic-bezier(.6,.1,.2,1) calc(.5s + var(--i, 0) * .2s); }
.donut b { font: 200 54px/1 var(--sans); color: var(--ink); }
.donut small { color: var(--dim); font-size: 15px; }

.bars .cols { display: flex; gap: 16px; align-items: flex-end; height: 210px; }
.bars .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 8px; }
.bars .col i { width: 100%; max-width: 56px; height: 0; border-radius: 8px 8px 3px 3px; background: rgb(var(--hi-rgb) / .35); transition: height .4s; }
.slide.on .bars .col i { height: var(--h); transition: height 1.3s cubic-bezier(.2,.7,.2,1) calc(.4s + var(--i) * .12s); }
.bars .col.hi i { background: var(--hi); box-shadow: 0 0 24px rgb(var(--hi-rgb) / .45); }
.bars .col em { font: 600 18px/1 var(--sans); font-style: normal; color: var(--ink); }
.bars .col span { font: 400 15px/1 var(--sans); color: var(--dim); }

.hbars .row { display: grid; grid-template-columns: 104px 1fr 34px; align-items: center; gap: 12px; margin-bottom: 12px; }
.hbars .row span { font: 400 17px/1 var(--sans); color: var(--muted); }
.hbars .row i { height: 12px; border-radius: 6px; background: var(--hi); width: 0; transition: width .4s; justify-self: start; }
.slide.on .hbars .row i { width: var(--w); transition: width 1.2s cubic-bezier(.2,.7,.2,1) calc(.4s + var(--i) * .12s); }
.hbars .row em { font: 600 17px/1 var(--sans); font-style: normal; text-align: left; }

.line svg { width: 100%; height: 150px; display: block; overflow: visible; }
.line .ln { fill: none; stroke: var(--hi); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linejoin: round; stroke-linecap: round; }
.slide.on .line .ln { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.6,.1,.2,1) .5s; }
.line .area { fill: rgb(var(--hi-rgb) / .14); opacity: 0; }
.slide.on .line .area { opacity: 1; transition: opacity 1s ease 1.4s; }
.line circle { fill: var(--bg); stroke: var(--hi); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: 0; }
.slide.on .line circle { opacity: 1; transition: opacity .5s ease 1.6s; }
.line .xl { display: flex; justify-content: space-between; direction: ltr; margin-top: 8px; font: 400 14px/1 var(--sans); color: var(--dim); }
.line .end { margin-top: 14px; color: var(--muted); font-size: 17px; }
.line .end b { color: var(--ink); font-size: 24px; font-weight: 600; }

.gauge { text-align: center; }
.gauge svg { width: 220px; height: 128px; display: block; margin: 0 auto -6px; }
.gauge path { fill: none; stroke-width: 10; stroke-linecap: round; }
.gauge .arc { stroke: var(--hi); stroke-dasharray: 0 100; }
.slide.on .gauge .arc { stroke-dasharray: var(--v) 100; transition: stroke-dasharray 1.8s cubic-bezier(.6,.1,.2,1) .5s; }
.gauge b { display: block; font: 200 56px/1 var(--sans); margin-bottom: 8px; direction: ltr; }

.rings .rr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.ring { position: relative; display: grid; justify-items: center; gap: 8px; }
.ring svg { width: 104px; height: 104px; }
.ring b { position: absolute; top: 38px; left: 0; right: 0; font: 300 26px/1 var(--sans); direction: ltr; }
.ring > span { font: 400 15px/1.2 var(--sans); color: var(--muted); }

.split .bar { display: flex; height: 22px; border-radius: 11px; overflow: hidden; background: rgb(255 255 255 / .08); direction: rtl; }
.split .bar i { width: 0; background: var(--c); transition: width .4s; }
.slide.on .split .bar i { width: var(--w); transition: width 1.4s cubic-bezier(.2,.7,.2,1) .5s; }
.split .leg { display: grid; gap: 10px; margin-top: 18px; }
.split .leg span { display: flex; align-items: center; gap: 10px; font: 400 18px/1 var(--sans); color: var(--muted); }
.split .leg span i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.split .leg b { color: var(--ink); margin-inline-start: auto; }

.ba .pair { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ba .pair > div { display: grid; gap: 6px; }
.ba .pair b { font: 200 64px/1 var(--sans); color: var(--dim); text-decoration: line-through; text-decoration-thickness: 2px; }
.ba .pair .now b { color: var(--hi); text-decoration: none; }
.ba .pair b small { font-size: 22px; margin-inline-start: 4px; }
.ba .pair span { font: 400 16px/1 var(--sans); color: var(--muted); }
.ba .pair > i { font-style: normal; font-size: 30px; color: var(--hi); }


.sample { position: absolute; left: 36px; bottom: 30px; font: 600 14px/1 var(--sans); letter-spacing: .1em; color: rgb(255 255 255 / .5); }
#loader .name { margin: 0; font: 300 46px/1 var(--sans); color: var(--ink); }
#loader .sub { margin: 0; font: 600 14px/1 var(--sans); letter-spacing: .16em; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .bub.next::after { animation: none; } }

/* ================= gal: more words per slide ================= */
.in .head .t1 { font-size: 62px; }
.in .head .sub-t { margin-top: 16px; font: 400 25px/1.4 var(--sans); color: var(--hi); }
.in .head .body { margin-top: 22px; font: 300 21.5px/1.62 var(--sans); }
.in .head .pts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.in .head .pts li { position: relative; padding-inline-start: 26px; font: 400 19.5px/1.45 var(--sans); color: var(--ink); }
.in .head .pts li::before { content: ""; position: absolute; right: 0; top: 10px; width: 12px; height: 2px; background: var(--hi); border-radius: 2px; }
.in .kpi b { font-size: 70px; }
.in .kpi .l { font-size: 19px; }
.in .kpi .x { display: block; margin-top: 8px; font: 400 16px/1.45 var(--sans); color: var(--dim); }
.mapimg { position: absolute; inset: 0; width: 600px; height: 640px; }
.fl.town { font: 600 16px/1 var(--sans); }
.fl.node-l { font: 600 17px/1.2 var(--sans); color: var(--ink); text-shadow: 0 2px 10px rgb(0 0 0 / .6); }
.fl.legend-l { font-size: 18px; display: flex; justify-content: center; align-items: center; gap: 10px; }
.fl .sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-inline-start: 14px; }
.tile { position: absolute; display: block; border-radius: 16px; border: 1px solid rgb(255 255 255 / .14); }
.pod { position: absolute; display: block; border-radius: 50%; border: 1px dashed rgb(var(--hi-rgb) / .45); background: rgb(var(--hi-rgb) / .05); }
.fl.gauge-v { font: 200 64px/1 var(--sans); color: var(--ink); direction: ltr; }
.fl .big.ltr { direction: ltr; unicode-bidi: isolate; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.fl.in-c.dark .big { color: var(--on-accent); font-size: 64px; }
.fl.in-c.dark small { font-size: 18px; font-weight: 600; }

/* ================= constellation edition ================= */
.hub .slide .copy.top { top: 54px; }
.hub .slide .copy.top .t1 { font-size: 62px; }
#links { position: absolute; inset: 0; width: 1920px; height: 1080px; pointer-events: none; transition: opacity .6s; }
#links line { stroke: rgb(255 255 255 / .22); stroke-width: 1.5; }
#links line.rim-l { stroke-dasharray: 2 8; stroke-linecap: round; }
#links line.lit { stroke: rgb(var(--hi-rgb) / .75); stroke-width: 2; stroke-dasharray: none; filter: drop-shadow(0 0 6px rgb(var(--hi-rgb) / .6)); }
.bub b { font-size: 23px; max-width: 170px; }
.core { position: absolute; left: 842px; top: 497px; width: 236px; height: 236px; border-radius: 50%; display: grid; place-content: center;
  justify-items: center; gap: 6px; text-align: center; will-change: transform, opacity; opacity: 0; transition: opacity 1s ease .2s; }
html.hubin .core { opacity: 1; }
.core .glass { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(120% 90% at 30% 18%, rgb(var(--hi-rgb) / .42), rgb(var(--hi-rgb) / .10) 45%, rgb(0 0 0 / .1) 75%);
  border: 1.5px solid rgb(var(--hi-rgb) / .7); box-shadow: 0 0 60px rgb(var(--hi-rgb) / .25), inset 0 0 40px rgb(255 255 255 / .08);
  backdrop-filter: blur(18px) brightness(1.1); -webkit-backdrop-filter: blur(18px) brightness(1.1); }
.core b, .core small { position: relative; }
.core b { font: 700 34px/1 var(--sans); color: var(--ink); }
.core small { font: 400 16px/1.2 var(--sans); color: var(--muted); max-width: 170px; }
html.intro .bub, html.intro .core, html.intro #links { opacity: 0 !important; pointer-events: none; }

/* the opening: a turning ring of seven dots around a small core, beside the title */
.orbit { position: absolute; left: 470px; top: 400px; width: 0; height: 0; opacity: 0; transition: opacity .3s; pointer-events: none; }
html.intro .orbit { opacity: 1; transition: opacity 1s ease .3s; }
.orbit .oc { position: absolute; left: -46px; top: -46px; width: 92px; height: 92px; border-radius: 50%;
  background: radial-gradient(120% 90% at 30% 18%, rgb(var(--hi-rgb) / .5), rgb(var(--hi-rgb) / .12) 50%); border: 1.5px solid rgb(var(--hi-rgb) / .8);
  box-shadow: 0 0 50px rgb(var(--hi-rgb) / .35); }
.orbit .od { position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(120% 90% at 30% 18%, rgb(255 255 255 / .38), rgb(255 255 255 / .06) 50%); border: 1px solid rgb(255 255 255 / .5);
  transform: rotate(var(--a)) translate(210px) rotate(calc(-1 * var(--a))); animation: orbit 26s linear infinite; }
.orbit::before { content: ""; position: absolute; left: -210px; top: -210px; width: 420px; height: 420px; border-radius: 50%; border: 1px dashed rgb(255 255 255 / .18); }
@keyframes orbit { from { transform: rotate(var(--a)) translate(210px) rotate(calc(-1 * var(--a))); }
  to { transform: rotate(calc(var(--a) - 360deg)) translate(210px) rotate(calc(360deg - var(--a))); } }
.hub .intro .copy { top: 270px; right: 150px; left: auto; width: 820px; text-align: right; }
.hub .intro .kicker { justify-content: flex-start; }
.hub .intro .kicker::after { display: none; }
.hub .intro .t1 { font-size: 104px; line-height: 1.02; }
.hub .intro .lead { margin-top: 34px; font: 300 27px/1.55 var(--sans); color: var(--muted); max-width: 700px; }
.hub .intro .sign { margin-top: 40px; font: 600 16px/1 var(--sans); letter-spacing: .2em; color: var(--hi); }

/* figure vocabulary for this deck */
.plot.web line, .plot.web polygon, .plot.tree path { fill: none; stroke: rgb(255 255 255 / .2); stroke-width: 1.5; }
.plot.radar .grid polygon, .plot.radar .grid line { fill: none; stroke: rgb(255 255 255 / .14); stroke-width: 1; }
.plot.radar .shape { fill: rgb(var(--hi-rgb) / .16); stroke: var(--hi); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.in.on .plot.radar .shape { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s cubic-bezier(.6,.1,.2,1) 1.1s; }
.plot .ln.tangle { stroke: rgb(255 255 255 / .28); stroke-width: 2; stroke-dasharray: 4 6; }
.plot .ln.soft { stroke: rgb(255 255 255 / .25); stroke-width: 2; }
.fl.node-l { font: 600 17px/1.2 var(--sans); color: var(--ink); text-shadow: 0 2px 10px rgb(0 0 0 / .6); }
.fl.ax-l { font: 400 17px/1.2 var(--sans); color: var(--muted); }
.fl.ax-l b { color: var(--hi); }
.fl.ax-l.low b { color: #ef8a74; }
.fl.col-l { font: 600 14px/1.1 var(--sans); color: var(--muted); }
.fl.legend-l { font-size: 18px; display: flex; justify-content: center; align-items: center; gap: 10px; }
.fl .sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-inline-start: 14px; }
.fl.quote { font: 300 26px/1.4 var(--sans); color: var(--ink); font-style: italic; }
.fl.pillar-l { font: 600 22px/1.3 var(--sans); color: var(--ink); }
.fl.pillar-l b { font: 200 44px/1 var(--sans); color: var(--ink); }
.fl.goal-l { font: 600 16px/1.3 var(--sans); color: var(--ink); }
.pc.line-edge { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .28); }
.silo { position: absolute; display: block; border-radius: 18px; border: 1px solid rgb(255 255 255 / .16); background: rgb(255 255 255 / .03); }
.pod { position: absolute; display: block; border-radius: 50%; border: 1px dashed rgb(var(--hi-rgb) / .45); background: rgb(var(--hi-rgb) / .05); }
.box { position: absolute; display: block; border-radius: 14px; border: 1px solid rgb(255 255 255 / .14); background: rgb(255 255 255 / .03); }
.box.hi { border-color: rgb(var(--hi-rgb) / .5); background: rgb(var(--hi-rgb) / .08); }
.step { position: absolute; display: block; border-radius: 14px 14px 0 0; border: 1px solid rgb(255 255 255 / .16); border-bottom: 0;
  background: linear-gradient(to bottom, rgb(var(--hi-rgb) / .12), transparent); }
.fl.gauge-v { font: 200 46px/1 var(--sans); color: var(--ink); direction: ltr; }
.fl .big.ltr { direction: ltr; unicode-bidi: isolate; }

/* ================= kit: maps, depth, and the new transitions ================= */
#mapfx { position: absolute; inset: 0; width: 1920px; height: 1080px; pointer-events: none; transition: opacity .6s; }
html.intro #mapfx { opacity: 0 !important; }
.bubs { position: absolute; inset: 0; perspective: 1800px; }
.bub { filter: brightness(calc(.35 + .65 * var(--o, 1))) saturate(calc(.4 + .6 * var(--o, 1))); }
.bub svg, .bub b, .bub small { opacity: calc(.25 + .75 * var(--o, 1)); }
.core { z-index: 5; }

/* panels: tall glass slabs instead of round bubbles */
html[data-map=panels] .bub { width: calc(var(--r) * 1.55); height: calc(var(--r) * 2.5); left: calc(var(--x) - var(--r) * .775); top: calc(var(--y) - var(--r) * 1.25); border-radius: 28px; }
html[data-map=panels] .bub .glass { border-radius: 28px; }
html[data-map=panels] .bub.next::after { border-radius: 30px; }
/* hex: cells of a hive */
html[data-map=hex] .bub .glass { border-radius: 0; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); border: 0;
  background: radial-gradient(120% 90% at 30% 18%, rgb(255 255 255 / .30), rgb(var(--hi-rgb) / .12) 45%, rgb(255 255 255 / .04) 75%); }
html[data-map=hex] .bub.next::after { border-radius: 0; border: 0; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); background: rgb(var(--hi-rgb) / .25); }
/* city and radar: small glass labels floating over the scene */
html[data-map=city] .bub b, html[data-map=radar] .bub b { font-size: 19px; max-width: 140px; }
html[data-map=city] .bub svg, html[data-map=radar] .bub svg { width: 28px; height: 28px; }

/* bursts of light */
.portal .fx { position: absolute; inset: 0; width: 1920px; height: 1080px; pointer-events: none; z-index: 6; }

/* rolling digits */
[data-roll] { display: inline-flex; direction: ltr; }
.rd { display: inline-block; height: 1em; line-height: 1em; overflow: hidden; vertical-align: top; }
.rc { display: flex; flex-direction: column; }
.rc i { display: block; height: 1em; line-height: 1em; font-style: normal; }

/* a flat chart that turns out to be three-dimensional */
.fig.tilt { perspective: 1500px; }
.fig.tilt .st3 { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 85%; transition: transform .6s ease; }
.in.on .fig.tilt .st3 { transform: rotateX(-14deg) rotateY(-38deg); transition: transform 1.8s cubic-bezier(.45,0,.2,1) 1.25s; }
.pc.prism { transform-style: preserve-3d; }
.pc.prism::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: var(--dz); background: inherit; filter: brightness(1.45);
  transform-origin: top; transform: rotateX(-90deg); border-radius: inherit; }
.pc.prism::after { content: ""; position: absolute; left: 100%; top: 0; width: var(--dz); height: 100%; background: inherit; filter: brightness(.7);
  transform-origin: left; transform: rotateY(90deg); }
.pc.prism .fr { position: absolute; inset: 0; background: inherit; border-radius: inherit; transform: translateZ(calc(-1 * var(--dz))); filter: brightness(.55); }

/* flows (a Sankey): one quantity streams out into its parts */
.plot .flow { fill: none; stroke-linecap: butt; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .5; }
.in.on .plot .flow { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s cubic-bezier(.6,.1,.2,1) var(--fd, 1s); }

/* a scan: a line of light sweeps right to left and leaves the figure behind it */
.in.on .fig.scan .sc { animation: scanclip 1.9s cubic-bezier(.55,0,.25,1) .35s backwards; }
.fig.scan .sc { position: absolute; inset: 0; }
@keyframes scanclip { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
.fig.scan::after { content: ""; position: absolute; top: -20px; bottom: -20px; width: 3px; left: 0; opacity: 0; pointer-events: none;
  background: var(--hi); box-shadow: 0 0 24px 6px rgb(var(--hi-rgb) / .7); }
.in.on .fig.scan::after { animation: scanbar 1.9s cubic-bezier(.55,0,.25,1) .35s; }
@keyframes scanbar { 0% { left: 100%; opacity: 1; } 92% { opacity: 1; } 100% { left: 0; opacity: 0; } }
.fig.scan .grid-l { position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 40px 40px; }
html.shot .fig.scan .sc, html.shot .fig.scan::after { animation: none !important; }
.fl.mega-w { font: 200 190px/1 var(--sans); color: var(--ink); letter-spacing: -.04em; }
.fl.mega-w .mega-n { font: inherit; color: var(--hi); direction: ltr; unicode-bidi: isolate; display: inline-block; }
.fl.flow-l { font: 600 19px/1.2 var(--sans); color: var(--ink); text-shadow: 0 1px 8px rgb(0 0 0 / .8); }
.fl.flow-l b { color: var(--ink); font-weight: 800; margin-inline-end: 6px; }
.pc.hexc { clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.fl.in-c.dark .big { color: var(--on-accent); font-size: 60px; }
.fl.in-c.dark small { font-size: 18px; font-weight: 600; }

/* ================= card maps: 3D photo cards that start as a flat sketch ================= */
html[data-style=cards] .bubs { perspective: none; transition: transform 1.9s cubic-bezier(.6,0,.15,1); }
html[data-style=cards].intro .bubs { transform: translateX(-500px) scale(.6); }
html[data-style=cards] .bub, html[data-style=cards] .deco {
  position: absolute; display: block; padding: 0; border: 0; background: none; font: inherit; color: var(--ink);
  width: var(--cw); height: var(--ch); left: calc(var(--x) - var(--cw) / 2); top: calc(var(--y) - var(--ch) / 2);
  opacity: calc(.15 + .85 * var(--o, 1)); transform: none; filter: none; perspective: 1100px; transition: opacity .6s;
  will-change: transform, left, top, scale; }
html[data-style=cards] .bub { cursor: pointer; }
html[data-style=cards] .deco { pointer-events: none; }
html[data-style=cards].intro .bub, html[data-style=cards].intro .deco { opacity: calc(.15 + .85 * var(--o, 1)) !important; pointer-events: none; }
html[data-style=cards] .bub > .glass, html[data-style=cards] .bub > svg, html[data-style=cards] .bub > b, html[data-style=cards] .bub > small { display: none; }
html[data-style=cards] .bub::after { display: none !important; }
.face { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateZ(var(--rz, 0deg)) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); }
.flip { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(180deg);
  transition: transform 1.25s cubic-bezier(.65,0,.2,1) calc(var(--k, 0) * 70ms); }
html.sketch .flip { transform: rotateY(0deg); transition-duration: .01s; transition-delay: 0s; }
.sd { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.sd.back { transform: rotateY(180deg); background: #111; box-shadow: 0 30px 70px rgb(0 0 0 / .45); }
/* the sketch: flat pastel blocks with a word on them, as in a wireframe */
.sd.front { background: var(--pc); display: grid; place-items: center; box-shadow: 0 10px 30px rgb(0 0 0 / .18); }
.sd.front em { font: 600 22px/1 var(--sans); font-style: normal; color: rgb(0 0 0 / .55); letter-spacing: .02em; }
.sd.front i { position: absolute; left: 22px; right: 22px; bottom: 26px; height: 6px; border-radius: 3px; background: rgb(0 0 0 / .12); box-shadow: 0 -16px 0 rgb(0 0 0 / .12); }
/* the real card */
.sd.back img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sd.back .sh { position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .78), rgb(0 0 0 / .05) 55%, transparent); }
.sd.back .lb { position: absolute; right: 22px; left: 22px; bottom: 22px; display: grid; gap: 6px; text-align: right; }
.sd.back .lb b { font: 700 30px/1.08 var(--sans); color: #fff; }
.sd.back .lb small { font: 600 15px/1 var(--sans); letter-spacing: .18em; color: var(--hi); }
.sd.back .lb small em { font-style: normal; }
.sd.back::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); pointer-events: none; }
.bub.next .sd.back::after { box-shadow: inset 0 0 0 2px var(--hi), 0 0 40px rgb(var(--hi-rgb) / .6); }
html[data-style=cards] .bub .tick { top: 14px; left: 14px; transform: scale(.4); }
html[data-style=cards] .bub.done .tick { top: 14px; left: 14px; transform: scale(1); }
/* decorative backs: a photo crop, big type, a figure, a block of colour */
.sd.back.ty { background: var(--hi); display: grid; place-items: center; }
.sd.back.ty span { font: 800 120px/.9 var(--sans); color: var(--on-accent); letter-spacing: -.04em; direction: ltr; }
.sd.back.ty small { position: absolute; top: 20px; right: 22px; font: 700 14px/1 var(--sans); letter-spacing: .2em; color: var(--on-accent); opacity: .7; }
.sd.back.st { background: #0d0f12; display: grid; align-content: end; padding: 26px; gap: 8px; text-align: right; }
.sd.back.st span { font: 200 86px/.9 var(--sans); color: var(--hi); direction: ltr; text-align: right; }
.sd.back.st small { font: 400 18px/1.3 var(--sans); color: rgb(255 255 255 / .75); }
.sd.back.cr img { transform: scale(var(--zm, 1.8)); transform-origin: var(--zo, 50% 50%); }
.sd.back.cr { filter: saturate(1.15) contrast(1.05); }
.sd.back.wd { background: #f2efe9; display: grid; place-items: center; }
.sd.back.wd span { font: 800 64px/1 var(--sans); color: #111; }
.sd.back.wd small { position: absolute; bottom: 20px; right: 22px; font: 600 13px/1 var(--sans); letter-spacing: .2em; color: #111; opacity: .6; }
html[data-style=cards] .hub .slide.intro .copy { right: 120px; width: 700px; top: 300px; }
html[data-style=cards] .hub .slide.intro .t1 { font-size: 96px; }
html[data-style=cards] #mapfx { opacity: 1; }
html.shot .flip { transition: none !important; }
html[data-style=cards] .hub .slide.intro { --scrim: linear-gradient(to left, rgb(6 6 8 / .82) 28%, rgb(6 6 8 / .5) 45%, transparent 62%); }
html[data-style=cards] .bubs { z-index: 1; }
html[data-style=cards] .hub .slide { z-index: 2; }
html[data-style=cards] .hub .copy.top { padding: 18px 40px 26px; --wash: radial-gradient(closest-side, rgb(6 6 8 / .7), transparent); }

/* ================= the six moods: the card material and the room around it ================= */
/* technological: holograms */
html[data-map=holo] .world { filter: saturate(.6) brightness(.55); }
html[data-map=holo] .sd.back { background: rgb(0 30 30 / .45); box-shadow: 0 0 0 1px rgb(var(--hi-rgb) / .7), 0 0 40px rgb(var(--hi-rgb) / .35), inset 0 0 40px rgb(var(--hi-rgb) / .25); }
html[data-map=holo] .sd.back img { opacity: .78; filter: saturate(1.3) hue-rotate(-10deg) contrast(1.1); mix-blend-mode: screen; }
html[data-map=holo] .sd.back::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgb(255 255 255 / .07) 0 1px, transparent 1px 4px), linear-gradient(to bottom, transparent 40%, rgb(var(--hi-rgb) / .18)); }
html[data-map=holo] .sd.back.ty, html[data-map=holo] .sd.back.st, html[data-map=holo] .sd.back.wd { background: rgb(0 40 34 / .5); }
html[data-map=holo] .sd.back.ty span, html[data-map=holo] .sd.back.wd span, html[data-map=holo] .sd.back.ty small, html[data-map=holo] .sd.back.wd small { color: var(--hi); text-shadow: 0 0 18px rgb(var(--hi-rgb) / .8); }
html[data-map=holo] .sd.back .lb b { text-shadow: 0 0 12px rgb(var(--hi-rgb) / .9); }
/* super cool: glossy slabs with a moving sheen */
html[data-map=helix] .sd.back::before { content: ""; position: absolute; inset: -40%; z-index: 2; pointer-events: none; transform: rotate(25deg);
  background: linear-gradient(90deg, transparent 40%, rgb(255 255 255 / .22) 50%, transparent 60%); animation: sheen 4.5s ease-in-out infinite; }
@keyframes sheen { 0% { transform: translateX(-60%) rotate(25deg); } 60%, 100% { transform: translateX(60%) rotate(25deg); } }
html[data-map=helix] .world { filter: brightness(.45) saturate(1.2); }
/* fun: stickers with a white border on a candy-coloured room */
html[data-map=pinboard] #deck { background: linear-gradient(135deg, #2a1b5c, #6a1f6e 45%, #b8445b 75%, #f08a3c); }
html[data-map=pinboard] .world { opacity: .14; }
html[data-map=pinboard] .sd.back { border-radius: 14px; background: #fff; padding: 10px 10px 46px; box-shadow: 0 18px 40px rgb(0 0 0 / .4); }
html[data-map=pinboard] .sd.back img { position: absolute; inset: 10px 10px 46px; width: calc(100% - 20px); height: calc(100% - 56px); border-radius: 6px; }
html[data-map=pinboard] .sd.back .sh { display: none; }
html[data-map=pinboard] .sd.back .lb { bottom: 10px; }
html[data-map=pinboard] .sd.back .lb b { color: #1b1530; font-size: 24px; }
html[data-map=pinboard] .sd.back .lb small { color: #e0457b; }
html[data-map=pinboard] .sd.back.ty, html[data-map=pinboard] .sd.back.st, html[data-map=pinboard] .sd.back.wd { padding: 0; }
html[data-map=pinboard] .deco:nth-of-type(4n) .sd.back.ty { background: #ff6b9a; }
html[data-map=pinboard] .deco:nth-of-type(4n+1) .sd.back.ty { background: #3ee0c5; }
html[data-map=pinboard] .deco:nth-of-type(4n+2) .sd.back.ty { background: #8f7bff; }
html[data-map=pinboard] .deco:nth-of-type(4n+3) .sd.back.ty { background: #ffd23f; }
html[data-map=pinboard] .sd.back.st { background: #1b1530; }
/* breathtaking: soft, warm, deep */
html[data-map=panorama] .sd.back { box-shadow: 0 40px 90px rgb(0 0 0 / .55), 0 0 60px rgb(var(--hi-rgb) / .18); }
html[data-map=panorama] .bub, html[data-map=panorama] .deco { transition: opacity .6s, filter .9s; }
/* colourful: a living field of colour, rounded juicy cards */
html[data-map=bloom] #deck { background: #120a24; }
html[data-map=bloom] .world { opacity: .08; }
html[data-map=bloom] .sd { border-radius: 28px; }
html[data-map=bloom] .sd.back { box-shadow: 0 24px 60px rgb(0 0 0 / .45), 0 0 0 3px rgb(255 255 255 / .85); }
html[data-map=bloom] .deco:nth-of-type(5n) .sd.back.ty { background: linear-gradient(135deg, #ff4f8b, #ff9a3c); }
html[data-map=bloom] .deco:nth-of-type(5n+1) .sd.back.ty { background: linear-gradient(135deg, #2fd6c3, #3a8bff); }
html[data-map=bloom] .deco:nth-of-type(5n+2) .sd.back.ty { background: linear-gradient(135deg, #ffd23f, #ff7a59); }
html[data-map=bloom] .deco:nth-of-type(5n+3) .sd.back.ty { background: linear-gradient(135deg, #8f6bff, #ff5fd2); }
html[data-map=bloom] .deco:nth-of-type(5n+4) .sd.back.ty { background: linear-gradient(135deg, #58e07a, #22c1e6); }
html[data-map=bloom] .sd.back.ty span, html[data-map=bloom] .sd.back.ty small { color: #fff; }
/* serious: square corners, hairlines, black and white until chosen */
html[data-map=table] .world { filter: grayscale(.7) brightness(.5); }
html[data-map=table] .sd { border-radius: 4px; }
html[data-map=table] .sd.back { box-shadow: 0 30px 60px rgb(0 0 0 / .55); }
html[data-map=table] .sd.back::after { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); }
html[data-map=table] .sd.back .lb b { font-size: 24px; font-weight: 600; letter-spacing: .01em; }
html[data-map=table] .sd.back.ty { background: #e9e4da; }
html[data-map=table] .sd.back.ty span, html[data-map=table] .sd.back.ty small { color: #15161a; }
html[data-map=table] .bub.next .sd.back::after { box-shadow: inset 0 0 0 2px var(--hi); }
html[data-map=table] .bub, html[data-map=table] .deco { transition: opacity .6s, filter .8s; }
html[data-map=table] #dust { opacity: .3; }
html[data-nosketch].intro #mapfx { opacity: .85 !important; }

/* ================= scenes: a whole painted world, no photo behind it ================= */
html[data-style=scene] .world { display: none; }
html[data-style=scene] .orbit { display: none; }
html[data-style=scene].intro #mapfx { opacity: 1 !important; }
html[data-style=scene] #deck { background: #06070b; }
html[data-style=scene] .bub b { font-size: 18px; max-width: 120px; }
html[data-style=scene] .bub svg { width: 26px; height: 26px; margin-bottom: 0; }
html[data-style=scene] .bub small { font-size: 14px; }
html[data-map=day] .bub b, html[data-map=threads] .bub b { font-size: 15px; max-width: 100px; }
html[data-map=day] .bub svg, html[data-map=threads] .bub svg { width: 20px; height: 20px; }
html[data-style=scene] .hub .slide.intro { --scrim: linear-gradient(to left, rgb(0 0 0 / .55) 26%, transparent 58%); }
html[data-map=book] .hub .slide.intro { --scrim: linear-gradient(to left, rgb(20 12 6 / .75) 30%, transparent 55%); }
html[data-map=book] .hub .copy.top .t1, html[data-map=book] .hub .copy.top .kicker { text-shadow: 0 2px 20px rgb(0 0 0 / .8); }
html[data-map=book] .bub .glass { background: radial-gradient(120% 90% at 30% 18%, rgb(255 255 255 / .55), rgb(255 240 215 / .25) 45%, rgb(120 85 32 / .18) 75%); border-color: rgb(122 85 32 / .6); }
html[data-map=book] .bub b, html[data-map=book] .bub small { color: #2a1f14; }
html[data-map=book] .bub svg { stroke: #7a5520; }
html[data-map=day] .hub .copy.top { --wash: radial-gradient(closest-side, rgb(0 0 0 / .35), transparent); padding: 14px 40px 22px; }
html[data-map=day] .bub .glass { background: radial-gradient(120% 90% at 30% 18%, rgb(255 255 255 / .3), rgb(10 18 40 / .45) 50%, rgb(5 10 25 / .6) 80%); }
html[data-map=day] .bub b { color: #fff; text-shadow: 0 1px 6px rgb(0 0 0 / .7); }
html[data-map=threads] .bub .glass, html[data-map=pulse] .bub .glass { background: radial-gradient(120% 90% at 30% 18%, rgb(255 255 255 / .28), rgb(8 8 14 / .55) 50%, rgb(4 4 8 / .75) 80%); }
html[data-map=threads] .bub b, html[data-map=pulse] .bub b { color: #fff; }

/* ================= layouts: not every slide is text on the right and a figure in the middle ================= */
/* mirror: the words move to the left, the figure to the middle, the figures to the right */
.in[data-layout=mirror] .head { right: auto; left: 110px; }
.in[data-layout=mirror] .fig { left: 790px; }
.in[data-layout=mirror] .side.left { left: auto; right: 100px; }
/* top: the words run across the top, the figure gets a wide strip below */
.in[data-layout=top] .head { top: 56px; bottom: auto; right: 110px; width: 960px; display: block; padding: 0; }
.in[data-layout=top] .head .t1 { font-size: 58px; }
.in[data-layout=top] .head .t1 em { display: inline; }
.in[data-layout=top] .head .sub-t { margin-top: 10px; }
.in[data-layout=top] .head .body { margin-top: 14px; font-size: 20px; line-height: 1.6; }
.in[data-layout=top] .head .pts { display: none; }
.in[data-layout=top] .side.left { top: 70px; bottom: auto; left: 110px; width: auto; flex-direction: row; gap: 20px; display: flex; }
.in[data-layout=top] .side.left .card { width: 330px; }
.in[data-layout=top] .fig { left: 160px; top: 560px; width: 1600px; height: 480px; }
/* statement: one big thing in the middle, the words centred above it */
.in[data-layout=statement] .head { left: 310px; right: 310px; width: auto; top: 60px; bottom: auto; display: block; text-align: center; padding: 0; }
.in[data-layout=statement] .head .kicker { justify-content: center; }
.in[data-layout=statement] .head .kicker::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .7; }
.in[data-layout=statement] .head .t1 { font-size: 64px; }
.in[data-layout=statement] .head .t1 em { display: inline; }
.in[data-layout=statement] .head .body { margin: 16px auto 0; max-width: 1150px; font-size: 21px; }
.in[data-layout=statement] .head .pts { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; }
.in[data-layout=statement] .fig { left: 360px; top: 520px; width: 1200px; height: 420px; }
.in[data-layout=statement] .side.left { display: none; }

/* ================= the second figure set ================= */
.radial { position: absolute; left: 0; top: 0; width: 600px; height: 600px; transform: rotate(-90deg); overflow: visible; }
.radial .trk { fill: none; stroke: rgb(255 255 255 / .08); stroke-width: 34; }
.radial .arc { fill: none; stroke: var(--c); stroke-width: 34; stroke-linecap: round; stroke-dasharray: 0 100; }
.in.on .radial .arc { stroke-dasharray: var(--v) 100; transition: stroke-dasharray 1.8s cubic-bezier(.6,.1,.2,1) calc(.6s + var(--i) * .25s); }
.fl.arc-l { font: 400 18px/1.2 var(--sans); color: var(--muted); display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.fl.arc-l b { color: var(--ink); }
.fl.arc-l i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.fl.rank-n { font: 200 54px/1 var(--sans); color: rgb(var(--hi-rgb) / .9); direction: ltr; }
.fl.rank-l { font: 600 22px/1.2 var(--sans); color: var(--ink); }
.mx-ax { position: absolute; left: 40px; top: 40px; width: 520px; height: 520px; border-left: 1px solid rgb(255 255 255 / .25); border-bottom: 1px solid rgb(255 255 255 / .25);
  background: linear-gradient(rgb(255 255 255 / .12), rgb(255 255 255 / .12)) 50% 0 / 1px 100% no-repeat, linear-gradient(90deg, rgb(255 255 255 / .12), rgb(255 255 255 / .12)) 0 50% / 100% 1px no-repeat; }
.fl.quad { font: 600 15px/1.2 var(--sans); letter-spacing: .1em; color: rgb(var(--hi-rgb) / .8); }
.fl.ylab { transform: rotate(-90deg); transform-origin: left top; }
.fl.seg-l { font: 400 20px/1.2 var(--sans); color: var(--muted); padding-inline-end: 6px; border-right: 2px solid rgb(255 255 255 / .4); }
.fl.seg-l b { color: var(--ink); font-size: 34px; font-weight: 300; display: block; }
.tl-line { position: absolute; left: 60px; right: 60px; top: 299px; height: 2px; background: linear-gradient(to left, rgb(var(--hi-rgb) / .9), rgb(255 255 255 / .15)); }
.pc.tl-dot { box-shadow: 0 0 0 6px rgb(var(--hi-rgb) / .2), 0 0 20px rgb(var(--hi-rgb) / .6); }
.fl.tl-y b { font: 300 34px/1 var(--sans); color: var(--hi); }
.fl.tl-t { font: 400 18px/1.4 var(--sans); color: var(--muted); }
.fl.big-v2 { font: 300 30px/1 var(--sans); color: var(--ink); }
.giga { position: absolute; left: 0; right: 0; top: 20px; display: flex; justify-content: center; align-items: baseline; gap: 18px; color: var(--hi);
  font: 200 230px/.9 var(--sans); letter-spacing: -.04em; text-shadow: 0 0 60px rgb(var(--hi-rgb) / .35); }
.giga small { font: 300 46px/1 var(--sans); color: var(--ink); letter-spacing: 0; }
.fl.big-sub { font-size: 24px; }
.ic { position: absolute; width: 84px; height: 60px; opacity: .25; transform: scale(.7); transition: opacity .4s, transform .4s; }
.ic svg { width: 100%; height: 100%; fill: rgb(255 255 255 / .4); }
.ic.on svg { fill: var(--hi); filter: drop-shadow(0 0 10px rgb(var(--hi-rgb) / .8)); }
.in.on .ic { opacity: 1; transform: none; transition: opacity .6s ease calc(.6s + var(--i) * 70ms), transform .8s cubic-bezier(.3,1.6,.5,1) calc(.6s + var(--i) * 70ms); }
.qt { position: absolute; left: 60px; right: 60px; top: 10px; margin: 0; font: 300 46px/1.35 var(--sans); color: var(--ink); text-align: center; }
.qt::before { content: "״"; display: block; font: 200 120px/.6 var(--sans); color: var(--hi); }
html.shot .ic { opacity: 1; transform: none; }

/* ================= stage layout and the year-by-year slide ================= */
.in[data-layout=stage] .head { right: 110px; width: 560px; }
.in[data-layout=stage] .head .t1 { font-size: 64px; }
.in[data-layout=stage] .fig { left: 90px; top: 80px; width: 1080px; height: 900px; }
.in[data-layout=stage] .side.left { display: none; }
.ys { position: absolute; inset: 0; }
.ys-map { position: absolute; left: 0; top: 60px; width: 600px; height: 640px; transform-origin: 280px 140px;
  transform: scale(calc(1.05 + var(--st, 0) * .035)) translateY(calc(var(--st, 0) * 8px)); transition: transform 1.6s cubic-bezier(.45,0,.2,1); }
.ys-map img { position: absolute; inset: 0; width: 600px; height: 640px; opacity: .8; }
.ys-dot { position: absolute; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--hi); opacity: 0; transform: scale(0);
  transition: opacity .5s, transform .5s cubic-bezier(.3,1.8,.5,1); transition-delay: calc(var(--rd, 0) * 1ms); }
.ys-dot.lit { opacity: .9; transform: none; box-shadow: 0 0 10px rgb(var(--hi-rgb) / .9); }
.ys-dot.now::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--hi); animation: ysping 1.6s ease-out infinite; }
@keyframes ysping { from { transform: scale(.4); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.ys-year { position: absolute; left: 600px; right: 0; top: 150px; display: flex; justify-content: center; font: 200 200px/1 var(--sans); color: var(--ink);
  letter-spacing: -.03em; text-shadow: 0 0 50px rgb(var(--hi-rgb) / .45); }
.ys-caps { position: absolute; left: 620px; right: 20px; top: 400px; height: 120px; }
.ys-cap { position: absolute; inset: 0; margin: 0; text-align: center; font: 400 30px/1.35 var(--sans); color: var(--hi); opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .6s; }
.ys-cap.cur { opacity: 1; transform: none; transition: opacity .8s ease .35s, transform .9s cubic-bezier(.2,.7,.2,1) .35s; }
.ys-count { position: absolute; left: 620px; right: 20px; top: 560px; text-align: center; font: 300 34px/1 var(--sans); color: var(--muted); }
.ys-count span { font: 600 64px/1 var(--sans); color: var(--ink); margin-inline-end: 10px; }
.ys-line { position: absolute; left: 40px; right: 40px; top: 819px; height: 2px; background: rgb(255 255 255 / .18); }
.pc.ys-tl { opacity: .35; transform: scale(.7); transition: opacity .5s, transform .6s cubic-bezier(.3,1.8,.5,1), box-shadow .5s; }
.pc.ys-tl.lit { opacity: 1; transform: none; box-shadow: 0 0 0 6px rgb(var(--hi-rgb) / .25), 0 0 22px rgb(var(--hi-rgb) / .8); }
.pc.ys-tl.now { transform: scale(1.5); background: var(--hi) !important; }
.ys-yl { position: absolute; top: 850px; width: 120px; text-align: center; font: 600 20px/1 var(--sans); color: rgb(255 255 255 / .4); transition: color .5s; }
.ys-yl.lit { color: var(--ink); }
.ys-yl.now { color: var(--hi); }
.ys::before { content: ""; position: absolute; left: -200px; top: -100px; width: 900px; height: 1000px; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgb(var(--hi-rgb) / .35), transparent); }
.ys.flash::before { animation: ysflash 1.4s ease-out; }
@keyframes ysflash { 0% { opacity: 0; transform: scale(.4); } 12% { opacity: .9; } 100% { opacity: 0; transform: scale(1.3); } }
html.shot .ys-cap, html.shot .ys-dot { transition: none !important; }
.ys-map img { -webkit-mask-image: radial-gradient(60% 55% at 50% 45%, #000 55%, transparent 100%); mask-image: radial-gradient(60% 55% at 50% 45%, #000 55%, transparent 100%); }

/* ================= the stepped specials ================= */
/* the journey of a drop */
.dj-track, .dj-fill { position: absolute; top: 382px; height: 4px; border-radius: 2px; right: 160px; }
.dj-track { left: 80px; background: rgb(255 255 255 / .14); }
.dj-fill { width: calc(var(--st, 0) / var(--n) * 840px); background: linear-gradient(to left, rgb(110 160 120 / .9), var(--hi)); box-shadow: 0 0 18px rgb(var(--hi-rgb) / .7); transition: width 1.4s cubic-bezier(.45,0,.2,1); }
.dj-st { position: absolute; top: 340px; width: 140px; display: grid; justify-items: center; gap: 70px; }
.dj-st i { width: 88px; height: 88px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .25); background: rgb(255 255 255 / .04); transition: all .6s; }
.dj-st b { font: 600 22px/1 var(--sans); color: rgb(255 255 255 / .45); transition: color .6s; margin-top: -40px; }
.dj-st.lit i { border-color: var(--hi); background: rgb(var(--hi-rgb) / .12); box-shadow: 0 0 30px rgb(var(--hi-rgb) / .45); }
.dj-st.lit b { color: var(--ink); }
.dj-drop { position: absolute; top: 330px; left: 880px; width: 80px; height: 106px; transform: translateX(calc(var(--st, 0) / var(--n) * -840px)); transition: transform 1.4s cubic-bezier(.45,0,.2,1); }
.dj-drop i { position: absolute; inset: 0; transition: opacity 1.2s; }
.dj-drop svg { width: 100%; height: 100%; }
.dj-drop .murk svg path:first-child { fill: #6f8a5a; }
.dj-drop .clear svg path:first-child { fill: rgb(200 245 255 / .9); filter: drop-shadow(0 0 18px rgb(var(--hi-rgb) / .9)); }
.dj-drop .hl { stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: .7; }
.dj-drop .murk { opacity: calc(1 - var(--st, 0) / var(--n)); }
.dj-drop .clear { opacity: calc(var(--st, 0) / var(--n)); }
.dj-val { position: absolute; left: 0; right: 0; top: 520px; display: flex; justify-content: center; font: 200 150px/1 var(--sans); color: var(--ink); text-shadow: 0 0 40px rgb(var(--hi-rgb) / .4); }
.dj-unit { position: absolute; left: 0; right: 0; top: 690px; text-align: center; font: 400 24px/1 var(--sans); color: var(--muted); }
.dj-caps { left: 40px; right: 40px; top: 760px; height: 80px; }
.dj-caps .ys-cap { font-size: 26px; }
/* a year of a fish */
.gr-fish { position: absolute; left: 40px; top: 120px; width: 600px; height: 460px; display: grid; place-items: center; }
.gr-fish img { width: 600px; transform: scale(calc(.28 + var(--st, 0) * .24)); transition: transform 1.5s cubic-bezier(.3,1.4,.4,1); filter: drop-shadow(0 0 30px rgb(var(--hi-rgb) / .25)); }
.gr-rule { position: absolute; left: 40px; top: 620px; width: 1040px; height: 30px; border-top: 1px solid rgb(255 255 255 / .3); }
.gr-rule i { position: absolute; top: 0; width: 1px; height: 14px; background: rgb(255 255 255 / .35); }
.gr-read { position: absolute; left: 680px; right: 0; top: 140px; display: grid; justify-items: center; gap: 8px; }
.gr-read > span { font: 600 20px/1 var(--sans); letter-spacing: .3em; color: var(--hi); }
.gr-read b { font: 200 150px/1 var(--sans); color: var(--ink); display: flex; }
.gr-w { position: absolute; left: 680px; right: 0; top: 380px; display: flex; justify-content: center; align-items: baseline; gap: 12px; }
.gr-w b { font: 600 72px/1 var(--sans); color: var(--hi); display: flex; }
.gr-w > span { font: 300 30px/1 var(--sans); color: var(--muted); }
.gr-caps { left: 40px; right: 40px; top: 700px; }
/* a live alert */
.al-map { position: absolute; left: 0; top: 40px; width: 1080px; height: 620px; overflow: hidden; border-radius: 24px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.al-map img { position: absolute; width: 1800px; height: 1920px; left: -226px; top: -94px; filter: saturate(.8) brightness(.9); }
.al-plume { position: absolute; left: 330px; top: 230px; width: 420px; height: 300px; margin: -150px -210px; border-radius: 50%; opacity: 0; transform: scale(var(--s));
  background: radial-gradient(closest-side, rgb(255 120 80 / .75), rgb(255 80 60 / .35) 55%, transparent); filter: blur(6px); transition: opacity .8s, transform 1.6s cubic-bezier(.2,.7,.2,1); }
.al-plume.cur { opacity: 1; }
.al-sensor { position: absolute; left: 470px; top: 210px; width: 14px; height: 14px; border-radius: 50%; background: var(--hi); box-shadow: 0 0 0 6px rgb(var(--hi-rgb) / .25), 0 0 24px var(--hi); }
.al-ring { position: absolute; left: 477px; top: 217px; width: 0; height: 0; opacity: 0; }
.al-ring.cur { opacity: 1; }
.al-ring.cur::before, .al-ring.cur::after { content: ""; position: absolute; left: -40px; top: -40px; width: 80px; height: 80px; border-radius: 50%; border: 2px solid #ff6b5a; animation: ysping 1.4s ease-out infinite; }
.al-ring.cur::after { animation-delay: .7s; }
.al-boom { position: absolute; left: 150px; top: 120px; width: 380px; height: 260px; border: 4px dashed #ffd06b; border-radius: 50%; opacity: 0; transform: scale(1.4); transition: opacity .8s, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.al-boom.lit { opacity: .95; transform: none; }
.ys[data-step="3"] .al-boom, .al[style*="--st: 3"] .al-boom { opacity: .25; }
.al-clock { position: absolute; left: 0; right: 0; top: 690px; display: flex; justify-content: center; }
.al-clock b { display: flex; font: 600 90px/1 var(--sans); color: var(--ink); letter-spacing: .02em; text-shadow: 0 0 30px rgb(255 107 90 / .5); }
.al-caps { left: 40px; right: 40px; top: 800px; }
/* one turbine, a whole city */
.pb-frame { position: absolute; left: 0; top: 40px; width: 1080px; height: 620px; overflow: hidden; border-radius: 24px; }
.pb-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 26% 44%; transform: scale(calc(2.6 - var(--st, 0) * .8)); transition: transform 2.2s cubic-bezier(.45,0,.2,1); }
.pb-vig { position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 50%, transparent 55%, rgb(0 0 0 / .6)); }
.pb-num { position: absolute; left: 0; right: 0; top: 690px; display: grid; justify-items: center; }
.pb-num b { display: flex; font: 200 110px/1 var(--sans); color: var(--ink); text-shadow: 0 0 30px rgb(var(--hi-rgb) / .4); }
.pb-l { position: absolute; top: 120px; font: 600 24px/1 var(--sans); color: var(--hi); opacity: 0; transition: opacity .6s .4s; }
.pb-l.cur { opacity: 1; }
.pb-caps { left: 40px; right: 40px; top: 840px; }
.pb-caps .ys-cap { font-size: 24px; }
/* new species */
.rv-card { position: absolute; top: 120px; width: 320px; height: 560px; perspective: 1400px; }
.rv-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(180deg) translateY(30px); transition: transform 1.3s cubic-bezier(.65,0,.2,1), box-shadow .8s ease; }
.rv-card.lit .rv-in { transform: none; }
.rv-card.now .rv-in { box-shadow: 0 0 60px rgb(var(--hi-rgb) / .45); border-radius: 22px; }
.rv-back, .rv-front { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.rv-back { transform: rotateY(180deg); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .15); display: grid; place-content: center; justify-items: center; gap: 10px; }
.rv-back b { font: 200 90px/1 var(--sans); color: rgb(255 255 255 / .35); }
.rv-back span { font: 600 16px/1 var(--sans); letter-spacing: .3em; color: rgb(255 255 255 / .35); }
.rv-front { background: #020406; border: 1px solid rgb(var(--hi-rgb) / .35); }
.rv-front img { position: absolute; left: 0; top: 0; width: 100%; height: 66%; object-fit: cover; }
.rv-front i { position: absolute; left: 0; right: 0; top: 40%; height: 26%; background: linear-gradient(to bottom, transparent, #020406); }
.rv-front p { position: absolute; left: 20px; right: 20px; bottom: 22px; margin: 0; display: grid; gap: 6px; text-align: right; }
.rv-front b { font: 700 28px/1.1 var(--sans); color: var(--ink); }
.rv-front em { font: italic 400 16px/1 Georgia, serif; color: var(--hi); direction: ltr; text-align: right; }
.rv-front span { font: 400 17px/1.45 var(--sans); color: var(--muted); }
html.shot .rv-in, html.shot .pb-frame img, html.shot .dj-drop, html.shot .dj-fill, html.shot .gr-fish img { transition: none !important; }

/* the dark wash behind the opening words fades with them, instead of vanishing when the slide hides */
.hub .slide.intro::before { content: ''; position: absolute; inset: 0; background: var(--scrim, none); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.hub .slide.intro.on::before { opacity: 1; transition: opacity 1s ease; }
.hub .slide.intro { transition: visibility 0s .35s; }
.hub .slide.intro.on { transition: none; }
/* a slide that has finished leaving (.off just came off) hides at once: the player's .35s visibility delay would
   otherwise show its pieces again, back at full opacity, for a beat */
.slide.in:not(.on):not(.off) { transition: none; }

/* a bubble that becomes the next one lights up gradually */
.bub .glass { transition: border-color .6s, box-shadow .6s; }
/* the next card's lit edge comes and goes softly */
.sd.back::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 2px rgb(var(--hi-rgb) / 0), 0 0 40px rgb(var(--hi-rgb) / 0); transition: box-shadow .6s ease; }
/* the soft dark wash behind the map's title fades in and out with the title */
.hub .slide .copy.top::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--wash, none); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.hub .slide.on .copy.top::before { opacity: 1; transition: opacity 1s ease .1s; }

/* ================= the work-plan format: challenge / answer / impact, the flagship drawing, icon flip cards ================= */
.acr-tags { position: absolute; left: 40px; right: 80px; top: 40px; display: flex; gap: 12px; justify-content: flex-start; flex-direction: row-reverse; }
.acr-tags span { font: 600 18px/1 var(--sans); padding: 10px 18px; border-radius: 99px; color: var(--hi); background: rgb(var(--hi-rgb) / .1); border: 1px solid rgb(var(--hi-rgb) / .35); }
.acr-trk, .acr-fill { position: absolute; right: 30px; top: 150px; width: 3px; border-radius: 2px; }
.acr-trk { height: 560px; background: rgb(255 255 255 / .12); }
.acr-fill { height: calc(var(--st, 0) / 2 * 560px); background: linear-gradient(var(--hi), var(--s1)); box-shadow: 0 0 16px rgb(var(--hi-rgb) / .7); transition: height 1.2s cubic-bezier(.45,0,.2,1); }
.acr-p { position: absolute; left: 40px; right: 80px; min-height: 190px; box-sizing: border-box; padding: 26px 36px 26px 36px; border-radius: 24px; text-align: right;
  background: rgb(255 255 255 / .045); border: 1px solid rgb(255 255 255 / .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: .1; transform: translateX(-36px); transition: opacity .8s ease, transform 1s cubic-bezier(.2,.7,.2,1), border-color .6s, box-shadow .6s; }
.acr-p.lit { opacity: 1; transform: none; }
.acr-p.now { border-color: rgb(var(--hi-rgb) / .55); box-shadow: 0 0 60px rgb(var(--hi-rgb) / .16); }
.acr-p h4 { margin: 0 0 12px; font: 700 18px/1 var(--sans); letter-spacing: .22em; color: var(--hi); }
.acr-p p { margin: 0; font: 300 31px/1.4 var(--sans); color: var(--ink); max-width: 700px; margin-inline-start: 0; }
.acr-dot { position: absolute; right: -58px; top: 30px; width: 18px; height: 18px; border-radius: 50%; background: #0b0d10; border: 2px solid rgb(255 255 255 / .3); transition: all .6s; }
.acr-p.lit .acr-dot { background: var(--hi); border-color: var(--hi); box-shadow: 0 0 18px rgb(var(--hi-rgb) / .8); }
.acr-stat { position: absolute; left: 34px; top: 50%; transform: translateY(-50%); display: grid; justify-items: center; gap: 6px; }
.acr-stat b { font: 200 72px/1 var(--sans); color: var(--s1); direction: ltr; }
.acr-stat small { font: 400 17px/1.2 var(--sans); color: var(--muted); max-width: 200px; text-align: center; }
.acr-goal { background: linear-gradient(120deg, rgb(var(--hi-rgb) / .12), rgb(255 255 255 / .03)); }
.acr-n { display: flex; align-items: center; gap: 34px; flex-direction: row-reverse; justify-content: flex-end; }
.acr-n b { font: 200 104px/1 var(--sans); color: var(--hi); direction: ltr; text-shadow: 0 0 40px rgb(var(--hi-rgb) / .45); white-space: nowrap; }
.acr-n p { font-size: 28px; }

.fs-frame-box { position: absolute; left: 0; top: 30px; width: 1080px; height: 640px; }
.fs-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fs-g path { fill: none; stroke: var(--hi); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgb(var(--hi-rgb) / .6)); transition: stroke-dashoffset 2.2s cubic-bezier(.45,0,.2,1); }
.fs-floors path { stroke: rgb(var(--hi-rgb) / .55); stroke-width: 1.4; transition-duration: 1.6s; }
.fs-g.lit path { stroke-dashoffset: 0; }
.fs-floors.lit path:nth-child(2n) { transition-delay: .25s; }
.fs-floors.lit path:nth-child(3n) { transition-delay: .5s; }
.fs-lights rect { fill: var(--s1); opacity: 0; transition: opacity .9s ease calc(var(--i) * 90ms); }
.fs-lights.lit rect { opacity: .85; filter: drop-shadow(0 0 6px rgb(var(--s1-rgb) / .9)); }
.fs-glow { position: absolute; left: 10%; right: 10%; bottom: 30px; height: 200px; background: radial-gradient(closest-side, rgb(var(--s1-rgb) / .35), transparent); opacity: 0; transition: opacity 1.6s ease .4s; }
.fs-glow.lit { opacity: 1; }
.fs-sign { position: absolute; left: 0; right: 0; top: 0; text-align: center; font: 800 30px/1 var(--sans); letter-spacing: .3em; color: var(--s1); opacity: 0; transform: translateY(14px); transition: opacity 1s ease 1s, transform 1s ease 1s; }
.fs-sign.lit { opacity: 1; transform: none; }
.fs-num { top: 664px; }
.fs-num .pb-l { top: 116px; }
.fs .pb-caps { top: 846px; }

.fl-card .rv-front { background: linear-gradient(170deg, rgb(var(--hi-rgb) / .16), #05070a 62%); }
.fl-ico { position: absolute; left: 0; right: 0; top: 70px; display: grid; place-items: center; }
.fl-ico svg { width: 130px; height: 130px; fill: none; stroke: var(--hi); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 14px rgb(var(--hi-rgb) / .6)); }
.fl-card .rv-front p em { font: 600 15px/1 var(--sans); letter-spacing: .2em; color: var(--hi); font-style: normal; direction: rtl; }

/* a slide on its way out keeps its figures drawn while it fades (they used to collapse back to zero at once) */
.in.off .plot .draw { stroke-dashoffset: 0; transition: none; }
.slide.off .donut .arc, .slide.off .ring .arc { stroke-dasharray: var(--v) 100; transition: none; }
.slide.off .bars .col i { height: var(--h); transition: none; }
.slide.off .hbars .row i { width: var(--w); transition: none; }
.slide.off .line .ln { stroke-dashoffset: 0; transition: none; }
.slide.off .line .area { opacity: 1; transition: none; }
.slide.off .line circle { opacity: 1; transition: none; }
.slide.off .gauge .arc { stroke-dasharray: var(--v) 100; transition: none; }
.slide.off .split .bar i { width: var(--w); transition: none; }
.in.off .plot.radar .shape { stroke-dashoffset: 0; transition: none; }
.in.off .fig.tilt .st3 { transform: rotateX(-14deg) rotateY(-38deg); transition: none; }
.in.off .plot .flow { stroke-dashoffset: 0; transition: none; }
.in.off .radial .arc { stroke-dasharray: var(--v) 100; transition: none; }
.in.off .ic { opacity: 1; transform: none; transition: none; }
/* a rolling figure that changes length: the old one lifts away, the new one rises in */
.roll-old { position: absolute; left: 50%; top: 0; bottom: 0; display: flex; justify-content: center; direction: ltr; pointer-events: none; animation: rollOut .55s ease forwards; }
.roll-in > :not(.roll-old) { animation: rollIn .7s cubic-bezier(.2,.7,.2,1) .12s backwards; }
@keyframes rollOut { to { opacity: 0; transform: translateY(-26px); filter: blur(4px); } }
@keyframes rollIn { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } }
/* a card's face is in shade while it turns and comes into the light as it lands, so the moment it passes edge-on
   is not a jump from the faint back to the bright front */
.rv-front::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: .82; pointer-events: none; transition: opacity 1.1s ease .15s; }
.rv-card.lit .rv-front::after { opacity: 0; }
.rv-back::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgb(255 255 255 / .1); opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.rv-card.lit .rv-back::after { opacity: 1; }
.acr-u { font: 300 54px/1 var(--sans); color: var(--hi); margin-inline-end: 14px; }
/* a tilted 3D chart fades as a whole when it leaves: fading each prism would flatten it for a beat */
.in.off .fig.tilt .pc { opacity: 1; }
.in.off .fig.tilt { opacity: 0; transition: opacity .4s ease; }
