{
  "id": 29,
  "slug": "fpga-monolith-hardware",
  "name": "FPGA Monolith Hardware",
  "kind": "style",
  "family": "Hardware & Industrial",
  "sourceSite": {
    "name": "Analogue",
    "url": "https://www.analogue.co/",
    "verifiedStatus": 200
  },
  "tagline": "Museum-grade obsidian and gallery-white monolith framing, isometric SVG hardware diagrams, and live display-mode emulation.",
  "whyUnique": "Elevates retro video game hardware to contemporary museum sculpture with stark Swiss-Japanese gallery contrast and authentic LCD/CRT display filter previews.",
  "theme": "mixed",
  "mobileStrength": "high",
  "tags": [
    "fpga-hardware",
    "swiss-japanese",
    "museum-minimal",
    "display-modes",
    "monolith-ui"
  ],
  "bestFor": [
    "Boutique hardware launches",
    "Industrial design exhibitions",
    "Hardware emulation & audio gear",
    "Minimalist flagship product pages"
  ],
  "palette": [
    {
      "role": "canvas",
      "hex": "#FAFAFA",
      "name": "Gallery White"
    },
    {
      "role": "surface",
      "hex": "#101012",
      "name": "Anodized Obsidian"
    },
    {
      "role": "ink",
      "hex": "#111111",
      "name": "Monolith Ink"
    },
    {
      "role": "accent",
      "hex": "#2F8F4E",
      "name": "DMG Phosphor Green"
    },
    {
      "role": "muted",
      "hex": "#76767A",
      "name": "Precision Gray"
    }
  ],
  "typography": {
    "display": "Plus Jakarta Sans",
    "body": "Inter",
    "mono": "IBM Plex Mono",
    "googleFontsUrl": "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap",
    "scaleNotes": "Monumental centered grotesque titles paired with whisper-quiet 11px technical callouts and sharp 1px architectural spec tables."
  },
  "layoutNotes": "High-contrast alternating gallery-white and obsidian monolith bands showcasing a technical SVG handheld silhouette with an embedded interactive pixel screen.",
  "interactionNotes": "Interactive Display Mode switcher (Original DMG Green, Crisp Pocket LCD, Trinitron Scanline CRT, B&W Studio) that live-transforms the embedded pixel-art preview and subpixel specs.",
  "mobileNotes": "Maintains clean centered hardware framing at 390px with full-width 44px display-mode toggles and stacked technical specification rows.",
  "agentGuardrails": {
    "do": [
      "Use stark black-and-white gallery contrast so the hardware silhouette commands full attention.",
      "Include crisp technical line art and exact pixel/resolution metrics (1600x1440, 615 PPI).",
      "Keep copy concise, authoritative, and free of hype adjectives."
    ],
    "dont": [
      "Never clutter the frame with noisy gamer-RGB gradients or busy background patterns.",
      "Avoid inconsistent border radii; keep hardware cards disciplined and architectural."
    ]
  },
  "demoFile": "demos/fpga-monolith-hardware.html",
  "thumbDesktop": "thumbs/fpga-monolith-hardware-desktop.webp",
  "thumbMobile": "thumbs/fpga-monolith-hardware-mobile.webp",
  "urls": {
    "page": "https://templates.michaelpitts.net/t/fpga-monolith-hardware",
    "markdown": "https://templates.michaelpitts.net/t/fpga-monolith-hardware.md",
    "api": "https://templates.michaelpitts.net/api/templates/fpga-monolith-hardware",
    "demo": "https://templates.michaelpitts.net/demos/fpga-monolith-hardware.html",
    "thumbDesktop": "https://templates.michaelpitts.net/thumbs/fpga-monolith-hardware-desktop.webp",
    "thumbMobile": "https://templates.michaelpitts.net/thumbs/fpga-monolith-hardware-mobile.webp"
  },
  "agentPrompt": "Design & build using template #029 \"FPGA Monolith Hardware\" (style / Hardware & Industrial, mixed theme).\nFull AI blueprint & standalone starter code: https://templates.michaelpitts.net/t/fpga-monolith-hardware.md\nLive demo: https://templates.michaelpitts.net/demos/fpga-monolith-hardware.html\nReal-world inspiration: Analogue (https://www.analogue.co/)\n\nCore aesthetic: Elevates retro video game hardware to contemporary museum sculpture with stark Swiss-Japanese gallery contrast and authentic LCD/CRT display filter previews.\nPalette: canvas: #FAFAFA (Gallery White), surface: #101012 (Anodized Obsidian), ink: #111111 (Monolith Ink), accent: #2F8F4E (DMG Phosphor Green), muted: #76767A (Precision Gray)\nTypography: Display=\"Plus Jakarta Sans\", Body=\"Inter\", Mono=\"IBM Plex Mono\"\nLayout: High-contrast alternating gallery-white and obsidian monolith bands showcasing a technical SVG handheld silhouette with an embedded interactive pixel screen.\nInteractions: Interactive Display Mode switcher (Original DMG Green, Crisp Pocket LCD, Trinitron Scanline CRT, B&W Studio) that live-transforms the embedded pixel-art preview and subpixel specs.\nMobile: Maintains clean centered hardware framing at 390px with full-width 44px display-mode toggles and stacked technical specification rows.\n\nGuardrails:\n- DO: Use stark black-and-white gallery contrast so the hardware silhouette commands full attention.\n- DO: Include crisp technical line art and exact pixel/resolution metrics (1600x1440, 615 PPI).\n- DO: Keep copy concise, authoritative, and free of hype adjectives.\n- DON'T: Never clutter the frame with noisy gamer-RGB gradients or busy background patterns.\n- DON'T: Avoid inconsistent border radii; keep hardware cards disciplined and architectural.",
  "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>MONOLITH // Pocket FPGA Reference Hardware</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=IBM+Plex+Mono:wght@400;500&family=Inter:wght@400;500;600;700&display=swap\" rel=\"stylesheet\">\n<style>\n  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }\n  :root {\n    --obsidian: #0a0a0b;\n    --graphite: #141417;\n    --gallery: #f8f8f7;\n    --white: #ffffff;\n    --ink: #111113;\n    --muted: #72727a;\n    --line-dark: #25252b;\n    --line-light: #e2e2e0;\n    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;\n    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;\n  }\n  html, body {\n    background: var(--obsidian);\n    color: var(--white);\n    font-family: var(--font-sans);\n    line-height: 1.5;\n    overflow-x: hidden;\n    -webkit-font-smoothing: antialiased;\n  }\n\n  /* Minimal Gallery Header */\n  header {\n    background: rgba(10, 10, 11, 0.92);\n    backdrop-filter: blur(10px);\n    border-bottom: 1px solid var(--line-dark);\n    position: sticky;\n    top: 0;\n    z-index: 40;\n  }\n  .nav-wrap {\n    max-width: 1160px;\n    margin: 0 auto;\n    padding: 14px 20px;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    gap: 12px;\n  }\n  .logo {\n    text-decoration: none;\n    color: var(--white);\n    display: flex;\n    align-items: center;\n    gap: 10px;\n    font-weight: 600;\n    font-size: 0.92rem;\n    letter-spacing: 0.14em;\n    text-transform: uppercase;\n  }\n  .logo-square {\n    width: 18px;\n    height: 18px;\n    border: 2px solid var(--white);\n    display: inline-block;\n    position: relative;\n  }\n  .logo-square::after {\n    content: '';\n    position: absolute;\n    inset: 3px;\n    background: var(--white);\n  }\n  .nav-links {\n    display: none;\n    list-style: none;\n    gap: 28px;\n  }\n  .nav-links a {\n    color: #a1a1aa;\n    text-decoration: none;\n    font-size: 0.78rem;\n    letter-spacing: 0.08em;\n    text-transform: uppercase;\n    padding: 10px 0;\n    transition: color 0.15s;\n  }\n  .nav-links a:hover { color: var(--white); }\n  .menu-btn {\n    min-width: 44px;\n    min-height: 44px;\n    background: transparent;\n    border: 1px solid var(--line-dark);\n    color: var(--white);\n    font-family: var(--font-mono);\n    font-size: 0.72rem;\n    text-transform: uppercase;\n    padding: 0 12px;\n    cursor: pointer;\n  }\n  .mobile-drawer {\n    display: none;\n    flex-direction: column;\n    padding: 4px 20px 14px;\n    background: var(--obsidian);\n    border-bottom: 1px solid var(--line-dark);\n  }\n  .mobile-drawer.open { display: flex; }\n  .mobile-drawer a {\n    min-height: 44px;\n    display: flex;\n    align-items: center;\n    color: var(--white);\n    text-decoration: none;\n    font-size: 0.82rem;\n    letter-spacing: 0.08em;\n    text-transform: uppercase;\n    border-top: 1px solid var(--line-dark);\n  }\n\n  /* Hero Showcase (Obsidian) */\n  .hero {\n    max-width: 1160px;\n    margin: 0 auto;\n    padding: 36px 20px 64px;\n    display: grid;\n    grid-template-columns: minmax(0, 1fr);\n    gap: 36px;\n    align-items: center;\n  }\n  .eyebrow {\n    font-family: var(--font-mono);\n    font-size: 0.72rem;\n    letter-spacing: 0.16em;\n    text-transform: uppercase;\n    color: #9b9ba6;\n    margin-bottom: 12px;\n  }\n  h1 {\n    font-size: clamp(2.1rem, 5.4vw, 3.8rem);\n    font-weight: 600;\n    letter-spacing: -0.04em;\n    line-height: 1.03;\n    margin-bottom: 16px;\n  }\n  .hero-lead {\n    color: #a6a6b0;\n    font-size: 0.98rem;\n    max-width: 44ch;\n    margin-bottom: 28px;\n  }\n\n  /* Display Mode Switcher */\n  .switcher-label {\n    font-family: var(--font-mono);\n    font-size: 0.68rem;\n    letter-spacing: 0.14em;\n    text-transform: uppercase;\n    color: #8b8b96;\n    margin-bottom: 10px;\n    display: block;\n  }\n  .mode-grid {\n    display: grid;\n    grid-template-columns: repeat(2, minmax(0, 1fr));\n    gap: 8px;\n    margin-bottom: 18px;\n  }\n  .mode-btn {\n    min-height: 54px;\n    padding: 10px 12px;\n    background: var(--graphite);\n    border: 1px solid var(--line-dark);\n    color: #c8c8d0;\n    font-family: var(--font-sans);\n    font-size: 0.8rem;\n    font-weight: 500;\n    text-align: left;\n    cursor: pointer;\n    transition: border-color 0.15s, background 0.15s, color 0.15s;\n  }\n  .mode-btn span {\n    display: block;\n    font-family: var(--font-mono);\n    font-size: 0.65rem;\n    color: #7c7c88;\n    margin-top: 2px;\n  }\n  .mode-btn.active {\n    background: var(--white);\n    border-color: var(--white);\n    color: var(--obsidian);\n  }\n  .mode-btn.active span { color: #52525b; }\n\n  .scene-row {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 8px;\n    margin-bottom: 20px;\n  }\n  .scene-btn {\n    min-height: 44px;\n    padding: 0 14px;\n    background: transparent;\n    border: 1px solid var(--line-dark);\n    color: #a1a1aa;\n    font-family: var(--font-mono);\n    font-size: 0.72rem;\n    letter-spacing: 0.06em;\n    text-transform: uppercase;\n    cursor: pointer;\n  }\n  .scene-btn.active {\n    border-color: var(--white);\n    color: var(--white);\n  }\n\n  .telemetry-strip {\n    display: grid;\n    grid-template-columns: repeat(3, minmax(0, 1fr));\n    gap: 8px;\n    padding-top: 16px;\n    border-top: 1px solid var(--line-dark);\n    font-family: var(--font-mono);\n  }\n  .telemetry-item span {\n    display: block;\n    font-size: 0.62rem;\n    color: #7a7a85;\n    text-transform: uppercase;\n  }\n  .telemetry-item strong {\n    font-size: 0.78rem;\n    font-weight: 500;\n    color: var(--white);\n  }\n\n  /* Hardware Monolith Frame */\n  .monolith-stage {\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    justify-content: center;\n    background: radial-gradient(circle at 50% 42%, #1d1d22 0%, #0a0a0b 72%);\n    border: 1px solid var(--line-dark);\n    padding: 28px 16px;\n  }\n  .device-shell {\n    position: relative;\n    width: 100%;\n    max-width: 280px;\n    aspect-ratio: 280 / 462;\n  }\n  .device-svg {\n    width: 100%;\n    height: 100%;\n    display: block;\n  }\n  /* Embedded Live Pixel-Art Screen inside the Hardware Bezel */\n  .screen-mount {\n    position: absolute;\n    top: 8.6%;\n    left: 12.1%;\n    width: 75.8%;\n    height: 41.5%;\n    border-radius: 3px;\n    overflow: hidden;\n    background: #0f380f;\n    box-shadow: inset 0 0 10px rgba(0,0,0,0.65);\n  }\n  canvas#pixelScreen {\n    width: 100%;\n    height: 100%;\n    display: block;\n    image-rendering: pixelated;\n    image-rendering: crisp-edges;\n  }\n  .screen-overlay {\n    pointer-events: none;\n    position: absolute;\n    inset: 0;\n  }\n  .screen-overlay.dmg {\n    background-image:\n      linear-gradient(to right, rgba(15, 56, 15, 0.22) 1px, transparent 1px),\n      linear-gradient(to bottom, rgba(15, 56, 15, 0.22) 1px, transparent 1px);\n    background-size: 4px 4px;\n  }\n  .screen-overlay.crt {\n    background:\n      repeating-linear-gradient(0deg, rgba(0,0,0,0.34) 0px, rgba(0,0,0,0.34) 1px, transparent 1px, transparent 3px),\n      radial-gradient(ellipse at center, transparent 58%, rgba(0,0,0,0.42) 100%);\n  }\n  .screen-overlay.pocket {\n    background-image:\n      linear-gradient(to right, rgba(0,0,0,0.06) 1px, transparent 1px),\n      linear-gradient(to bottom, rgba(0,0,0,0.06) 1px, transparent 1px);\n    background-size: 3px 3px;\n  }\n  .monolith-caption {\n    margin-top: 16px;\n    font-family: var(--font-mono);\n    font-size: 0.68rem;\n    letter-spacing: 0.12em;\n    color: #82828e;\n    text-transform: uppercase;\n    text-align: center;\n  }\n\n  /* Gallery White Section (Swiss-Japanese Contrast) */\n  .gallery-band {\n    background: var(--gallery);\n    color: var(--ink);\n    padding: 56px 20px 72px;\n    border-top: 1px solid var(--line-light);\n  }\n  .gallery-inner {\n    max-width: 1160px;\n    margin: 0 auto;\n  }\n  .band-head {\n    display: flex;\n    flex-wrap: wrap;\n    justify-content: space-between;\n    align-items: baseline;\n    gap: 12px;\n    padding-bottom: 18px;\n    border-bottom: 1px solid var(--ink);\n    margin-bottom: 32px;\n  }\n  .band-head h2 {\n    font-size: clamp(1.45rem, 3.2vw, 2.2rem);\n    font-weight: 600;\n    letter-spacing: -0.03em;\n  }\n  .band-head span {\n    font-family: var(--font-mono);\n    font-size: 0.72rem;\n    color: var(--muted);\n    letter-spacing: 0.1em;\n    text-transform: uppercase;\n  }\n\n  /* Isometric Technical Drawing + Spec Matrix */\n  .arch-grid {\n    display: grid;\n    grid-template-columns: minmax(0, 1fr);\n    gap: 32px;\n    margin-bottom: 48px;\n  }\n  .iso-card {\n    background: var(--white);\n    border: 1px solid var(--line-light);\n    padding: 24px;\n  }\n  .iso-card svg {\n    width: 100%;\n    max-width: 420px;\n    margin: 0 auto;\n    display: block;\n  }\n  .iso-meta {\n    margin-top: 16px;\n    padding-top: 12px;\n    border-top: 1px solid var(--line-light);\n    display: flex;\n    justify-content: space-between;\n    font-family: var(--font-mono);\n    font-size: 0.68rem;\n    color: var(--muted);\n    text-transform: uppercase;\n  }\n\n  .spec-matrix {\n    display: grid;\n    grid-template-columns: minmax(0, 1fr);\n    gap: 0;\n    border-top: 1px solid var(--line-light);\n  }\n  .spec-cell {\n    padding: 18px 0;\n    border-bottom: 1px solid var(--line-light);\n    display: grid;\n    grid-template-columns: minmax(0, 1fr);\n    gap: 4px;\n  }\n  .spec-k {\n    font-family: var(--font-mono);\n    font-size: 0.72rem;\n    letter-spacing: 0.08em;\n    text-transform: uppercase;\n    color: var(--muted);\n  }\n  .spec-v {\n    font-size: 0.94rem;\n    font-weight: 500;\n    color: var(--ink);\n  }\n\n  footer {\n    background: var(--obsidian);\n    color: #7c7c88;\n    padding: 28px 20px;\n    text-align: center;\n    font-family: var(--font-mono);\n    font-size: 0.7rem;\n    letter-spacing: 0.14em;\n    text-transform: uppercase;\n    border-top: 1px solid var(--line-dark);\n  }\n\n  @media (min-width: 780px) {\n    .nav-links { display: flex; }\n    .menu-btn { display: none; }\n    .mobile-drawer { display: none !important; }\n    .hero { grid-template-columns: 1.05fr 0.95fr; gap: 48px; padding: 56px 20px 80px; }\n    .arch-grid { grid-template-columns: 1fr 1.15fr; align-items: start; }\n    .spec-cell { grid-template-columns: 180px minmax(0, 1fr); gap: 16px; }\n  }\n</style>\n</head>\n<body>\n<header>\n  <div class=\"nav-wrap\">\n    <a href=\"#top\" class=\"logo\">\n      <span class=\"logo-square\" aria-hidden=\"true\"></span>\n      MONOLITH\n    </a>\n    <nav>\n      <ul class=\"nav-links\">\n        <li><a href=\"#display\">Display Modes</a></li>\n        <li><a href=\"#architecture\">FPGA Architecture</a></li>\n        <li><a href=\"#matrix\">Spec Matrix</a></li>\n      </ul>\n    </nav>\n    <button class=\"menu-btn\" id=\"menuBtn\" aria-expanded=\"false\" aria-controls=\"mobileDrawer\">Menu</button>\n  </div>\n  <div class=\"mobile-drawer\" id=\"mobileDrawer\">\n    <a href=\"#display\">Display Mode Switcher</a>\n    <a href=\"#architecture\">Isometric Hardware Diagram</a>\n    <a href=\"#matrix\">Hardware Spec Matrix</a>\n  </div>\n</header>\n\n<main id=\"top\">\n  <section class=\"hero\" id=\"display\">\n    <div>\n      <p class=\"eyebrow\">Dual Altera Cyclone V FPGA &middot; Zero Emulation</p>\n      <h1>Precision silicon for video game history.</h1>\n      <p class=\"hero-lead\">\n        Engineered at the transistor level in hardware description language. A 3.5-inch 1600&times;1440 LTPS panel with 10&times; integer scaling reproduces original dot-matrix and CRT subpixel geometry without a single frame of lag.\n      </p>\n\n      <span class=\"switcher-label\">Display Mode Switcher</span>\n      <div class=\"mode-grid\" role=\"group\" aria-label=\"Hardware Display Modes\">\n        <button type=\"button\" class=\"mode-btn active\" data-mode=\"dmg\">\n          Original DMG Green\n          <span>1989 Reflective STN</span>\n        </button>\n        <button type=\"button\" class=\"mode-btn\" data-mode=\"pocket\">\n          Pocket Crisp LCD\n          <span>1996 Silver Monochrome</span>\n        </button>\n        <button type=\"button\" class=\"mode-btn\" data-mode=\"crt\">\n          Trinitron Scanline CRT\n          <span>Aperture Grille RGB</span>\n        </button>\n        <button type=\"button\" class=\"mode-btn\" data-mode=\"bw\">\n          B&amp;W Studio\n          <span>1:1 Museum Reference</span>\n        </button>\n      </div>\n\n      <span class=\"switcher-label\">Cartridge Framebuffer Scene</span>\n      <div class=\"scene-row\" role=\"group\" aria-label=\"Pixel art scene\">\n        <button type=\"button\" class=\"scene-btn active\" data-scene=\"castle\">01. Citadel</button>\n        <button type=\"button\" class=\"scene-btn\" data-scene=\"star\">02. Starfield</button>\n        <button type=\"button\" class=\"scene-btn\" data-scene=\"core\">03. FPGA Core</button>\n      </div>\n\n      <div class=\"telemetry-strip\">\n        <div class=\"telemetry-item\">\n          <span>Active Mask</span>\n          <strong id=\"telMask\">DMG-01 Dot Matrix</strong>\n        </div>\n        <div class=\"telemetry-item\">\n          <span>Resolution</span>\n          <strong id=\"telRes\">1600 &times; 1440 (10&times;)</strong>\n        </div>\n        <div class=\"telemetry-item\">\n          <span>Latency</span>\n          <strong>0.0 ms (Hardware)</strong>\n        </div>\n      </div>\n    </div>\n\n    <!-- Hardware Monolith Frame with Live Screen -->\n    <div class=\"monolith-stage\">\n      <div class=\"device-shell\">\n        <svg class=\"device-svg\" viewBox=\"0 0 280 462\" role=\"img\" aria-label=\"Monolith FPGA portable hardware unit\">\n          <defs>\n            <linearGradient id=\"chassisGrad\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\">\n              <stop offset=\"0%\" stop-color=\"#28282d\"/>\n              <stop offset=\"50%\" stop-color=\"#18181c\"/>\n              <stop offset=\"100%\" stop-color=\"#111114\"/>\n            </linearGradient>\n          </defs>\n          <!-- Precision Milled Body -->\n          <rect x=\"6\" y=\"6\" width=\"268\" height=\"450\" rx=\"18\" fill=\"url(#chassisGrad)\" stroke=\"#383842\" stroke-width=\"1.5\"/>\n          <!-- Side Volume & Power Buttons -->\n          <rect x=\"2\" y=\"106\" width=\"4\" height=\"32\" rx=\"1\" fill=\"#3a3a44\"/>\n          <rect x=\"2\" y=\"150\" width=\"4\" height=\"44\" rx=\"1\" fill=\"#3a3a44\"/>\n          <!-- Gorilla Glass Bezel -->\n          <rect x=\"22\" y=\"24\" width=\"236\" height=\"222\" rx=\"9\" fill=\"#070708\" stroke=\"#2c2c34\" stroke-width=\"1\"/>\n          <!-- Status LED -->\n          <circle cx=\"34\" cy=\"236\" r=\"2.2\" fill=\"#4ade80\"/>\n          <text x=\"140\" y=\"238\" text-anchor=\"middle\" font-family=\"IBM Plex Mono, monospace\" font-size=\"6.5\" letter-spacing=\"2.4\" fill=\"#52525c\">MONOLITH 615 PPI</text>\n\n          <!-- Tactile D-Pad -->\n          <g transform=\"translate(46, 286)\">\n            <path d=\"M22,0 H42 V22 H64 V42 H42 V64 H22 V42 H0 V22 H22 Z\" fill=\"#101013\" stroke=\"#32323b\" stroke-width=\"1.2\"/>\n            <circle cx=\"32\" cy=\"32\" r=\"7\" fill=\"#17171b\"/>\n          </g>\n\n          <!-- A / B / X / Y Buttons -->\n          <g fill=\"#101013\" stroke=\"#32323b\" stroke-width=\"1.2\">\n            <circle cx=\"204\" cy=\"298\" r=\"13\"/>\n            <circle cx=\"232\" cy=\"318\" r=\"13\"/>\n            <circle cx=\"176\" cy=\"318\" r=\"13\"/>\n            <circle cx=\"204\" cy=\"338\" r=\"13\"/>\n          </g>\n          <g font-family=\"IBM Plex Mono, monospace\" font-size=\"7\" fill=\"#636370\" text-anchor=\"middle\">\n            <text x=\"204\" y=\"300.5\">X</text>\n            <text x=\"232\" y=\"320.5\">A</text>\n            <text x=\"176\" y=\"320.5\">Y</text>\n            <text x=\"204\" y=\"340.5\">B</text>\n          </g>\n\n          <!-- Select / Home / Start -->\n          <rect x=\"94\" y=\"388\" width=\"24\" height=\"7\" rx=\"3.5\" fill=\"#101013\" stroke=\"#32323b\" stroke-width=\"1\"/>\n          <circle cx=\"140\" cy=\"391.5\" r=\"7\" fill=\"#101013\" stroke=\"#32323b\" stroke-width=\"1\"/>\n          <rect x=\"162\" y=\"388\" width=\"24\" height=\"7\" rx=\"3.5\" fill=\"#101013\" stroke=\"#32323b\" stroke-width=\"1\"/>\n\n          <!-- Milled Stereo Speaker Grille -->\n          <g fill=\"#0c0c0e\" stroke=\"#292930\" stroke-width=\"0.6\">\n            <rect x=\"204\" y=\"422\" width=\"38\" height=\"3\" rx=\"1.5\"/>\n            <rect x=\"204\" y=\"430\" width=\"38\" height=\"3\" rx=\"1.5\"/>\n            <rect x=\"204\" y=\"438\" width=\"38\" height=\"3\" rx=\"1.5\"/>\n          </g>\n        </svg>\n\n        <div class=\"screen-mount\">\n          <canvas id=\"pixelScreen\" width=\"80\" height=\"72\"></canvas>\n          <div class=\"screen-overlay dmg\" id=\"screenOverlay\"></div>\n        </div>\n      </div>\n      <p class=\"monolith-caption\" id=\"monolithCaption\">MODE 01 // ORIGINAL DMG-01 DOT MATRIX</p>\n    </div>\n  </section>\n\n  <!-- Gallery White Isometric & Spec Matrix -->\n  <section class=\"gallery-band\" id=\"architecture\">\n    <div class=\"gallery-inner\">\n      <div class=\"band-head\">\n        <h2>Hardware Architecture</h2>\n        <span>CNC 6061 Aluminum &middot; Dual FPGA</span>\n      </div>\n\n      <div class=\"arch-grid\">\n        <div class=\"iso-card\">\n          <!-- Razor-sharp Isometric Technical Illustration -->\n          <svg viewBox=\"0 0 420 300\" role=\"img\" aria-label=\"Isometric technical drawing of FPGA hardware monolith\">\n            <g fill=\"none\" stroke=\"#111113\" stroke-width=\"1.3\" stroke-linejoin=\"round\">\n              <!-- Outer Isometric Slab -->\n              <polygon points=\"210,24 358,98 210,172 62,98\" fill=\"#ffffff\"/>\n              <polygon points=\"62,98 210,172 210,204 62,130\" fill=\"#efefef\"/>\n              <polygon points=\"358,98 210,172 210,204 358,130\" fill=\"#dcdcd8\"/>\n\n              <!-- Recessed Glass Screen Plane -->\n              <polygon points=\"210,42 308,91 210,140 112,91\" fill=\"#111113\"/>\n              <polygon points=\"210,50 294,92 210,134 126,92\" fill=\"#232329\" stroke=\"#52525b\" stroke-width=\"0.8\"/>\n\n              <!-- Exploded Lower PCB Layer (Dashed Projection) -->\n              <line x1=\"62\" y1=\"130\" x2=\"62\" y2=\"188\" stroke=\"#a1a1aa\" stroke-dasharray=\"3 3\"/>\n              <line x1=\"210\" y1=\"204\" x2=\"210\" y2=\"262\" stroke=\"#a1a1aa\" stroke-dasharray=\"3 3\"/>\n              <line x1=\"358\" y1=\"130\" x2=\"358\" y2=\"188\" stroke=\"#a1a1aa\" stroke-dasharray=\"3 3\"/>\n\n              <polygon points=\"210,152 340,217 210,282 80,217\" fill=\"#f8f8f7\" stroke=\"#52525b\"/>\n              <!-- Primary Altera Cyclone V FPGA Die -->\n              <polygon points=\"210,188 256,211 210,234 164,211\" fill=\"#111113\"/>\n              <polygon points=\"210,196 240,211 210,226 180,211\" fill=\"none\" stroke=\"#ffffff\" stroke-width=\"0.9\"/>\n\n              <!-- Dimension Callouts -->\n              <line x1=\"256\" y1=\"211\" x2=\"346\" y2=\"211\" stroke=\"#111113\" stroke-width=\"0.9\"/>\n              <circle cx=\"256\" cy=\"211\" r=\"2.5\" fill=\"#111113\"/>\n            </g>\n            <g font-family=\"IBM Plex Mono, monospace\" font-size=\"9\" fill=\"#111113\">\n              <text x=\"16\" y=\"34\">FIG 01. ISOMETRIC EXPLODED STACK</text>\n              <text x=\"16\" y=\"48\" fill=\"#72727a\">LTPS GLASS / CYCLONE V FPGA</text>\n              <text x=\"348\" y=\"206\">49K LE</text>\n              <text x=\"348\" y=\"218\" fill=\"#72727a\">FPGA #1</text>\n            </g>\n          </svg>\n          <div class=\"iso-meta\">\n            <span>TOLERANCE: &plusmn;0.02 MM</span>\n            <span>SCALE 1:2.2</span>\n          </div>\n        </div>\n\n        <div class=\"spec-matrix\" id=\"matrix\">\n          <div class=\"spec-cell\">\n            <span class=\"spec-k\">Primary Silicon</span>\n            <span class=\"spec-v\">Altera Cyclone V 5CEBA4 (49,000 Logic Elements) + Secondary Cyclone V for OS</span>\n          </div>\n          <div class=\"spec-cell\">\n            <span class=\"spec-k\">Display Panel</span>\n            <span class=\"spec-v\">3.5&Prime; LTPS LCD &middot; 1600&times;1440 resolution &middot; 615 PPI &middot; Gorilla Glass</span>\n          </div>\n          <div class=\"spec-cell\">\n            <span class=\"spec-k\">Refresh &amp; Scaling</span>\n            <span class=\"spec-v\">Variable 30–62 Hz refresh with exact hardware integer scaling</span>\n          </div>\n          <div class=\"spec-cell\">\n            <span class=\"spec-k\">Cartridge Bus</span>\n            <span class=\"spec-v\">3.3V / 5V native cartridge slot with openFPGA developer core support</span>\n          </div>\n          <div class=\"spec-cell\">\n            <span class=\"spec-k\">Audio Architecture</span>\n            <span class=\"spec-v\">Stereo speakers, 3.5 mm headphone out, dual-channel synthesizer DAC</span>\n          </div>\n          <div class=\"spec-cell\">\n            <span class=\"spec-k\">Power &amp; Dimensions</span>\n            <span class=\"spec-v\">4300 mAh Li-Ion (6–10 hrs) &middot; 148.9 &times; 88.2 &times; 22.0 mm &middot; 275 g</span>\n          </div>\n        </div>\n      </div>\n    </div>\n  </section>\n</main>\n\n<footer>\n  MONOLITH HARDWARE ARCHIVE &middot; SEATTLE / TOKYO &middot; ENGINEERED FOR PRESERVATION\n</footer>\n\n<script>\n(function () {\n  // Mobile nav\n  const menuBtn = document.getElementById('menuBtn');\n  const mobileDrawer = document.getElementById('mobileDrawer');\n  menuBtn.addEventListener('click', () => {\n    const open = mobileDrawer.classList.toggle('open');\n    menuBtn.setAttribute('aria-expanded', String(open));\n  });\n  mobileDrawer.querySelectorAll('a').forEach(a => a.addEventListener('click', () => {\n    mobileDrawer.classList.remove('open');\n    menuBtn.setAttribute('aria-expanded', 'false');\n  }));\n\n  const canvas = document.getElementById('pixelScreen');\n  const ctx = canvas.getContext('2d');\n  const overlay = document.getElementById('screenOverlay');\n  const telMask = document.getElementById('telMask');\n  const telRes = document.getElementById('telRes');\n  const monolithCaption = document.getElementById('monolithCaption');\n\n  const modes = {\n    dmg: {\n      palette: ['#0f380f', '#306230', '#8bac0f', '#9bbc0f'],\n      overlay: 'dmg',\n      mask: 'DMG-01 Dot Matrix',\n      res: '1600 × 1440 (10×)',\n      caption: 'MODE 01 // ORIGINAL DMG-01 DOT MATRIX'\n    },\n    pocket: {\n      palette: ['#1a211b', '#526154', '#9aa89b', '#dce4db'],\n      overlay: 'pocket',\n      mask: 'MGB Crisp Silver',\n      res: '1600 × 1440 (10×)',\n      caption: 'MODE 02 // POCKET CRISP SILVER LCD'\n    },\n    crt: {\n      palette: ['#0d1021', '#2b4c7e', '#e63946', '#f4d35e'],\n      overlay: 'crt',\n      mask: 'Aperture Grille CRT',\n      res: '240p Scanline Mask',\n      caption: 'MODE 03 // TRINITRON APERTURE GRILLE CRT'\n    },\n    bw: {\n      palette: ['#0a0a0b', '#4d4d54', '#a8a8b2', '#ffffff'],\n      overlay: '',\n      mask: '1:1 Studio Raw',\n      res: '1600 × 1440 Raw',\n      caption: 'MODE 04 // B&W STUDIO REFERENCE'\n    }\n  };\n\n  let activeMode = 'dmg';\n  let activeScene = 'castle';\n  let frame = 0;\n\n  function px(x, y, w, h, colorIdx) {\n    ctx.fillStyle = modes[activeMode].palette[colorIdx];\n    ctx.fillRect(Math.round(x), Math.round(y), Math.round(w), Math.round(h));\n  }\n\n  function drawCastle(t) {\n    // Sky\n    px(0, 0, 80, 72, 3);\n    // Moon\n    px(60, 8, 8, 8, 2);\n    px(62, 10, 4, 4, 3);\n    // Moving pixel clouds\n    const cx = (t * 0.25) % 92 - 12;\n    px(cx, 12, 14, 3, 2);\n    px(cx + 3, 9, 8, 3, 2);\n    px((cx + 42) % 92 - 12, 18, 10, 3, 2);\n\n    // Distant Mountains\n    for (let i = 0; i < 80; i += 2) {\n      const mh = Math.floor(Math.sin(i * 0.09) * 6 + 10);\n      px(i, 52 - mh, 2, mh, 2);\n    }\n\n    // Castle Keep Silhouette\n    px(22, 28, 36, 28, 1);\n    px(16, 22, 10, 34, 0);\n    px(54, 22, 10, 34, 0);\n    // Battlements\n    for (let bx = 16; bx <= 60; bx += 4) {\n      px(bx, 19, 2, 3, 0);\n    }\n    // Windows & Gate\n    px(20, 28, 2, 4, 3);\n    px(58, 28, 2, 4, 3);\n    px(35, 42, 10, 14, 0);\n    px(37, 44, 6, 12, 3);\n\n    // Animated Banner Flag\n    const wave = Math.floor(t / 12) % 2;\n    px(39, 14, 1, 14, 0);\n    px(40, 14 + wave, 7, 4, 2);\n\n    // Foreground Ground & HUD\n    px(0, 56, 80, 16, 0);\n    px(0, 56, 80, 2, 1);\n    // Pixel Hearts / Score Bar\n    px(4, 62, 16, 4, 2);\n    px(6, 63, 10, 2, 3);\n    px(56, 62, 20, 4, 1);\n  }\n\n  function drawStarfield(t) {\n    px(0, 0, 80, 72, 0);\n    // Stars\n    for (let i = 0; i < 24; i++) {\n      const sx = ((i * 29 + t * (1 + (i % 3) * 0.4)) % 80);\n      const sy = (i * 17) % 64;\n      px(80 - sx, sy, i % 3 === 0 ? 2 : 1, 1, i % 2 === 0 ? 3 : 2);\n    }\n    // Pixel Starship\n    const shipY = 32 + Math.round(Math.sin(t * 0.08) * 6);\n    px(16, shipY, 14, 6, 3);\n    px(20, shipY - 3, 6, 3, 2);\n    px(20, shipY + 6, 6, 3, 2);\n    px(30, shipY + 2, 5, 2, 3);\n    // Thruster flame\n    px(11 - (Math.floor(t / 4) % 3), shipY + 2, 5, 2, 2);\n    // Laser pulse\n    const lx = (t * 2.2) % 52;\n    px(36 + lx, shipY + 2, 6, 2, 3);\n    // Bottom Cockpit Strip\n    px(0, 64, 80, 8, 1);\n    px(4, 66, 26, 4, 3);\n    px(58, 66, 18, 4, 2);\n  }\n\n  function drawCore(t) {\n    px(0, 0, 80, 72, 3);\n    // Die Frame\n    px(18, 14, 44, 44, 0);\n    px(21, 17, 38, 38, 1);\n    // Pins\n    for (let p = 22; p <= 56; p += 6) {\n      px(p, 8, 2, 6, 0);\n      px(p, 58, 2, 6, 0);\n      px(12, p - 4, 6, 2, 0);\n      px(62, p - 4, 6, 2, 0);\n    }\n    // Animated Logic Cell Matrix\n    for (let gx = 0; gx < 6; gx++) {\n      for (let gy = 0; gy < 6; gy++) {\n        const active = ((gx + gy + Math.floor(t / 10)) % 4 === 0);\n        px(24 + gx * 5.5, 20 + gy * 5.5, 4, 4, active ? 3 : 2);\n      }\n    }\n  }\n\n  function renderLoop() {\n    frame++;\n    if (activeScene === 'castle') drawCastle(frame);\n    else if (activeScene === 'star') drawStarfield(frame);\n    else drawCore(frame);\n    requestAnimationFrame(renderLoop);\n  }\n\n  function applyMode(key) {\n    activeMode = key;\n    const m = modes[key];\n    overlay.className = 'screen-overlay ' + m.overlay;\n    telMask.textContent = m.mask;\n    telRes.textContent = m.res;\n    monolithCaption.textContent = m.caption;\n    document.querySelectorAll('.mode-btn').forEach(b => b.classList.toggle('active', b.dataset.mode === key));\n  }\n\n  document.querySelectorAll('.mode-btn').forEach(b => b.addEventListener('click', () => applyMode(b.dataset.mode)));\n  document.querySelectorAll('.scene-btn').forEach(b => b.addEventListener('click', () => {\n    activeScene = b.dataset.scene;\n    document.querySelectorAll('.scene-btn').forEach(x => x.classList.toggle('active', x === b));\n  }));\n\n  applyMode('dmg');\n  requestAnimationFrame(renderLoop);\n})();\n</script>\n</body>\n</html>\n"
}
