/* The "why" cards as three scenes, and the link from the picked panel (assets/js/story.js). The lens, the code colours
   and the bots follow the webinar deck's x-ray slide (m/webinar-jelle-2026-11). */

/* ---------------------------------------------------------------- the picked panel and its card belong together */
.grow > .wrap { position: relative; }
.panel.on[data-p="nova"] { box-shadow: inset 0 0 0 1.5px rgba(84,184,106,.6), 0 30px 60px -36px rgba(46,158,80,.45); }
.panel.on[data-p="halo"] { box-shadow: inset 0 0 0 1.5px rgba(79,152,167,.65), 0 30px 60px -36px rgba(74,116,238,.42); }
.panel.on[data-p="aura"] { box-shadow: inset 0 0 0 1.5px rgba(139,47,201,.5), 0 30px 60px -36px rgba(139,47,201,.4); }
.why { --pc: 84,184,106; --pc2: 79,152,167; position: relative; margin-top: 64px; padding: clamp(24px, 3.2vw, 48px); border-radius: 34px; isolation: isolate;
  box-shadow: inset 0 0 0 1.5px rgba(var(--pc), .42); transition: box-shadow .6s; }
.why::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(46% 62% at var(--lx, 30%) 0%, rgba(var(--pc), .13), rgba(var(--pc), 0) 72%), radial-gradient(40% 50% at calc(var(--lx, 30%) + 22%) 0%, rgba(var(--pc2), .08), rgba(var(--pc2), 0) 70%); transition: opacity .6s; }
.why[data-p="halo"] { --pc: 79,152,167; --pc2: 74,116,238; }
.why[data-p="aura"] { --pc: 139,47,201; --pc2: 74,116,238; }
.why .wy-vis { background: radial-gradient(70% 70% at 50% 40%, rgba(var(--pc), .07), rgba(var(--pc), 0) 72%); box-shadow: none; }
.gw-link { position: absolute; z-index: 3; width: 2px; margin-left: -1px; pointer-events: none; transform-origin: 50% 0;
  background: linear-gradient(180deg, #54B86A, #4F98A7); transition: left .55s cubic-bezier(.3,.7,.2,1), opacity .3s; }
.gw-link[data-p="halo"] { background: linear-gradient(180deg, #4F98A7, #4A74EE); }
.gw-link[data-p="aura"] { background: linear-gradient(180deg, #4A74EE, #8B2FC9); }
.gw-link.draw { animation: gwdraw .6s cubic-bezier(.3,.7,.2,1) both; }
@keyframes gwdraw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.gw-link .a, .gw-link .b { position: absolute; left: 50%; translate: -50% -50%; border-radius: 50%; }
.gw-link .a { top: 0; width: 8px; height: 8px; background: #fff; box-shadow: 0 0 0 2px #54B86A; }
.gw-link .b { display: none; }   /* Todor, 27 Nov: "remove this bottom dot" */
.gw-link[data-p="halo"] .a { box-shadow: 0 0 0 2px #4F98A7; }
.gw-link[data-p="halo"] .b { box-shadow: 0 0 0 2px #4A74EE, 0 0 0 6px rgba(74,116,238,.16); }
.gw-link[data-p="aura"] .a { box-shadow: 0 0 0 2px #4A74EE; }
.gw-link[data-p="aura"] .b { box-shadow: 0 0 0 2px #8B2FC9, 0 0 0 6px rgba(139,47,201,.16); }
.gw-link em { position: absolute; left: -2px; width: 6px; height: 26px; border-radius: 3px; top: 0; opacity: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 70%, rgba(255,255,255,0)); box-shadow: 0 0 10px rgba(255,255,255,.9); }
html:not(.reduce):not(.still) .gw-link em { animation: gwpulse 2.2s cubic-bezier(.45,0,.3,1) infinite; }
@keyframes gwpulse { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 26px); opacity: 0; } }

/* ---------------------------------------------------------------- the steps under each card */
.vc-ft.sx-ft { display: grid; gap: 12px; justify-content: stretch; padding-top: 2px; }
.sx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sx-steps button { display: grid; gap: 7px; padding: 4px 0 2px; border: 0; background: none; text-align: left; cursor: pointer; }
.sx-steps i { display: block; height: 3px; border-radius: 2px; background: rgba(11,11,12,.1); overflow: hidden; }
.sx-steps b { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #54B86A, #4F98A7); }
.wy[data-p="halo"] .sx-steps b { background: linear-gradient(90deg, #4F98A7, #4A74EE); }
.wy[data-p="aura"] .sx-steps b { background: linear-gradient(90deg, #4A74EE, #8B2FC9); }
.sx-steps button.done b { width: 100%; }
.sx-steps button[aria-selected="true"] b { animation: sxfill var(--dur, 5000ms) linear forwards; }
.sx-steps.paused button[aria-selected="true"] b { animation-play-state: paused; }
html.still .sx-steps button[aria-selected="true"] b, html.reduce .sx-steps button[aria-selected="true"] b { animation: none; width: 100%; }
@keyframes sxfill { from { width: 0; } to { width: 100%; } }
.sx-steps span { font: 500 12.5px/1.2 var(--sans); color: var(--muted); transition: color .3s; }
.sx-steps button[aria-selected="true"] span { color: var(--ink); font-weight: 600; }
.sx-steps button:hover span { color: var(--ink); }
.sx-steps button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------------------------------------------------------------- scene 2: the lens over the card */
.vis-card > :not(.vc-hd):not(.vc-ft):not(.lx) { transition: opacity .35s; }
.vis-card.sx-b > :not(.vc-hd):not(.vc-ft):not(.lx) { opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.lx { position: absolute; z-index: 4; left: 20px; right: 20px; top: 60px; bottom: 80px; border-radius: 16px; overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .45s, visibility 0s .45s; cursor: crosshair; user-select: none; -webkit-user-select: none; }
.sx-b .lx { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .45s; }
.lx-front { position: absolute; inset: 0; border-radius: inherit; background: #fff; box-shadow: inset 0 0 0 1px var(--card-line); overflow: hidden; }
/* the page as people see it */
.lx-br { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; background: #F6F5F8; border-bottom: 1px solid rgba(11,11,12,.06); }
.lx-br > i { width: 7px; height: 7px; border-radius: 50%; background: rgba(11,11,12,.14); }
.lx-br span { flex: 1; margin-left: 8px; height: 19px; padding: 0 10px; border-radius: 6px; background: #fff; display: flex; align-items: center; font: 500 10px/1 var(--mono); letter-spacing: .04em; color: rgba(11,11,12,.55); white-space: nowrap; overflow: hidden; }
.lx-pg { padding: 14px 16px; display: grid; gap: 11px; align-content: start; }
.lx-nav { display: flex; align-items: center; gap: 8px; }
.lx-nav b { margin-right: auto; font: 700 12px/1 var(--sans); letter-spacing: .02em; color: var(--ink); }
.lx-nav i { width: 28px; height: 5px; border-radius: 3px; background: rgba(11,11,12,.12); }
.lx-pg h4 { margin: 4px 0 0; font: 700 clamp(17px, 1.5vw, 21px)/1.05 var(--sans); letter-spacing: -.03em; color: var(--ink); max-width: 15em; }
.lx-ln { display: grid; gap: 6px; margin: 0; }
.lx-ln i, .lx-cards i { display: block; height: 6px; border-radius: 3px; background: rgba(11,11,12,.1); }
.lx-cta { justify-self: start; height: 26px; padding: 0 13px; border-radius: 999px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; font: 600 10.5px/1 var(--sans); }
.lx-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 2px; }
.lx-cards span { display: grid; gap: 6px; padding: 7px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(11,11,12,.08); }
.lx-cards img { width: 100%; height: 76px; object-fit: cover; border-radius: 6px; }
.lx-oak .serif, .lx-oak h4 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: 0; }
.lx-oak .lx-nav b { letter-spacing: .22em; font-size: 10.5px; }
.lx-oak .lx-cta { background: #2F4A3A; }
.lx-hero { position: relative; height: 118px; border-radius: 10px; overflow: hidden; }
.lx-hero img { width: 100%; height: 100%; object-fit: cover; }
.lx-speed { position: absolute; right: 8px; top: 8px; display: grid; justify-items: center; padding: 5px 9px; border-radius: 10px; background: rgba(255,255,255,.92); box-shadow: 0 6px 16px -8px rgba(0,0,0,.45); }
.lx-speed b { font: 700 16px/1 var(--sans); color: #D93025; font-variant-numeric: tabular-nums; transition: color .4s; }
.lx-speed i { font-style: normal; font: 500 8.5px/1.2 var(--sans); color: var(--muted); }
.lx-halo.full .lx-speed b, .lx-speed b.ok { color: #188038; }
/* the Instagram profile */
.lx-ig { padding: 14px 14px 0; }
.lx-ig-hd { display: grid; grid-template-columns: auto repeat(3, 1fr); align-items: center; gap: 8px; }
.lx-ig-av { width: 56px; height: 56px; border-radius: 50%; padding: 2.5px; background: linear-gradient(45deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5); }
.lx-ig-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 40% 22%; box-shadow: 0 0 0 2px #fff; }
.lx-ig-st { display: grid; justify-items: center; }
.lx-ig-st b { font: 700 14px/1.1 -apple-system, var(--sans); color: #000; }
.lx-ig-st i { font-style: normal; font: 400 10.5px/1.3 -apple-system, var(--sans); color: #262626; }
.lx-ig-nm { margin: 9px 0 10px; display: grid; gap: 1px; font: 400 11px/1.35 -apple-system, var(--sans); color: #262626; }
.lx-ig-nm b { font-weight: 600; font-size: 11.5px; color: #000; }
.lx-ig-gd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0 -14px; }
.lx-ig-gd img { width: 100%; aspect-ratio: 1; object-fit: cover; }
/* the code under the lens */
.lx-back { position: absolute; inset: 0; border-radius: inherit; background: #0E0B15; overflow: hidden; clip-path: circle(var(--r, 0px) at var(--x, 50%) var(--y, 50%)); }
.lx-code { position: absolute; left: 0; right: 0; top: 0; padding: 10px 0 40px; font: 500 10.5px/15px var(--mono); letter-spacing: 0; text-transform: none; will-change: transform; }
.lx-code .cl { display: flex; height: 15px; white-space: pre; }
.lx-code .cl b { flex: none; width: 30px; padding-right: 10px; text-align: right; color: rgba(237,231,247,.26); font-weight: 500; }
.lx-code code { font: inherit; color: #CFC6DF; }
.lx-code .xp { color: #7F7398; }
.lx-code .xtg { color: #D9A6FF; }
.lx-code .xa { color: #A6DB93; }
.lx-code .xs { color: #F2C98C; }
.lx-code .xk { color: #B9EFA3; }
.lx-code .xn { color: #8FD3FF; }
.lx-code .xc { color: #6C6284; font-style: italic; }
.lx-code .xt { color: #F1ECF8; }
.lx-code mark { color: inherit; background: none; border-radius: 3px; transition: background .4s, box-shadow .4s, color .4s; }
.lx-code mark.f { color: #F1ECF8; }
.lx-code mark.f.hit { background: color-mix(in srgb, var(--hc, #B9EFA3) 26%, transparent); box-shadow: 0 0 0 1px var(--hc, #B9EFA3), 0 0 14px color-mix(in srgb, var(--hc, #B9EFA3) 40%, transparent); }
.lx-code mark.f.lit { background: rgba(185,239,163,.16); box-shadow: 0 0 0 1px rgba(185,239,163,.55); }
.lx-code mark.fx { color: #FF9C9C; background: rgba(255,77,77,.14); box-shadow: 0 0 0 1px rgba(255,107,107,.45); }
.lx-code mark.fx.fixed { color: #B9EFA3; background: rgba(185,239,163,.16); box-shadow: 0 0 0 1px rgba(185,239,163,.55); animation: lxfix .7s ease-out; }
@keyframes lxfix { 0% { background: rgba(185,239,163,.6); box-shadow: 0 0 0 2px #B9EFA3, 0 0 20px rgba(185,239,163,.7); } 100% { background: rgba(185,239,163,.16); } }
.lx .bot { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; will-change: transform; }
.lx .bot svg { display: block; fill: var(--c); stroke: var(--c); overflow: visible; filter: drop-shadow(0 0 4px var(--c)); }
.lx .bot .sh { fill: #0E0B15; stroke: #0E0B15; }
.lx .bot .ey { fill: #0E0B15; stroke: none; }
.lx .bot .g1, .lx .bot .g2 { transform-box: view-box; transform-origin: 50% 50%; animation: lxleg var(--ls, .25s) ease-in-out infinite alternate; }
.lx .bot .g2 { animation-direction: alternate-reverse; }
.lx .bot.idle .g1, .lx .bot.idle .g2 { animation-play-state: paused; }
@keyframes lxleg { from { transform: rotate(-13deg); } to { transform: rotate(13deg); } }
.lx .bot i { position: absolute; left: 18px; top: -11px; font: 700 8.5px/1 var(--mono); font-style: normal; letter-spacing: .04em; color: var(--c); background: rgba(14,11,21,.9);
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); padding: 3px 5px; border-radius: 5px; white-space: nowrap; }
.lx .bot-hl { position: absolute; top: 0; z-index: 1; height: 15px; border-radius: 3px; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,0), color-mix(in srgb, var(--c) 22%, transparent)); }
.lx .bot-chip { position: absolute; z-index: 5; translate: -50% 0; padding: 3px 6px; border-radius: 5px; background: var(--c); color: #0E0B15; white-space: nowrap; pointer-events: none;
  font: 700 8.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; animation: lxchip 1.5s ease-out forwards; }
.lx .bot-chip.bad { background: #FF6B6B; color: #fff; }
.lx .bot-chip.ok { background: #B9EFA3; }
@keyframes lxchip { 0% { opacity: 0; transform: translateY(6px); } 15% { opacity: 1; transform: none; } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-12px); } }
.lx-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; opacity: 0; background: linear-gradient(90deg, rgba(185,239,163,0), #B9EFA3, rgba(185,239,163,0)); box-shadow: 0 0 16px 4px rgba(185,239,163,.45); }
.lx.full .lx-scan { animation: lxscan 1.3s cubic-bezier(.45,0,.3,1) forwards; }
@keyframes lxscan { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.lx-rim { position: absolute; z-index: 6; left: var(--x, 50%); top: var(--y, 50%); width: calc(var(--r, 0px) * 2); height: calc(var(--r, 0px) * 2); translate: -50% -50%; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 2px rgba(185,239,163,.95), 0 0 0 7px rgba(133,17,217,.18), 0 22px 44px -12px rgba(14,22,40,.55); transition: opacity .5s; }
.lx.full .lx-rim { opacity: 0; }
/* what the bots pick up lands in a tray */
.lx-tray { position: absolute; z-index: 7; left: 10px; right: 10px; bottom: 10px; display: flex; flex-wrap: wrap-reverse; gap: 5px; pointer-events: none; }
.lx-tray span { padding: 5px 8px; border-radius: 6px; background: rgba(14,11,21,.92); color: var(--c, #B9EFA3); border: 1px solid color-mix(in srgb, var(--c, #B9EFA3) 45%, transparent);
  font: 700 9px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(14,11,21,.6); animation: lxtray .45s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes lxtray { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
html.still .lx-tray span, html.reduce .lx-tray span { animation: none; }

@media (max-width: 1060px) {
  .why { margin-top: 48px; padding: 22px 18px; border-radius: 28px; }
  .gw-link.rail .a { top: 0; }
}
@media (max-width: 760px) {
  .lx { left: 16px; right: 16px; }
  .lx-code { font-size: 9.5px; }
  .lx .bot i { font-size: 7.5px; }
  .lx-pg h4 { font-size: 16px; }
  .lx-cards img { height: 60px; }
  .sx-steps span { font-size: 11.5px; }
}
