{
  "id": 100,
  "slug": "lusion-sculptural-kinetic",
  "name": "Lusion Sculptural Kinetic",
  "kind": "style",
  "family": "Kinetic, Film & Creative Studio",
  "sourceSite": {
    "name": "Lusion",
    "url": "https://lusion.co/",
    "verifiedStatus": 200
  },
  "tagline": "Cutting-edge spatial creative studio pairing an elastic physics-orb canvas hero with oversized sculptural display typography.",
  "whyUnique": "Blends playful spring-physics interactivity with high-craft studio minimalism—turning the hero into a sculptural tactile playground where glowing elastic orbs respond to pointer velocity.",
  "theme": "dark",
  "mobileStrength": "high",
  "tags": [
    "sculptural-kinetic",
    "physics-canvas",
    "creative-studio",
    "oversized-display",
    "tactile-motion",
    "obsidian-vermilion"
  ],
  "bestFor": [
    "Flagship digital & 3D creative studios",
    "Interactive product & hardware unveilings",
    "Design-engineer personal portfolios",
    "High-craft brand storytelling experiences"
  ],
  "palette": [
    {
      "role": "canvas",
      "hex": "#101114",
      "name": "Studio Obsidian"
    },
    {
      "role": "surface",
      "hex": "#1A1C22",
      "name": "Sculpted Slate"
    },
    {
      "role": "ink",
      "hex": "#F7F7F5",
      "name": "Gallery Chalk"
    },
    {
      "role": "accent",
      "hex": "#FF5A26",
      "name": "Kinetic Vermilion"
    },
    {
      "role": "muted",
      "hex": "#8A8D96",
      "name": "Alloy Gray"
    }
  ],
  "typography": {
    "display": "Syne, sans-serif",
    "body": "Plus Jakarta Sans, -apple-system, sans-serif",
    "mono": "JetBrains Mono, ui-monospace, monospace",
    "googleFontsUrl": "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@400;500;600&family=Syne:wght@700;800&display=swap",
    "scaleNotes": "Monumental Syne manifesto headlines (clamp(2.4rem, 7vw, 6rem)) contrasted with clean 15px studio copy and 11px mono case-study indices."
  },
  "layoutNotes": "Full-bleed interactive physics-orb canvas hero, bold oversized manifesto statement, and an interactive case-study spotlight deck with smooth visual state transitions.",
  "interactionNotes": "HTML5 Canvas 2D elastic-orb physics simulation reacts to mouse/touch velocity with impulse bursts on tap; clicking case-study cards swaps the live spotlight preview and physics palette.",
  "mobileNotes": "Touch-impulse physics canvas scales cleanly to 390px with >=44px case-study tabs and zero horizontal scroll.",
  "agentGuardrails": {
    "do": [
      "Make the hero physics canvas responsive to both desktop hover velocity and mobile tap impulses.",
      "Anchor oversized sculptural typography with generous obsidian negative space and a single bold vermilion accent.",
      "Keep case-study transitions fluid and snappy (250–350ms cubic-bezier)."
    ],
    "dont": [
      "Do not overload the canvas with heavy blur filters that tank mobile frame rates.",
      "Do not clutter the studio manifesto with dense SaaS pricing grids."
    ]
  },
  "demoFile": "demos/lusion-sculptural-kinetic.html",
  "thumbDesktop": "thumbs/lusion-sculptural-kinetic-desktop.webp",
  "thumbMobile": "thumbs/lusion-sculptural-kinetic-mobile.webp",
  "urls": {
    "page": "https://templates.michaelpitts.net/t/lusion-sculptural-kinetic",
    "markdown": "https://templates.michaelpitts.net/t/lusion-sculptural-kinetic.md",
    "api": "https://templates.michaelpitts.net/api/templates/lusion-sculptural-kinetic",
    "demo": "https://templates.michaelpitts.net/demos/lusion-sculptural-kinetic.html",
    "thumbDesktop": "https://templates.michaelpitts.net/thumbs/lusion-sculptural-kinetic-desktop.webp",
    "thumbMobile": "https://templates.michaelpitts.net/thumbs/lusion-sculptural-kinetic-mobile.webp"
  },
  "agentPrompt": "Design & build using template #100 \"Lusion Sculptural Kinetic\" (style / Kinetic, Film & Creative Studio, dark theme).\nFull AI blueprint & standalone starter code: https://templates.michaelpitts.net/t/lusion-sculptural-kinetic.md\nLive demo: https://templates.michaelpitts.net/demos/lusion-sculptural-kinetic.html\nReal-world inspiration: Lusion (https://lusion.co/)\n\nCore aesthetic: Blends playful spring-physics interactivity with high-craft studio minimalism—turning the hero into a sculptural tactile playground where glowing elastic orbs respond to pointer velocity.\nPalette: canvas: #101114 (Studio Obsidian), surface: #1A1C22 (Sculpted Slate), ink: #F7F7F5 (Gallery Chalk), accent: #FF5A26 (Kinetic Vermilion), muted: #8A8D96 (Alloy Gray)\nTypography: Display=\"Syne, sans-serif\", Body=\"Plus Jakarta Sans, -apple-system, sans-serif\", Mono=\"JetBrains Mono, ui-monospace, monospace\"\nLayout: Full-bleed interactive physics-orb canvas hero, bold oversized manifesto statement, and an interactive case-study spotlight deck with smooth visual state transitions.\nInteractions: HTML5 Canvas 2D elastic-orb physics simulation reacts to mouse/touch velocity with impulse bursts on tap; clicking case-study cards swaps the live spotlight preview and physics palette.\nMobile: Touch-impulse physics canvas scales cleanly to 390px with >=44px case-study tabs and zero horizontal scroll.\n\nGuardrails:\n- DO: Make the hero physics canvas responsive to both desktop hover velocity and mobile tap impulses.\n- DO: Anchor oversized sculptural typography with generous obsidian negative space and a single bold vermilion accent.\n- DO: Keep case-study transitions fluid and snappy (250–350ms cubic-bezier).\n- DON'T: Do not overload the canvas with heavy blur filters that tank mobile frame rates.\n- DON'T: Do not clutter the studio manifesto with dense SaaS pricing grids.",
  "sourceCode": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>LUSION — Sculptural Realtime &amp; Kinetic Studio</title>\n<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n<link href=\"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@400;500;600&family=Syne:wght@600;700;800&display=swap\" rel=\"stylesheet\">\n<style>\n  :root {\n    --bg: #101114;\n    --surface: #1A1C22;\n    --surface-2: #22252E;\n    --ink: #F7F7F5;\n    --accent: #FF5A26;\n    --accent-soft: rgba(255, 90, 38, 0.16);\n    --muted: #8A8D96;\n    --line: rgba(247, 247, 245, 0.11);\n    --display: 'Syne', system-ui, sans-serif;\n    --sans: 'Plus Jakarta Sans', system-ui, sans-serif;\n    --mono: 'JetBrains Mono', ui-monospace, monospace;\n  }\n\n  *, *::before, *::after { box-sizing: border-box; }\n  html, body {\n    margin: 0;\n    padding: 0;\n    background: var(--bg);\n    color: var(--ink);\n    font-family: var(--sans);\n    overflow-x: hidden;\n    -webkit-font-smoothing: antialiased;\n  }\n  a { color: inherit; text-decoration: none; }\n  button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }\n\n  /* Floating Header */\n  .site-header {\n    position: sticky;\n    top: 0;\n    z-index: 50;\n    background: rgba(16, 17, 20, 0.85);\n    backdrop-filter: blur(14px);\n    border-bottom: 1px solid var(--line);\n  }\n  .header-row {\n    max-width: 1320px;\n    margin: 0 auto;\n    padding: 0.7rem clamp(1rem, 4vw, 2.5rem);\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    gap: 1rem;\n  }\n  .logo {\n    display: inline-flex;\n    align-items: center;\n    gap: 0.65rem;\n    min-height: 44px;\n  }\n  .orb-dot {\n    width: 16px;\n    height: 16px;\n    border-radius: 50%;\n    background: radial-gradient(circle at 32% 32%, #FFB399, var(--accent) 62%, #7A1E04);\n    box-shadow: 0 0 14px rgba(255, 90, 38, 0.65);\n  }\n  .logo-name {\n    font-family: var(--display);\n    font-weight: 800;\n    font-size: 1.15rem;\n    letter-spacing: 0.14em;\n    text-transform: uppercase;\n  }\n  .nav-links {\n    display: flex;\n    align-items: center;\n    gap: 1.5rem;\n  }\n  .nav-links a {\n    font-family: var(--mono);\n    font-size: 0.74rem;\n    letter-spacing: 0.08em;\n    text-transform: uppercase;\n    color: var(--muted);\n    min-height: 44px;\n    display: inline-flex;\n    align-items: center;\n  }\n  .nav-links a:hover, .nav-links a.active { color: var(--ink); }\n  .menu-btn {\n    display: none;\n    min-width: 44px;\n    min-height: 44px;\n    padding: 0 0.8rem;\n    border: 1px solid var(--line);\n    border-radius: 999px;\n    font-family: var(--mono);\n    font-size: 0.72rem;\n    align-items: center;\n    justify-content: center;\n  }\n  .mobile-nav {\n    display: none;\n    flex-direction: column;\n    background: var(--surface);\n    border-top: 1px solid var(--line);\n    padding: 0.5rem 1.25rem 1rem;\n  }\n  .mobile-nav.open { display: flex; }\n  .mobile-nav a {\n    min-height: 44px;\n    display: flex;\n    align-items: center;\n    font-family: var(--mono);\n    font-size: 0.78rem;\n    text-transform: uppercase;\n    border-bottom: 1px solid var(--line);\n  }\n\n  /* Main Shell */\n  .shell {\n    max-width: 1320px;\n    margin: 0 auto;\n    padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 4vw, 2.5rem) 4rem;\n  }\n\n  /* Sculptural Physics Hero */\n  .sculpt-hero {\n    position: relative;\n    border-radius: 22px;\n    border: 1px solid var(--line);\n    background: radial-gradient(circle at 70% 35%, #1F1B1C 0%, #101114 68%);\n    min-height: clamp(460px, 68vh, 640px);\n    overflow: hidden;\n    display: flex;\n    flex-direction: column;\n    justify-content: space-between;\n  }\n  #orbCanvas {\n    position: absolute;\n    inset: 0;\n    width: 100%;\n    height: 100%;\n    display: block;\n    touch-action: none;\n  }\n  .hero-top {\n    position: relative;\n    z-index: 4;\n    padding: 1.25rem 1.5rem;\n    display: flex;\n    flex-wrap: wrap;\n    justify-content: space-between;\n    align-items: center;\n    gap: 0.75rem;\n    pointer-events: none;\n  }\n  .pill-tag {\n    font-family: var(--mono);\n    font-size: 0.7rem;\n    letter-spacing: 0.12em;\n    text-transform: uppercase;\n    padding: 0.4rem 0.85rem;\n    border-radius: 999px;\n    background: rgba(16, 17, 20, 0.72);\n    border: 1px solid var(--line);\n    color: var(--ink);\n  }\n  .pill-tag strong { color: var(--accent); font-weight: 500; }\n\n  .hero-manifesto {\n    position: relative;\n    z-index: 4;\n    padding: 1rem clamp(1.25rem, 3.5vw, 2.5rem);\n    max-width: 840px;\n    pointer-events: none;\n  }\n  .hero-manifesto h1 {\n    margin: 0;\n    font-family: var(--display);\n    font-weight: 800;\n    font-size: clamp(2.25rem, 6.2vw, 5.2rem);\n    line-height: 0.94;\n    letter-spacing: -0.03em;\n    text-transform: uppercase;\n  }\n  .hero-manifesto h1 span { color: var(--accent); }\n  .hero-manifesto p {\n    margin: 1rem 0 0;\n    font-size: clamp(0.95rem, 1.5vw, 1.12rem);\n    line-height: 1.6;\n    color: rgba(247, 247, 245, 0.76);\n    max-width: 48ch;\n  }\n\n  .physics-dock {\n    position: relative;\n    z-index: 5;\n    padding: 1rem 1.5rem;\n    display: flex;\n    flex-wrap: wrap;\n    align-items: center;\n    justify-content: space-between;\n    gap: 0.75rem;\n    background: rgba(16, 17, 20, 0.72);\n    border-top: 1px solid var(--line);\n    backdrop-filter: blur(10px);\n  }\n  .dock-btns {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 0.55rem;\n  }\n  .phys-btn {\n    min-height: 44px;\n    padding: 0 1rem;\n    border-radius: 999px;\n    border: 1px solid var(--line);\n    background: var(--surface);\n    font-family: var(--mono);\n    font-size: 0.72rem;\n    letter-spacing: 0.08em;\n    text-transform: uppercase;\n    transition: border-color 0.2s, background 0.2s, color 0.2s;\n  }\n  .phys-btn:hover { border-color: var(--accent); }\n  .phys-btn.active {\n    background: var(--accent);\n    border-color: var(--accent);\n    color: #101114;\n    font-weight: 700;\n  }\n  .vel-readout {\n    font-family: var(--mono);\n    font-size: 0.72rem;\n    color: var(--muted);\n  }\n  .vel-readout b { color: var(--accent); }\n\n  /* Case-Study Spotlight Deck */\n  .deck-section {\n    margin-top: 3.25rem;\n  }\n  .deck-header {\n    display: flex;\n    flex-wrap: wrap;\n    justify-content: space-between;\n    align-items: flex-end;\n    gap: 1rem;\n    margin-bottom: 1.5rem;\n  }\n  .deck-header h2 {\n    margin: 0;\n    font-family: var(--display);\n    font-weight: 700;\n    font-size: clamp(1.6rem, 3.2vw, 2.5rem);\n    letter-spacing: -0.02em;\n  }\n  .deck-controls {\n    display: flex;\n    align-items: center;\n    gap: 0.5rem;\n  }\n  .nav-circle {\n    min-width: 46px;\n    min-height: 46px;\n    border-radius: 50%;\n    border: 1px solid var(--line);\n    background: var(--surface);\n    font-family: var(--mono);\n    font-size: 1rem;\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    transition: border-color 0.2s, background 0.2s;\n  }\n  .nav-circle:hover {\n    border-color: var(--accent);\n    background: var(--accent-soft);\n  }\n\n  .spotlight-card {\n    background: var(--surface);\n    border: 1px solid var(--line);\n    border-radius: 20px;\n    overflow: hidden;\n    display: grid;\n    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);\n    transition: opacity 0.22s ease, transform 0.22s ease;\n  }\n  .spotlight-card.switching {\n    opacity: 0.45;\n    transform: translateY(6px);\n  }\n  .spot-visual {\n    background: #0B0C0F;\n    min-height: 320px;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    position: relative;\n  }\n  .spot-visual svg { width: 100%; height: 100%; display: block; }\n  .spot-index {\n    position: absolute;\n    top: 1rem;\n    left: 1rem;\n    font-family: var(--mono);\n    font-size: 0.72rem;\n    padding: 0.35rem 0.7rem;\n    border-radius: 999px;\n    background: rgba(16, 17, 20, 0.8);\n    border: 1px solid var(--line);\n    color: var(--accent);\n  }\n  .spot-body {\n    padding: clamp(1.25rem, 3vw, 2.25rem);\n    display: flex;\n    flex-direction: column;\n    justify-content: space-between;\n    gap: 1.25rem;\n  }\n  .spot-kicker {\n    font-family: var(--mono);\n    font-size: 0.72rem;\n    letter-spacing: 0.12em;\n    text-transform: uppercase;\n    color: var(--accent);\n  }\n  .spot-title {\n    margin: 0.4rem 0 0.75rem;\n    font-family: var(--display);\n    font-size: clamp(1.6rem, 2.8vw, 2.3rem);\n    line-height: 1.05;\n  }\n  .spot-desc {\n    margin: 0;\n    font-size: 0.96rem;\n    line-height: 1.68;\n    color: rgba(247, 247, 245, 0.8);\n  }\n  .spot-stats {\n    display: grid;\n    grid-template-columns: repeat(2, minmax(0, 1fr));\n    gap: 0.75rem;\n    padding: 0.9rem;\n    border-radius: 12px;\n    background: rgba(16, 17, 20, 0.55);\n    border: 1px solid var(--line);\n  }\n  .spot-stats dt {\n    font-family: var(--mono);\n    font-size: 0.65rem;\n    color: var(--muted);\n    text-transform: uppercase;\n  }\n  .spot-stats dd {\n    margin: 0.25rem 0 0;\n    font-family: var(--display);\n    font-size: 1.15rem;\n  }\n  .spot-actions {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 0.65rem;\n    align-items: center;\n  }\n  .cta-pill {\n    min-height: 46px;\n    padding: 0 1.3rem;\n    border-radius: 999px;\n    background: var(--accent);\n    color: #101114;\n    font-family: var(--mono);\n    font-size: 0.75rem;\n    font-weight: 700;\n    letter-spacing: 0.08em;\n    text-transform: uppercase;\n  }\n  .deck-pills {\n    margin-top: 1.1rem;\n    display: grid;\n    grid-template-columns: repeat(4, minmax(0, 1fr));\n    gap: 0.75rem;\n  }\n  .deck-tab {\n    min-height: 52px;\n    padding: 0.65rem 0.9rem;\n    border-radius: 12px;\n    border: 1px solid var(--line);\n    background: var(--surface);\n    text-align: left;\n    display: flex;\n    flex-direction: column;\n    gap: 0.2rem;\n    transition: border-color 0.2s, background 0.2s;\n  }\n  .deck-tab.active {\n    border-color: var(--accent);\n    background: var(--surface-2);\n  }\n  .deck-tab span {\n    font-family: var(--mono);\n    font-size: 0.66rem;\n    color: var(--accent);\n  }\n  .deck-tab strong {\n    font-size: 0.88rem;\n    font-weight: 600;\n  }\n\n  footer {\n    max-width: 1320px;\n    margin: 0 auto;\n    padding: 2rem clamp(1rem, 4vw, 2.5rem) 3rem;\n    border-top: 1px solid var(--line);\n    display: flex;\n    flex-wrap: wrap;\n    justify-content: space-between;\n    gap: 1rem;\n    font-family: var(--mono);\n    font-size: 0.72rem;\n    color: var(--muted);\n  }\n\n  @media (max-width: 960px) {\n    .spotlight-card { grid-template-columns: 1fr; }\n    .deck-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n  }\n  @media (max-width: 640px) {\n    .nav-links { display: none; }\n    .menu-btn { display: inline-flex; }\n    .deck-pills { grid-template-columns: 1fr; }\n  }\n</style>\n</head>\n<body>\n<header class=\"site-header\">\n  <div class=\"header-row\">\n    <a href=\"#hero\" class=\"logo\">\n      <span class=\"orb-dot\" aria-hidden=\"true\"></span>\n      <span class=\"logo-name\">Lusion</span>\n    </a>\n    <nav class=\"nav-links\" aria-label=\"Primary\">\n      <a href=\"#hero\" class=\"active\">Sculpture</a>\n      <a href=\"#spotlight\">Case Deck</a>\n      <a href=\"#footer\">Bristol UK</a>\n    </nav>\n    <button class=\"menu-btn\" id=\"menuBtn\" aria-expanded=\"false\" aria-controls=\"mobileNav\">MENU</button>\n  </div>\n  <nav class=\"mobile-nav\" id=\"mobileNav\" aria-label=\"Mobile Navigation\">\n    <a href=\"#hero\">Sculptural Hero</a>\n    <a href=\"#spotlight\">Spotlight Case Deck</a>\n    <a href=\"#footer\">Studio Contact</a>\n  </nav>\n</header>\n\n<main class=\"shell\">\n  <section class=\"sculpt-hero\" id=\"hero\" aria-label=\"Interactive elastic orb physics canvas\">\n    <canvas id=\"orbCanvas\"></canvas>\n\n    <div class=\"hero-top\">\n      <span class=\"pill-tag\">REALTIME CREATIVE STUDIO · <strong>BRISTOL, UK</strong></span>\n      <span class=\"pill-tag\">DRAG OR SWIPE TO DEFORM ORBS</span>\n    </div>\n\n    <div class=\"hero-manifesto\">\n      <h1>WE SCULPT <span>REALTIME</span> DIGITAL MATTER.</h1>\n      <p>Lusion pairs procedural physics, tactile shaders, and kinetic typography to build unforgettable spatial products for ambitious brands.</p>\n    </div>\n\n    <div class=\"physics-dock\">\n      <div class=\"dock-btns\">\n        <button class=\"phys-btn active\" id=\"gravityBtn\" aria-pressed=\"true\">Magnetic Core</button>\n        <button class=\"phys-btn\" id=\"scatterBtn\">Scatter Impulse</button>\n        <button class=\"phys-btn\" id=\"elasticBtn\" aria-pressed=\"false\">High Viscosity</button>\n      </div>\n      <span class=\"vel-readout\">IMPULSE: <b id=\"impulseVal\">0.0</b> N·S</span>\n    </div>\n  </section>\n\n  <section class=\"deck-section\" id=\"spotlight\">\n    <div class=\"deck-header\">\n      <h2>Case-Study Spotlight Deck</h2>\n      <div class=\"deck-controls\">\n        <button class=\"nav-circle\" id=\"prevCase\" aria-label=\"Previous case study\">←</button>\n        <button class=\"nav-circle\" id=\"nextCase\" aria-label=\"Next case study\">→</button>\n      </div>\n    </div>\n\n    <article class=\"spotlight-card\" id=\"spotlightCard\">\n      <div class=\"spot-visual\">\n        <span class=\"spot-index\" id=\"spotIndex\">01 / 04</span>\n        <div id=\"spotSvg\" style=\"width:100%;height:100%;\"></div>\n      </div>\n      <div class=\"spot-body\">\n        <div>\n          <div class=\"spot-kicker\" id=\"spotKicker\">SPATIAL AUDIO HARDWARE · 2026</div>\n          <h3 class=\"spot-title\" id=\"spotTitle\">Solstice Acoustic Orb</h3>\n          <p class=\"spot-desc\" id=\"spotDesc\"></p>\n        </div>\n        <dl class=\"spot-stats\">\n          <div><dt>Frame Budget</dt><dd id=\"spotStat1\">120 FPS</dd></div>\n          <div><dt>Session Depth</dt><dd id=\"spotStat2\">4m 42s</dd></div>\n        </dl>\n        <div class=\"spot-actions\">\n          <button class=\"cta-pill\" id=\"launchBtn\">Inspect Interactive Build</button>\n          <span class=\"vel-readout\" id=\"launchStatus\" role=\"status\" aria-live=\"polite\"></span>\n        </div>\n      </div>\n    </article>\n\n    <div class=\"deck-pills\" id=\"deckPills\" role=\"tablist\" aria-label=\"Case studies\"></div>\n  </section>\n</main>\n\n<footer id=\"footer\">\n  <span>LUSION LABS · BRISTOL / LONDON</span>\n  <span>SCULPTURAL WEBGL &amp; KINETIC INTERACTION</span>\n</footer>\n\n<script>\n// 1. Sculptural Elastic-Orb Physics Canvas\nconst canvas = document.getElementById('orbCanvas');\nconst ctx = canvas.getContext('2d');\nconst hero = document.getElementById('hero');\n\nlet W = 0, H = 0, dpr = 1;\nlet magnetic = true;\nlet highViscosity = false;\nlet pointer = { x: 0.65, y: 0.45, px: 0, py: 0, vx: 0, vy: 0, active: false };\n\nconst ORBS = [\n  { x: 0.64, y: 0.44, vx: 0, vy: 0, r: 74, accent: true },\n  { x: 0.74, y: 0.56, vx: 0, vy: 0, r: 54, accent: false },\n  { x: 0.56, y: 0.58, vx: 0, vy: 0, r: 44, accent: true },\n  { x: 0.80, y: 0.36, vx: 0, vy: 0, r: 38, accent: false },\n  { x: 0.48, y: 0.38, vx: 0, vy: 0, r: 32, accent: false },\n  { x: 0.70, y: 0.28, vx: 0, vy: 0, r: 28, accent: true }\n];\n\nfunction resizeCanvas() {\n  const rect = hero.getBoundingClientRect();\n  dpr = Math.min(window.devicePixelRatio || 1, 2);\n  W = rect.width;\n  H = rect.height;\n  canvas.width = Math.round(W * dpr);\n  canvas.height = Math.round(H * dpr);\n  ctx.setTransform(dpr, 0, 0, dpr, 0, 0);\n  pointer.px = pointer.x * W;\n  pointer.py = pointer.y * H;\n}\nwindow.addEventListener('resize', resizeCanvas);\nresizeCanvas();\n\nfunction onPointer(e) {\n  const rect = hero.getBoundingClientRect();\n  const nx = Math.max(0, Math.min(1, (e.clientX - rect.left) / rect.width));\n  const ny = Math.max(0, Math.min(1, (e.clientY - rect.top) / rect.height));\n  pointer.vx = (nx * W - pointer.px) * 0.4;\n  pointer.vy = (ny * H - pointer.py) * 0.4;\n  pointer.x = nx;\n  pointer.y = ny;\n  pointer.px = nx * W;\n  pointer.py = ny * H;\n  pointer.active = true;\n  document.getElementById('impulseVal').textContent = Math.hypot(pointer.vx, pointer.vy).toFixed(1);\n}\nhero.addEventListener('pointermove', onPointer);\nhero.addEventListener('pointerdown', onPointer);\n\nfunction stepOrbs() {\n  ctx.clearRect(0, 0, W, H);\n  const damping = highViscosity ? 0.86 : 0.94;\n  const centerX = W * 0.68;\n  const centerY = H * 0.46;\n\n  // Elastic spring connections\n  for (let i = 0; i < ORBS.length; i++) {\n    const a = ORBS[i];\n    const ax = a.x * W;\n    const ay = a.y * H;\n    for (let j = i + 1; j < ORBS.length; j++) {\n      const b = ORBS[j];\n      const bx = b.x * W;\n      const by = b.y * H;\n      const dx = bx - ax;\n      const dy = by - ay;\n      const d = Math.hypot(dx, dy) || 1;\n      const minD = (a.r + b.r) * 0.85;\n      if (d < minD) {\n        const push = (minD - d) * 0.012;\n        a.vx -= (dx / d) * push;\n        a.vy -= (dy / d) * push;\n        b.vx += (dx / d) * push;\n        b.vy += (dy / d) * push;\n      }\n      if (d < 210) {\n        ctx.strokeStyle = `rgba(255, 90, 38, ${((1 - d / 210) * 0.26).toFixed(3)})`;\n        ctx.lineWidth = 1.5;\n        ctx.beginPath();\n        ctx.moveTo(ax, ay);\n        ctx.lineTo(bx, by);\n        ctx.stroke();\n      }\n    }\n  }\n\n  ORBS.forEach((o) => {\n    let ox = o.x * W;\n    let oy = o.y * H;\n\n    if (magnetic) {\n      o.vx += (centerX - ox) * 0.0022;\n      o.vy += (centerY - oy) * 0.0022;\n    }\n\n    const dxp = ox - pointer.px;\n    const dyp = oy - pointer.py;\n    const dp = Math.hypot(dxp, dyp) || 1;\n    if (dp < 190) {\n      const force = (1 - dp / 190) * 1.65;\n      o.vx += (dxp / dp) * force + pointer.vx * 0.06;\n      o.vy += (dyp / dp) * force + pointer.vy * 0.06;\n    }\n\n    o.vx *= damping;\n    o.vy *= damping;\n    ox += o.vx;\n    oy += o.vy;\n\n    if (ox < o.r) { ox = o.r; o.vx *= -0.7; }\n    if (ox > W - o.r) { ox = W - o.r; o.vx *= -0.7; }\n    if (oy < o.r) { oy = o.r; o.vy *= -0.7; }\n    if (oy > H - o.r) { oy = H - o.r; o.vy *= -0.7; }\n\n    o.x = ox / W;\n    o.y = oy / H;\n\n    const grad = ctx.createRadialGradient(\n      ox - o.r * 0.32, oy - o.r * 0.32, o.r * 0.1,\n      ox, oy, o.r\n    );\n    if (o.accent) {\n      grad.addColorStop(0, '#FFB99F');\n      grad.addColorStop(0.42, '#FF5A26');\n      grad.addColorStop(1, '#3A1107');\n    } else {\n      grad.addColorStop(0, '#494E5C');\n      grad.addColorStop(0.55, '#1D2028');\n      grad.addColorStop(1, '#0C0D10');\n    }\n\n    ctx.fillStyle = grad;\n    ctx.beginPath();\n    ctx.arc(ox, oy, o.r, 0, Math.PI * 2);\n    ctx.fill();\n\n    ctx.strokeStyle = o.accent ? 'rgba(255, 190, 165, 0.38)' : 'rgba(247, 247, 245, 0.14)';\n    ctx.lineWidth = 1;\n    ctx.stroke();\n  });\n\n  pointer.vx *= 0.82;\n  pointer.vy *= 0.82;\n  requestAnimationFrame(stepOrbs);\n}\nstepOrbs();\n\ndocument.getElementById('gravityBtn').addEventListener('click', (e) => {\n  magnetic = !magnetic;\n  e.currentTarget.classList.toggle('active', magnetic);\n  e.currentTarget.setAttribute('aria-pressed', magnetic ? 'true' : 'false');\n});\ndocument.getElementById('elasticBtn').addEventListener('click', (e) => {\n  highViscosity = !highViscosity;\n  e.currentTarget.classList.toggle('active', highViscosity);\n  e.currentTarget.setAttribute('aria-pressed', highViscosity ? 'true' : 'false');\n});\ndocument.getElementById('scatterBtn').addEventListener('click', () => {\n  ORBS.forEach(o => {\n    o.vx += (Math.random() - 0.5) * 26;\n    o.vy += (Math.random() - 0.5) * 26;\n  });\n  document.getElementById('impulseVal').textContent = '24.8';\n});\n\n// 2. Spotlight Case-Study Deck\nconst CASES = [\n  {\n    idx: '01 / 04',\n    short: 'Solstice Audio',\n    kicker: 'SPATIAL AUDIO HARDWARE · 2026',\n    title: 'Solstice Acoustic Orb',\n    desc: 'A tactile WebGL product launch where visitors sculpt live acoustic waveforms around a brushed-obsidian speaker enclosure with spring-driven camera inertia.',\n    s1: '120 FPS',\n    s2: '4m 42s',\n    svg: `<svg viewBox=\"0 0 600 400\" preserveAspectRatio=\"xMidYMid slice\" xmlns=\"http://www.w3.org/2000/svg\">\n      <defs><radialGradient id=\"c1\" cx=\"42%\" cy=\"38%\" r=\"55%\"><stop offset=\"0%\" stop-color=\"#FF9770\"/><stop offset=\"48%\" stop-color=\"#FF5A26\"/><stop offset=\"100%\" stop-color=\"#140D0B\"/></radialGradient></defs>\n      <rect width=\"600\" height=\"400\" fill=\"#0B0C0F\"/>\n      <circle cx=\"300\" cy=\"200\" r=\"118\" fill=\"url(#c1)\"/>\n      <ellipse cx=\"300\" cy=\"200\" rx=\"195\" ry=\"52\" fill=\"none\" stroke=\"#F7F7F5\" stroke-opacity=\"0.32\" transform=\"rotate(-14 300 200)\"/>\n      <ellipse cx=\"300\" cy=\"200\" rx=\"165\" ry=\"38\" fill=\"none\" stroke=\"#FF5A26\" stroke-opacity=\"0.6\" transform=\"rotate(18 300 200)\"/>\n    </svg>`\n  },\n  {\n    idx: '02 / 04',\n    short: 'Monolith XR',\n    kicker: 'MIXED REALITY OS · 2025',\n    title: 'Monolith Spatial Canvas',\n    desc: 'Zero-gravity gesture choreography and glass-refraction shaders crafted for an upcoming spatial headset developer keynote.',\n    s1: '90 HZ XR',\n    s2: '6m 15s',\n    svg: `<svg viewBox=\"0 0 600 400\" preserveAspectRatio=\"xMidYMid slice\" xmlns=\"http://www.w3.org/2000/svg\">\n      <rect width=\"600\" height=\"400\" fill=\"#0D0F14\"/>\n      <rect x=\"190\" y=\"70\" width=\"220\" height=\"260\" rx=\"28\" fill=\"#1C2029\" stroke=\"#FF5A26\" stroke-width=\"2\"/>\n      <rect x=\"225\" y=\"105\" width=\"150\" height=\"190\" rx=\"18\" fill=\"#101114\" stroke=\"#F7F7F5\" stroke-opacity=\"0.35\"/>\n      <circle cx=\"300\" cy=\"200\" r=\"42\" fill=\"#FF5A26\" opacity=\"0.88\"/>\n    </svg>`\n  },\n  {\n    idx: '03 / 04',\n    short: 'Kinetic Labs',\n    kicker: 'GENERATIVE BRAND SYSTEM · 2026',\n    title: 'Kinetic Fluid Identity',\n    desc: 'An elastic metaball brand engine that turns live social sentiment and audio input into bespoke 3D posters in the browser.',\n    s1: '60 FPS',\n    s2: '3m 58s',\n    svg: `<svg viewBox=\"0 0 600 400\" preserveAspectRatio=\"xMidYMid slice\" xmlns=\"http://www.w3.org/2000/svg\">\n      <rect width=\"600\" height=\"400\" fill=\"#0E1014\"/>\n      <circle cx=\"220\" cy=\"210\" r=\"88\" fill=\"#FF5A26\"/>\n      <circle cx=\"340\" cy=\"185\" r=\"74\" fill=\"#252934\" stroke=\"#F7F7F5\" stroke-opacity=\"0.3\"/>\n      <circle cx=\"415\" cy=\"235\" r=\"44\" fill=\"#FF5A26\" opacity=\"0.78\"/>\n    </svg>`\n  },\n  {\n    idx: '04 / 04',\n    short: 'Vela Motors',\n    kicker: 'ELECTRIC HYPERCAR · 2026',\n    title: 'Vela Aero Wind-Tunnel',\n    desc: 'Interactive aerodynamic ribbon simulation letting buyers inspect real-time downforce streams across carbon bodywork.',\n    s1: '4K WEBGL',\n    s2: '5m 19s',\n    svg: `<svg viewBox=\"0 0 600 400\" preserveAspectRatio=\"xMidYMid slice\" xmlns=\"http://www.w3.org/2000/svg\">\n      <rect width=\"600\" height=\"400\" fill=\"#0A0B0E\"/>\n      <path d=\"M40 245 Q220 110 560 155\" fill=\"none\" stroke=\"#FF5A26\" stroke-width=\"4\"/>\n      <path d=\"M40 270 Q240 150 560 190\" fill=\"none\" stroke=\"#F7F7F5\" stroke-opacity=\"0.45\" stroke-width=\"2\"/>\n      <path d=\"M40 295 Q260 190 560 225\" fill=\"none\" stroke=\"#FF5A26\" stroke-opacity=\"0.45\" stroke-width=\"2\"/>\n      <ellipse cx=\"300\" cy=\"255\" rx=\"150\" ry=\"26\" fill=\"#1D2028\" stroke=\"#F7F7F5\" stroke-opacity=\"0.25\"/>\n    </svg>`\n  }\n];\n\nlet caseIdx = 0;\n\nfunction renderCase(i) {\n  caseIdx = (i + CASES.length) % CASES.length;\n  const card = document.getElementById('spotlightCard');\n  card.classList.add('switching');\n  setTimeout(() => {\n    const c = CASES[caseIdx];\n    document.getElementById('spotIndex').textContent = c.idx;\n    document.getElementById('spotSvg').innerHTML = c.svg;\n    document.getElementById('spotKicker').textContent = c.kicker;\n    document.getElementById('spotTitle').textContent = c.title;\n    document.getElementById('spotDesc').textContent = c.desc;\n    document.getElementById('spotStat1').textContent = c.s1;\n    document.getElementById('spotStat2').textContent = c.s2;\n    document.getElementById('launchStatus').textContent = '';\n    card.classList.remove('switching');\n    renderDeckTabs();\n  }, 150);\n}\n\nfunction renderDeckTabs() {\n  const wrap = document.getElementById('deckPills');\n  wrap.innerHTML = '';\n  CASES.forEach((c, idx) => {\n    const btn = document.createElement('button');\n    btn.className = 'deck-tab' + (idx === caseIdx ? ' active' : '');\n    btn.setAttribute('role', 'tab');\n    btn.setAttribute('aria-selected', idx === caseIdx ? 'true' : 'false');\n    btn.innerHTML = `<span>${c.idx}</span><strong>${c.short}</strong>`;\n    btn.addEventListener('click', () => renderCase(idx));\n    wrap.appendChild(btn);\n  });\n}\n\ndocument.getElementById('prevCase').addEventListener('click', () => renderCase(caseIdx - 1));\ndocument.getElementById('nextCase').addEventListener('click', () => renderCase(caseIdx + 1));\ndocument.getElementById('launchBtn').addEventListener('click', () => {\n  document.getElementById('launchStatus').textContent = `PROTOTYPE READY · ${CASES[caseIdx].short.toUpperCase()}`;\n});\n\nconst menuBtn = document.getElementById('menuBtn');\nconst mobileNav = document.getElementById('mobileNav');\nmenuBtn.addEventListener('click', () => {\n  const open = mobileNav.classList.toggle('open');\n  menuBtn.setAttribute('aria-expanded', open ? 'true' : 'false');\n});\nmobileNav.querySelectorAll('a').forEach(a => a.addEventListener('click', () => {\n  mobileNav.classList.remove('open');\n  menuBtn.setAttribute('aria-expanded', 'false');\n}));\n\nrenderCase(0);\n</script>\n</body>\n</html>\n"
}
