Autonomous OODA-loop pentesting agent. Hermes brain, Kali + Playwright tools over MCP, ATT&CK as the Orient language.
Python ai-agentsautonomous-agentskali-linuxllm-agentsoffensive-securityooda-looppentestingplaywrightsecurity
landing: animated boot-screen landing page under docs/ for GitHub Pages
irraz86de016bb356
diff --git a/docs/.nojekyll b/docs/.nojekyllnew file mode 100644index 0000000..e69de29diff --git a/docs/assets/vulnerator-ai-logo-transparent.png b/docs/assets/vulnerator-ai-logo-transparent.pngnew file mode 100644index 0000000..214de97Binary files /dev/null and b/docs/assets/vulnerator-ai-logo-transparent.png differdiff --git a/docs/assets/vulnerator-ai-song.mp3 b/docs/assets/vulnerator-ai-song.mp3new file mode 100644index 0000000..92a6055Binary files /dev/null and b/docs/assets/vulnerator-ai-song.mp3 differdiff --git a/docs/assets/vulnerator-ai-wallpaper-desktop.jpeg b/docs/assets/vulnerator-ai-wallpaper-desktop.jpegnew file mode 100644index 0000000..dff57c1Binary files /dev/null and b/docs/assets/vulnerator-ai-wallpaper-desktop.jpeg differdiff --git a/docs/assets/vulnerator-ai-wallpaper-mobile.jpeg b/docs/assets/vulnerator-ai-wallpaper-mobile.jpegnew file mode 100644index 0000000..7cf4ef5Binary files /dev/null and b/docs/assets/vulnerator-ai-wallpaper-mobile.jpeg differdiff --git a/docs/boot.js b/docs/boot.jsnew file mode 100644index 0000000..d4e543f--- /dev/null+++ b/docs/boot.js@@ -0,0 +1,512 @@+/* boot.js — VULNERATOR-AI terminal boot sequence + ambient audio+ * Unholy Pentest Division · 2026+ *+ * SFX policy:+ * • Sequence auto-starts immediately (no standby screen)+ * • First mousedown on the boot screen → Web Audio init + fan + POST beep+ * • Subsequent typewriter chars get clicks; each [OK] gets a disk-seek sound+ * • If never clicked → sequence plays silently; music still starts on dismiss+ *+ * After dismiss:+ * • TV-off animation → hero image distortion system activates (same glitch+ * family as the boot screen: displacement filter + noise canvas)+ */+(() => {+ 'use strict';++ /* ── Boot lines ──────────────────────────────────────────────── */+ const LINES = [+ { t: 'VULNERATOR SYSTEMS · BIOS v2.04.1', c: 'd' },+ { t: 'RAM check: 65536 KB OK', c: 'd', p: 80 },+ { t: '', p: 120 },+ { t: '▸ Mounting encrypted volumes', ok: true, p: 160 },+ { t: '▸ Loading kernel modules', ok: true, p: 120 },+ { t: '▸ Initialising network stack', ok: true, p: 180 },+ { t: '', p: 80 },+ { t: '▸ Establishing secure tunnel', p: 60 },+ { t: ' ├─ TLS 1.3 handshake', ok: true, p: 80 },+ { t: ' ├─ Certificate validation', ok: true, p: 60 },+ { t: ' └─ Tunnel encrypted', ok: true, p: 220 },+ { t: '', p: 80 },+ { t: '▸ Loading VULNERATOR-AI core', p: 60 },+ { t: ' ├─ OODA engine', ok: true, p: 120 },+ { t: ' ├─ kali-mcp → Kali container', ok: true, p: 260 },+ { t: ' ├─ playwright-mcp → Chromium', ok: true, p: 170 },+ { t: ' └─ Hermes LLM → online', ok: true, p: 380 },+ { t: '', p: 140 },+ { t: ' ██ ALL MODULES NOMINAL · SYSTEM ARMED ██', c: 'h', p: 200 },+ { t: '', p: 80 },+ ];++ const CHAR_MS = 14;++ /* ── DOM refs ─────────────────────────────────────────────────── */+ const boot = document.getElementById('boot');+ const out = document.getElementById('boot-output');+ const prompt = document.getElementById('boot-prompt');+ const audio = document.getElementById('site-audio');+ const mute = document.getElementById('audio-mute');+ const ctrl = document.getElementById('audio-ctrl');+ const btTurb = document.getElementById('bt-turb');+ const btDisp = document.getElementById('bt-disp');++ let dismissed = false;+ let dispRaf = null;++ /* ═══════════════════════════════════════════════════════════════+ AUDIO ENGINE — Web Audio API, synthesised procedurally+ ═══════════════════════════════════════════════════════════════ */+ const sfx = (() => {+ let ctx = null;+ let active = false;++ function init() {+ if (ctx) return;+ try { ctx = new (window.AudioContext || window.webkitAudioContext)(); active = true; }+ catch (e) { active = false; return; }++ // Try to start immediately — works if browser has already granted activation+ ctx.resume().catch(() => {});++ // Fall back: resume on the very first interaction (mousemove counts)+ const resume = () => ctx.resume().catch(() => {});+ ['pointerdown', 'pointermove', 'keydown', 'touchstart'].forEach(evt =>+ document.addEventListener(evt, resume, { once: true, passive: true })+ );+ }++ function noise(dur) {+ const n = Math.ceil(ctx.sampleRate * dur);+ const buf = ctx.createBuffer(1, n, ctx.sampleRate);+ const d = buf.getChannelData(0);+ for (let i = 0; i < n; i++) d[i] = Math.random() * 2 - 1;+ return buf;+ }++ return {+ init,+ isActive() { return active; },++ fanSpinUp() {+ if (!active) return;+ const dur = 1.9, src = ctx.createBufferSource();+ src.buffer = noise(dur);+ const lp = ctx.createBiquadFilter();+ lp.type = 'lowpass';+ lp.frequency.setValueAtTime(70, ctx.currentTime);+ lp.frequency.exponentialRampToValueAtTime(1600, ctx.currentTime + dur * 0.55);+ lp.frequency.linearRampToValueAtTime(1300, ctx.currentTime + dur);+ const hp = ctx.createBiquadFilter();+ hp.type = 'highpass'; hp.frequency.value = 55;+ const g = ctx.createGain();+ g.gain.setValueAtTime(0.001, ctx.currentTime);+ g.gain.exponentialRampToValueAtTime(0.16, ctx.currentTime + 0.6);+ g.gain.linearRampToValueAtTime(0.09, ctx.currentTime + dur);+ src.connect(lp); lp.connect(hp); hp.connect(g); g.connect(ctx.destination);+ src.start();+ },++ postBeep() {+ if (!active) return;+ const osc = ctx.createOscillator(), g = ctx.createGain();+ osc.type = 'square'; osc.frequency.value = 880;+ g.gain.setValueAtTime(0.06, ctx.currentTime);+ g.gain.exponentialRampToValueAtTime(0.001, ctx.currentTime + 0.065);+ osc.connect(g); g.connect(ctx.destination);+ osc.start(); osc.stop(ctx.currentTime + 0.065);+ },++ typeClick() {+ if (!active) return;+ const dur = 0.022, src = ctx.createBufferSource();+ src.buffer = noise(dur);+ const f = ctx.createBiquadFilter();+ f.type = 'bandpass'; f.frequency.value = 3400; f.Q.value = 1.0;+ const g = ctx.createGain();+ g.gain.setValueAtTime(0.030, ctx.currentTime);+ g.gain.exponentialRampToValueAtTime(0.001, ctx.currentTime + dur);+ src.connect(f); f.connect(g); g.connect(ctx.destination);+ src.start();+ },++ diskSeek() {+ if (!active) return;+ const dur = 0.08, src = ctx.createBufferSource();+ src.buffer = noise(dur);+ const f = ctx.createBiquadFilter();+ f.type = 'bandpass';+ f.frequency.setValueAtTime(300, ctx.currentTime);+ f.frequency.exponentialRampToValueAtTime(3800, ctx.currentTime + dur * 0.3);+ f.frequency.exponentialRampToValueAtTime(420, ctx.currentTime + dur);+ f.Q.value = 2.8;+ const g = ctx.createGain();+ g.gain.setValueAtTime(0.16, ctx.currentTime);+ g.gain.exponentialRampToValueAtTime(0.001, ctx.currentTime + dur);+ src.connect(f); f.connect(g); g.connect(ctx.destination);+ src.start();+ },++ readyChime() {+ if (!active) return;+ [[440, 0, 0.09], [880, 0.14, 0.07]].forEach(([freq, delay, vol]) => {+ const osc = ctx.createOscillator(), g = ctx.createGain();+ osc.type = 'sine'; osc.frequency.value = freq;+ g.gain.setValueAtTime(0, ctx.currentTime + delay);+ g.gain.linearRampToValueAtTime(vol, ctx.currentTime + delay + 0.01);+ g.gain.exponentialRampToValueAtTime(0.001, ctx.currentTime + delay + 0.18);+ osc.connect(g); g.connect(ctx.destination);+ osc.start(ctx.currentTime + delay);+ osc.stop(ctx.currentTime + delay + 0.2);+ });+ },+ };+ })();++ /* ═══════════════════════════════════════════════════════════════+ NOISE CANVAS — TV static on the boot screen+ ═══════════════════════════════════════════════════════════════ */+ const nc = document.createElement('canvas');+ nc.className = 'boot__noise';+ nc.width = 220; nc.height = 165;+ boot.appendChild(nc);+ const nctx = nc.getContext('2d');+ let noiseI = 0.030, noiseO = 0.06, _lastNoise = 0;++ (function noiseLoop(ts) {+ if (dismissed) return;+ requestAnimationFrame(noiseLoop);+ if (ts - _lastNoise < 28) return;+ _lastNoise = ts;+ const img = nctx.createImageData(220, 165);+ const d = img.data;+ for (let i = 0; i < d.length; i += 4) {+ if (Math.random() < noiseI) {+ const v = (Math.random() * 180 + 75) | 0;+ d[i] = v; d[i+1] = v; d[i+2] = v;+ d[i+3] = (Math.random() * 160 + 60) | 0;+ }+ }+ nctx.putImageData(img, 0, 0);+ nc.style.opacity = noiseO;+ })(0);++ /* ═══════════════════════════════════════════════════════════════+ SVG DISPLACEMENT — boot screen+ ═══════════════════════════════════════════════════════════════ */+ function animateDisp(duration, maxScale) {+ if (!btDisp || !btTurb) return;+ cancelAnimationFrame(dispRaf);+ const t0 = performance.now();+ (function frame(now) {+ const dt = now - t0;+ if (dt >= duration) { btDisp.setAttribute('scale', '0'); return; }+ const env = Math.pow(Math.sin((dt / duration) * Math.PI), 0.65);+ btDisp.setAttribute('scale', (maxScale * env * (0.78 + Math.random() * 0.44)).toFixed(1));+ btTurb.setAttribute('seed', (Math.random() * 999 | 0));+ dispRaf = requestAnimationFrame(frame);+ })(t0);+ }++ /* ═══════════════════════════════════════════════════════════════+ FLASH OVERLAY+ ═══════════════════════════════════════════════════════════════ */+ function flashOverlay(steps) {+ const fl = document.createElement('div');+ fl.style.cssText = 'position:absolute;inset:0;z-index:15;pointer-events:none;';+ boot.appendChild(fl);+ const total = steps[steps.length - 1][1] + 80;+ steps.forEach(([c, d]) => setTimeout(() => { fl.style.background = c; }, d));+ setTimeout(() => fl.remove(), total);+ }++ /* ═══════════════════════════════════════════════════════════════+ GLITCH TIERS — boot screen+ ═══════════════════════════════════════════════════════════════ */+ function glitchMinor() {+ boot.classList.add('boot--chroma');+ animateDisp(220, 11);+ setTimeout(() => boot.classList.remove('boot--chroma'), 240);+ }+ function glitchMajor() {+ noiseI = 0.22; noiseO = 0.30;+ boot.classList.add('boot--chroma', 'boot--flicker', 'boot--jitter');+ animateDisp(500, 32);+ setTimeout(() => boot.classList.remove('boot--flicker', 'boot--jitter'), 220);+ setTimeout(() => { noiseI = 0.030; noiseO = 0.06; boot.classList.remove('boot--chroma'); }, 480);+ }+ function glitchCatastrophic() {+ noiseI = 0.55; noiseO = 0.60;+ boot.classList.add('boot--chroma', 'boot--flicker', 'boot--jitter');+ animateDisp(750, 56);+ flashOverlay([+ ['rgba(210,210,210,0.18)', 0],+ ['rgba(255,255,255,0.65)', 55],+ ['rgba(200,0,0,0.32)', 120],+ ['rgba(255,255,255,0.52)', 180],+ ['rgba(0,60,200,0.22)', 250],+ ['rgba(255,255,255,0.38)', 320],+ ['transparent', 400],+ ]);+ setTimeout(() => { noiseI = 0.30; noiseO = 0.38; boot.classList.remove('boot--flicker', 'boot--jitter'); }, 260);+ setTimeout(() => { noiseI = 0.10; noiseO = 0.14; }, 480);+ setTimeout(() => { noiseI = 0.030; noiseO = 0.06; boot.classList.remove('boot--chroma'); }, 720);+ }++ (function sched() {+ if (dismissed) return;+ const r = Math.random();+ let fn, delay;+ if (r < 0.50) { fn = glitchMinor; delay = 1600 + Math.random() * 2400; }+ else if (r < 0.85) { fn = glitchMajor; delay = 2800 + Math.random() * 4200; }+ else { fn = glitchCatastrophic; delay = 5000 + Math.random() * 9000; }+ setTimeout(() => { if (!dismissed) { fn(); sched(); } }, delay);+ })();++ /* ═══════════════════════════════════════════════════════════════+ TYPEWRITER — with SFX integration+ ═══════════════════════════════════════════════════════════════ */+ const sleep = ms => new Promise(r => setTimeout(r, ms));+ let typeCounter = 0;++ async function typeLine(text, cls, showOk) {+ const el = document.createElement('div');+ el.className = 'bl' + (cls ? ' bl--' + cls : '');+ out.appendChild(el);+ el.scrollIntoView({ block: 'nearest' });++ let clickAt = 3 + Math.floor(Math.random() * 3);+ for (let i = 0; i <= text.length; i++) {+ if (dismissed) { el.textContent = text; break; }+ el.textContent = text.slice(0, i);+ if (++typeCounter % clickAt === 0) {+ sfx.typeClick();+ clickAt = 3 + Math.floor(Math.random() * 3);+ }+ await sleep(CHAR_MS + Math.random() * 10 - 5);+ }++ if (showOk) {+ const sp = document.createElement('span');+ sp.className = 'bl__ok';+ sp.textContent = ' [OK]';+ el.appendChild(sp);+ el.scrollIntoView({ block: 'nearest' });+ sfx.diskSeek();+ }++ if (cls === 'h') setTimeout(() => sfx.readyChime(), 100);+ }++ async function runBoot() {+ // Init audio immediately — tries ctx.resume() + adds broad interaction listeners+ // so sounds start as soon as the user moves the mouse, presses a key, etc.+ sfx.init();+ sfx.fanSpinUp();+ setTimeout(() => sfx.postBeep(), 520);++ for (const line of LINES) {+ await sleep(line.p ?? 60);+ if (dismissed) break;+ if (!line.t) {+ const sp = document.createElement('div');+ sp.className = 'bl bl--sp';+ out.appendChild(sp);+ } else {+ await typeLine(line.t, line.c, line.ok);+ }+ }+ showPrompt();+ }++ function showPrompt() {+ prompt.style.display = 'block';+ prompt.scrollIntoView({ block: 'nearest' });+ }++ /* ═══════════════════════════════════════════════════════════════+ HERO DISTORTION — same glitch family, applied to the hero+ background image after the boot screen dismisses.+ ═══════════════════════════════════════════════════════════════ */+ function initHeroGlitch() {+ const heroEl = document.querySelector('.hero');+ const heroBg = document.querySelector('.hero__bg');+ if (!heroEl || !heroBg) return;++ const hgTurb = document.getElementById('hg-turb');+ const hgDisp = document.getElementById('hg-disp');++ /* Apply SVG displacement filter to the background image */+ heroBg.style.filter = 'url(#hero-glitch-filter)';++ /* Noise canvas — inserted between overlay and content */+ const hnc = document.createElement('canvas');+ hnc.className = 'hero__noise';+ hnc.width = 220; hnc.height = 165;+ const heroContent = heroEl.querySelector('.hero__content');+ heroEl.insertBefore(hnc, heroContent);+ const hnctx = hnc.getContext('2d');++ let hni = 0, hno = 0, _hLast = 0;++ (function hNoiseLoop(ts) {+ requestAnimationFrame(hNoiseLoop);+ if (ts - _hLast < 28) return;+ _hLast = ts;+ if (hni < 0.002) { hnc.style.opacity = 0; return; }+ const img = hnctx.createImageData(220, 165);+ const d = img.data;+ for (let i = 0; i < d.length; i += 4) {+ if (Math.random() < hni) {+ const v = (Math.random() * 180 + 75) | 0;+ d[i] = v; d[i+1] = v; d[i+2] = v;+ d[i+3] = (Math.random() * 160 + 60) | 0;+ }+ }+ hnctx.putImageData(img, 0, 0);+ hnc.style.opacity = hno;+ })(0);++ /* SVG displacement animation for the hero */+ let hRaf = null;+ function hAnimateDisp(duration, maxScale) {+ if (!hgDisp || !hgTurb) return;+ cancelAnimationFrame(hRaf);+ const t0 = performance.now();+ (function frame(now) {+ const dt = now - t0;+ if (dt >= duration) { hgDisp.setAttribute('scale', '0'); return; }+ const env = Math.pow(Math.sin((dt / duration) * Math.PI), 0.65);+ hgDisp.setAttribute('scale', (maxScale * env * (0.78 + Math.random() * 0.44)).toFixed(1));+ hgTurb.setAttribute('seed', (Math.random() * 999 | 0));+ hRaf = requestAnimationFrame(frame);+ })(t0);+ }++ /* Hero glitch tiers — slightly less frequent than boot screen */+ function hGlitchMinor() {+ heroEl.classList.add('hero--chroma');+ hAnimateDisp(280, 14);+ setTimeout(() => heroEl.classList.remove('hero--chroma'), 300);+ }+ function hGlitchMajor() {+ hni = 0.25; hno = 0.32;+ heroEl.classList.add('hero--chroma', 'hero--flicker');+ hAnimateDisp(560, 36);+ setTimeout(() => heroEl.classList.remove('hero--flicker'), 240);+ setTimeout(() => { hni = 0; hno = 0; heroEl.classList.remove('hero--chroma'); }, 540);+ }+ function hGlitchCatastrophic() {+ hni = 0.52; hno = 0.58;+ heroEl.classList.add('hero--chroma', 'hero--flicker');+ hAnimateDisp(760, 55);+ setTimeout(() => { hni = 0.22; hno = 0.28; heroEl.classList.remove('hero--flicker'); }, 280);+ setTimeout(() => { hni = 0.06; hno = 0.08; }, 480);+ setTimeout(() => { hni = 0; hno = 0; heroEl.classList.remove('hero--chroma'); }, 720);+ }++ (function hSched() {+ const r = Math.random();+ let fn, delay;+ if (r < 0.50) { fn = hGlitchMinor; delay = 3500 + Math.random() * 5000; }+ else if (r < 0.85) { fn = hGlitchMajor; delay = 5000 + Math.random() * 7000; }+ else { fn = hGlitchCatastrophic; delay = 9000 + Math.random() * 14000; }+ setTimeout(() => { fn(); hSched(); }, delay);+ })();+ }++ /* ═══════════════════════════════════════════════════════════════+ SYSTEM STATUS BAR+ ═══════════════════════════════════════════════════════════════ */+ function initSysBar() {+ const ITEMS = [+ 'OODA-LOOP: ACTIVE', 'HERMES-LLM: ONLINE',+ 'KALI-MCP ▸ :8900', 'PLAYWRIGHT ▸ :8931',+ 'ENC: AES-256-GCM', 'TLS: 1.3',+ '0xDEADBEEF', '0xCAFEBABE', '0x48455246',+ 'TUNNEL: ACTIVE', 'FINDINGS: CLASSIFIED', 'TARGET: CONFIRMED',+ '<span id="sysbar-uptime">UPTIME: 00:00:00</span>',+ ];+ const bar = document.createElement('div');+ bar.id = 'sys-bar'; bar.setAttribute('aria-hidden', 'true');+ const track = document.createElement('div');+ track.id = 'sys-bar-track';+ const html = ITEMS.map(t => `<span class="si">${t}</span><span class="si__sep">◆</span>`).join('');+ track.innerHTML = html + html;+ bar.appendChild(track);+ document.body.prepend(bar);+ document.body.classList.add('has-sysbar');++ let sec = 0;+ setInterval(() => {+ sec++;+ const ut = document.getElementById('sysbar-uptime');+ if (!ut) return;+ ut.textContent = `UPTIME: ${+ String(Math.floor(sec / 3600)).padStart(2,'0')}:${+ String(Math.floor((sec % 3600) / 60)).padStart(2,'0')}:${+ String(sec % 60).padStart(2,'0')}`;+ }, 1000);++ (function barGlitch() {+ setTimeout(() => {+ const spans = track.querySelectorAll('.si');+ if (spans.length) {+ const idx = Math.floor(Math.random() * spans.length);+ spans[idx].classList.add('si--g');+ setTimeout(() => spans[idx].classList.remove('si--g'), 220);+ }+ barGlitch();+ }, 2000 + Math.random() * 3800);+ })();++ requestAnimationFrame(() => bar.classList.add('sys-bar--on'));+ }++ /* ═══════════════════════════════════════════════════════════════+ MUTE BUTTON+ ═══════════════════════════════════════════════════════════════ */+ const ICON_SPK = `<svg viewBox="0 0 24 24" width="15" height="15" fill="currentColor" aria-hidden="true"><path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/></svg>`;+ const ICON_MUTE = `<svg viewBox="0 0 24 24" width="15" height="15" fill="currentColor" aria-hidden="true"><path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/></svg>`;++ function updateMuteUI() {+ if (!mute || !audio) return;+ const m = audio.muted;+ mute.innerHTML = m ? ICON_MUTE : ICON_SPK;+ mute.setAttribute('aria-label', m ? 'Unmute audio' : 'Mute audio');+ mute.classList.toggle('muted', m);+ }+ if (mute && audio) mute.addEventListener('click', () => { audio.muted = !audio.muted; updateMuteUI(); });++ /* ═══════════════════════════════════════════════════════════════+ DISMISS+ ═══════════════════════════════════════════════════════════════ */+ function dismiss() {+ if (dismissed) return;+ dismissed = true;+ cancelAnimationFrame(dispRaf);++ if (audio) { audio.volume = 0.4; audio.play().catch(() => {}); }+ if (ctrl) { ctrl.style.display = 'flex'; updateMuteUI(); }++ initSysBar();+ initHeroGlitch();+ if (window.initPostBoot) window.initPostBoot(audio);++ boot.classList.add('boot--exit');+ boot.addEventListener('animationend', () => {+ boot.remove();+ document.body.style.overflow = '';+ }, { once: true });+ }++ /* ── Wire events + start ─────────────────────────────────────── */+ boot.addEventListener('click', dismiss);+ window.addEventListener('keydown', function h(e) {+ if (['Enter', ' ', 'Escape'].includes(e.key)) {+ window.removeEventListener('keydown', h); dismiss();+ }+ });++ document.body.style.overflow = 'hidden';+ runBoot();+})();diff --git a/docs/index.html b/docs/index.htmlnew file mode 100644index 0000000..4d1d027--- /dev/null+++ b/docs/index.html@@ -0,0 +1,168 @@+<!DOCTYPE html>+<html lang="en">+<head>+ <meta charset="UTF-8">+ <meta name="viewport" content="width=device-width, initial-scale=1.0">+ <title>Vulnerator AI — Unholy Pentest</title>+ <meta name="description" content="An OODA pentest driven by Hermes talking directly to a Kali container via MCP. Death-metal cyberpunk. offerings to the Kali.">+ <meta name="theme-color" content="#0a0a0a">+ <meta property="og:title" content="Vulnerator AI — Unholy Pentest">+ <meta property="og:description" content="An OODA pentest driven by Hermes talking directly to a Kali container via MCP.">+ <meta property="og:image" content="assets/vulnerator-ai-wallpaper-desktop.jpeg">+ <meta property="og:type" content="website">+ <link rel="icon" href="assets/vulnerator-ai-logo-transparent.png" type="image/png">+ <link rel="stylesheet" href="styles.css">+ <!-- boot.js is deferred so it runs after DOM is ready -->+ <script src="boot.js" defer></script>+ <!-- page.js: post-boot ambient features (toasts + audio visualiser) -->+ <script src="page.js" defer></script>+</head>+<body>++ <!-- SVG filter definitions for screen displacement glitch -->+ <svg xmlns="http://www.w3.org/2000/svg" style="position:absolute;width:0;height:0;overflow:hidden" aria-hidden="true">+ <defs>+ <!-- Boot screen displacement filter -->+ <filter id="boot-glitch-filter" x="-8%" y="-8%" width="116%" height="116%" color-interpolation-filters="sRGB">+ <feTurbulence id="bt-turb" type="turbulence"+ baseFrequency="0.000 0.72" numOctaves="1" seed="7"+ stitchTiles="stitch" result="turb"/>+ <feDisplacementMap id="bt-disp"+ in="SourceGraphic" in2="turb"+ scale="0" xChannelSelector="R" yChannelSelector="B"/>+ </filter>+ <!-- Hero background displacement filter (same family, independent control) -->+ <filter id="hero-glitch-filter" x="-8%" y="-8%" width="116%" height="116%" color-interpolation-filters="sRGB">+ <feTurbulence id="hg-turb" type="turbulence"+ baseFrequency="0.000 0.72" numOctaves="1" seed="42"+ stitchTiles="stitch" result="turb"/>+ <feDisplacementMap id="hg-disp"+ in="SourceGraphic" in2="turb"+ scale="0" xChannelSelector="R" yChannelSelector="B"/>+ </filter>+ </defs>+ </svg>++ <!-- ── Boot sequence overlay ─────────────────────────────────── -->+ <div id="boot" role="dialog" aria-modal="true" aria-label="VULNERATOR-AI system initialisation">+ <div class="boot__inner">+ <div id="boot-output"></div>+ <p id="boot-prompt">[ ENTER / CLICK → INITIALISE ]</p>+ </div>+ </div>++ <!-- Ambient audio – triggered by user gesture inside the boot screen -->+ <audio id="site-audio" src="assets/vulnerator-ai-song.mp3" loop preload="none"></audio>++ <!-- Audio mute toggle – revealed after boot dismissal -->+ <div id="audio-ctrl" aria-label="Audio controls">+ <button id="audio-mute" type="button" aria-label="Mute audio"></button>+ </div>++ <header class="hero">+ <picture class="hero__bg">+ <source media="(max-width: 640px)" srcset="assets/vulnerator-ai-wallpaper-mobile.jpeg">+ <img src="assets/vulnerator-ai-wallpaper-desktop.jpeg"+ alt="Cyberpunk key art: a hacker astronaut floating in orbit around a 'DATA HAVEN' station amid drifting servers and circuit boards."+ decoding="async">+ </picture>+ <div class="hero__overlay"></div>+ <div class="hero__content">+ <p class="hero__eyebrow">Unholy Pentest</p>+ <img class="hero__logo"+ src="assets/vulnerator-ai-logo-transparent.png"+ alt="Vulnerator AI — death-metal lettering logo"+ width="1536" height="1024" decoding="async">+ <p class="hero__tagline">offerings to the Kali</p>+ <p class="hero__sub">summoned from the depths of the OODA abyss · mmxxvi</p>+ <p class="hero__pitch">+ An OODA pentest driven by <strong>Hermes</strong> talking+ <strong>directly</strong> to a <strong>Kali</strong> container via MCP.+ </p>+ </div>+ </header>++ <main>+ <section class="section" aria-labelledby="what-title">+ <div class="wrap">+ <h2 class="section__title" id="what-title">What it is</h2>+ <p class="prose">+ An OODA (Observe-Orient-Decide-Act) pentest loop where the driving brain is+ <strong>Hermes</strong> (Nous Research) and the tools run on a Kali governed by an+ MCP server. Hermes decides what to run and launches it directly against the target.+ </p>+ <p class="prose">+ A deliberately minimal design: <strong>no core, no REST API, no UI, no gates</strong>.+ Three containers — the agent and two MCP servers — driving the engagement end to end.+ </p>+ </div>+ </section>++ <section class="section" aria-labelledby="arch-title">+ <div class="wrap">+ <h2 class="section__title" id="arch-title">Architecture</h2>+ <p class="section__lead">Three containers.</p>+ <ul class="cards" role="list">+ <li class="card">+ <h3 class="card__name">kali</h3>+ <p class="card__body">+ Deterministic runtime for pentest tools: nmap, nuclei, sqlmap, ffuf, gobuster,+ Prowler, ScoutSuite and more. Exposes the <code>kali-mcp</code> server.+ </p>+ </li>+ <li class="card">+ <h3 class="card__name">playwright-mcp</h3>+ <p class="card__body">+ A real headless Chromium browser exposed over MCP — the web flank for+ navigation, DOM and interaction, with zero native toolsets.+ </p>+ </li>+ <li class="card">+ <h3 class="card__name">ooda-agent</h3>+ <p class="card__body">+ Hermes as the OODA loop driver and client of both MCP servers,+ running the pentest tools directly.+ </p>+ </li>+ </ul>+ </div>+ </section>++ <section class="section" aria-labelledby="stack-title">+ <div class="wrap">+ <h2 class="section__title" id="stack-title">Built with</h2>+ <ul class="chips" role="list">+ <li class="chip">Docker</li>+ <li class="chip">Hermes Agent · Nous Research</li>+ <li class="chip">Kali Linux</li>+ </ul>+ </div>+ </section>++ <section class="section section--warn" aria-labelledby="warn-title">+ <div class="wrap">+ <aside class="warning" role="note">+ <h2 class="warning__title" id="warn-title">⚠ Warning</h2>+ <p class="warning__body">+ By default this product has <strong>no guardrails</strong>: no scope-guard, no consent,+ no authorization gate. There is an <strong>opt-in</strong> scope-guard you can enable,+ but by default nothing validates the scope. Use this+ <strong>only against explicitly authorized targets</strong> and in a+ <strong>controlled environment</strong>. All responsibility for the scope rests with+ the operator.+ </p>+ </aside>+ </div>+ </section>+ </main>++ <footer class="footer">+ <div class="wrap footer__wrap">+ <a class="footer__link" href="https://github.com/irraz/vulnerator-ai" rel="noopener">+ github.com/irraz/vulnerator-ai+ </a>+ <p class="footer__tagline">summoned from the depths of the OODA abyss · mmxxvi</p>+ </div>+ </footer>+</body>+</html>diff --git a/docs/page.js b/docs/page.jsnew file mode 100644index 0000000..0ab86c5--- /dev/null+++ b/docs/page.js@@ -0,0 +1,252 @@+/* page.js — VULNERATOR-AI post-boot ambient features+ * Unholy Pentest Division · 2026+ *+ * Called by boot.js via window.initPostBoot(audioElement) from dismiss().+ * Initialises:+ * 1. SSH-style connection/OODA event toasts (bottom-left)+ * 2. Audio frequency spectrum visualiser (below sys-bar)+ */++window.initPostBoot = function (audioEl) {+ initToasts();+ initVisualizer(audioEl);+};++/* ═══════════════════════════════════════════════════════════════+ TOAST SYSTEM — live system event notifications+ Appear every 6–18s, stack up to 4, auto-dismiss after 4s.+ Click a toast to dismiss early.+═══════════════════════════════════════════════════════════════ */+function initToasts() {+ let oodaIter = Math.floor(Math.random() * 60) + 1;++ // Message pool — cat: category label, msg: string or fn → string+ const POOL = [+ /* network */+ { cat: 'NET', msg: 'SYN 0.0.0.0:31337 — BLOCKED' },+ { cat: 'NET', msg: 'PORT SCAN: 172.16.0.5 — DETECTED' },+ { cat: 'NET', msg: 'OUTBOUND 443/TLS 1.3 — ALLOWED' },+ { cat: 'NET', msg: 'PROBE: 10.0.0.1:22 — DENIED' },+ { cat: 'NET', msg: 'REVERSE SHELL ATTEMPT — DROPPED' },+ { cat: 'NET', msg: 'EXFIL ATTEMPT: 8.8.8.8:53 — BLOCKED' },+ /* OODA loop */+ { cat: 'OODA', msg: 'observe: 3 new attack vectors identified' },+ { cat: 'OODA', msg: 'orient: updating adversary threat model' },+ { cat: 'OODA', msg: 'decide: pivot to web application surface' },+ { cat: 'OODA', msg: 'act: deploying nuclei scanner' },+ { cat: 'OODA', msg: () => `loop iteration #${++oodaIter}` },+ { cat: 'OODA', msg: 'lateral movement: 2 new pivots evaluated' },+ /* Hermes LLM */+ { cat: 'HERMES', msg: 'new engagement task assigned' },+ { cat: 'HERMES', msg: 'tool: kali_run(nmap -sV -sC -T4)' },+ { cat: 'HERMES', msg: 'tool: kali_run(nuclei -t cves/)' },+ { cat: 'HERMES', msg: 'tool: mcp_playwright_goto' },+ { cat: 'HERMES', msg: 'tool: kali_run(sqlmap --batch)' },+ { cat: 'HERMES', msg: () => `confidence: ${(0.85+Math.random()*0.14).toFixed(2)}` },+ { cat: 'HERMES', msg: 'reasoning chain: 7 steps completed' },+ { cat: 'HERMES', msg: 'handoff: findings queued for report' },+ /* Kali tool output */+ { cat: 'KALI', msg: 'nmap: 3 open ports on target' },+ { cat: 'KALI', msg: 'nuclei: CVE-2024-xxxx — confirmed' },+ { cat: 'KALI', msg: 'gobuster: /admin — HTTP 403' },+ { cat: 'KALI', msg: 'sqlmap: injection point found' },+ { cat: 'KALI', msg: 'ffuf: 14 paths enumerated' },+ { cat: 'KALI', msg: 'prowler: 2 misconfigurations' },+ /* System */+ { cat: 'SYS', msg: 'kali-mcp: heartbeat OK' },+ { cat: 'SYS', msg: () => `mem: ${(1.8+Math.random()*1.4).toFixed(1)} GB / 8 GB` },+ { cat: 'SYS', msg: 'playwright: new browser session opened' },+ { cat: 'SYS', msg: 'tunnel: keepalive packet sent' },+ { cat: 'SYS', msg: 'AES-256-GCM session key rotated' },+ ];++ // Build container+ const container = document.createElement('div');+ container.id = 'toast-container';+ document.body.appendChild(container);++ function showToast() {+ const entry = POOL[Math.floor(Math.random() * POOL.length)];+ const msg = typeof entry.msg === 'function' ? entry.msg() : entry.msg;++ const toast = document.createElement('div');+ toast.className = 'toast';+ toast.innerHTML =+ `<span class="toast__cat">[${entry.cat}]</span>` ++ `<span class="toast__msg">${msg}</span>` ++ `<div class="toast__bar"></div>`;++ container.appendChild(toast);++ // Cap at 4 visible toasts+ const visible = [...container.querySelectorAll('.toast:not(.toast--exit)')];+ if (visible.length > 4) removeToast(visible[0]);++ const timer = setTimeout(() => removeToast(toast), 4200);+ toast.addEventListener('click', () => { clearTimeout(timer); removeToast(toast); });+ }++ function removeToast(toast) {+ if (toast.classList.contains('toast--exit')) return;+ toast.classList.add('toast--exit');+ toast.addEventListener('animationend', () => toast.remove(), { once: true });+ }++ // First toast after 2.5s, then random interval+ setTimeout(showToast, 2500);+ (function sched() {+ setTimeout(() => { showToast(); sched(); }, 6000 + Math.random() * 12000);+ })();+}++/* ═══════════════════════════════════════════════════════════════+ AUDIO VISUALISER — time-domain waveform inserted below the hero+ in the normal document flow. Click to pause / resume.+═══════════════════════════════════════════════════════════════ */+function initVisualizer(audioEl) {+ if (!audioEl) return;++ const heroEl = document.querySelector('.hero');+ if (!heroEl) return;++ const canvas = document.createElement('canvas');+ canvas.id = 'visualizer';+ canvas.setAttribute('aria-label', 'Audio waveform — click to pause or resume');+ canvas.setAttribute('role', 'button');+ canvas.setAttribute('tabindex', '0');++ // Insert after the hero, in normal document flow+ heroEl.insertAdjacentElement('afterend', canvas);++ const ctx = canvas.getContext('2d');++ function resize() {+ canvas.width = canvas.offsetWidth;+ canvas.height = 80;+ }+ // Wait for layout before reading offsetWidth+ requestAnimationFrame(() => {+ resize();+ window.addEventListener('resize', resize, { passive: true });+ });++ /* Play / pause toggle */+ function togglePlayback() {+ if (audioEl.paused) audioEl.play().catch(() => {});+ else audioEl.pause();+ }+ canvas.addEventListener('click', togglePlayback);+ canvas.addEventListener('keydown', e => { if (e.key === 'Enter' || e.key === ' ') togglePlayback(); });++ try {+ const audioCtx = new (window.AudioContext || window.webkitAudioContext)();+ const source = audioCtx.createMediaElementSource(audioEl);+ const analyser = audioCtx.createAnalyser();++ // Smaller fftSize + lower smoothing = snappier, more responsive waveform+ analyser.fftSize = 1024;+ analyser.smoothingTimeConstant = 0.55;++ source.connect(analyser);+ analyser.connect(audioCtx.destination);++ const bufLen = analyser.fftSize; // 1024 samples+ const dataArr = new Uint8Array(bufLen);++ // Amplification factor — MP3 tracks rarely fill the full 0-255 range,+ // so we boost the deviation from centre to get visible oscillation+ const AMPLIFY = 4.2;++ (function draw() {+ requestAnimationFrame(draw);++ const W = canvas.width || canvas.offsetWidth;+ const H = canvas.height || 80;+ if (!W) return;++ ctx.clearRect(0, 0, W, H);++ /* ── Paused state ── */+ if (audioEl.paused) {+ ctx.shadowBlur = 4;+ ctx.shadowColor = 'rgba(140, 30, 30, 0.5)';+ ctx.strokeStyle = 'rgba(110, 24, 24, 0.5)';+ ctx.lineWidth = 1.5;+ ctx.beginPath();+ ctx.moveTo(0, H / 2);+ ctx.lineTo(W, H / 2);+ ctx.stroke();++ ctx.shadowBlur = 0;+ ctx.fillStyle = 'rgba(199, 90, 90, 0.7)';+ ctx.font = '11px ui-monospace, "JetBrains Mono", monospace';+ ctx.textAlign = 'center';+ ctx.letterSpacing = '0.2em';+ ctx.fillText('‖ PAUSED — CLICK TO RESUME', W / 2, H / 2 + 4);+ return;+ }++ analyser.getByteTimeDomainData(dataArr);++ const sliceW = W / bufLen;+ const center = H / 2;++ /* ── Filled waveform area ── */+ ctx.beginPath();+ ctx.moveTo(0, center);+ for (let i = 0; i < bufLen; i++) {+ // Normalise to -1…1, then amplify+ const norm = ((dataArr[i] / 128.0) - 1) * AMPLIFY;+ const y = Math.max(0, Math.min(H, center + norm * center));+ ctx.lineTo(i * sliceW, y);+ }+ ctx.lineTo(W, center);+ ctx.closePath();+ const grd = ctx.createLinearGradient(0, 0, 0, H);+ grd.addColorStop(0, 'rgba(210, 50, 50, 0.50)');+ grd.addColorStop(0.5, 'rgba(160, 30, 30, 0.20)');+ grd.addColorStop(1, 'rgba(100, 15, 15, 0.05)');+ ctx.fillStyle = grd;+ ctx.fill();++ /* ── Glowing waveform line ── */+ ctx.shadowBlur = 20;+ ctx.shadowColor = 'rgba(255, 50, 50, 0.80)';+ ctx.strokeStyle = '#ff3838';+ ctx.lineWidth = 2;+ ctx.lineJoin = 'round';+ ctx.beginPath();+ for (let i = 0; i < bufLen; i++) {+ const norm = ((dataArr[i] / 128.0) - 1) * AMPLIFY;+ const y = Math.max(0, Math.min(H, center + norm * center));+ i === 0 ? ctx.moveTo(0, y) : ctx.lineTo(i * sliceW, y);+ }+ ctx.stroke();++ /* ── Faint mirrored reflection ── */+ ctx.shadowBlur = 6;+ ctx.shadowColor = 'rgba(200, 35, 35, 0.25)';+ ctx.strokeStyle = 'rgba(180, 32, 32, 0.22)';+ ctx.lineWidth = 1;+ ctx.beginPath();+ for (let i = 0; i < bufLen; i++) {+ const norm = ((dataArr[i] / 128.0) - 1) * AMPLIFY;+ const yr = Math.max(0, Math.min(H, center - norm * center)); // mirrored+ i === 0 ? ctx.moveTo(0, yr) : ctx.lineTo(i * sliceW, yr);+ }+ ctx.stroke();++ /* ── "click to pause" hint ── */+ ctx.shadowBlur = 0;+ ctx.fillStyle = 'rgba(90, 20, 20, 0.50)';+ ctx.font = '10px ui-monospace, monospace';+ ctx.textAlign = 'right';+ ctx.letterSpacing = '0.1em';+ ctx.fillText('▶ click to pause', W - 14, 14);++ })();++ } catch (e) {+ canvas.style.display = 'none';+ }+}diff --git a/docs/styles.css b/docs/styles.cssnew file mode 100644index 0000000..5b66d0e--- /dev/null+++ b/docs/styles.css@@ -0,0 +1,770 @@+/* Vulnerator AI — landing page. Death-metal / cyberpunk, dark minimalist. */++:root {+ --bg: #0a0a0a;+ --bg-deep: #080b14; /* deep space blue-black */+ --panel: #10131c; /* metallic grey-blue panel */+ --panel-edge: #1c2130;+ --text: #e6e8ec;+ --muted: #9aa0ac; /* metallic grey */+ --accent: #b03a3a; /* brand dark red (README badge) */+ --accent-soft: #c75a5a;+ --magenta: #c25b9a; /* cold pink/magenta, used sparingly */+ --mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;+ --maxw: 920px;+}++* { box-sizing: border-box; }++html { scroll-behavior: smooth; }++body {+ margin: 0;+ background: var(--bg);+ color: var(--text);+ font-family: var(--mono);+ font-size: 16px;+ line-height: 1.6;+ -webkit-font-smoothing: antialiased;+}++.wrap {+ width: 100%;+ max-width: var(--maxw);+ margin: 0 auto;+ padding: 0 1.5rem;+}++a { color: var(--accent-soft); }+a:hover { color: var(--magenta); }++code {+ font-family: var(--mono);+ color: var(--accent-soft);+ background: rgba(176, 58, 58, 0.1);+ padding: 0.05em 0.35em;+ border-radius: 3px;+}++/* ---------- Hero ---------- */+.hero {+ position: relative;+ min-height: 100vh;+ display: flex;+ align-items: center;+ justify-content: center;+ text-align: center;+ overflow: hidden;+ padding: 4rem 1.5rem;+}++.hero__bg {+ position: absolute;+ inset: 0;+ z-index: 0;+}++.hero__bg img {+ width: 100%;+ height: 100%;+ object-fit: cover;+ object-position: center;+}++.hero__overlay {+ position: absolute;+ inset: 0;+ z-index: 1;+ background:+ radial-gradient(ellipse at center, rgba(10, 10, 10, 0.45) 0%, rgba(8, 11, 20, 0.82) 70%, rgba(10, 10, 10, 0.96) 100%),+ linear-gradient(to bottom, rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.75));+}++.hero__content {+ position: relative;+ z-index: 2;+ max-width: 760px;+}++.hero__eyebrow {+ margin: 0 0 1.5rem;+ text-transform: uppercase;+ letter-spacing: 0.5em;+ font-size: 0.8rem;+ color: var(--accent-soft);+ text-shadow: 0 0 12px rgba(176, 58, 58, 0.5);+}++.hero__logo {+ width: 100%;+ max-width: 520px;+ height: auto;+ margin: 0 auto 1.5rem;+ display: block;+ filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.8));+}++.hero__tagline {+ margin: 0 0 0.4rem;+ font-size: 1.3rem;+ color: var(--text);+ letter-spacing: 0.08em;+}++.hero__sub {+ margin: 0 0 2rem;+ font-size: 0.9rem;+ color: var(--muted);+ letter-spacing: 0.1em;+}++.hero__pitch {+ margin: 0 auto;+ max-width: 560px;+ color: var(--muted);+ font-size: 1rem;+}++.hero__pitch strong { color: var(--text); }++/* ---------- Sections ---------- */+.section {+ padding: 5.5rem 0;+ border-top: 1px solid var(--panel-edge);+}++.section--warn { padding: 4rem 0; }++.section__title {+ margin: 0 0 1.5rem;+ font-size: 1.1rem;+ text-transform: uppercase;+ letter-spacing: 0.3em;+ color: var(--accent-soft);+ font-weight: 600;+}++.section__lead {+ margin: -0.75rem 0 2rem;+ color: var(--muted);+ letter-spacing: 0.08em;+}++.prose {+ max-width: 680px;+ margin: 0 0 1.25rem;+ color: var(--muted);+ font-size: 1.05rem;+}++.prose strong { color: var(--text); }++/* ---------- Architecture cards ---------- */+.cards {+ list-style: none;+ margin: 0;+ padding: 0;+ display: grid;+ grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));+ gap: 1.25rem;+}++.card {+ background: var(--panel);+ border: 1px solid var(--panel-edge);+ border-top: 2px solid var(--accent);+ border-radius: 6px;+ padding: 1.5rem;+}++.card__name {+ margin: 0 0 0.75rem;+ font-size: 1.05rem;+ color: var(--text);+ letter-spacing: 0.05em;+}++.card__name::before {+ content: "> ";+ color: var(--accent);+}++.card__body {+ margin: 0;+ font-size: 0.92rem;+ color: var(--muted);+}++.card__body code {+ font-size: 0.85em;+}++/* ---------- Chips ---------- */+.chips {+ list-style: none;+ margin: 0;+ padding: 0;+ display: flex;+ flex-wrap: wrap;+ gap: 0.75rem;+}++.chip {+ border: 1px solid var(--panel-edge);+ background: var(--panel);+ border-radius: 999px;+ padding: 0.5rem 1.1rem;+ font-size: 0.85rem;+ letter-spacing: 0.05em;+ color: var(--text);+}++/* ---------- Warning ---------- */+.warning {+ border: 1px solid var(--accent);+ background: rgba(176, 58, 58, 0.08);+ border-left: 4px solid var(--accent);+ border-radius: 6px;+ padding: 1.75rem 2rem;+}++.warning__title {+ margin: 0 0 0.75rem;+ font-size: 1rem;+ text-transform: uppercase;+ letter-spacing: 0.2em;+ color: var(--accent-soft);+}++.warning__body {+ margin: 0;+ color: var(--text);+ font-size: 0.98rem;+}++.warning__body strong { color: var(--accent-soft); }++/* ---------- Footer ---------- */+.footer {+ padding: 3rem 0 4rem;+ border-top: 1px solid var(--panel-edge);+ background: var(--bg-deep);+}++.footer__wrap {+ display: flex;+ flex-direction: column;+ gap: 0.75rem;+ align-items: center;+ text-align: center;+}++.footer__link {+ font-size: 0.95rem;+ letter-spacing: 0.05em;+ text-decoration: none;+}++.footer__tagline {+ margin: 0;+ font-size: 0.82rem;+ color: var(--muted);+ letter-spacing: 0.1em;+}++/* ---------- Responsive ---------- */+@media (max-width: 640px) {+ .hero__eyebrow { letter-spacing: 0.35em; font-size: 0.72rem; }+ .hero__tagline { font-size: 1.1rem; }+ .section { padding: 4rem 0; }+ .section__title { font-size: 1rem; }+ .prose { font-size: 1rem; }+}++/* ---------- Motion ---------- */+@media (prefers-reduced-motion: reduce) {+ html { scroll-behavior: auto; }+ * { transition: none !important; animation: none !important; }+}++/* ── Boot screen ──────────────────────────────────────────────── */+#boot {+ position: fixed;+ inset: 0;+ z-index: 9999;+ background: #000;+ display: flex;+ align-items: center;+ justify-content: center;+ cursor: pointer;+ overflow: hidden;+ user-select: none;+}++/* CRT scanlines */+#boot::before {+ content: '';+ position: absolute;+ inset: 0;+ z-index: 3;+ background: repeating-linear-gradient(+ 0deg,+ transparent 0,+ transparent 2px,+ rgba(0, 0, 0, 0.14) 2px,+ rgba(0, 0, 0, 0.14) 4px+ );+ pointer-events: none;+}++/* Vignette */+#boot::after {+ content: '';+ position: absolute;+ inset: 0;+ z-index: 2;+ background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.7) 100%);+ pointer-events: none;+}++.boot__inner {+ position: relative;+ z-index: 4;+ width: 100%;+ max-width: 740px;+ padding: 3rem 2rem;+ max-height: 90vh;+ overflow-y: auto;+ scrollbar-width: none;+ -ms-overflow-style: none;+}++.boot__inner::-webkit-scrollbar { display: none; }++/* SVG displacement filter — scale=0 at rest, boot.js drives it during glitches */+.boot__inner { filter: url(#boot-glitch-filter); }++/* TV static noise canvas (low-res, scaled up = pixelated static) */+.boot__noise {+ position: absolute;+ inset: 0;+ width: 100%;+ height: 100%;+ z-index: 6;+ pointer-events: none;+ mix-blend-mode: screen;+ opacity: 0;+ image-rendering: pixelated;+ image-rendering: crisp-edges; /* Safari */+}++/* Boot line base — baseline chromatic aberration always visible */+.bl {+ font-family: var(--mono);+ font-size: 0.83rem;+ line-height: 1.9;+ color: #b03a3a;+ text-shadow:+ -1px 0 rgba(255, 20, 20, 0.40),+ 1px 0 rgba(20, 60, 255, 0.24),+ 0 0 8px rgba(176, 58, 58, 0.55);+ white-space: pre;+}++.bl--sp { line-height: 0.7; } /* empty spacer */+.bl--d { color: #3a3a3a; text-shadow: none; } /* dim — BIOS header */+.bl--h { /* hi — system armed */+ color: #c75a5a;+ font-weight: 700;+ letter-spacing: 0.04em;+ text-shadow: 0 0 18px rgba(199, 90, 90, 0.85);+}++.bl__ok {+ color: #5ab870;+ text-shadow: 0 0 8px rgba(90, 184, 112, 0.5);+}++/* Standby "PRESS ANY KEY" prompt */+.standby__prompt {+ display: block;+ margin-top: 2.2rem;+ color: #c75a5a;+ letter-spacing: 0.24em;+ animation: bpulse 1.3s ease-in-out infinite;+ text-shadow: 0 0 14px rgba(199, 90, 90, 0.65);+}++/* Enter prompt */+#boot-prompt {+ display: none;+ margin: 2.5rem 0 0;+ font-family: var(--mono);+ font-size: 0.82rem;+ letter-spacing: 0.28em;+ color: #c75a5a;+ text-transform: uppercase;+ animation: bpulse 1.8s ease-in-out infinite;+ text-shadow: 0 0 14px rgba(199, 90, 90, 0.65);+}++@keyframes bpulse {+ 0%, 100% { opacity: 0.4; }+ 50% { opacity: 1; }+}++/* ── Exit: TV-off effect ─────────────────────────────────────── */+.boot--exit {+ animation: tvoff 0.9s cubic-bezier(0.4, 0, 0.6, 1) forwards;+}++@keyframes tvoff {+ 0% { clip-path: inset(0 0 0 0); filter: brightness(1); }+ 18% { clip-path: inset(0 0 0 0); filter: brightness(4); }+ 42% { clip-path: inset(44% 0 44% 0); filter: brightness(2.5); }+ 62% { clip-path: inset(49% 0 49% 0); filter: brightness(6); }+ 78% { clip-path: inset(49.7% 0 49.7% 0); filter: brightness(10); }+ 100% { clip-path: inset(50% 0 50% 0); filter: brightness(0); opacity: 0; }+}++/* ── Glitch tiers ────────────────────────────────────────────── */++/* MINOR: amplified chromatic aberration on all text */+#boot.boot--chroma .bl {+ text-shadow:+ -9px 0 rgba(255, 0, 80, 0.98),+ 9px 0 rgba(0, 80, 255, 0.92),+ 0 0 30px rgba(220, 0, 100, 0.94),+ 0 0 4px rgba(255, 255, 255, 0.5);+}++#boot.boot--chroma .bl__ok {+ text-shadow:+ -7px 0 rgba(255, 80, 0, 0.85),+ 7px 0 rgba(0, 220, 90, 0.75);+}++/* MAJOR: screen flicker — pure opacity, doesn't conflict with SVG filter */+#boot.boot--flicker {+ animation: sflicker 0.24s steps(4) forwards;+}++@keyframes sflicker {+ 0% { opacity: 1; }+ 25% { opacity: 0.12; }+ 50% { opacity: 0.80; }+ 75% { opacity: 0.02; }+ 100% { opacity: 1; }+}++/* MAJOR: horizontal jitter — whole terminal layer jolts sideways */+#boot.boot--jitter .boot__inner {+ animation: jitter 0.20s steps(5) forwards;+}++@keyframes jitter {+ 0% { transform: translateX(0); }+ 20% { transform: translateX(-11px);}+ 40% { transform: translateX(15px); }+ 60% { transform: translateX(-8px); }+ 80% { transform: translateX(10px); }+ 100% { transform: translateX(0); }+}++/* ── Audio control (bottom-right, revealed after boot) ───────── */+#audio-ctrl {+ position: fixed;+ bottom: 1.25rem;+ right: 1.25rem;+ z-index: 1000;+ display: none; /* shown by boot.js after dismissal */+}++#audio-mute {+ display: flex;+ align-items: center;+ justify-content: center;+ width: 2.2rem;+ height: 2.2rem;+ padding: 0;+ appearance: none;+ background: var(--panel);+ border: 1px solid var(--panel-edge);+ border-radius: 50%;+ color: var(--muted);+ cursor: pointer;+ transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;+}++#audio-mute:hover {+ border-color: var(--accent);+ color: var(--accent-soft);+ box-shadow: 0 0 12px rgba(176, 58, 58, 0.35);+}++#audio-mute:focus-visible {+ outline: 2px solid var(--accent-soft);+ outline-offset: 3px;+}++#audio-mute.muted { color: #333; border-color: #1e1e1e; }++/* Respect prefers-reduced-motion for boot animations too */+@media (prefers-reduced-motion: reduce) {+ .boot--exit,+ .boot--flicker,+ #boot.boot--jitter .boot__inner { animation: none !important; opacity: 1; }+ #boot.boot--chroma .bl { text-shadow: 0 0 8px rgba(176, 58, 58, 0.55); }+ .boot__noise { display: none !important; }+ .boot__inner { filter: none !important; }+ #boot-prompt { animation: none !important; opacity: 1; }+}++/* ── System status bar (created by boot.js after dismissal) ──────── */+#sys-bar {+ position: fixed;+ top: 0; left: 0; right: 0;+ z-index: 800;+ height: 1.6rem;+ background: rgba(8, 11, 20, 0.93);+ border-bottom: 1px solid #1c2130;+ overflow: hidden;+ backdrop-filter: blur(2px);+ display: none;+ transform: translateY(-100%);+}++#sys-bar.sys-bar--on {+ display: block;+ animation: sysbar-in 0.7s cubic-bezier(0.2, 0, 0.4, 1) forwards;+}++@keyframes sysbar-in {+ from { transform: translateY(-100%); opacity: 0; }+ to { transform: translateY(0); opacity: 1; }+}++#sys-bar-track {+ display: inline-flex;+ align-items: center;+ height: 100%;+ white-space: nowrap;+ animation: sys-scroll 55s linear infinite;+}++@keyframes sys-scroll {+ from { transform: translateX(0); }+ to { transform: translateX(-50%); } /* -50% = one copy (content duplicated) */+}++/* Individual sys-bar items */+.si {+ font-family: var(--mono);+ font-size: 0.66rem;+ color: #6b2020;+ letter-spacing: 0.09em;+ text-transform: uppercase;+ padding: 0 1.1rem;+}++.si__sep {+ font-size: 0.45rem;+ color: #2a1515;+}++/* Glitch state for random items */+.si--g {+ color: #c75a5a;+ text-shadow: -2px 0 rgba(255, 0, 80, 0.8), 2px 0 rgba(0, 80, 255, 0.6);+ animation: sbar-g 0.22s steps(3) forwards;+}++@keyframes sbar-g {+ 0% { transform: translateX(0); letter-spacing: 0.09em; }+ 33% { transform: translateX(-4px); letter-spacing: 0.30em; }+ 66% { transform: translateX(3px); letter-spacing: 0em; }+ 100% { transform: translateX(0); letter-spacing: 0.09em; }+}++/* Push page content below the sys-bar */+body.has-sysbar { padding-top: 1.6rem; }++/* Shrink hero so the waveform visualiser is visible at the fold */+body.has-sysbar .hero { min-height: calc(100vh - 1.6rem - 80px); }++/* ── Hero scan line (appears after boot, sweeps top→bottom) ──────── */+body.has-sysbar .hero::before {+ content: '';+ position: absolute;+ left: 0; right: 0;+ top: 0;+ height: 7px;+ background: linear-gradient(90deg,+ transparent 0%,+ rgba(176, 58, 58, 0.5) 8%,+ rgba(220, 90, 90, 0.95) 35%,+ rgba(255, 140, 140, 1) 50%,+ rgba(220, 90, 90, 0.95) 65%,+ rgba(176, 58, 58, 0.5) 92%,+ transparent 100%+ );+ box-shadow:+ 0 0 22px rgba(199, 90, 90, 0.90),+ 0 0 44px rgba(176, 58, 58, 0.55),+ 0 0 70px rgba(176, 58, 58, 0.28);+ z-index: 1;+ pointer-events: none;+ opacity: 0;+ animation: hero-scan 10s ease-in-out infinite 2s;+}++@keyframes hero-scan {+ 0% { top: 0%; opacity: 0; }+ 2% { opacity: 1; }+ 98% { opacity: 0.55; }+ 100% { top: 100%; opacity: 0; }+}++/* ── Hero background distortion (same glitch family as boot screen) ─ */++/* Noise canvas — sits between overlay and content, screen blend mode */+.hero__noise {+ position: absolute;+ inset: 0;+ width: 100%;+ height: 100%;+ z-index: 1;+ pointer-events: none;+ mix-blend-mode: screen;+ opacity: 0;+ image-rendering: pixelated;+ image-rendering: crisp-edges;+}++/* Chromatic aberration on hero text during glitch events */+.hero.hero--chroma .hero__eyebrow {+ text-shadow:+ -6px 0 rgba(255, 0, 80, 0.90),+ 6px 0 rgba(0, 80, 255, 0.80),+ 0 0 22px rgba(199, 90, 90, 0.95);+}++.hero.hero--chroma .hero__tagline,+.hero.hero--chroma .hero__sub {+ text-shadow:+ -4px 0 rgba(255, 0, 60, 0.75),+ 4px 0 rgba(0, 60, 255, 0.65);+}++/* Overlay flicker: briefly lifts the dark overlay, revealing the raw image */+.hero.hero--flicker .hero__overlay {+ animation: hero-ov-flicker 0.24s steps(4) forwards;+}++@keyframes hero-ov-flicker {+ 0% { opacity: 1; }+ 25% { opacity: 0.30; }+ 50% { opacity: 0.85; }+ 75% { opacity: 0.06; }+ 100% { opacity: 1; }+}++/* ── prefers-reduced-motion additions ─────────────────────────────── */+@media (prefers-reduced-motion: reduce) {+ body.has-sysbar .hero::before { animation: none !important; opacity: 0; }+ .hero.hero--flicker .hero__overlay { animation: none !important; }+ .standby__prompt { animation: none !important; opacity: 1; }+ #sys-bar-track { animation: none !important; }+}++/* ── Toast notifications ──────────────────────────────────────────── */+#toast-container {+ position: fixed;+ bottom: 1.5rem;+ left: 1.5rem;+ z-index: 700;+ display: flex;+ flex-direction: column-reverse;+ gap: 0.5rem;+ pointer-events: none;+ max-width: 340px;+}++.toast {+ font-family: var(--mono);+ font-size: 0.70rem;+ background: rgba(8, 11, 20, 0.93);+ border: 1px solid var(--panel-edge);+ border-left: 2px solid var(--accent);+ padding: 0.45rem 0.8rem 0.65rem;+ letter-spacing: 0.04em;+ position: relative;+ overflow: hidden;+ animation: toast-in 0.28s ease forwards;+ backdrop-filter: blur(6px);+ pointer-events: auto;+ cursor: pointer;+}++.toast__cat {+ color: var(--accent-soft);+ margin-right: 0.55rem;+ font-weight: 600;+ letter-spacing: 0.1em;+}++.toast__msg {+ color: var(--muted);+}++/* Progress bar — shrinks over 4.2s showing remaining life */+.toast__bar {+ position: absolute;+ bottom: 0;+ left: 0;+ height: 2px;+ width: 100%;+ background: var(--accent);+ transform-origin: left;+ animation: toast-bar 4.2s linear forwards;+}++.toast--exit {+ animation: toast-out 0.28s ease forwards !important;+}++@keyframes toast-in {+ 0% { opacity: 0; transform: translateX(-18px); filter: brightness(5) blur(3px); }+ 55% { filter: brightness(1.4) blur(0); }+ 100% { opacity: 1; transform: translateX(0); filter: brightness(1); }+}++@keyframes toast-out {+ from { opacity: 1; transform: translateX(0); }+ to { opacity: 0; transform: translateX(-18px); }+}++@keyframes toast-bar {+ from { transform: scaleX(1); }+ to { transform: scaleX(0); }+}++/* ── Audio waveform visualiser (in document flow, below the hero) ── */+#visualizer {+ display: block;+ width: 100%;+ height: 80px;+ cursor: pointer;+ background: rgba(8, 11, 20, 0.97);+ border-top: 1px solid rgba(60, 20, 20, 0.6);+ border-bottom: 1px solid var(--panel-edge);+ /* Reset any canvas default inline styles */+ vertical-align: top;+}++#visualizer:hover {+ border-top-color: rgba(199, 90, 90, 0.65);+}++/* No longer needed — visualiser is not fixed-bottom */+/* body.has-visualizer #audio-ctrl { ... } */