{
  "id": 12,
  "slug": "brutalist-web-index",
  "name": "Brutalist Websites Raw Index",
  "kind": "style",
  "family": "Brutalist & Raw-Web",
  "sourceSite": {
    "name": "Brutalist Websites",
    "url": "https://brutalistwebsites.com",
    "verifiedStatus": 200
  },
  "tagline": "Unapologetic raw HTML showcase index: 0px radii, cobalt underlined links, monospace numbering, and zero ornament.",
  "whyUnique": "Strips web design back to its structural bones: raw default-inspired cobalt hyperlinks, unvarnished monospace cataloging, instant raw-table vs grid switching, and stark inversion toggles.",
  "theme": "light",
  "mobileStrength": "high",
  "tags": [
    "brutalist",
    "raw-html",
    "archival-index",
    "monospace",
    "zero-ornament",
    "directory"
  ],
  "bestFor": [
    "Design & web curation directories",
    "Experimental art archives",
    "Developer portfolios & index pages",
    "Anti-design manifestos"
  ],
  "palette": [
    {
      "role": "canvas",
      "hex": "#FFFFFF",
      "name": "Raw White"
    },
    {
      "role": "surface",
      "hex": "#F2F2F2",
      "name": "System Gray"
    },
    {
      "role": "ink",
      "hex": "#000000",
      "name": "Pure Black"
    },
    {
      "role": "accent",
      "hex": "#0000FF",
      "name": "Hyperlink Cobalt"
    },
    {
      "role": "muted",
      "hex": "#555555",
      "name": "Metadata Gray"
    }
  ],
  "typography": {
    "display": "Space Mono, Courier New, monospace",
    "body": "IBM Plex Mono, Courier New, monospace",
    "mono": "IBM Plex Mono, ui-monospace, monospace",
    "googleFontsUrl": "https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap",
    "scaleNotes": "All-monospace hierarchy relying on weight, uppercase tracking, underlines, and stark border boxes."
  },
  "layoutNotes": "Raw manifesto header with exposed site count and controls, filter strip by style/year, toggleable 3-column wireframe showcase grid or dense archival table, and zero border-radius everywhere.",
  "interactionNotes": "Instant Grid vs Raw-Table view switcher, full-page Invert (white-on-black) mode toggle, live tag/year filtering, and inline manifesto drawer.",
  "mobileNotes": "Single-column raw index cards and horizontally safe compact table rows on 390px viewports with >=44px blocky filter buttons.",
  "agentGuardrails": {
    "do": [
      "Enforce 0px border-radius and 1px-2px solid black borders across every component",
      "Use pure #0000FF underlined links for interactive anchors",
      "Expose raw metadata (index numbers, dates, locations) directly in monospace"
    ],
    "dont": [
      "Do not add smooth easing animations, gradients, or rounded corners",
      "Do not disguise links as subtle gray text"
    ]
  },
  "demoFile": "demos/brutalist-web-index.html",
  "thumbDesktop": "thumbs/brutalist-web-index-desktop.webp",
  "thumbMobile": "thumbs/brutalist-web-index-mobile.webp",
  "urls": {
    "page": "https://templates.michaelpitts.net/t/brutalist-web-index",
    "markdown": "https://templates.michaelpitts.net/t/brutalist-web-index.md",
    "api": "https://templates.michaelpitts.net/api/templates/brutalist-web-index",
    "demo": "https://templates.michaelpitts.net/demos/brutalist-web-index.html",
    "thumbDesktop": "https://templates.michaelpitts.net/thumbs/brutalist-web-index-desktop.webp",
    "thumbMobile": "https://templates.michaelpitts.net/thumbs/brutalist-web-index-mobile.webp"
  },
  "agentPrompt": "Design & build using template #012 \"Brutalist Websites Raw Index\" (style / Brutalist & Raw-Web, light theme).\nFull AI blueprint & standalone starter code: https://templates.michaelpitts.net/t/brutalist-web-index.md\nLive demo: https://templates.michaelpitts.net/demos/brutalist-web-index.html\nReal-world inspiration: Brutalist Websites (https://brutalistwebsites.com)\n\nCore aesthetic: Strips web design back to its structural bones: raw default-inspired cobalt hyperlinks, unvarnished monospace cataloging, instant raw-table vs grid switching, and stark inversion toggles.\nPalette: canvas: #FFFFFF (Raw White), surface: #F2F2F2 (System Gray), ink: #000000 (Pure Black), accent: #0000FF (Hyperlink Cobalt), muted: #555555 (Metadata Gray)\nTypography: Display=\"Space Mono, Courier New, monospace\", Body=\"IBM Plex Mono, Courier New, monospace\", Mono=\"IBM Plex Mono, ui-monospace, monospace\"\nLayout: Raw manifesto header with exposed site count and controls, filter strip by style/year, toggleable 3-column wireframe showcase grid or dense archival table, and zero border-radius everywhere.\nInteractions: Instant Grid vs Raw-Table view switcher, full-page Invert (white-on-black) mode toggle, live tag/year filtering, and inline manifesto drawer.\nMobile: Single-column raw index cards and horizontally safe compact table rows on 390px viewports with >=44px blocky filter buttons.\n\nGuardrails:\n- DO: Enforce 0px border-radius and 1px-2px solid black borders across every component\n- DO: Use pure #0000FF underlined links for interactive anchors\n- DO: Expose raw metadata (index numbers, dates, locations) directly in monospace\n- DON'T: Do not add smooth easing animations, gradients, or rounded corners\n- DON'T: Do not disguise links as subtle gray text",
  "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>RAW INDEX — Brutalist Web Archive (2021–2026)</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;600;700&display=swap\" rel=\"stylesheet\">\n  <style>\n    :root {\n      --canvas: #FFFFFF;\n      --surface: #F2F2F2;\n      --ink: #000000;\n      --accent: #0000FF;\n      --muted: #555555;\n      --hairline: #000000;\n      --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n    }\n\n    body.inverted {\n      --canvas: #000000;\n      --surface: #141414;\n      --ink: #FFFFFF;\n      --accent: #7DA2FF;\n      --muted: #AAAAAA;\n      --hairline: #FFFFFF;\n    }\n\n    *, *::before, *::after {\n      box-sizing: border-box;\n      border-radius: 0;\n    }\n\n    html, body {\n      margin: 0;\n      padding: 0;\n      background: var(--canvas);\n      color: var(--ink);\n      font-family: var(--font-mono);\n      font-size: 14px;\n      line-height: 1.5;\n      overflow-x: hidden;\n    }\n\n    a {\n      color: var(--accent);\n      text-decoration: underline;\n      text-underline-offset: 2px;\n    }\n\n    a:hover {\n      background: var(--accent);\n      color: var(--canvas);\n      text-decoration: none;\n    }\n\n    button, select {\n      font-family: var(--font-mono);\n      font-size: 13px;\n      color: var(--ink);\n      background: var(--canvas);\n      border: 1px solid var(--hairline);\n      min-height: 44px;\n      padding: 0 0.85rem;\n      cursor: pointer;\n    }\n\n    button:hover, select:hover {\n      background: var(--surface);\n    }\n\n    button.active {\n      background: var(--ink);\n      color: var(--canvas);\n      font-weight: 700;\n    }\n\n    /* Structural Top Bar */\n    .topbar {\n      border-bottom: 1px solid var(--hairline);\n      padding: 1rem 1.25rem;\n      display: flex;\n      flex-wrap: wrap;\n      align-items: baseline;\n      justify-content: space-between;\n      gap: 1rem;\n    }\n\n    .title-block h1 {\n      margin: 0;\n      font-size: 1.35rem;\n      font-weight: 700;\n      letter-spacing: -0.02em;\n      text-transform: uppercase;\n    }\n\n    .title-block p {\n      margin: 0.25rem 0 0;\n      color: var(--muted);\n      font-size: 0.85rem;\n      max-width: 64ch;\n    }\n\n    .mode-controls {\n      display: flex;\n      flex-wrap: wrap;\n      gap: 0.5rem;\n    }\n\n    /* Filter Matrix Bar */\n    .filter-strip {\n      border-bottom: 1px solid var(--hairline);\n      background: var(--surface);\n      padding: 0.85rem 1.25rem;\n      display: flex;\n      flex-wrap: wrap;\n      align-items: center;\n      gap: 0.75rem;\n    }\n\n    .filter-group {\n      display: flex;\n      align-items: center;\n      gap: 0.4rem;\n    }\n\n    .filter-group label {\n      font-size: 0.78rem;\n      text-transform: uppercase;\n      color: var(--muted);\n      font-weight: 600;\n    }\n\n    .status-readout {\n      margin-left: auto;\n      font-size: 0.82rem;\n      font-weight: 600;\n    }\n\n    /* Main Container */\n    main {\n      padding: 0;\n    }\n\n    /* Grid View */\n    .archive-grid {\n      display: grid;\n      grid-template-columns: repeat(3, minmax(0, 1fr));\n      border-bottom: 1px solid var(--hairline);\n    }\n\n    .entry-card {\n      border-right: 1px solid var(--hairline);\n      border-bottom: 1px solid var(--hairline);\n      padding: 1.15rem 1.25rem;\n      display: flex;\n      flex-direction: column;\n      gap: 0.75rem;\n      background: var(--canvas);\n    }\n\n    .entry-card:nth-child(3n) {\n      border-right: none;\n    }\n\n    .entry-head {\n      display: flex;\n      justify-content: space-between;\n      align-items: baseline;\n      font-size: 0.8rem;\n      color: var(--muted);\n    }\n\n    .entry-num {\n      color: var(--ink);\n      font-weight: 700;\n    }\n\n    .wireframe-box {\n      border: 1px solid var(--hairline);\n      background: var(--surface);\n      aspect-ratio: 16 / 10;\n      width: 100%;\n      overflow: hidden;\n    }\n\n    .wireframe-box svg {\n      width: 100%;\n      height: 100%;\n      display: block;\n    }\n\n    .entry-title {\n      margin: 0;\n      font-size: 1rem;\n      font-weight: 700;\n    }\n\n    .entry-note {\n      margin: 0;\n      font-size: 0.84rem;\n      color: var(--muted);\n      flex: 1;\n    }\n\n    .entry-meta {\n      display: flex;\n      flex-wrap: wrap;\n      justify-content: space-between;\n      align-items: center;\n      gap: 0.5rem;\n      padding-top: 0.65rem;\n      border-top: 1px dashed var(--hairline);\n      font-size: 0.78rem;\n    }\n\n    .tag-raw {\n      border: 1px solid var(--hairline);\n      padding: 0.1rem 0.4rem;\n      text-transform: uppercase;\n      font-size: 0.72rem;\n    }\n\n    .inspect-btn {\n      min-height: 36px;\n      padding: 0 0.65rem;\n      font-size: 0.78rem;\n    }\n\n    /* Raw Table View */\n    .table-wrap {\n      display: none;\n      width: 100%;\n    }\n\n    .table-wrap.active {\n      display: block;\n    }\n\n    .archive-grid.hidden {\n      display: none;\n    }\n\n    table.raw-table {\n      width: 100%;\n      border-collapse: collapse;\n      table-layout: fixed;\n    }\n\n    table.raw-table th,\n    table.raw-table td {\n      border-bottom: 1px solid var(--hairline);\n      border-right: 1px solid var(--hairline);\n      padding: 0.7rem 0.85rem;\n      text-align: left;\n      vertical-align: top;\n      word-wrap: break-word;\n    }\n\n    table.raw-table th {\n      background: var(--surface);\n      font-size: 0.78rem;\n      text-transform: uppercase;\n      font-weight: 700;\n    }\n\n    table.raw-table th:last-child,\n    table.raw-table td:last-child {\n      border-right: none;\n    }\n\n    table.raw-table tbody tr:hover {\n      background: var(--surface);\n    }\n\n    /* Empty state */\n    .empty-state {\n      padding: 3rem 1.25rem;\n      text-align: center;\n      border-bottom: 1px solid var(--hairline);\n    }\n\n    /* Spec Drawer / Inspector Modal */\n    .inspector-bar {\n      display: none;\n      position: fixed;\n      left: 0;\n      right: 0;\n      bottom: 0;\n      background: var(--canvas);\n      border-top: 2px solid var(--hairline);\n      padding: 1rem 1.25rem;\n      z-index: 50;\n    }\n\n    .inspector-bar.open {\n      display: block;\n    }\n\n    .inspector-inner {\n      max-width: 1200px;\n      margin: 0 auto;\n      display: flex;\n      flex-wrap: wrap;\n      align-items: center;\n      justify-content: space-between;\n      gap: 1rem;\n    }\n\n    .inspector-specs {\n      display: flex;\n      flex-wrap: wrap;\n      gap: 1.25rem;\n      font-size: 0.84rem;\n    }\n\n    /* Footer */\n    footer {\n      padding: 1.5rem 1.25rem;\n      background: var(--surface);\n      font-size: 0.8rem;\n      color: var(--muted);\n      display: flex;\n      flex-wrap: wrap;\n      justify-content: space-between;\n      gap: 0.75rem;\n    }\n\n    /* Responsive */\n    @media (max-width: 960px) {\n      .archive-grid {\n        grid-template-columns: repeat(2, minmax(0, 1fr));\n      }\n      .entry-card:nth-child(3n) {\n        border-right: 1px solid var(--hairline);\n      }\n      .entry-card:nth-child(2n) {\n        border-right: none;\n      }\n    }\n\n    @media (max-width: 640px) {\n      .archive-grid {\n        grid-template-columns: 1fr;\n      }\n      .entry-card {\n        border-right: none !important;\n      }\n      .status-readout {\n        margin-left: 0;\n        width: 100%;\n      }\n      .inspect-btn {\n        min-height: 44px;\n      }\n      /* Stack raw table cleanly on mobile without horizontal overflow */\n      table.raw-table thead {\n        display: none;\n      }\n      table.raw-table,\n      table.raw-table tbody,\n      table.raw-table tr,\n      table.raw-table td {\n        display: block;\n        width: 100%;\n      }\n      table.raw-table tr {\n        border-bottom: 2px solid var(--hairline);\n        padding: 0.5rem 0;\n      }\n      table.raw-table td {\n        border: none;\n        padding: 0.3rem 1.25rem;\n      }\n      table.raw-table td::before {\n        content: attr(data-label) \": \";\n        font-weight: 700;\n        color: var(--muted);\n        text-transform: uppercase;\n        font-size: 0.75rem;\n      }\n    }\n  </style>\n</head>\n<body>\n  <header class=\"topbar\">\n    <div class=\"title-block\">\n      <h1>RAW INDEX // BRUTALIST WEB ARCHIVE</h1>\n      <p>An unstyled catalogue of rugged, honest, structural HTML websites. No smooth scroll. No hero gradients. Pure document architecture.</p>\n    </div>\n    <div class=\"mode-controls\">\n      <button type=\"button\" id=\"gridViewBtn\" class=\"active\" aria-pressed=\"true\">[GRID VIEW]</button>\n      <button type=\"button\" id=\"tableViewBtn\" aria-pressed=\"false\">[RAW TABLE]</button>\n      <button type=\"button\" id=\"invertBtn\" aria-pressed=\"false\">[INVERT]</button>\n    </div>\n  </header>\n\n  <section class=\"filter-strip\" aria-label=\"Archive filters\">\n    <div class=\"filter-group\">\n      <label for=\"yearFilter\">Year</label>\n      <select id=\"yearFilter\">\n        <option value=\"ALL\">ALL</option>\n        <option value=\"2026\">2026</option>\n        <option value=\"2025\">2025</option>\n        <option value=\"2024\">2024</option>\n        <option value=\"2023\">2023</option>\n        <option value=\"2022\">2022</option>\n      </select>\n    </div>\n\n    <div class=\"filter-group\">\n      <label for=\"countryFilter\">Country</label>\n      <select id=\"countryFilter\">\n        <option value=\"ALL\">ALL</option>\n        <option value=\"CH\">CH — Switzerland</option>\n        <option value=\"DE\">DE — Germany</option>\n        <option value=\"JP\">JP — Japan</option>\n        <option value=\"NL\">NL — Netherlands</option>\n        <option value=\"UK\">UK — United Kingdom</option>\n        <option value=\"US\">US — United States</option>\n      </select>\n    </div>\n\n    <div class=\"filter-group\">\n      <label for=\"styleFilter\">Style</label>\n      <select id=\"styleFilter\">\n        <option value=\"ALL\">ALL</option>\n        <option value=\"Hypertext\">Hypertext</option>\n        <option value=\"Swiss Raw\">Swiss Raw</option>\n        <option value=\"Terminal\">Terminal</option>\n        <option value=\"Anti-Grid\">Anti-Grid</option>\n      </select>\n    </div>\n\n    <button type=\"button\" id=\"resetFiltersBtn\">RESET</button>\n    <div class=\"status-readout\" id=\"statusReadout\">SHOWING 9 / 9 ENTRIES</div>\n  </section>\n\n  <main>\n    <div class=\"archive-grid\" id=\"archiveGrid\"></div>\n\n    <div class=\"table-wrap\" id=\"tableWrap\">\n      <table class=\"raw-table\">\n        <thead>\n          <tr>\n            <th style=\"width:8%\">#</th>\n            <th style=\"width:24%\">SITE / URL</th>\n            <th style=\"width:10%\">YEAR</th>\n            <th style=\"width:10%\">LOC</th>\n            <th style=\"width:14%\">STYLE</th>\n            <th style=\"width:24%\">NOTES</th>\n            <th style=\"width:10%\">SPEC</th>\n          </tr>\n        </thead>\n        <tbody id=\"tableBody\"></tbody>\n      </table>\n    </div>\n\n    <div class=\"empty-state\" id=\"emptyState\" hidden>\n      <p>0 ARCHIVE ENTRIES MATCH CURRENT FILTER PARAMETERS.</p>\n      <button type=\"button\" id=\"emptyResetBtn\">CLEAR FILTERS</button>\n    </div>\n  </main>\n\n  <aside class=\"inspector-bar\" id=\"inspectorBar\" aria-label=\"Entry colophon inspector\">\n    <div class=\"inspector-inner\">\n      <div class=\"inspector-specs\" id=\"inspectorSpecs\"></div>\n      <button type=\"button\" id=\"closeInspectorBtn\">[CLOSE SPEC]</button>\n    </div>\n  </aside>\n\n  <footer>\n    <div>RAW INDEX &mdash; CURATED STATIC HTML ARCHIVE (14.2 KB TRANSFER)</div>\n    <div>SUBMIT A URL: <a href=\"#top\" id=\"submitHintLink\">archive@raw-index.example</a> &bull; <a href=\"#top\">TOP &uarr;</a></div>\n  </footer>\n\n  <script>\n    (function () {\n      const ENTRIES = [\n        {\n          num: '001',\n          name: 'KUNSTHALLE BASEL ARCHIVE',\n          url: 'kunsthalle-raw.ch',\n          year: '2026',\n          country: 'CH',\n          style: 'Swiss Raw',\n          weight: '18 KB',\n          stack: 'HTML5 + 1px CSS Grid',\n          note: 'Rigid 12-column exhibition ledger using only system monospace and raw blue anchors.',\n          wireframe: 'grid'\n        },\n        {\n          num: '002',\n          name: 'TOKYO SOUND SYNDICATE',\n          url: 'tss-fm.jp/index.txt',\n          year: '2026',\n          country: 'JP',\n          style: 'Terminal',\n          weight: '9 KB',\n          stack: 'Plain HTML + Preformatted ASCII',\n          note: 'Broadcast schedule rendered as live ASCII tables with zero images and instant track links.',\n          wireframe: 'terminal'\n        },\n        {\n          num: '003',\n          name: 'BETON ARCHITECTURE PRESS',\n          url: 'betonpress.de',\n          year: '2025',\n          country: 'DE',\n          style: 'Swiss Raw',\n          weight: '24 KB',\n          stack: 'Static SSG + Inline SVG',\n          note: 'Concrete typography catalogue featuring oversized index numerals and exposed border hairlines.',\n          wireframe: 'blocks'\n        },\n        {\n          num: '004',\n          name: 'LOW-TECH HYPERTEXT RING',\n          url: 'smallweb-directory.org',\n          year: '2025',\n          country: 'US',\n          style: 'Hypertext',\n          weight: '6 KB',\n          stack: 'Hand-coded HTML 4.01 Strict',\n          note: 'Dense multi-column directory of 400+ personal homepages with default browser link states.',\n          wireframe: 'columns'\n        },\n        {\n          num: '005',\n          name: 'AMSTERDAM RISO CO-OP',\n          url: 'riso-rotterdam.nl',\n          year: '2024',\n          country: 'NL',\n          style: 'Anti-Grid',\n          weight: '31 KB',\n          stack: 'HTML + Raw CSS Tables',\n          note: 'Overlapping print proofs, exposed table cells, and zero-padding brutalist spec sheets.',\n          wireframe: 'antigrid'\n        },\n        {\n          num: '006',\n          name: 'LONDON SYNTHESIS LAB',\n          url: 'synthlab-uk.net',\n          year: '2024',\n          country: 'UK',\n          style: 'Terminal',\n          weight: '11 KB',\n          stack: 'Vanilla JS + Web Audio',\n          note: 'Patchbay documentation presented as a monospaced manual with clickable schematic diagrams.',\n          wireframe: 'schematic'\n        },\n        {\n          num: '007',\n          name: 'BERLIN TYPE SPECIMEN 09',\n          url: 'grotesk-09.de',\n          year: '2023',\n          country: 'DE',\n          style: 'Swiss Raw',\n          weight: '22 KB',\n          stack: 'CSS Subgrid + Variable Font',\n          note: 'Unfiltered glyph waterfall with live kerning table and black-and-white contrast.',\n          wireframe: 'specimen'\n        },\n        {\n          num: '008',\n          name: 'KYOTO HARDWARE JOURNAL',\n          url: 'khj-archive.jp',\n          year: '2023',\n          country: 'JP',\n          style: 'Hypertext',\n          weight: '12 KB',\n          stack: 'Plain HTML + Footnotes',\n          note: 'Long-form essays on repairable electronics with numbered inline citations and zero JS.',\n          wireframe: 'columns'\n        },\n        {\n          num: '009',\n          name: 'NEW YORK ZINE EXCHANGE',\n          url: 'nyzx-list.us',\n          year: '2022',\n          country: 'US',\n          style: 'Anti-Grid',\n          weight: '15 KB',\n          stack: 'CGI Perl + Raw HTML',\n          note: 'Chronological swap board for self-published booklets with stark 1px outlines.',\n          wireframe: 'antigrid'\n        }\n      ];\n\n      function makeWireframeSVG(kind, num) {\n        const stroke = 'currentColor';\n        if (kind === 'grid') {\n          return `<svg viewBox=\"0 0 320 200\" stroke=\"${stroke}\" fill=\"none\" stroke-width=\"1.2\" aria-hidden=\"true\">\n            <line x1=\"0\" y1=\"36\" x2=\"320\" y2=\"36\"/>\n            <line x1=\"106\" y1=\"36\" x2=\"106\" y2=\"200\"/>\n            <line x1=\"212\" y1=\"36\" x2=\"212\" y2=\"200\"/>\n            <line x1=\"0\" y1=\"118\" x2=\"320\" y2=\"118\"/>\n            <text x=\"12\" y=\"24\" fill=\"${stroke}\" stroke=\"none\" font-family=\"monospace\" font-size=\"12\">[${num}] INDEX_GRID</text>\n            <rect x=\"14\" y=\"50\" width=\"78\" height=\"54\"/>\n            <line x1=\"14\" y1=\"50\" x2=\"92\" y2=\"104\"/>\n            <line x1=\"92\" y1=\"50\" x2=\"14\" y2=\"104\"/>\n            <line x1=\"120\" y1=\"56\" x2=\"196\" y2=\"56\"/>\n            <line x1=\"120\" y1=\"72\" x2=\"184\" y2=\"72\"/>\n            <line x1=\"226\" y1=\"134\" x2=\"302\" y2=\"134\"/>\n            <line x1=\"226\" y1=\"150\" x2=\"288\" y2=\"150\"/>\n          </svg>`;\n        }\n        if (kind === 'terminal') {\n          return `<svg viewBox=\"0 0 320 200\" stroke=\"${stroke}\" fill=\"none\" stroke-width=\"1.2\" aria-hidden=\"true\">\n            <rect x=\"14\" y=\"14\" width=\"292\" height=\"172\"/>\n            <line x1=\"14\" y1=\"38\" x2=\"306\" y2=\"38\"/>\n            <text x=\"24\" y=\"30\" fill=\"${stroke}\" stroke=\"none\" font-family=\"monospace\" font-size=\"11\">TERM://RAW_${num}</text>\n            <text x=\"24\" y=\"64\" fill=\"${stroke}\" stroke=\"none\" font-family=\"monospace\" font-size=\"11\">&gt; ls -la /archive</text>\n            <text x=\"24\" y=\"86\" fill=\"${stroke}\" stroke=\"none\" font-family=\"monospace\" font-size=\"11\">01_broadcast.txt  4.2K</text>\n            <text x=\"24\" y=\"108\" fill=\"${stroke}\" stroke=\"none\" font-family=\"monospace\" font-size=\"11\">02_schedule.txt   2.1K</text>\n            <text x=\"24\" y=\"130\" fill=\"${stroke}\" stroke=\"none\" font-family=\"monospace\" font-size=\"11\">03_manifest.html  1.8K</text>\n            <rect x=\"24\" y=\"148\" width=\"9\" height=\"14\" fill=\"${stroke}\"/>\n          </svg>`;\n        }\n        if (kind === 'blocks') {\n          return `<svg viewBox=\"0 0 320 200\" stroke=\"${stroke}\" fill=\"none\" stroke-width=\"1.4\" aria-hidden=\"true\">\n            <rect x=\"16\" y=\"16\" width=\"136\" height=\"168\"/>\n            <text x=\"28\" y=\"96\" fill=\"${stroke}\" stroke=\"none\" font-family=\"monospace\" font-size=\"52\" font-weight=\"700\">${num}</text>\n            <rect x=\"164\" y=\"16\" width=\"140\" height=\"76\"/>\n            <rect x=\"164\" y=\"104\" width=\"140\" height=\"80\"/>\n            <line x1=\"176\" y1=\"42\" x2=\"290\" y2=\"42\"/>\n            <line x1=\"176\" y1=\"60\" x2=\"260\" y2=\"60\"/>\n            <line x1=\"176\" y1=\"130\" x2=\"288\" y2=\"130\"/>\n            <line x1=\"176\" y1=\"148\" x2=\"248\" y2=\"148\"/>\n          </svg>`;\n        }\n        if (kind === 'columns') {\n          return `<svg viewBox=\"0 0 320 200\" stroke=\"${stroke}\" fill=\"none\" stroke-width=\"1.2\" aria-hidden=\"true\">\n            <text x=\"16\" y=\"28\" fill=\"${stroke}\" stroke=\"none\" font-family=\"monospace\" font-size=\"12\" font-weight=\"700\">HYPERTEXT DIRECTORY</text>\n            <line x1=\"16\" y1=\"38\" x2=\"304\" y2=\"38\"/>\n            <line x1=\"16\" y1=\"60\" x2=\"96\" y2=\"60\"/><line x1=\"114\" y1=\"60\" x2=\"196\" y2=\"60\"/><line x1=\"214\" y1=\"60\" x2=\"296\" y2=\"60\"/>\n            <line x1=\"16\" y1=\"80\" x2=\"88\" y2=\"80\"/><line x1=\"114\" y1=\"80\" x2=\"188\" y2=\"80\"/><line x1=\"214\" y1=\"80\" x2=\"286\" y2=\"80\"/>\n            <line x1=\"16\" y1=\"100\" x2=\"94\" y2=\"100\"/><line x1=\"114\" y1=\"100\" x2=\"192\" y2=\"100\"/><line x1=\"214\" y1=\"100\" x2=\"298\" y2=\"100\"/>\n            <line x1=\"16\" y1=\"120\" x2=\"78\" y2=\"120\"/><line x1=\"114\" y1=\"120\" x2=\"176\" y2=\"120\"/><line x1=\"214\" y1=\"120\" x2=\"278\" y2=\"120\"/>\n            <line x1=\"16\" y1=\"140\" x2=\"90\" y2=\"140\"/><line x1=\"114\" y1=\"140\" x2=\"194\" y2=\"140\"/><line x1=\"214\" y1=\"140\" x2=\"290\" y2=\"140\"/>\n          </svg>`;\n        }\n        if (kind === 'schematic') {\n          return `<svg viewBox=\"0 0 320 200\" stroke=\"${stroke}\" fill=\"none\" stroke-width=\"1.3\" aria-hidden=\"true\">\n            <rect x=\"24\" y=\"42\" width=\"76\" height=\"50\"/>\n            <text x=\"36\" y=\"72\" fill=\"${stroke}\" stroke=\"none\" font-family=\"monospace\" font-size=\"11\">OSC_01</text>\n            <line x1=\"100\" y1=\"67\" x2=\"146\" y2=\"67\"/>\n            <rect x=\"146\" y=\"42\" width=\"76\" height=\"50\"/>\n            <text x=\"158\" y=\"72\" fill=\"${stroke}\" stroke=\"none\" font-family=\"monospace\" font-size=\"11\">VCF_LP</text>\n            <line x1=\"222\" y1=\"67\" x2=\"254\" y2=\"67\"/>\n            <circle cx=\"272\" cy=\"67\" r=\"18\"/>\n            <polyline points=\"24,154 64,126 104,154 144,126 184,154 224,126 264,154 296,138\"/>\n          </svg>`;\n        }\n        if (kind === 'specimen') {\n          return `<svg viewBox=\"0 0 320 200\" stroke=\"${stroke}\" fill=\"none\" stroke-width=\"1.2\" aria-hidden=\"true\">\n            <text x=\"18\" y=\"78\" fill=\"${stroke}\" stroke=\"none\" font-family=\"monospace\" font-size=\"56\" font-weight=\"700\">AaBbCc</text>\n            <line x1=\"18\" y1=\"94\" x2=\"302\" y2=\"94\"/>\n            <text x=\"18\" y=\"124\" fill=\"${stroke}\" stroke=\"none\" font-family=\"monospace\" font-size=\"18\">0123456789 !@#$%</text>\n            <line x1=\"18\" y1=\"140\" x2=\"302\" y2=\"140\"/>\n            <text x=\"18\" y=\"168\" fill=\"${stroke}\" stroke=\"none\" font-family=\"monospace\" font-size=\"11\">TRACKING: 0.00EM / MONO</text>\n          </svg>`;\n        }\n        return `<svg viewBox=\"0 0 320 200\" stroke=\"${stroke}\" fill=\"none\" stroke-width=\"1.3\" aria-hidden=\"true\">\n          <rect x=\"18\" y=\"20\" width=\"144\" height=\"96\"/>\n          <rect x=\"122\" y=\"64\" width=\"176\" height=\"114\"/>\n          <line x1=\"18\" y1=\"20\" x2=\"162\" y2=\"116\"/>\n          <text x=\"136\" y=\"110\" fill=\"${stroke}\" stroke=\"none\" font-family=\"monospace\" font-size=\"14\" font-weight=\"700\">RAW_LAYER_${num}</text>\n          <line x1=\"136\" y1=\"132\" x2=\"278\" y2=\"132\"/>\n          <line x1=\"136\" y1=\"150\" x2=\"246\" y2=\"150\"/>\n        </svg>`;\n      }\n\n      const yearFilter = document.getElementById('yearFilter');\n      const countryFilter = document.getElementById('countryFilter');\n      const styleFilter = document.getElementById('styleFilter');\n      const archiveGrid = document.getElementById('archiveGrid');\n      const tableWrap = document.getElementById('tableWrap');\n      const tableBody = document.getElementById('tableBody');\n      const emptyState = document.getElementById('emptyState');\n      const statusReadout = document.getElementById('statusReadout');\n      const gridViewBtn = document.getElementById('gridViewBtn');\n      const tableViewBtn = document.getElementById('tableViewBtn');\n      const invertBtn = document.getElementById('invertBtn');\n      const inspectorBar = document.getElementById('inspectorBar');\n      const inspectorSpecs = document.getElementById('inspectorSpecs');\n\n      let currentView = 'grid';\n\n      function getFiltered() {\n        const y = yearFilter.value;\n        const c = countryFilter.value;\n        const s = styleFilter.value;\n        return ENTRIES.filter(item =>\n          (y === 'ALL' || item.year === y) &&\n          (c === 'ALL' || item.country === c) &&\n          (s === 'ALL' || item.style === s)\n        );\n      }\n\n      function render() {\n        const list = getFiltered();\n        statusReadout.textContent = `SHOWING ${list.length} / ${ENTRIES.length} ENTRIES`;\n\n        if (list.length === 0) {\n          archiveGrid.innerHTML = '';\n          tableBody.innerHTML = '';\n          emptyState.hidden = false;\n          return;\n        }\n        emptyState.hidden = true;\n\n        archiveGrid.innerHTML = list.map(item => `\n          <article class=\"entry-card\">\n            <div class=\"entry-head\">\n              <span class=\"entry-num\">#${item.num}</span>\n              <span>${item.country} &bull; ${item.year}</span>\n            </div>\n            <div class=\"wireframe-box\">${makeWireframeSVG(item.wireframe, item.num)}</div>\n            <h2 class=\"entry-title\"><a href=\"#spec-${item.num}\" data-inspect=\"${item.num}\">${item.name}</a></h2>\n            <p class=\"entry-note\">${item.note}</p>\n            <div class=\"entry-meta\">\n              <span class=\"tag-raw\">${item.style}</span>\n              <button type=\"button\" class=\"inspect-btn\" data-inspect=\"${item.num}\">SPEC [${item.weight}]</button>\n            </div>\n          </article>\n        `).join('');\n\n        tableBody.innerHTML = list.map(item => `\n          <tr>\n            <td data-label=\"#\"><strong>${item.num}</strong></td>\n            <td data-label=\"Site\"><a href=\"#spec-${item.num}\" data-inspect=\"${item.num}\">${item.name}</a><br><span style=\"color:var(--muted);font-size:0.78rem;\">${item.url}</span></td>\n            <td data-label=\"Year\">${item.year}</td>\n            <td data-label=\"Loc\">${item.country}</td>\n            <td data-label=\"Style\"><span class=\"tag-raw\">${item.style}</span></td>\n            <td data-label=\"Notes\">${item.note}</td>\n            <td data-label=\"Spec\"><button type=\"button\" class=\"inspect-btn\" data-inspect=\"${item.num}\">${item.weight}</button></td>\n          </tr>\n        `).join('');\n      }\n\n      function openInspector(num) {\n        const item = ENTRIES.find(e => e.num === num);\n        if (!item) return;\n        inspectorSpecs.innerHTML = `\n          <span><strong>#${item.num} ${item.name}</strong></span>\n          <span>URL: <code>https://${item.url}</code></span>\n          <span>WEIGHT: <strong>${item.weight}</strong></span>\n          <span>STACK: ${item.stack}</span>\n          <span>ORIGIN: ${item.country} (${item.year})</span>\n        `;\n        inspectorBar.classList.add('open');\n      }\n\n      function setView(view) {\n        currentView = view;\n        const isGrid = view === 'grid';\n        archiveGrid.classList.toggle('hidden', !isGrid);\n        tableWrap.classList.toggle('active', !isGrid);\n        gridViewBtn.classList.toggle('active', isGrid);\n        tableViewBtn.classList.toggle('active', !isGrid);\n        gridViewBtn.setAttribute('aria-pressed', String(isGrid));\n        tableViewBtn.setAttribute('aria-pressed', String(!isGrid));\n      }\n\n      function resetFilters() {\n        yearFilter.value = 'ALL';\n        countryFilter.value = 'ALL';\n        styleFilter.value = 'ALL';\n        render();\n      }\n\n      yearFilter.addEventListener('change', render);\n      countryFilter.addEventListener('change', render);\n      styleFilter.addEventListener('change', render);\n      document.getElementById('resetFiltersBtn').addEventListener('click', resetFilters);\n      document.getElementById('emptyResetBtn').addEventListener('click', resetFilters);\n\n      gridViewBtn.addEventListener('click', () => setView('grid'));\n      tableViewBtn.addEventListener('click', () => setView('table'));\n\n      invertBtn.addEventListener('click', () => {\n        const inverted = document.body.classList.toggle('inverted');\n        invertBtn.classList.toggle('active', inverted);\n        invertBtn.setAttribute('aria-pressed', String(inverted));\n        invertBtn.textContent = inverted ? '[NORMAL]' : '[INVERT]';\n      });\n\n      document.addEventListener('click', e => {\n        const target = e.target.closest('[data-inspect]');\n        if (target) {\n          e.preventDefault();\n          openInspector(target.dataset.inspect);\n        }\n      });\n\n      document.getElementById('closeInspectorBtn').addEventListener('click', () => {\n        inspectorBar.classList.remove('open');\n      });\n\n      document.addEventListener('keydown', e => {\n        if (e.key === 'Escape') inspectorBar.classList.remove('open');\n      });\n\n      render();\n    })();\n  </script>\n</body>\n</html>\n"
}
