{
  "id": 19,
  "slug": "neocities-handcrafted-web",
  "name": "Neocities Handcrafted Indie Web",
  "kind": "style",
  "family": "Zine & Raw-Web",
  "sourceSite": {
    "name": "Neocities",
    "url": "https://neocities.org",
    "verifiedStatus": 200
  },
  "tagline": "Warm personal-web revival with handcrafted 88x31 SVG web-buttons, pixel-border neighborhood cards, and a live guestbook.",
  "whyUnique": "Celebrates the human joy of the indie personal web without becoming unreadable: warm cream paper, crisp navy ink, coral accents, authentic 88x31 micro-badges, webring filters, and a working guestbook.",
  "theme": "light",
  "mobileStrength": "high",
  "tags": [
    "indie-web",
    "handcrafted",
    "web-buttons",
    "personal-sites",
    "retro-zine",
    "guestbook"
  ],
  "bestFor": [
    "Personal homepages & digital gardens",
    "Indie web directories & webrings",
    "Creative coding clubs & zine collectives",
    "Nostalgic community portals"
  ],
  "palette": [
    {
      "role": "canvas",
      "hex": "#FAF5EC",
      "name": "Zine Cream"
    },
    {
      "role": "surface",
      "hex": "#EFE7D8",
      "name": "Notebook Sand"
    },
    {
      "role": "ink",
      "hex": "#1A2238",
      "name": "Deep Navy"
    },
    {
      "role": "accent",
      "hex": "#E94F37",
      "name": "Riso Coral"
    },
    {
      "role": "muted",
      "hex": "#5E6472",
      "name": "Ink Slate"
    }
  ],
  "typography": {
    "display": "Space Mono, Courier New, monospace",
    "body": "Work Sans, -apple-system, sans-serif",
    "mono": "Space Mono, ui-monospace, monospace",
    "googleFontsUrl": "https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Work+Sans:wght@400;500;600;700&display=swap",
    "scaleNotes": "Charming bold monospace headings paired with friendly legible sans descriptions and pixel-crisp tag badges."
  },
  "layoutNotes": "Handcrafted header with 88x31 inline SVG web-button ribbon, tag-filterable neighborhood site directory with double/pixel borders, webring navigator bar, and an interactive Sign Guestbook panel.",
  "interactionNotes": "Filter neighborhood sites by vibe (Shrines, Pixel Art, Webrings, Zines, Gardens), random-site webring jumper, and a live guestbook form that appends signed entries immediately.",
  "mobileNotes": "88x31 button wall wraps neatly without overflow; neighborhood cards stack cleanly and all guestbook inputs and buttons meet >=44px touch standards on 390px.",
  "agentGuardrails": {
    "do": [
      "Include charming handcrafted touches like 88x31 SVG badges, hit counters, and guestbooks",
      "Keep text contrast crisp and layouts structurally tidy despite the playful zine aesthetic",
      "Use warm cream and navy-coral palettes to elevate retro indie-web charm"
    ],
    "dont": [
      "Do not use flashing/strobing animations or unreadable low-contrast tiled text",
      "Do not replace personal-web warmth with sterile corporate templates"
    ]
  },
  "demoFile": "demos/neocities-handcrafted-web.html",
  "thumbDesktop": "thumbs/neocities-handcrafted-web-desktop.webp",
  "thumbMobile": "thumbs/neocities-handcrafted-web-mobile.webp",
  "urls": {
    "page": "https://templates.michaelpitts.net/t/neocities-handcrafted-web",
    "markdown": "https://templates.michaelpitts.net/t/neocities-handcrafted-web.md",
    "api": "https://templates.michaelpitts.net/api/templates/neocities-handcrafted-web",
    "demo": "https://templates.michaelpitts.net/demos/neocities-handcrafted-web.html",
    "thumbDesktop": "https://templates.michaelpitts.net/thumbs/neocities-handcrafted-web-desktop.webp",
    "thumbMobile": "https://templates.michaelpitts.net/thumbs/neocities-handcrafted-web-mobile.webp"
  },
  "agentPrompt": "Design & build using template #019 \"Neocities Handcrafted Indie Web\" (style / Zine & Raw-Web, light theme).\nFull AI blueprint & standalone starter code: https://templates.michaelpitts.net/t/neocities-handcrafted-web.md\nLive demo: https://templates.michaelpitts.net/demos/neocities-handcrafted-web.html\nReal-world inspiration: Neocities (https://neocities.org)\n\nCore aesthetic: Celebrates the human joy of the indie personal web without becoming unreadable: warm cream paper, crisp navy ink, coral accents, authentic 88x31 micro-badges, webring filters, and a working guestbook.\nPalette: canvas: #FAF5EC (Zine Cream), surface: #EFE7D8 (Notebook Sand), ink: #1A2238 (Deep Navy), accent: #E94F37 (Riso Coral), muted: #5E6472 (Ink Slate)\nTypography: Display=\"Space Mono, Courier New, monospace\", Body=\"Work Sans, -apple-system, sans-serif\", Mono=\"Space Mono, ui-monospace, monospace\"\nLayout: Handcrafted header with 88x31 inline SVG web-button ribbon, tag-filterable neighborhood site directory with double/pixel borders, webring navigator bar, and an interactive Sign Guestbook panel.\nInteractions: Filter neighborhood sites by vibe (Shrines, Pixel Art, Webrings, Zines, Gardens), random-site webring jumper, and a live guestbook form that appends signed entries immediately.\nMobile: 88x31 button wall wraps neatly without overflow; neighborhood cards stack cleanly and all guestbook inputs and buttons meet >=44px touch standards on 390px.\n\nGuardrails:\n- DO: Include charming handcrafted touches like 88x31 SVG badges, hit counters, and guestbooks\n- DO: Keep text contrast crisp and layouts structurally tidy despite the playful zine aesthetic\n- DO: Use warm cream and navy-coral palettes to elevate retro indie-web charm\n- DON'T: Do not use flashing/strobing animations or unreadable low-contrast tiled text\n- DON'T: Do not replace personal-web warmth with sterile corporate templates",
  "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>PIXELTOWN — Handcrafted Personal Web Neighborhood</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=Newsreader:ital,opsz,wght@0,6..72,500;0,6..72,700;1,6..72,500&family=Silkscreen:wght@400;700&family=Work+Sans:wght@400;500;600;700&display=swap\" rel=\"stylesheet\">\n  <style>\n    :root {\n      --canvas: #FAF5EC;\n      --surface: #EFE7D8;\n      --ink: #1A2238;\n      --accent: #E94F37;\n      --muted: #5E6472;\n      --teal: #2A9D8F;\n      --border: 2px solid var(--ink);\n    }\n\n    *, *::before, *::after {\n      box-sizing: border-box;\n    }\n\n    html {\n      scroll-behavior: smooth;\n      overflow-x: clip;\n    }\n\n    body {\n      margin: 0;\n      background-color: var(--canvas);\n      background-image:\n        linear-gradient(rgba(26, 34, 56, 0.05) 1px, transparent 1px),\n        linear-gradient(90deg, rgba(26, 34, 56, 0.05) 1px, transparent 1px);\n      background-size: 24px 24px;\n      color: var(--ink);\n      font-family: 'Work Sans', system-ui, -apple-system, sans-serif;\n      line-height: 1.55;\n      overflow-x: clip;\n    }\n\n    a { color: var(--accent); }\n    button, input, textarea, select { font: inherit; }\n\n    .container {\n      width: 100%;\n      max-width: 1120px;\n      margin: 0 auto;\n      padding: 0 18px;\n    }\n\n    /* Pixel-border utility */\n    .pixel-box {\n      background: var(--canvas);\n      border: var(--border);\n      box-shadow: 4px 4px 0 var(--ink);\n    }\n\n    /* Header */\n    header {\n      background: var(--surface);\n      border-bottom: var(--border);\n      position: sticky;\n      top: 0;\n      z-index: 40;\n    }\n\n    .nav-wrap {\n      display: flex;\n      align-items: center;\n      justify-content: space-between;\n      min-height: 64px;\n      gap: 12px;\n    }\n\n    .site-logo {\n      display: inline-flex;\n      align-items: center;\n      gap: 10px;\n      text-decoration: none;\n      color: var(--ink);\n      font-family: 'Silkscreen', monospace;\n      font-size: 1.15rem;\n      font-weight: 700;\n    }\n\n    .logo-badge {\n      background: var(--teal);\n      color: #fff;\n      padding: 4px 7px;\n      border: 2px solid var(--ink);\n      box-shadow: 2px 2px 0 var(--ink);\n      font-size: 0.82rem;\n    }\n\n    .nav-links {\n      display: flex;\n      gap: 18px;\n      font-family: 'Silkscreen', monospace;\n      font-size: 0.78rem;\n    }\n\n    .nav-links a {\n      color: var(--ink);\n      text-decoration: none;\n      padding: 6px 4px;\n    }\n\n    .nav-links a:hover {\n      color: var(--accent);\n      text-decoration: underline;\n    }\n\n    .nav-toggle {\n      display: none;\n      min-width: 44px;\n      min-height: 44px;\n      background: var(--canvas);\n      border: var(--border);\n      box-shadow: 2px 2px 0 var(--ink);\n      font-family: 'Silkscreen', monospace;\n      cursor: pointer;\n    }\n\n    .mobile-nav {\n      display: none;\n      border-top: var(--border);\n      padding: 12px 18px 16px;\n      background: var(--canvas);\n      flex-direction: column;\n      gap: 8px;\n    }\n\n    .mobile-nav.open {\n      display: flex;\n    }\n\n    .mobile-nav a {\n      min-height: 44px;\n      display: flex;\n      align-items: center;\n      padding: 0 12px;\n      border: var(--border);\n      background: var(--surface);\n      color: var(--ink);\n      text-decoration: none;\n      font-family: 'Silkscreen', monospace;\n      font-size: 0.8rem;\n    }\n\n    /* Hero */\n    .hero {\n      padding: 36px 0 28px;\n    }\n\n    .hero-card {\n      padding: 28px;\n      display: grid;\n      grid-template-columns: 1.25fr 0.75fr;\n      gap: 24px;\n      align-items: center;\n      background: var(--canvas);\n    }\n\n    .pixel-kicker {\n      font-family: 'Silkscreen', monospace;\n      font-size: 0.74rem;\n      color: var(--teal);\n      margin-bottom: 10px;\n    }\n\n    h1 {\n      font-family: 'Newsreader', Georgia, serif;\n      font-size: clamp(2rem, 4.4vw, 3.2rem);\n      line-height: 1.08;\n      margin: 0 0 14px;\n    }\n\n    .hero-copy {\n      color: var(--muted);\n      margin: 0 0 18px;\n      font-size: 1rem;\n    }\n\n    .hero-stats {\n      background: var(--surface);\n      border: var(--border);\n      padding: 16px;\n      display: flex;\n      flex-direction: column;\n      gap: 10px;\n      font-family: 'Silkscreen', monospace;\n      font-size: 0.75rem;\n    }\n\n    .counter-pill {\n      background: #1A2238;\n      color: #FAF5EC;\n      padding: 8px 10px;\n      letter-spacing: 0.14em;\n      text-align: center;\n      font-size: 0.95rem;\n    }\n\n    /* 88x31 Web Buttons Wall */\n    .buttons-strip {\n      margin-top: 20px;\n      padding: 14px 18px;\n      background: var(--surface);\n      border: var(--border);\n      display: flex;\n      flex-wrap: wrap;\n      align-items: center;\n      gap: 10px;\n    }\n\n    .strip-label {\n      font-family: 'Silkscreen', monospace;\n      font-size: 0.72rem;\n      color: var(--muted);\n      margin-right: 6px;\n    }\n\n    .btn-88x31 {\n      width: 88px;\n      height: 31px;\n      display: block;\n      image-rendering: pixelated;\n      border: 1px solid var(--ink);\n    }\n\n    /* Neighborhood Directory */\n    section {\n      padding: 30px 0;\n    }\n\n    .sec-head {\n      display: flex;\n      justify-content: space-between;\n      align-items: flex-end;\n      flex-wrap: wrap;\n      gap: 12px;\n      margin-bottom: 18px;\n    }\n\n    h2 {\n      font-family: 'Newsreader', Georgia, serif;\n      font-size: clamp(1.6rem, 3vw, 2.2rem);\n      margin: 0 0 4px;\n    }\n\n    .tag-row {\n      display: flex;\n      flex-wrap: wrap;\n      gap: 8px;\n      margin-bottom: 22px;\n    }\n\n    .tag-pill {\n      min-height: 44px;\n      padding: 8px 14px;\n      background: var(--canvas);\n      border: var(--border);\n      box-shadow: 2px 2px 0 var(--ink);\n      font-family: 'Silkscreen', monospace;\n      font-size: 0.76rem;\n      cursor: pointer;\n    }\n\n    .tag-pill.active {\n      background: var(--accent);\n      color: #fff;\n    }\n\n    .site-grid {\n      display: grid;\n      grid-template-columns: repeat(3, minmax(0, 1fr));\n      gap: 20px;\n    }\n\n    .site-card {\n      background: var(--canvas);\n      border: var(--border);\n      box-shadow: 4px 4px 0 var(--ink);\n      display: flex;\n      flex-direction: column;\n    }\n\n    .site-card.hidden {\n      display: none;\n    }\n\n    .site-bar {\n      background: var(--surface);\n      border-bottom: var(--border);\n      padding: 6px 10px;\n      display: flex;\n      justify-content: space-between;\n      align-items: center;\n      font-family: 'Silkscreen', monospace;\n      font-size: 0.68rem;\n    }\n\n    .site-thumb {\n      border-bottom: var(--border);\n      background: #fff;\n      padding: 10px;\n    }\n\n    .site-thumb svg {\n      width: 100%;\n      height: 132px;\n      display: block;\n      border: 1px solid rgba(26, 34, 56, 0.25);\n    }\n\n    .site-body {\n      padding: 14px;\n      display: flex;\n      flex-direction: column;\n      gap: 6px;\n      flex: 1;\n    }\n\n    .site-body h3 {\n      margin: 0;\n      font-family: 'Newsreader', Georgia, serif;\n      font-size: 1.2rem;\n    }\n\n    .site-body p {\n      margin: 0;\n      font-size: 0.88rem;\n      color: var(--muted);\n      flex: 1;\n    }\n\n    .site-foot {\n      margin-top: 8px;\n      padding-top: 8px;\n      border-top: 1px dashed rgba(26, 34, 56, 0.3);\n      display: flex;\n      justify-content: space-between;\n      font-size: 0.74rem;\n      color: var(--teal);\n      font-weight: 600;\n    }\n\n    /* Guestbook */\n    .guestbook-grid {\n      display: grid;\n      grid-template-columns: 0.95fr 1.05fr;\n      gap: 24px;\n      align-items: start;\n    }\n\n    .gb-form {\n      padding: 20px;\n      background: var(--surface);\n      display: flex;\n      flex-direction: column;\n      gap: 14px;\n    }\n\n    .gb-form label {\n      display: block;\n      font-family: 'Silkscreen', monospace;\n      font-size: 0.72rem;\n      margin-bottom: 5px;\n    }\n\n    .gb-form input,\n    .gb-form textarea,\n    .gb-form select {\n      width: 100%;\n      min-height: 44px;\n      padding: 9px 11px;\n      background: var(--canvas);\n      border: var(--border);\n      color: var(--ink);\n    }\n\n    .gb-form textarea {\n      min-height: 88px;\n      resize: vertical;\n    }\n\n    .submit-btn {\n      min-height: 46px;\n      background: var(--teal);\n      color: #fff;\n      border: var(--border);\n      box-shadow: 3px 3px 0 var(--ink);\n      font-family: 'Silkscreen', monospace;\n      font-size: 0.82rem;\n      cursor: pointer;\n    }\n\n    .submit-btn:hover {\n      background: var(--accent);\n    }\n\n    .gb-entries {\n      display: flex;\n      flex-direction: column;\n      gap: 14px;\n    }\n\n    .gb-entry {\n      padding: 14px 16px;\n      background: var(--canvas);\n      border: var(--border);\n      box-shadow: 3px 3px 0 var(--ink);\n    }\n\n    .gb-meta {\n      display: flex;\n      justify-content: space-between;\n      align-items: center;\n      flex-wrap: wrap;\n      gap: 6px;\n      font-size: 0.82rem;\n      margin-bottom: 6px;\n      padding-bottom: 6px;\n      border-bottom: 1px dashed rgba(26, 34, 56, 0.25);\n    }\n\n    .gb-stamp {\n      font-family: 'Silkscreen', monospace;\n      font-size: 0.68rem;\n      color: var(--teal);\n    }\n\n    footer {\n      margin-top: 30px;\n      border-top: var(--border);\n      background: var(--surface);\n      padding: 24px 0;\n      font-size: 0.82rem;\n      color: var(--muted);\n    }\n\n    .foot-row {\n      display: flex;\n      justify-content: space-between;\n      flex-wrap: wrap;\n      gap: 12px;\n    }\n\n    @media (max-width: 900px) {\n      .hero-card, .guestbook-grid { grid-template-columns: 1fr; }\n      .site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n    }\n\n    @media (max-width: 640px) {\n      .nav-links { display: none; }\n      .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }\n      .site-grid { grid-template-columns: 1fr; }\n      .hero-card { padding: 18px; }\n    }\n  </style>\n</head>\n<body>\n  <header>\n    <div class=\"container nav-wrap\">\n      <a href=\"#top\" class=\"site-logo\">\n        <span class=\"logo-badge\">88×31</span>\n        <span>PIXELTOWN</span>\n      </a>\n      <nav class=\"nav-links\" aria-label=\"Primary\">\n        <a href=\"#neighborhood\">Neighborhood</a>\n        <a href=\"#guestbook\">Guestbook</a>\n        <a href=\"#webring\">Webring</a>\n      </nav>\n      <button type=\"button\" class=\"nav-toggle\" id=\"navToggle\" aria-expanded=\"false\" aria-controls=\"mobileNav\">MENU</button>\n    </div>\n    <nav class=\"mobile-nav\" id=\"mobileNav\" aria-label=\"Mobile navigation\">\n      <a href=\"#neighborhood\">Browse Neighborhood</a>\n      <a href=\"#guestbook\">Sign the Guestbook</a>\n      <a href=\"#webring\">88×31 Button Wall</a>\n    </nav>\n  </header>\n\n  <main id=\"top\" class=\"container\">\n    <section class=\"hero\">\n      <div class=\"pixel-box hero-card\">\n        <div>\n          <div class=\"pixel-kicker\">★ WELCOME TO THE HANDCRAFTED PERSONAL WEB ★</div>\n          <h1>Build a weird little homepage with your own two hands.</h1>\n          <p class=\"hero-copy\">\n            No algorithmic feeds, no infinite scroll, no corporate templates. Pixeltown is a cozy directory of hand-coded shrines, digital gardens, pixel-art galleries, and neighborhood webrings.\n          </p>\n          <a href=\"#guestbook\" class=\"submit-btn\" style=\"display:inline-flex;align-items:center;padding:0 16px;text-decoration:none;\">Sign Our Guestbook ↓</a>\n        </div>\n        <div class=\"hero-stats\">\n          <div>VISITOR COUNTER</div>\n          <div class=\"counter-pill\" id=\"hitCounter\">004,892</div>\n          <div>ACTIVE SITES: 6 FEATURED</div>\n          <div>HOSTING: PURE HTML + CSS</div>\n        </div>\n      </div>\n\n      <!-- Handcrafted 88x31 Inline SVG Web Buttons -->\n      <div class=\"buttons-strip\" id=\"webring\" aria-label=\"88 by 31 web buttons\">\n        <span class=\"strip-label\">88×31 BUTTONS:</span>\n        <svg class=\"btn-88x31\" viewBox=\"0 0 88 31\" role=\"img\" aria-label=\"Handcoded HTML\">\n          <rect width=\"88\" height=\"31\" fill=\"#1A2238\"/><rect x=\"2\" y=\"2\" width=\"84\" height=\"27\" fill=\"none\" stroke=\"#FAF5EC\" stroke-width=\"1\"/>\n          <text x=\"44\" y=\"14\" fill=\"#E94F37\" font-family=\"monospace\" font-size=\"8\" font-weight=\"700\" text-anchor=\"middle\">HANDCODED</text>\n          <text x=\"44\" y=\"24\" fill=\"#FAF5EC\" font-family=\"monospace\" font-size=\"8\" text-anchor=\"middle\">HTML + CSS</text>\n        </svg>\n        <svg class=\"btn-88x31\" viewBox=\"0 0 88 31\" role=\"img\" aria-label=\"View Source\">\n          <rect width=\"88\" height=\"31\" fill=\"#2A9D8F\"/><rect x=\"2\" y=\"2\" width=\"84\" height=\"27\" fill=\"none\" stroke=\"#1A2238\" stroke-width=\"1.5\"/>\n          <text x=\"44\" y=\"19\" fill=\"#FAF5EC\" font-family=\"monospace\" font-size=\"9\" font-weight=\"700\" text-anchor=\"middle\">&lt;SOURCE/&gt;</text>\n        </svg>\n        <svg class=\"btn-88x31\" viewBox=\"0 0 88 31\" role=\"img\" aria-label=\"Indie Webring\">\n          <rect width=\"88\" height=\"31\" fill=\"#E94F37\"/><circle cx=\"14\" cy=\"15\" r=\"7\" fill=\"#FAF5EC\"/>\n          <text x=\"53\" y=\"14\" fill=\"#FAF5EC\" font-family=\"monospace\" font-size=\"8\" font-weight=\"700\" text-anchor=\"middle\">WEBRING</text>\n          <text x=\"53\" y=\"24\" fill=\"#1A2238\" font-family=\"monospace\" font-size=\"7\" font-weight=\"700\" text-anchor=\"middle\">← PREV NEXT →</text>\n        </svg>\n        <svg class=\"btn-88x31\" viewBox=\"0 0 88 31\" role=\"img\" aria-label=\"RSS Feed\">\n          <rect width=\"88\" height=\"31\" fill=\"#EFE7D8\"/><rect x=\"3\" y=\"3\" width=\"24\" height=\"25\" fill=\"#E94F37\"/>\n          <circle cx=\"10\" cy=\"22\" r=\"2.5\" fill=\"#FAF5EC\"/><path d=\"M9 15 A8 8 0 0 1 17 23\" fill=\"none\" stroke=\"#FAF5EC\" stroke-width=\"2\"/>\n          <text x=\"57\" y=\"19\" fill=\"#1A2238\" font-family=\"monospace\" font-size=\"9\" font-weight=\"700\" text-anchor=\"middle\">RSS 2.0</text>\n        </svg>\n        <svg class=\"btn-88x31\" viewBox=\"0 0 88 31\" role=\"img\" aria-label=\"Digital Garden\">\n          <rect width=\"88\" height=\"31\" fill=\"#FAF5EC\"/><rect x=\"2\" y=\"2\" width=\"84\" height=\"27\" fill=\"none\" stroke=\"#2A9D8F\" stroke-width=\"2\"/>\n          <text x=\"44\" y=\"19\" fill=\"#1A2238\" font-family=\"monospace\" font-size=\"8\" font-weight=\"700\" text-anchor=\"middle\">✿ GARDENS</text>\n        </svg>\n      </div>\n    </section>\n\n    <section id=\"neighborhood\">\n      <div class=\"sec-head\">\n        <div>\n          <h2>Neighborhood Directory</h2>\n          <p style=\"margin:0;color:var(--muted);\">Explore personal pages tended by real humans—filter by hobby or vibe.</p>\n        </div>\n        <span id=\"dirCount\" style=\"font-family:'Silkscreen',monospace;font-size:0.76rem;\">6 SITES SHOWN</span>\n      </div>\n\n      <div class=\"tag-row\" role=\"group\" aria-label=\"Filter neighborhood sites by tag\">\n        <button type=\"button\" class=\"tag-pill active\" data-tag=\"all\">All (6)</button>\n        <button type=\"button\" class=\"tag-pill\" data-tag=\"shrines\">Shrines</button>\n        <button type=\"button\" class=\"tag-pill\" data-tag=\"pixel-art\">Pixel Art</button>\n        <button type=\"button\" class=\"tag-pill\" data-tag=\"webrings\">Webrings</button>\n        <button type=\"button\" class=\"tag-pill\" data-tag=\"zines\">Zines</button>\n        <button type=\"button\" class=\"tag-pill\" data-tag=\"gardens\">Gardens</button>\n      </div>\n\n      <div class=\"site-grid\" id=\"siteGrid\">\n        <!-- 1 Shrines -->\n        <article class=\"site-card\" data-tag=\"shrines\">\n          <div class=\"site-bar\"><span>teacup.neocities.org</span><span>#shrines</span></div>\n          <div class=\"site-thumb\">\n            <svg viewBox=\"0 0 240 130\" aria-hidden=\"true\">\n              <rect width=\"240\" height=\"130\" fill=\"#FAF5EC\"/>\n              <rect x=\"68\" y=\"42\" width=\"104\" height=\"58\" rx=\"4\" fill=\"#E94F37\" stroke=\"#1A2238\" stroke-width=\"3\"/>\n              <rect x=\"78\" y=\"52\" width=\"84\" height=\"38\" fill=\"#EFE7D8\" stroke=\"#1A2238\" stroke-width=\"2\"/>\n              <circle cx=\"102\" cy=\"71\" r=\"10\" fill=\"#1A2238\"/><circle cx=\"138\" cy=\"71\" r=\"10\" fill=\"#1A2238\"/>\n              <rect x=\"108\" y=\"68\" width=\"24\" height=\"6\" fill=\"#2A9D8F\"/>\n            </svg>\n          </div>\n          <div class=\"site-body\">\n            <h3>Cassette Deck Shrine</h3>\n            <p>A loving tribute to 1989 portable Walkmans, type-II chrome mixtapes, and scanned J-card liner notes.</p>\n            <div class=\"site-foot\"><span>Updated 2d ago</span><span>1,420 hits</span></div>\n          </div>\n        </article>\n\n        <!-- 2 Pixel Art -->\n        <article class=\"site-card\" data-tag=\"pixel-art\">\n          <div class=\"site-bar\"><span>mossybits.neocities.org</span><span>#pixel-art</span></div>\n          <div class=\"site-thumb\">\n            <svg viewBox=\"0 0 240 130\" aria-hidden=\"true\">\n              <rect width=\"240\" height=\"130\" fill=\"#1A2238\"/>\n              <rect x=\"20\" y=\"90\" width=\"200\" height=\"40\" fill=\"#2A9D8F\"/>\n              <rect x=\"74\" y=\"42\" width=\"56\" height=\"48\" fill=\"#FAF5EC\"/>\n              <polygon points=\"66,42 102,14 138,42\" fill=\"#E94F37\"/>\n              <rect x=\"94\" y=\"64\" width=\"16\" height=\"26\" fill=\"#1A2238\"/>\n              <rect x=\"166\" y=\"24\" width=\"18\" height=\"18\" fill=\"#FAF5EC\"/>\n            </svg>\n          </div>\n          <div class=\"site-body\">\n            <h3>Mossy Bits Cabin</h3>\n            <p>Isometric 16×16 cottage tilesets, animated fireplace GIF replacements, and free pixel-art adoptables.</p>\n            <div class=\"site-foot\"><span>Updated today</span><span>3,105 hits</span></div>\n          </div>\n        </article>\n\n        <!-- 3 Gardens -->\n        <article class=\"site-card\" data-tag=\"gardens\">\n          <div class=\"site-bar\"><span>fernnotes.neocities.org</span><span>#gardens</span></div>\n          <div class=\"site-thumb\">\n            <svg viewBox=\"0 0 240 130\" aria-hidden=\"true\">\n              <rect width=\"240\" height=\"130\" fill=\"#EFE7D8\"/>\n              <path d=\"M120 112 V30\" stroke=\"#1A2238\" stroke-width=\"3\"/>\n              <ellipse cx=\"96\" cy=\"54\" rx=\"22\" ry=\"10\" fill=\"#2A9D8F\" transform=\"rotate(-20 96 54)\"/>\n              <ellipse cx=\"144\" cy=\"64\" rx=\"22\" ry=\"10\" fill=\"#2A9D8F\" transform=\"rotate(20 144 64)\"/>\n              <ellipse cx=\"94\" cy=\"84\" rx=\"24\" ry=\"11\" fill=\"#2A9D8F\" transform=\"rotate(-15 94 84)\"/>\n              <circle cx=\"120\" cy=\"26\" r=\"10\" fill=\"#E94F37\"/>\n            </svg>\n          </div>\n          <div class=\"site-body\">\n            <h3>Fern's Digital Herbarium</h3>\n            <p>Slow-growing wiki of balcony herbs, sourdough hydration logs, and hyperlinked essays on calm software.</p>\n            <div class=\"site-foot\"><span>Updated 5d ago</span><span>892 hits</span></div>\n          </div>\n        </article>\n\n        <!-- 4 Webrings -->\n        <article class=\"site-card\" data-tag=\"webrings\">\n          <div class=\"site-bar\"><span>sunring.neocities.org</span><span>#webrings</span></div>\n          <div class=\"site-thumb\">\n            <svg viewBox=\"0 0 240 130\" aria-hidden=\"true\">\n              <rect width=\"240\" height=\"130\" fill=\"#FAF5EC\"/>\n              <circle cx=\"120\" cy=\"65\" r=\"42\" fill=\"none\" stroke=\"#1A2238\" stroke-width=\"3\" stroke-dasharray=\"8 6\"/>\n              <circle cx=\"120\" cy=\"23\" r=\"9\" fill=\"#E94F37\"/><circle cx=\"162\" cy=\"65\" r=\"9\" fill=\"#2A9D8F\"/>\n              <circle cx=\"120\" cy=\"107\" r=\"9\" fill=\"#1A2238\"/><circle cx=\"78\" cy=\"65\" r=\"9\" fill=\"#E94F37\"/>\n            </svg>\n          </div>\n          <div class=\"site-body\">\n            <h3>Solstice Webring Hub</h3>\n            <p>Connecting 44 hand-coded personal homepages with zero-JS fallback links and seasonal CSS themes.</p>\n            <div class=\"site-foot\"><span>Updated 1w ago</span><span>5,610 hits</span></div>\n          </div>\n        </article>\n\n        <!-- 5 Zines -->\n        <article class=\"site-card\" data-tag=\"zines\">\n          <div class=\"site-bar\"><span>staplepress.neocities.org</span><span>#zines</span></div>\n          <div class=\"site-thumb\">\n            <svg viewBox=\"0 0 240 130\" aria-hidden=\"true\">\n              <rect width=\"240\" height=\"130\" fill=\"#EFE7D8\"/>\n              <rect x=\"46\" y=\"18\" width=\"72\" height=\"94\" fill=\"#FAF5EC\" stroke=\"#1A2238\" stroke-width=\"2.5\"/>\n              <rect x=\"118\" y=\"18\" width=\"72\" height=\"94\" fill=\"#FAF5EC\" stroke=\"#1A2238\" stroke-width=\"2.5\"/>\n              <rect x=\"58\" y=\"34\" width=\"48\" height=\"14\" fill=\"#E94F37\"/>\n              <rect x=\"130\" y=\"34\" width=\"48\" height=\"40\" fill=\"#2A9D8F\"/>\n              <line x1=\"58\" y1=\"62\" x2=\"104\" y2=\"62\" stroke=\"#1A2238\" stroke-width=\"2\"/>\n              <line x1=\"58\" y1=\"76\" x2=\"96\" y2=\"76\" stroke=\"#1A2238\" stroke-width=\"2\"/>\n            </svg>\n          </div>\n          <div class=\"site-body\">\n            <h3>Staple &amp; Xerox Zine Library</h3>\n            <p>Printable 8-page bike repair pamphlets, neighborhood diner reviews, and public-domain woodcut clip art.</p>\n            <div class=\"site-foot\"><span>Updated 3d ago</span><span>2,240 hits</span></div>\n          </div>\n        </article>\n\n        <!-- 6 Pixel Art -->\n        <article class=\"site-card\" data-tag=\"pixel-art\">\n          <div class=\"site-bar\"><span>starship98.neocities.org</span><span>#pixel-art</span></div>\n          <div class=\"site-thumb\">\n            <svg viewBox=\"0 0 240 130\" aria-hidden=\"true\">\n              <rect width=\"240\" height=\"130\" fill=\"#1A2238\"/>\n              <polygon points=\"120,22 152,86 120,74 88,86\" fill=\"#FAF5EC\"/>\n              <rect x=\"112\" y=\"82\" width=\"16\" height=\"18\" fill=\"#E94F37\"/>\n              <rect x=\"42\" y=\"34\" width=\"6\" height=\"6\" fill=\"#2A9D8F\"/>\n              <rect x=\"190\" y=\"48\" width=\"6\" height=\"6\" fill=\"#FAF5EC\"/>\n              <rect x=\"64\" y=\"96\" width=\"6\" height=\"6\" fill=\"#FAF5EC\"/>\n            </svg>\n          </div>\n          <div class=\"site-body\">\n            <h3>Starship 98 Sprite Hangar</h3>\n            <p>Retro sci-fi UI chrome, CRT dither experiments, and custom cursor packs designed for small screens.</p>\n            <div class=\"site-foot\"><span>Updated 4d ago</span><span>1,980 hits</span></div>\n          </div>\n        </article>\n      </div>\n    </section>\n\n    <section id=\"guestbook\">\n      <div class=\"sec-head\">\n        <div>\n          <h2>Neighborhood Guestbook</h2>\n          <p style=\"margin:0;color:var(--muted);\">Leave a friendly note, drop your homepage link, and pick a pixel stamp.</p>\n        </div>\n      </div>\n\n      <div class=\"guestbook-grid\">\n        <form class=\"pixel-box gb-form\" id=\"gbForm\">\n          <div>\n            <label for=\"gbName\">Your Handle *</label>\n            <input id=\"gbName\" type=\"text\" required placeholder=\"e.g. juniper_html\" maxlength=\"40\">\n          </div>\n          <div>\n            <label for=\"gbSite\">Personal Site (Optional)</label>\n            <input id=\"gbSite\" type=\"text\" placeholder=\"e.g. juniper.neocities.org\" maxlength=\"60\">\n          </div>\n          <div>\n            <label for=\"gbMood\">Pixel Stamp</label>\n            <select id=\"gbMood\">\n              <option value=\"★ FEELING COZY\">★ Feeling Cozy</option>\n              <option value=\"✿ GARDENING HTML\">✿ Gardening HTML</option>\n              <option value=\"♫ SPINNING TAPES\">♫ Spinning Tapes</option>\n              <option value=\"☕ LATE NIGHT CODE\">☕ Late Night Code</option>\n            </select>\n          </div>\n          <div>\n            <label for=\"gbMsg\">Message *</label>\n            <textarea id=\"gbMsg\" required placeholder=\"Say hi to the neighborhood...\" maxlength=\"240\"></textarea>\n          </div>\n          <button type=\"submit\" class=\"submit-btn\">Post to Guestbook ✎</button>\n        </form>\n\n        <div class=\"gb-entries\" id=\"gbEntries\" aria-live=\"polite\">\n          <article class=\"gb-entry\">\n            <div class=\"gb-meta\">\n              <strong>milo_crt <span style=\"color:var(--muted);font-weight:400;\">(milo.neocities.org)</span></strong>\n              <span class=\"gb-stamp\">☕ LATE NIGHT CODE</span>\n            </div>\n            <p style=\"margin:0;font-size:0.92rem;\">Just finished rebuilding my cassette shrine using zero frameworks. Love the 88×31 buttons here!</p>\n          </article>\n          <article class=\"gb-entry\">\n            <div class=\"gb-meta\">\n              <strong>clover_press <span style=\"color:var(--muted);font-weight:400;\">(cloverzine.site)</span></strong>\n              <span class=\"gb-stamp\">✿ GARDENING HTML</span>\n            </div>\n            <p style=\"margin:0;font-size:0.92rem;\">Added Pixeltown to our neighborhood links page. Long live small, weird, human-made websites.</p>\n          </article>\n        </div>\n      </div>\n    </section>\n  </main>\n\n  <footer>\n    <div class=\"container foot-row\">\n      <span>PIXELTOWN DIRECTORY · BEST VIEWED IN ANY BROWSER</span>\n      <span>HAND-CRAFTED HTML · ZERO TRACKERS · STAY WEIRD</span>\n    </div>\n  </footer>\n\n  <script>\n    // Mobile nav\n    const navToggle = document.getElementById('navToggle');\n    const mobileNav = document.getElementById('mobileNav');\n    navToggle.addEventListener('click', () => {\n      const open = mobileNav.classList.toggle('open');\n      navToggle.setAttribute('aria-expanded', String(open));\n      navToggle.textContent = open ? 'CLOSE' : 'MENU';\n    });\n\n    // Tag filter\n    const tagPills = document.querySelectorAll('.tag-pill');\n    const siteCards = document.querySelectorAll('.site-card');\n    const dirCount = document.getElementById('dirCount');\n    tagPills.forEach(pill => {\n      pill.addEventListener('click', () => {\n        tagPills.forEach(p => p.classList.remove('active'));\n        pill.classList.add('active');\n        const tag = pill.dataset.tag;\n        let shown = 0;\n        siteCards.forEach(card => {\n          const match = tag === 'all' || card.dataset.tag === tag;\n          card.classList.toggle('hidden', !match);\n          if (match) shown++;\n        });\n        dirCount.textContent = `${shown} SITE${shown === 1 ? '' : 'S'} SHOWN`;\n      });\n    });\n\n    // Live Guestbook Form\n    const gbForm = document.getElementById('gbForm');\n    const gbEntries = document.getElementById('gbEntries');\n    const hitCounter = document.getElementById('hitCounter');\n    let hits = 4892;\n\n    gbForm.addEventListener('submit', e => {\n      e.preventDefault();\n      const name = document.getElementById('gbName').value.trim();\n      const site = document.getElementById('gbSite').value.trim();\n      const mood = document.getElementById('gbMood').value;\n      const msg = document.getElementById('gbMsg').value.trim();\n      if (!name || !msg) return;\n\n      const entry = document.createElement('article');\n      entry.className = 'gb-entry';\n\n      const meta = document.createElement('div');\n      meta.className = 'gb-meta';\n\n      const author = document.createElement('strong');\n      author.textContent = name + ' ';\n      if (site) {\n        const span = document.createElement('span');\n        span.style.color = 'var(--muted)';\n        span.style.fontWeight = '400';\n        span.textContent = `(${site})`;\n        author.appendChild(span);\n      }\n\n      const stamp = document.createElement('span');\n      stamp.className = 'gb-stamp';\n      stamp.textContent = `${mood} · JUST NOW`;\n\n      const body = document.createElement('p');\n      body.style.margin = '0';\n      body.style.fontSize = '0.92rem';\n      body.textContent = msg;\n\n      meta.appendChild(author);\n      meta.appendChild(stamp);\n      entry.appendChild(meta);\n      entry.appendChild(body);\n      gbEntries.prepend(entry);\n\n      hits++;\n      hitCounter.textContent = String(hits).padStart(6, '0').replace(/(\\d{3})(\\d{3})/, '$1,$2');\n      gbForm.reset();\n    });\n  </script>\n</body>\n</html>\n"
}
