diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d18689f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +uploads/ +*.zip diff --git a/Facere.html b/Facere.html new file mode 100644 index 0000000..5d95743 --- /dev/null +++ b/Facere.html @@ -0,0 +1,33 @@ + + + + + +FACERE — Hardware Design Agent + + + + + + + + + + + + + +
+ + + + + + + + + + + + + diff --git a/app.jsx b/app.jsx new file mode 100644 index 0000000..fbbb907 --- /dev/null +++ b/app.jsx @@ -0,0 +1,571 @@ +/* Facere — cinematic scroll landing + Three sections, three production-art backgrounds, one continuous camera push. */ + +const { useEffect, useRef, useState } = React; + +/* ───────────────── PixelLogo ───────────────── + Bitmap glyphs rendered as a CSS grid of s, so we control individual + pixel colors / glow / animations. Original blocky design (no copyrighted mark). */ +// 7 wide × 9 tall chunky glyphs, designed in the style of the reference: +// thick stems, rounded/beveled corners on C/E/R, no diagonals. +const GLYPH_W = 7; +const GLYPH_H = 9; +const GLYPHS = { + F: [ + "#######", + "#######", + "##.....", + "##.....", + "######.", + "######.", + "##.....", + "##.....", + "##.....", + ], + A: [ + ".#####.", + "#######", + "##...##", + "##...##", + "#######", + "#######", + "##...##", + "##...##", + "##...##", + ], + C: [ + ".######", + "#######", + "##.....", + "##.....", + "##.....", + "##.....", + "##.....", + "#######", + ".######", + ], + E: [ + "#######", + "#######", + "##.....", + "##.....", + "######.", + "######.", + "##.....", + "#######", + "#######", + ], + R: [ + "######.", + "#######", + "##...##", + "##...##", + "######.", + "#####..", + "##.##..", + "##..##.", + "##...##", + ], +}; + +function PixelLogo({ word = "FACERE", scale = 11, gap = 0 }) { + const letters = word.split(""); + return ( +
+
+ {letters.map((ch, li) => { + const g = GLYPHS[ch]; + if (!g) return null; + return ( +
+ {g.flatMap((row, ri) => + row.split("").map((c, ci) => ( + + )) + )} +
+ ); + })} +
+ {/* Ghost layers for subtle electric jitter */} + + +
+ ); +} + +function PixelLogoStatic({ word, scale, gap, color }) { + const letters = word.split(""); + return ( +
+ {letters.map((ch, li) => { + const g = GLYPHS[ch]; + if (!g) return null; + return ( +
+ {g.flatMap((row, ri) => + row.split("").map((c, ci) => ( + + )) + )} +
+ ); + })} +
+ ); +} + +/* ───────────────── SmokeLayer ───────────────── + Pixel-art smoke puffs above each chimney, positioned as % over the bg image. + Each puff is a chunky, low-res-feeling translucent disc that drifts up + fades. */ +function SmokeLayer({ chimneys, scale = 1, intensity = 1 }) { + // Each chimney emits N puffs on staggered phases. + const PUFFS_PER = 5; + const puffs = []; + chimneys.forEach((ch, ci) => { + for (let p = 0; p < PUFFS_PER; p++) { + const delay = (p / PUFFS_PER) * ch.dur + (ci * 0.3); + puffs.push({ + id: `${ci}-${p}`, + x: ch.x, + y: ch.y, + size: ch.size * (0.85 + (p % 2) * 0.25), + dur: ch.dur, + delay, + drift: ch.drift + (p % 3 - 1) * 0.4, + }); + } + }); + + return ( +
+ {puffs.map((p) => ( + + ))} +
+ ); +} + +/* ───────────────── EmberLayer ───────────────── + Tiny pulsing orange points scattered across the horizon — gives the city + /factory a flicker without recreating any structure in CSS. */ +function EmberLayer({ count = 18, area }) { + const embers = useRef(null); + if (!embers.current) { + const arr = []; + for (let i = 0; i < count; i++) { + arr.push({ + x: area.x + Math.random() * area.w, + y: area.y + Math.random() * area.h, + size: 2 + Math.random() * 2, + dur: 1.6 + Math.random() * 3, + delay: Math.random() * 4, + hue: Math.random() > 0.7 ? "warm" : "soft", + }); + } + embers.current = arr; + } + return ( +
+ {embers.current.map((e, i) => ( + + ))} +
+ ); +} + +/* ───────────────── SparkLayer ───────────────── + For factory interior — small orange sparks bursting from the welding zone. */ +function SparkLayer() { + const sparks = useRef(null); + if (!sparks.current) { + const arr = []; + for (let i = 0; i < 14; i++) { + arr.push({ + a: -90 + (Math.random() - 0.5) * 160, // angle deg + d: 18 + Math.random() * 36, // distance + size: 2 + Math.random() * 2, + dur: 0.6 + Math.random() * 1.0, + delay: Math.random() * 1.6, + }); + } + sparks.current = arr; + } + return ( +
+ + {sparks.current.map((s, i) => { + const rad = (s.a * Math.PI) / 180; + const tx = Math.cos(rad) * s.d; + const ty = Math.sin(rad) * s.d; + return ( + + ); + })} +
+ ); +} + +/* ───────────────── ChipPulses ───────────────── + Subtle pulsing orange dots over the PCB area. */ +function ChipPulses() { + // hand-placed % over the chip image + const dots = [ + { x: 76, y: 38, dur: 2.4, delay: 0 }, + { x: 82, y: 28, dur: 2.0, delay: 0.7 }, + { x: 88, y: 33, dur: 2.8, delay: 1.2 }, + { x: 73, y: 60, dur: 2.2, delay: 0.4 }, + { x: 80, y: 75, dur: 2.6, delay: 1.0 }, + { x: 92, y: 55, dur: 2.0, delay: 1.6 }, + { x: 70, y: 48, dur: 3.0, delay: 0.2 }, + { x: 95, y: 70, dur: 2.4, delay: 0.9 }, + ]; + return ( +
+ {dots.map((d, i) => ( + + ))} + {/* Soft chip breathing glow */} + +
+ ); +} + +/* ───────────────── HeroSection ───────────────── */ +function HeroSection({ bgRef, contentRef }) { + // Chimney positions (% over the exterior factory image) — hand-tuned to artwork. + // The three tall chimneys cluster at ~74%, 78%, 83% with tops near y≈49.5%. + // Smaller stacks at 71%, 80%, 85.5%. + // Image 1: assets/exterior-factory.png + const chimneys = [ + { x: 77.5, y: 51.0, size: 22, dur: 7.2, drift: -0.3 }, + { x: 80.5, y: 49.5, size: 32, dur: 8.0, drift: -0.4 }, + { x: 84.5, y: 50.4, size: 30, dur: 7.6, drift: 0.2 }, + { x: 86.5, y: 51.0, size: 22, dur: 7.0, drift: 0.3 }, + { x: 89.5, y: 49.8, size: 32, dur: 8.2, drift: -0.2 }, + { x: 92.0, y: 51.4, size: 22, dur: 7.4, drift: 0.4 }, + ]; + + return ( +
+
+ {/* Image 1 — exterior factory */} +
+ + +
+
+
+ +
+
+ +
+
+
+ + +
+ ); +} + +/* ───────────────── ProductSection ───────────────── */ +function ProductSection({ bgRef, contentRef }) { + return ( +
+
+ {/* Image 2 — factory interior / assembly line */} +
+ {/* Robotic arm idle motion: anchored to where the arms sit in the image */} +
+
+ + {/* Conveyor pulse strip */} +
+
+
+
+ +
+
+ + SYSTEM ONLINE — NODE 02 +
+

+ Facere is a +
+ Hardware Design Agent +

+

+ From natural-language requirements to engineering files, Facere executes an end-to-end agent workflow +

+
+
+ ); +} + +/* ───────────────── InstallSection ───────────────── */ +function InstallSection({ bgRef, contentRef }) { + const [copied, setCopied] = useState(false); + const cmd = "curl -fsSL https://facere.ai/install.sh | sh"; + + const copy = async () => { + try { + await navigator.clipboard.writeText(cmd); + setCopied(true); + setTimeout(() => setCopied(false), 1600); + } catch (e) { + setCopied(true); + setTimeout(() => setCopied(false), 1600); + } + }; + + return ( +
+
+ {/* Image 3 — PCB / chip */} +
+ +
+
+
+ +
+
+ + NODE 03 — SUBSTRATE +
+

+ Get started with Facere +

+

Install the CLI

+ +
+
+ + + + ~/facere — bash +
+
+ $ + {cmd} + +
+
+ {copied ? "✓ COPIED" : "CLICK TO COPY"} +
+
+ + e.preventDefault()}> + docs.facere.ai/cli + +
+
+ ); +} + +/* ───────────────── App / ScrollScene ───────────────── + Pin the stage, push the camera deeper through each section. + Each section's bg scales up while the next fades in over it. */ +function App() { + const stageRef = useRef(null); + const heroBg = useRef(null), heroContent = useRef(null); + const prodBg = useRef(null), prodContent = useRef(null); + const instBg = useRef(null), instContent = useRef(null); + const heroSceneRef = useRef(null); + const prodSceneRef = useRef(null); + const instSceneRef = useRef(null); + + const [progress, setProgress] = useState(0); + + useEffect(() => { + if (!window.gsap || !window.ScrollTrigger) return; + const { gsap, ScrollTrigger } = window; + gsap.registerPlugin(ScrollTrigger); + + const reduceMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches; + + // Initial state: only hero visible + gsap.set(prodSceneRef.current, { opacity: 0 }); + gsap.set(instSceneRef.current, { opacity: 0 }); + + const ctx = gsap.context(() => { + // Master timeline pinned to stage; scrub linked to scroll. + const tl = gsap.timeline({ + scrollTrigger: { + trigger: ".scroll-track", + start: "top top", + end: "bottom bottom", + scrub: 0.6, + onUpdate: (self) => setProgress(self.progress), + }, + }); + + // Timing map (extra-long product dwell): + // 0.00 → 0.20 Hero camera push + // 0.20 → 0.25 Hero → Product cross-fade + // 0.25 → 0.82 Product (very long dwell) + // 0.82 → 0.86 Product → Install cross-fade + // 0.86 → 1.00 Install settle + + // Phase 1: Hero camera push-in + tl.to(heroBg.current, { scale: reduceMotion ? 1.05 : 1.35, ease: "none" }, 0); + tl.to(heroContent.current, { scale: reduceMotion ? 1.02 : 1.18, opacity: 0, ease: "none" }, 0); + + // Phase 2: cross-fade hero → product + tl.to(heroSceneRef.current, { opacity: 0, ease: "none" }, 0.20); + tl.fromTo(prodSceneRef.current, { opacity: 0 }, { opacity: 1, ease: "none" }, 0.20); + tl.fromTo(prodBg.current, { scale: reduceMotion ? 1.05 : 1.18 }, { scale: 1, ease: "none" }, 0.20); + tl.fromTo(prodContent.current, { y: 40, opacity: 0 }, { y: 0, opacity: 1, ease: "none" }, 0.23); + + // Phase 3: Long product dwell with slow camera creep + tl.to(prodBg.current, { scale: reduceMotion ? 1.05 : 1.22, ease: "none" }, 0.27); + tl.to(prodContent.current, { scale: reduceMotion ? 1.02 : 1.08, opacity: 0, ease: "none", duration: 0.06 }, 0.78); + + // Phase 4: cross-fade product → install + tl.to(prodSceneRef.current, { opacity: 0, ease: "none" }, 0.82); + tl.fromTo(instSceneRef.current, { opacity: 0 }, { opacity: 1, ease: "none" }, 0.82); + tl.fromTo(instBg.current, { scale: reduceMotion ? 1.05 : 1.18 }, { scale: 1, ease: "none" }, 0.82); + tl.fromTo(instContent.current, { y: 40, opacity: 0 }, { y: 0, opacity: 1, ease: "none" }, 0.86); + + // Phase 5: Install gentle settle + tl.to(instBg.current, { scale: reduceMotion ? 1.0 : 1.05, ease: "none" }, 0.90); + }, stageRef); + + return () => ctx.revert(); + }, []); + + // Section indicator + const section = progress < 0.22 ? 0 : progress < 0.84 ? 1 : 2; + + return ( + <> + {/* Persistent UI: section indicator + brand mark in corner */} +
+
FACERE
+ +
+ + DEPTH {Math.round(progress * 100).toString().padStart(2, "0")} +
+
+ + {/* Scroll track sets total scrollable height; stage is pinned & sticky */} +
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+
+ + ); +} + +ReactDOM.createRoot(document.getElementById("root")).render(); diff --git a/assets/exterior-factory.png b/assets/exterior-factory.png new file mode 100644 index 0000000..932793d Binary files /dev/null and b/assets/exterior-factory.png differ diff --git a/assets/factory-interior.png b/assets/factory-interior.png new file mode 100644 index 0000000..f76cf13 Binary files /dev/null and b/assets/factory-interior.png differ diff --git a/assets/pcb-chip.png b/assets/pcb-chip.png new file mode 100644 index 0000000..75f265b Binary files /dev/null and b/assets/pcb-chip.png differ diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..e4174ae --- /dev/null +++ b/styles.css @@ -0,0 +1,932 @@ +/* Facere — cinematic dark landing + No nav, no marketing chrome. The 3 attached images are the protagonists. */ + +:root { + --bg: #02070d; + --bg-2: #050b13; + --cyan: #21eaff; + --cyan-soft: #65f4ff; + --cyan-muted: #2b7e8a; + --cyan-deep: #0a3a44; + --orange: #ff8a1f; + --orange-soft: #ffb347; + --ink: #cfeef5; + --ink-mid: #6da6b1; + --ink-low: #2b5560; +} + +* { box-sizing: border-box; } +html, body, #root { margin: 0; padding: 0; background: var(--bg); } +body { + font-family: "IBM Plex Mono", "VT323", ui-monospace, SFMono-Regular, Menlo, monospace; + color: var(--ink); + -webkit-font-smoothing: antialiased; + overflow-x: hidden; +} +img { max-width: 100%; display: block; } +a { color: inherit; text-decoration: none; } + +/* ───────────────── Stage / scroll ───────────────── */ +.scroll-track { + /* Long total scroll — extra-long product dwell */ + height: 700vh; + position: relative; + background: var(--bg); +} +.stage { + position: sticky; + top: 0; + height: 100vh; + overflow: hidden; + background: var(--bg); +} +.scene-stack { position: absolute; inset: 0; } +.scene-slot { position: absolute; inset: 0; } + +.scene { + position: absolute; + inset: 0; + overflow: hidden; + isolation: isolate; +} + +/* ───────────────── Background images ───────────────── + Backgrounds are wrapped in a div we can scale via GSAP for camera push-in. */ +.bg-wrap { + position: absolute; + inset: 0; + overflow: hidden; + transform-origin: 65% 50%; + will-change: transform; +} +.scene-product .bg-wrap { transform-origin: 50% 60%; } +.scene-install .bg-wrap { transform-origin: 78% 50%; } + +.bg-image { + position: absolute; + inset: 0; + background-size: cover; + background-position: center center; + background-repeat: no-repeat; + /* Crisp pixel-art feel without softening the source */ + image-rendering: -webkit-optimize-contrast; +} + +.vignette { + position: absolute; + inset: 0; + pointer-events: none; + background: + radial-gradient(ellipse at 70% 50%, transparent 25%, rgba(2, 7, 13, 0.55) 75%, rgba(2, 7, 13, 0.95) 100%), + linear-gradient(180deg, rgba(2, 7, 13, 0.45) 0%, transparent 30%, transparent 70%, rgba(2, 7, 13, 0.55) 100%); +} +.product-vignette { + background: + radial-gradient(ellipse at 60% 65%, transparent 20%, rgba(2, 7, 13, 0.6) 80%, rgba(2, 7, 13, 0.95) 100%); +} + +.haze { + position: absolute; + inset: 0; + pointer-events: none; + background: + radial-gradient(ellipse at 50% 90%, rgba(255, 138, 31, 0.08), transparent 55%), + radial-gradient(ellipse at 50% 105%, rgba(33, 234, 255, 0.05), transparent 60%); + mix-blend-mode: screen; +} +.haze-deep { + background: + radial-gradient(circle at 80% 45%, rgba(33, 234, 255, 0.06), transparent 45%), + radial-gradient(circle at 80% 65%, rgba(255, 138, 31, 0.06), transparent 50%); + mix-blend-mode: screen; +} + +/* ───────────────── Grain overlay ───────────────── */ +.grain { + position: absolute; + inset: 0; + pointer-events: none; + z-index: 50; + opacity: 0.10; + mix-blend-mode: overlay; + background-image: url("data:image/svg+xml;utf8,"); + animation: grain-shift 1.2s steps(6) infinite; +} +@keyframes grain-shift { + 0% { transform: translate(0, 0); } + 20% { transform: translate(-3%, 1%); } + 40% { transform: translate(2%, -2%); } + 60% { transform: translate(-1%, 2%); } + 80% { transform: translate(3%, -1%); } + 100% { transform: translate(0, 0); } +} + +/* ───────────────── Pixel logo ───────────────── */ +.pixel-logo { + position: relative; + display: inline-block; +} +.pixel-logo-grid { + display: flex; + align-items: flex-start; +} +.pixel-letter { + display: grid; +} +.px { + display: block; + background: transparent; + width: 100%; + height: 100%; +} +.px.on { + background: #2bb7ff; + box-shadow: + 0 0 2px rgba(33, 200, 255, 0.6), + 0 0 12px rgba(33, 234, 255, 0.25); + animation: pixel-pulse 4.2s ease-in-out infinite; +} +@keyframes pixel-pulse { + 0%, 100% { filter: brightness(1); } + 50% { filter: brightness(1.18); } +} + +/* Glitch ghosts */ +.pixel-logo-ghost { + position: absolute; + inset: 0; + pointer-events: none; + mix-blend-mode: screen; + opacity: 0; +} +.ghost-r { animation: glitch-r 3.0s steps(1) infinite; } +.ghost-c { animation: glitch-c 3.0s steps(1) infinite; } + +/* Many-band signal breakage. Multiple bursts per cycle, each band offset + independently from the others. Some frames near-fully corrupt. */ +@keyframes glitch-r { + 0%, 6% { opacity: 0; transform: translate(0, 0); clip-path: none; } + 8% { opacity: 0.9; transform: translate(40px, 0); clip-path: inset(5% 0 78% 0); } + 9% { opacity: 0.7; transform: translate(-20px, 0); clip-path: inset(15% 0 70% 0); } + 10% { opacity: 0; } + 18% { opacity: 0.85; transform: translate(55px, 0); clip-path: inset(28% 0 58% 0); } + 19% { opacity: 0; } + 24% { opacity: 0.7; transform: translate(-35px, 0); clip-path: inset(48% 0 38% 0); } + 25% { opacity: 0.5; transform: translate(15px, 0); clip-path: inset(52% 0 36% 0); } + 26% { opacity: 0; } + /* small quiet patch */ + 36% { opacity: 0.65; transform: translate(25px, 0); clip-path: inset(62% 0 24% 0); } + 37% { opacity: 0; } + 44% { opacity: 0.95; transform: translate(-45px, 0); clip-path: inset(72% 0 14% 0); } + 45% { opacity: 0.6; transform: translate(20px, 0); clip-path: inset(78% 0 8% 0); } + 46% { opacity: 0; } + 56% { opacity: 0.55; transform: translate(10px, 0); clip-path: inset(18% 0 70% 0); } + 57% { opacity: 0; } + 64% { opacity: 0.9; transform: translate(-50px, 0); clip-path: inset(35% 0 50% 0); } + 65% { opacity: 0; } + 72% { opacity: 0.7; transform: translate(30px, 0); clip-path: inset(58% 0 30% 0); } + 73% { opacity: 0; } + /* full corruption flash */ + 82% { opacity: 0.85; transform: translate(35px, 0); clip-path: none; } + 83% { opacity: 0; } + 90% { opacity: 0.6; transform: translate(-15px, 0); clip-path: inset(68% 0 22% 0); } + 91%, 100% { opacity: 0; transform: translate(0, 0); clip-path: none; } +} +@keyframes glitch-c { + 0%, 6% { opacity: 0; transform: translate(0, 0); clip-path: none; } + 8% { opacity: 0.85; transform: translate(-40px, 0); clip-path: inset(5% 0 78% 0); } + 9% { opacity: 0.65; transform: translate(20px, 0); clip-path: inset(15% 0 70% 0); } + 10% { opacity: 0; } + 18% { opacity: 0.8; transform: translate(-55px, 0); clip-path: inset(28% 0 58% 0); } + 19% { opacity: 0; } + 24% { opacity: 0.65; transform: translate(35px, 0); clip-path: inset(48% 0 38% 0); } + 25% { opacity: 0.45; transform: translate(-15px, 0); clip-path: inset(52% 0 36% 0); } + 26% { opacity: 0; } + 36% { opacity: 0.6; transform: translate(-25px, 0); clip-path: inset(62% 0 24% 0); } + 37% { opacity: 0; } + 44% { opacity: 0.9; transform: translate(45px, 0); clip-path: inset(72% 0 14% 0); } + 45% { opacity: 0.55; transform: translate(-20px, 0); clip-path: inset(78% 0 8% 0); } + 46% { opacity: 0; } + 56% { opacity: 0.5; transform: translate(-10px, 0); clip-path: inset(18% 0 70% 0); } + 57% { opacity: 0; } + 64% { opacity: 0.85; transform: translate(50px, 0); clip-path: inset(35% 0 50% 0); } + 65% { opacity: 0; } + 72% { opacity: 0.65; transform: translate(-30px, 0); clip-path: inset(58% 0 30% 0); } + 73% { opacity: 0; } + 82% { opacity: 0.8; transform: translate(-35px, 0); clip-path: none; } + 83% { opacity: 0; } + 90% { opacity: 0.55; transform: translate(15px, 0); clip-path: inset(68% 0 22% 0); } + 91%, 100% { opacity: 0; transform: translate(0, 0); clip-path: none; } +} + +/* Logo sits on top of bg, no nav */ +.content-hero { + position: absolute; + inset: 0; + display: flex; + align-items: center; + padding-left: 8vw; + z-index: 5; +} +.logo-wrap { + position: relative; + animation: logo-jitter 3.0s steps(1) infinite, logo-flicker 2.4s ease-in-out infinite, logo-dropout 7s steps(1) infinite; +} +/* Brightness flicker — frequent dips like signal loss */ +@keyframes logo-flicker { + 0%, 100% { filter: brightness(1) saturate(1); } + 10% { filter: brightness(1.2) saturate(1.1); } + 11% { filter: brightness(0.45); } + 12% { filter: brightness(1.1); } + 13% { filter: brightness(1); } + 28% { filter: brightness(0.6); } + 29% { filter: brightness(1.25); } + 30% { filter: brightness(0.85); } + 46% { filter: brightness(1.15); } + 47% { filter: brightness(0.5); } + 48% { filter: brightness(1); } + 68% { filter: brightness(1.2); } + 69% { filter: brightness(0.65); } + 70% { filter: brightness(1.05); } + 82% { filter: brightness(0.4); } + 83% { filter: brightness(1.15); } + 84% { filter: brightness(1); } +} +/* Logo body — many independent band shears, frequent bursts. */ +@keyframes logo-jitter { + 0%, 6%, 100% { transform: translate(0, 0); clip-path: none; } + 8% { transform: translate(25px, 0); clip-path: inset(5% 0 78% 0); } + 9% { transform: translate(-15px, 0); clip-path: inset(15% 0 70% 0); } + 10% { transform: translate(0, 0); clip-path: none; } + 18% { transform: translate(-30px, 0); clip-path: inset(28% 0 58% 0); } + 19% { transform: translate(10px, 0); clip-path: none; } + 24% { transform: translate(20px, 0); clip-path: inset(48% 0 38% 0); } + 25% { transform: translate(-10px, 0); clip-path: inset(52% 0 36% 0); } + 26% { transform: translate(0, 0); clip-path: none; } + 36% { transform: translate(-15px, 0); clip-path: inset(62% 0 24% 0); } + 37% { transform: translate(0, 0); clip-path: none; } + 44% { transform: translate(35px, 0); clip-path: inset(72% 0 14% 0); } + 45% { transform: translate(-20px, 0); clip-path: inset(78% 0 8% 0); } + 46% { transform: translate(0, 0); clip-path: none; } + 56% { transform: translate(-10px, 0); clip-path: inset(18% 0 70% 0); } + 57% { transform: translate(0, 0); clip-path: none; } + 64% { transform: translate(40px, 0); clip-path: inset(35% 0 50% 0); } + 65% { transform: translate(-15px, 0); clip-path: none; } + 72% { transform: translate(-25px, 0); clip-path: inset(58% 0 30% 0); } + 73% { transform: translate(10px, 0); clip-path: none; } + 82% { transform: translate(-20px, 0) skewX(-1deg); } + 83% { transform: translate(0, 0); } + 90% { transform: translate(15px, 0); clip-path: inset(68% 0 22% 0); } + 91% { transform: translate(0, 0); clip-path: none; } +} + +/* Independent dropout — small portions disappear briefly (transmission loss) */ +@keyframes logo-dropout { + 0%, 14% { opacity: 1; clip-path: none; } + 15% { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 18%, 0 18%, 0 28%, 100% 28%, 100% 100%, 0 100%); } + 16% { opacity: 1; clip-path: none; } + /* 18% black-out band lower */ + 33% { clip-path: polygon(0 0, 100% 0, 100% 60%, 0 60%, 0 72%, 100% 72%, 100% 100%, 0 100%); } + 34% { clip-path: none; } + /* near-total dropout flash */ + 52% { opacity: 0.15; } + 53% { opacity: 1; } + /* upper third missing */ + 68% { clip-path: polygon(0 32%, 100% 32%, 100% 100%, 0 100%); } + 69% { clip-path: none; } + /* full split */ + 85% { clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%, 0 56%, 100% 56%, 100% 100%, 0 100%); } + 86% { clip-path: none; } + 92% { opacity: 0.4; } + 93% { opacity: 1; } +} + +/* Pixel-bar breaks — multiple thin dark bands across cycle */ +.logo-wrap::after { + content: ""; + position: absolute; + left: -80px; right: -80px; + top: 0; + height: 100%; + pointer-events: none; + z-index: 4; + background: + linear-gradient(rgba(2,7,13,0.95), rgba(2,7,13,0.95)) 0 12% / 100% 4% no-repeat, + linear-gradient(rgba(2,7,13,0.95), rgba(2,7,13,0.95)) 0 32% / 100% 3% no-repeat, + linear-gradient(rgba(2,7,13,0.95), rgba(2,7,13,0.95)) 0 50% / 100% 4% no-repeat, + linear-gradient(rgba(2,7,13,0.95), rgba(2,7,13,0.95)) 0 68% / 100% 3% no-repeat, + linear-gradient(rgba(2,7,13,0.95), rgba(2,7,13,0.95)) 0 84% / 100% 4% no-repeat; + opacity: 0; + animation: pixel-break 3.0s steps(1) infinite; +} +@keyframes pixel-break { + 0%, 7% { opacity: 0; } + 8% { opacity: 0.9; } + 9%, 10% { opacity: 0; } + 18% { opacity: 0.85; } + 19% { opacity: 0; } + 24%, 25% { opacity: 0.85; } + 26% { opacity: 0; } + 36% { opacity: 0.6; } + 37% { opacity: 0; } + 44%, 45% { opacity: 0.9; } + 46% { opacity: 0; } + 56% { opacity: 0.5; } + 57% { opacity: 0; } + 64% { opacity: 0.85; } + 65% { opacity: 0; } + 72% { opacity: 0.6; } + 73% { opacity: 0; } + 82% { opacity: 0.95; } + 83% { opacity: 0; } + 90% { opacity: 0.55; } + 91%, 100% { opacity: 0; } +} + +/* Fragmented scanline slices — multiple bands that jump left/right */ +.logo-wrap::before { + content: ""; + position: absolute; + left: -100px; right: -100px; + top: -10%; + height: 8%; + pointer-events: none; + z-index: 3; + mix-blend-mode: screen; + filter: blur(0.5px); + background: + linear-gradient(90deg, + transparent 0%, + rgba(33,234,255,0.15) 18%, + rgba(33,234,255,0.35) 38%, + transparent 48%, + transparent 56%, + rgba(33,234,255,0.30) 72%, + rgba(33,234,255,0.10) 88%, + transparent 100%); + opacity: 0; + animation: scan-tear 3.0s steps(1) infinite; +} +@keyframes scan-tear { + 0%, 7% { opacity: 0; top: -8%; transform: translateX(0); } + 8% { opacity: 0.9; top: 8%; transform: translateX(-60px); } + 10% { opacity: 0; } + 18% { opacity: 0.85; top: 26%; transform: translateX(70px); } + 20% { opacity: 0; } + 24% { opacity: 0.95; top: 44%; transform: translateX(-50px); } + 26% { opacity: 0; } + 36% { opacity: 0.7; top: 60%; transform: translateX(40px); } + 37% { opacity: 0; } + 44% { opacity: 0.95; top: 74%; transform: translateX(-70px); } + 46% { opacity: 0; } + 56% { opacity: 0.6; top: 16%; transform: translateX(50px); } + 57% { opacity: 0; } + 64% { opacity: 0.9; top: 38%; transform: translateX(-40px); } + 65% { opacity: 0; } + 72% { opacity: 0.7; top: 56%; transform: translateX(60px); } + 73% { opacity: 0; } + 82% { opacity: 0.95; top: 70%; transform: translateX(-50px); } + 83% { opacity: 0; } + 90% { opacity: 0.6; top: 88%; transform: translateX(30px); } + 91%, 100% { opacity: 0; } +} +.logo-scanlines { + position: absolute; + inset: -8px -16px; + pointer-events: none; + background: repeating-linear-gradient( + 180deg, + rgba(33, 234, 255, 0.04) 0px, + rgba(33, 234, 255, 0.04) 1px, + transparent 2px, + transparent 5px + ); + opacity: 0.5; + mix-blend-mode: screen; + animation: scan-roll 8s linear infinite; +} +@keyframes scan-roll { + from { background-position: 0 0; } + to { background-position: 0 40px; } +} + +/* ───────────────── Smoke ───────────────── */ +.smoke-layer { + position: absolute; + inset: 0; + pointer-events: none; + z-index: 4; +} +.smoke-puff { + position: absolute; + border-radius: 50%; + background: radial-gradient(circle, rgba(170, 185, 200, 0.42) 0%, rgba(110, 135, 160, 0.22) 45%, transparent 72%); + clip-path: polygon( + 25% 0%, 50% 0%, 75% 0%, + 100% 25%, 100% 50%, 100% 75%, + 75% 100%, 50% 100%, 25% 100%, + 0% 75%, 0% 50%, 0% 25% + ); + filter: blur(1.5px); + transform: translate(-50%, 0%) scale(0.25); + opacity: 0; + animation: smoke-rise linear infinite; + will-change: transform, opacity; +} +/* Smoke rises STRAIGHT UP from the chimney tip (top: ch.y is the tip). + y=0% at tip → y=-220% at end so it lifts well above. */ +@keyframes smoke-rise { + 0% { transform: translate(-50%, 0%) scale(0.30); opacity: 0; } + 10% { opacity: 0.55; } + 60% { opacity: 0.32; } + 100% { transform: translate(calc(-50% + var(--drift, 0rem)), -260%) scale(1.4); opacity: 0; } +} + +/* ───────────────── Embers / lights ───────────────── */ +.ember-layer { + position: absolute; + inset: 0; + pointer-events: none; + z-index: 3; +} +.ember { + position: absolute; + border-radius: 50%; + transform: translate(-50%, -50%); + animation: ember-flicker ease-in-out infinite; +} +.ember-warm { + background: var(--orange); + box-shadow: 0 0 4px rgba(255, 138, 31, 0.9), 0 0 10px rgba(255, 138, 31, 0.5); +} +.ember-soft { + background: var(--orange-soft); + box-shadow: 0 0 3px rgba(255, 179, 71, 0.8), 0 0 8px rgba(255, 179, 71, 0.4); +} +@keyframes ember-flicker { + 0%, 100% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); } + 40% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.85); } + 55% { opacity: 1.0; transform: translate(-50%, -50%) scale(1.05); } + 80% { opacity: 0.5; } +} + +/* ───────────────── Sparks (interior) ───────────────── */ +.spark-layer { + position: absolute; + /* Welding zone in image 2 — center of conveyor */ + left: 49.5%; + top: 65.5%; + width: 2px; + height: 2px; + pointer-events: none; + z-index: 4; +} +.spark-core { + position: absolute; + left: -6px; top: -6px; + width: 12px; height: 12px; + border-radius: 50%; + background: radial-gradient(circle, rgba(255, 220, 130, 0.95) 0%, rgba(255, 138, 31, 0.6) 40%, transparent 75%); + filter: blur(1px); + animation: spark-core-pulse 1.4s ease-in-out infinite; +} +@keyframes spark-core-pulse { + 0%, 100% { opacity: 0.55; transform: scale(0.85); } + 35% { opacity: 1; transform: scale(1.4); } + 60% { opacity: 0.7; transform: scale(1); } +} +.spark { + position: absolute; + left: 0; top: 0; + border-radius: 50%; + background: var(--orange-soft); + box-shadow: 0 0 4px rgba(255, 200, 100, 0.9), 0 0 8px rgba(255, 138, 31, 0.6); + animation: spark-fly ease-out infinite; +} +@keyframes spark-fly { + 0% { transform: translate(0, 0) scale(1); opacity: 1; } + 100% { transform: translate(var(--tx), var(--ty)) scale(0.3); opacity: 0; } +} + +/* ───────────────── Robotic arm idle ───────────────── */ +.arm-pivot { + position: absolute; + width: 1px; height: 1px; + pointer-events: none; + z-index: 2; + /* The arms in image 2 are roughly here — we just nudge a small overlay glow */ + animation: arm-idle 5s ease-in-out infinite; + transform-origin: center; +} +.arm-left { + left: 44%; top: 55%; + background: radial-gradient(circle, rgba(255, 138, 31, 0.5) 0%, transparent 70%); + width: 60px; height: 60px; + margin: -30px 0 0 -30px; + filter: blur(8px); + animation-delay: -1.5s; +} +.arm-right { + left: 56%; top: 55%; + background: radial-gradient(circle, rgba(255, 138, 31, 0.5) 0%, transparent 70%); + width: 60px; height: 60px; + margin: -30px 0 0 -30px; + filter: blur(8px); +} +@keyframes arm-idle { + 0%, 100% { opacity: 0.6; transform: translateY(0); } + 50% { opacity: 0.95; transform: translateY(-2px); } +} + +/* Conveyor light pulse: subtle bright row beneath */ +.conveyor-pulse { + position: absolute; + left: 6%; right: 6%; + top: 78%; + height: 3px; + pointer-events: none; + z-index: 2; + background: linear-gradient(90deg, + transparent 0%, + rgba(255, 200, 100, 0) 10%, + rgba(255, 200, 100, 0.45) 50%, + rgba(255, 200, 100, 0) 90%, + transparent 100%); + filter: blur(2px); + animation: conveyor-pulse 4s ease-in-out infinite; +} +@keyframes conveyor-pulse { + 0%, 100% { opacity: 0.25; transform: translateX(-10%); } + 50% { opacity: 0.7; transform: translateX(10%); } +} + +/* ───────────────── Chip pulses (install) ───────────────── */ +.chip-pulses { + position: absolute; + inset: 0; + pointer-events: none; + z-index: 3; +} +.chip-pulse { + position: absolute; + width: 4px; height: 4px; + margin: -2px 0 0 -2px; + border-radius: 50%; + background: var(--orange); + box-shadow: 0 0 6px rgba(255, 138, 31, 0.9), 0 0 14px rgba(255, 138, 31, 0.45); + animation: chip-blink ease-in-out infinite; +} +@keyframes chip-blink { + 0%, 100% { opacity: 0.95; transform: scale(1); } + 50% { opacity: 0.25; transform: scale(0.7); } +} +.chip-glow { + position: absolute; + /* main chip is ~upper-right of image */ + left: 78%; top: 38%; + width: 280px; height: 280px; + margin: -140px 0 0 -140px; + border-radius: 50%; + background: radial-gradient(circle, rgba(33, 234, 255, 0.10) 0%, transparent 65%); + filter: blur(10px); + animation: chip-breath 6s ease-in-out infinite; +} +@keyframes chip-breath { + 0%, 100% { opacity: 0.6; transform: scale(1); } + 50% { opacity: 1; transform: scale(1.15); } +} + +/* ───────────────── Content blocks ───────────────── */ +.content { + position: absolute; + inset: 0; + pointer-events: none; + z-index: 10; +} +.content > * { pointer-events: auto; } + +.content-product { + display: flex; + flex-direction: column; + justify-content: center; + padding: 0 6vw; + max-width: none; + width: min(1680px, 92vw); +} +.content-install { + display: flex; + flex-direction: column; + justify-content: center; + padding: 0 8vw; + max-width: 640px; +} + +.tag { + display: inline-flex; + align-items: center; + gap: 10px; + font-size: 11px; + letter-spacing: 0.28em; + color: var(--cyan); + margin-bottom: 32px; + padding: 7px 14px; + border: 1px solid rgba(33, 234, 255, 0.25); + background: rgba(33, 234, 255, 0.03); + width: fit-content; + text-shadow: 0 0 8px rgba(33, 234, 255, 0.4); +} +.tag-dot { + width: 6px; height: 6px; + background: var(--cyan); + box-shadow: 0 0 6px var(--cyan); + animation: tag-blink 1.6s steps(2) infinite; +} +@keyframes tag-blink { + 0%, 100% { opacity: 1; } + 50% { opacity: 0.3; } +} + +.headline { + font-family: "VT323", "IBM Plex Mono", monospace; + font-size: clamp(20px, 2vw, 30px); + white-space: nowrap; + line-height: 1.05; + letter-spacing: 0.01em; + color: var(--cyan-soft); + text-shadow: + 0 0 12px rgba(33, 234, 255, 0.6), + 0 0 32px rgba(33, 234, 255, 0.3); + margin: 0 0 24px; + font-weight: 400; +} +.headline .bracket { + color: var(--cyan-muted); + text-shadow: 0 0 6px rgba(43, 126, 138, 0.5); + font-size: 0.85em; + margin: 0 0.2em; +} +.headline .hl { + color: #fff; + text-shadow: + 0 0 12px rgba(33, 234, 255, 0.85), + 0 0 30px rgba(33, 234, 255, 0.45); +} + +.body, .subheadline { + color: var(--ink-mid); + font-size: clamp(13px, 1.05vw, 16px); + line-height: 1.55; + letter-spacing: 0.04em; + max-width: none; + white-space: nowrap; + margin: 0; +} +.subheadline { + margin-bottom: 32px; + letter-spacing: 0.18em; + font-size: 13px; + text-transform: uppercase; +} + +/* ───────────────── Command box ───────────────── */ +.cmd-box { + position: relative; + margin: 4px 0 28px; + border: 1px solid rgba(33, 234, 255, 0.22); + background: rgba(2, 7, 13, 0.72); + backdrop-filter: blur(2px); + cursor: pointer; + font-family: "IBM Plex Mono", monospace; + font-size: 14px; + max-width: 560px; + transition: border-color 0.2s ease, box-shadow 0.2s ease; + box-shadow: + 0 0 0 1px rgba(33, 234, 255, 0.05), + 0 0 24px rgba(33, 234, 255, 0.08), + inset 0 0 40px rgba(33, 234, 255, 0.03); +} +.cmd-box:hover { + border-color: rgba(33, 234, 255, 0.5); + box-shadow: + 0 0 0 1px rgba(33, 234, 255, 0.15), + 0 0 36px rgba(33, 234, 255, 0.18); +} +.cmd-bar { + display: flex; + align-items: center; + gap: 8px; + padding: 8px 12px; + border-bottom: 1px solid rgba(33, 234, 255, 0.15); + background: rgba(10, 58, 68, 0.25); + font-size: 11px; + letter-spacing: 0.18em; + color: var(--cyan-muted); +} +.cmd-led { + width: 8px; height: 8px; + background: var(--cyan-deep); + border: 1px solid rgba(33, 234, 255, 0.3); +} +.cmd-led.led-amber { background: rgba(255, 138, 31, 0.4); border-color: rgba(255, 138, 31, 0.5); } +.cmd-led.led-cyan { background: rgba(33, 234, 255, 0.4); border-color: rgba(33, 234, 255, 0.5); } +.cmd-title { margin-left: auto; font-size: 10px; } + +.cmd-body { + display: flex; + align-items: center; + gap: 10px; + padding: 18px 18px 20px; + white-space: nowrap; + overflow-x: auto; + color: var(--cyan-soft); + text-shadow: 0 0 8px rgba(33, 234, 255, 0.4); +} +.cmd-prompt { color: var(--orange-soft); } +.cmd-cursor { + display: inline-block; + width: 8px; + height: 16px; + background: var(--cyan); + box-shadow: 0 0 8px rgba(33, 234, 255, 0.7); + animation: cursor-blink 1.05s steps(1) infinite; +} +@keyframes cursor-blink { + 0%, 50% { opacity: 1; } + 51%, 100% { opacity: 0; } +} +.cmd-hint { + position: absolute; + top: 10px; + right: 14px; + font-size: 10px; + letter-spacing: 0.24em; + color: var(--cyan-muted); + pointer-events: none; + transition: color 0.2s ease; +} +.cmd-box.copied .cmd-hint { color: var(--cyan); } +.cmd-box.copied { border-color: rgba(33, 234, 255, 0.55); } + +.docs-link { + display: inline-flex; + align-items: center; + gap: 8px; + color: var(--cyan); + font-size: 13px; + letter-spacing: 0.16em; + text-transform: uppercase; + border-bottom: 1px solid rgba(33, 234, 255, 0.25); + padding-bottom: 4px; + width: fit-content; + text-shadow: 0 0 8px rgba(33, 234, 255, 0.35); + transition: color 0.2s ease, border-color 0.2s ease; +} +.docs-link:hover { + color: var(--cyan-soft); + border-color: var(--cyan); +} +.docs-link .arrow { + transition: transform 0.25s ease; +} +.docs-link:hover .arrow { transform: translateX(4px); } + +/* ───────────────── HUD ───────────────── */ +.hud { + position: fixed; + inset: 0; + pointer-events: none; + z-index: 100; +} +.hud-brand { + position: absolute; + top: 24px; + left: 28px; + font-size: 11px; + letter-spacing: 0.4em; + color: var(--cyan); + text-shadow: 0 0 8px rgba(33, 234, 255, 0.5); +} +.hud-meta { + position: absolute; + top: 24px; + right: 28px; + display: flex; + align-items: center; + gap: 12px; + font-size: 11px; + letter-spacing: 0.28em; + color: var(--cyan-muted); +} +.hud-meta-line { + width: 36px; height: 1px; + background: linear-gradient(90deg, transparent, var(--cyan-muted)); +} +.hud-nav { + position: absolute; + right: 28px; + top: 50%; + transform: translateY(-50%); + display: flex; + flex-direction: column; + gap: 18px; +} +.hud-step { + display: flex; + align-items: center; + gap: 10px; + font-size: 10px; + letter-spacing: 0.24em; + color: var(--ink-low); + transition: color 0.4s ease; +} +.hud-step-dot { + width: 6px; height: 6px; + background: transparent; + border: 1px solid currentColor; + border-radius: 50%; +} +.hud-step.is-past { color: var(--cyan-muted); } +.hud-step.is-active { color: var(--cyan); text-shadow: 0 0 8px rgba(33, 234, 255, 0.5); } +.hud-step.is-active .hud-step-dot { + background: var(--cyan); + box-shadow: 0 0 8px var(--cyan); +} + +/* Scroll cue */ +.scroll-cue { + position: absolute; + bottom: 36px; + left: 50%; + transform: translateX(-50%); + display: flex; + flex-direction: column; + align-items: center; + gap: 8px; + z-index: 11; + opacity: 0.7; +} +.scroll-cue-line { + width: 1px; + height: 36px; + background: linear-gradient(180deg, transparent, var(--cyan)); + animation: cue-drop 2.4s ease-in-out infinite; +} +@keyframes cue-drop { + 0%, 100% { transform: translateY(0); opacity: 0.4; } + 50% { transform: translateY(8px); opacity: 1; } +} +.scroll-cue-label { + font-size: 9px; + letter-spacing: 0.4em; + color: var(--cyan-muted); +} + +/* ───────────────── Mobile recompose ───────────────── */ +@media (max-width: 760px) { + .content-hero { + align-items: flex-start; + padding: 22vh 8vw 0; + } + .pixel-letter > * { /* allow scaling? handled by JS, here just nudge */ } + .bg-wrap { transform-origin: 75% 70% !important; } + .scene-product .bg-wrap { transform-origin: 60% 80% !important; } + .scene-install .bg-wrap { transform-origin: 70% 65% !important; } + + .content-product, .content-install { + padding: 18vh 8vw 0; + justify-content: flex-start; + max-width: 100%; + } + .headline { font-size: clamp(34px, 9vw, 56px); white-space: normal; } + .body, .subheadline { white-space: normal; max-width: 100%; } + .cmd-body { font-size: 12px; padding: 14px 14px 16px; } + .cmd-hint { display: none; } + .hud-nav { right: 14px; gap: 12px; } + .hud-step-label { display: none; } + .hud-meta { right: 14px; } + .hud-meta-line { width: 18px; } + .hud-brand { left: 14px; } + .scroll-cue { bottom: 18px; } + .chip-glow { width: 180px; height: 180px; margin: -90px 0 0 -90px; } +} + +/* Reduced motion */ +@media (prefers-reduced-motion: reduce) { + .px.on, + .ember, + .spark, + .spark-core, + .smoke-puff, + .conveyor-pulse, + .chip-pulse, + .chip-glow, + .ghost-r, .ghost-c, + .logo-wrap, + .logo-scanlines, + .grain, + .arm-pivot, + .scroll-cue-line { + animation: none !important; + } + .smoke-puff { opacity: 0.3; } +}