/* Idea 2d (the new version 2b with its light turned down; nothing else changed): two lights that become one. A warm gold light low left and a soft amber light high right, each with a
   pale core and a long falloff, travel to the ring's centre as --p goes to 1 and sit on the same centre as ONE glow with a
   pale middle (copy on the pale part). Tiles point at the nearest light at the top (gold: google, openai, search, bing...
   see the generated vars) and at the shared centre by scroll 700. Fades with --q. */
html.idea-2d .hero{background:linear-gradient(rgba(242,241,237,var(--q,0)),rgba(242,241,237,var(--q,0))),radial-gradient(ellipse 75% 75% at 50% 50%,#e3e0e6 0,#d9d6dd 100%) !important}
html.idea-2d .hero-shade{background:none}

/* both lights share one box (227vh x 124vh, closest-side ellipse) and a non-uniform scale: a 80vh circle at the top,
   the full wide ellipse at the end. Moved with translate/scale on --p; the idle drift is a separate transform. */
html.idea-2d .hero-media::before,html.idea-2d .hero-media::after{inset:auto;left:50%;top:50%;right:auto;bottom:auto;width:227vh;height:124vh;
  scale:calc(.352 + .648 * var(--p)) calc(.645 + .355 * var(--p));opacity:calc(1 - var(--q,0));will-change:transform,translate,scale,opacity}
/* gold light, low left (18% across, 73% down at the top) */
html.idea-2d .hero-media::before{translate:calc(-50% - (1 - var(--p)) * 32svw) calc(-50% + (1 - var(--p)) * 23svh);
  background:radial-gradient(ellipse closest-side,rgba(255,244,214,0.48) 0,rgba(255,238,196,0.46) 22%,rgba(255,222,150,0.4) 38%,rgba(255,200,104,0.31) 54%,rgba(255,184,86,0.17) 70%,rgba(255,176,80,0.06) 82%,rgba(255,170,76,0) 92%);
  animation:i2d-a 20s ease-in-out infinite alternate}
/* soft amber light, high right (85% across, 24% down) */
html.idea-2d .hero-media::after{translate:calc(-50% + (1 - var(--p)) * 35svw) calc(-50% - (1 - var(--p)) * 26svh);
  background:radial-gradient(ellipse closest-side,rgba(255,246,228,0.47) 0,rgba(255,238,212,0.44) 22%,rgba(255,204,150,0.36) 38%,rgba(255,170,96,0.28) 54%,rgba(255,150,66,0.15) 70%,rgba(255,142,58,0.05) 82%,rgba(255,138,54,0) 92%);
  animation:i2d-b 24s ease-in-out infinite alternate}
@keyframes i2d-a{from{transform:translate3d(-1.6%,1%,0)}to{transform:translate3d(1.6%,-1%,0)}}
@keyframes i2d-b{from{transform:translate3d(1.4%,-1%,0)}to{transform:translate3d(-1.4%,1%,0)}}
/* a phone: sized to the width */
html.idea-2d:not(.hero-wide) .hero-media::before,html.idea-2d:not(.hero-wide) .hero-media::after{width:260vw;height:300vw;scale:calc(.353 + .647 * var(--p))}
html.idea-2d:not(.hero-wide) .hero-media::before{translate:calc(-50% - (1 - var(--p)) * 32svw) calc(-50% + (1 - var(--p)) * 23svh)}
html.idea-2d:not(.hero-wide) .hero-media::after{translate:calc(-50% + (1 - var(--p)) * 35svw) calc(-50% - (1 - var(--p)) * 26svh)}

/* the hairline ring the tiles gather on (rx 595px, ry 324px at 1600x900), under the tiles so it goes soft behind the glass */
html.idea-2d .hero-tiles::before{content:"";position:absolute;inset:auto;left:50%;top:50%;right:auto;bottom:auto;width:74.4vw;height:72vh;translate:-50% -50%;
  border-radius:50%;border:1px solid rgba(25,23,20,.16);box-sizing:border-box;pointer-events:none;opacity:calc(var(--p) * (1 - var(--q,0)))}
html.idea-2d:not(.hero-wide) .hero-tiles::before{display:none}

/* tiles: each points at its nearest light at the top (gold light for the left and lower tiles, amber light for the right and upper
   ones), and at the shared centre by scroll 700; the warm side fades with --q */
html.idea-2d .hero-tile{--ang:calc((var(--a0) + (var(--a1) - var(--a0)) * var(--p)) * 1deg);
  --sx:calc((var(--ux0) + (var(--ux1) - var(--ux0)) * var(--p)) * 10px);--sy:calc((var(--uy0) + (var(--uy1) - var(--uy0)) * var(--p)) * 10px)}
html.idea-2d .hero-tile::before{-webkit-backdrop-filter:blur(10px) saturate(1.3);backdrop-filter:blur(10px) saturate(1.3);
  background:linear-gradient(var(--ang),rgba(255,170,90,calc(.55 * (1 - var(--q,0)))) 0%,rgba(255,150,70,0) 60%),linear-gradient(var(--ang),rgba(120,130,160,0) 55%,rgba(120,130,160,.22) 100%)}
html.idea-2d .hero-tile img{filter:drop-shadow(var(--sx) var(--sy) 14px rgba(60,50,80,.22))}

html.idea-2d.hero-wide .hero-tile[data-k=google]{--a0:-31.0;--a1:-102.7;--ux0:-0.514;--uy0:-0.858;--ux1:-0.976;--uy1:0.219;--mask:url(/vibe/light2/mask-google.png)}
html.idea-2d.hero-wide .hero-tile[data-k=openai]{--a0:15.2;--a1:-37.7;--ux0:0.262;--uy0:-0.965;--ux1:-0.612;--uy1:-0.791;--mask:url(/vibe/light2/mask-openai.png)}
html.idea-2d.hero-wide .hero-tile[data-k=bing]{--a0:-176.2;--a1:-142.5;--ux0:-0.065;--uy0:0.998;--ux1:-0.609;--uy1:0.793;--mask:url(/vibe/light2/mask-bing.png)}
html.idea-2d.hero-wide .hero-tile[data-k=gemini]{--a0:-85.2;--a1:77.3;--ux0:-0.996;--uy0:-0.084;--ux1:0.975;--uy1:-0.220;--mask:url(/vibe/light2/mask-gemini.png)}
html.idea-2d.hero-wide .hero-tile[data-k=claude]{--a0:-122.5;--a1:-257.1;--ux0:-0.843;--uy0:0.538;--ux1:0.975;--uy1:0.223;--mask:url(/vibe/light2/mask-claude.png)}
html.idea-2d.hero-wide .hero-tile[data-k=perplexity]{--a0:33.3;--a1:36.8;--ux0:0.548;--uy0:-0.836;--ux1:0.599;--uy1:-0.801;--mask:url(/vibe/light2/mask-perplexity.png)}
html.idea-2d.hero-wide .hero-tile[data-k=search]{--a0:-14.8;--a1:-77.4;--ux0:-0.255;--uy0:-0.967;--ux1:-0.976;--uy1:-0.219;--mask:url(/vibe/light2/mask-search.png)}
html.idea-2d.hero-wide .hero-tile[data-k=nodes]{--a0:139.1;--a1:142.8;--ux0:0.655;--uy0:0.756;--ux1:0.605;--uy1:0.796;--mask:url(/vibe/light2/mask-nodes.png)}

html.idea-2d:not(.hero-wide) .hero-tile[data-k=google]{--a0:-178.6;--a1:-149.3;--ux0:-0.025;--uy0:1.000;--ux1:-0.511;--uy1:0.860;--mask:url(/vibe/light2/mask-google.png)}
html.idea-2d:not(.hero-wide) .hero-tile[data-k=openai]{--a0:-76.1;--a1:-30.9;--ux0:-0.971;--uy0:-0.241;--ux1:-0.513;--uy1:-0.858;--mask:url(/vibe/light2/mask-openai.png)}
html.idea-2d:not(.hero-wide) .hero-tile[data-k=bing]{--a0:110.1;--a1:149.7;--ux0:0.939;--uy0:0.344;--ux1:0.504;--uy1:0.864;--mask:url(/vibe/light2/mask-bing.png)}
html.idea-2d:not(.hero-wide) .hero-tile[data-k=gemini]{--a0:0.9;--a1:30.5;--ux0:0.016;--uy0:-1.000;--ux1:0.507;--uy1:-0.862;--mask:url(/vibe/light2/mask-gemini.png)}
html.idea-2d:not(.hero-wide) .hero-tile[data-k=claude]{--a0:143.8;--a1:180.9;--ux0:0.590;--uy0:0.807;--ux1:-0.015;--uy1:1.000;--mask:url(/vibe/light2/mask-claude.png)}
html.idea-2d:not(.hero-wide) .hero-tile[data-k=perplexity]{--a0:-64.2;--a1:-0.5;--ux0:-0.900;--uy0:-0.435;--ux1:-0.009;--uy1:-1.000;--mask:url(/vibe/light2/mask-perplexity.png)}

html.idea-2d .hero-arc p{color:#191714}
html.idea-2d.vibe-ready:not(.vibe-top) .hero-media::before,html.idea-2d.vibe-ready:not(.vibe-top) .hero-media::after{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){html.idea-2d .hero-media::before,html.idea-2d .hero-media::after{animation:none}}
