src/main.ts / FLOATING449function branchOffset(index: number, now: number) {450 if (reduceMotion.matches) return { dx: 0, dy: 0, rot: 0 };451 const cfg = branchFloatConfigs[index];452 const dx = Math.sin(now * cfg.speedX + cfg.phaseX) * cfg.ax;453 const dy = Math.cos(now * cfg.speedY + cfg.phaseY) * cfg.ay;454 const rot = Math.sin(now * (cfg.speedX * 0.62) + cfg.phaseY) * cfg.rotate;455 return { dx, dy, rot };456}src/main.ts / NEURAL GEOMETRY492const angle = rot * Math.PI / 180, localX = left ? width + gap : -gap;493const localY = itemHeight * .13, cos = Math.cos(angle), sin = Math.sin(angle);494const ex = lx + dx + localX * cos - localY * sin;495const ey = ly + dy + itemHeight * .5 + localX * sin + localY * cos;499const c1x = x + dir * (bend * 0.68);500const c1y = y + swayY * 0.15;501const c2x = ex - dir * (bend + swayX);502const c2y = ey - swayY;503const d=`M ${x.toFixed(2)} ${y.toFixed(2)} C ${c1x.toFixed(2)} ${c1y.toFixed(2)}, ${c2x.toFixed(2)} ${c2y.toFixed(2)}, ${ex.toFixed(2)} ${ey.toFixed(2)}`;src/styles/lightscape.css / GLITCH62@keyframes lb-red-lb-flash{63 0%,4%{opacity:0}64 8%,12%{opacity:1}65 13%,16%{opacity:0}66 18%,64%{opacity:1}67 65%,69%{opacity:.84}68 70%,73%{opacity:0}69 74%,82%{opacity:1}70 83%,86%{opacity:0}71 88%,93%{opacity:1}72 94%,100%{opacity:0}73}src/main.ts / SVG GRADIENT89<linearGradient id="lb-branch-ink" x1="0" y1="0" x2="1" y2="0"> <stop stop-color="#b7e9f7" stop-opacity=".75"/> <stop offset=".55" stop-color="#83c4df" stop-opacity=".52"/> <stop offset="1" stop-color="#a9d9ec" stop-opacity=".8"/></linearGradient>src/styles/lightscape.css / ALPHA MASK25.hero-picture::before{ content:'';position:absolute;inset:0; z-index:3;pointer-events:none;opacity:0;26 background:27 linear-gradient(90deg,rgba(255,70,140,.58),transparent 32%),28 linear-gradient(90deg,transparent 46%,rgba(84,226,255,.85) 62%,transparent 78%),29 repeating-linear-gradient(180deg,rgba(255,255,255,.16) 0 2px,transparent 2px 10px);30 -webkit-mask-image:var(--figure-alpha);mask-image:var(--figure-alpha);31 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;32 -webkit-mask-position:center;mask-position:center;33 -webkit-mask-size:contain;mask-size:contain;34 mix-blend-mode:screen;transform:translateX(0)}
src/main.ts / FLOATING449function branchOffset(index: number, now: number) {450 if (reduceMotion.matches) return { dx: 0, dy: 0, rot: 0 };451 const cfg = branchFloatConfigs[index];452 const dx = Math.sin(now * cfg.speedX + cfg.phaseX) * cfg.ax;453 const dy = Math.cos(now * cfg.speedY + cfg.phaseY) * cfg.ay;454 const rot = Math.sin(now * (cfg.speedX * 0.62) + cfg.phaseY) * cfg.rotate;455 return { dx, dy, rot };456}src/main.ts / NEURAL GEOMETRY492const angle = rot * Math.PI / 180, localX = left ? width + gap : -gap;493const localY = itemHeight * .13, cos = Math.cos(angle), sin = Math.sin(angle);494const ex = lx + dx + localX * cos - localY * sin;495const ey = ly + dy + itemHeight * .5 + localX * sin + localY * cos;499const c1x = x + dir * (bend * 0.68);500const c1y = y + swayY * 0.15;501const c2x = ex - dir * (bend + swayX);502const c2y = ey - swayY;503const d=`M ${x.toFixed(2)} ${y.toFixed(2)} C ${c1x.toFixed(2)} ${c1y.toFixed(2)}, ${c2x.toFixed(2)} ${c2y.toFixed(2)}, ${ex.toFixed(2)} ${ey.toFixed(2)}`;src/styles/lightscape.css / GLITCH62@keyframes lb-red-lb-flash{63 0%,4%{opacity:0}64 8%,12%{opacity:1}65 13%,16%{opacity:0}66 18%,64%{opacity:1}67 65%,69%{opacity:.84}68 70%,73%{opacity:0}69 74%,82%{opacity:1}70 83%,86%{opacity:0}71 88%,93%{opacity:1}72 94%,100%{opacity:0}73}src/main.ts / SVG GRADIENT89<linearGradient id="lb-branch-ink" x1="0" y1="0" x2="1" y2="0"> <stop stop-color="#b7e9f7" stop-opacity=".75"/> <stop offset=".55" stop-color="#83c4df" stop-opacity=".52"/> <stop offset="1" stop-color="#a9d9ec" stop-opacity=".8"/></linearGradient>src/styles/lightscape.css / ALPHA MASK25.hero-picture::before{ content:'';position:absolute;inset:0; z-index:3;pointer-events:none;opacity:0;26 background:27 linear-gradient(90deg,rgba(255,70,140,.58),transparent 32%),28 linear-gradient(90deg,transparent 46%,rgba(84,226,255,.85) 62%,transparent 78%),29 repeating-linear-gradient(180deg,rgba(255,255,255,.16) 0 2px,transparent 2px 10px);30 -webkit-mask-image:var(--figure-alpha);mask-image:var(--figure-alpha);31 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;32 -webkit-mask-position:center;mask-position:center;33 -webkit-mask-size:contain;mask-size:contain;34 mix-blend-mode:screen;transform:translateX(0)}